@versini/sassysaint 8.1.5 → 8.1.7

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,9 +1,9 @@
1
1
  import { jsx as c, jsxs as N, Fragment as ae } from "react/jsx-runtime";
2
- import { I as Y, ACTION_SORT as Dr, ACTION_SEARCH as Cs, ACTION_RESET_PROMPT as Ss, ACTION_TOGGLE_PROMPT as As, useSWR as Ht, DEFAULT_AI_PROVIDER as el, isElectron as Fr, isProbablyiPhone as zr, re as pe, DEFAULT_ICON_ACTION_SIZE as Re, L as ir, j as Pe, C as wt, LOCAL_STORAGE_PREFIX as rt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as tl, un as de, useUserPreferences as lr, serviceCall as _t, SERVICE_TYPES as It, PROVIDER_ANTHROPIC as _r, PROVIDER_OPENAI as sa, setNewProvider as Rs, PROMPT_CLASSNAME as rl, PROMPT_EDITABLE_AREA_CLASSNAME as nl, ROLE_INTERNAL as Ur, ERROR_MESSAGE as al, CLIPBOARD_PROMPT as oa, INPUT_PLACEHOLDER_TEXT as ia, FOOTER_DISCLAIMER as sl, useServerCapabilities as ol, R as we, CARDS as X, renderDataAsList as Zt, pluralize as mn, ABOUT_TITLE as il, INFINITE_SCROLL_LIMIT as la, INFINITE_SCROLL_THRESHOLD as ca, LOCAL_STORAGE_SORT as Ms, useChatsHistory as ll, LOCAL_STORAGE_SEARCH as Vs, HISTORY_TITLE as cl, fe as dl, debounce as ul, M as hl, l as da, durationFormatter as fl, useUserChatStats as ml, PROFILE_TITLE as pl, LOCAL_STORAGE_CHAT_DETAILS as gl, SETTINGS_TITLE as yl, APP_NAME as bl, PROMPTS_DESCRIPTION as vl, getCurrentGeoLocation as wl, LOG_OUT as ua, ROLE_USER as kl, ROLE_ASSISTANT as ha, getMessageContaintWrapperClass as xl, UI_FOOTER_BUFFER as Bs, UI_BUTTON_SCROLL_BUFFER as Tl, Logo as _l, UI_DEFAULT_MAIN_HEIGHT as fa, usePreloadChatsHistory as Il, serverUrl as El, getMainPaddingClass as ma, I$1 as Nl } from "./index.CCfmmZLd.js";
2
+ import { I as Y, ACTION_SORT as Dr, ACTION_SEARCH as Cs, ACTION_RESET_PROMPT as Ss, ACTION_TOGGLE_PROMPT as As, useSWR as Ht, DEFAULT_AI_PROVIDER as el, isElectron as Fr, isProbablyiPhone as zr, re as pe, DEFAULT_ICON_ACTION_SIZE as Re, L as ir, j as Be, C as wt, LOCAL_STORAGE_PREFIX as rt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as tl, un as de, useUserPreferences as lr, serviceCall as _t, SERVICE_TYPES as It, PROVIDER_ANTHROPIC as _r, PROVIDER_OPENAI as sa, setNewProvider as Rs, PROMPT_CLASSNAME as rl, PROMPT_EDITABLE_AREA_CLASSNAME as nl, ROLE_INTERNAL as Ur, ERROR_MESSAGE as al, CLIPBOARD_PROMPT as oa, INPUT_PLACEHOLDER_TEXT as ia, FOOTER_DISCLAIMER as sl, useServerCapabilities as ol, R as we, CARDS as X, renderDataAsList as Zt, pluralize as mn, ABOUT_TITLE as il, INFINITE_SCROLL_LIMIT as la, INFINITE_SCROLL_THRESHOLD as ca, LOCAL_STORAGE_SORT as Ms, useChatsHistory as ll, LOCAL_STORAGE_SEARCH as Vs, HISTORY_TITLE as cl, fe as dl, debounce as ul, M as hl, l as da, durationFormatter as fl, useUserChatStats as ml, PROFILE_TITLE as pl, LOCAL_STORAGE_CHAT_DETAILS as gl, SETTINGS_TITLE as yl, APP_NAME as bl, PROMPTS_DESCRIPTION as vl, getCurrentGeoLocation as wl, LOG_OUT as ua, ROLE_USER as kl, ROLE_ASSISTANT as ha, getMessageContaintWrapperClass as xl, UI_FOOTER_BUFFER as Ps, UI_BUTTON_SCROLL_BUFFER as Tl, Logo as _l, UI_DEFAULT_MAIN_HEIGHT as fa, usePreloadChatsHistory as Il, serverUrl as El, getMainPaddingClass as ma, I$1 as Nl } from "./index.BMIuJrFO.js";
3
3
  import g from "clsx";
4
4
  import * as ee from "react";
