@versini/sassysaint 8.37.1 → 8.37.3

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,5 +1,5 @@
1
1
  import { jsx as i, jsxs as T, Fragment as ue } from "react/jsx-runtime";
2
- import { Subscribable as ho, pendingThenable as ka, resolveEnabled as Ee, shallowEqualObjects as Er, resolveStaleTime as gt, noop as _r, isServer as Sr, isValidTimeout as Ea, focusManager as mo, fetchState as fo, replaceData as _a, notifyManager as _s, timeUntilStale as po, shouldThrowError as go, useQueryClient as yo, I as re, ACTION_SORT as bo, ACTION_SEARCH as vo, ACTION_RESET_PROMPT as Ss, ACTION_TOGGLE_PROMPT as Ts, ue as xe, DEFAULT_ICON_ACTION_SIZE as Te, isTauri as Wt, n as Ve, isProbablyiPhone as Ae, L as xs, j as yt, C as Sa, LOCAL_STORAGE_PREFIX as jt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as wo, LOCAL_STORAGE_REASONING_DISCLOSURE as ko, TOAST_CHAT_SAVED as Eo, PROMPT_CLASSNAME as _o, PROMPT_EDITABLE_AREA_CLASSNAME as So, ERROR_MESSAGE as To, ROLE_INTERNAL as Tr, CLIPBOARD_PROMPT as Ta, isProbablyMobile as Je, INPUT_PLACEHOLDER_TEXT_MOBILE as xa, INPUT_PLACEHOLDER_TEXT_ENTER as Ca, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as Ia, FOOTER_DISCLAIMERS as Ra, INPUT_BOTTOM_OFFSET_EXTRA as xo, INPUT_BOTTOM_OFFSET_IPHONE as Co, INPUT_BOTTOM_OFFSET as Cs, TOAST_PROVIDER_CHANGED as Io, LOG_OUT as Aa, getMessageContaintWrapperClass as Ro, UI_FOOTER_BUFFER as Is, UI_BUTTON_SCROLL_BUFFER as Ao, Logo as No, UI_DEFAULT_MAIN_HEIGHT as Na, APP_CLASSNAME as Oo, getMainPaddingClass as Oa, r as $o, LOCAL_STORAGE_SORT as Po, LOCAL_STORAGE_SEARCH as Mo } from "./index.DDwdbGlq.js";
2
+ import { Subscribable as ho, pendingThenable as ka, resolveEnabled as Ee, shallowEqualObjects as Er, resolveStaleTime as gt, noop as _r, isServer as Sr, isValidTimeout as Ea, focusManager as mo, fetchState as fo, replaceData as _a, notifyManager as _s, timeUntilStale as po, shouldThrowError as go, useQueryClient as yo, I as re, ACTION_SORT as bo, ACTION_SEARCH as vo, ACTION_RESET_PROMPT as Ss, ACTION_TOGGLE_PROMPT as Ts, ue as xe, DEFAULT_ICON_ACTION_SIZE as Te, isTauri as Wt, n as Ve, isProbablyiPhone as Ae, L as xs, j as yt, C as Sa, LOCAL_STORAGE_PREFIX as jt, LOCAL_STORAGE_PRIVATE_DISCLOSURE as wo, LOCAL_STORAGE_REASONING_DISCLOSURE as ko, TOAST_CHAT_SAVED as Eo, PROMPT_CLASSNAME as _o, PROMPT_EDITABLE_AREA_CLASSNAME as So, ERROR_MESSAGE as To, ROLE_INTERNAL as Tr, CLIPBOARD_PROMPT as Ta, isProbablyMobile as Je, INPUT_PLACEHOLDER_TEXT_MOBILE as xa, INPUT_PLACEHOLDER_TEXT_ENTER as Ca, INPUT_PLACEHOLDER_TEXT_CMD_ENTER as Ia, FOOTER_DISCLAIMERS as Ra, INPUT_BOTTOM_OFFSET_EXTRA as xo, INPUT_BOTTOM_OFFSET_IPHONE as Co, INPUT_BOTTOM_OFFSET as Cs, TOAST_PROVIDER_CHANGED as Io, LOG_OUT as Aa, getMessageContaintWrapperClass as Ro, UI_FOOTER_BUFFER as Is, UI_BUTTON_SCROLL_BUFFER as Ao, Logo as No, UI_DEFAULT_MAIN_HEIGHT as Na, APP_CLASSNAME as Oo, getMainPaddingClass as Oa, r as $o, LOCAL_STORAGE_SORT as Po, LOCAL_STORAGE_SEARCH as Mo } from "./index.BcfpTkrB.js";
3
3
  import * as Y from "react";
4
4
  import Z, { useEffect as $, useRef as R, useState as z, useCallback as V, useSyncExternalStore as Lo, useMemo as he, useId as Kr, useContext as X, useLayoutEffect as Oe, createContext as Rs, useDebugValue as Bo, forwardRef as As, Suspense as Ns, lazy as it, useReducer as St } from "react";
5
5
  import p from "clsx";
