@versini/sassysaint 8.107.3 → 8.107.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/chunks/{AboutChangelog.BmMVyf-Q.js → AboutChangelog.DeRcKN5H.js} +2 -2
  2. package/dist/chunks/{AboutEntry.wD5hG0ON.js → AboutEntry.6mTHwkfb.js} +7 -7
  3. package/dist/chunks/{App.FyINLNSp.js → App.DTjbiLAP.js} +1746 -1908
  4. package/dist/chunks/{Bubble.Ci-pu6NI.js → Bubble.ltolxxta.js} +47 -74
  5. package/dist/chunks/{Chart.DYVf2gst.js → Chart.BzOmOhOW.js} +2 -2
  6. package/dist/chunks/{ChatBubbleAssistant.CD6bVvcQ.js → ChatBubbleAssistant.lGE_8ao1.js} +199 -208
  7. package/dist/chunks/{ChatBubbleUser.Cre3cX04.js → ChatBubbleUser.DC661ePq.js} +27 -36
  8. package/dist/chunks/{ChatHistoryTable.D_kOkWN9.js → ChatHistoryTable.BkRFWpsA.js} +108 -121
  9. package/dist/chunks/{Table.Dzy9ts3i.js → DeleteButtonIcon.P0LgJDjE.js} +125 -104
  10. package/dist/chunks/{HistoryEntry.BFNME4Z8.js → HistoryEntry.uUjsDuT0.js} +6 -6
  11. package/dist/chunks/{LoginEntry.SW7wyEpU.js → LoginEntry.BGZdTDwf.js} +4 -4
  12. package/dist/chunks/{LogoEntry.BAKpdJEy.js → LogoEntry.Bpddd0yA.js} +304 -385
  13. package/dist/chunks/{MemoriesEntry.Ztyx_8Wm.js → MemoriesEntry.BYQm9cuU.js} +164 -169
  14. package/dist/chunks/{ProfileEntry.CjzAusYw.js → ProfileEntry.BqcZXSeT.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.D4IKmfYP.js → SettingsEntry.BdC5Vyof.js} +5 -5
  16. package/dist/chunks/{UsageEntry.D7sTPflE.js → UsageEntry._O8Q6TwS.js} +5 -5
  17. package/dist/chunks/index.Bi0z4EE1.js +90 -0
  18. package/dist/chunks/{index.BI1_ccPN.js → index.BlviGqw0.js} +3 -3
  19. package/dist/chunks/{index.BfTDtoYy.js → index.BxbWxVtd.js} +1 -1
  20. package/dist/chunks/index.C70LcKzU.js +279 -0
  21. package/dist/chunks/{index.BT3Do9Po.js → index.CYcieK1H.js} +34 -43
  22. package/dist/chunks/{index.QiLu2wkI.js → index.CaofbEIP.js} +2 -2
  23. package/dist/chunks/{index.DBovegdE.js → index.D2nN0rC6.js} +1 -1
  24. package/dist/chunks/{index.uILjvEfo.js → index.DG-VhqKw.js} +1 -1
  25. package/dist/chunks/{index.16gcBvke.js → index.DuxTgnco.js} +60 -69
  26. package/dist/chunks/{index.DJlv39cv.js → index.s8Izh8-Q.js} +2 -2
  27. package/dist/chunks/{useMarkdown.BberHabr.js → useMarkdown.DjEZz9lH.js} +315 -324
  28. package/dist/components/SassySaint/SassySaint.js +1 -1
  29. package/dist/index.js +3 -3
  30. package/dist/style.css +1 -1
  31. package/package.json +5 -5
  32. package/dist/chunks/index.BjnVQ4X3.js +0 -99
  33. package/dist/chunks/index.uVDYkuxz.js +0 -297
@@ -1,9 +1,9 @@
1
1
  import { jsxs as t, Fragment as H, jsx as e } from "react/jsx-runtime";
2
- import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.FyINLNSp.js";
3
- import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.BAKpdJEy.js";
2
+ import { preloadToast as K, showSuccessToast as O, showErrorToast as W, ConfirmationPanel as Y, LazyToastContainerWrapper as $, Panel as V, CancelButton as q } from "./App.DTjbiLAP.js";
3
+ import { useUniqueId as J, CARDS as s, L as u, j as i, Button as Q, ButtonIcon as X, IconPasskey as L, PROFILE_TITLE as Z } from "./LogoEntry.Bpddd0yA.js";
4
4
  import { useState as m, useMemo as ee, useCallback as N, useRef as ae } from "react";