5
- import J, { useEffect as L, useRef as M, useState as $, useCallback as W, useSyncExternalStore as Cl, useMemo as be, useId as cr, useLayoutEffect as le, useContext as K, createContext as Sl, forwardRef as Ps, Fragment as Al, useReducer as yt, lazy as Rl, Suspense as pa } from "react";
6
- import { useMergeRefs as pn, FloatingPortal as Os, FloatingOverlay as Ml, FloatingFocusManager as Ls, useFloating as $s, useClick as Ds, useDismiss as Fs, useRole as zs, useInteractions as Us, useFloatingTree as Hs, useFloatingNodeId as Vl, useListItem as js, offset as Bl, flip as Pl, shift as Ol, autoUpdate as Ll, useListNavigation as $l, useTypeahead as Dl, FloatingNode as Fl, FloatingList as zl, FloatingTree as Ul } from "@floating-ui/react";
5
+ import J, { useEffect as O, useRef as M, useState as $, useCallback as W, useSyncExternalStore as Cl, useMemo as be, useId as cr, useLayoutEffect as le, useContext as K, createContext as Sl, forwardRef as Bs, Fragment as Al, useReducer as yt, lazy as Rl, Suspense as pa } from "react";
6
+ import { useMergeRefs as pn, FloatingPortal as Os, FloatingOverlay as Ml, FloatingFocusManager as Ls, useFloating as $s, useClick as Ds, useDismiss as Fs, useRole as zs, useInteractions as Us, useFloatingTree as Hs, useFloatingNodeId as Vl, useListItem as js, offset as Pl, flip as Bl, shift as Ol, autoUpdate as Ll, useListNavigation as $l, useTypeahead as Dl, FloatingNode as Fl, FloatingList as zl, FloatingTree as Ul } from "@floating-ui/react";
7
7
  function Ws(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
@@ -525,13 +525,13 @@ const Hr = ({
525
525
  }
526
526
  );
527
527
  /*!
528
- @versini/ui-header v3.0.12
528
+ @versini/ui-header v3.0.13
529
529
  © 2025 gizmette.com
530
530
  */
531
531
  try {
532
532
  window.__VERSINI_UI_HEADER__ || (window.__VERSINI_UI_HEADER__ = {
533
- version: "3.0.12",
534
- buildTime: "02/17/2025 11:26 AM EST",
533
+ version: "3.0.13",
534
+ buildTime: "02/27/2025 06:37 PM EST",
535
535
  homepage: "https://github.com/aversini/ui-components",
536
536
  license: "MIT"
537
537
  });
@@ -611,7 +611,7 @@ function hc(e, t, r = !1) {
611
611
  return e.target instanceof HTMLElement ? (r || !e.target.isContentEditable) && !t.includes(e.target.tagName) : !0;
612
612
  }
613
613
  function Ys(e, t = ["INPUT", "TEXTAREA", "SELECT"], r = !1) {
614
- L(() => {
614
+ O(() => {
615
615
  const n = (a) => {
616
616
  e.forEach(
617
617
  ([s, o, i = { preventDefault: !0 }]) => {
@@ -633,7 +633,7 @@ function fc() {
633
633
  }
634
634
  function mc() {
635
635
  const e = M(!1);
636
- return L(() => (e.current = !0, () => {
636
+ return O(() => (e.current = !0, () => {
637
637
  e.current = !1;
638
638
  }), []), W(() => e.current, []);
639
639
  }
@@ -667,7 +667,7 @@ function nt({
667
667
  }, [t, n]), s = W(() => {
668
668
  n(null);
669
669
  }, [n]);
670
- return L(() => {
670
+ return O(() => {
671
671
  try {
672
672
  ya(e) === null && typeof t < "u" && ga(e, t);
673
673
  } catch (o) {
@@ -692,7 +692,7 @@ function qs(e) {
692
692
  n.current && t() && s(l.contentRect);
693
693
  }));
694
694
  }), [t]);
695
- return L(() => (n.current && (o == null || o.observe(n.current, e)), () => {
695
+ return O(() => (n.current && (o == null || o.observe(n.current, e)), () => {
696
696
  o == null || o.disconnect(), r.current && cancelAnimationFrame(r.current);
697
697
  }), [o, e]), [n, a];
698
698
  }
@@ -700,7 +700,7 @@ function Et(e) {
700
700
  return cr();
701
701
  }
702
702
  function ba(e, t) {
703
- L(() => (window.addEventListener(e, t, {
703
+ O(() => (window.addEventListener(e, t, {
704
704
  passive: !0
705
705
  }), () => window.removeEventListener(e, t)), [e, t]);
706
706
  }
@@ -714,10 +714,10 @@ function bc() {
714
714
  height: window.innerHeight || 0
715
715
  });
716
716
  }, []);
717
- return ba("resize", r), ba("orientationchange", r), L(r, []), e;
717
+ return ba("resize", r), ba("orientationchange", r), O(r, []), e;
718
718
  }
719
719
  function va(e, t) {
720
- L(() => (window.visualViewport && window.visualViewport.addEventListener(e, t, {
720
+ O(() => (window.visualViewport && window.visualViewport.addEventListener(e, t, {
721
721
  passive: !0
722
722
  }), () => {
723
723
  window.visualViewport && window.visualViewport.removeEventListener(e, t);
@@ -734,16 +734,16 @@ function vc() {
734
734
  height: ((a = window == null ? void 0 : window.visualViewport) == null ? void 0 : a.height) || window.innerHeight || 0
735
735
  });
736
736
  }, []);
737
- return va("orientationchange", r), va("resize", r), L(r, []), e;
737
+ return va("orientationchange", r), va("resize", r), O(r, []), e;
738
738
  }
739
739
  /*!
740
- @versini/ui-table v3.1.8
740
+ @versini/ui-table v3.1.9
741
741
  © 2025 gizmette.com
742
742
  */
743
743
  try {
744
744
  window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
745
- version: "3.1.8",
746
- buildTime: "02/16/2025 06:39 PM EST",
745
+ version: "3.1.9",
746
+ buildTime: "02/27/2025 06:37 PM EST",
747
747
  homepage: "https://github.com/aversini/ui-components",
748
748
  license: "MIT"
749
749
  });
@@ -1085,14 +1085,14 @@ const dr = "thead", gn = "tfoot", qe = "tbody", ke = {
1085
1085
  });
1086
1086
  if (r === "selected")
1087
1087
  return "border border-border-selected-dark";
1088
- }, Bc = ({
1088
+ }, Pc = ({
1089
1089
  focusMode: e
1090
1090
  }) => g("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
1091
1091
  "focus:outline-focus-dark": e === "dark",
1092
1092
  "focus:outline-focus-light": e === "light",
1093
1093
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
1094
1094
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
1095
- }), Pc = ({
1095
+ }), Bc = ({
1096
1096
  mode: e,
1097
1097
  raw: t,
1098
1098
  iconClassName: r
@@ -1146,7 +1146,7 @@ const dr = "thead", gn = "tfoot", qe = "tbody", ke = {
1146
1146
  }),
1147
1147
  Nc({ type: e, size: i, labelRight: d, labelLeft: u }),
1148
1148
  Vc({ mode: n, variant: f, noBorder: l }),
1149
- Bc({ focusMode: a }),
1149
+ Pc({ focusMode: a }),
1150
1150
  Rc({ mode: n, variant: f, disabled: s }),
1151
1151
  Mc({ mode: n, variant: f, disabled: s }),
1152
1152
  {
@@ -1176,7 +1176,7 @@ const dr = "thead", gn = "tfoot", qe = "tbody", ke = {
1176
1176
  Zs.displayName = "BaseButton";
1177
1177
  function Dc() {
1178
1178
  const e = M(!1);
1179
- return L(() => (e.current = !0, () => {
1179
+ return O(() => (e.current = !0, () => {
1180
1180
  e.current = !1;
1181
1181
  }), []), W(() => e.current, []);
1182
1182
  }
@@ -1205,7 +1205,7 @@ function Ir(e) {
1205
1205
  n.current && t() && s(l.contentRect);
1206
1206
  }));
1207
1207
  }), [t]);
1208
- return L(() => (n.current && (o == null || o.observe(n.current, e)), () => {
1208
+ return O(() => (n.current && (o == null || o.observe(n.current, e)), () => {
1209
1209
  o == null || o.disconnect(), r.current && cancelAnimationFrame(r.current);
1210
1210
  }), [o, e]), [n, a];
1211
1211
  }
@@ -1264,16 +1264,16 @@ const Uc = {
1264
1264
  radius: v,
1265
1265
  variant: k,
1266
1266
  animated: E
1267
- }), x = Pc({ mode: r, raw: i, iconClassName: I }), y = Oc({ animated: E }), [T, R] = Ir(), [S, P] = Ir(), [A, V] = Ir(), z = M(0), B = M(null), D = Fc([_, B]);
1267
+ }), x = Bc({ mode: r, raw: i, iconClassName: I }), y = Oc({ animated: E }), [T, R] = Ir(), [S, B] = Ir(), [A, V] = Ir(), z = M(0), P = M(null), D = Fc([_, P]);
1268
1268
  return le(() => {
1269
1269
  A && A.current && E && (z.current = V.width + Hc[h] + (l ? 0 : jc));
1270
1270
  }, [V, A, h, l, E]), le(() => {
1271
- B && B.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), B.current.style.width = `${R.width + z.current}px`) : m && P.width > 0 ? (S.current && (S.current.style.opacity = "100"), B.current.style.width = `${P.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), B.current.style.width = `${Uc[h]}px`));
1271
+ P && P.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), P.current.style.width = `${R.width + z.current}px`) : m && B.width > 0 ? (S.current && (S.current.style.opacity = "100"), P.current.style.width = `${B.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), P.current.style.width = `${Uc[h]}px`));
1272
1272
  }, [
1273
1273
  R,
1274
1274
  f,
1275
1275
  T,
1276
- P,
1276
+ B,
1277
1277
  m,
1278
1278
  S,
1279
1279
  h,
@@ -1319,13 +1319,13 @@ const Uc = {
1319
1319
  }) => /* @__PURE__ */ c("span", { ref: e, className: t, children: r && /* @__PURE__ */ c("span", { className: n, children: r }) });
1320
1320
  Qs.displayName = "ButtonIcon";
1321
1321
  /*!
1322
- @versini/ui-button v4.2.8
1322
+ @versini/ui-button v4.2.9
1323
1323
  © 2025 gizmette.com
1324
1324
  */
1325
1325
  try {
1326
1326
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
1327
- version: "4.2.8",
1328
- buildTime: "02/16/2025 06:39 PM EST",
1327
+ version: "4.2.9",
1328
+ buildTime: "02/27/2025 06:37 PM EST",
1329
1329
  homepage: "https://github.com/aversini/ui-components",
1330
1330
  license: "MIT"
1331
1331
  });
@@ -2338,7 +2338,7 @@ var Nd = {
2338
2338
  value: e
2339
2339
  };
2340
2340
  }
2341
- }, Bd = {
2341
+ }, Pd = {
2342
2342
  code: "c",
2343
2343
  name: "tool_call_delta",
2344
2344
  parse: (e) => {
@@ -2351,7 +2351,7 @@ var Nd = {
2351
2351
  value: e
2352
2352
  };
2353
2353
  }
2354
- }, Pd = {
2354
+ }, Bd = {
2355
2355
  code: "d",
2356
2356
  name: "finish_message",
2357
2357
  parse: (e) => {
@@ -2455,8 +2455,8 @@ var Nd = {
2455
2455
  Rd,
2456
2456
  Md,
2457
2457
  Vd,
2458
- Bd,
2459
2458
  Pd,
2459
+ Bd,
2460
2460
  Od,
2461
2461
  Ld,
2462
2462
  $d,
@@ -3013,19 +3013,19 @@ function su({
3013
3013
  fallbackData: r != null ? Cr(r) : w
3014
3014
  }
3015
3015
  ), T = M(x || []);
3016
- L(() => {
3016
+ O(() => {
3017
3017
  T.current = x || [];
3018
3018
  }, [x]);
3019
- const { data: R, mutate: S } = Ht([_, "streamData"], null), P = M(R);
3020
- L(() => {
3021
- P.current = R;
3019
+ const { data: R, mutate: S } = Ht([_, "streamData"], null), B = M(R);
3020
+ O(() => {
3021
+ B.current = R;
3022
3022
  }, [R]);
3023
- const { data: A = "ready", mutate: V } = Ht([_, "status"], null), { data: z = void 0, mutate: B } = Ht([_, "error"], null), D = M(null), U = M({
3023
+ const { data: A = "ready", mutate: V } = Ht([_, "status"], null), { data: z = void 0, mutate: P } = Ht([_, "error"], null), D = M(null), U = M({
3024
3024
  credentials: f,
3025
3025
  headers: m,
3026
3026
  body: p
3027
3027
  });
3028
- L(() => {
3028
+ O(() => {
3029
3029
  U.current = {
3030
3030
  credentials: f,
3031
3031
  headers: m,
@@ -3035,7 +3035,7 @@ function su({
3035
3035
  const j = W(
3036
3036
  async (H) => {
3037
3037
  var q, Z;
3038
- V("submitted"), B(void 0);
3038
+ V("submitted"), P(void 0);
3039
3039
  const F = Cr(H.messages), ue = F.length, Ce = Jr(
3040
3040
  (q = F[F.length - 1]) == null ? void 0 : q.toolInvocations
3041
3041
  );
@@ -3067,7 +3067,7 @@ function su({
3067
3067
  ...na !== void 0 && { toolInvocations: na },
3068
3068
  ...aa !== void 0 && { parts: aa }
3069
3069
  })
3070
- ), ea = P.current;
3070
+ ), ea = B.current;
3071
3071
  await Zd({
3072
3072
  api: e,
3073
3073
  body: (Z = o == null ? void 0 : o({
@@ -3114,7 +3114,7 @@ function su({
3114
3114
  } catch (fe) {
3115
3115
  if (fe.name === "AbortError")
3116
3116
  return D.current = null, V("ready"), null;
3117
- h && fe instanceof Error && h(fe), B(fe), V("error");
3117
+ h && fe instanceof Error && h(fe), P(fe), V("error");
3118
3118
  }
3119
3119
  const he = T.current;
3120
3120
  Qd({
@@ -3132,9 +3132,9 @@ function su({
3132
3132
  d,
3133
3133
  u,
3134
3134
  h,
3135
- B,
3136
- S,
3137
3135
  P,
3136
+ S,
3137
+ B,
3138
3138
  l,
3139
3139
  a,
3140
3140
  o,
@@ -3193,13 +3193,13 @@ function su({
3193
3193
  [y]
3194
3194
  ), Je = W(
3195
3195
  (H) => {
3196
- typeof H == "function" && (H = H(P.current)), S(H, !1), P.current = H;
3196
+ typeof H == "function" && (H = H(B.current)), S(H, !1), B.current = H;
3197
3197
  },
3198
3198
  [S]
3199
- ), [se, ve] = $(n), oe = W(
3199
+ ), [oe, ve] = $(n), ie = W(
3200
3200
  async (H, q = {}, Z) => {
3201
3201
  var F;
3202
- if ((F = H == null ? void 0 : H.preventDefault) == null || F.call(H), !se && !q.allowEmptySubmit)
3202
+ if ((F = H == null ? void 0 : H.preventDefault) == null || F.call(H), !oe && !q.allowEmptySubmit)
3203
3203
  return;
3204
3204
  Z && (U.current = {
3205
3205
  ...U.current,
@@ -3212,9 +3212,9 @@ function su({
3212
3212
  id: b(),
3213
3213
  createdAt: /* @__PURE__ */ new Date(),
3214
3214
  role: "user",
3215
- content: se,
3215
+ content: oe,
3216
3216
  experimental_attachments: ue.length > 0 ? ue : void 0,
3217
- parts: [{ type: "text", text: se }]
3217
+ parts: [{ type: "text", text: oe }]
3218
3218
  }),
3219
3219
  headers: q.headers,
3220
3220
  body: q.body,
@@ -3222,7 +3222,7 @@ function su({
3222
3222
  };
3223
3223
  j(he), ve("");
3224
3224
  },
3225
- [se, b, j]
3225
+ [oe, b, j]
3226
3226
  ), te = (H) => {
3227
3227
  ve(H.target.value);
3228
3228
  }, Ne = W(
@@ -3248,10 +3248,10 @@ function su({
3248
3248
  append: Ee,
3249
3249
  reload: Ge,
3250
3250
  stop: De,
3251
- input: se,
3251
+ input: oe,
3252
3252
  setInput: ve,
3253
3253
  handleInputChange: te,
3254
- handleSubmit: oe,
3254
+ handleSubmit: ie,
3255
3255
  isLoading: A === "submitted" || A === "streaming",
3256
3256
  status: A,
3257
3257
  addToolResult: Ne
@@ -3267,7 +3267,7 @@ function ct(e = {}) {
3267
3267
  const t = K(vo);
3268
3268
  if (!t)
3269
3269
  throw new Error("useAiChat must be used within a AiChatProvider");
3270
- return L(() => (e.onFinish && t.handlers.onFinish.add(e.onFinish), e.onError && t.handlers.onError.add(e.onError), e.onResponse && t.handlers.onResponse.add(e.onResponse), e.onToolCall && t.handlers.onToolCall.add(e.onToolCall), () => {
3270
+ return O(() => (e.onFinish && t.handlers.onFinish.add(e.onFinish), e.onError && t.handlers.onError.add(e.onError), e.onResponse && t.handlers.onResponse.add(e.onResponse), e.onToolCall && t.handlers.onToolCall.add(e.onToolCall), () => {
3271
3271
  e.onFinish && t.handlers.onFinish.delete(e.onFinish), e.onError && t.handlers.onError.delete(e.onError), e.onResponse && t.handlers.onResponse.delete(e.onResponse), e.onToolCall && t.handlers.onToolCall.delete(e.onToolCall);
3272
3272
  }), [e.onFinish, e.onError, e.onResponse, e.onToolCall]), t.chat;
3273
3273
  }
@@ -3276,7 +3276,7 @@ function ou({
3276
3276
  value: t
3277
3277
  }) {
3278
3278
  const r = M(Aa);
3279
- L(() => {
3279
+ O(() => {
3280
3280
  r.current = Aa;
3281
3281
  }, [t]);
3282
3282
  const n = su({
@@ -3324,7 +3324,7 @@ const iu = "z-20", lu = "z-10", kn = J.createContext({
3324
3324
  state: { prompt: "", lastTriggeredTimestamp: 0 },
3325
3325
  dispatch: () => {
3326
3326
  }
3327
- }), ie = J.createContext({
3327
+ }), se = J.createContext({
3328
3328
  state: {
3329
3329
  provider: el,
3330
3330
  privateChat: !1,
@@ -3351,13 +3351,13 @@ const iu = "z-20", lu = "z-10", kn = J.createContext({
3351
3351
  }
3352
3352
  });
3353
3353
  /*!
3354
- @versini/ui-tooltip v1.3.8
3354
+ @versini/ui-tooltip v1.3.9
3355
3355
  © 2025 gizmette.com
3356
3356
  */
3357
3357
  try {
3358
3358
  window.__VERSINI_UI_TOOLTIP__ || (window.__VERSINI_UI_TOOLTIP__ = {
3359
- version: "1.3.8",
3360
- buildTime: "02/16/2025 06:39 PM EST",
3359
+ version: "1.3.9",
3360
+ buildTime: "02/27/2025 06:37 PM EST",
3361
3361
  homepage: "https://github.com/aversini/ui-components",
3362
3362
  license: "MIT"
3363
3363
  });
@@ -3378,13 +3378,13 @@ const cu = "av-tooltip", du = "av-tooltip-arrow", Nt = Math.min, Qe = Math.max,
3378
3378
  function qr(e, t, r) {
3379
3379
  return Qe(e, Nt(t, r));
3380
3380
  }
3381
- function Bt(e, t) {
3381
+ function Pt(e, t) {
3382
3382
  return typeof e == "function" ? e(t) : e;
3383
3383
  }
3384
3384
  function je(e) {
3385
3385
  return e.split("-")[0];
3386
3386
  }
3387
- function Pt(e) {
3387
+ function Bt(e) {
3388
3388
  return e.split("-")[1];
3389
3389
  }
3390
3390
  function wo(e) {
@@ -3401,7 +3401,7 @@ function In(e) {
3401
3401
  }
3402
3402
  function fu(e, t, r) {
3403
3403
  r === void 0 && (r = !1);
3404
- const n = Pt(e), a = In(e), s = _n(a);
3404
+ const n = Bt(e), a = In(e), s = _n(a);
3405
3405
  let o = a === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
3406
3406
  return t.reference[s] > t.floating[s] && (o = er(o)), [o, er(o)];
3407
3407
  }
@@ -3426,7 +3426,7 @@ function pu(e, t, r) {
3426
3426
  }
3427
3427
  }
3428
3428
  function gu(e, t, r, n) {
3429
- const a = Pt(e);
3429
+ const a = Bt(e);
3430
3430
  let s = pu(je(e), r === "start", n);
3431
3431
  return a && (s = s.map((o) => o + "-" + a), t && (s = s.concat(s.map(Xr)))), s;
3432
3432
  }
@@ -3506,7 +3506,7 @@ function Ra(e, t, r) {
3506
3506
  y: n.y
3507
3507
  };
3508
3508
  }
3509
- switch (Pt(t)) {
3509
+ switch (Bt(t)) {
3510
3510
  case "start":
3511
3511
  m[o] -= f * (r && d ? -1 : 1);
3512
3512
  break;
@@ -3593,7 +3593,7 @@ async function xo(e, t) {
3593
3593
  elementContext: h = "floating",
3594
3594
  altBoundary: f = !1,
3595
3595
  padding: m = 0
3596
- } = Bt(t, e), p = ko(m), b = i[f ? h === "floating" ? "reference" : "floating" : h], v = tr(await s.getClippingRect({
3596
+ } = Pt(t, e), p = ko(m), b = i[f ? h === "floating" ? "reference" : "floating" : h], v = tr(await s.getClippingRect({
3597
3597
  element: (r = await (s.isElement == null ? void 0 : s.isElement(b))) == null || r ? b : b.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
3598
3598
  boundary: d,
3599
3599
  rootBoundary: u,
@@ -3637,7 +3637,7 @@ const vu = (e) => ({
3637
3637
  } = t, {
3638
3638
  element: d,
3639
3639
  padding: u = 0
3640
- } = Bt(e, t) || {};
3640
+ } = Pt(e, t) || {};
3641
3641
  if (d == null)
3642
3642
  return {};
3643
3643
  const h = ko(u), f = {
@@ -3646,17 +3646,17 @@ const vu = (e) => ({
3646
3646
  }, m = In(a), p = _n(m), b = await o.getDimensions(d), v = m === "y", k = v ? "top" : "left", I = v ? "bottom" : "right", E = v ? "clientHeight" : "clientWidth", C = s.reference[p] + s.reference[m] - f[m] - s.floating[p], _ = f[m] - s.reference[m], w = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(d));
3647
3647
  let x = w ? w[E] : 0;
3648
3648
  (!x || !await (o.isElement == null ? void 0 : o.isElement(w))) && (x = i.floating[E] || s.floating[p]);
3649
- const y = C / 2 - _ / 2, T = x / 2 - b[p] / 2 - 1, R = Nt(h[k], T), S = Nt(h[I], T), P = R, A = x - b[p] - S, V = x / 2 - b[p] / 2 + y, z = qr(P, V, A), B = !l.arrow && Pt(a) != null && V !== z && s.reference[p] / 2 - (V < P ? R : S) - b[p] / 2 < 0, D = B ? V < P ? V - P : V - A : 0;
3649
+ const y = C / 2 - _ / 2, T = x / 2 - b[p] / 2 - 1, R = Nt(h[k], T), S = Nt(h[I], T), B = R, A = x - b[p] - S, V = x / 2 - b[p] / 2 + y, z = qr(B, V, A), P = !l.arrow && Bt(a) != null && V !== z && s.reference[p] / 2 - (V < B ? R : S) - b[p] / 2 < 0, D = P ? V < B ? V - B : V - A : 0;
3650
3650
  return {
3651
3651
  [m]: f[m] + D,
3652
3652
  data: {
3653
3653
  [m]: z,
3654
3654
  centerOffset: V - z - D,
3655
- ...B && {
3655
+ ...P && {
3656
3656
  alignmentOffset: D
3657
3657
  }
3658
3658
  },
3659
- reset: B
3659
+ reset: P
3660
3660
  };
3661
3661
  }
3662
3662
  }), wu = function(e) {
@@ -3680,7 +3680,7 @@ const vu = (e) => ({
3680
3680
  fallbackAxisSideDirection: p = "none",
3681
3681
  flipAlignment: b = !0,
3682
3682
  ...v
3683
- } = Bt(e, t);
3683
+ } = Pt(e, t);
3684
3684
  if ((r = s.arrow) != null && r.alignmentOffset)
3685
3685
  return {};
3686
3686
  const k = je(a), I = st(i), E = je(i) === i, C = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), _ = f || (E || !b ? [er(i)] : mu(i)), w = p !== "none";
@@ -3695,7 +3695,7 @@ const vu = (e) => ({
3695
3695
  placement: a,
3696
3696
  overflows: T
3697
3697
  }], !T.every((V) => V <= 0)) {
3698
- var S, P;
3698
+ var S, B;
3699
3699
  const V = (((S = s.flip) == null ? void 0 : S.index) || 0) + 1, z = x[V];
3700
3700
  if (z)
3701
3701
  return {
@@ -3707,8 +3707,8 @@ const vu = (e) => ({
3707
3707
  placement: z
3708
3708
  }
3709
3709
  };
3710
- let B = (P = R.filter((D) => D.overflows[0] <= 0).sort((D, U) => D.overflows[1] - U.overflows[1])[0]) == null ? void 0 : P.placement;
3711
- if (!B)
3710
+ let P = (B = R.filter((D) => D.overflows[0] <= 0).sort((D, U) => D.overflows[1] - U.overflows[1])[0]) == null ? void 0 : B.placement;
3711
+ if (!P)
3712
3712
  switch (m) {
3713
3713
  case "bestFit": {
3714
3714
  var A;
@@ -3721,17 +3721,17 @@ const vu = (e) => ({
3721
3721
  }
3722
3722
  return !0;
3723
3723
  }).map((U) => [U.placement, U.overflows.filter((j) => j > 0).reduce((j, Ee) => j + Ee, 0)]).sort((U, j) => U[1] - j[1])[0]) == null ? void 0 : A[0];
3724
- D && (B = D);
3724
+ D && (P = D);
3725
3725
  break;
3726
3726
  }
3727
3727
  case "initialPlacement":
3728
- B = i;
3728
+ P = i;
3729
3729
  break;
3730
3730
  }
3731
- if (a !== B)
3731
+ if (a !== P)
3732
3732
  return {
3733
3733
  reset: {
3734
- placement: B
3734
+ placement: P
3735
3735
  }
3736
3736
  };
3737
3737
  }
@@ -3744,7 +3744,7 @@ async function ku(e, t) {
3744
3744
  placement: r,
3745
3745
  platform: n,
3746
3746
  elements: a
3747
- } = e, s = await (n.isRTL == null ? void 0 : n.isRTL(a.floating)), o = je(r), i = Pt(r), l = st(r) === "y", d = ["left", "top"].includes(o) ? -1 : 1, u = s && l ? -1 : 1, h = Bt(t, e);
3747
+ } = e, s = await (n.isRTL == null ? void 0 : n.isRTL(a.floating)), o = je(r), i = Bt(r), l = st(r) === "y", d = ["left", "top"].includes(o) ? -1 : 1, u = s && l ? -1 : 1, h = Pt(t, e);
3748
3748
  let {
3749
3749
  mainAxis: f,
3750
3750
  crossAxis: m,
@@ -3813,7 +3813,7 @@ const xu = function(e) {
3813
3813
  }
3814
3814
  },
3815
3815
  ...l
3816
- } = Bt(e, t), d = {
3816
+ } = Pt(e, t), d = {
3817
3817
  x: r,
3818
3818
  y: n
3819
3819
  }, u = await xo(t, l), h = st(je(a)), f = wo(h);
@@ -4091,7 +4091,7 @@ function Mu(e, t) {
4091
4091
  y: d
4092
4092
  };
4093
4093
  }
4094
- function Ba(e, t, r) {
4094
+ function Pa(e, t, r) {
4095
4095
  let n;
4096
4096
  if (t === "viewport")
4097
4097
  n = Ru(e, r);
@@ -4127,7 +4127,7 @@ function Vu(e, t) {
4127
4127
  }
4128
4128
  return t.set(e, n), n;
4129
4129
  }
4130
- function Bu(e) {
4130
+ function Pu(e) {
4131
4131
  let {
4132
4132
  element: t,
4133
4133
  boundary: r,
@@ -4135,9 +4135,9 @@ function Bu(e) {
4135
4135
  strategy: a
4136
4136
  } = e;
4137
4137
  const s = [...r === "clippingAncestors" ? fr(t) ? [] : Vu(t, this._c) : [].concat(r), n], o = s[0], i = s.reduce((l, d) => {
4138
- const u = Ba(t, d, a);
4138
+ const u = Pa(t, d, a);
4139
4139
  return l.top = Qe(u.top, l.top), l.right = Nt(u.right, l.right), l.bottom = Nt(u.bottom, l.bottom), l.left = Qe(u.left, l.left), l;
4140
- }, Ba(t, o, a));
4140
+ }, Pa(t, o, a));
4141
4141
  return {
4142
4142
  width: i.right - i.left,
4143
4143
  height: i.bottom - i.top,
@@ -4145,7 +4145,7 @@ function Bu(e) {
4145
4145
  y: i.top
4146
4146
  };
4147
4147
  }
4148
- function Pu(e) {
4148
+ function Bu(e) {
4149
4149
  const {
4150
4150
  width: t,
4151
4151
  height: r
@@ -4178,7 +4178,7 @@ function Ou(e, t, r) {
4178
4178
  function Ar(e) {
4179
4179
  return ye(e).position === "static";
4180
4180
  }
4181
- function Pa(e, t) {
4181
+ function Ba(e, t) {
4182
4182
  if (!_e(e) || ye(e).position === "fixed")
4183
4183
  return null;
4184
4184
  if (t)
@@ -4199,9 +4199,9 @@ function Ro(e, t) {
4199
4199
  }
4200
4200
  return r;
4201
4201
  }
4202
- let n = Pa(e, t);
4202
+ let n = Ba(e, t);
4203
4203
  for (; n && _u(n) && Ar(n); )
4204
- n = Pa(n, t);
4204
+ n = Ba(n, t);
4205
4205
  return n && ot(n) && Ar(n) && !En(n) ? r : n || Iu(e) || r;
4206
4206
  }
4207
4207
  const Lu = async function(e) {
@@ -4222,11 +4222,11 @@ function $u(e) {
4222
4222
  const Du = {
4223
4223
  convertOffsetParentRelativeRectToViewportRelativeRect: Cu,
4224
4224
  getDocumentElement: Me,
4225
- getClippingRect: Bu,
4225
+ getClippingRect: Pu,
4226
4226
  getOffsetParent: Ro,
4227
4227
  getElementRects: Lu,
4228
4228
  getClientRects: Su,
4229
- getDimensions: Pu,
4229
+ getDimensions: Bu,
4230
4230
  getScale: et,
4231
4231
  isElement: ge,
4232
4232
  isRTL: $u
@@ -4245,7 +4245,7 @@ const Du = {
4245
4245
  }, Oa = ["mousedown", "touchstart"];
4246
4246
  function Wu(e, t, r) {
4247
4247
  const n = M(null);
4248
- return L(() => {
4248
+ return O(() => {
4249
4249
  const a = (s) => {
4250
4250
  const o = s ? s.target : void 0;
4251
4251
  if (Array.isArray(r)) {
@@ -4270,7 +4270,7 @@ function Ku(e, t) {
4270
4270
  }, [t]), i = W(() => {
4271
4271
  n(!1), window.clearInterval(a.current || -1), a.current = -1;
4272
4272
  }, []);
4273
- return L(() => (s.current = e, r && o(), i), [e, r, o, i]), { start: o, stop: i, active: r };
4273
+ return O(() => (s.current = e, r && o(), i), [e, r, o, i]), { start: o, stop: i, active: r };
4274
4274
  }
4275
4275
  const jt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Gu = () => g("absolute top-0 left-0 w-max py-1 px-2 rounded text-sm z-50"), La = ({
4276
4276
  mode: e
@@ -4332,7 +4332,7 @@ const jt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Gu = (
4332
4332
  const {
4333
4333
  x: R,
4334
4334
  y: S,
4335
- middlewareData: P,
4335
+ middlewareData: B,
4336
4336
  placement: A
4337
4337
  } = await ju(l.current, d.current, {
4338
4338
  placement: r,
@@ -4358,15 +4358,15 @@ const jt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Gu = (
4358
4358
  left: "right"
4359
4359
  }[A.split("-")[0]];
4360
4360
  (x = u == null ? void 0 : u.current) != null && x.style && Object.assign(u.current.style, {
4361
- left: jt((y = P.arrow) == null ? void 0 : y.x),
4362
- top: jt((T = P.arrow) == null ? void 0 : T.y),
4361
+ left: jt((y = B.arrow) == null ? void 0 : y.x),
4362
+ top: jt((T = B.arrow) == null ? void 0 : T.y),
4363
4363
  right: "",
4364
4364
  bottom: "",
4365
4365
  [V]: "-4px"
4366
4366
  });
4367
4367
  }
4368
4368
  }, [r, k, l]);
4369
- L(() => {
4369
+ O(() => {
4370
4370
  (async () => h && await I())();
4371
4371
  }, [I, h]);
4372
4372
  const E = () => {
@@ -4409,7 +4409,7 @@ const jt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Gu = (
4409
4409
  dispatch: r,
4410
4410
  setChatId: n,
4411
4411
  setInitialMessages: a
4412
- } = K(ie), { setInput: s, stop: o } = ct(), i = M(null), l = M(!1), d = () => {
4412
+ } = K(se), { setInput: s, stop: o } = ct(), i = M(null), l = M(!1), d = () => {
4413
4413
  n(He()), a([]), s(""), r({
4414
4414
  type: Vt,
4415
4415
  payload: {
@@ -4444,7 +4444,7 @@ const jt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Gu = (
4444
4444
  }, h = (f) => {
4445
4445
  f.preventDefault(), d();
4446
4446
  };
4447
- return L(() => {
4447
+ return O(() => {
4448
4448
  zr() || (t === !0 && !l.current && i.current && (l.current = !0, i.current.focus()), t === !1 && l.current && (l.current = !1));
4449
4449
  }, [t]), /* @__PURE__ */ c(
4450
4450
  Ke,
@@ -4469,13 +4469,13 @@ const jt = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, Gu = (
4469
4469
  );
4470
4470
  };
4471
4471
  /*!
4472
- @versini/ui-panel v1.3.25
4472
+ @versini/ui-panel v1.3.26
4473
4473
  © 2025 gizmette.com
4474
4474
  */
4475
4475
  try {
4476
4476
  window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
4477
- version: "1.3.25",
4478
- buildTime: "02/16/2025 06:39 PM EST",
4477
+ version: "1.3.26",
4478
+ buildTime: "02/27/2025 06:37 PM EST",
4479
4479
  homepage: "https://github.com/aversini/ui-components",
4480
4480
  license: "MIT"
4481
4481
  });
@@ -4793,7 +4793,7 @@ const $a = "av-messagebox", Da = "av-panel", Fa = "av-button", pr = "icon", Mo =
4793
4793
  Vo.displayName = "BaseButton";
4794
4794
  function fh() {
4795
4795
  const e = M(!1);
4796
- return L(() => (e.current = !0, () => {
4796
+ return O(() => (e.current = !0, () => {
4797
4797
  e.current = !1;
4798
4798
  }), []), W(() => e.current, []);
4799
4799
  }
@@ -4822,7 +4822,7 @@ function Rr(e) {
4822
4822
  n.current && t() && s(l.contentRect);
4823
4823
  }));
4824
4824
  }), [t]);
4825
- return L(() => (n.current && (o == null || o.observe(n.current, e)), () => {
4825
+ return O(() => (n.current && (o == null || o.observe(n.current, e)), () => {
4826
4826
  o == null || o.disconnect(), r.current && cancelAnimationFrame(r.current);
4827
4827
  }), [o, e]), [n, a];
4828
4828
  }
@@ -4881,16 +4881,16 @@ const gh = {
4881
4881
  radius: v,
4882
4882
  variant: k,
4883
4883
  animated: E
4884
- }), x = ch({ mode: r, raw: i, iconClassName: I }), y = dh({ animated: E }), [T, R] = Rr(), [S, P] = Rr(), [A, V] = Rr(), z = M(0), B = M(null), D = mh([_, B]);
4884
+ }), x = ch({ mode: r, raw: i, iconClassName: I }), y = dh({ animated: E }), [T, R] = Rr(), [S, B] = Rr(), [A, V] = Rr(), z = M(0), P = M(null), D = mh([_, P]);
4885
4885
  return le(() => {
4886
4886
  A && A.current && E && (z.current = V.width + yh[h] + (l ? 0 : bh));
4887
4887
  }, [V, A, h, l, E]), le(() => {
4888
- B && B.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), B.current.style.width = `${R.width + z.current}px`) : m && P.width > 0 ? (S.current && (S.current.style.opacity = "100"), B.current.style.width = `${P.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), B.current.style.width = `${gh[h]}px`));
4888
+ P && P.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), P.current.style.width = `${R.width + z.current}px`) : m && B.width > 0 ? (S.current && (S.current.style.opacity = "100"), P.current.style.width = `${B.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), P.current.style.width = `${gh[h]}px`));
4889
4889
  }, [
4890
4890
  R,
4891
4891
  f,
4892
4892
  T,
4893
- P,
4893
+ B,
4894
4894
  m,
4895
4895
  S,
4896
4896
  h,
@@ -4936,13 +4936,13 @@ const gh = {
4936
4936
  }) => /* @__PURE__ */ c("span", { ref: e, className: t, children: r && /* @__PURE__ */ c("span", { className: n, children: r }) });
4937
4937
  Sn.displayName = "ButtonIcon";
4938
4938
  /*!
4939
- @versini/ui-button v4.2.8
4939
+ @versini/ui-button v4.2.9
4940
4940
  © 2025 gizmette.com
4941
4941
  */
4942
4942
  try {
4943
4943
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
4944
- version: "4.2.8",
4945
- buildTime: "02/16/2025 06:39 PM EST",
4944
+ version: "4.2.9",
4945
+ buildTime: "02/27/2025 06:37 PM EST",
4946
4946
  homepage: "https://github.com/aversini/ui-components",
4947
4947
  license: "MIT"
4948
4948
  });
@@ -5067,7 +5067,7 @@ try {
5067
5067
  });
5068
5068
  } catch {
5069
5069
  }
5070
- const Bo = ee.createContext(null);
5070
+ const Po = ee.createContext(null);
5071
5071
  function xh({
5072
5072
  initialOpen: e = !1,
5073
5073
  open: t,
@@ -5097,7 +5097,7 @@ function xh({
5097
5097
  );
5098
5098
  }
5099
5099
  const gr = () => {
5100
- const e = ee.useContext(Bo);
5100
+ const e = ee.useContext(Po);
5101
5101
  if (e == null)
5102
5102
  throw new Error("Modal components must be wrapped in <Modal />");
5103
5103
  return e;
@@ -5107,7 +5107,7 @@ function Th({
5107
5107
  ...t
5108
5108
  }) {
5109
5109
  const r = xh(t);
5110
- return /* @__PURE__ */ c(Bo.Provider, { value: r, children: e });
5110
+ return /* @__PURE__ */ c(Po.Provider, { value: r, children: e });
5111
5111
  }
5112
5112
  const _h = ee.forwardRef(function(e, t) {
5113
5113
  const { context: r, ...n } = gr(), a = pn([n.refs.setFloating, t]);
@@ -5142,13 +5142,13 @@ const _h = ee.forwardRef(function(e, t) {
5142
5142
  }) });
5143
5143
  });
5144
5144
  /*!
5145
- @versini/ui-modal v1.2.10
5145
+ @versini/ui-modal v1.2.11
5146
5146
  © 2025 gizmette.com
5147
5147
  */
5148
5148
  try {
5149
5149
  window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
5150
- version: "1.2.10",
5151
- buildTime: "02/16/2025 06:39 PM EST",
5150
+ version: "1.2.11",
5151
+ buildTime: "02/27/2025 06:37 PM EST",
5152
5152
  homepage: "https://github.com/aversini/ui-components",
5153
5153
  license: "MIT"
5154
5154
  });
@@ -5185,7 +5185,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5185
5185
  className: i
5186
5186
  }) => {
5187
5187
  const l = M(""), d = Ch({ className: i, kind: o, borderMode: s });
5188
- return L(() => (e && (l.current = document.title, document.title = `${r} | ${l.current}`), () => {
5188
+ return O(() => (e && (l.current = document.title, document.title = `${r} | ${l.current}`), () => {
5189
5189
  e && (document.title = l.current);
5190
5190
  }), [r, e]), /* @__PURE__ */ c(ae, { children: e && /* @__PURE__ */ c(Th, { open: e, onOpenChange: t, children: /* @__PURE__ */ N(_h, { className: d.main, children: [
5191
5191
  /* @__PURE__ */ N("div", { className: "flex flex-row-reverse items-center justify-between", children: [
@@ -5224,7 +5224,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5224
5224
  onOpenChange: t,
5225
5225
  title: a.title,
5226
5226
  footer: /* @__PURE__ */ N(ir, { columnGap: 2, alignHorizontal: "flex-end", children: [
5227
- /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
5227
+ /* @__PURE__ */ c(Be, { children: /* @__PURE__ */ c(
5228
5228
  wt,
5229
5229
  {
5230
5230
  mode: "dark",
@@ -5236,7 +5236,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5236
5236
  children: a.cancelAction
5237
5237
  }
5238
5238
  ) }),
5239
- /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
5239
+ /* @__PURE__ */ c(Be, { children: /* @__PURE__ */ c(
5240
5240
  wt,
5241
5241
  {
5242
5242
  mode: "dark",
@@ -5259,7 +5259,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5259
5259
  dispatch: r,
5260
5260
  setChatId: n,
5261
5261
  setInitialMessages: a
5262
- } = K(ie), [s, o] = $(!1), [i, l] = nt({
5262
+ } = K(se), [s, o] = $(!1), [i, l] = nt({
5263
5263
  key: rt + tl,
5264
5264
  initialValue: ""
5265
5265
  }), d = () => {
@@ -5335,7 +5335,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5335
5335
  return t.displayName || t.name || "Component";
5336
5336
  }
5337
5337
  return "Element";
5338
- }, Po = Ps(
5338
+ }, Bo = Bs(
5339
5339
  ({
5340
5340
  trigger: e,
5341
5341
  children: t,
@@ -5354,7 +5354,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5354
5354
  },
5355
5355
  placement: n,
5356
5356
  strategy: "fixed",
5357
- middleware: [Bl({ mainAxis: 10 }), Pl(), Ol()],
5357
+ middleware: [Pl({ mainAxis: 10 }), Bl(), Ol()],
5358
5358
  whileElementsMounted: Ll
5359
5359
  }), y = Ds(x, {
5360
5360
  event: "mousedown",
@@ -5366,12 +5366,12 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5366
5366
  nested: !1,
5367
5367
  onNavigate: p,
5368
5368
  loop: !0
5369
- }), P = Dl(x, {
5369
+ }), B = Dl(x, {
5370
5370
  listRef: v,
5371
5371
  onMatch: d ? p : void 0,
5372
5372
  activeIndex: m
5373
- }), { getReferenceProps: A, getFloatingProps: V, getItemProps: z } = Us([y, T, R, S, P]), B = Ua(e) === "Button" || Ua(e) === "ButtonIcon", D = B ? {
5374
- noInternalClick: B,
5373
+ }), { getReferenceProps: A, getFloatingProps: V, getItemProps: z } = Us([y, T, R, S, B]), P = Ua(e) === "Button" || Ua(e) === "ButtonIcon", D = P ? {
5374
+ noInternalClick: P,
5375
5375
  focusMode: o,
5376
5376
  mode: s
5377
5377
  } : {}, U = J.cloneElement(
@@ -5389,7 +5389,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5389
5389
  )
5390
5390
  }
5391
5391
  );
5392
- return L(() => {
5392
+ return O(() => {
5393
5393
  if (!I)
5394
5394
  return;
5395
5395
  function j() {
@@ -5398,7 +5398,7 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5398
5398
  return I.events.on("click", j), () => {
5399
5399
  I.events.off("click", j);
5400
5400
  };
5401
- }, [I, a]), L(() => {
5401
+ }, [I, a]), O(() => {
5402
5402
  d && I && I.events.emit("menuopen", { nodeId: E });
5403
5403
  }, [I, d, E]), /* @__PURE__ */ N(Fl, { id: E, children: [
5404
5404
  U,
@@ -5435,9 +5435,9 @@ const bt = "panel", Wt = "messagebox", Ch = ({
5435
5435
  )
5436
5436
  ] });
5437
5437
  }
5438
- ), yr = Ps((e, t) => /* @__PURE__ */ c(Ul, { children: /* @__PURE__ */ c(Po, { ...e, ref: t }) }));
5438
+ ), yr = Bs((e, t) => /* @__PURE__ */ c(Ul, { children: /* @__PURE__ */ c(Bo, { ...e, ref: t }) }));
5439
5439
  yr.displayName = "Menu";
5440
- Po.displayName = "MenuComponent";
5440
+ Bo.displayName = "MenuComponent";
5441
5441
  const Ah = ({
5442
5442
  children: e,
5443
5443
  fill: t,
@@ -5599,13 +5599,13 @@ const Mh = ({ className: e, ...t }) => {
5599
5599
  return /* @__PURE__ */ c("div", { className: r, ...t });
5600
5600
  };
5601
5601
  /*!
5602
- @versini/ui-menu v3.3.0
5602
+ @versini/ui-menu v3.3.1
5603
5603
  © 2025 gizmette.com
5604
5604
  */
5605
5605
  try {
5606
5606
  window.__VERSINI_UI_MENU__ || (window.__VERSINI_UI_MENU__ = {
5607
- version: "3.3.0",
5608
- buildTime: "02/18/2025 11:57 AM EST",
5607
+ version: "3.3.1",
5608
+ buildTime: "02/27/2025 06:37 PM EST",
5609
5609
  homepage: "https://github.com/aversini/ui-components",
5610
5610
  license: "MIT"
5611
5611
  });
@@ -5616,11 +5616,11 @@ const Vh = (e) => {
5616
5616
  if (e[t].enabled)
5617
5617
  return !0;
5618
5618
  return !1;
5619
- }, Bh = ({
5619
+ }, Ph = ({
5620
5620
  className: e,
5621
5621
  defaultPlacement: t = "top-start"
5622
5622
  }) => {
5623
- const { dispatch: r, setChatId: n, setInitialMessages: a } = K(ie), { dispatch: s } = K(xn), { getAccessToken: o, user: i } = de(), {
5623
+ const { dispatch: r, setChatId: n, setInitialMessages: a } = K(se), { dispatch: s } = K(xn), { getAccessToken: o, user: i } = de(), {
5624
5624
  data: l,
5625
5625
  error: d,
5626
5626
  isLoading: u
@@ -5690,12 +5690,12 @@ const Vh = (e) => {
5690
5690
  )
5691
5691
  }
5692
5692
  );
5693
- }, Ph = ({
5693
+ }, Bh = ({
5694
5694
  className: e
5695
5695
  }) => {
5696
5696
  const { user: t, getAccessToken: r } = de(), {
5697
5697
  state: { usage: n, provider: a, privateChat: s }
5698
- } = K(ie), { messages: o, id: i } = ct(), [l, d] = $(!1), u = async (h) => {
5698
+ } = K(se), { messages: o, id: i } = ct(), [l, d] = $(!1), u = async (h) => {
5699
5699
  h.preventDefault();
5700
5700
  try {
5701
5701
  if (i && o && a) {
@@ -5719,7 +5719,7 @@ const Vh = (e) => {
5719
5719
  } catch {
5720
5720
  }
5721
5721
  };
5722
- return L(() => {
5722
+ return O(() => {
5723
5723
  s && (o == null ? void 0 : o.length) > 0 ? d(!0) : d(!1);
5724
5724
  }, [s, o]), l && /* @__PURE__ */ c(
5725
5725
  Ke,
@@ -5741,10 +5741,7 @@ const Vh = (e) => {
5741
5741
  )
5742
5742
  }
5743
5743
  );
5744
- }, Oh = ({
5745
- show: e,
5746
- bottom: t
5747
- }) => e ? /* @__PURE__ */ c(
5744
+ }, Oh = ({ show: e, bottom: t, onClick: r }) => e ? /* @__PURE__ */ c(
5748
5745
  "div",
5749
5746
  {
5750
5747
  style: { bottom: `${t}px` },
@@ -5755,10 +5752,10 @@ const Vh = (e) => {
5755
5752
  children: /* @__PURE__ */ c(
5756
5753
  "button",
5757
5754
  {
5758
- className: "av-button not-prose truncate text-copy-light rounded-full inline-flex items-center justify-center h-8 w-8 p-1 border border-transparent focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-focus-dark dark:focus:outline-focus-light disabled:opacity-50 dark:bg-slate-50 bg-slate-500 disabled:cursor-auto",
5759
- disabled: !0,
5755
+ className: "av-button not-prose truncate text-copy-light rounded-full inline-flex items-center justify-center h-8 w-8 p-1 border border-transparent focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-focus-dark dark:focus:outline-focus-light disabled:opacity-50 dark:bg-slate-50 bg-slate-500 disabled:cursor-auto opacity-50",
5760
5756
  type: "button",
5761
5757
  "aria-label": "Scroll to bottom",
5758
+ onClick: r,
5762
5759
  children: /* @__PURE__ */ c("div", { className: "text-copy-light", children: /* @__PURE__ */ c(
5763
5760
  "svg",
5764
5761
  {
@@ -5780,7 +5777,7 @@ const Vh = (e) => {
5780
5777
  }) => {
5781
5778
  const {
5782
5779
  state: { loading: t, streaming: r }
5783
- } = K(ie);
5780
+ } = K(se);
5784
5781
  return /* @__PURE__ */ c(
5785
5782
  Ke,
5786
5783
  {
@@ -5811,7 +5808,7 @@ const Vh = (e) => {
5811
5808
  state: { provider: r, privateChat: n },
5812
5809
  setChatId: a,
5813
5810
  setInitialMessages: s
5814
- } = K(ie), { getAccessToken: o, user: i } = de(), {
5811
+ } = K(se), { getAccessToken: o, user: i } = de(), {
5815
5812
  data: l,
5816
5813
  error: d,
5817
5814
  isLoading: u,
@@ -5904,7 +5901,7 @@ const Vh = (e) => {
5904
5901
  }, Lo = 24, jh = 500, $o = 2, Wh = 5, Kh = Lo * $o, ja = Wh * Lo, Gh = () => {
5905
5902
  const { getAccessToken: e } = de(), {
5906
5903
  state: { streaming: t, lastResetTimestamp: r }
5907
- } = K(ie), { state: n, dispatch: a } = K(xn), {
5904
+ } = K(se), { state: n, dispatch: a } = K(xn), {
5908
5905
  input: s,
5909
5906
  setInput: o,
5910
5907
  handleInputChange: i,
@@ -5931,7 +5928,7 @@ const Vh = (e) => {
5931
5928
  ]);
5932
5929
  }
5933
5930
  });
5934
- L(() => {
5931
+ O(() => {
5935
5932
  switch (u) {
5936
5933
  case "ready":
5937
5934
  h({
@@ -5971,7 +5968,7 @@ const Vh = (e) => {
5971
5968
  break;
5972
5969
  }
5973
5970
  }, [u]);
5974
- const { dispatch: h } = K(ie), f = M(!1), m = M(null), p = M(null), b = Et(), v = Hh({
5971
+ const { dispatch: h } = K(se), f = M(!1), m = M(null), p = M(null), b = Et(), v = Hh({
5975
5972
  className: ""
5976
5973
  }), k = W(() => {
5977
5974
  p.current && !s && (p.current.style.height = `${Kh}px`);
@@ -6004,7 +6001,7 @@ const Vh = (e) => {
6004
6001
  p && p.current && !zr() && p.current.focus();
6005
6002
  }
6006
6003
  ]
6007
- ]), L(() => {
6004
+ ]), O(() => {
6008
6005
  if (n.prompt !== "") {
6009
6006
  const _ = n.prompt.endsWith(":") && !n.prompt.endsWith(": ") ? n.prompt + " " : n.prompt;
6010
6007
  _.indexOf(oa) !== -1 ? navigator.clipboard.readText().then((x) => {
@@ -6013,7 +6010,7 @@ const Vh = (e) => {
6013
6010
  type: Ss
6014
6011
  });
6015
6012
  }
6016
- }, [n, a, o]), L(() => {
6013
+ }, [n, a, o]), O(() => {
6017
6014
  if (f.current === !1) {
6018
6015
  f.current = !0, k();
6019
6016
  return;
@@ -6021,7 +6018,7 @@ const Vh = (e) => {
6021
6018
  r ? setTimeout(() => {
6022
6019
  p.current && (k(), p.current.focus());
6023
6020
  }, jh) : t === !1 && (k(), p.current && p.current.focus());
6024
- }, [r, t, k]), L(() => {
6021
+ }, [r, t, k]), O(() => {
6025
6022
  n.lastTriggeredTimestamp && setTimeout(() => {
6026
6023
  I();
6027
6024
  }, 100);
@@ -6045,26 +6042,26 @@ const Vh = (e) => {
6045
6042
  /* @__PURE__ */ N("div", { className: "p-2 flex items-center", children: [
6046
6043
  /* @__PURE__ */ c(Lh, { className: "order-5 ml-auto" }),
6047
6044
  /* @__PURE__ */ c(Qu, { className: "order-1 mr-4 sm:mr-2" }),
6048
- /* @__PURE__ */ c(Bh, { className: "order-2 mr-4 sm:mr-2" }),
6045
+ /* @__PURE__ */ c(Ph, { className: "order-2 mr-4 sm:mr-2" }),
6049
6046
  /* @__PURE__ */ c(Sh, { className: "order-3 mr-4 sm:mr-2" }),
6050
- /* @__PURE__ */ c(Ph, { className: "order-4" })
6047
+ /* @__PURE__ */ c(Bh, { className: "order-4" })
6051
6048
  ] })
6052
6049
  ] }) });
6053
6050
  }, Kt = "--sassy-bottom", Wa = 16, Ka = 76, Yh = ({ isComponent: e }) => {
6054
6051
  const {
6055
6052
  state: { loading: t, streaming: r, restoring: n }
6056
- } = K(ie), {
6053
+ } = K(se), {
6057
6054
  state: { footerHeight: a, footerPosition: s },
6058
6055
  dispatch: o
6059
6056
  } = K(Tn), { messages: i } = ct(), { height: l } = bc(), { height: d } = vc(), [u, h] = qs();
6060
- return L(() => {
6057
+ return O(() => {
6061
6058
  a !== h.height && o({
6062
6059
  type: to,
6063
6060
  payload: {
6064
6061
  footerHeight: h.height
6065
6062
  }
6066
6063
  });
6067
- }, [h.height, a, o]), L(() => {
6064
+ }, [h.height, a, o]), O(() => {
6068
6065
  var p, b, v, k;
6069
6066
  if (!u || !u.current)
6070
6067
  return;
@@ -6140,8 +6137,8 @@ const Vh = (e) => {
6140
6137
  header: X.ABOUT.TITLE_CLIENT,
6141
6138
  className: "prose-dark dark:prose-lighter",
6142
6139
  children: Zt(e, {
6143
- [X.ABOUT.VERSION]: "8.1.5",
6144
- [X.ABOUT.BUILD_TIMESTAMP]: "02/27/2025 05:02 PM EST"
6140
+ [X.ABOUT.VERSION]: "8.1.7",
6141
+ [X.ABOUT.BUILD_TIMESTAMP]: "02/27/2025 10:00 PM EST"
6145
6142
  })
6146
6143
  }
6147
6144
  ) }),
@@ -6177,7 +6174,7 @@ const Vh = (e) => {
6177
6174
  state: { provider: p },
6178
6175
  setChatId: b,
6179
6176
  setInitialMessages: v
6180
- } = K(ie), { setInput: k } = ct(), [, I] = nt({
6177
+ } = K(se), { setInput: k } = ct(), [, I] = nt({
6181
6178
  key: rt + Ms,
6182
6179
  initialValue: f.sortDirection
6183
6180
  }), E = (y) => {
@@ -6214,7 +6211,7 @@ const Vh = (e) => {
6214
6211
  }), n("");
6215
6212
  } catch {
6216
6213
  }
6217
- }, _ = async (y, T, R, S, P, A) => {
6214
+ }, _ = async (y, T, R, S, B, A) => {
6218
6215
  try {
6219
6216
  const V = await _t({
6220
6217
  accessToken: S,
@@ -6226,7 +6223,7 @@ const Vh = (e) => {
6226
6223
  V.status === 200 && (V.data.provider !== A && (await Rs({
6227
6224
  provider: V.data.provider,
6228
6225
  accessToken: S,
6229
- username: P
6226
+ username: B
6230
6227
  }), T({
6231
6228
  type: bn,
6232
6229
  payload: {
@@ -6243,7 +6240,7 @@ const Vh = (e) => {
6243
6240
  }, w = W((y) => {
6244
6241
  y[0].isIntersecting && h((R) => R + la);
6245
6242
  }, []);
6246
- return L(() => {
6243
+ return O(() => {
6247
6244
  const y = {
6248
6245
  // root: null,
6249
6246
  rootMargin: "20px"
@@ -6300,9 +6297,9 @@ const Vh = (e) => {
6300
6297
  /* @__PURE__ */ c(me, { className: "text-xs sm:text-sm text-right", children: "Actions" })
6301
6298
  ] }) }),
6302
6299
  /* @__PURE__ */ c(Xc, { children: e.slice(0, u).map((y, T) => {
6303
- var S, P;
6300
+ var S, B;
6304
6301
  const R = y.summary || (y.messages.length > 0 ? (S = y.messages[0]) == null ? void 0 : S.content : "");
6305
- return ((P = y == null ? void 0 : y.messages) == null ? void 0 : P.length) > 0 ? /* @__PURE__ */ N(Al, { children: [
6302
+ return ((B = y == null ? void 0 : y.messages) == null ? void 0 : B.length) > 0 ? /* @__PURE__ */ N(Al, { children: [
6306
6303
  T === u - ca && /* @__PURE__ */ c("tr", { ref: o }),
6307
6304
  /* @__PURE__ */ N(Er, { children: [
6308
6305
  /* @__PURE__ */ c(me, { children: T + 1 }),
@@ -6394,7 +6391,7 @@ const Vh = (e) => {
6394
6391
  const { getAccessToken: r, user: n } = de(), {
6395
6392
  state: { lastStreamingTimestamp: a },
6396
6393
  dispatch: s
6397
- } = K(ie), { state: o, dispatch: i } = K(kn), { data: l, mutate: d } = ll({
6394
+ } = K(se), { state: o, dispatch: i } = K(kn), { data: l, mutate: d } = ll({
6398
6395
  keys: [
6399
6396
  n == null ? void 0 : n.username,
6400
6397
  o.searchString,
@@ -6406,7 +6403,7 @@ const Vh = (e) => {
6406
6403
  key: rt + Vs,
6407
6404
  initialValue: o.searchString
6408
6405
  }), [f, m] = $([]);
6409
- L(() => {
6406
+ O(() => {
6410
6407
  l && m(l);
6411
6408
  }, [l]);
6412
6409
  const p = async (k) => {
@@ -6483,8 +6480,8 @@ const Vh = (e) => {
6483
6480
  {
6484
6481
  className: "prose-dark dark:prose-lighter mt-4",
6485
6482
  header: /* @__PURE__ */ c("h2", { className: "m-0", children: /* @__PURE__ */ N(ir, { columnGap: 3, alignVertical: "center", children: [
6486
- /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(da, { size: "size-8" }) }),
6487
- /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c("div", { children: X.PREFERENCES.PASSKEY_TITLE }) })
6483
+ /* @__PURE__ */ c(Be, { children: /* @__PURE__ */ c(da, { size: "size-8" }) }),
6484
+ /* @__PURE__ */ c(Be, { children: /* @__PURE__ */ c("div", { children: X.PREFERENCES.PASSKEY_TITLE }) })
6488
6485
  ] }) }),
6489
6486
  children: [
6490
6487
  /* @__PURE__ */ c("p", { children: X.PREFERENCES.PASSKEY_INSTRUCTIONS }),
@@ -6530,13 +6527,13 @@ const Vh = (e) => {
6530
6527
  return s || o ? null : /* @__PURE__ */ c(Lt, { open: e, onOpenChange: t, title: pl, children: /* @__PURE__ */ c(Qh, { stats: a }) });
6531
6528
  };
6532
6529
  /*!
6533
- @versini/ui-textarea v3.0.17
6530
+ @versini/ui-textarea v3.0.18
6534
6531
  © 2025 gizmette.com
6535
6532
  */
6536
6533
  try {
6537
6534
  window.__VERSINI_UI_TEXTAREA__ || (window.__VERSINI_UI_TEXTAREA__ = {
6538
- version: "3.0.17",
6539
- buildTime: "02/16/2025 06:39 PM EST",
6535
+ version: "3.0.18",
6536
+ buildTime: "02/27/2025 06:37 PM EST",
6540
6537
  homepage: "https://github.com/aversini/ui-components",
6541
6538
  license: "MIT"
6542
6539
  });
@@ -6545,7 +6542,7 @@ try {
6545
6542
  const Do = "av-text-area", tf = "av-text-area-wrapper", Mr = "av-text-area-helper-text", rf = "av-text-area__control--right", nf = "av-text-area__control--left";
6546
6543
  function af() {
6547
6544
  const e = M(!1);
6548
- return L(() => (e.current = !0, () => {
6545
+ return O(() => (e.current = !0, () => {
6549
6546
  e.current = !1;
6550
6547
  }), []), W(() => e.current, []);
6551
6548
  }
@@ -6574,7 +6571,7 @@ function Ga(e) {
6574
6571
  n.current && t() && s(l.contentRect);
6575
6572
  }));
6576
6573
  }), [t]);
6577
- return L(() => (n.current && (o == null || o.observe(n.current, e)), () => {
6574
+ return O(() => (n.current && (o == null || o.observe(n.current, e)), () => {
6578
6575
  o == null || o.disconnect(), r.current && cancelAnimationFrame(r.current);
6579
6576
  }), [o, e]), [n, a];
6580
6577
  }
@@ -6591,7 +6588,7 @@ function lf({
6591
6588
  ), d = (u) => {
6592
6589
  l(u), n == null || n(u);
6593
6590
  };
6594
- return L(() => {
6591
+ return O(() => {
6595
6592
  (async () => e !== void 0 && !s && a > 0 && (await new Promise(
6596
6593
  (u) => setTimeout(u, a)
6597
6594
  ), o(!0)))();
@@ -6693,7 +6690,7 @@ function mf({
6693
6690
  announcement: null
6694
6691
  });
6695
6692
  let m = r;
6696
- typeof m > "u" && (m = n ? df[n] : "assertive"), L(() => {
6693
+ typeof m > "u" && (m = n ? df[n] : "assertive"), O(() => {
6697
6694
  ff({
6698
6695
  announcementTimeoutRef: d,
6699
6696
  announcementDelay: a,
@@ -6724,13 +6721,13 @@ function mf({
6724
6721
  );
6725
6722
  }
6726
6723
  /*!
6727
- @versini/ui-liveregion v1.3.9
6724
+ @versini/ui-liveregion v1.3.10
6728
6725
  © 2025 gizmette.com
6729
6726
  */
6730
6727
  try {
6731
6728
  window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
6732
- version: "1.3.9",
6733
- buildTime: "02/16/2025 06:39 PM EST",
6729
+ version: "1.3.10",
6730
+ buildTime: "02/27/2025 06:36 PM EST",
6734
6731
  homepage: "https://github.com/aversini/ui-components",
6735
6732
  license: "MIT"
6736
6733
  });
@@ -6915,9 +6912,9 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
6915
6912
  ..._
6916
6913
  }, w) => {
6917
6914
  var x;
6918
- const y = M(null), T = sf([w, y]), [R, S] = Ga(), [P, A] = Ga(), V = M(80), z = M(-25), B = M(null), D = M(30), U = M(null), j = cf({ id: e, prefix: `${Do}-` }), [Ee, Ge] = $(0), [De, Ye] = $(0), [Je, se] = $(
6915
+ const y = M(null), T = sf([w, y]), [R, S] = Ga(), [B, A] = Ga(), V = M(80), z = M(-25), P = M(null), D = M(30), U = M(null), j = cf({ id: e, prefix: `${Do}-` }), [Ee, Ge] = $(0), [De, Ye] = $(0), [Je, oe] = $(
6919
6916
  !!(!b && p)
6920
- ), ve = `${t} error, ${p}`, oe = kf({
6917
+ ), ve = `${t} error, ${p}`, ie = kf({
6921
6918
  className: s,
6922
6919
  textAreaClassName: o,
6923
6920
  error: n,
@@ -6942,9 +6939,9 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
6942
6939
  }), H = (F) => {
6943
6940
  Ne(F.target.value);
6944
6941
  }, q = (F) => {
6945
- b && p && se(!0), E && E(F);
6942
+ b && p && oe(!0), E && E(F);
6946
6943
  }, Z = (F) => {
6947
- b && p && !te && se(!1), C && C(F);
6944
+ b && p && !te && oe(!1), C && C(F);
6948
6945
  };
6949
6946
  return le(() => {
6950
6947
  S && S.width && Ge(S.width + 18 + 10);
@@ -6955,7 +6952,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
6955
6952
  }, [te, a]), le(() => {
6956
6953
  a || setTimeout(() => {
6957
6954
  var F;
6958
- (F = B == null ? void 0 : B.current) == null || F.style.setProperty(
6955
+ (F = P == null ? void 0 : P.current) == null || F.style.setProperty(
6959
6956
  "--av-text-area-wrapper-transition",
6960
6957
  te ? "none" : "all 0.2s ease-out"
6961
6958
  );
@@ -6969,7 +6966,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
6969
6966
  currentLabelOffset: z.current,
6970
6967
  currentHelperTextOffset: D.current
6971
6968
  });
6972
- Ce && (z.current = Ce, (F = B == null ? void 0 : B.current) == null || F.style.setProperty(
6969
+ Ce && (z.current = Ce, (F = P == null ? void 0 : P.current) == null || F.style.setProperty(
6973
6970
  "--av-text-area-label",
6974
6971
  `${Ce}px`
6975
6972
  )), he && (D.current = he, (ue = U == null ? void 0 : U.current) == null || ue.style.setProperty(
@@ -6977,24 +6974,24 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
6977
6974
  `${he}px`
6978
6975
  )), V.current = fe || V.current;
6979
6976
  }
6980
- }, [te, a]), A.width > 0 && ((x = B == null ? void 0 : B.current) == null || x.style.setProperty(
6977
+ }, [te, a]), A.width > 0 && ((x = P == null ? void 0 : P.current) == null || x.style.setProperty(
6981
6978
  "--tw-translate-x",
6982
6979
  `${12 + A.width + 5}px`
6983
- )), /* @__PURE__ */ N("div", { className: oe.wrapper, children: [
6980
+ )), /* @__PURE__ */ N("div", { className: ie.wrapper, children: [
6984
6981
  /* @__PURE__ */ c(
6985
6982
  "label",
6986
6983
  {
6987
6984
  htmlFor: j,
6988
6985
  id: m,
6989
- className: oe.accessibleLabel,
6986
+ className: ie.accessibleLabel,
6990
6987
  children: r
6991
6988
  }
6992
6989
  ),
6993
6990
  k && /* @__PURE__ */ c(
6994
6991
  "div",
6995
6992
  {
6996
- ref: P,
6997
- className: oe.leftElement,
6993
+ ref: B,
6994
+ className: ie.leftElement,
6998
6995
  children: k
6999
6996
  }
7000
6997
  ),
@@ -7006,7 +7003,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
7006
7003
  name: t,
7007
7004
  disabled: h,
7008
7005
  placeholder: a ? void 0 : " ",
7009
- className: oe.textArea,
7006
+ className: ie.textArea,
7010
7007
  rows: 1,
7011
7008
  ...p && { "aria-describedby": `${j}-helper` },
7012
7009
  ...n && { "aria-invalid": "true" },
@@ -7028,10 +7025,10 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
7028
7025
  !a && /* @__PURE__ */ c(
7029
7026
  "label",
7030
7027
  {
7031
- ref: B,
7028
+ ref: P,
7032
7029
  "aria-hidden": !0,
7033
7030
  htmlFor: j,
7034
- className: `${oe.visibleLabel}`,
7031
+ className: `${ie.visibleLabel}`,
7035
7032
  children: r
7036
7033
  }
7037
7034
  ),
@@ -7040,7 +7037,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
7040
7037
  {
7041
7038
  ref: U,
7042
7039
  id: `${j}-helper`,
7043
- className: oe.helperText,
7040
+ className: ie.helperText,
7044
7041
  children: p
7045
7042
  }
7046
7043
  ),
@@ -7048,7 +7045,7 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
7048
7045
  "div",
7049
7046
  {
7050
7047
  ref: R,
7051
- className: oe.rightElement,
7048
+ className: ie.rightElement,
7052
7049
  children: v
7053
7050
  }
7054
7051
  ),
@@ -7058,13 +7055,13 @@ const pf = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
7058
7055
  );
7059
7056
  en.displayName = "TextArea";
7060
7057
  /*!
7061
- @versini/ui-toggle v3.0.10
7058
+ @versini/ui-toggle v3.0.11
7062
7059
  © 2025 gizmette.com
7063
7060
  */
7064
7061
  try {
7065
7062
  window.__VERSINI_UI_TOGGLE__ || (window.__VERSINI_UI_TOGGLE__ = {
7066
- version: "3.0.10",
7067
- buildTime: "02/16/2025 06:39 PM EST",
7063
+ version: "3.0.11",
7064
+ buildTime: "02/27/2025 06:37 PM EST",
7068
7065
  homepage: "https://github.com/aversini/ui-components",
7069
7066
  license: "MIT"
7070
7067
  });
@@ -7225,11 +7222,11 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
7225
7222
  longitude: y.longitude
7226
7223
  }
7227
7224
  }), S = Date.now() - x;
7228
- if (S < 2e3 && await new Promise((P) => setTimeout(P, 2e3 - S)), T.status === 200) {
7229
- const { city: P, state: A, country: V, displayName: z } = T.data, B = P && A && V ? `${P}, ${A}, ${V}` : z;
7225
+ if (S < 2e3 && await new Promise((B) => setTimeout(B, 2e3 - S)), T.status === 200) {
7226
+ const { city: B, state: A, country: V, displayName: z } = T.data, P = B && A && V ? `${B}, ${A}, ${V}` : z;
7230
7227
  d({
7231
7228
  loadingLocation: !1
7232
- }), b(B);
7229
+ }), b(P);
7233
7230
  } else
7234
7231
  d({
7235
7232
  loadingLocation: !1
@@ -7245,24 +7242,24 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
7245
7242
  ...R
7246
7243
  }) => {
7247
7244
  h((S) => {
7248
- const P = S.prompts, A = {
7245
+ const B = S.prompts, A = {
7249
7246
  ...R,
7250
7247
  enabled: x,
7251
7248
  privateChat: y,
7252
7249
  clipboardAccess: T
7253
7250
  };
7254
7251
  T ? A.content = A.content + " {{clipboard}}" : A.content = A.content.replace("{{clipboard}}", "");
7255
- const V = P.findIndex((z) => z.slot === R.slot);
7252
+ const V = B.findIndex((z) => z.slot === R.slot);
7256
7253
  return V === -1 ? {
7257
7254
  ...S,
7258
- prompts: [...P, { ...A }]
7259
- } : (P[V] = A, {
7255
+ prompts: [...B, { ...A }]
7256
+ } : (B[V] = A, {
7260
7257
  ...S,
7261
- prompts: [...P]
7258
+ prompts: [...B]
7262
7259
  });
7263
7260
  });
7264
7261
  };
7265
- return L(() => {
7262
+ return O(() => {
7266
7263
  a != null && a.instructions && m(a.instructions), a != null && a.location && b(a.location), a != null && a.tags && h({ prompts: a.tags });
7267
7264
  }, [a]), s || o ? null : /* @__PURE__ */ c(
7268
7265
  Lt,
@@ -7277,7 +7274,7 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
7277
7274
  alignHorizontal: "flex-end",
7278
7275
  className: "pb-8 sm:pb-0",
7279
7276
  children: [
7280
- /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
7277
+ /* @__PURE__ */ c(Be, { children: /* @__PURE__ */ c(
7281
7278
  wt,
7282
7279
  {
7283
7280
  mode: "dark",
@@ -7287,7 +7284,7 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
7287
7284
  children: "Cancel"
7288
7285
  }
7289
7286
  ) }),
7290
- /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
7287
+ /* @__PURE__ */ c(Be, { children: /* @__PURE__ */ c(
7291
7288
  wt,
7292
7289
  {
7293
7290
  mode: "dark",
@@ -7489,8 +7486,8 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
7489
7486
  o && /* @__PURE__ */ c(Zh, { open: o, onOpenChange: i }),
7490
7487
  /* @__PURE__ */ c(qh, { open: l, onOpenChange: d }),
7491
7488
  /* @__PURE__ */ c("div", { className: "bg-slate-900 py-4 px-4 rounded-t-md", children: /* @__PURE__ */ N(ir, { alignHorizontal: "space-between", alignVertical: "center", children: [
7492
- /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c($h, {}) }),
7493
- /* @__PURE__ */ c(Pe, { children: /* @__PURE__ */ c(
7489
+ /* @__PURE__ */ c(Be, { children: /* @__PURE__ */ c($h, {}) }),
7490
+ /* @__PURE__ */ c(Be, { children: /* @__PURE__ */ c(
7494
7491
  Ke,
7495
7492
  {
7496
7493
  label: "Profile, Settings, etc.",
@@ -7566,19 +7563,19 @@ const Tf = "av-toggle", _f = () => g("peer", "h-6", "w-11", "rounded-full"), If
7566
7563
  ] });
7567
7564
  };
7568
7565
  /*!
7569
- @versini/ui-bubble v3.2.8
7566
+ @versini/ui-bubble v3.2.9
7570
7567
  © 2025 gizmette.com
7571
7568
  */
7572
7569
  try {
7573
7570
  window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
7574
- version: "3.2.8",
7575
- buildTime: "02/16/2025 06:39 PM EST",
7571
+ version: "3.2.9",
7572
+ buildTime: "02/27/2025 06:37 PM EST",
7576
7573
  homepage: "https://github.com/aversini/ui-components",
7577
7574
  license: "MIT"
7578
7575
  });
7579
7576
  } catch {
7580
7577
  }
7581
- const Bf = "av-bubble", Ja = "av-button", br = "icon", Uo = "button", tn = "link", Pf = ({
7578
+ const Pf = "av-bubble", Ja = "av-button", br = "icon", Uo = "button", tn = "link", Bf = ({
7582
7579
  type: e,
7583
7580
  size: t,
7584
7581
  labelRight: r,
@@ -7850,7 +7847,7 @@ const Bf = "av-bubble", Ja = "av-button", br = "icon", Uo = "button", tn = "link
7850
7847
  }),
7851
7848
  $f({ mode: n, noBackground: h, variant: f }),
7852
7849
  Df({ radius: b }),
7853
- Pf({
7850
+ Bf({
7854
7851
  type: e,
7855
7852
  size: i,
7856
7853
  labelRight: d,
@@ -7890,7 +7887,7 @@ const Bf = "av-bubble", Ja = "av-button", br = "icon", Uo = "button", tn = "link
7890
7887
  Ho.displayName = "BaseButton";
7891
7888
  function Yf() {
7892
7889
  const e = M(!1);
7893
- return L(() => (e.current = !0, () => {
7890
+ return O(() => (e.current = !0, () => {
7894
7891
  e.current = !1;
7895
7892
  }), []), W(() => e.current, []);
7896
7893
  }
@@ -7919,7 +7916,7 @@ function Vr(e) {
7919
7916
  n.current && t() && s(l.contentRect);
7920
7917
  }));
7921
7918
  }), [t]);
7922
- return L(() => (n.current && (o == null || o.observe(n.current, e)), () => {
7919
+ return O(() => (n.current && (o == null || o.observe(n.current, e)), () => {
7923
7920
  o == null || o.disconnect(), r.current && cancelAnimationFrame(r.current);
7924
7921
  }), [o, e]), [n, a];
7925
7922
  }
@@ -7978,16 +7975,16 @@ const Xf = {
7978
7975
  radius: v,
7979
7976
  variant: k,
7980
7977
  animated: E
7981
- }), x = jf({ mode: r, raw: i, iconClassName: I }), y = Wf({ animated: E }), [T, R] = Vr(), [S, P] = Vr(), [A, V] = Vr(), z = M(0), B = M(null), D = Jf([_, B]);
7978
+ }), x = jf({ mode: r, raw: i, iconClassName: I }), y = Wf({ animated: E }), [T, R] = Vr(), [S, B] = Vr(), [A, V] = Vr(), z = M(0), P = M(null), D = Jf([_, P]);
7982
7979
  return le(() => {
7983
7980
  A && A.current && E && (z.current = V.width + Zf[h] + (l ? 0 : Qf));
7984
7981
  }, [V, A, h, l, E]), le(() => {
7985
- B && B.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), B.current.style.width = `${R.width + z.current}px`) : m && P.width > 0 ? (S.current && (S.current.style.opacity = "100"), B.current.style.width = `${P.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), B.current.style.width = `${Xf[h]}px`));
7982
+ P && P.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), P.current.style.width = `${R.width + z.current}px`) : m && B.width > 0 ? (S.current && (S.current.style.opacity = "100"), P.current.style.width = `${B.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), P.current.style.width = `${Xf[h]}px`));
7986
7983
  }, [
7987
7984
  R,
7988
7985
  f,
7989
7986
  T,
7990
- P,
7987
+ B,
7991
7988
  m,
7992
7989
  S,
7993
7990
  h,
@@ -8033,13 +8030,13 @@ const Xf = {
8033
8030
  }) => /* @__PURE__ */ c("span", { ref: e, className: t, children: r && /* @__PURE__ */ c("span", { className: n, children: r }) });
8034
8031
  Rn.displayName = "ButtonIcon";
8035
8032
  /*!
8036
- @versini/ui-button v4.2.8
8033
+ @versini/ui-button v4.2.9
8037
8034
  © 2025 gizmette.com
8038
8035
  */
8039
8036
  try {
8040
8037
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
8041
- version: "4.2.8",
8042
- buildTime: "02/16/2025 06:39 PM EST",
8038
+ version: "4.2.9",
8039
+ buildTime: "02/27/2025 06:37 PM EST",
8043
8040
  homepage: "https://github.com/aversini/ui-components",
8044
8041
  license: "MIT"
8045
8042
  });
@@ -8207,7 +8204,7 @@ const nm = ({
8207
8204
  noMaxWidth: r
8208
8205
  }) => {
8209
8206
  const n = g(
8210
- Bf,
8207
+ Pf,
8211
8208
  "flex items-start",
8212
8209
  {
8213
8210
  "flex-row-reverse": e === "right"
@@ -8243,7 +8240,7 @@ const nm = ({
8243
8240
  const [d, u] = $(!1), h = im({ kind: t, className: r, noMaxWidth: l }), f = !!s && (typeof s == "function" || typeof s == "string" || typeof e == "string"), m = () => {
8244
8241
  u(!0), typeof s == "function" ? s(e) : typeof s == "string" ? navigator.clipboard.writeText(s) : typeof e == "string" && navigator.clipboard.writeText(e);
8245
8242
  };
8246
- return L(() => {
8243
+ return O(() => {
8247
8244
  let p;
8248
8245
  return d && (p = window.setTimeout(() => {
8249
8246
  u(!1);
@@ -8277,13 +8274,13 @@ const nm = ({
8277
8274
  ] });
8278
8275
  };
8279
8276
  /*!
8280
- @versini/ui-spinner v3.0.10
8277
+ @versini/ui-spinner v3.0.11
8281
8278
  © 2025 gizmette.com
8282
8279
  */
8283
8280
  try {
8284
8281
  window.__VERSINI_UI_SPINNER__ || (window.__VERSINI_UI_SPINNER__ = {
8285
- version: "3.0.10",
8286
- buildTime: "02/16/2025 06:39 PM EST",
8282
+ version: "3.0.11",
8283
+ buildTime: "02/27/2025 06:37 PM EST",
8287
8284
  homepage: "https://github.com/aversini/ui-components",
8288
8285
  license: "MIT"
8289
8286
  });
@@ -8618,7 +8615,7 @@ const Xa = "av-spinner", Wo = ({
8618
8615
  )), vm = (e, t, r) => {
8619
8616
  var n;
8620
8617
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof ((n = e == null ? void 0 : e.currentTarget) == null ? void 0 : n.focus) == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
8621
- }, Bn = J.forwardRef((e, t) => {
8618
+ }, Pn = J.forwardRef((e, t) => {
8622
8619
  const { onClick: r, noInternalClick: n = !1, ...a } = e;
8623
8620
  return /* @__PURE__ */ c(
8624
8621
  "button",
@@ -8631,7 +8628,7 @@ const Xa = "av-spinner", Wo = ({
8631
8628
  }
8632
8629
  );
8633
8630
  });
8634
- Bn.displayName = "BaseButton";
8631
+ Pn.displayName = "BaseButton";
8635
8632
  const Go = J.forwardRef(
8636
8633
  ({
8637
8634
  children: e,
@@ -8663,7 +8660,7 @@ const Go = J.forwardRef(
8663
8660
  radius: h
8664
8661
  });
8665
8662
  return /* @__PURE__ */ c(
8666
- Bn,
8663
+ Pn,
8667
8664
  {
8668
8665
  ref: m,
8669
8666
  className: p,
@@ -8677,7 +8674,7 @@ const Go = J.forwardRef(
8677
8674
  Go.displayName = "Button";
8678
8675
  function wm() {
8679
8676
  const e = M(!1);
8680
- return L(() => (e.current = !0, () => {
8677
+ return O(() => (e.current = !0, () => {
8681
8678
  e.current = !1;
8682
8679
  }), []), W(() => e.current, []);
8683
8680
  }
@@ -8699,14 +8696,14 @@ const xm = {
8699
8696
  bottom: 0,
8700
8697
  right: 0
8701
8698
  };
8702
- function Br(e) {
8699
+ function Pr(e) {
8703
8700
  const t = wm(), r = M(0), n = M(null), [a, s] = $(xm), o = be(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
8704
8701
  const l = i[0];
8705
8702
  l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
8706
8703
  n.current && t() && s(l.contentRect);
8707
8704
  }));
8708
8705
  }), [t]);
8709
- return L(() => (n.current && (o == null || o.observe(n.current, e)), () => {
8706
+ return O(() => (n.current && (o == null || o.observe(n.current, e)), () => {
8710
8707
  o == null || o.disconnect(), r.current && cancelAnimationFrame(r.current);
8711
8708
  }), [o, e]), [n, a];
8712
8709
  }
@@ -8765,22 +8762,22 @@ const Tm = {
8765
8762
  radius: v,
8766
8763
  variant: k,
8767
8764
  animated: E
8768
- }), x = ym({ mode: r, raw: i, iconClassName: I }), y = bm({ animated: E }), [T, R] = Br(), [S, P] = Br(), [A, V] = Br(), z = M(0), B = M(null), D = km([_, B]);
8765
+ }), x = ym({ mode: r, raw: i, iconClassName: I }), y = bm({ animated: E }), [T, R] = Pr(), [S, B] = Pr(), [A, V] = Pr(), z = M(0), P = M(null), D = km([_, P]);
8769
8766
  return le(() => {
8770
8767
  A && A.current && E && (z.current = V.width + _m[h] + (l ? 0 : Im));
8771
8768
  }, [V, A, h, l, E]), le(() => {
8772
- B && B.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), B.current.style.width = `${R.width + z.current}px`) : m && P.width > 0 ? (S.current && (S.current.style.opacity = "100"), B.current.style.width = `${P.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), B.current.style.width = `${Tm[h]}px`));
8769
+ P && P.current && E && (f && T && R.width > 0 ? (T.current && (T.current.style.opacity = "100"), P.current.style.width = `${R.width + z.current}px`) : m && B.width > 0 ? (S.current && (S.current.style.opacity = "100"), P.current.style.width = `${B.width + z.current}px`) : (T.current && (T.current.style.opacity = "0"), S.current && (S.current.style.opacity = "0"), P.current.style.width = `${Tm[h]}px`));
8773
8770
  }, [
8774
8771
  R,
8775
8772
  f,
8776
8773
  T,
8777
- P,
8774
+ B,
8778
8775
  m,
8779
8776
  S,
8780
8777
  h,
8781
8778
  E
8782
8779
  ]), /* @__PURE__ */ N(
8783
- Bn,
8780
+ Pn,
8784
8781
  {
8785
8782
  ref: D,
8786
8783
  className: w,
@@ -8820,13 +8817,13 @@ const Tm = {
8820
8817
  }) => /* @__PURE__ */ c("span", { ref: e, className: t, children: r && /* @__PURE__ */ c("span", { className: n, children: r }) });
8821
8818
  Yo.displayName = "ButtonIcon";
8822
8819
  /*!
8823
- @versini/ui-button v4.2.8
8820
+ @versini/ui-button v4.2.9
8824
8821
  © 2025 gizmette.com
8825
8822
  */
8826
8823
  try {
8827
8824
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
8828
- version: "4.2.8",
8829
- buildTime: "02/16/2025 06:39 PM EST",
8825
+ version: "4.2.9",
8826
+ buildTime: "02/27/2025 06:37 PM EST",
8830
8827
  homepage: "https://github.com/aversini/ui-components",
8831
8828
  license: "MIT"
8832
8829
  });
@@ -8915,13 +8912,13 @@ const Nm = 200, Cm = ({
8915
8912
  ] });
8916
8913
  };
8917
8914
  /*!
8918
- @versini/ui-truncate v3.0.25
8915
+ @versini/ui-truncate v3.0.26
8919
8916
  © 2025 gizmette.com
8920
8917
  */
8921
8918
  try {
8922
8919
  window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
8923
- version: "3.0.25",
8924
- buildTime: "02/16/2025 06:39 PM EST",
8920
+ version: "3.0.26",
8921
+ buildTime: "02/27/2025 06:37 PM EST",
8925
8922
  homepage: "https://github.com/aversini/ui-components",
8926
8923
  license: "MIT"
8927
8924
  });
@@ -8961,11 +8958,11 @@ const wr = /* @__NO_SIDE_EFFECTS__ */ (e, t, r) => {
8961
8958
  return n === 0 ? 1 : (r - e) / n;
8962
8959
  };
8963
8960
  // @__NO_SIDE_EFFECTS__
8964
- function Pn(e) {
8961
+ function Bn(e) {
8965
8962
  let t;
8966
8963
  return () => (t === void 0 && (t = e()), t);
8967
8964
  }
8968
- const Mm = /* @__PURE__ */ Pn(() => window.ScrollTimeline !== void 0);
8965
+ const Mm = /* @__PURE__ */ Bn(() => window.ScrollTimeline !== void 0);
8969
8966
  class Vm {
8970
8967
  constructor(t) {
8971
8968
  this.stop = () => this.runAll("stop"), this.animations = t.filter(Boolean);
@@ -9060,9 +9057,9 @@ const qo = (e, t, r = 10) => {
9060
9057
  function Xo(e, t) {
9061
9058
  return t ? e * (1e3 / t) : 0;
9062
9059
  }
9063
- const Bm = 5;
9060
+ const Pm = 5;
9064
9061
  function Zo(e, t, r) {
9065
- const n = Math.max(t - Bm, 0);
9062
+ const n = Math.max(t - Pm, 0);
9066
9063
  return Xo(r - e(n), t - n);
9067
9064
  }
9068
9065
  const G = {
@@ -9094,7 +9091,7 @@ const G = {
9094
9091
  minDamping: 0.05,
9095
9092
  maxDamping: 1
9096
9093
  }, es = 1e-3;
9097
- function Pm({ duration: e = G.duration, bounce: t = G.bounce, velocity: r = G.velocity, mass: n = G.mass }) {
9094
+ function Bm({ duration: e = G.duration, bounce: t = G.bounce, velocity: r = G.velocity, mass: n = G.mass }) {
9098
9095
  let a, s;
9099
9096
  $t(e <= /* @__PURE__ */ Te(G.maxDuration), "Spring duration must be 10 seconds or less");
9100
9097
  let o = 1 - t;
@@ -9160,7 +9157,7 @@ function Fm(e) {
9160
9157
  damping: s
9161
9158
  };
9162
9159
  } else {
9163
- const r = Pm(e);
9160
+ const r = Bm(e);
9164
9161
  t = {
9165
9162
  ...t,
9166
9163
  ...r,
@@ -9308,19 +9305,19 @@ function Xm(e, { defaultTransition: t = {}, ...r } = {}, n, a) {
9308
9305
  k.at !== void 0 && (h = rs(h, k.at, u, d));
9309
9306
  let I = 0;
9310
9307
  const E = (C, _, w, x = 0, y = 0) => {
9311
- const T = Zm(C), { delay: R = 0, times: S = ri(T), type: P = "keyframes", repeat: A, repeatType: V, repeatDelay: z = 0, ...B } = _;
9308
+ const T = Zm(C), { delay: R = 0, times: S = ri(T), type: B = "keyframes", repeat: A, repeatType: V, repeatDelay: z = 0, ...P } = _;
9312
9309
  let { ease: D = t.ease || "easeOut", duration: U } = _;
9313
- const j = typeof R == "function" ? R(x, y) : R, Ee = T.length, Ge = kr(P) ? P : a == null ? void 0 : a[P];
9310
+ const j = typeof R == "function" ? R(x, y) : R, Ee = T.length, Ge = kr(B) ? B : a == null ? void 0 : a[B];
9314
9311
  if (Ee <= 2 && Ge) {
9315
- let se = 100;
9312
+ let oe = 100;
9316
9313
  if (Ee === 2 && tp(T)) {
9317
9314
  const te = T[1] - T[0];
9318
- se = Math.abs(te);
9315
+ oe = Math.abs(te);
9319
9316
  }
9320
- const ve = { ...B };
9317
+ const ve = { ...P };
9321
9318
  U !== void 0 && (ve.duration = /* @__PURE__ */ Te(U));
9322
- const oe = zm(ve, se, Ge);
9323
- D = oe.ease, U = oe.duration;
9319
+ const ie = zm(ve, oe, Ge);
9320
+ D = ie.ease, U = ie.duration;
9324
9321
  }
9325
9322
  U ?? (U = s);
9326
9323
  const De = h + j;
@@ -9328,13 +9325,13 @@ function Xm(e, { defaultTransition: t = {}, ...r } = {}, n, a) {
9328
9325
  const Ye = S.length - T.length;
9329
9326
  if (Ye > 0 && ti(S, Ye), T.length === 1 && T.unshift(null), A) {
9330
9327
  $e(A < qm, "Repeat count too high, must be less than 20"), U = Hm(U, A);
9331
- const se = [...T], ve = [...S];
9328
+ const oe = [...T], ve = [...S];
9332
9329
  D = Array.isArray(D) ? [...D] : [D];
9333
- const oe = [...D];
9330
+ const ie = [...D];
9334
9331
  for (let te = 0; te < A; te++) {
9335
- T.push(...se);
9336
- for (let Ne = 0; Ne < se.length; Ne++)
9337
- S.push(ve[Ne] + (te + 1)), D.push(Ne === 0 ? "linear" : ei(oe, Ne - 1));
9332
+ T.push(...oe);
9333
+ for (let Ne = 0; Ne < oe.length; Ne++)
9334
+ S.push(ve[Ne] + (te + 1)), D.push(Ne === 0 ? "linear" : ei(ie, Ne - 1));
9338
9335
  }
9339
9336
  Gm(S, A);
9340
9337
  }
@@ -9505,8 +9502,8 @@ let Xt;
9505
9502
  function lp() {
9506
9503
  Xt = void 0;
9507
9504
  }
9508
- const Be = {
9509
- now: () => (Xt === void 0 && Be.set(nr.isProcessing || ap.useManualTiming ? nr.timestamp : performance.now()), Xt),
9505
+ const Pe = {
9506
+ now: () => (Xt === void 0 && Pe.set(nr.isProcessing || ap.useManualTiming ? nr.timestamp : performance.now()), Xt),
9510
9507
  set: (e) => {
9511
9508
  Xt = e, queueMicrotask(lp);
9512
9509
  }
@@ -9552,12 +9549,12 @@ class dp {
9552
9549
  */
9553
9550
  constructor(t, r = {}) {
9554
9551
  this.version = "12.4.7", this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (n, a = !0) => {
9555
- const s = Be.now();
9552
+ const s = Pe.now();
9556
9553
  this.updatedAt !== s && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(n), this.current !== this.prev && this.events.change && this.events.change.notify(this.current), a && this.events.renderRequest && this.events.renderRequest.notify(this.current);
9557
9554
  }, this.hasAnimated = !1, this.setCurrent(t), this.owner = r.owner;
9558
9555
  }
9559
9556
  setCurrent(t) {
9560
- this.current = t, this.updatedAt = Be.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = cp(this.current));
9557
+ this.current = t, this.updatedAt = Pe.now(), this.canTrackVelocity === null && t !== void 0 && (this.canTrackVelocity = cp(this.current));
9561
9558
  }
9562
9559
  setPrevFrameValue(t = this.current) {
9563
9560
  this.prevFrameValue = t, this.prevUpdatedAt = this.updatedAt;
@@ -9678,7 +9675,7 @@ class dp {
9678
9675
  * @public
9679
9676
  */
9680
9677
  getVelocity() {
9681
- const t = Be.now();
9678
+ const t = Pe.now();
9682
9679
  if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > os)
9683
9680
  return 0;
9684
9681
  const r = Math.min(this.updatedAt - this.prevUpdatedAt, os);
@@ -9790,7 +9787,7 @@ const zn = (e) => Array.isArray(e) && typeof e[0] == "number", vp = {
9790
9787
  linearEasing: void 0
9791
9788
  };
9792
9789
  function wp(e, t) {
9793
- const r = /* @__PURE__ */ Pn(e);
9790
+ const r = /* @__PURE__ */ Bn(e);
9794
9791
  return () => {
9795
9792
  var n;
9796
9793
  return (n = vp[t]) !== null && n !== void 0 ? n : r();
@@ -9864,13 +9861,13 @@ const Np = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
9864
9861
  [r]: parseFloat(o),
9865
9862
  alpha: i !== void 0 ? parseFloat(i) : 1
9866
9863
  };
9867
- }, Cp = (e) => We(0, 255, e), Pr = {
9864
+ }, Cp = (e) => We(0, 255, e), Br = {
9868
9865
  ...ft,
9869
9866
  transform: (e) => Math.round(Cp(e))
9870
9867
  }, ze = {
9871
9868
  test: /* @__PURE__ */ Wn("rgb", "red"),
9872
9869
  parse: /* @__PURE__ */ vi("red", "green", "blue"),
9873
- transform: ({ red: e, green: t, blue: r, alpha: n = 1 }) => "rgba(" + Pr.transform(e) + ", " + Pr.transform(t) + ", " + Pr.transform(r) + ", " + xt(Rt.transform(n)) + ")"
9870
+ transform: ({ red: e, green: t, blue: r, alpha: n = 1 }) => "rgba(" + Br.transform(e) + ", " + Br.transform(t) + ", " + Br.transform(r) + ", " + xt(Rt.transform(n)) + ")"
9874
9871
  };
9875
9872
  function Sp(e) {
9876
9873
  let t = "", r = "", n = "", a = "";
@@ -9889,7 +9886,7 @@ const on = {
9889
9886
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
9890
9887
  parse: parseFloat,
9891
9888
  transform: (t) => `${t}${e}`
9892
- }), Ve = /* @__PURE__ */ zt("deg"), tt = /* @__PURE__ */ zt("%"), O = /* @__PURE__ */ zt("px"), Ap = /* @__PURE__ */ zt("vh"), Rp = /* @__PURE__ */ zt("vw"), cs = {
9889
+ }), Ve = /* @__PURE__ */ zt("deg"), tt = /* @__PURE__ */ zt("%"), L = /* @__PURE__ */ zt("px"), Ap = /* @__PURE__ */ zt("vh"), Rp = /* @__PURE__ */ zt("vw"), cs = {
9893
9890
  ...tt,
9894
9891
  parse: (e) => tt.parse(e) / 100,
9895
9892
  transform: (e) => tt.transform(e * 100)
@@ -9906,7 +9903,7 @@ function Vp(e) {
9906
9903
  var t, r;
9907
9904
  return isNaN(e) && typeof e == "string" && (((t = e.match(jn)) === null || t === void 0 ? void 0 : t.length) || 0) + (((r = e.match(Mp)) === null || r === void 0 ? void 0 : r.length) || 0) > 0;
9908
9905
  }
9909
- const wi = "number", ki = "color", Bp = "var", Pp = "var(", ds = "${}", Op = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
9906
+ const wi = "number", ki = "color", Pp = "var", Bp = "var(", ds = "${}", Op = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
9910
9907
  function Mt(e) {
9911
9908
  const t = e.toString(), r = [], n = {
9912
9909
  color: [],
@@ -9914,7 +9911,7 @@ function Mt(e) {
9914
9911
  var: []
9915
9912
  }, a = [];
9916
9913
  let s = 0;
9917
- const i = t.replace(Op, (l) => (re.test(l) ? (n.color.push(s), a.push(ki), r.push(re.parse(l))) : l.startsWith(Pp) ? (n.var.push(s), a.push(Bp), r.push(l)) : (n.number.push(s), a.push(wi), r.push(parseFloat(l))), ++s, ds)).split(ds);
9914
+ const i = t.replace(Op, (l) => (re.test(l) ? (n.color.push(s), a.push(ki), r.push(re.parse(l))) : l.startsWith(Bp) ? (n.var.push(s), a.push(Pp), r.push(l)) : (n.number.push(s), a.push(wi), r.push(parseFloat(l))), ++s, ds)).split(ds);
9918
9915
  return { values: r, split: i, indexes: n, types: a };
9919
9916
  }
9920
9917
  function xi(e) {
@@ -9962,40 +9959,40 @@ const zp = /\b([a-z-]*)\(.*?\)/gu, ln = {
9962
9959
  }
9963
9960
  }, Up = {
9964
9961
  // Border props
9965
- borderWidth: O,
9966
- borderTopWidth: O,
9967
- borderRightWidth: O,
9968
- borderBottomWidth: O,
9969
- borderLeftWidth: O,
9970
- borderRadius: O,
9971
- radius: O,
9972
- borderTopLeftRadius: O,
9973
- borderTopRightRadius: O,
9974
- borderBottomRightRadius: O,
9975
- borderBottomLeftRadius: O,
9962
+ borderWidth: L,
9963
+ borderTopWidth: L,
9964
+ borderRightWidth: L,
9965
+ borderBottomWidth: L,
9966
+ borderLeftWidth: L,
9967
+ borderRadius: L,
9968
+ radius: L,
9969
+ borderTopLeftRadius: L,
9970
+ borderTopRightRadius: L,
9971
+ borderBottomRightRadius: L,
9972
+ borderBottomLeftRadius: L,
9976
9973
  // Positioning props
9977
- width: O,
9978
- maxWidth: O,
9979
- height: O,
9980
- maxHeight: O,
9981
- top: O,
9982
- right: O,
9983
- bottom: O,
9984
- left: O,
9974
+ width: L,
9975
+ maxWidth: L,
9976
+ height: L,
9977
+ maxHeight: L,
9978
+ top: L,
9979
+ right: L,
9980
+ bottom: L,
9981
+ left: L,
9985
9982
  // Spacing props
9986
- padding: O,
9987
- paddingTop: O,
9988
- paddingRight: O,
9989
- paddingBottom: O,
9990
- paddingLeft: O,
9991
- margin: O,
9992
- marginTop: O,
9993
- marginRight: O,
9994
- marginBottom: O,
9995
- marginLeft: O,
9983
+ padding: L,
9984
+ paddingTop: L,
9985
+ paddingRight: L,
9986
+ paddingBottom: L,
9987
+ paddingLeft: L,
9988
+ margin: L,
9989
+ marginTop: L,
9990
+ marginRight: L,
9991
+ marginBottom: L,
9992
+ marginLeft: L,
9996
9993
  // Misc
9997
- backgroundPositionX: O,
9998
- backgroundPositionY: O
9994
+ backgroundPositionX: L,
9995
+ backgroundPositionY: L
9999
9996
  }, Hp = {
10000
9997
  rotate: Ve,
10001
9998
  rotateX: Ve,
@@ -10008,19 +10005,19 @@ const zp = /\b([a-z-]*)\(.*?\)/gu, ln = {
10008
10005
  skew: Ve,
10009
10006
  skewX: Ve,
10010
10007
  skewY: Ve,
10011
- distance: O,
10012
- translateX: O,
10013
- translateY: O,
10014
- translateZ: O,
10015
- x: O,
10016
- y: O,
10017
- z: O,
10018
- perspective: O,
10019
- transformPerspective: O,
10008
+ distance: L,
10009
+ translateX: L,
10010
+ translateY: L,
10011
+ translateZ: L,
10012
+ x: L,
10013
+ y: L,
10014
+ z: L,
10015
+ perspective: L,
10016
+ transformPerspective: L,
10020
10017
  opacity: Rt,
10021
10018
  originX: cs,
10022
10019
  originY: cs,
10023
- originZ: O
10020
+ originZ: L
10024
10021
  }, us = {
10025
10022
  ...ft,
10026
10023
  transform: Math.round
@@ -10028,7 +10025,7 @@ const zp = /\b([a-z-]*)\(.*?\)/gu, ln = {
10028
10025
  ...Up,
10029
10026
  ...Hp,
10030
10027
  zIndex: us,
10031
- size: O,
10028
+ size: L,
10032
10029
  // SVG
10033
10030
  fillOpacity: Rt,
10034
10031
  strokeOpacity: Rt,
@@ -10065,7 +10062,7 @@ function Kp(e, t, r) {
10065
10062
  for (const s of t)
10066
10063
  e[s] = _i(r, a);
10067
10064
  }
10068
- const hs = (e) => e === ft || e === O, fs = (e, t) => parseFloat(e.split(", ")[t]), ms = (e, t) => (r, { transform: n }) => {
10065
+ const hs = (e) => e === ft || e === L, fs = (e, t) => parseFloat(e.split(", ")[t]), ms = (e, t) => (r, { transform: n }) => {
10069
10066
  if (n === "none" || !n)
10070
10067
  return 0;
10071
10068
  const a = n.match(/^matrix3d\((.+)\)$/u);
@@ -10194,7 +10191,7 @@ function Ai(e, t, r = 1) {
10194
10191
  const Ri = (e) => (t) => t.test(e), rg = {
10195
10192
  test: (e) => e === "auto",
10196
10193
  parse: (e) => e
10197
- }, Mi = [ft, O, tt, Ve, Rp, Ap, rg], ps = (e) => Mi.find(Ri(e));
10194
+ }, Mi = [ft, L, tt, Ve, Rp, Ap, rg], ps = (e) => Mi.find(Ri(e));
10198
10195
  class Vi extends Yn {
10199
10196
  constructor(t, r, n, a, s) {
10200
10197
  super(t, r, n, a, s, !0);
@@ -10276,9 +10273,9 @@ function xr(e, { repeat: t, repeatType: r = "loop" }, n) {
10276
10273
  return !s || n === void 0 ? a[s] : n;
10277
10274
  }
10278
10275
  const og = 40;
10279
- class Bi {
10276
+ class Pi {
10280
10277
  constructor({ autoplay: t = !0, delay: r = 0, type: n = "keyframes", repeat: a = 0, repeatDelay: s = 0, repeatType: o = "loop", ...i }) {
10281
- this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = Be.now(), this.options = {
10278
+ this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = Pe.now(), this.options = {
10282
10279
  autoplay: t,
10283
10280
  delay: r,
10284
10281
  type: n,
@@ -10315,7 +10312,7 @@ class Bi {
10315
10312
  * Otherwise, it will call initPlayback on the implementing class.
10316
10313
  */
10317
10314
  onKeyframesResolved(t, r) {
10318
- this.resolvedAt = Be.now(), this.hasAttemptedResolve = !0;
10315
+ this.resolvedAt = Pe.now(), this.hasAttemptedResolve = !0;
10319
10316
  const { name: n, type: a, velocity: s, delay: o, onComplete: i, onUpdate: l, isGenerator: d } = this.options;
10320
10317
  if (!d && !ag(t, n, a, s))
10321
10318
  if (o)
@@ -10397,9 +10394,9 @@ function hg(e, t) {
10397
10394
  return (r) => Dt(e, t, r);
10398
10395
  }
10399
10396
  function Xn(e) {
10400
- return typeof e == "number" ? hg : typeof e == "string" ? Jn(e) ? sr : re.test(e) ? bs : pg : Array.isArray(e) ? Pi : typeof e == "object" ? re.test(e) ? bs : fg : sr;
10397
+ return typeof e == "number" ? hg : typeof e == "string" ? Jn(e) ? sr : re.test(e) ? bs : pg : Array.isArray(e) ? Bi : typeof e == "object" ? re.test(e) ? bs : fg : sr;
10401
10398
  }
10402
- function Pi(e, t) {
10399
+ function Bi(e, t) {
10403
10400
  const r = [...e], n = r.length, a = e.map((s, o) => Xn(s)(s, t[o]));
10404
10401
  return (s) => {
10405
10402
  for (let o = 0; o < n; o++)
@@ -10428,7 +10425,7 @@ function mg(e, t) {
10428
10425
  }
10429
10426
  const pg = (e, t) => {
10430
10427
  const r = mt.createTransformer(t), n = Mt(e), a = Mt(t);
10431
- return n.indexes.var.length === a.indexes.var.length && n.indexes.color.length === a.indexes.color.length && n.indexes.number.length >= a.indexes.number.length ? un.has(e) && !a.values.length || un.has(t) && !n.values.length ? ug(e, t) : qn(Pi(mg(n, a), a.values), r) : ($t(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), sr(e, t));
10428
+ return n.indexes.var.length === a.indexes.var.length && n.indexes.color.length === a.indexes.color.length && n.indexes.number.length >= a.indexes.number.length ? un.has(e) && !a.values.length || un.has(t) && !n.values.length ? ug(e, t) : qn(Bi(mg(n, a), a.values), r) : ($t(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), sr(e, t));
10432
10429
  };
10433
10430
  function Oi(e, t, r) {
10434
10431
  return typeof e == "number" && typeof t == "number" && typeof r == "number" ? Dt(e, t, r) : Xn(e)(e, t);
@@ -10550,7 +10547,7 @@ const xg = (e) => {
10550
10547
  * If we're processing this frame we can use the
10551
10548
  * framelocked timestamp to keep things in sync.
10552
10549
  */
10553
- now: () => nr.isProcessing ? nr.timestamp : Be.now()
10550
+ now: () => nr.isProcessing ? nr.timestamp : Pe.now()
10554
10551
  };
10555
10552
  }, Tg = {
10556
10553
  decay: vs,
@@ -10559,7 +10556,7 @@ const xg = (e) => {
10559
10556
  keyframes: Tt,
10560
10557
  spring: Ln
10561
10558
  }, _g = (e) => e / 100;
10562
- class Zn extends Bi {
10559
+ class Zn extends Pi {
10563
10560
  constructor(t) {
10564
10561
  super(t), this.holdTime = null, this.cancelTime = null, this.currentTime = 0, this.playbackSpeed = 1, this.pendingPlayState = "running", this.startTime = null, this.state = "idle", this.stop = () => {
10565
10562
  if (this.resolver.cancel(), this.isStopped = !0, this.state === "idle")
@@ -10704,7 +10701,7 @@ function Eg(e, t, r, { delay: n = 0, duration: a = 300, repeat: s = 0, repeatTyp
10704
10701
  direction: o === "reverse" ? "alternate" : "normal"
10705
10702
  });
10706
10703
  }
10707
- const Ng = /* @__PURE__ */ Pn(() => Object.hasOwnProperty.call(Element.prototype, "animate")), or = 10, Cg = 2e4;
10704
+ const Ng = /* @__PURE__ */ Bn(() => Object.hasOwnProperty.call(Element.prototype, "animate")), or = 10, Cg = 2e4;
10708
10705
  function Sg(e) {
10709
10706
  return kr(e.type) || e.type === "spring" || !ci(e.ease);
10710
10707
  }
@@ -10736,7 +10733,7 @@ const $i = {
10736
10733
  function Rg(e) {
10737
10734
  return e in $i;
10738
10735
  }
10739
- class xs extends Bi {
10736
+ class xs extends Pi {
10740
10737
  constructor(t) {
10741
10738
  super(t);
10742
10739
  const { name: r, motionValue: n, element: a, keyframes: s } = this.options;
@@ -10899,14 +10896,14 @@ const Mg = {
10899
10896
  stiffness: 550,
10900
10897
  damping: e === 0 ? 2 * Math.sqrt(550) : 30,
10901
10898
  restSpeed: 10
10902
- }), Bg = {
10899
+ }), Pg = {
10903
10900
  type: "keyframes",
10904
10901
  duration: 0.8
10905
- }, Pg = {
10902
+ }, Bg = {
10906
10903
  type: "keyframes",
10907
10904
  ease: [0.25, 0.1, 0.35, 1],
10908
10905
  duration: 0.3
10909
- }, Og = (e, { keyframes: t }) => t.length > 2 ? Bg : ht.has(e) ? e.startsWith("scale") ? Vg(t[1]) : Mg : Pg;
10906
+ }, Og = (e, { keyframes: t }) => t.length > 2 ? Pg : ht.has(e) ? e.startsWith("scale") ? Vg(t[1]) : Mg : Bg;
10910
10907
  function Lg({ when: e, delay: t, delayChildren: r, staggerChildren: n, staggerDirection: a, repeat: s, repeatType: o, repeatDelay: i, from: l, elapsed: d, ...u }) {
10911
10908
  return !!Object.keys(u).length;
10912
10909
  }
@@ -11084,7 +11081,7 @@ class Ui {
11084
11081
  this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Yn, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
11085
11082
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
11086
11083
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
11087
- const m = Be.now();
11084
+ const m = Pe.now();
11088
11085
  this.renderScheduledAt < m && (this.renderScheduledAt = m, Ie.render(this.render, !1, !0));
11089
11086
  };
11090
11087
  const { latestValues: l, renderState: d, onUpdate: u } = o;
@@ -11341,12 +11338,12 @@ const e1 = {
11341
11338
  function r1(e, t, r = 1, n = 0, a = !0) {
11342
11339
  e.pathLength = 1;
11343
11340
  const s = a ? e1 : t1;
11344
- e[s.offset] = O.transform(-n);
11345
- const o = O.transform(t), i = O.transform(r);
11341
+ e[s.offset] = L.transform(-n);
11342
+ const o = L.transform(t), i = L.transform(r);
11346
11343
  e[s.array] = `${o} ${i}`;
11347
11344
  }
11348
11345
  function Es(e, t, r) {
11349
- return typeof e == "string" ? e : O.transform(t + r * e);
11346
+ return typeof e == "string" ? e : L.transform(t + r * e);
11350
11347
  }
11351
11348
  function n1(e, t, r) {
11352
11349
  const n = Es(t, e.x, e.width), a = Es(r, e.y, e.height);
@@ -11621,7 +11618,7 @@ function I1(e) {
11621
11618
  const E1 = I1(), $r = "";
11622
11619
  function N1(e) {
11623
11620
  const [t, r] = $(0), [n, a] = $(0), [s, o] = $(e);
11624
- return s !== e && (o(e), a(e.startsWith(s) ? t : 0)), L(() => {
11621
+ return s !== e && (o(e), a(e.startsWith(s) ? t : 0)), O(() => {
11625
11622
  const i = E1(n, e.split($r).length, {
11626
11623
  duration: 2,
11627
11624
  ease: "easeOut",
@@ -11635,7 +11632,7 @@ function N1(e) {
11635
11632
  const Ns = Rl(
11636
11633
  () => import(
11637
11634
  /* webpackChunkName: "LazyMessageAssistant" */
11638
- "./ChatBubbleAssistant.BfpBoYHf.js"
11635
+ "./ChatBubbleAssistant.C2PBxUJ2.js"
11639
11636
  ).then((e) => e.ChatBubbleAssistant)
11640
11637
  ), C1 = J.memo(
11641
11638
  ({
@@ -11646,7 +11643,7 @@ const Ns = Rl(
11646
11643
  }) => {
11647
11644
  const {
11648
11645
  state: { restoring: a }
11649
- } = K(ie), s = N1(t || "");
11646
+ } = K(se), s = N1(t || "");
11650
11647
  return e === kl && t ? /* @__PURE__ */ c(Am, { content: t }) : e === Ur && t ? /* @__PURE__ */ c(pa, { fallback: /* @__PURE__ */ c("span", {}), children: /* @__PURE__ */ c(Ns, { content: t, role: Ur }) }) : e === ha && t ? /* @__PURE__ */ c(pa, { fallback: /* @__PURE__ */ c("span", {}), children: /* @__PURE__ */ c(
11651
11648
  Ns,
11652
11649
  {
@@ -11659,7 +11656,7 @@ const Ns = Rl(
11659
11656
  ), S1 = () => {
11660
11657
  const {
11661
11658
  state: { loading: e }
11662
- } = K(ie), { messages: t } = ct();
11659
+ } = K(se), { messages: t } = ct();
11663
11660
  return t && t.length > 0 ? /* @__PURE__ */ N("div", { className: "space-y-6 mt-2 @container", children: [
11664
11661
  t && t.length > 0 && t.map((r, n) => {
11665
11662
  let a = null;
@@ -11678,25 +11675,36 @@ const Ns = Rl(
11678
11675
  e && /* @__PURE__ */ c(Mn, { children: /* @__PURE__ */ c(Wo, { type: "dots" }) })
11679
11676
  ] }) : null;
11680
11677
  }, A1 = () => {
11681
- const { isAuthenticated: e } = de(), { ref: t, inViewport: r } = fc(), {
11682
- state: { footerPosition: n, footerHeight: a, footerOffset: s }
11683
- } = K(Tn), o = M(0), i = xl({
11678
+ const { isAuthenticated: e } = de(), { ref: t, inViewport: r } = fc(), n = M(null), a = M(null), {
11679
+ state: { footerPosition: s, footerHeight: o, footerOffset: i }
11680
+ } = K(Tn), {
11681
+ state: { loading: l }
11682
+ } = K(se), d = M(0), u = xl({
11684
11683
  isAuthenticated: e,
11685
11684
  extraClass: "rounded-b-md relative"
11686
- });
11687
- return L(() => {
11688
- o.current = n === kt ? a + s + Bs + Tl : 0;
11689
- }, [n, a, s]), /* @__PURE__ */ N(ae, { children: [
11690
- /* @__PURE__ */ N("div", { className: i, children: [
11685
+ }), h = W(() => {
11686
+ a.current && a.current.scrollIntoView({
11687
+ behavior: "smooth",
11688
+ block: "end"
11689
+ });
11690
+ }, []);
11691
+ return O(() => {
11692
+ l && h();
11693
+ }, [l, h]), O(() => {
11694
+ d.current = s === kt ? o + i + Ps + Tl : 0;
11695
+ }, [s, o, i]), /* @__PURE__ */ N(ae, { children: [
11696
+ /* @__PURE__ */ N("div", { className: u, ref: n, children: [
11691
11697
  /* @__PURE__ */ c(_l, {}),
11692
11698
  /* @__PURE__ */ c(S1, {}),
11693
- /* @__PURE__ */ c("div", { ref: t, className: "scroll-marker" })
11699
+ /* @__PURE__ */ c("div", { ref: t, className: "scroll-marker" }),
11700
+ /* @__PURE__ */ c("div", { ref: a, className: "pt-20" })
11694
11701
  ] }),
11695
11702
  /* @__PURE__ */ c(
11696
11703
  Oh,
11697
11704
  {
11698
- show: !r && n === kt,
11699
- bottom: o.current
11705
+ show: !r && s === kt,
11706
+ bottom: d.current,
11707
+ onClick: h
11700
11708
  }
11701
11709
  )
11702
11710
  ] });
@@ -11746,24 +11754,24 @@ function qi({
11746
11754
  keys: [r == null ? void 0 : r.username],
11747
11755
  getAccessToken: n
11748
11756
  });
11749
- return L(() => {
11757
+ return O(() => {
11750
11758
  var x;
11751
11759
  (x = document.getElementById("logo")) == null || x.classList.add("fadeOut"), setTimeout(() => {
11752
11760
  var y;
11753
11761
  (y = document.getElementById("root")) == null || y.classList.replace("app-hidden", "fadeIn");
11754
11762
  }, 500);
11755
- }), L(() => {
11763
+ }), O(() => {
11756
11764
  w && w.provider && _({
11757
11765
  type: bn,
11758
11766
  payload: {
11759
11767
  provider: w.provider
11760
11768
  }
11761
11769
  });
11762
- }, [w]), L(() => {
11770
+ }, [w]), O(() => {
11763
11771
  if (p.footerPosition === "FOOTER_BOTTOM") {
11764
11772
  const x = `calc(${i.height}px + 20px)`;
11765
11773
  s(
11766
- `calc(100svh - ${t}px - ${x} - ${p.footerHeight}px - ${p.footerOffset}px - ${Bs}px)`
11774
+ `calc(100svh - ${t}px - ${x} - ${p.footerHeight}px - ${p.footerOffset}px - ${Ps}px)`
11767
11775
  );
11768
11776
  } else
11769
11777
  s(`${fa}px`);
@@ -11779,7 +11787,7 @@ function qi({
11779
11787
  {
11780
11788
  value: { state: I, dispatch: E },
11781
11789
  children: /* @__PURE__ */ c(
11782
- ie.Provider,
11790
+ se.Provider,
11783
11791
  {
11784
11792
  value: {
11785
11793
  state: C,
@@ -11849,7 +11857,7 @@ qi.displayName = "App";
11849
11857
  const L1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: qi }, Symbol.toStringTag, { value: "Module" }));
11850
11858
  export {
11851
11859
  L1 as App,
11852
- ie as ChatContext,
11860
+ se as ChatContext,
11853
11861
  nt as E,
11854
11862
  Mn as Re,
11855
11863
  Ws as getDefaultExportFromCjs