@@ -1155,7 +1155,7 @@ const Ua = "av-button", Qr = "icon", Ks = "button", Cr = "link", Gi = ({
1155
1155
  "justify-start": s === "left",
1156
1156
  "justify-end": s === "right",
1157
1157
  "h-6 w-6 p-0": t === "small" && !n && !(r || a),
1158
- "h-6 px-2": t === "small" && !n && (r || a),
1158
+ "h-6 px-1 sm:px-2": t === "small" && !n && (r || a),
1159
1159
  "h-8 w-8 p-1": t === "medium" && !n && !(r || a),
1160
1160
  "h-8 px-3": t === "medium" && !n && (r || a),
1161
1161
  "h-12 w-12 p-2": t === "large" && !n && !(r || a),
@@ -1635,13 +1635,13 @@ const Tt = {
1635
1635
  );
1636
1636
  qs.displayName = "ButtonIcon";
1637
1637
  /*!
1638
- @versini/ui-button v7.0.0
1638
+ @versini/ui-button v7.1.1
1639
1639
  © 2025 gizmette.com
1640
1640
  */
1641
1641
  try {
1642
1642
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
1643
- version: "7.0.0",
1644
- buildTime: "08/07/2025 04:11 PM EDT",
1643
+ version: "7.1.1",
1644
+ buildTime: "08/10/2025 01:26 PM EDT",
1645
1645
  homepage: "https://github.com/aversini/ui-components",
1646
1646
  license: "MIT"
1647
1647
  });
@@ -1675,10 +1675,12 @@ const Ys = Z.forwardRef(
1675
1675
  return /* @__PURE__ */ i("div", { className: o, children: /* @__PURE__ */ i(
1676
1676
  qs,
1677
1677
  {
1678
- className: p("justify-center", r),
1678
+ className: r,
1679
1679
  ref: n,
1680
1680
  mode: t,
1681
1681
  radius: "small",
1682
+ size: "small",
1683
+ align: "center",
1682
1684
  ...s,
1683
1685
  children: e
1684
1686
  }
@@ -1942,7 +1944,7 @@ const lt = Z.createContext({
1942
1944
  )
1943
1945
  }), vc = ({
1944
1946
  buttonClassName: e
1945
- }) => p("rounded-none text-sm", e), Wm = ({
1947
+ }) => p("rounded-none text-sm", e), Fm = ({
1946
1948
  children: e,
1947
1949
  mode: t = "system",
1948
1950
  caption: r,
@@ -1981,7 +1983,7 @@ const lt = Z.createContext({
1981
1983
  )
1982
1984
  }
1983
1985
  );
1984
- }, jm = ({
1986
+ }, Wm = ({
1985
1987
  children: e,
1986
1988
  className: t,
1987
1989
  ...r
@@ -1994,7 +1996,7 @@ const lt = Z.createContext({
1994
1996
  stickyHeader: a.stickyHeader
1995
1997
  });
1996
1998
  return /* @__PURE__ */ i("thead", { className: s, ...r, children: e });
1997
- }, Gm = ({
1999
+ }, jm = ({
1998
2000
  children: e,
1999
2001
  className: t,
2000
2002
  ...r
@@ -2007,10 +2009,10 @@ const lt = Z.createContext({
2007
2009
  stickyFooter: a.stickyFooter
2008
2010
  });
2009
2011
  return /* @__PURE__ */ i("tfoot", { className: s, ...r, children: e });
2010
- }, Km = ({ children: e, ...t }) => {
2012
+ }, Gm = ({ children: e, ...t }) => {
2011
2013
  const r = X(lt);
2012
2014
  return r.cellWrapper = rt, /* @__PURE__ */ i("tbody", { ...t, children: e });
2013
- }, Jm = ({
2015
+ }, Km = ({
2014
2016
  children: e,
2015
2017
  className: t,
2016
2018
  ...r
@@ -2036,7 +2038,7 @@ const lt = Z.createContext({
2036
2038
  align: a
2037
2039
  });
2038
2040
  return a ? /* @__PURE__ */ i(o, { className: c, ...s, children: /* @__PURE__ */ i("div", { className: l, children: e }) }) : /* @__PURE__ */ i(o, { className: c, ...s, children: e });
2039
- }, qm = ({
2041
+ }, Jm = ({
2040
2042
  align: e,
2041
2043
  children: t,
2042
2044
  buttonClassName: r,
@@ -2078,13 +2080,13 @@ const lt = Z.createContext({
2078
2080
  );
2079
2081
  };
2080
2082
  /*!
2081
- @versini/ui-table v4.0.10
2083
+ @versini/ui-table v4.0.12
2082
2084
  © 2025 gizmette.com
2083
2085
  */
2084
2086
  try {
2085
2087
  window.__VERSINI_UI_TABLE__ || (window.__VERSINI_UI_TABLE__ = {
2086
- version: "4.0.10",
2087
- buildTime: "08/07/2025 04:12 PM EDT",
2088
+ version: "4.0.12",
2089
+ buildTime: "08/10/2025 01:26 PM EDT",
2088
2090
  homepage: "https://github.com/aversini/ui-components",
2089
2091
  license: "MIT"
2090
2092
  });
@@ -4761,13 +4763,13 @@ const ss = ({
4761
4763
  CHANGELOGS: "changelogs",
4762
4764
  PREFERENCES: "preferences",
4763
4765
  USAGE: "usage"
4764
- }, Ym = () => ct({
4766
+ }, qm = () => ct({
4765
4767
  queryKey: [dt.CAPABILITIES],
4766
4768
  queryFn: async () => await ut({
4767
4769
  type: ze.GET_SERVER_CAPABILITIES,
4768
4770
  noAuth: !0
4769
4771
  })
4770
- }), Qm = () => ct({
4772
+ }), Ym = () => ct({
4771
4773
  queryKey: [dt.CHANGELOGS],
4772
4774
  queryFn: async () => await ut({
4773
4775
  type: ze.GET_CHANGELOGS,
@@ -4788,7 +4790,7 @@ const ss = ({
4788
4790
  type: ze.GET_USER_PREFERENCES,
4789
4791
  getAccessToken: t
4790
4792
  })
4791
- }), Xm = ({
4793
+ }), Qm = ({
4792
4794
  user: e,
4793
4795
  getAccessToken: t
4794
4796
  }) => ct({
@@ -4824,7 +4826,7 @@ const ss = ({
4824
4826
  type: ze.GET_CHATS,
4825
4827
  getAccessToken: s
4826
4828
  })
4827
- }), Zm = ({
4829
+ }), Xm = ({
4828
4830
  user: e,
4829
4831
  month: t,
4830
4832
  year: r = (/* @__PURE__ */ new Date()).getFullYear().toString(),
@@ -4878,24 +4880,23 @@ const ss = ({
4878
4880
  } catch (s) {
4879
4881
  return Promise.reject(s);
4880
4882
  }
4881
- }, dd = "z-20", ud = "z-10", hd = "user", qt = "assistant", na = "OpenAI", In = "Anthropic", Rn = "Google", md = "Perplexity", fd = na, pd = "claude-sonnet-4", gd = "claude-3", yd = "gpt-4", bd = "gpt-5", vd = "o3", wd = "o4", kd = "gemini", Ed = "sonar", _d = {
4883
+ }, dd = "z-20", ud = "z-10", hd = "user", qt = "assistant", na = "OpenAI", In = "Anthropic", Rn = "Google", md = "Perplexity", fd = na, pd = "claude-sonnet-4", gd = "claude-3", yd = "gpt-4", bd = "o3", vd = "o4", wd = "gemini", kd = "sonar", Ed = {
4882
4884
  [In]: [
4883
4885
  pd,
4884
4886
  gd
4885
4887
  ],
4886
4888
  [na]: [
4887
- bd,
4888
4889
  yd,
4889
- vd,
4890
- wd
4890
+ bd,
4891
+ vd
4891
4892
  ],
4892
- [Rn]: [kd],
4893
- [md]: [Ed]
4893
+ [Rn]: [wd],
4894
+ [md]: [kd]
4894
4895
  }, An = {
4895
4896
  REASONING: "sassy:advanced:reasoning"
4896
- }, Sd = "x-callisto-chat-id", ef = (e) => {
4897
+ }, _d = "x-callisto-chat-id", Zm = (e) => {
4897
4898
  for (const [t, r] of Object.entries(
4898
- _d
4899
+ Ed
4899
4900
  ))
4900
4901
  if (r.some((a) => e.startsWith(a)))
4901
4902
  return t;
@@ -4937,7 +4938,7 @@ const ss = ({
4937
4938
  dispatch: () => {
4938
4939
  }
4939
4940
  });
4940
- var Td = Object.defineProperty, xd = (e, t, r) => t in e ? Td(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ae = (e, t, r) => xd(e, typeof t != "symbol" ? t + "" : t, r);
4941
+ var Sd = Object.defineProperty, Td = (e, t, r) => t in e ? Sd(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ae = (e, t, r) => Td(e, typeof t != "symbol" ? t + "" : t, r);
4941
4942
  /*!
4942
4943
  @versini/auth-common v4.5.0
4943
4944
  © 2025 gizmette.com
@@ -4951,14 +4952,14 @@ try {
4951
4952
  });
4952
4953
  } catch {
4953
4954
  }
4954
- const tf = {
4955
+ const ef = {
4955
4956
  PASSKEY: "passkey"
4956
4957
  }, st = {
4957
4958
  ALG: "RS256",
4958
4959
  SCOPES_KEY: "scopes",
4959
4960
  SCOPE_KEY: "scope",
4960
4961
  ISSUER: "gizmette.com"
4961
- }, Cd = `-----BEGIN PUBLIC KEY-----
4962
+ }, xd = `-----BEGIN PUBLIC KEY-----
4962
4963
  MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsF6i3Jd9fY/3COqCw/m7
4963
4964
  w5PKyTYLGAI2I6SIIdpe6i6DOCbEkmDz7LdVsBqwNtVi8gvWYIj+8ol6rU3qu1v5
4964
4965
  i1Jd45GSK4kzkVdgCmQZbM5ak0KI99q5wsrAIzUd+LRJ2HRvWtr5IYdsIiXaQjle
@@ -4967,14 +4968,14 @@ l0haqjMk0UoNPPE8iYBWUHQJJE1Dqstj65d6Eh5g64Pao25y4cmYJbKjiblIGEkE
4967
4968
  sjqybA9mARAqh9k/eiIopecWSiffNQTwVQVd2I9ZH3BalhEXHlqFgrjz51kFqg81
4968
4969
  awIDAQAB
4969
4970
  -----END PUBLIC KEY-----`, Nt = new TextEncoder(), vt = new TextDecoder();
4970
- function Id(...e) {
4971
+ function Cd(...e) {
4971
4972
  const t = e.reduce((s, { length: n }) => s + n, 0), r = new Uint8Array(t);
4972
4973
  let a = 0;
4973
4974
  for (const s of e)
4974
4975
  r.set(s, a), a += s.length;
4975
4976
  return r;
4976
4977
  }
4977
- function Rd(e) {
4978
+ function Id(e) {
4978
4979
  if (Uint8Array.fromBase64)
4979
4980
  return Uint8Array.fromBase64(e);
4980
4981
  const t = atob(e), r = new Uint8Array(t.length);
@@ -4990,7 +4991,7 @@ function Ht(e) {
4990
4991
  let t = e;
4991
4992
  t instanceof Uint8Array && (t = vt.decode(t)), t = t.replace(/-/g, "+").replace(/_/g, "/").replace(/\s/g, "");
4992
4993
  try {
4993
- return Rd(t);
4994
+ return Id(t);
4994
4995
  } catch {
4995
4996
  throw new TypeError("The input to be decoded is not correctly encoded.");
4996
4997
  }
@@ -5053,7 +5054,7 @@ function ht(e, t) {
5053
5054
  function pr(e) {
5054
5055
  return parseInt(e.name.slice(4), 10);
5055
5056
  }
5056
- function Ad(e) {
5057
+ function Rd(e) {
5057
5058
  switch (e) {
5058
5059
  case "ES256":
5059
5060
  return "P-256";
@@ -5065,11 +5066,11 @@ function Ad(e) {
5065
5066
  throw new Error("unreachable");
5066
5067
  }
5067
5068
  }
5068
- function Nd(e, t) {
5069
+ function Ad(e, t) {
5069
5070
  if (!e.usages.includes(t))
5070
5071
  throw new TypeError(`CryptoKey does not support this operation, its usages must include ${t}.`);
5071
5072
  }
5072
- function Od(e, t, r) {
5073
+ function Nd(e, t, r) {
5073
5074
  switch (t) {
5074
5075
  case "HS256":
5075
5076
  case "HS384":
@@ -5112,7 +5113,7 @@ function Od(e, t, r) {
5112
5113
  case "ES512": {
5113
5114
  if (!ht(e.algorithm, "ECDSA"))
5114
5115
  throw Ie("ECDSA");
5115
- const a = Ad(t);
5116
+ const a = Rd(t);
5116
5117
  if (e.algorithm.namedCurve !== a)
5117
5118
  throw Ie(a, "algorithm.namedCurve");
5118
5119
  break;
@@ -5120,7 +5121,7 @@ function Od(e, t, r) {
5120
5121
  default:
5121
5122
  throw new TypeError("CryptoKey does not support this operation");
5122
5123
  }
5123
- Nd(e, r);
5124
+ Ad(e, r);
5124
5125
  }
5125
5126
  function $n(e, t, ...r) {
5126
5127
  var a;
@@ -5130,7 +5131,7 @@ function $n(e, t, ...r) {
5130
5131
  } else r.length === 2 ? e += `one of type ${r[0]} or ${r[1]}.` : e += `of type ${r[0]}.`;
5131
5132
  return t == null ? e += ` Received ${t}` : typeof t == "function" && t.name ? e += ` Received function ${t.name}` : typeof t == "object" && t != null && (a = t.constructor) != null && a.name && (e += ` Received an instance of ${t.constructor.name}`), e;
5132
5133
  }
5133
- const $d = (e, ...t) => $n("Key must be ", e, ...t);
5134
+ const Od = (e, ...t) => $n("Key must be ", e, ...t);
5134
5135
  function Pn(e, t, ...r) {
5135
5136
  return $n(`Key for the ${e} algorithm must be `, t, ...r);
5136
5137
  }
@@ -5140,7 +5141,7 @@ function Mn(e) {
5140
5141
  function Ln(e) {
5141
5142
  return e?.[Symbol.toStringTag] === "KeyObject";
5142
5143
  }
5143
- const Bn = (e) => Mn(e) || Ln(e), Pd = (...e) => {
5144
+ const Bn = (e) => Mn(e) || Ln(e), $d = (...e) => {
5144
5145
  const t = e.filter(Boolean);
5145
5146
  if (t.length === 0 || t.length === 1)
5146
5147
  return !0;
@@ -5159,11 +5160,11 @@ const Bn = (e) => Mn(e) || Ln(e), Pd = (...e) => {
5159
5160
  }
5160
5161
  return !0;
5161
5162
  };
5162
- function Md(e) {
5163
+ function Pd(e) {
5163
5164
  return typeof e == "object" && e !== null;
5164
5165
  }
5165
5166
  const Yt = (e) => {
5166
- if (!Md(e) || Object.prototype.toString.call(e) !== "[object Object]")
5167
+ if (!Pd(e) || Object.prototype.toString.call(e) !== "[object Object]")
5167
5168
  return !1;
5168
5169
  if (Object.getPrototypeOf(e) === null)
5169
5170
  return !0;
@@ -5171,7 +5172,7 @@ const Yt = (e) => {
5171
5172
  for (; Object.getPrototypeOf(t) !== null; )
5172
5173
  t = Object.getPrototypeOf(t);
5173
5174
  return Object.getPrototypeOf(e) === t;
5174
- }, Ld = (e, t) => {
5175
+ }, Md = (e, t) => {
5175
5176
  if (e.startsWith("RS") || e.startsWith("PS")) {
5176
5177
  const { modulusLength: r } = t.algorithm;
5177
5178
  if (typeof r != "number" || r < 2048)
@@ -5184,7 +5185,7 @@ const Yt = (e) => {
5184
5185
  return !1;
5185
5186
  const s = e.subarray(a, a + t.length);
5186
5187
  return s.length !== t.length ? !1 : s.every((n, o) => n === t[o]) || Vt(e, t, a + 1);
5187
- }, Bd = (e) => {
5188
+ }, Ld = (e) => {
5188
5189
  switch (!0) {
5189
5190
  case Vt(e, [42, 134, 72, 206, 61, 3, 1, 7]):
5190
5191
  return "P-256";
@@ -5195,7 +5196,7 @@ const Yt = (e) => {
5195
5196
  default:
5196
5197
  return;
5197
5198
  }
5198
- }, Dd = async (e, t, r, a, s) => {
5199
+ }, Bd = async (e, t, r, a, s) => {
5199
5200
  let n, o;
5200
5201
  const c = new Uint8Array(atob(r.replace(e, "")).split("").map((l) => l.charCodeAt(0)));
5201
5202
  switch (a) {
@@ -5231,7 +5232,7 @@ const Yt = (e) => {
5231
5232
  case "ECDH-ES+A128KW":
5232
5233
  case "ECDH-ES+A192KW":
5233
5234
  case "ECDH-ES+A256KW": {
5234
- const l = Bd(c);
5235
+ const l = Ld(c);
5235
5236
  n = l != null && l.startsWith("P-") ? { name: "ECDH", namedCurve: l } : { name: "X25519" }, o = [];
5236
5237
  break;
5237
5238
  }
@@ -5243,8 +5244,8 @@ const Yt = (e) => {
5243
5244
  throw new Be('Invalid or unsupported "alg" (Algorithm) value');
5244
5245
  }
5245
5246
  return crypto.subtle.importKey(t, c, n, !0, o);
5246
- }, Ud = (e, t, r) => Dd(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
5247
- function Hd(e) {
5247
+ }, Dd = (e, t, r) => Bd(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g, "spki", e, t);
5248
+ function Ud(e) {
5248
5249
  let t, r;
5249
5250
  switch (e.kty) {
5250
5251
  case "RSA": {
@@ -5317,18 +5318,18 @@ function Hd(e) {
5317
5318
  }
5318
5319
  return { algorithm: t, keyUsages: r };
5319
5320
  }
5320
- const Vd = async (e) => {
5321
+ const Hd = async (e) => {
5321
5322
  if (!e.alg)
5322
5323
  throw new TypeError('"alg" argument is required when "jwk.alg" is not present');
5323
- const { algorithm: t, keyUsages: r } = Hd(e), a = { ...e };
5324
+ const { algorithm: t, keyUsages: r } = Ud(e), a = { ...e };
5324
5325
  return delete a.alg, delete a.use, crypto.subtle.importKey("jwk", a, t, e.ext ?? !e.d, e.key_ops ?? r);
5325
5326
  };
5326
- async function zd(e, t, r) {
5327
+ async function Vd(e, t, r) {
5327
5328
  if (e.indexOf("-----BEGIN PUBLIC KEY-----") !== 0)
5328
5329
  throw new TypeError('"spki" must be SPKI formatted string');
5329
- return Ud(e, t);
5330
+ return Dd(e, t);
5330
5331
  }
5331
- const Fd = (e, t, r, a, s) => {
5332
+ const zd = (e, t, r, a, s) => {
5332
5333
  if (s.crit !== void 0 && a?.crit === void 0)
5333
5334
  throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');
5334
5335
  if (!a || a.crit === void 0)
@@ -5346,7 +5347,7 @@ const Fd = (e, t, r, a, s) => {
5346
5347
  throw new e(`Extension Header Parameter "${o}" MUST be integrity protected`);
5347
5348
  }
5348
5349
  return new Set(a.crit);
5349
- }, Wd = (e, t) => {
5350
+ }, Fd = (e, t) => {
5350
5351
  if (t !== void 0 && (!Array.isArray(t) || t.some((r) => typeof r != "string")))
5351
5352
  throw new TypeError(`"${e}" option must be an array of strings`);
5352
5353
  if (t)
@@ -5355,13 +5356,13 @@ const Fd = (e, t, r, a, s) => {
5355
5356
  function da(e) {
5356
5357
  return Yt(e) && typeof e.kty == "string";
5357
5358
  }
5358
- function jd(e) {
5359
+ function Wd(e) {
5359
5360
  return e.kty !== "oct" && typeof e.d == "string";
5360
5361
  }
5361
- function Gd(e) {
5362
+ function jd(e) {
5362
5363
  return e.kty !== "oct" && typeof e.d > "u";
5363
5364
  }
5364
- function Kd(e) {
5365
+ function Gd(e) {
5365
5366
  return e.kty === "oct" && typeof e.k == "string";
5366
5367
  }
5367
5368
  let De;
@@ -5370,9 +5371,9 @@ const ns = async (e, t, r, a = !1) => {
5370
5371
  let s = De.get(e);
5371
5372
  if (s != null && s[r])
5372
5373
  return s[r];
5373
- const n = await Vd({ ...t, alg: r });
5374
+ const n = await Hd({ ...t, alg: r });
5374
5375
  return a && Object.freeze(e), s ? s[r] = n : De.set(e, { [r]: n }), n;
5375
- }, Jd = (e, t) => {
5376
+ }, Kd = (e, t) => {
5376
5377
  var r;
5377
5378
  De || (De = /* @__PURE__ */ new WeakMap());
5378
5379
  let a = De.get(e);
@@ -5458,7 +5459,7 @@ const ns = async (e, t, r, a = !1) => {
5458
5459
  if (!o)
5459
5460
  throw new TypeError("given KeyObject instance cannot be used for this algorithm");
5460
5461
  return a ? a[t] = o : De.set(e, { [t]: o }), o;
5461
- }, qd = async (e, t) => {
5462
+ }, Jd = async (e, t) => {
5462
5463
  if (e instanceof Uint8Array || Mn(e))
5463
5464
  return e;
5464
5465
  if (Ln(e)) {
@@ -5466,7 +5467,7 @@ const ns = async (e, t, r, a = !1) => {
5466
5467
  return e.export();
5467
5468
  if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
5468
5469
  try {
5469
- return Jd(e, t);
5470
+ return Kd(e, t);
5470
5471
  } catch (a) {
5471
5472
  if (a instanceof TypeError)
5472
5473
  throw a;
@@ -5521,10 +5522,10 @@ const ns = async (e, t, r, a = !1) => {
5521
5522
  throw new TypeError(`Invalid key for this operation, its "key_ops" must include "${n}" when present`);
5522
5523
  }
5523
5524
  return !0;
5524
- }, Yd = (e, t, r) => {
5525
+ }, qd = (e, t, r) => {
5525
5526
  if (!(t instanceof Uint8Array)) {
5526
5527
  if (da(t)) {
5527
- if (Kd(t) && Vr(e, t, r))
5528
+ if (Gd(t) && Vr(e, t, r))
5528
5529
  return;
5529
5530
  throw new TypeError('JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present');
5530
5531
  }
@@ -5533,17 +5534,17 @@ const ns = async (e, t, r, a = !1) => {
5533
5534
  if (t.type !== "secret")
5534
5535
  throw new TypeError(`${tt(t)} instances for symmetric algorithms must be of type "secret"`);
5535
5536
  }
5536
- }, Qd = (e, t, r) => {
5537
+ }, Yd = (e, t, r) => {
5537
5538
  if (da(t))
5538
5539
  switch (r) {
5539
5540
  case "decrypt":
5540
5541
  case "sign":
5541
- if (jd(t) && Vr(e, t, r))
5542
+ if (Wd(t) && Vr(e, t, r))
5542
5543
  return;
5543
5544
  throw new TypeError("JSON Web Key for this operation be a private JWK");
5544
5545
  case "encrypt":
5545
5546
  case "verify":
5546
- if (Gd(t) && Vr(e, t, r))
5547
+ if (jd(t) && Vr(e, t, r))
5547
5548
  return;
5548
5549
  throw new TypeError("JSON Web Key for this operation be a public JWK");
5549
5550
  }
@@ -5565,9 +5566,9 @@ const ns = async (e, t, r, a = !1) => {
5565
5566
  case "encrypt":
5566
5567
  throw new TypeError(`${tt(t)} instances for asymmetric algorithm encryption must be of type "public"`);
5567
5568
  }
5568
- }, Xd = (e, t, r) => {
5569
- e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? Yd(e, t, r) : Qd(e, t, r);
5570
- }, Zd = (e, t) => {
5569
+ }, Qd = (e, t, r) => {
5570
+ e.startsWith("HS") || e === "dir" || e.startsWith("PBES2") || /^A(?:128|192|256)(?:GCM)?(?:KW)?$/.test(e) || /^A(?:128|192|256)CBC-HS(?:256|384|512)$/.test(e) ? qd(e, t, r) : Yd(e, t, r);
5571
+ }, Xd = (e, t) => {
5571
5572
  const r = `SHA-${e.slice(-3)}`;
5572
5573
  switch (e) {
5573
5574
  case "HS256":
@@ -5592,24 +5593,24 @@ const ns = async (e, t, r, a = !1) => {
5592
5593
  default:
5593
5594
  throw new Be(`alg ${e} is not supported either by JOSE or your javascript runtime`);
5594
5595
  }
5595
- }, eu = async (e, t, r) => {
5596
+ }, Zd = async (e, t, r) => {
5596
5597
  if (t instanceof Uint8Array) {
5597
5598
  if (!e.startsWith("HS"))
5598
- throw new TypeError($d(t, "CryptoKey", "KeyObject", "JSON Web Key"));
5599
+ throw new TypeError(Od(t, "CryptoKey", "KeyObject", "JSON Web Key"));
5599
5600
  return crypto.subtle.importKey("raw", t, { hash: `SHA-${e.slice(-3)}`, name: "HMAC" }, !1, [r]);
5600
5601
  }
5601
- return Od(t, e, r), t;
5602
- }, tu = async (e, t, r, a) => {
5603
- const s = await eu(e, t, "verify");
5604
- Ld(e, s);
5605
- const n = Zd(e, s.algorithm);
5602
+ return Nd(t, e, r), t;
5603
+ }, eu = async (e, t, r, a) => {
5604
+ const s = await Zd(e, t, "verify");
5605
+ Md(e, s);
5606
+ const n = Xd(e, s.algorithm);
5606
5607
  try {
5607
5608
  return await crypto.subtle.verify(n, s, r, a);
5608
5609
  } catch {
5609
5610
  return !1;
5610
5611
  }
5611
5612
  };
5612
- async function ru(e, t, r) {
5613
+ async function tu(e, t, r) {
5613
5614
  if (!Yt(e))
5614
5615
  throw new oe("Flattened JWS must be an object");
5615
5616
  if (e.protected === void 0 && e.header === void 0)
@@ -5630,19 +5631,19 @@ async function ru(e, t, r) {
5630
5631
  } catch {
5631
5632
  throw new oe("JWS Protected Header is invalid");
5632
5633
  }
5633
- if (!Pd(a, e.header))
5634
+ if (!$d(a, e.header))
5634
5635
  throw new oe("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");
5635
5636
  const s = {
5636
5637
  ...a,
5637
5638
  ...e.header
5638
- }, n = Fd(oe, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, a, s);
5639
+ }, n = zd(oe, /* @__PURE__ */ new Map([["b64", !0]]), r?.crit, a, s);
5639
5640
  let o = !0;
5640
5641
  if (n.has("b64") && (o = a.b64, typeof o != "boolean"))
5641
5642
  throw new oe('The "b64" (base64url-encode payload) Header Parameter must be a boolean');
5642
5643
  const { alg: c } = s;
5643
5644
  if (typeof c != "string" || !c)
5644
5645
  throw new oe('JWS "alg" (Algorithm) Header Parameter missing or invalid');
5645
- const l = r && Wd("algorithms", r.algorithms);
5646
+ const l = r && Fd("algorithms", r.algorithms);
5646
5647
  if (l && !l.has(c))
5647
5648
  throw new Nn('"alg" (Algorithm) Header Parameter value not allowed');
5648
5649
  if (o) {
@@ -5651,16 +5652,16 @@ async function ru(e, t, r) {
5651
5652
  } else if (typeof e.payload != "string" && !(e.payload instanceof Uint8Array))
5652
5653
  throw new oe("JWS Payload must be a string or an Uint8Array instance");
5653
5654
  let d = !1;
5654
- typeof t == "function" && (t = await t(a, e), d = !0), Xd(c, t, "verify");
5655
- const m = Id(Nt.encode(e.protected ?? ""), Nt.encode("."), typeof e.payload == "string" ? Nt.encode(e.payload) : e.payload);
5655
+ typeof t == "function" && (t = await t(a, e), d = !0), Qd(c, t, "verify");
5656
+ const m = Cd(Nt.encode(e.protected ?? ""), Nt.encode("."), typeof e.payload == "string" ? Nt.encode(e.payload) : e.payload);
5656
5657
  let u;
5657
5658
  try {
5658
5659
  u = Ht(e.signature);
5659
5660
  } catch {
5660
5661
  throw new oe("Failed to base64url decode the signature");
5661
5662
  }
5662
- const h = await qd(t, c);
5663
- if (!await tu(c, h, u, m))
5663
+ const h = await Jd(t, c);
5664
+ if (!await eu(c, h, u, m))
5664
5665
  throw new On();
5665
5666
  let f;
5666
5667
  if (o)
@@ -5673,17 +5674,17 @@ async function ru(e, t, r) {
5673
5674
  const g = { payload: f };
5674
5675
  return e.protected !== void 0 && (g.protectedHeader = a), e.header !== void 0 && (g.unprotectedHeader = e.header), d ? { ...g, key: h } : g;
5675
5676
  }
5676
- async function au(e, t, r) {
5677
+ async function ru(e, t, r) {
5677
5678
  if (e instanceof Uint8Array && (e = vt.decode(e)), typeof e != "string")
5678
5679
  throw new oe("Compact JWS must be a string or Uint8Array");
5679
5680
  const { 0: a, 1: s, 2: n, length: o } = e.split(".");
5680
5681
  if (o !== 3)
5681
5682
  throw new oe("Invalid Compact JWS");
5682
- const c = await ru({ payload: s, protected: a, signature: n }, t, r), l = { payload: c.payload, protectedHeader: c.protectedHeader };
5683
+ const c = await tu({ payload: s, protected: a, signature: n }, t, r), l = { payload: c.payload, protectedHeader: c.protectedHeader };
5683
5684
  return typeof t == "function" ? { ...l, key: c.key } : l;
5684
5685
  }
5685
- const su = (e) => Math.floor(e.getTime() / 1e3), Dn = 60, Un = Dn * 60, ua = Un * 24, nu = ua * 7, ou = ua * 365.25, iu = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, os = (e) => {
5686
- const t = iu.exec(e);
5686
+ const au = (e) => Math.floor(e.getTime() / 1e3), Dn = 60, Un = Dn * 60, ua = Un * 24, su = ua * 7, nu = ua * 365.25, ou = /^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i, os = (e) => {
5687
+ const t = ou.exec(e);
5687
5688
  if (!t || t[4] && t[1])
5688
5689
  throw new TypeError("Invalid time period format");
5689
5690
  const r = parseFloat(t[2]), a = t[3].toLowerCase();
@@ -5718,15 +5719,15 @@ const su = (e) => Math.floor(e.getTime() / 1e3), Dn = 60, Un = Dn * 60, ua = Un
5718
5719
  case "week":
5719
5720
  case "weeks":
5720
5721
  case "w":
5721
- s = Math.round(r * nu);
5722
+ s = Math.round(r * su);
5722
5723
  break;
5723
5724
  default:
5724
- s = Math.round(r * ou);
5725
+ s = Math.round(r * nu);
5725
5726
  break;
5726
5727
  }
5727
5728
  return t[1] === "-" || t[4] === "ago" ? -s : s;
5728
- }, is = (e) => e.toLowerCase().replace(/^application\//, ""), cu = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
5729
- function lu(e, t, r = {}) {
5729
+ }, is = (e) => e.toLowerCase().replace(/^application\//, ""), iu = (e, t) => typeof e == "string" ? t.includes(e) : Array.isArray(e) ? t.some(Set.prototype.has.bind(new Set(e))) : !1;
5730
+ function cu(e, t, r = {}) {
5730
5731
  let a;
5731
5732
  try {
5732
5733
  a = JSON.parse(vt.decode(t));
@@ -5746,7 +5747,7 @@ function lu(e, t, r = {}) {
5746
5747
  throw new ke('unexpected "iss" claim value', a, "iss", "check_failed");
5747
5748
  if (c && a.sub !== c)
5748
5749
  throw new ke('unexpected "sub" claim value', a, "sub", "check_failed");
5749
- if (l && !cu(a.aud, typeof l == "string" ? [l] : l))
5750
+ if (l && !iu(a.aud, typeof l == "string" ? [l] : l))
5750
5751
  throw new ke('unexpected "aud" claim value', a, "aud", "check_failed");
5751
5752
  let u;
5752
5753
  switch (typeof r.clockTolerance) {
@@ -5762,7 +5763,7 @@ function lu(e, t, r = {}) {
5762
5763
  default:
5763
5764
  throw new TypeError("Invalid clockTolerance option type");
5764
5765
  }
5765
- const { currentDate: h } = r, f = su(h || /* @__PURE__ */ new Date());
5766
+ const { currentDate: h } = r, f = au(h || /* @__PURE__ */ new Date());
5766
5767
  if ((a.iat !== void 0 || d) && typeof a.iat != "number")
5767
5768
  throw new ke('"iat" claim must be a number', a, "iat", "invalid");
5768
5769
  if (a.nbf !== void 0) {
@@ -5786,29 +5787,29 @@ function lu(e, t, r = {}) {
5786
5787
  }
5787
5788
  return a;
5788
5789
  }
5789
- async function du(e, t, r) {
5790
+ async function lu(e, t, r) {
5790
5791
  var a;
5791
- const s = await au(e, t, r);
5792
+ const s = await ru(e, t, r);
5792
5793
  if ((a = s.protectedHeader.crit) != null && a.includes("b64") && s.protectedHeader.b64 === !1)
5793
5794
  throw new la("JWTs MUST NOT use unencoded payload");
5794
- const n = { payload: lu(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
5795
+ const n = { payload: cu(s.protectedHeader, s.payload, r), protectedHeader: s.protectedHeader };
5795
5796
  return typeof t == "function" ? { ...n, key: s.key } : n;
5796
5797
  }
5797
- const uu = async (e) => {
5798
+ const du = async (e) => {
5798
5799
  try {
5799
- const t = st.ALG, r = await zd(Cd, t);
5800
- return await du(e, r, {
5800
+ const t = st.ALG, r = await Vd(xd, t);
5801
+ return await lu(e, r, {
5801
5802
  issuer: st.ISSUER
5802
5803
  });
5803
5804
  } catch {
5804
5805
  return;
5805
5806
  }
5806
- }, hu = [];
5807
+ }, uu = [];
5807
5808
  for (let e = 0; e < 256; ++e)
5808
- hu.push((e + 256).toString(16).slice(1));
5809
+ uu.push((e + 256).toString(16).slice(1));
5809
5810
  typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
5810
5811
  const Hn = async (e, t) => {
5811
- const r = await uu(e);
5812
+ const r = await du(e);
5812
5813
  if (!r || !r.payload)
5813
5814
  return !1;
5814
5815
  let a = [];
@@ -5821,8 +5822,8 @@ const Hn = async (e, t) => {
5821
5822
  return Array.isArray(t) ? t.every((s) => a.includes(s)) : Object.keys(t).some(
5822
5823
  (s) => t[s].every((n) => a.includes(n))
5823
5824
  );
5824
- }, mu = "av-tooltip", fu = "av-tooltip-arrow", cs = ["mousedown", "touchstart"];
5825
- function pu(e, t, r) {
5825
+ }, hu = "av-tooltip", mu = "av-tooltip-arrow", cs = ["mousedown", "touchstart"];
5826
+ function fu(e, t, r) {
5826
5827
  const a = R(null);
5827
5828
  return $(() => {
5828
5829
  const s = (n) => {
@@ -5843,7 +5844,7 @@ function pu(e, t, r) {
5843
5844
  };
5844
5845
  }, [e, r, t]), a;
5845
5846
  }
5846
- function gu(e, t) {
5847
+ function pu(e, t) {
5847
5848
  const [r, a] = z(!1), s = R(null), n = R(null), o = V(() => {
5848
5849
  a((l) => (!l && (!s.current || s.current === -1) && (s.current = window.setInterval(n.current, t)), !0));
5849
5850
  }, [t]), c = V(() => {
@@ -5851,42 +5852,42 @@ function gu(e, t) {
5851
5852
  }, []);
5852
5853
  return $(() => (n.current = e, r && o(), c), [e, r, o, c]), { start: o, stop: c, active: r };
5853
5854
  }
5854
- const Ot = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, yu = () => p("absolute top-0 left-0 w-max py-1 px-2 rounded-sm text-sm z-50"), ls = ({
5855
+ const Ot = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, gu = () => p("absolute top-0 left-0 w-max py-1 px-2 rounded-sm text-sm z-50"), ls = ({
5855
5856
  mode: e
5856
5857
  }) => p({
5857
5858
  "bg-surface-darker": e === "dark" || e === "system",
5858
5859
  "bg-surface-light": e === "light" || e === "alt-system",
5859
5860
  "dark:bg-surface-light": e === "system",
5860
5861
  "dark:bg-surface-darker": e === "alt-system"
5861
- }), bu = ({
5862
+ }), yu = ({
5862
5863
  mode: e
5863
5864
  }) => p({
5864
5865
  "text-copy-light": e === "dark" || e === "system",
5865
5866
  "text-copy-dark": e === "light" || e === "alt-system",
5866
5867
  "dark:text-copy-dark": e === "system",
5867
5868
  "dark:text-copy-light": e === "alt-system"
5868
- }), vu = () => p("absolute", "size-2", "transform rotate-45"), wu = ({
5869
+ }), bu = () => p("absolute", "size-2", "transform rotate-45"), vu = ({
5869
5870
  mode: e,
5870
5871
  className: t,
5871
5872
  tooltipClassName: r,
5872
5873
  arrowClassName: a
5873
5874
  }) => {
5874
5875
  const s = p("relative inline-block", t), n = p(
5875
- mu,
5876
- yu(),
5876
+ hu,
5877
+ gu(),
5877
5878
  ls({ mode: e }),
5878
- bu({ mode: e }),
5879
+ yu({ mode: e }),
5879
5880
  r
5880
5881
  ), o = p(
5881
- fu,
5882
- vu(),
5882
+ mu,
5883
+ bu(),
5883
5884
  ls({ mode: e }),
5884
5885
  a
5885
5886
  );
5886
5887
  return { tooltip: n, arrow: o, wrapper: s };
5887
- }, ku = ({ delay: e = 300 }) => ({
5888
+ }, wu = ({ delay: e = 300 }) => ({
5888
5889
  animation: `av-tooltip-fade-in ${e}ms ease-in-out`
5889
- }), Eu = 5e3, $e = ({
5890
+ }), ku = 5e3, $e = ({
5890
5891
  trigger: e,
5891
5892
  label: t,
5892
5893
  placement: r = "top",
@@ -5896,16 +5897,16 @@ const Ot = (e, t = "px") => typeof e > "u" ? "" : `${Math.round(e)}${t}`, yu = (
5896
5897
  tooltipClassName: o,
5897
5898
  arrowClassName: c
5898
5899
  }) => {
5899
- const l = pu(() => {
5900
+ const l = fu(() => {
5900
5901
  y.stop(), g(!1);
5901
- }), d = R(null), m = R(null), [u, h] = z(!1), [f, g] = z(!1), y = gu(() => {
5902
+ }), d = R(null), m = R(null), [u, h] = z(!1), [f, g] = z(!1), y = pu(() => {
5902
5903
  g(!1);
5903
- }, Eu), k = wu({
5904
+ }, ku), k = vu({
5904
5905
  mode: a,
5905
5906
  className: n,
5906
5907
  tooltipClassName: o,
5907
5908
  arrowClassName: c
5908
- }), b = ku({ delay: s }), x = V(async () => {
5909
+ }), b = wu({ delay: s }), x = V(async () => {
5909
5910
  if (l.current && d.current && m.current) {
5910
5911
  const {
5911
5912
  x: v,
@@ -5993,7 +5994,7 @@ try {
5993
5994
  });
5994
5995
  } catch {
5995
5996
  }
5996
- const _u = ({
5997
+ const Eu = ({
5997
5998
  className: e,
5998
5999
  onClick: t
5999
6000
  }) => /* @__PURE__ */ i(
@@ -6025,7 +6026,7 @@ function Vn(e, t) {
6025
6026
  };
6026
6027
  }, [e, t]);
6027
6028
  }
6028
- const Su = ({
6029
+ const _u = ({
6029
6030
  className: e
6030
6031
  }) => {
6031
6032
  const { getAccessToken: t } = Ve(), {
@@ -6118,7 +6119,7 @@ const Su = ({
6118
6119
  )
6119
6120
  }
6120
6121
  );
6121
- }, ds = "av-messagebox", $t = "av-panel", us = "av-button", ha = "icon", zn = "button", zr = "link", Tu = ({
6122
+ }, ds = "av-messagebox", $t = "av-panel", us = "av-button", ha = "icon", zn = "button", zr = "link", Su = ({
6122
6123
  type: e,
6123
6124
  size: t,
6124
6125
  labelRight: r,
@@ -6141,7 +6142,7 @@ const Su = ({
6141
6142
  "justify-start": s === "left",
6142
6143
  "justify-end": s === "right",
6143
6144
  "h-6 w-6 p-0": t === "small" && !n && !(r || a),
6144
- "h-6 px-2": t === "small" && !n && (r || a),
6145
+ "h-6 px-1 sm:px-2": t === "small" && !n && (r || a),
6145
6146
  "h-8 w-8 p-1": t === "medium" && !n && !(r || a),
6146
6147
  "h-8 px-3": t === "medium" && !n && (r || a),
6147
6148
  "h-12 w-12 p-2": t === "large" && !n && !(r || a),
@@ -6154,7 +6155,7 @@ const Su = ({
6154
6155
  "h-12": t === "large" && n && (r || a)
6155
6156
  });
6156
6157
  }
6157
- }, xu = ({
6158
+ }, Tu = ({
6158
6159
  type: e,
6159
6160
  size: t,
6160
6161
  labelRight: r,
@@ -6177,7 +6178,7 @@ const Su = ({
6177
6178
  [o]: t === "large" && (r || a)
6178
6179
  });
6179
6180
  }
6180
- }, Cu = ({
6181
+ }, xu = ({
6181
6182
  mode: e,
6182
6183
  noBackground: t,
6183
6184
  truncate: r,
@@ -6213,7 +6214,7 @@ const Su = ({
6213
6214
  return p("not-prose text-copy-lighter", {
6214
6215
  truncate: r
6215
6216
  });
6216
- }, Iu = ({
6217
+ }, Cu = ({
6217
6218
  mode: e,
6218
6219
  noBackground: t,
6219
6220
  variant: r
@@ -6243,13 +6244,13 @@ const Su = ({
6243
6244
  if (r === "selected")
6244
6245
  return "bg-action-selected-dark";
6245
6246
  }
6246
- }, Ru = ({
6247
+ }, Iu = ({
6247
6248
  radius: e
6248
6249
  }) => p({
6249
6250
  "rounded-full": e === "large",
6250
6251
  "rounded-md": e === "medium",
6251
6252
  "rounded-xs": e === "small"
6252
- }), Au = ({
6253
+ }), Ru = ({
6253
6254
  mode: e,
6254
6255
  disabled: t,
6255
6256
  variant: r
@@ -6287,7 +6288,7 @@ const Su = ({
6287
6288
  });
6288
6289
  if (r === "selected")
6289
6290
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
6290
- }, Nu = ({
6291
+ }, Au = ({
6291
6292
  mode: e,
6292
6293
  disabled: t,
6293
6294
  variant: r
@@ -6325,7 +6326,7 @@ const Su = ({
6325
6326
  });
6326
6327
  if (r === "selected")
6327
6328
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
6328
- }, Ou = ({
6329
+ }, Nu = ({
6329
6330
  mode: e,
6330
6331
  noBorder: t,
6331
6332
  variant: r
@@ -6355,14 +6356,14 @@ const Su = ({
6355
6356
  });
6356
6357
  if (r === "selected")
6357
6358
  return "border border-border-selected-dark";
6358
- }, $u = ({
6359
+ }, Ou = ({
6359
6360
  focusMode: e
6360
6361
  }) => p("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
6361
6362
  "focus:outline-focus-dark": e === "dark",
6362
6363
  "focus:outline-focus-light": e === "light",
6363
6364
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
6364
6365
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
6365
- }), Pu = ({
6366
+ }), $u = ({
6366
6367
  mode: e,
6367
6368
  raw: t,
6368
6369
  iconClassName: r,
@@ -6389,11 +6390,11 @@ const Su = ({
6389
6390
  } : a === "selected" && (s = {
6390
6391
  "text-copy-lighter": !0
6391
6392
  }), p(s, r);
6392
- }, Mu = ({
6393
+ }, Pu = ({
6393
6394
  animated: e
6394
6395
  }) => p({
6395
6396
  "transition-opacity duration-300 ease-in-out": e
6396
- }), Lu = ({
6397
+ }), Mu = ({
6397
6398
  type: e,
6398
6399
  className: t,
6399
6400
  raw: r,
@@ -6413,15 +6414,15 @@ const Su = ({
6413
6414
  animated: k
6414
6415
  }) => (h || (h = "primary"), r ? p(us, t) : p(
6415
6416
  us,
6416
- Cu({
6417
+ xu({
6417
6418
  mode: a,
6418
6419
  variant: h,
6419
6420
  noBackground: u,
6420
6421
  truncate: f
6421
6422
  }),
6422
- Iu({ mode: a, noBackground: u, variant: h }),
6423
- Ru({ radius: y }),
6424
- Tu({
6423
+ Cu({ mode: a, noBackground: u, variant: h }),
6424
+ Iu({ radius: y }),
6425
+ Su({
6425
6426
  type: e,
6426
6427
  size: c,
6427
6428
  labelRight: d,
@@ -6429,11 +6430,11 @@ const Su = ({
6429
6430
  align: g,
6430
6431
  animated: k
6431
6432
  }),
6432
- xu({ type: e, size: c, labelRight: d, labelLeft: m }),
6433
- Ou({ mode: a, variant: h, noBorder: l }),
6434
- $u({ focusMode: s }),
6433
+ Tu({ type: e, size: c, labelRight: d, labelLeft: m }),
6434
+ Nu({ mode: a, variant: h, noBorder: l }),
6435
+ Ou({ focusMode: s }),
6436
+ Ru({ mode: a, variant: h, disabled: n }),
6435
6437
  Au({ mode: a, variant: h, disabled: n }),
6436
- Nu({ mode: a, variant: h, disabled: n }),
6437
6438
  {
6438
6439
  "w-full": o,
6439
6440
  "disabled:cursor-not-allowed disabled:opacity-50": n
@@ -6442,7 +6443,7 @@ const Su = ({
6442
6443
  "transition-[width] duration-300 ease-in": k
6443
6444
  }),
6444
6445
  t
6445
- )), Bu = (e, t, r) => {
6446
+ )), Lu = (e, t, r) => {
6446
6447
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
6447
6448
  }, Fn = Z.forwardRef((e, t) => {
6448
6449
  const { onClick: r, noInternalClick: a = !1, ...s } = e;
@@ -6451,20 +6452,20 @@ const Su = ({
6451
6452
  {
6452
6453
  ref: t,
6453
6454
  onClick: (n) => {
6454
- Bu(n, a, r);
6455
+ Lu(n, a, r);
6455
6456
  },
6456
6457
  ...s
6457
6458
  }
6458
6459
  );
6459
6460
  });
6460
6461
  Fn.displayName = "BaseButton";
6461
- function Du() {
6462
+ function Bu() {
6462
6463
  const e = R(!1);
6463
6464
  return $(() => (e.current = !0, () => {
6464
6465
  e.current = !1;
6465
6466
  }), []), V(() => e.current, []);
6466
6467
  }
6467
- function Uu(e) {
6468
+ function Du(e) {
6468
6469
  return he(() => e.every((t) => t == null) ? () => {
6469
6470
  } : (t) => {
6470
6471
  e.forEach((r) => {
@@ -6472,7 +6473,7 @@ function Uu(e) {
6472
6473
  });
6473
6474
  }, [...e]);
6474
6475
  }
6475
- const Hu = {
6476
+ const Uu = {
6476
6477
  x: 0,
6477
6478
  y: 0,
6478
6479
  width: 0,
@@ -6483,7 +6484,7 @@ const Hu = {
6483
6484
  right: 0
6484
6485
  };
6485
6486
  function gr(e) {
6486
- const t = Du(), r = R(0), a = R(null), [s, n] = z(Hu), o = he(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
6487
+ const t = Bu(), r = R(0), a = R(null), [s, n] = z(Uu), o = he(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
6487
6488
  const l = c[0];
6488
6489
  l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
6489
6490
  a.current && t() && n(l.contentRect);
@@ -6500,14 +6501,14 @@ const Pt = {
6500
6501
  // w-8
6501
6502
  large: 48
6502
6503
  // w-12
6503
- }, Vu = {
6504
+ }, Hu = {
6504
6505
  small: 16,
6505
6506
  // px-2 x 2
6506
6507
  medium: 24,
6507
6508
  // px-3 x 2
6508
6509
  large: 32
6509
6510
  // px-4 x 2
6510
- }, zu = 2, Fu = 300, ma = Z.forwardRef(
6511
+ }, Vu = 2, zu = 300, ma = Z.forwardRef(
6511
6512
  ({
6512
6513
  children: e,
6513
6514
  disabled: t = !1,
@@ -6531,7 +6532,7 @@ const Pt = {
6531
6532
  animated: S = !1,
6532
6533
  ...N
6533
6534
  }, C) => {
6534
- const v = Lu({
6535
+ const v = Mu({
6535
6536
  type: ha,
6536
6537
  mode: r,
6537
6538
  focusMode: a,
@@ -6548,15 +6549,15 @@ const Pt = {
6548
6549
  radius: k,
6549
6550
  variant: b,
6550
6551
  animated: S
6551
- }), _ = Pu({ mode: r, raw: c, iconClassName: x, variant: b }), E = Mu({ animated: S }), I = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, F] = gr(), [O, W] = gr(), [M, J] = gr(), Q = R(0), L = R(null), P = R(null), q = Uu([C, L]);
6552
+ }), _ = $u({ mode: r, raw: c, iconClassName: x, variant: b }), E = Pu({ animated: S }), I = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, F] = gr(), [O, W] = gr(), [M, J] = gr(), Q = R(0), L = R(null), P = R(null), q = Du([C, L]);
6552
6553
  return Oe(() => {
6553
- M && M.current && S && (Q.current = J.width + Vu[u] + (l ? 0 : zu), L.current && !L.current.style.width && (L.current.style.width = `${Pt[u]}px`));
6554
+ M && M.current && S && (Q.current = J.width + Hu[u] + (l ? 0 : Vu), L.current && !L.current.style.width && (L.current.style.width = `${Pt[u]}px`));
6554
6555
  }, [J, M, u, l, S]), Oe(() => {
6555
6556
  if (L && L.current && S) {
6556
6557
  let D = Pt[u];
6557
6558
  h && w && F.width > 0 ? D = F.width + Q.current : f && O && W.width > 0 && (D = W.width + Q.current), P.current && clearTimeout(P.current), D !== parseInt(L.current.style.width || "0", 10) && (w.current && (w.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"), L.current.style.width = `${D}px`, D > Pt[u] && (P.current = setTimeout(() => {
6558
6559
  w.current && h && (w.current.style.opacity = "1"), O.current && f && (O.current.style.opacity = "1"), P.current = null;
6559
- }, Fu * 0.8))), D === Pt[u] && (w.current && (w.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"));
6560
+ }, zu * 0.8))), D === Pt[u] && (w.current && (w.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"));
6560
6561
  }
6561
6562
  }, [
6562
6563
  F,
@@ -6621,19 +6622,19 @@ const Pt = {
6621
6622
  );
6622
6623
  ma.displayName = "ButtonIcon";
6623
6624
  /*!
6624
- @versini/ui-button v7.0.0
6625
+ @versini/ui-button v7.1.1
6625
6626
  © 2025 gizmette.com
6626
6627
  */
6627
6628
  try {
6628
6629
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
6629
- version: "7.0.0",
6630
- buildTime: "08/07/2025 07:27 PM EDT",
6630
+ version: "7.1.1",
6631
+ buildTime: "08/10/2025 01:26 PM EDT",
6631
6632
  homepage: "https://github.com/aversini/ui-components",
6632
6633
  license: "MIT"
6633
6634
  });
6634
6635
  } catch {
6635
6636
  }
6636
- const Wu = Z.forwardRef(
6637
+ const Fu = Z.forwardRef(
6637
6638
  ({
6638
6639
  children: e,
6639
6640
  mode: t = "system",
@@ -6661,18 +6662,20 @@ const Wu = Z.forwardRef(
6661
6662
  return /* @__PURE__ */ i("div", { className: o, children: /* @__PURE__ */ i(
6662
6663
  ma,
6663
6664
  {
6664
- className: p("justify-center", r),
6665
+ className: r,
6665
6666
  ref: n,
6666
6667
  mode: t,
6667
6668
  radius: "small",
6669
+ size: "small",
6670
+ align: "center",
6668
6671
  ...s,
6669
6672
  children: e
6670
6673
  }
6671
6674
  ) });
6672
6675
  }
6673
6676
  );
6674
- Wu.displayName = "ButtonSort";
6675
- const ju = ({
6677
+ Fu.displayName = "ButtonSort";
6678
+ const Wu = ({
6676
6679
  children: e,
6677
6680
  fill: t,
6678
6681
  viewBox: r,
@@ -6715,14 +6718,14 @@ try {
6715
6718
  });
6716
6719
  } catch {
6717
6720
  }
6718
- const Gu = ({
6721
+ const ju = ({
6719
6722
  className: e,
6720
6723
  viewBox: t,
6721
6724
  title: r,
6722
6725
  monotone: a,
6723
6726
  ...s
6724
6727
  }) => /* @__PURE__ */ i(
6725
- ju,
6728
+ Wu,
6726
6729
  {
6727
6730
  defaultViewBox: "0 0 384 512",
6728
6731
  size: "size-5",
@@ -6753,7 +6756,7 @@ try {
6753
6756
  } catch {
6754
6757
  }
6755
6758
  const Wn = Y.createContext(null);
6756
- function Ku({
6759
+ function Gu({
6757
6760
  initialOpen: e = !1,
6758
6761
  open: t,
6759
6762
  onOpenChange: r
@@ -6787,14 +6790,14 @@ const Zt = () => {
6787
6790
  throw new Error("Modal components must be wrapped in <Modal />");
6788
6791
  return e;
6789
6792
  };
6790
- function Ju({
6793
+ function Ku({
6791
6794
  children: e,
6792
6795
  ...t
6793
6796
  }) {
6794
- const r = Ku(t);
6797
+ const r = Gu(t);
6795
6798
  return /* @__PURE__ */ i(Wn.Provider, { value: r, children: e });
6796
6799
  }
6797
- const qu = Y.forwardRef(function(e, t) {
6800
+ const Ju = Y.forwardRef(function(e, t) {
6798
6801
  const { context: r, ...a } = Zt(), s = Jr([a.refs.setFloating, t]);
6799
6802
  if (!r.open)
6800
6803
  return null;
@@ -6812,13 +6815,13 @@ const qu = Y.forwardRef(function(e, t) {
6812
6815
  children: o.children
6813
6816
  }
6814
6817
  ) }) }) });
6815
- }), Yu = Y.forwardRef(function({ children: e, ...t }, r) {
6818
+ }), qu = Y.forwardRef(function({ children: e, ...t }, r) {
6816
6819
  const { setLabelId: a } = Zt(), s = Kr();
6817
6820
  return Y.useLayoutEffect(() => (a(s), () => a(void 0)), [s, a]), /* @__PURE__ */ i("h1", { ...t, ref: r, id: s, children: e });
6818
- }), Qu = Y.forwardRef(function({ children: e, ...t }, r) {
6821
+ }), Yu = Y.forwardRef(function({ children: e, ...t }, r) {
6819
6822
  const { setDescriptionId: a } = Zt(), s = Kr();
6820
6823
  return Y.useLayoutEffect(() => (a(s), () => a(void 0)), [s, a]), /* @__PURE__ */ i("div", { ...t, ref: r, id: s, children: e });
6821
- }), Xu = Y.forwardRef(function(e, t) {
6824
+ }), Qu = Y.forwardRef(function(e, t) {
6822
6825
  const { setOpen: r } = Zt(), { trigger: a, className: s, ...n } = e, o = Y.useCallback(() => r(!1), [r]);
6823
6826
  return /* @__PURE__ */ i("div", { className: s, children: Y.cloneElement(a, {
6824
6827
  ref: t,
@@ -6833,13 +6836,13 @@ const qu = Y.forwardRef(function(e, t) {
6833
6836
  try {
6834
6837
  window.__VERSINI_UI_MODAL__ || (window.__VERSINI_UI_MODAL__ = {
6835
6838
  version: "2.0.6",
6836
- buildTime: "08/07/2025 07:27 PM EDT",
6839
+ buildTime: "08/10/2025 01:26 PM EDT",
6837
6840
  homepage: "https://github.com/aversini/ui-components",
6838
6841
  license: "MIT"
6839
6842
  });
6840
6843
  } catch {
6841
6844
  }
6842
- const Ke = "panel", Mt = "messagebox", Zu = ({
6845
+ const Ke = "panel", Mt = "messagebox", Xu = ({
6843
6846
  className: e,
6844
6847
  kind: t,
6845
6848
  borderMode: r,
@@ -6864,7 +6867,7 @@ const Ke = "panel", Mt = "messagebox", Zu = ({
6864
6867
  footer: "flex grow flex-col sm:p-4 p-2",
6865
6868
  header: "sm:p-4 mb-0 p-2",
6866
6869
  close: "sm:p-4 p-2"
6867
- }), eh = "slide", ms = "fade", th = ({
6870
+ }), Zu = "slide", ms = "fade", eh = ({
6868
6871
  open: e,
6869
6872
  onOpenChange: t,
6870
6873
  title: r,
@@ -6874,14 +6877,14 @@ const Ke = "panel", Mt = "messagebox", Zu = ({
6874
6877
  kind: o = Ke,
6875
6878
  className: c,
6876
6879
  animation: l = !1,
6877
- animationType: d = eh,
6880
+ animationType: d = Zu,
6878
6881
  maxWidth: m = "medium"
6879
6882
  }) => {
6880
6883
  const u = R(""), [h, f] = z(
6881
6884
  l ? d === ms ? { opacity: 0 } : {
6882
6885
  transform: "translateY(-100vh)"
6883
6886
  } : {}
6884
- ), g = Zu({
6887
+ ), g = Xu({
6885
6888
  className: c,
6886
6889
  kind: o,
6887
6890
  borderMode: n,
@@ -6906,10 +6909,10 @@ const Ke = "panel", Mt = "messagebox", Zu = ({
6906
6909
  }, 100);
6907
6910
  return () => clearTimeout(y);
6908
6911
  }
6909
- }, [e, l, d]), /* @__PURE__ */ i(ue, { children: e && /* @__PURE__ */ i(Ju, { open: e, onOpenChange: t, children: /* @__PURE__ */ T(qu, { className: g.main, style: h, children: [
6912
+ }, [e, l, d]), /* @__PURE__ */ i(ue, { children: e && /* @__PURE__ */ i(Ku, { open: e, onOpenChange: t, children: /* @__PURE__ */ T(Ju, { className: g.main, style: h, children: [
6910
6913
  /* @__PURE__ */ T("div", { className: "flex flex-row-reverse items-center justify-between", children: [
6911
6914
  /* @__PURE__ */ i(
6912
- Xu,
6915
+ Qu,
6913
6916
  {
6914
6917
  className: g.close,
6915
6918
  trigger: /* @__PURE__ */ i(
@@ -6919,25 +6922,25 @@ const Ke = "panel", Mt = "messagebox", Zu = ({
6919
6922
  focusMode: "light",
6920
6923
  noBorder: !0,
6921
6924
  label: "Close",
6922
- children: /* @__PURE__ */ i(Gu, { monotone: !0 })
6925
+ children: /* @__PURE__ */ i(ju, { monotone: !0 })
6923
6926
  }
6924
6927
  )
6925
6928
  }
6926
6929
  ),
6927
- /* @__PURE__ */ i(Yu, { className: g.header, children: r })
6930
+ /* @__PURE__ */ i(qu, { className: g.header, children: r })
6928
6931
  ] }),
6929
- /* @__PURE__ */ i(Qu, { className: g.content, children: a }),
6932
+ /* @__PURE__ */ i(Yu, { className: g.content, children: a }),
6930
6933
  s && /* @__PURE__ */ i("div", { className: g.footer, children: s })
6931
6934
  ] }) }) });
6932
6935
  };
6933
6936
  /*!
6934
- @versini/ui-panel v2.2.3
6937
+ @versini/ui-panel v2.2.5
6935
6938
  © 2025 gizmette.com
6936
6939
  */
6937
6940
  try {
6938
6941
  window.__VERSINI_UI_PANEL__ || (window.__VERSINI_UI_PANEL__ = {
6939
- version: "2.2.3",
6940
- buildTime: "08/07/2025 07:27 PM EDT",
6942
+ version: "2.2.5",
6943
+ buildTime: "08/10/2025 01:26 PM EDT",
6941
6944
  homepage: "https://github.com/aversini/ui-components",
6942
6945
  license: "MIT"
6943
6946
  });
@@ -6952,7 +6955,7 @@ const Ye = ({
6952
6955
  noCancelAction: n = !1,
6953
6956
  primaryActionVariant: o = "danger"
6954
6957
  }) => /* @__PURE__ */ i(
6955
- th,
6958
+ eh,
6956
6959
  {
6957
6960
  kind: "messagebox",
6958
6961
  open: e,
@@ -7199,7 +7202,7 @@ const Ye = ({
7199
7202
  ), er = As((e, t) => /* @__PURE__ */ i(Vo, { children: /* @__PURE__ */ i(Gn, { ...e, ref: t }) }));
7200
7203
  er.displayName = "Menu";
7201
7204
  Gn.displayName = "MenuComponent";
7202
- const rh = ({
7205
+ const th = ({
7203
7206
  children: e,
7204
7207
  fill: t,
7205
7208
  viewBox: r,
@@ -7242,14 +7245,14 @@ try {
7242
7245
  });
7243
7246
  } catch {
7244
7247
  }
7245
- const ah = ({
7248
+ const rh = ({
7246
7249
  className: e,
7247
7250
  viewBox: t,
7248
7251
  title: r,
7249
7252
  monotone: a,
7250
7253
  ...s
7251
7254
  }) => /* @__PURE__ */ T(
7252
- rh,
7255
+ th,
7253
7256
  {
7254
7257
  defaultViewBox: "0 0 448 512",
7255
7258
  size: "size-5",
@@ -7334,7 +7337,7 @@ const Re = Y.forwardRef(
7334
7337
  }
7335
7338
  }),
7336
7339
  children: [
7337
- o && /* @__PURE__ */ i(ah, { className: "mr-2", size: "size-4" }),
7340
+ o && /* @__PURE__ */ i(rh, { className: "mr-2", size: "size-4" }),
7338
7341
  r,
7339
7342
  e && /* @__PURE__ */ i("span", { className: d, children: e })
7340
7343
  ]
@@ -7343,7 +7346,7 @@ const Re = Y.forwardRef(
7343
7346
  }
7344
7347
  );
7345
7348
  Re.displayName = "MenuItem";
7346
- const sh = ({ className: e, ...t }) => {
7349
+ const ah = ({ className: e, ...t }) => {
7347
7350
  const r = p(e, "my-1 border-t border-border-medium");
7348
7351
  return /* @__PURE__ */ i("div", { className: r, ...t });
7349
7352
  }, Kn = ({
@@ -7369,12 +7372,12 @@ try {
7369
7372
  });
7370
7373
  } catch {
7371
7374
  }
7372
- const nh = (e) => {
7375
+ const sh = (e) => {
7373
7376
  for (let t = 0; t < e.length; t++)
7374
7377
  if (e[t].enabled)
7375
7378
  return !0;
7376
7379
  return !1;
7377
- }, oh = ({
7380
+ }, nh = ({
7378
7381
  className: e,
7379
7382
  defaultPlacement: t = "top-start"
7380
7383
  }) => {
@@ -7393,7 +7396,7 @@ const nh = (e) => {
7393
7396
  prompt: g
7394
7397
  }
7395
7398
  });
7396
- }, u = d && l && l.tags && nh(l.tags), h = /* @__PURE__ */ T(
7399
+ }, u = d && l && l.tags && sh(l.tags), h = /* @__PURE__ */ T(
7397
7400
  er,
7398
7401
  {
7399
7402
  mode: "dark",
@@ -7535,7 +7538,7 @@ const nh = (e) => {
7535
7538
  ] });
7536
7539
  };
7537
7540
  let yr = null, br = null;
7538
- const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = async () => (br || (br = import("./index.DDwdbGlq.js").then((e) => e.utilities)), br), ih = async () => {
7541
+ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = async () => (br || (br = import("./index.BcfpTkrB.js").then((e) => e.utilities)), br), oh = async () => {
7539
7542
  try {
7540
7543
  await Promise.all([qn(), Yn()]);
7541
7544
  } catch {
@@ -7556,7 +7559,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7556
7559
  }, 100);
7557
7560
  } catch {
7558
7561
  }
7559
- }, Xn = (e, t) => Qn(e, "success", t), nf = (e, t) => Qn(e, "error", t), Zn = ({
7562
+ }, Xn = (e, t) => Qn(e, "success", t), sf = (e, t) => Qn(e, "error", t), Zn = ({
7560
7563
  className: e
7561
7564
  }) => {
7562
7565
  const { user: t, getAccessToken: r } = Ve(), {
@@ -7641,7 +7644,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7641
7644
  }
7642
7645
  )
7643
7646
  ] });
7644
- }, ch = ({
7647
+ }, ih = ({
7645
7648
  className: e
7646
7649
  }) => {
7647
7650
  const {
@@ -7669,7 +7672,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7669
7672
  )
7670
7673
  }
7671
7674
  );
7672
- }, lh = [".pdf", ".txt"], dh = [
7675
+ }, ch = [".pdf", ".txt"], lh = [
7673
7676
  ".js",
7674
7677
  ".cjs",
7675
7678
  ".mjs",
@@ -7684,30 +7687,30 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7684
7687
  ".json",
7685
7688
  ".md"
7686
7689
  ], vr = [
7687
- ...lh,
7688
- ...dh
7689
- ], Wr = 400 * 1024, uh = "text/plain", hh = () => p(
7690
+ ...ch,
7691
+ ...lh
7692
+ ], Wr = 400 * 1024, dh = "text/plain", uh = () => p(
7690
7693
  "relative rounded-md text-base h-auto min-w-28 overflow-hidden pt-2"
7691
- ), ps = () => p("bg-surface-darker"), mh = () => p("text-copy-lighter caret-copy-light"), fh = () => p(
7694
+ ), ps = () => p("bg-surface-darker"), hh = () => p("text-copy-lighter caret-copy-light"), mh = () => p(
7692
7695
  "has-[.av-prompt-editable:focus]:outline",
7693
7696
  "has-[.av-prompt-editable:focus]:outline-2",
7694
7697
  "has-[.av-prompt-editable:focus]:outline-offset-2",
7695
7698
  "has-[.av-prompt-editable:focus]:outline-focus-light"
7696
- ), ph = () => p(
7699
+ ), fh = () => p(
7697
7700
  "peer",
7698
7701
  "text-base resize-none overflow-hidden w-full text-inherit outline-none",
7699
7702
  "h-6 pr-2 pl-4"
7700
- ), gh = ({ className: e }) => {
7703
+ ), ph = ({ className: e }) => {
7701
7704
  const t = p(
7702
7705
  _o,
7703
- hh(),
7706
+ uh(),
7704
7707
  ps(),
7708
+ hh(),
7705
7709
  mh(),
7706
- fh(),
7707
7710
  e
7708
7711
  ), r = p(
7709
7712
  So,
7710
- ph(),
7713
+ fh(),
7711
7714
  ps()
7712
7715
  );
7713
7716
  return {
@@ -7719,15 +7722,15 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7719
7722
  return "0 Bytes";
7720
7723
  const t = 1024, r = ["Bytes", "KB", "MB", "GB"], a = Math.floor(Math.log(e) / Math.log(t));
7721
7724
  return parseFloat((e / Math.pow(t, a)).toFixed(2)) + " " + r[a];
7722
- }, eo = (e) => e.reduce((t, r) => t + r.size, 0), yh = (e) => e.type ? e : new File(
7725
+ }, eo = (e) => e.reduce((t, r) => t + r.size, 0), gh = (e) => e.type ? e : new File(
7723
7726
  [e],
7724
7727
  // Use the original file content
7725
7728
  e.name,
7726
7729
  {
7727
- type: uh,
7730
+ type: dh,
7728
7731
  lastModified: e.lastModified
7729
7732
  }
7730
- ), bh = ({
7733
+ ), yh = ({
7731
7734
  files: e,
7732
7735
  clearFile: t
7733
7736
  }) => e && e.length > 0 && /* @__PURE__ */ T("div", { className: "px-4 py-2", children: [
@@ -7766,9 +7769,9 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7766
7769
  " ",
7767
7770
  zt(Wr)
7768
7771
  ] })
7769
- ] }), to = 24, vh = 500, ro = 2, wh = 5, kh = to * ro, gs = wh * to, Eh = "ready", _h = "streaming", Sh = "error", Th = "submitted", Lt = (e) => {
7770
- e.current && (e.current.style.height = `${kh}px`);
7771
- }, xh = () => {
7772
+ ] }), to = 24, bh = 500, ro = 2, vh = 5, wh = to * ro, gs = vh * to, kh = "ready", Eh = "streaming", _h = "error", Sh = "submitted", Lt = (e) => {
7773
+ e.current && (e.current.style.height = `${wh}px`);
7774
+ }, Th = () => {
7772
7775
  const { user: e, getAccessToken: t } = Ve(), [r, a] = z(!1), [s, n] = z(null), [o, c] = z(!1), [l, d] = z(!1), {
7773
7776
  dispatch: m,
7774
7777
  state: { reasoning: u, streaming: h, aborted: f, lastResetTimestamp: g, attachments: y }
@@ -7782,7 +7785,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7782
7785
  }), { data: N } = Xt({
7783
7786
  user: e?.username,
7784
7787
  getAccessToken: t
7785
- }), C = R(null), v = R(null), _ = R(!1), E = R(0), I = R(null), w = R(null), F = Fi(), O = gh({
7788
+ }), C = R(null), v = R(null), _ = R(!1), E = R(0), I = R(null), w = R(null), F = Fi(), O = ph({
7786
7789
  className: ""
7787
7790
  }), {
7788
7791
  input: W,
@@ -7803,25 +7806,25 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7803
7806
  }
7804
7807
  }), D = V(
7805
7808
  async (K) => {
7806
- K === Eh && m({
7809
+ K === kh && m({
7807
7810
  type: at,
7808
7811
  payload: {
7809
7812
  loading: !1,
7810
7813
  streaming: !1
7811
7814
  }
7812
- }), K === Th && m({
7815
+ }), K === Sh && m({
7813
7816
  type: at,
7814
7817
  payload: {
7815
7818
  loading: !0,
7816
7819
  streaming: !1
7817
7820
  }
7818
- }), K === _h && m({
7821
+ }), K === Eh && m({
7819
7822
  type: at,
7820
7823
  payload: {
7821
7824
  loading: !1,
7822
7825
  streaming: !0
7823
7826
  }
7824
- }), K === Sh && setTimeout(() => {
7827
+ }), K === _h && setTimeout(() => {
7825
7828
  f || (m({
7826
7829
  type: at,
7827
7830
  payload: {
@@ -7909,7 +7912,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7909
7912
  let ie;
7910
7913
  if (s && s.length > 0) {
7911
7914
  const ye = Array.from(s).map(
7912
- (B) => yh(B)
7915
+ (B) => gh(B)
7913
7916
  ), U = new DataTransfer();
7914
7917
  ye.forEach((B) => U.items.add(B)), ie = U.files;
7915
7918
  }
@@ -7917,7 +7920,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7917
7920
  headers: {
7918
7921
  "Content-Type": "application/json",
7919
7922
  authorization: `Bearer ${ne}`,
7920
- [Sd]: q
7923
+ [_d]: q
7921
7924
  },
7922
7925
  body: {
7923
7926
  reasoning: u
@@ -7950,7 +7953,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
7950
7953
  }
7951
7954
  g > 0 && g !== E.current ? (E.current = g, setTimeout(() => {
7952
7955
  w.current && (!W && Lt(w), w.current.focus());
7953
- }, vh)) : h === !1 && !W && (Lt(w), !Ae() && w.current && w.current.focus());
7956
+ }, bh)) : h === !1 && !W && (Lt(w), !Ae() && w.current && w.current.focus());
7954
7957
  }, [g, h, W]), $(() => {
7955
7958
  k.lastTriggeredTimestamp && setTimeout(() => {
7956
7959
  ge();
@@ -8020,13 +8023,13 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8020
8023
  }
8021
8024
  )
8022
8025
  ] }),
8023
- /* @__PURE__ */ i(bh, { files: s, clearFile: We }),
8026
+ /* @__PURE__ */ i(yh, { files: s, clearFile: We }),
8024
8027
  /* @__PURE__ */ T("div", { className: "p-2 flex items-center", children: [
8025
- /* @__PURE__ */ i(ch, { className: "order-7 ml-auto" }),
8026
- /* @__PURE__ */ i(Su, { className: "order-1 mr-4 sm:mr-2" }),
8027
- /* @__PURE__ */ i(oh, { className: "order-2 mr-4 sm:mr-2" }),
8028
+ /* @__PURE__ */ i(ih, { className: "order-7 ml-auto" }),
8029
+ /* @__PURE__ */ i(_u, { className: "order-1 mr-4 sm:mr-2" }),
8030
+ /* @__PURE__ */ i(nh, { className: "order-2 mr-4 sm:mr-2" }),
8028
8031
  /* @__PURE__ */ i(
8029
- _u,
8032
+ Eu,
8030
8033
  {
8031
8034
  className: "order-3 mr-4 sm:mr-2",
8032
8035
  onClick: Pe
@@ -8040,7 +8043,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8040
8043
  ] })
8041
8044
  ] }) })
8042
8045
  ] });
8043
- }, mt = "--sassy-bottom", Ch = ({ isComponent: e }) => {
8046
+ }, mt = "--sassy-bottom", xh = ({ isComponent: e }) => {
8044
8047
  const {
8045
8048
  state: { loading: t, streaming: r, restoring: a }
8046
8049
  } = X(be), {
@@ -8132,7 +8135,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8132
8135
  dd
8133
8136
  ),
8134
8137
  children: [
8135
- /* @__PURE__ */ i(xh, {}),
8138
+ /* @__PURE__ */ i(Th, {}),
8136
8139
  /* @__PURE__ */ i("div", { className: "w-full text-center text-xs text-copy-lighter pt-2", children: c })
8137
8140
  ]
8138
8141
  }
@@ -8153,14 +8156,14 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8153
8156
  label: "Google Gemini",
8154
8157
  icon: bi
8155
8158
  }
8156
- ], Ih = ({ className: e }) => {
8159
+ ], Ch = ({ className: e }) => {
8157
8160
  const {
8158
8161
  dispatch: t,
8159
8162
  state: { privateChat: r },
8160
8163
  setChatId: a,
8161
8164
  setInitialMessages: s
8162
8165
  } = X(be), { getAccessToken: n, user: o } = Ve(), { status: c } = Xe(), [l, d] = z(!1), m = V(() => {
8163
- l || (ih(), d(!0));
8166
+ l || (oh(), d(!0));
8164
8167
  }, [l]), { isSuccess: u, refetch: h, data: f } = Xt({
8165
8168
  user: o?.username,
8166
8169
  getAccessToken: n
@@ -8229,42 +8232,42 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8229
8232
  trigger: b
8230
8233
  }
8231
8234
  ) : /* @__PURE__ */ i("div", { className: e, children: b });
8232
- }, Rh = it(
8233
- () => import("./ProfileEntry.WmOglj_-.js").then((e) => ({
8235
+ }, Ih = it(
8236
+ () => import("./ProfileEntry.qmbeMLG3.js").then((e) => ({
8234
8237
  default: e.Profile
8235
8238
  }))
8236
- ), Ah = it(
8237
- () => import("./SettingsEntry.BNGEEnTY.js").then((e) => ({
8239
+ ), Rh = it(
8240
+ () => import("./SettingsEntry.BgSSrErQ.js").then((e) => ({
8238
8241
  default: e.SettingsPanel
8239
8242
  }))
8240
- ), Nh = it(
8241
- () => import("./HistoryEntry.DFC6n6w2.js").then((e) => ({
8243
+ ), Ah = it(
8244
+ () => import("./HistoryEntry.DlmduxI9.js").then((e) => ({
8242
8245
  default: e.HistoryPanel
8243
8246
  }))
8247
+ ), Nh = it(
8248
+ () => import("./AboutEntry.BvMxHACv.js").then((e) => ({ default: e.About }))
8244
8249
  ), Oh = it(
8245
- () => import("./AboutEntry.m1B_BgQt.js").then((e) => ({ default: e.About }))
8246
- ), $h = it(
8247
- () => import("./UsageEntry.D5jzQr21.js").then((e) => ({ default: e.Usage }))
8248
- ), Ph = ({ type: e, open: t, onOpenChange: r }) => t ? /* @__PURE__ */ i(Ns, { fallback: /* @__PURE__ */ i("div", {}), children: (() => {
8250
+ () => import("./UsageEntry.BtOGGaFe.js").then((e) => ({ default: e.Usage }))
8251
+ ), $h = ({ type: e, open: t, onOpenChange: r }) => t ? /* @__PURE__ */ i(Ns, { fallback: /* @__PURE__ */ i("div", {}), children: (() => {
8249
8252
  switch (e) {
8250
8253
  case "profile":
8251
- return /* @__PURE__ */ i(Rh, { open: t, onOpenChange: r });
8254
+ return /* @__PURE__ */ i(Ih, { open: t, onOpenChange: r });
8252
8255
  case "settings":
8253
- return /* @__PURE__ */ i(Ah, { open: t, onOpenChange: r });
8256
+ return /* @__PURE__ */ i(Rh, { open: t, onOpenChange: r });
8254
8257
  case "history":
8255
- return /* @__PURE__ */ i(Nh, { open: t, onOpenChange: r });
8258
+ return /* @__PURE__ */ i(Ah, { open: t, onOpenChange: r });
8256
8259
  case "about":
8257
- return /* @__PURE__ */ i(Oh, { open: t, onOpenChange: r });
8260
+ return /* @__PURE__ */ i(Nh, { open: t, onOpenChange: r });
8258
8261
  case "usage":
8259
- return /* @__PURE__ */ i($h, { open: t, onOpenChange: r });
8262
+ return /* @__PURE__ */ i(Oh, { open: t, onOpenChange: r });
8260
8263
  default:
8261
8264
  return null;
8262
8265
  }
8263
- })() }) : null, Mh = ({
8266
+ })() }) : null, Ph = ({
8264
8267
  isComponent: e = !1
8265
8268
  }) => {
8266
8269
  const { logout: t, getAccessToken: r } = Ve(), [a, s] = z(null), [n, o] = z(!1), [c, l] = z(!1), [d, m] = z(!1), u = V(() => {
8267
- d || (import("./ProfileEntry.WmOglj_-.js"), import("./SettingsEntry.BNGEEnTY.js"), import("./HistoryEntry.DFC6n6w2.js"), import("./AboutEntry.m1B_BgQt.js"), import("./UsageEntry.D5jzQr21.js"), m(!0));
8270
+ d || (import("./ProfileEntry.qmbeMLG3.js"), import("./SettingsEntry.BgSSrErQ.js"), import("./HistoryEntry.DlmduxI9.js"), import("./AboutEntry.BvMxHACv.js"), import("./UsageEntry.BtOGGaFe.js"), m(!0));
8268
8271
  }, [d]), h = V((k) => {
8269
8272
  s(k);
8270
8273
  }, []), f = V(() => {
@@ -8314,7 +8317,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8314
8317
  }
8315
8318
  ),
8316
8319
  /* @__PURE__ */ i(
8317
- Ph,
8320
+ $h,
8318
8321
  {
8319
8322
  type: a,
8320
8323
  open: a !== null,
@@ -8329,7 +8332,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8329
8332
  rowGap: 0,
8330
8333
  columnGap: 0,
8331
8334
  children: [
8332
- /* @__PURE__ */ i(yt, { children: /* @__PURE__ */ i(Ih, { className: " mr-4 sm:mr-2" }) }),
8335
+ /* @__PURE__ */ i(yt, { children: /* @__PURE__ */ i(Ch, { className: " mr-4 sm:mr-2" }) }),
8333
8336
  /* @__PURE__ */ i(yt, { children: Je() && /* @__PURE__ */ T(ue, { children: [
8334
8337
  n && /* @__PURE__ */ i(Jn, { className: "mr-4 sm:mr-2" }),
8335
8338
  /* @__PURE__ */ i(jn, { className: "mr-4 sm:mr-2" }),
@@ -8400,7 +8403,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8400
8403
  }
8401
8404
  ),
8402
8405
  !e && /* @__PURE__ */ T(ue, { children: [
8403
- /* @__PURE__ */ i(sh, {}),
8406
+ /* @__PURE__ */ i(ah, {}),
8404
8407
  /* @__PURE__ */ i(
8405
8408
  Re,
8406
8409
  {
@@ -8419,7 +8422,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8419
8422
  }
8420
8423
  ) })
8421
8424
  ] });
8422
- }, Lh = ({
8425
+ }, Mh = ({
8423
8426
  show: e,
8424
8427
  bottom: t,
8425
8428
  onClick: r,
@@ -8464,7 +8467,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8464
8467
  }
8465
8468
  )
8466
8469
  }
8467
- ) : null, Ft = "av-bubble", ys = "av-button", fa = "icon", ao = "button", jr = "link", Bh = ({
8470
+ ) : null, Ft = "av-bubble", ys = "av-button", fa = "icon", ao = "button", jr = "link", Lh = ({
8468
8471
  type: e,
8469
8472
  size: t,
8470
8473
  labelRight: r,
@@ -8487,7 +8490,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8487
8490
  "justify-start": s === "left",
8488
8491
  "justify-end": s === "right",
8489
8492
  "h-6 w-6 p-0": t === "small" && !n && !(r || a),
8490
- "h-6 px-2": t === "small" && !n && (r || a),
8493
+ "h-6 px-1 sm:px-2": t === "small" && !n && (r || a),
8491
8494
  "h-8 w-8 p-1": t === "medium" && !n && !(r || a),
8492
8495
  "h-8 px-3": t === "medium" && !n && (r || a),
8493
8496
  "h-12 w-12 p-2": t === "large" && !n && !(r || a),
@@ -8500,7 +8503,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8500
8503
  "h-12": t === "large" && n && (r || a)
8501
8504
  });
8502
8505
  }
8503
- }, Dh = ({
8506
+ }, Bh = ({
8504
8507
  type: e,
8505
8508
  size: t,
8506
8509
  labelRight: r,
@@ -8523,7 +8526,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8523
8526
  [o]: t === "large" && (r || a)
8524
8527
  });
8525
8528
  }
8526
- }, Uh = ({
8529
+ }, Dh = ({
8527
8530
  mode: e,
8528
8531
  noBackground: t,
8529
8532
  truncate: r,
@@ -8559,7 +8562,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8559
8562
  return p("not-prose text-copy-lighter", {
8560
8563
  truncate: r
8561
8564
  });
8562
- }, Hh = ({
8565
+ }, Uh = ({
8563
8566
  mode: e,
8564
8567
  noBackground: t,
8565
8568
  variant: r
@@ -8589,13 +8592,13 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8589
8592
  if (r === "selected")
8590
8593
  return "bg-action-selected-dark";
8591
8594
  }
8592
- }, Vh = ({
8595
+ }, Hh = ({
8593
8596
  radius: e
8594
8597
  }) => p({
8595
8598
  "rounded-full": e === "large",
8596
8599
  "rounded-md": e === "medium",
8597
8600
  "rounded-xs": e === "small"
8598
- }), zh = ({
8601
+ }), Vh = ({
8599
8602
  mode: e,
8600
8603
  disabled: t,
8601
8604
  variant: r
@@ -8633,7 +8636,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8633
8636
  });
8634
8637
  if (r === "selected")
8635
8638
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
8636
- }, Fh = ({
8639
+ }, zh = ({
8637
8640
  mode: e,
8638
8641
  disabled: t,
8639
8642
  variant: r
@@ -8671,7 +8674,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8671
8674
  });
8672
8675
  if (r === "selected")
8673
8676
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
8674
- }, Wh = ({
8677
+ }, Fh = ({
8675
8678
  mode: e,
8676
8679
  noBorder: t,
8677
8680
  variant: r
@@ -8701,14 +8704,14 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8701
8704
  });
8702
8705
  if (r === "selected")
8703
8706
  return "border border-border-selected-dark";
8704
- }, jh = ({
8707
+ }, Wh = ({
8705
8708
  focusMode: e
8706
8709
  }) => p("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
8707
8710
  "focus:outline-focus-dark": e === "dark",
8708
8711
  "focus:outline-focus-light": e === "light",
8709
8712
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
8710
8713
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
8711
- }), Gh = ({
8714
+ }), jh = ({
8712
8715
  mode: e,
8713
8716
  raw: t,
8714
8717
  iconClassName: r,
@@ -8735,11 +8738,11 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8735
8738
  } : a === "selected" && (s = {
8736
8739
  "text-copy-lighter": !0
8737
8740
  }), p(s, r);
8738
- }, Kh = ({
8741
+ }, Gh = ({
8739
8742
  animated: e
8740
8743
  }) => p({
8741
8744
  "transition-opacity duration-300 ease-in-out": e
8742
- }), Jh = ({
8745
+ }), Kh = ({
8743
8746
  type: e,
8744
8747
  className: t,
8745
8748
  raw: r,
@@ -8759,15 +8762,15 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8759
8762
  animated: k
8760
8763
  }) => (h || (h = "primary"), r ? p(ys, t) : p(
8761
8764
  ys,
8762
- Uh({
8765
+ Dh({
8763
8766
  mode: a,
8764
8767
  variant: h,
8765
8768
  noBackground: u,
8766
8769
  truncate: f
8767
8770
  }),
8768
- Hh({ mode: a, noBackground: u, variant: h }),
8769
- Vh({ radius: y }),
8770
- Bh({
8771
+ Uh({ mode: a, noBackground: u, variant: h }),
8772
+ Hh({ radius: y }),
8773
+ Lh({
8771
8774
  type: e,
8772
8775
  size: c,
8773
8776
  labelRight: d,
@@ -8775,11 +8778,11 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8775
8778
  align: g,
8776
8779
  animated: k
8777
8780
  }),
8778
- Dh({ type: e, size: c, labelRight: d, labelLeft: m }),
8779
- Wh({ mode: a, variant: h, noBorder: l }),
8780
- jh({ focusMode: s }),
8781
+ Bh({ type: e, size: c, labelRight: d, labelLeft: m }),
8782
+ Fh({ mode: a, variant: h, noBorder: l }),
8783
+ Wh({ focusMode: s }),
8784
+ Vh({ mode: a, variant: h, disabled: n }),
8781
8785
  zh({ mode: a, variant: h, disabled: n }),
8782
- Fh({ mode: a, variant: h, disabled: n }),
8783
8786
  {
8784
8787
  "w-full": o,
8785
8788
  "disabled:cursor-not-allowed disabled:opacity-50": n
@@ -8788,7 +8791,7 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8788
8791
  "transition-[width] duration-300 ease-in": k
8789
8792
  }),
8790
8793
  t
8791
- )), qh = (e, t, r) => {
8794
+ )), Jh = (e, t, r) => {
8792
8795
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
8793
8796
  }, so = Z.forwardRef((e, t) => {
8794
8797
  const { onClick: r, noInternalClick: a = !1, ...s } = e;
@@ -8797,20 +8800,20 @@ const qn = async () => (yr || (yr = import("./index.B8EJY2WR.js")), yr), Yn = as
8797
8800
  {
8798
8801
  ref: t,
8799
8802
  onClick: (n) => {
8800
- qh(n, a, r);
8803
+ Jh(n, a, r);
8801
8804
  },
8802
8805
  ...s
8803
8806
  }
8804
8807
  );
8805
8808
  });
8806
8809
  so.displayName = "BaseButton";
8807
- function Yh() {
8810
+ function qh() {
8808
8811
  const e = R(!1);
8809
8812
  return $(() => (e.current = !0, () => {
8810
8813
  e.current = !1;
8811
8814
  }), []), V(() => e.current, []);
8812
8815
  }
8813
- function Qh(e) {
8816
+ function Yh(e) {
8814
8817
  return he(() => e.every((t) => t == null) ? () => {
8815
8818
  } : (t) => {
8816
8819
  e.forEach((r) => {
@@ -8818,7 +8821,7 @@ function Qh(e) {
8818
8821
  });
8819
8822
  }, [...e]);
8820
8823
  }
8821
- const Xh = {
8824
+ const Qh = {
8822
8825
  x: 0,
8823
8826
  y: 0,
8824
8827
  width: 0,
@@ -8829,7 +8832,7 @@ const Xh = {
8829
8832
  right: 0
8830
8833
  };
8831
8834
  function wr(e) {
8832
- const t = Yh(), r = R(0), a = R(null), [s, n] = z(Xh), o = he(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
8835
+ const t = qh(), r = R(0), a = R(null), [s, n] = z(Qh), o = he(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
8833
8836
  const l = c[0];
8834
8837
  l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
8835
8838
  a.current && t() && n(l.contentRect);
@@ -8846,14 +8849,14 @@ const Dt = {
8846
8849
  // w-8
8847
8850
  large: 48
8848
8851
  // w-12
8849
- }, Zh = {
8852
+ }, Xh = {
8850
8853
  small: 16,
8851
8854
  // px-2 x 2
8852
8855
  medium: 24,
8853
8856
  // px-3 x 2
8854
8857
  large: 32
8855
8858
  // px-4 x 2
8856
- }, em = 2, tm = 300, pa = Z.forwardRef(
8859
+ }, Zh = 2, em = 300, pa = Z.forwardRef(
8857
8860
  ({
8858
8861
  children: e,
8859
8862
  disabled: t = !1,
@@ -8877,7 +8880,7 @@ const Dt = {
8877
8880
  animated: S = !1,
8878
8881
  ...N
8879
8882
  }, C) => {
8880
- const v = Jh({
8883
+ const v = Kh({
8881
8884
  type: fa,
8882
8885
  mode: r,
8883
8886
  focusMode: a,
@@ -8894,15 +8897,15 @@ const Dt = {
8894
8897
  radius: k,
8895
8898
  variant: b,
8896
8899
  animated: S
8897
- }), _ = Gh({ mode: r, raw: c, iconClassName: x, variant: b }), E = Kh({ animated: S }), I = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, F] = wr(), [O, W] = wr(), [M, J] = wr(), Q = R(0), L = R(null), P = R(null), q = Qh([C, L]);
8900
+ }), _ = jh({ mode: r, raw: c, iconClassName: x, variant: b }), E = Gh({ animated: S }), I = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, F] = wr(), [O, W] = wr(), [M, J] = wr(), Q = R(0), L = R(null), P = R(null), q = Yh([C, L]);
8898
8901
  return Oe(() => {
8899
- M && M.current && S && (Q.current = J.width + Zh[u] + (l ? 0 : em), L.current && !L.current.style.width && (L.current.style.width = `${Dt[u]}px`));
8902
+ M && M.current && S && (Q.current = J.width + Xh[u] + (l ? 0 : Zh), L.current && !L.current.style.width && (L.current.style.width = `${Dt[u]}px`));
8900
8903
  }, [J, M, u, l, S]), Oe(() => {
8901
8904
  if (L && L.current && S) {
8902
8905
  let D = Dt[u];
8903
8906
  h && w && F.width > 0 ? D = F.width + Q.current : f && O && W.width > 0 && (D = W.width + Q.current), P.current && clearTimeout(P.current), D !== parseInt(L.current.style.width || "0", 10) && (w.current && (w.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"), L.current.style.width = `${D}px`, D > Dt[u] && (P.current = setTimeout(() => {
8904
8907
  w.current && h && (w.current.style.opacity = "1"), O.current && f && (O.current.style.opacity = "1"), P.current = null;
8905
- }, tm * 0.8))), D === Dt[u] && (w.current && (w.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"));
8908
+ }, em * 0.8))), D === Dt[u] && (w.current && (w.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"));
8906
8909
  }
8907
8910
  }, [
8908
8911
  F,
@@ -8967,19 +8970,19 @@ const Dt = {
8967
8970
  );
8968
8971
  pa.displayName = "ButtonIcon";
8969
8972
  /*!
8970
- @versini/ui-button v7.0.0
8973
+ @versini/ui-button v7.1.1
8971
8974
  © 2025 gizmette.com
8972
8975
  */
8973
8976
  try {
8974
8977
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
8975
- version: "7.0.0",
8976
- buildTime: "08/07/2025 04:11 PM EDT",
8978
+ version: "7.1.1",
8979
+ buildTime: "08/10/2025 01:26 PM EDT",
8977
8980
  homepage: "https://github.com/aversini/ui-components",
8978
8981
  license: "MIT"
8979
8982
  });
8980
8983
  } catch {
8981
8984
  }
8982
- const rm = Z.forwardRef(
8985
+ const tm = Z.forwardRef(
8983
8986
  ({
8984
8987
  children: e,
8985
8988
  mode: t = "system",
@@ -9007,17 +9010,19 @@ const rm = Z.forwardRef(
9007
9010
  return /* @__PURE__ */ i("div", { className: o, children: /* @__PURE__ */ i(
9008
9011
  pa,
9009
9012
  {
9010
- className: p("justify-center", r),
9013
+ className: r,
9011
9014
  ref: n,
9012
9015
  mode: t,
9013
9016
  radius: "small",
9017
+ size: "small",
9018
+ align: "center",
9014
9019
  ...s,
9015
9020
  children: e
9016
9021
  }
9017
9022
  ) });
9018
9023
  }
9019
9024
  );
9020
- rm.displayName = "ButtonSort";
9025
+ tm.displayName = "ButtonSort";
9021
9026
  const no = ({
9022
9027
  children: e,
9023
9028
  fill: t,
@@ -9061,7 +9066,7 @@ try {
9061
9066
  });
9062
9067
  } catch {
9063
9068
  }
9064
- const am = ({
9069
+ const rm = ({
9065
9070
  className: e,
9066
9071
  viewBox: t,
9067
9072
  title: r,
@@ -9087,7 +9092,7 @@ const am = ({
9087
9092
  /* @__PURE__ */ i("path", { d: "M337 175c9.4 9.4 9.4 24.6 0 33.9L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0z" })
9088
9093
  ]
9089
9094
  }
9090
- ), sm = ({
9095
+ ), am = ({
9091
9096
  className: e,
9092
9097
  viewBox: t,
9093
9098
  title: r,
@@ -9118,20 +9123,20 @@ try {
9118
9123
  });
9119
9124
  } catch {
9120
9125
  }
9121
- const nm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
9126
+ const sm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
9122
9127
  "max-w-xs sm:max-w-md md:max-w-2xl": !t,
9123
9128
  "lg:max-w-3xl": e === "left" && !t
9124
- }), om = ({ kind: e }) => p({
9129
+ }), nm = ({ kind: e }) => p({
9125
9130
  "bg-surface-lighter dark:bg-surface-dark": e === "left",
9126
9131
  "bg-surface-accent": e === "right"
9127
- }), im = ({ kind: e }) => p(
9132
+ }), om = ({ kind: e }) => p(
9128
9133
  "prose prose-dark dark:prose-lighter",
9129
9134
  "prose-blockquote:my-1",
9130
9135
  "prose-ol:my-1 prose-ul:my-1",
9131
9136
  {
9132
9137
  "text-copy-lighter": e === "right"
9133
9138
  }
9134
- ), cm = ({ kind: e, tail: t }) => {
9139
+ ), im = ({ kind: e, tail: t }) => {
9135
9140
  if (t)
9136
9141
  return p(
9137
9142
  `${Ft}-${e}-tail`,
@@ -9152,7 +9157,7 @@ const nm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
9152
9157
  "rounded-tr-xl": e === "left",
9153
9158
  "rounded-tl-xl": e === "right"
9154
9159
  });
9155
- }, lm = ({
9160
+ }, cm = ({
9156
9161
  kind: e,
9157
9162
  className: t,
9158
9163
  contentClassName: r,
@@ -9170,10 +9175,10 @@ const nm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
9170
9175
  ), o = p(
9171
9176
  `${Ft}-content`,
9172
9177
  "flex flex-col empty:hidden",
9173
- nm({ kind: e, noMaxWidth: a }),
9174
- im({ kind: e }),
9178
+ sm({ kind: e, noMaxWidth: a }),
9175
9179
  om({ kind: e }),
9176
- cm({ kind: e, tail: s }),
9180
+ nm({ kind: e }),
9181
+ im({ kind: e, tail: s }),
9177
9182
  r
9178
9183
  ), c = "pr-2 pt-1 text-end text-xs text-copy-light", l = p("flex flex-col-reverse sm:flex-row", {
9179
9184
  "ml-2": e === "left" && !s,
@@ -9187,7 +9192,7 @@ const nm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
9187
9192
  footer: c,
9188
9193
  copyButton: l
9189
9194
  };
9190
- }, dm = "FOOTER_EMPTY", oo = ({
9195
+ }, lm = "FOOTER_EMPTY", oo = ({
9191
9196
  children: e,
9192
9197
  kind: t = "left",
9193
9198
  className: r,
@@ -9200,7 +9205,7 @@ const nm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
9200
9205
  noMaxWidth: d = !1,
9201
9206
  tail: m = !1
9202
9207
  }) => {
9203
- const [u, h] = z(!1), f = lm({
9208
+ const [u, h] = z(!1), f = cm({
9204
9209
  kind: t,
9205
9210
  className: r,
9206
9211
  contentClassName: a,
@@ -9221,7 +9226,7 @@ const nm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
9221
9226
  /* @__PURE__ */ i("div", { className: f.main, children: e }),
9222
9227
  s && Object.keys(s).map((k, b) => {
9223
9228
  const x = s[k];
9224
- return x === dm ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ i("p", { className: f.footer, "aria-hidden": "true", children: /* @__PURE__ */ i("span", { className: "invisible", children: " " }) }) }, `${k}-${b}`) : x ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ T("p", { className: f.footer, children: [
9229
+ return x === lm ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ i("p", { className: f.footer, "aria-hidden": "true", children: /* @__PURE__ */ i("span", { className: "invisible", children: " " }) }) }, `${k}-${b}`) : x ? /* @__PURE__ */ i("div", { className: "prose-p:m-0", children: /* @__PURE__ */ T("p", { className: f.footer, children: [
9225
9230
  k,
9226
9231
  ": ",
9227
9232
  x
@@ -9240,25 +9245,25 @@ const nm = ({ kind: e, noMaxWidth: t }) => p("px-4 py-2", {
9240
9245
  label: u ? "Copied to clipboard" : "Copy to clipboard",
9241
9246
  onClick: y,
9242
9247
  disabled: u,
9243
- children: u ? /* @__PURE__ */ i(am, { size: "size-3" }) : /* @__PURE__ */ i(sm, { size: "size-3" })
9248
+ children: u ? /* @__PURE__ */ i(rm, { size: "size-3" }) : /* @__PURE__ */ i(am, { size: "size-3" })
9244
9249
  }
9245
9250
  ) })
9246
9251
  ] });
9247
9252
  };
9248
9253
  /*!
9249
- @versini/ui-bubble v5.0.0
9254
+ @versini/ui-bubble v5.0.2
9250
9255
  © 2025 gizmette.com
9251
9256
  */
9252
9257
  try {
9253
9258
  window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
9254
- version: "5.0.0",
9255
- buildTime: "08/07/2025 04:12 PM EDT",
9259
+ version: "5.0.2",
9260
+ buildTime: "08/10/2025 01:26 PM EDT",
9256
9261
  homepage: "https://github.com/aversini/ui-components",
9257
9262
  license: "MIT"
9258
9263
  });
9259
9264
  } catch {
9260
9265
  }
9261
- const vs = "av-spinner", um = ({
9266
+ const vs = "av-spinner", dm = ({
9262
9267
  spinnerRef: e,
9263
9268
  mode: t = "system",
9264
9269
  type: r = "circle",
@@ -9305,7 +9310,7 @@ try {
9305
9310
  });
9306
9311
  } catch {
9307
9312
  }
9308
- const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9313
+ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", um = ({
9309
9314
  type: e,
9310
9315
  size: t,
9311
9316
  labelRight: r,
@@ -9328,7 +9333,7 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9328
9333
  "justify-start": s === "left",
9329
9334
  "justify-end": s === "right",
9330
9335
  "h-6 w-6 p-0": t === "small" && !n && !(r || a),
9331
- "h-6 px-2": t === "small" && !n && (r || a),
9336
+ "h-6 px-1 sm:px-2": t === "small" && !n && (r || a),
9332
9337
  "h-8 w-8 p-1": t === "medium" && !n && !(r || a),
9333
9338
  "h-8 px-3": t === "medium" && !n && (r || a),
9334
9339
  "h-12 w-12 p-2": t === "large" && !n && !(r || a),
@@ -9341,7 +9346,7 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9341
9346
  "h-12": t === "large" && n && (r || a)
9342
9347
  });
9343
9348
  }
9344
- }, mm = ({
9349
+ }, hm = ({
9345
9350
  type: e,
9346
9351
  size: t,
9347
9352
  labelRight: r,
@@ -9364,7 +9369,7 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9364
9369
  [o]: t === "large" && (r || a)
9365
9370
  });
9366
9371
  }
9367
- }, fm = ({
9372
+ }, mm = ({
9368
9373
  mode: e,
9369
9374
  noBackground: t,
9370
9375
  truncate: r,
@@ -9400,7 +9405,7 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9400
9405
  return p("not-prose text-copy-lighter", {
9401
9406
  truncate: r
9402
9407
  });
9403
- }, pm = ({
9408
+ }, fm = ({
9404
9409
  mode: e,
9405
9410
  noBackground: t,
9406
9411
  variant: r
@@ -9430,13 +9435,13 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9430
9435
  if (r === "selected")
9431
9436
  return "bg-action-selected-dark";
9432
9437
  }
9433
- }, gm = ({
9438
+ }, pm = ({
9434
9439
  radius: e
9435
9440
  }) => p({
9436
9441
  "rounded-full": e === "large",
9437
9442
  "rounded-md": e === "medium",
9438
9443
  "rounded-xs": e === "small"
9439
- }), ym = ({
9444
+ }), gm = ({
9440
9445
  mode: e,
9441
9446
  disabled: t,
9442
9447
  variant: r
@@ -9474,7 +9479,7 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9474
9479
  });
9475
9480
  if (r === "selected")
9476
9481
  return "hover:text-copy-light-hover hover:bg-action-selected-dark-hover";
9477
- }, bm = ({
9482
+ }, ym = ({
9478
9483
  mode: e,
9479
9484
  disabled: t,
9480
9485
  variant: r
@@ -9512,7 +9517,7 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9512
9517
  });
9513
9518
  if (r === "selected")
9514
9519
  return "active:text-copy-lighter-active active:bg-action-selected-dark-active";
9515
- }, vm = ({
9520
+ }, bm = ({
9516
9521
  mode: e,
9517
9522
  noBorder: t,
9518
9523
  variant: r
@@ -9542,14 +9547,14 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9542
9547
  });
9543
9548
  if (r === "selected")
9544
9549
  return "border border-border-selected-dark";
9545
- }, wm = ({
9550
+ }, vm = ({
9546
9551
  focusMode: e
9547
9552
  }) => p("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
9548
9553
  "focus:outline-focus-dark": e === "dark",
9549
9554
  "focus:outline-focus-light": e === "light",
9550
9555
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
9551
9556
  "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
9552
- }), km = ({
9557
+ }), wm = ({
9553
9558
  mode: e,
9554
9559
  raw: t,
9555
9560
  iconClassName: r,
@@ -9576,7 +9581,7 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9576
9581
  } : a === "selected" && (s = {
9577
9582
  "text-copy-lighter": !0
9578
9583
  }), p(s, r);
9579
- }, Em = ({
9584
+ }, km = ({
9580
9585
  animated: e
9581
9586
  }) => p({
9582
9587
  "transition-opacity duration-300 ease-in-out": e
@@ -9600,15 +9605,15 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9600
9605
  animated: k
9601
9606
  }) => (h || (h = "primary"), r ? p(ws, t) : p(
9602
9607
  ws,
9603
- fm({
9608
+ mm({
9604
9609
  mode: a,
9605
9610
  variant: h,
9606
9611
  noBackground: u,
9607
9612
  truncate: f
9608
9613
  }),
9609
- pm({ mode: a, noBackground: u, variant: h }),
9610
- gm({ radius: y }),
9611
- hm({
9614
+ fm({ mode: a, noBackground: u, variant: h }),
9615
+ pm({ radius: y }),
9616
+ um({
9612
9617
  type: e,
9613
9618
  size: c,
9614
9619
  labelRight: d,
@@ -9616,11 +9621,11 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9616
9621
  align: g,
9617
9622
  animated: k
9618
9623
  }),
9619
- mm({ type: e, size: c, labelRight: d, labelLeft: m }),
9620
- vm({ mode: a, variant: h, noBorder: l }),
9621
- wm({ focusMode: s }),
9624
+ hm({ type: e, size: c, labelRight: d, labelLeft: m }),
9625
+ bm({ mode: a, variant: h, noBorder: l }),
9626
+ vm({ focusMode: s }),
9627
+ gm({ mode: a, variant: h, disabled: n }),
9622
9628
  ym({ mode: a, variant: h, disabled: n }),
9623
- bm({ mode: a, variant: h, disabled: n }),
9624
9629
  {
9625
9630
  "w-full": o,
9626
9631
  "disabled:cursor-not-allowed disabled:opacity-50": n
@@ -9629,7 +9634,7 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9629
9634
  "transition-[width] duration-300 ease-in": e === tr && k
9630
9635
  }),
9631
9636
  t
9632
- )), _m = (e, t, r) => {
9637
+ )), Em = (e, t, r) => {
9633
9638
  !t && (!document.activeElement || document.activeElement !== e.currentTarget) && typeof e?.currentTarget?.focus == "function" && e.currentTarget.focus(), typeof r == "function" && r(e);
9634
9639
  }, ya = Z.forwardRef((e, t) => {
9635
9640
  const { onClick: r, noInternalClick: a = !1, ...s } = e;
@@ -9638,7 +9643,7 @@ const ws = "av-button", tr = "icon", ga = "button", Gr = "link", hm = ({
9638
9643
  {
9639
9644
  ref: t,
9640
9645
  onClick: (n) => {
9641
- _m(n, a, r);
9646
+ Em(n, a, r);
9642
9647
  },
9643
9648
  ...s
9644
9649
  }
@@ -9688,13 +9693,13 @@ const co = Z.forwardRef(
9688
9693
  }
9689
9694
  );
9690
9695
  co.displayName = "Button";
9691
- function Sm() {
9696
+ function _m() {
9692
9697
  const e = R(!1);
9693
9698
  return $(() => (e.current = !0, () => {
9694
9699
  e.current = !1;
9695
9700
  }), []), V(() => e.current, []);
9696
9701
  }
9697
- function Tm(e) {
9702
+ function Sm(e) {
9698
9703
  return he(() => e.every((t) => t == null) ? () => {
9699
9704
  } : (t) => {
9700
9705
  e.forEach((r) => {
@@ -9702,7 +9707,7 @@ function Tm(e) {
9702
9707
  });
9703
9708
  }, [...e]);
9704
9709
  }
9705
- const xm = {
9710
+ const Tm = {
9706
9711
  x: 0,
9707
9712
  y: 0,
9708
9713
  width: 0,
@@ -9713,7 +9718,7 @@ const xm = {
9713
9718
  right: 0
9714
9719
  };
9715
9720
  function kr(e) {
9716
- const t = Sm(), r = R(0), a = R(null), [s, n] = z(xm), o = he(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
9721
+ const t = _m(), r = R(0), a = R(null), [s, n] = z(Tm), o = he(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((c) => {
9717
9722
  const l = c[0];
9718
9723
  l && (cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
9719
9724
  a.current && t() && n(l.contentRect);
@@ -9730,14 +9735,14 @@ const Ut = {
9730
9735
  // w-8
9731
9736
  large: 48
9732
9737
  // w-12
9733
- }, Cm = {
9738
+ }, xm = {
9734
9739
  small: 16,
9735
9740
  // px-2 x 2
9736
9741
  medium: 24,
9737
9742
  // px-3 x 2
9738
9743
  large: 32
9739
9744
  // px-4 x 2
9740
- }, Im = 2, Rm = 300, lo = Z.forwardRef(
9745
+ }, Cm = 2, Im = 300, lo = Z.forwardRef(
9741
9746
  ({
9742
9747
  children: e,
9743
9748
  disabled: t = !1,
@@ -9778,15 +9783,15 @@ const Ut = {
9778
9783
  radius: k,
9779
9784
  variant: b,
9780
9785
  animated: S
9781
- }), _ = km({ mode: r, raw: c, iconClassName: x, variant: b }), E = Em({ animated: S }), I = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, F] = kr(), [O, W] = kr(), [M, J] = kr(), Q = R(0), L = R(null), P = R(null), q = Tm([C, L]);
9786
+ }), _ = wm({ mode: r, raw: c, iconClassName: x, variant: b }), E = km({ animated: S }), I = "flex items-center justify-center relative w-full h-full overflow-hidden", [w, F] = kr(), [O, W] = kr(), [M, J] = kr(), Q = R(0), L = R(null), P = R(null), q = Sm([C, L]);
9782
9787
  return Oe(() => {
9783
- M && M.current && S && (Q.current = J.width + Cm[u] + (l ? 0 : Im), L.current && !L.current.style.width && (L.current.style.width = `${Ut[u]}px`));
9788
+ M && M.current && S && (Q.current = J.width + xm[u] + (l ? 0 : Cm), L.current && !L.current.style.width && (L.current.style.width = `${Ut[u]}px`));
9784
9789
  }, [J, M, u, l, S]), Oe(() => {
9785
9790
  if (L && L.current && S) {
9786
9791
  let D = Ut[u];
9787
9792
  h && w && F.width > 0 ? D = F.width + Q.current : f && O && W.width > 0 && (D = W.width + Q.current), P.current && clearTimeout(P.current), D !== parseInt(L.current.style.width || "0", 10) && (w.current && (w.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"), L.current.style.width = `${D}px`, D > Ut[u] && (P.current = setTimeout(() => {
9788
9793
  w.current && h && (w.current.style.opacity = "1"), O.current && f && (O.current.style.opacity = "1"), P.current = null;
9789
- }, Rm * 0.8))), D === Ut[u] && (w.current && (w.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"));
9794
+ }, Im * 0.8))), D === Ut[u] && (w.current && (w.current.style.opacity = "0"), O.current && (O.current.style.opacity = "0"));
9790
9795
  }
9791
9796
  }, [
9792
9797
  F,
@@ -9851,19 +9856,19 @@ const Ut = {
9851
9856
  );
9852
9857
  lo.displayName = "ButtonIcon";
9853
9858
  /*!
9854
- @versini/ui-button v7.0.0
9859
+ @versini/ui-button v7.1.1
9855
9860
  © 2025 gizmette.com
9856
9861
  */
9857
9862
  try {
9858
9863
  window.__VERSINI_UI_BUTTON__ || (window.__VERSINI_UI_BUTTON__ = {
9859
- version: "7.0.0",
9860
- buildTime: "08/07/2025 04:11 PM EDT",
9864
+ version: "7.1.1",
9865
+ buildTime: "08/10/2025 01:26 PM EDT",
9861
9866
  homepage: "https://github.com/aversini/ui-components",
9862
9867
  license: "MIT"
9863
9868
  });
9864
9869
  } catch {
9865
9870
  }
9866
- const Am = Z.forwardRef(
9871
+ const Rm = Z.forwardRef(
9867
9872
  ({
9868
9873
  children: e,
9869
9874
  mode: t = "system",
@@ -9891,20 +9896,22 @@ const Am = Z.forwardRef(
9891
9896
  return /* @__PURE__ */ i("div", { className: o, children: /* @__PURE__ */ i(
9892
9897
  lo,
9893
9898
  {
9894
- className: p("justify-center", r),
9899
+ className: r,
9895
9900
  ref: n,
9896
9901
  mode: t,
9897
9902
  radius: "small",
9903
+ size: "small",
9904
+ align: "center",
9898
9905
  ...s,
9899
9906
  children: e
9900
9907
  }
9901
9908
  ) });
9902
9909
  }
9903
9910
  );
9904
- Am.displayName = "ButtonSort";
9905
- const Nm = 200, Om = ({
9911
+ Rm.displayName = "ButtonSort";
9912
+ const Am = 200, Nm = ({
9906
9913
  string: e,
9907
- idealLength: t = Nm
9914
+ idealLength: t = Am
9908
9915
  }) => {
9909
9916
  if (e.length <= t)
9910
9917
  return { string: e, isTruncated: !1 };
@@ -9915,7 +9922,7 @@ const Nm = 200, Om = ({
9915
9922
  string: e.slice(0, t + r),
9916
9923
  isTruncated: !0
9917
9924
  };
9918
- }, $m = ({
9925
+ }, Om = ({
9919
9926
  children: e,
9920
9927
  length: t = 200,
9921
9928
  mode: r = "system",
@@ -9924,7 +9931,7 @@ const Nm = 200, Om = ({
9924
9931
  const [s, n] = z(!1);
9925
9932
  if (typeof e != "string")
9926
9933
  return e;
9927
- const { string: o, isTruncated: c } = Om({
9934
+ const { string: o, isTruncated: c } = Nm({
9928
9935
  string: e,
9929
9936
  idealLength: t
9930
9937
  });
@@ -9946,19 +9953,19 @@ const Nm = 200, Om = ({
9946
9953
  ] });
9947
9954
  };
9948
9955
  /*!
9949
- @versini/ui-truncate v4.0.10
9956
+ @versini/ui-truncate v4.0.12
9950
9957
  © 2025 gizmette.com
9951
9958
  */
9952
9959
  try {
9953
9960
  window.__VERSINI_UI_TRUNCATE__ || (window.__VERSINI_UI_TRUNCATE__ = {
9954
- version: "4.0.10",
9955
- buildTime: "08/07/2025 04:12 PM EDT",
9961
+ version: "4.0.12",
9962
+ buildTime: "08/10/2025 01:26 PM EDT",
9956
9963
  homepage: "https://github.com/aversini/ui-components",
9957
9964
  license: "MIT"
9958
9965
  });
9959
9966
  } catch {
9960
9967
  }
9961
- const Pm = ({ content: e }) => /* @__PURE__ */ i(
9968
+ const $m = ({ content: e }) => /* @__PURE__ */ i(
9962
9969
  oo,
9963
9970
  {
9964
9971
  tail: !0,
@@ -9966,14 +9973,14 @@ const Pm = ({ content: e }) => /* @__PURE__ */ i(
9966
9973
  copyToClipboard: e,
9967
9974
  copyToClipboardFocusMode: "light",
9968
9975
  className: "mt-3",
9969
- children: /* @__PURE__ */ i($m, { mode: "light", focusMode: "light", children: e })
9976
+ children: /* @__PURE__ */ i(Om, { mode: "light", focusMode: "light", children: e })
9970
9977
  }
9971
- ), Es = 2, Mm = it(
9978
+ ), Es = 2, Pm = it(
9972
9979
  () => import(
9973
9980
  /* webpackChunkName: "LazyMessageAssistant" */
9974
- "./ChatBubbleAssistant.CkkTrJGZ.js"
9981
+ "./ChatBubbleAssistant.CJV0ONBQ.js"
9975
9982
  )
9976
- ), Lm = Z.memo(
9983
+ ), Mm = Z.memo(
9977
9984
  ({
9978
9985
  role: e,
9979
9986
  content: t,
@@ -9984,8 +9991,8 @@ const Pm = ({ content: e }) => /* @__PURE__ */ i(
9984
9991
  const {
9985
9992
  state: { restoring: n, streaming: o }
9986
9993
  } = X(be);
9987
- return e === hd && t ? /* @__PURE__ */ i(Pm, { content: t }) : o && (e === qt || e === Tr) && (!t || t && t.length < Es) ? /* @__PURE__ */ i(oo, { tail: !0, children: /* @__PURE__ */ i(um, { type: "dots" }) }) : (e === qt || e === Tr) && t && t.length >= Es ? /* @__PURE__ */ i(Ns, { fallback: /* @__PURE__ */ i("span", {}), children: /* @__PURE__ */ i(
9988
- Mm,
9994
+ return e === hd && t ? /* @__PURE__ */ i($m, { content: t }) : o && (e === qt || e === Tr) && (!t || t && t.length < Es) ? /* @__PURE__ */ i(oo, { tail: !0, children: /* @__PURE__ */ i(dm, { type: "dots" }) }) : (e === qt || e === Tr) && t && t.length >= Es ? /* @__PURE__ */ i(Ns, { fallback: /* @__PURE__ */ i("span", {}), children: /* @__PURE__ */ i(
9995
+ Pm,
9989
9996
  {
9990
9997
  role: e,
9991
9998
  content: t,
@@ -9996,7 +10003,7 @@ const Pm = ({ content: e }) => /* @__PURE__ */ i(
9996
10003
  }
9997
10004
  ) }) : null;
9998
10005
  }
9999
- ), Bm = () => {
10006
+ ), Lm = () => {
10000
10007
  const { messages: e } = Xe(), t = e ? e.map((r, a) => r.role === qt ? a : -1).filter((r) => r !== -1).pop() : -1;
10001
10008
  return e && e.length > 0 ? /* @__PURE__ */ i("div", { className: "space-y-6 mt-2 @container", children: e?.map((r, a) => {
10002
10009
  let s;
@@ -10012,7 +10019,7 @@ const Pm = ({ content: e }) => /* @__PURE__ */ i(
10012
10019
  }), c = o && o.length > 0 ? o.filter(Boolean).join(`
10013
10020
  `) : void 0, l = r.role === qt && a === t;
10014
10021
  return /* @__PURE__ */ i(
10015
- Lm,
10022
+ Mm,
10016
10023
  {
10017
10024
  role: r.role,
10018
10025
  content: c,
@@ -10023,7 +10030,7 @@ const Pm = ({ content: e }) => /* @__PURE__ */ i(
10023
10030
  n
10024
10031
  );
10025
10032
  }) }) : null;
10026
- }, Dm = () => {
10033
+ }, Bm = () => {
10027
10034
  const { isAuthenticated: e } = Ve(), { ref: t, inViewport: r } = Di(), a = R(null), s = R(null), {
10028
10035
  state: { footerPosition: n, footerHeight: o, footerOffset: c }
10029
10036
  } = X(ca), {
@@ -10045,12 +10052,12 @@ const Pm = ({ content: e }) => /* @__PURE__ */ i(
10045
10052
  }, [n, o, c]), /* @__PURE__ */ T(ue, { children: [
10046
10053
  /* @__PURE__ */ T("div", { className: u, ref: a, children: [
10047
10054
  /* @__PURE__ */ i(No, { className: f }),
10048
- /* @__PURE__ */ i(Bm, {}),
10055
+ /* @__PURE__ */ i(Lm, {}),
10049
10056
  /* @__PURE__ */ i("div", { ref: t, className: "scroll-marker" }),
10050
10057
  /* @__PURE__ */ i("div", { ref: s, className: "pt-20" })
10051
10058
  ] }),
10052
10059
  /* @__PURE__ */ i(
10053
- Lh,
10060
+ Mh,
10054
10061
  {
10055
10062
  show: !r && n === qe,
10056
10063
  bottom: m.current,
@@ -10171,7 +10178,7 @@ function uo({
10171
10178
  className: Oa({
10172
10179
  extraClass: "mt-5"
10173
10180
  }),
10174
- children: /* @__PURE__ */ i(Mh, { isComponent: e })
10181
+ children: /* @__PURE__ */ i(Ph, { isComponent: e })
10175
10182
  }
10176
10183
  ),
10177
10184
  /* @__PURE__ */ i(
@@ -10185,10 +10192,10 @@ function uo({
10185
10192
  style: {
10186
10193
  height: s
10187
10194
  },
10188
- children: /* @__PURE__ */ i(Dm, {})
10195
+ children: /* @__PURE__ */ i(Bm, {})
10189
10196
  }
10190
10197
  ),
10191
- /* @__PURE__ */ i(Ch, { isComponent: e })
10198
+ /* @__PURE__ */ i(xh, { isComponent: e })
10192
10199
  ]
10193
10200
  }
10194
10201
  )
@@ -10200,28 +10207,28 @@ function uo({
10200
10207
  );
10201
10208
  }
10202
10209
  uo.displayName = "App";
10203
- const of = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: uo }, Symbol.toStringTag, { value: "Module" }));
10210
+ const nf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: uo }, Symbol.toStringTag, { value: "Module" }));
10204
10211
  export {
10205
- of as App,
10206
- Lh as ButtonScroll,
10212
+ nf as App,
10213
+ Mh as ButtonScroll,
10207
10214
  Zs as CHAT_SET_PROVIDER,
10208
10215
  at as CHAT_SET_STATUS,
10209
10216
  be as ChatContext,
10210
10217
  Ye as ConfirmationPanel,
10211
- Wm as De,
10218
+ Fm as De,
10212
10219
  Gt as E,
10213
10220
  ft as E$1,
10214
- ef as Ee,
10215
- Gm as Fe,
10216
- Km as Ge,
10217
- jm as He,
10221
+ Zm as Ee,
10222
+ jm as Fe,
10223
+ Gm as Ge,
10224
+ Wm as He,
10218
10225
  oa as HistoryContext,
10219
10226
  ss as LazyToastContainerWrapper,
10220
- dm as Me,
10227
+ lm as Me,
10221
10228
  oo as Oe,
10222
10229
  wc as Pe,
10223
10230
  ze as SERVICE_TYPES,
10224
- qm as Ye,
10231
+ Jm as Ye,
10225
10232
  bi as a,
10226
10233
  na as a$1,
10227
10234
  fi as a$2,
@@ -10230,21 +10237,21 @@ export {
10230
10237
  Fi as i,
10231
10238
  In as i$1,
10232
10239
  en as mutateCall,
10233
- tf as nt,
10240
+ ef as nt,
10234
10241
  Si as p,
10235
10242
  di as p$1,
10236
- Jm as qe,
10243
+ Km as qe,
10237
10244
  Rc as setNewProvider,
10238
- nf as showErrorToast,
10245
+ sf as showErrorToast,
10239
10246
  Xn as showSuccessToast,
10240
10247
  $e as st,
10241
- th as tt,
10248
+ eh as tt,
10242
10249
  Xe as useAiChat,
10243
- Qm as useChangelogs,
10250
+ Ym as useChangelogs,
10244
10251
  Cn as useChatsHistory,
10245
- Zm as useChatsUsage,
10246
- Ym as useServerCapabilities,
10247
- Xm as useUserChatStats,
10252
+ Xm as useChatsUsage,
10253
+ qm as useServerCapabilities,
10254
+ Qm as useUserChatStats,
10248
10255
  Xt as useUserPreferences,
10249
10256
  Rn as y
10250
10257
  };