5
- import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.QiLu2wkI.js";
6
- import { Card as h } from "./index.BT3Do9Po.js";
5
+ import { n as ne, useUserPreferences as se, useServerCapabilities as re, p as te, setUserPlan as le, renderDataAsList as ie, st as ce, isTauri as oe } from "./index.CaofbEIP.js";
6
+ import { Card as h } from "./index.CYcieK1H.js";
7
7
  import de from "clsx";
8
8
  const me = () => {
9
9
  const {
@@ -1,9 +1,9 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
- import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.QiLu2wkI.js";
3
- import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as Ee, PROMPTS_DESCRIPTION as tt, L as ot, j as pe, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.BAKpdJEy.js";
4
- import { Card as f } from "./index.BT3Do9Po.js";
5
- import { useCapability as be, useLocalStorage as Te, Panel as st, Toggle as l, CancelButton as at } from "./App.FyINLNSp.js";
6
- import { TextArea as Ne } from "./index.uVDYkuxz.js";
2
+ import { n as Ve, useEntitlements as Fe, useUserPreferences as We, w as ie, LOCAL_STORAGE_OLED_MODE as $e, LOCAL_STORAGE_FULL_SCREEN as ze, e as de, canEvaluateModels as He, W as Ye, getCacheInfo as qe, isServiceWorkerEnabled as Ke, V as Qe, K as ue, applyOledMode as me, getCurrentGeoLocation as Je, graphQLRequest as he, handleServiceWorkerToggle as Xe, SERVICE_TYPES as fe } from "./index.CaofbEIP.js";
3
+ import { AppContext as Ze, SETTINGS_TITLE as et, CARDS as r, Button as Ee, PROMPTS_DESCRIPTION as tt, L as ot, j as pe, APP_SET_OLED_MODE as Se, APP_SET_FULL_SCREEN as ge } from "./LogoEntry.Bpddd0yA.js";
4
+ import { Card as f } from "./index.CYcieK1H.js";
5
+ import { useCapability as be, useLocalStorage as Te, Panel as st, Toggle as l, CancelButton as at } from "./App.DTjbiLAP.js";
6
+ import { TextArea as Ne } from "./index.C70LcKzU.js";
7
7
  import { useRef as nt, useContext as rt, useState as s, useMemo as lt, useCallback as ct, useEffect as Ce } from "react";
8
8
  const pt = ({
9
9
  open: ye,
@@ -1,8 +1,8 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
- import { n as X, useUserChatStats as Z, LOCAL_STORAGE_PREFIX as M, LOCAL_STORAGE_USAGE_VIEW_MODE as J, LOCAL_STORAGE_USAGE_TIME_RANGE as Q, LOCAL_STORAGE_USAGE_SELECTED_MONTH as $, useChatsUsage as ee, renderDataAsList as te } from "./index.QiLu2wkI.js";
3
- import { useUniqueId as ne, TIME_RANGES as e, USAGE_TITLE as re, CARDS as T, L as h, j as c, TIME_RANGE_LABELS as k, MONTHS as N, ButtonIcon as u, IconChart as le, IconSelected as H, IconUnSelected as b, IconPrevious as se, IconNext as ae } from "./LogoEntry.BAKpdJEy.js";
4
- import { Card as P } from "./index.BT3Do9Po.js";
5
- import { useLocalStorage as g, Panel as oe, DropdownMenu as ie, DropdownMenuGroupLabel as ce, DropdownMenuItem as G, DropdownMenuSub as de, CancelButton as Te, pluralize as D } from "./App.FyINLNSp.js";
2
+ import { n as X, useUserChatStats as Z, LOCAL_STORAGE_PREFIX as M, LOCAL_STORAGE_USAGE_VIEW_MODE as J, LOCAL_STORAGE_USAGE_TIME_RANGE as Q, LOCAL_STORAGE_USAGE_SELECTED_MONTH as $, useChatsUsage as ee, renderDataAsList as te } from "./index.CaofbEIP.js";
3
+ import { useUniqueId as ne, TIME_RANGES as e, USAGE_TITLE as re, CARDS as T, L as h, j as c, TIME_RANGE_LABELS as k, MONTHS as N, ButtonIcon as u, IconChart as le, IconSelected as H, IconUnSelected as b, IconPrevious as se, IconNext as ae } from "./LogoEntry.Bpddd0yA.js";
4
+ import { Card as P } from "./index.CYcieK1H.js";
5
+ import { useLocalStorage as g, Panel as oe, DropdownMenu as ie, DropdownMenuGroupLabel as ce, DropdownMenuItem as G, DropdownMenuSub as de, CancelButton as Te, pluralize as D } from "./App.DTjbiLAP.js";
6
6
  import { useRef as ue, useState as U, Suspense as Ee, lazy as Se } from "react";
7
7
  const a = [0, 3, 6, 9], s = {
8
8
  TOKEN: "token",
@@ -16,7 +16,7 @@ const a = [0, 3, 6, 9], s = {
16
16
  ], Ae = Se(
17
17
  () => import(
18
18
  /* webpackChunkName: "chart-highcharts" */
19
- "./Chart.DYVf2gst.js"
19
+ "./Chart.BzOmOhOW.js"
20
20
  )
21
21
  ), Ne = ({
22
22
  open: v,
@@ -0,0 +1,90 @@
1
+ import { jsx as O } from "react/jsx-runtime";
2
+ import C from "clsx";
3
+ import { useRef as i, useReducer as L, useEffect as g } from "react";
4
+ const c = "SET_ANNOUNCEMENT", E = "CLEAR_ANNOUNCEMENT", v = {
5
+ alert: null,
6
+ alertdialog: null,
7
+ log: "polite",
8
+ marquee: null,
9
+ progressbar: null,
10
+ status: "polite",
11
+ timer: "assertive"
12
+ }, y = (t, e) => {
13
+ switch (e?.type) {
14
+ case c:
15
+ return {
16
+ ...t,
17
+ announcement: e.payload
18
+ };
19
+ case E:
20
+ return {
21
+ ...t,
22
+ announcement: null
23
+ };
24
+ default:
25
+ return t;
26
+ }
27
+ }, R = ({ onAnnouncementClear: t, dispatch: e }) => {
28
+ e({
29
+ type: E
30
+ }), typeof t == "function" && t();
31
+ }, N = ({ children: t, clearAnnouncementDelay: e, clearAnnouncementTimeoutRef: r, onAnnouncementClear: s, dispatch: o }) => {
32
+ clearTimeout(r.current), t !== null && o({
33
+ type: c,
34
+ payload: t
35
+ }), e && (r.current = setTimeout(() => R({
36
+ onAnnouncementClear: s,
37
+ dispatch: o
38
+ }), e));
39
+ }, U = ({ children: t, announcementTimeoutRef: e, announcementDelay: r, clearAnnouncementDelay: s, clearAnnouncementTimeoutRef: o, onAnnouncementClear: u, dispatch: l }) => {
40
+ clearTimeout(e.current), r ? e.current = setTimeout(N, r, {
41
+ children: t,
42
+ clearAnnouncementDelay: s,
43
+ clearAnnouncementTimeoutRef: o,
44
+ onAnnouncementClear: u,
45
+ dispatch: l
46
+ }) : N({
47
+ children: t,
48
+ clearAnnouncementDelay: s,
49
+ clearAnnouncementTimeoutRef: o,
50
+ onAnnouncementClear: u,
51
+ dispatch: l
52
+ });
53
+ };
54
+ function x({ children: t, className: e, politeness: r, role: s = null, announcementDelay: o, clearAnnouncementDelay: u, onAnnouncementClear: l, visible: f, ...a }) {
55
+ const p = i(null), T = i(null), [m, _] = L(y, {
56
+ announcement: null
57
+ });
58
+ let n = r;
59
+ typeof n > "u" && (n = s ? v[s] : "assertive"), g(() => {
60
+ U({
61
+ announcementTimeoutRef: p,
62
+ announcementDelay: o,
63
+ children: t,
64
+ clearAnnouncementDelay: u,
65
+ clearAnnouncementTimeoutRef: T,
66
+ onAnnouncementClear: l,
67
+ dispatch: _
68
+ });
69
+ }, [
70
+ t,
71
+ o,
72
+ u,
73
+ l
74
+ ]);
75
+ const d = C(e, {
76
+ "sr-only": !f
77
+ });
78
+ return /* @__PURE__ */ O("div", {
79
+ "aria-live": n,
80
+ ...s && {
81
+ role: s
82
+ },
83
+ className: d,
84
+ ...a,
85
+ children: m.announcement
86
+ });
87
+ }
88
+ export {
89
+ x as LiveRegion
90
+ };
@@ -1,6 +1,6 @@
1
- import { getDefaultExportFromCjs as kn } from "./App.FyINLNSp.js";
2
- import { visit as In } from "./useMarkdown.BberHabr.js";
3
- import { toText as Cn } from "./index.DBovegdE.js";
1
+ import { getDefaultExportFromCjs as kn } from "./App.DTjbiLAP.js";
2
+ import { visit as In } from "./useMarkdown.DjEZz9lH.js";
3
+ import { toText as Cn } from "./index.D2nN0rC6.js";
4
4
  function xn(e) {
5
5
  const t = e.regex, i = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), a = "decltype\\(auto\\)", r = "[a-zA-Z_]\\w*::", d = "(?!struct)(" + a + "|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", c = {
6
6
  className: "type",
@@ -1,4 +1,4 @@
1
- import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.BberHabr.js";
1
+ import { convert as se, visitParents as Me, unicodeWhitespace as I, unicodePunctuation as N, normalizeIdentifier as _, classifyCharacter as W, visit as _e, toString as ce, EXIT as Oe, asciiAlphanumeric as Z, asciiAlpha as P, markdownLineEndingOrSpace as A, asciiControl as je, blankLine as Be, factorySpace as S, splice as q, resolveAll as We, markdownLineEnding as R, markdownSpace as T, combineExtensions as $e } from "./useMarkdown.DjEZz9lH.js";
2
2
  import { longestStreak as qe } from "./index.Cyw5OC0t.js";
3
3
  function ne(e, n) {
4
4
  const t = String(e);
@@ -0,0 +1,279 @@
1
+ import { jsxs as ne, jsx as k } from "react/jsx-runtime";
2
+ import { useMergeRefs as oe, useResizeObserver as W, useUniqueId as ce } from "./LogoEntry.Bpddd0yA.js";
3
+ import le, { useState as L, useEffect as ie, useRef as b, useLayoutEffect as _ } from "react";
4
+ import { LiveRegion as ue } from "./index.Bi0z4EE1.js";
5
+ import o from "clsx";
6
+ function de({ value: e, defaultValue: a, finalValue: r, onChange: s = () => {
7
+ }, initialControlledDelay: t = 0 }) {
8
+ const [n, l] = L(!1), [i, u] = L(a !== void 0 ? a : r), x = (p) => {
9
+ u(p), s?.(p);
10
+ };
11
+ return ie(() => {
12
+ (async () => e !== void 0 && !n && t > 0 && (await new Promise((p) => setTimeout(p, t)), l(!0)))();
13
+ }, [
14
+ e,
15
+ t,
16
+ n
17
+ ]), e !== void 0 ? !n && t > 0 ? [
18
+ "",
19
+ s,
20
+ !0
21
+ ] : [
22
+ e,
23
+ s,
24
+ !0
25
+ ] : [
26
+ i,
27
+ x,
28
+ !1
29
+ ];
30
+ }
31
+ const B = "av-text-area", fe = "av-text-area-wrapper", I = "av-text-area-helper-text", xe = "av-text-area__control--right", pe = "av-text-area__control--left", ye = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", he = ({ mode: e }) => o({
32
+ "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
33
+ "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
34
+ "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
35
+ "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
36
+ }), ge = ({ focusMode: e }) => o("focus:outline-2 focus:outline-offset-2", {
37
+ "focus:outline-focus-dark": e === "dark",
38
+ "focus:outline-focus-light": e === "light",
39
+ "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
40
+ "focus:outline-focus-dark dark:focus:outline-focus-light": e === "system"
41
+ }), ke = ({ noBorder: e, error: a }) => o("border-2", {
42
+ "border-border-dark": !e && !a,
43
+ "focus:border-border-dark": !e && a,
44
+ "border-border-error-dark": !e && a,
45
+ "border-transparent": e
46
+ }), Ae = ({ disabled: e, raw: a, error: r, mode: s, leftElement: t, rightElement: n }) => {
47
+ if (a)
48
+ return "";
49
+ if (e)
50
+ return o("transform translate-y-0 scale-100 absolute px-2 cursor-not-allowed opacity-50 font-medium", {
51
+ "translate-x-2.5": n === !0 && !t || !n && !t
52
+ });
53
+ if (!r)
54
+ return o("absolute px-2 cursor-text font-medium transform translate-y-0 scale-100", {
55
+ "translate-x-2.5": n === !0 && !t || !n && !t,
56
+ "text-copy-medium": s === "dark",
57
+ "text-copy-dark": s === "light",
58
+ "text-copy-dark dark:text-copy-medium": s === "system",
59
+ "text-copy-medium dark:text-copy-dark": s === "alt-system"
60
+ });
61
+ if (r)
62
+ return o("absolute px-2 cursor-text font-medium transform translate-y-0 scale-100", {
63
+ "translate-x-2.5": n === !0 && !t || !n && !t,
64
+ "text-copy-medium": s === "dark",
65
+ "text-copy-error-dark": s === "light",
66
+ "text-copy-error-dark dark:text-copy-error-light": s === "system",
67
+ "text-copy-medium dark:text-copy-error-dark": s === "alt-system"
68
+ });
69
+ }, Te = ({ error: e, raw: a, mode: r, disabled: s }) => {
70
+ if (a)
71
+ return "";
72
+ if (s)
73
+ return o(I, "absolute px-2 cursor-not-allowed opacity-50 font-medium");
74
+ if (!e)
75
+ return o(I, "absolute px-2 font-medium", {
76
+ "text-copy-medium": r === "dark",
77
+ "text-copy-dark": r === "light",
78
+ "text-copy-dark dark:text-copy-medium": r === "system",
79
+ "text-copy-medium dark:text-copy-dark": r === "alt-system"
80
+ });
81
+ if (e)
82
+ return o(I, "absolute px-2 font-medium", {
83
+ "text-copy-error-light": r === "dark",
84
+ "text-copy-error-dark": r === "light",
85
+ "text-copy-error-dark dark:text-copy-error-light": r === "system",
86
+ "dark:text-copy-error-dark text-copy-error-light": r === "alt-system"
87
+ });
88
+ }, be = ({ className: e, textAreaClassName: a, raw: r, focusMode: s, disabled: t, noBorder: n, error: l, mode: i, leftElement: u, rightElement: x }) => {
89
+ const p = r ? e : o("relative flex w-full flex-col justify-center", fe, e), N = r ? o(a) : o(B, a, ye(), he({
90
+ mode: i
91
+ }), ge({
92
+ focusMode: s
93
+ }), ke({
94
+ noBorder: n,
95
+ error: l
96
+ }), {
97
+ "disabled:cursor-not-allowed disabled:opacity-50": t
98
+ }), E = r ? void 0 : "sr-only", C = Ae({
99
+ disabled: t,
100
+ raw: r,
101
+ error: l,
102
+ mode: i,
103
+ rightElement: x,
104
+ leftElement: u
105
+ }), d = Te({
106
+ error: l,
107
+ raw: r,
108
+ mode: i,
109
+ disabled: t
110
+ }), m = r ? void 0 : o(xe, "absolute"), y = r ? void 0 : o(pe, "absolute");
111
+ return {
112
+ wrapper: p,
113
+ textArea: N,
114
+ accessibleLabel: E,
115
+ visibleLabel: C,
116
+ helperText: d,
117
+ rightElement: m,
118
+ leftElement: y
119
+ };
120
+ }, me = ({ scrollHeight: e, currentHeight: a, currentLabelOffset: r = 0, currentHelperTextOffset: s = 0 }) => {
121
+ let l, i;
122
+ if (e > 0 && e !== a) {
123
+ const u = e - a, x = Math.abs(u / 24);
124
+ l = r + -1 * Math.sign(u) * (12 * x), i = s + Math.sign(u) * (12 * x);
125
+ }
126
+ return {
127
+ labelOffset: l,
128
+ helperTextOffset: i,
129
+ scrollHeight: e
130
+ };
131
+ }, Re = /* @__PURE__ */ le.forwardRef(({ id: e, name: a, label: r, error: s = !1, raw: t = !1, className: n, textAreaClassName: l, mode: i = "system", focusMode: u = "system", value: x, defaultValue: p, disabled: N = !1, noBorder: E = !1, labelId: C, helperText: d = "", helperTextOnFocus: m = !1, rightElement: y, leftElement: A, onChange: P, onFocus: F, onBlur: $, ...D }, Y) => {
132
+ const f = b(null), z = oe([
133
+ Y,
134
+ f
135
+ ]), [q, O] = W(), [V, T] = W(), H = b(80), M = b(-25), v = b(null), w = b(30), X = b(null), R = ce({
136
+ id: e,
137
+ prefix: `${B}-`
138
+ }), [U, J] = L(0), [j, K] = L(0), [Q, G] = L(!!(!m && d)), Z = `${a} error, ${d}`, g = be({
139
+ className: n,
140
+ textAreaClassName: l,
141
+ error: s,
142
+ raw: t,
143
+ focusMode: u,
144
+ disabled: N,
145
+ noBorder: E,
146
+ mode: i,
147
+ rightElement: !!y,
148
+ leftElement: !!A
149
+ }), [h, ee] = de({
150
+ value: x,
151
+ initialControlledDelay: 20,
152
+ defaultValue: p,
153
+ onChange: (c) => {
154
+ P && P({
155
+ target: {
156
+ value: c
157
+ }
158
+ });
159
+ }
160
+ }), te = (c) => {
161
+ ee(c.target.value);
162
+ }, re = (c) => {
163
+ m && d && G(!0), F && F(c);
164
+ }, se = (c) => {
165
+ m && d && !h && G(!1), $ && $(c);
166
+ };
167
+ return _(() => {
168
+ O && O.width && J(O.width + 18 + 10);
169
+ }, [
170
+ O
171
+ ]), _(() => {
172
+ T && T.width && K(T.width + 18 + 10);
173
+ }, [
174
+ T
175
+ ]), _(() => {
176
+ t || f && f.current && h !== void 0 && (f.current.style.height = "inherit", f.current.style.height = f.current.scrollHeight + "px");
177
+ }, [
178
+ h,
179
+ t
180
+ ]), _(() => {
181
+ t || setTimeout(() => {
182
+ v?.current?.style.setProperty("--av-text-area-wrapper-transition", h ? "none" : "all 0.2s ease-out");
183
+ }, 0);
184
+ }, [
185
+ h,
186
+ t
187
+ ]), _(() => {
188
+ if (!t && f && f.current && h !== void 0) {
189
+ const { labelOffset: c, helperTextOffset: S, scrollHeight: ae } = me({
190
+ scrollHeight: f.current.scrollHeight,
191
+ currentHeight: H.current,
192
+ currentLabelOffset: M.current,
193
+ currentHelperTextOffset: w.current
194
+ });
195
+ c && (M.current = c, v?.current?.style.setProperty("--av-text-area-label", `${c}px`)), S && (w.current = S, X?.current?.style.setProperty("--av-text-area-helper-text", `${S}px`)), H.current = ae || H.current;
196
+ }
197
+ }, [
198
+ h,
199
+ t
200
+ ]), T.width > 0 && v?.current?.style.setProperty("--tw-translate-x", `${12 + T.width + 5}px`), /* @__PURE__ */ ne("div", {
201
+ className: g.wrapper,
202
+ children: [
203
+ /* @__PURE__ */ k("label", {
204
+ htmlFor: R,
205
+ id: C,
206
+ className: g.accessibleLabel,
207
+ children: r
208
+ }),
209
+ A && /* @__PURE__ */ k("div", {
210
+ ref: V,
211
+ className: g.leftElement,
212
+ children: A
213
+ }),
214
+ /* @__PURE__ */ k("textarea", {
215
+ ref: z,
216
+ id: R,
217
+ name: a,
218
+ disabled: N,
219
+ placeholder: t ? void 0 : " ",
220
+ className: g.textArea,
221
+ rows: 1,
222
+ ...d && {
223
+ "aria-describedby": `${R}-helper`
224
+ },
225
+ ...s && {
226
+ "aria-invalid": "true"
227
+ },
228
+ ...y && !A && !t && {
229
+ style: {
230
+ paddingRight: U
231
+ }
232
+ },
233
+ ...A && !y && !t && {
234
+ style: {
235
+ paddingLeft: j
236
+ }
237
+ },
238
+ ...y && A && !t && {
239
+ style: {
240
+ paddingRight: U,
241
+ paddingLeft: j
242
+ }
243
+ },
244
+ value: h,
245
+ onChange: te,
246
+ onFocus: re,
247
+ onBlur: se,
248
+ ...D
249
+ }),
250
+ !t && /* @__PURE__ */ k("label", {
251
+ ref: v,
252
+ "aria-hidden": !0,
253
+ htmlFor: R,
254
+ className: `${g.visibleLabel}`,
255
+ children: r
256
+ }),
257
+ Q && /* @__PURE__ */ k("div", {
258
+ ref: X,
259
+ id: `${R}-helper`,
260
+ className: g.helperText,
261
+ children: d
262
+ }),
263
+ y && /* @__PURE__ */ k("div", {
264
+ ref: q,
265
+ className: g.rightElement,
266
+ children: y
267
+ }),
268
+ s && d && /* @__PURE__ */ k(ue, {
269
+ politeness: "polite",
270
+ clearAnnouncementDelay: 500,
271
+ children: Z
272
+ })
273
+ ]
274
+ });
275
+ });
276
+ Re.displayName = "TextArea";
277
+ export {
278
+ Re as TextArea
279
+ };
@@ -1,81 +1,72 @@
1
- import { jsx as o, jsxs as _ } from "react/jsx-runtime";
2
- import { useUniqueId as x } from "./LogoEntry.BAKpdJEy.js";
1
+ import { jsx as o, jsxs as x } from "react/jsx-runtime";
2
+ import { useUniqueId as v } from "./LogoEntry.Bpddd0yA.js";
3
3
  import u from "clsx";
4
- try {
5
- window.__VERSINI_UI_CARD__ || (window.__VERSINI_UI_CARD__ = {
6
- version: "6.0.1",
7
- buildTime: "12/24/2025 09:20 AM EST",
8
- homepage: "https://www.npmjs.com/package/@versini/ui-card",
9
- license: "MIT"
10
- });
11
- } catch {
12
- }
13
- const f = "av-card", I = ({ className: e, headerClassName: d, bodyClassName: c, footerClassName: t, mode: r, compact: i, noBorder: n }) => {
4
+ const f = "av-card", A = ({ className: d, headerClassName: e, bodyClassName: c, footerClassName: t, mode: r, compact: l, noBorder: n }) => {
14
5
  const a = u(f, "rounded-md", {
15
6
  "border-none": n,
16
7
  border: !n,
17
- "p-4": !i,
18
- "p-1 sm:p-2": i,
8
+ "p-4": !l,
9
+ "p-1 sm:p-2": l,
19
10
  "border-border-accent bg-surface-darker text-copy-light": r === "darker",
20
11
  "border-border-accent bg-surface-dark text-copy-light": r === "dark",
21
12
  "border-border-dark bg-surface-lighter text-copy-dark": r === "light",
22
13
  "border-border-dark bg-surface-lighter text-copy-dark dark:border-border-accent dark:bg-surface-dark dark:text-copy-light": r === "system",
23
14
  "border-border-accent bg-surface-dark text-copy-light dark:border-border-dark dark:bg-surface-lighter dark:text-copy-dark": r === "alt-system"
24
- }, e), g = d || u(`${f}__header mt-0 border-b`, {
15
+ }, d), k = e || u(`${f}__header mt-0 border-b`, {
25
16
  "text-copy-light border-border-accent": r === "darker",
26
17
  "border-border-accent": r === "dark",
27
18
  "border-border-medium": r === "light",
28
19
  "border-border-medium dark:border-border-accent": r === "system",
29
20
  "border-border-accent dark:border-border-medium": r === "alt-system",
30
- "mb-4": !i,
31
- "mb-2": i
32
- }), k = u(c), p = t || u(`${f}__footer pt-2`);
21
+ "mb-4": !l,
22
+ "mb-2": l
23
+ }), g = u(c), p = t || u(`${f}__footer pt-2`);
33
24
  return {
34
25
  wrapper: a,
35
- header: g,
36
- body: k,
26
+ header: k,
27
+ body: g,
37
28
  footer: p
38
29
  };
39
30
  };
40
- function w({ id: e, content: d, userAriaLabelledby: c, className: t }) {
41
- return typeof d == "string" ? /* @__PURE__ */ o("h2", {
42
- id: e,
31
+ function C({ id: d, content: e, userAriaLabelledby: c, className: t }) {
32
+ return typeof e == "string" ? /* @__PURE__ */ o("h2", {
33
+ id: d,
43
34
  className: t,
44
- children: d
35
+ children: e
45
36
  }) : c ? /* @__PURE__ */ o("div", {
46
37
  className: t,
47
- children: d
48
- }) : d ? /* @__PURE__ */ o("div", {
38
+ children: e
39
+ }) : e ? /* @__PURE__ */ o("div", {
49
40
  className: t,
50
- id: e,
51
- children: d
41
+ id: d,
42
+ children: e
52
43
  }) : null;
53
44
  }
54
- const N = ({ header: e, headerClassName: d, footer: c, footerClassName: t, children: r, className: i, bodyClassName: n, "aria-labelledby": a, mode: g = "system", compact: k = !1, noBorder: p = !1, ...y }) => {
55
- let s = null, l = null;
56
- const h = typeof e == "string", m = x(f), b = I({
57
- className: i,
58
- headerClassName: d,
45
+ const I = ({ header: d, headerClassName: e, footer: c, footerClassName: t, children: r, className: l, bodyClassName: n, "aria-labelledby": a, mode: k = "system", compact: g = !1, noBorder: p = !1, ...m }) => {
46
+ let s = null, i = null;
47
+ const h = typeof d == "string", y = v(f), b = A({
48
+ className: l,
49
+ headerClassName: e,
59
50
  bodyClassName: n,
60
51
  footerClassName: t,
61
- mode: g,
62
- compact: k,
52
+ mode: k,
53
+ compact: g,
63
54
  noBorder: p
64
55
  });
65
- return h ? (s = m, l = s) : !h && e && a ? (s = null, l = a) : !h && e && !a ? (s = m, l = s) : (s = null, l = a || null), /* @__PURE__ */ o("div", {
56
+ return h ? (s = y, i = s) : !h && d && a ? (s = null, i = a) : !h && d && !a ? (s = y, i = s) : (s = null, i = a || null), /* @__PURE__ */ o("div", {
66
57
  className: b.wrapper,
67
- children: /* @__PURE__ */ _("section", {
68
- ...l && {
69
- "aria-labelledby": l
58
+ children: /* @__PURE__ */ x("section", {
59
+ ...i && {
60
+ "aria-labelledby": i
70
61
  },
71
62
  className: b.body,
72
- ...y,
63
+ ...m,
73
64
  children: [
74
- /* @__PURE__ */ o(w, {
65
+ /* @__PURE__ */ o(C, {
75
66
  ...s && {
76
67
  id: s
77
68
  },
78
- content: e,
69
+ content: d,
79
70
  className: b.header,
80
71
  userAriaLabelledby: a
81
72
  }),
@@ -91,5 +82,5 @@ const N = ({ header: e, headerClassName: d, footer: c, footerClassName: t, child
91
82
  });
92
83
  };
93
84
  export {
94
- N as Card
85
+ I as Card
95
86
  };
@@ -5246,11 +5246,11 @@ function go() {
5246
5246
  }
5247
5247
  const Wa = new URL(document.location.href).searchParams, Zt = !!Wa.get("debug") || !1, Ba = tr(() => import(
5248
5248
  /* webpackChunkName: "LazyApp" */
5249
- "./App.FyINLNSp.js"
5249
+ "./App.DTjbiLAP.js"
5250
5250
  ).then((e) => e.App)), Qa = tr(
5251
5251
  () => import(
5252
5252
  /* webpackChunkName: "LazyLogin" */
5253
- "./LoginEntry.SW7wyEpU.js"
5253
+ "./LoginEntry.BGZdTDwf.js"
5254
5254
  )
5255
5255
  ), ja = new Ns(), er = ({
5256
5256
  isComponent: e,
@@ -1,4 +1,4 @@
1
- import { convert as E, convertElement as u } from "./useMarkdown.BberHabr.js";
1
+ import { convert as E, convertElement as u } from "./useMarkdown.DjEZz9lH.js";
2
2
  const f = (
3
3
  // Note: overloads like this are needed to support optional generics.
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.BberHabr.js";
1
+ import { factorySpace as M, markdownLineEnding as g } from "./useMarkdown.DjEZz9lH.js";
2
2
  import { longestStreak as q } from "./index.Cyw5OC0t.js";
3
3
  function b() {
4
4
  return {