@factorialco/f0-react 13.8.0 → 13.9.0
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.
- package/dist/{ArchiveThumbnail-BWmaJU-e.js → ArchiveThumbnail-BMp3YbfD.js} +3 -3
- package/dist/{ArchiveViewer-BCS5O2Lm.js → ArchiveViewer-hEye6_DO.js} +5 -5
- package/dist/{ChatPostComposerDialog-B70a2ifd.js → ChatPostComposerDialog-DvK-F_9b.js} +3 -3
- package/dist/{CoachmarkProvider-Yf3g4I7H.js → CoachmarkProvider-CSyq_SH1.js} +22803 -22302
- package/dist/{CodeThumbnail-t7uhUafH.js → CodeThumbnail-BskK4DTN.js} +1 -1
- package/dist/{CodeViewer-CwhnIZQq.js → CodeViewer-CUVpRfFA.js} +6 -6
- package/dist/{DocumentToolbar-BUQCMtP6.js → DocumentToolbar-lIncsF3z.js} +5 -5
- package/dist/{DocxViewer-1lNOLaA3.js → DocxViewer-BAwGUg5D.js} +3 -3
- package/dist/{F0AiProcessingOverlay-DrGj9rE0.js → F0AiProcessingOverlay-hPOUgmJz.js} +45 -45
- package/dist/{F0Alert-13k-qqDG.js → F0Alert-DWpoDmXm.js} +5 -5
- package/dist/F0AudioPlayer-B87gu5ab.js +2 -0
- package/dist/{F0Button-CxSs_bhW.js → F0Button-DJAGcvGQ.js} +4 -4
- package/dist/{F0CanvasPanel-Dh4gV-qY.js → F0CanvasPanel-BqX2Sult.js} +304 -304
- package/dist/{F0DocumentViewer-CViOPGOd.js → F0DocumentViewer-D8n4cD0X.js} +1 -1
- package/dist/{F0DocumentViewer-foMKH9Vp.js → F0DocumentViewer-bO7PViP1.js} +4 -4
- package/dist/{F0Icon-VifF8rpX.js → F0Icon-CqhIsgzq.js} +1 -1
- package/dist/{F0Map-DK-hI3Ok.js → F0Map-WdDErexm.js} +572 -572
- package/dist/{F0Select-BOphvJId.js → F0Select-CLVnq8Oe.js} +5679 -5679
- package/dist/{F0Text-Bpa7KaaM.js → F0Text-sHWQ6Zjr.js} +2 -2
- package/dist/{F0VideoPlayer-DnYPLTim.js → F0VideoPlayer--6DJybCc.js} +6 -6
- package/dist/F0VideoPlayer-ChcyxpNN.js +1 -0
- package/dist/{HtmlThumbnail-Dq-0M596.js → HtmlThumbnail-aIC6kVaS.js} +1 -1
- package/dist/{HtmlViewer-BHPLaNhE.js → HtmlViewer-bxvjs0HU.js} +9 -9
- package/dist/{LayoutGroup-BWnUhPYF.js → LayoutGroup-CmYTzUe-.js} +15 -15
- package/dist/{Map-DMC3i8yl.js → Map-B9SA_hEH.js} +10 -10
- package/dist/{PdfThumbnail-CKueINHk.js → PdfThumbnail---NygeL_.js} +1 -1
- package/dist/{PdfViewer-DooVnDas.js → PdfViewer-Dzj9Ilu-.js} +13 -13
- package/dist/{SandboxedHtmlFrame-DR9md8QY.js → SandboxedHtmlFrame-Dv21SdxM.js} +2 -2
- package/dist/{SheetViewer-BJ8Mvwkc.js → SheetViewer-CyhOFDVZ.js} +5 -5
- package/dist/{TextViewer-pQIs_OJV.js → TextViewer-CKrr0PDH.js} +4 -4
- package/dist/ai.d.ts +3 -3
- package/dist/ai.js +4 -4
- package/dist/component-status.js +14 -14
- package/dist/{dist-Bp4vM3bZ.js → dist-78QS1RpN.js} +4 -4
- package/dist/{dist-DPcRzPjW.js → dist-B0VLslFD.js} +1 -1
- package/dist/{dist-Cfr_PHiv.js → dist-DvI6nhUB.js} +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +220 -220
- package/dist/{exports-v_F99St1.d.ts → exports-DaVqRnuz.d.ts} +1 -1
- package/dist/f0.d.ts +5 -5
- package/dist/f0.js +1193 -1180
- package/dist/{highlight-BHqxjdF6.js → highlight-DZRNad9z.js} +1 -1
- package/dist/{i18n-provider-BniRK15h.js → i18n-provider-5AmqITig.js} +1 -1
- package/dist/{i18n-provider-defaults-Q9twuwTp.d.ts → i18n-provider-defaults-DztF2sWo.d.ts} +16 -0
- package/dist/{i18n-provider-defaults-BkMw-qG7.js → i18n-provider-defaults-mM2ICqyS.js} +16 -0
- package/dist/i18n-provider-defaults.d.ts +1 -1
- package/dist/i18n-provider-defaults.js +1 -1
- package/dist/{index-BOITzsxP.d.ts → index-C0pYJxas.d.ts} +1 -1
- package/dist/{maplibre-C_u6rvlI.js → maplibre-9SjV58q1.js} +1 -1
- package/dist/{pdfWorker-BAWd_kWz.js → pdfWorker-DMcapWPE.js} +1 -1
- package/dist/{popover-CwQ7JDZU.js → popover-Cw4HYjOL.js} +1 -1
- package/dist/{scrollarea-HcC-Gf8H.js → scrollarea-4p-5wD8d.js} +3 -3
- package/dist/{skeleton-DTPG1VHE.js → skeleton-BWzVGMzP.js} +1 -1
- package/dist/styles.css +1 -1
- package/dist/{toolbarStyles-TdJVpkJ0.js → toolbarStyles-DDsE4J6B.js} +1 -1
- package/dist/{types-NNoGnjGf.d.ts → types-D8tVTeWQ.d.ts} +83 -30
- package/dist/{useData-IY6E4kFy.js → useData-BjMlOMnX.js} +7 -7
- package/package.json +1 -1
- package/dist/F0AudioPlayer-1a2sNIGA.js +0 -2
- package/dist/F0VideoPlayer-CVY4ixC5.js +0 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { o as e, r as t, t as n } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { a as r, i, r as a } from "./i18n-provider-
|
|
3
|
-
import { n as o, t as s } from "./skeleton-
|
|
2
|
+
import { a as r, i, r as a } from "./i18n-provider-5AmqITig.js";
|
|
3
|
+
import { n as o, t as s } from "./skeleton-BWzVGMzP.js";
|
|
4
4
|
import { L as c, R as l, i as u, o as d, r as f, t as p, z as m } from "./tooltip-BX4dSfeL.js";
|
|
5
|
-
import { $ as h, C as g, Ct as _, D as v, E as y, Et as b, G as x, H as S, K as C, L as w, N as T,
|
|
6
|
-
import { t as ke } from "./LayoutGroup-
|
|
7
|
-
import { n as Ae, o as je, t as Me } from "./F0Icon-
|
|
8
|
-
import { B as Ne,
|
|
9
|
-
import { $n as it, $t as at, An as ot,
|
|
5
|
+
import { $ as h, C as g, Ct as _, D as v, E as y, Et as b, G as x, H as S, K as C, L as w, N as T, Q as E, R as D, S as O, T as k, Tt as A, U as j, V as M, W as N, Z as P, _t as ee, at as te, b as ne, c as re, ct as ie, dt as ae, et as oe, ft as se, gt as ce, h as le, it as ue, kt as de, l as fe, lt as F, mt as pe, n as me, nt as he, o as ge, ot as _e, q as ve, r as ye, rt as be, s as xe, t as Se, tt as Ce, u as we, ut as Te, vt as Ee, w as De, wt as Oe } from "./F0Button-DJAGcvGQ.js";
|
|
6
|
+
import { t as ke } from "./LayoutGroup-CmYTzUe-.js";
|
|
7
|
+
import { n as Ae, o as je, t as Me } from "./F0Icon-CqhIsgzq.js";
|
|
8
|
+
import { B as Ne, F as Pe, H as Fe, I as Ie, L as Le, M as Re, N as ze, O as Be, P as Ve, R as He, S as Ue, T as We, V as Ge, b as Ke, d as qe, f as Je, g as Ye, h as Xe, l as Ze, m as Qe, o as $e, s as et, x as tt, y as nt, z as rt } from "./useData-BjMlOMnX.js";
|
|
9
|
+
import { $n as it, $t as at, An as ot, Bn as st, Cn as ct, Cr as lt, Dn as ut, Dr as dt, En as ft, Er as pt, Et as mt, Fn as ht, Gn as gt, Hn as _t, In as vt, J as yt, Jn as bt, Kn as xt, Ln as St, Mn as Ct, Nt as wt, Or as Tt, Pn as Et, Qn as Dt, Rn as Ot, Sr as kt, Tn as At, Tr as jt, Un as Mt, Vn as Nt, W as Pt, Wn as Ft, Xn as It, Yn as Lt, Zn as Rt, _n as zt, _r as Bt, ar as Vt, bn as Ht, br as Ut, cn as Wt, cr as Gt, d as Kt, dr as qt, dt as Jt, en as Yt, er as Xt, fn as Zt, fr as Qt, gr as $t, hn as en, hr as tn, in as nn, ir as rn, jn as an, jt as on, kn as sn, ln as cn, lr as ln, lt as un, mn as dn, mr as fn, mt as pn, nr as mn, pr as hn, pt as gn, q as _n, qn as vn, qt as yn, rr as bn, sr as xn, t as Sn, tr as Cn, un as wn, ur as Tn, vn as En, vr as Dn, wn as On, wr as kn, xr as An, yn as jn, yr as Mn, zn as Nn } from "./F0Select-CLVnq8Oe.js";
|
|
10
10
|
import { t as Pn } from "./Check-DAp9gCRh.js";
|
|
11
|
-
import { a as Fn, i as In, r as Ln, t as Rn } from "./dist-
|
|
11
|
+
import { a as Fn, i as In, r as Ln, t as Rn } from "./dist-B0VLslFD.js";
|
|
12
12
|
import { t as zn } from "./Ellipsis-CBouJQYY.js";
|
|
13
13
|
import { t as Bn } from "./ExternalLink-RdKU698E.js";
|
|
14
14
|
import { n as Vn, t as Hn } from "./LockLocked-gdodYvT_.js";
|
|
15
15
|
import { a as Un, i as Wn, n as Gn, o as Kn, r as qn, t as Jn } from "./localized-CnKvEJya.js";
|
|
16
16
|
import { t as Yn } from "./purify.es-ZpfdAuNV.js";
|
|
17
|
-
import { A as Xn, B as Zn, C as Qn, D as $n, E as er, G as tr, H as nr, K as rr, L as ir, M as ar, N as or, O as sr, P as cr, R as lr, S as ur, T as dr, U as fr, V as pr, _ as mr, a as hr, b as gr, ct as _r, f as vr, ft as yr, g as br, gt as xr, h as Sr, ht as Cr, i as wr, k as Tr, lt as Er, m as Dr, mt as Or, n as kr, p as Ar, q as jr, st as Mr, t as Nr, tt as Pr, ut as Fr, v as Ir, w as Lr, x as Rr, y as zr, z as Br } from "./popover-
|
|
18
|
-
import { c as Vr, n as Hr, r as Ur, s as Wr } from "./scrollarea-
|
|
19
|
-
import { t as Gr } from "./F0Text-
|
|
17
|
+
import { A as Xn, B as Zn, C as Qn, D as $n, E as er, G as tr, H as nr, K as rr, L as ir, M as ar, N as or, O as sr, P as cr, R as lr, S as ur, T as dr, U as fr, V as pr, _ as mr, a as hr, b as gr, ct as _r, f as vr, ft as yr, g as br, gt as xr, h as Sr, ht as Cr, i as wr, k as Tr, lt as Er, m as Dr, mt as Or, n as kr, p as Ar, q as jr, st as Mr, t as Nr, tt as Pr, ut as Fr, v as Ir, w as Lr, x as Rr, y as zr, z as Br } from "./popover-Cw4HYjOL.js";
|
|
18
|
+
import { c as Vr, n as Hr, r as Ur, s as Wr } from "./scrollarea-4p-5wD8d.js";
|
|
19
|
+
import { t as Gr } from "./F0Text-sHWQ6Zjr.js";
|
|
20
20
|
import { a as Kr, n as qr, o as Jr } from "./dist-Cuwaibqg.js";
|
|
21
21
|
import { t as Yr } from "./ownValue-D4uSXt0d.js";
|
|
22
|
-
import { t as Xr } from "./dist-
|
|
23
|
-
import { i as Zr, n as Qr, r as $r, t as ei } from "./dist-
|
|
22
|
+
import { t as Xr } from "./dist-DvI6nhUB.js";
|
|
23
|
+
import { i as Zr, n as Qr, r as $r, t as ei } from "./dist-78QS1RpN.js";
|
|
24
24
|
import './RichText.css';import './F0CanvasPanel.css';/* empty css */
|
|
25
25
|
import * as I from "react";
|
|
26
26
|
import L, { Children as ti, Component as ni, Fragment as ri, PureComponent as ii, Suspense as ai, cloneElement as oi, createContext as si, createElement as ci, forwardRef as R, isValidElement as li, lazy as ui, memo as di, useCallback as z, useContext as fi, useEffect as B, useId as pi, useImperativeHandle as mi, useLayoutEffect as hi, useMemo as V, useRef as H, useState as U, useSyncExternalStore as gi } from "react";
|
|
@@ -28,7 +28,7 @@ import { Fragment as _i, jsx as W, jsxs as G } from "react/jsx-runtime";
|
|
|
28
28
|
import vi, { createPortal as yi } from "react-dom";
|
|
29
29
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/value/use-motion-value.mjs
|
|
30
30
|
function bi(e) {
|
|
31
|
-
let t =
|
|
31
|
+
let t = de(() => pe(e)), { isStatic: n } = fi(b);
|
|
32
32
|
if (n) {
|
|
33
33
|
let [, n] = U(e);
|
|
34
34
|
B(() => t.on("change", n), []);
|
|
@@ -43,7 +43,7 @@ function xi(e) {
|
|
|
43
43
|
//#endregion
|
|
44
44
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
|
|
45
45
|
function Si(e, t, n, r) {
|
|
46
|
-
return typeof e == "string" && xi(t) ?
|
|
46
|
+
return typeof e == "string" && xi(t) ? P(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e : [e];
|
|
47
47
|
}
|
|
48
48
|
//#endregion
|
|
49
49
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
|
|
@@ -64,21 +64,21 @@ var Ti = (e, t, n) => {
|
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs
|
|
66
66
|
function Ei(e, t) {
|
|
67
|
-
return
|
|
67
|
+
return ue(e) ? e[Ti(0, e.length, t)] : e;
|
|
68
68
|
}
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/animation/sequence/utils/edit.mjs
|
|
71
71
|
function Di(e, t, n) {
|
|
72
72
|
for (let r = 0; r < e.length; r++) {
|
|
73
73
|
let i = e[r];
|
|
74
|
-
i.at > t && i.at < n && (
|
|
74
|
+
i.at > t && i.at < n && (ce(e, i), r--);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
function Oi(e, t, n, r, i, a) {
|
|
78
78
|
Di(e, i, a);
|
|
79
79
|
for (let o = 0; o < t.length; o++) e.push({
|
|
80
80
|
value: t[o],
|
|
81
|
-
at:
|
|
81
|
+
at: ae(i, a, r[o]),
|
|
82
82
|
easing: Ei(n, o)
|
|
83
83
|
});
|
|
84
84
|
}
|
|
@@ -110,7 +110,7 @@ function Ni(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
|
110
110
|
let [p, m, h = {}] = o;
|
|
111
111
|
h.at !== void 0 && (d = wi(d, h.at, u, l));
|
|
112
112
|
let g = 0, _ = (e, n, r, o = 0, s = 0) => {
|
|
113
|
-
let c = Ii(e), { delay: l = 0, times: u =
|
|
113
|
+
let c = Ii(e), { delay: l = 0, times: u = te(c), type: p = "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = be(p) ? p : i?.[p];
|
|
114
114
|
if (S <= 2 && C) {
|
|
115
115
|
let e = 100;
|
|
116
116
|
if (S === 2 && zi(c)) {
|
|
@@ -118,7 +118,7 @@ function Ni(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
|
118
118
|
e = Math.abs(t);
|
|
119
119
|
}
|
|
120
120
|
let t = { ...v };
|
|
121
|
-
b !== void 0 && (t.duration =
|
|
121
|
+
b !== void 0 && (t.duration = se(b));
|
|
122
122
|
let n = Te(t, e, C);
|
|
123
123
|
y = n.ease, b = n.duration;
|
|
124
124
|
}
|
|
@@ -140,7 +140,7 @@ function Ni(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
|
140
140
|
let E = w + b;
|
|
141
141
|
Oi(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
|
|
142
142
|
};
|
|
143
|
-
if (
|
|
143
|
+
if (ee(p)) {
|
|
144
144
|
let e = Pi(p, s);
|
|
145
145
|
_(m, h, Fi("default", e));
|
|
146
146
|
} else {
|
|
@@ -160,7 +160,7 @@ function Ni(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
|
160
160
|
let s = [], c = [], l = [];
|
|
161
161
|
for (let e = 0; e < a.length; e++) {
|
|
162
162
|
let { at: t, value: n, easing: r } = a[e];
|
|
163
|
-
s.push(n), c.push(
|
|
163
|
+
s.push(n), c.push(ie(0, f, t)), l.push(r || "easeOut");
|
|
164
164
|
}
|
|
165
165
|
c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(ji)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
|
|
166
166
|
keyframes: {},
|
|
@@ -241,7 +241,7 @@ function Hi(e) {
|
|
|
241
241
|
},
|
|
242
242
|
latestValues: {}
|
|
243
243
|
}
|
|
244
|
-
}, n = h(e) && !
|
|
244
|
+
}, n = h(e) && !E(e) ? new N(t) : new x(t);
|
|
245
245
|
n.mount(e), ve.set(e, n);
|
|
246
246
|
}
|
|
247
247
|
function Ui(e) {
|
|
@@ -258,11 +258,11 @@ function Ui(e) {
|
|
|
258
258
|
//#endregion
|
|
259
259
|
//#region ../../node_modules/.pnpm/motion@12.17.0_@emotion+is-prop-valid@1.3.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/motion/dist/es/framer-motion/dist/es/animation/animate/subject.mjs
|
|
260
260
|
function Wi(e, t) {
|
|
261
|
-
return
|
|
261
|
+
return ee(e) || typeof e == "number" || typeof e == "string" && !xi(t);
|
|
262
262
|
}
|
|
263
263
|
function Gi(e, t, n, r) {
|
|
264
264
|
let i = [];
|
|
265
|
-
if (Wi(e, t)) i.push(
|
|
265
|
+
if (Wi(e, t)) i.push(oe(e, xi(t) && t.default || t, n && (n.default || n)));
|
|
266
266
|
else {
|
|
267
267
|
let a = Si(e, t, r), o = a.length;
|
|
268
268
|
Ee(!!o, "No valid elements provided.");
|
|
@@ -5323,11 +5323,11 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5323
5323
|
]
|
|
5324
5324
|
})), Il = /* @__PURE__ */ t({
|
|
5325
5325
|
AcademicCap: () => Qi,
|
|
5326
|
-
Add: () =>
|
|
5326
|
+
Add: () => Fe,
|
|
5327
5327
|
Agentic: () => $i,
|
|
5328
5328
|
Ai: () => ea,
|
|
5329
5329
|
Alert: () => ta,
|
|
5330
|
-
AlertCircle: () =>
|
|
5330
|
+
AlertCircle: () => Tt,
|
|
5331
5331
|
AlertCircleLine: () => na,
|
|
5332
5332
|
AlignTextCenter: () => ra,
|
|
5333
5333
|
AlignTextJustify: () => ia,
|
|
@@ -5337,10 +5337,10 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5337
5337
|
Archive: () => ca,
|
|
5338
5338
|
ArchiveOpen: () => la,
|
|
5339
5339
|
ArrowCycle: () => ua,
|
|
5340
|
-
ArrowDown: () =>
|
|
5341
|
-
ArrowLeft: () =>
|
|
5340
|
+
ArrowDown: () => dt,
|
|
5341
|
+
ArrowLeft: () => pt,
|
|
5342
5342
|
ArrowRight: () => da,
|
|
5343
|
-
ArrowUp: () =>
|
|
5343
|
+
ArrowUp: () => jt,
|
|
5344
5344
|
Ascending: () => fa,
|
|
5345
5345
|
AudioWave: () => pa,
|
|
5346
5346
|
Balance: () => ma,
|
|
@@ -5358,7 +5358,7 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5358
5358
|
Building: () => Ea,
|
|
5359
5359
|
Bullet: () => Da,
|
|
5360
5360
|
CakeFilled: () => Oa,
|
|
5361
|
-
Calculator: () =>
|
|
5361
|
+
Calculator: () => kn,
|
|
5362
5362
|
Calendar: () => ka,
|
|
5363
5363
|
CalendarActive: () => Aa,
|
|
5364
5364
|
CalendarArrowDown: () => ja,
|
|
@@ -5377,10 +5377,10 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5377
5377
|
CheckCircleLine: () => Ha,
|
|
5378
5378
|
CheckDouble: () => Ua,
|
|
5379
5379
|
CheckSquare: () => Wa,
|
|
5380
|
-
ChevronDown: () =>
|
|
5381
|
-
ChevronLeft: () =>
|
|
5382
|
-
ChevronRight: () =>
|
|
5383
|
-
ChevronUp: () =>
|
|
5380
|
+
ChevronDown: () => Ge,
|
|
5381
|
+
ChevronLeft: () => lt,
|
|
5382
|
+
ChevronRight: () => kt,
|
|
5383
|
+
ChevronUp: () => An,
|
|
5384
5384
|
Chip: () => Ga,
|
|
5385
5385
|
Circle: () => Ka,
|
|
5386
5386
|
Clock: () => qa,
|
|
@@ -5398,7 +5398,7 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5398
5398
|
CreditCard: () => ao,
|
|
5399
5399
|
Cross: () => oo,
|
|
5400
5400
|
CrossCircle: () => so,
|
|
5401
|
-
CrossedCircle: () =>
|
|
5401
|
+
CrossedCircle: () => Ne,
|
|
5402
5402
|
Crown: () => co,
|
|
5403
5403
|
CursorClick: () => lo,
|
|
5404
5404
|
Delete: () => uo,
|
|
@@ -5414,19 +5414,19 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5414
5414
|
DottedCircle: () => xo,
|
|
5415
5415
|
Download: () => So,
|
|
5416
5416
|
DropdownDefault: () => Co,
|
|
5417
|
-
DropdownOpen: () =>
|
|
5417
|
+
DropdownOpen: () => Ut,
|
|
5418
5418
|
Ellipsis: () => zn,
|
|
5419
|
-
EllipsisHorizontal: () =>
|
|
5419
|
+
EllipsisHorizontal: () => rt,
|
|
5420
5420
|
Envelope: () => wo,
|
|
5421
5421
|
EnvelopeOpen: () => To,
|
|
5422
|
-
Equal: () =>
|
|
5423
|
-
EqualApproximately: () =>
|
|
5424
|
-
EqualGreater: () =>
|
|
5425
|
-
EqualLess: () =>
|
|
5422
|
+
Equal: () => Mn,
|
|
5423
|
+
EqualApproximately: () => Dn,
|
|
5424
|
+
EqualGreater: () => Bt,
|
|
5425
|
+
EqualLess: () => $t,
|
|
5426
5426
|
Exit: () => Eo,
|
|
5427
5427
|
ExternalLink: () => Bn,
|
|
5428
|
-
EyeInvisible: () =>
|
|
5429
|
-
EyeVisible: () =>
|
|
5428
|
+
EyeInvisible: () => tn,
|
|
5429
|
+
EyeVisible: () => fn,
|
|
5430
5430
|
FaceNegative: () => Do,
|
|
5431
5431
|
FaceNeutral: () => Oo,
|
|
5432
5432
|
FacePositive: () => ko,
|
|
@@ -5437,7 +5437,7 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5437
5437
|
FileFilled: () => Po,
|
|
5438
5438
|
FileSigned: () => Io,
|
|
5439
5439
|
Files: () => Fo,
|
|
5440
|
-
Filter: () =>
|
|
5440
|
+
Filter: () => hn,
|
|
5441
5441
|
FitView: () => Lo,
|
|
5442
5442
|
Flag: () => Ro,
|
|
5443
5443
|
Flask: () => zo,
|
|
@@ -5449,7 +5449,7 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5449
5449
|
Fullscreen: () => Wo,
|
|
5450
5450
|
Globe: () => Go,
|
|
5451
5451
|
Graph: () => Ko,
|
|
5452
|
-
Greater: () =>
|
|
5452
|
+
Greater: () => Qt,
|
|
5453
5453
|
Group: () => qo,
|
|
5454
5454
|
GroupBy: () => Jo,
|
|
5455
5455
|
Handle: () => Yo,
|
|
@@ -5472,8 +5472,8 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5472
5472
|
Inbox: () => ds,
|
|
5473
5473
|
InboxFilled: () => fs,
|
|
5474
5474
|
Info: () => ps,
|
|
5475
|
-
InfoCircle: () =>
|
|
5476
|
-
InfoCircleLine: () =>
|
|
5475
|
+
InfoCircle: () => qt,
|
|
5476
|
+
InfoCircleLine: () => Tn,
|
|
5477
5477
|
InputField: () => hs,
|
|
5478
5478
|
Italic: () => gs,
|
|
5479
5479
|
Kanban: () => _s,
|
|
@@ -5481,7 +5481,7 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5481
5481
|
Laptop: () => ys,
|
|
5482
5482
|
LayersFront: () => bs,
|
|
5483
5483
|
LeafFilled: () => xs,
|
|
5484
|
-
Less: () =>
|
|
5484
|
+
Less: () => ln,
|
|
5485
5485
|
LifeBuoy: () => Ss,
|
|
5486
5486
|
Lightbulb: () => Cs,
|
|
5487
5487
|
Link: () => ws,
|
|
@@ -5509,7 +5509,7 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5509
5509
|
MicrophoneNegative: () => Gs,
|
|
5510
5510
|
Minimize: () => Ks,
|
|
5511
5511
|
MinimizeHorizontal: () => qs,
|
|
5512
|
-
Minus: () =>
|
|
5512
|
+
Minus: () => He,
|
|
5513
5513
|
Mobile: () => Js,
|
|
5514
5514
|
Money: () => Ys,
|
|
5515
5515
|
MoneyBag: () => Xs,
|
|
@@ -5534,11 +5534,11 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5534
5534
|
PartiallyCompleted: () => hc,
|
|
5535
5535
|
Password: () => gc,
|
|
5536
5536
|
PauseCircle: () => _c,
|
|
5537
|
-
Pencil: () =>
|
|
5537
|
+
Pencil: () => Le,
|
|
5538
5538
|
People: () => vc,
|
|
5539
5539
|
Person: () => yc,
|
|
5540
5540
|
PersonMinus: () => bc,
|
|
5541
|
-
PersonNegative: () =>
|
|
5541
|
+
PersonNegative: () => Ie,
|
|
5542
5542
|
PersonPlus: () => xc,
|
|
5543
5543
|
Phone: () => Sc,
|
|
5544
5544
|
Pig: () => Cc,
|
|
@@ -5547,7 +5547,7 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5547
5547
|
PixBrazil: () => Ec,
|
|
5548
5548
|
Placeholder: () => Dc,
|
|
5549
5549
|
Plane: () => Oc,
|
|
5550
|
-
Plus: () =>
|
|
5550
|
+
Plus: () => Gt,
|
|
5551
5551
|
Present: () => kc,
|
|
5552
5552
|
PresentFilled: () => Ac,
|
|
5553
5553
|
Printer: () => jc,
|
|
@@ -5568,8 +5568,8 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5568
5568
|
Salad: () => Kc,
|
|
5569
5569
|
Save: () => qc,
|
|
5570
5570
|
Schedule: () => Jc,
|
|
5571
|
-
Search: () =>
|
|
5572
|
-
SearchPerson: () =>
|
|
5571
|
+
Search: () => Pe,
|
|
5572
|
+
SearchPerson: () => Ve,
|
|
5573
5573
|
Settings: () => Yc,
|
|
5574
5574
|
Share: () => Xc,
|
|
5575
5575
|
Shield: () => Zc,
|
|
@@ -5582,7 +5582,7 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5582
5582
|
SolidStop: () => nl,
|
|
5583
5583
|
Sort: () => rl,
|
|
5584
5584
|
Sparkles: () => il,
|
|
5585
|
-
Spinner: () =>
|
|
5585
|
+
Spinner: () => ze,
|
|
5586
5586
|
Split: () => al,
|
|
5587
5587
|
SquareFilled: () => ol,
|
|
5588
5588
|
Star: () => sl,
|
|
@@ -5611,7 +5611,7 @@ var $c = R((e, t) => /* @__PURE__ */ G("svg", {
|
|
|
5611
5611
|
VolumeMid: () => Al,
|
|
5612
5612
|
VolumeMuted: () => jl,
|
|
5613
5613
|
Wallet: () => Ml,
|
|
5614
|
-
Warning: () =>
|
|
5614
|
+
Warning: () => xn,
|
|
5615
5615
|
Watch: () => Nl,
|
|
5616
5616
|
WhatsappChat: () => Pl,
|
|
5617
5617
|
Wifi: () => Fl,
|
|
@@ -5657,7 +5657,7 @@ var Hl = I.forwardRef(({ className: e, href: t, onClick: n, disabled: r, childre
|
|
|
5657
5657
|
onClick: () => {
|
|
5658
5658
|
if (!r && !t && n) return n();
|
|
5659
5659
|
},
|
|
5660
|
-
children: [t && !r ? /* @__PURE__ */ W(
|
|
5660
|
+
children: [t && !r ? /* @__PURE__ */ W(D, {
|
|
5661
5661
|
href: t,
|
|
5662
5662
|
className: "absolute inset-0 block",
|
|
5663
5663
|
tabIndex: 0,
|
|
@@ -5695,13 +5695,13 @@ var Kl = I.forwardRef(({ className: e, content: t }, n) => /* @__PURE__ */ W("di
|
|
|
5695
5695
|
className: "h-5 w-5 cursor-help text-f1-foreground-secondary",
|
|
5696
5696
|
"aria-label": t,
|
|
5697
5697
|
children: /* @__PURE__ */ W(Me, {
|
|
5698
|
-
icon:
|
|
5698
|
+
icon: Tn,
|
|
5699
5699
|
size: "md"
|
|
5700
5700
|
})
|
|
5701
5701
|
}), /* @__PURE__ */ W(p, { children: /* @__PURE__ */ W("p", { children: t }) })] })
|
|
5702
5702
|
}));
|
|
5703
5703
|
Kl.displayName = "CardInfo";
|
|
5704
|
-
var ql = I.forwardRef(({ className: e, title: t, icon: n =
|
|
5704
|
+
var ql = I.forwardRef(({ className: e, title: t, icon: n = kt, href: r, ...i }, a) => {
|
|
5705
5705
|
let o = c("group inline-flex aspect-square h-6 items-center justify-center gap-1", "rounded-sm border border-solid border-transparent bg-transparent", "whitespace-nowrap px-0 text-base font-medium text-f1-foreground", "cursor-pointer transition-colors hover:bg-f1-background-secondary-hover focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-f1-special-ring focus-visible:ring-offset-1", e), s = /* @__PURE__ */ W(Me, {
|
|
5706
5706
|
size: "sm",
|
|
5707
5707
|
icon: n,
|
|
@@ -5718,7 +5718,7 @@ var ql = I.forwardRef(({ className: e, title: t, icon: n = An, href: r, ...i },
|
|
|
5718
5718
|
children: s
|
|
5719
5719
|
});
|
|
5720
5720
|
}
|
|
5721
|
-
return /* @__PURE__ */ W(
|
|
5721
|
+
return /* @__PURE__ */ W(D, {
|
|
5722
5722
|
ref: a,
|
|
5723
5723
|
className: o,
|
|
5724
5724
|
role: "button",
|
|
@@ -5770,7 +5770,7 @@ Yl.displayName = "CardComment", tr("Ellipsis", [
|
|
|
5770
5770
|
]);
|
|
5771
5771
|
//#endregion
|
|
5772
5772
|
//#region ../../node_modules/.pnpm/lucide-react@0.383.0_react@18.3.1/node_modules/lucide-react/dist/esm/icons/ellipsis.js
|
|
5773
|
-
var Zl = /* @__PURE__ */ e(
|
|
5773
|
+
var Zl = /* @__PURE__ */ e(Cn()), Ql = /* @__PURE__ */ e(Xt()), $l = /* @__PURE__ */ e(Et()), eu = ({ disabled: e, disabledTooltip: t, children: n }) => e && t ? /* @__PURE__ */ W(sn, {
|
|
5774
5774
|
tooltip: t,
|
|
5775
5775
|
children: /* @__PURE__ */ W("span", {
|
|
5776
5776
|
className: "block w-full cursor-not-allowed",
|
|
@@ -5807,7 +5807,7 @@ var Zl = /* @__PURE__ */ e(Zt()), Ql = /* @__PURE__ */ e(it()), $l = /* @__PURE_
|
|
|
5807
5807
|
children: [/* @__PURE__ */ W("span", {
|
|
5808
5808
|
className: "truncate",
|
|
5809
5809
|
children: e.label
|
|
5810
|
-
}), e.tag ? /* @__PURE__ */ W(
|
|
5810
|
+
}), e.tag ? /* @__PURE__ */ W(ut, {
|
|
5811
5811
|
text: e.tag,
|
|
5812
5812
|
className: "-my-1"
|
|
5813
5813
|
}) : null]
|
|
@@ -5834,7 +5834,7 @@ var Zl = /* @__PURE__ */ e(Zt()), Ql = /* @__PURE__ */ e(it()), $l = /* @__PURE_
|
|
|
5834
5834
|
disabled: f,
|
|
5835
5835
|
"aria-current": e.checked ? "true" : void 0,
|
|
5836
5836
|
onSelect: () => p?.(),
|
|
5837
|
-
children: u ? /* @__PURE__ */ W(
|
|
5837
|
+
children: u ? /* @__PURE__ */ W(D, {
|
|
5838
5838
|
href: u,
|
|
5839
5839
|
className: c(h, "text-f1-foreground no-underline hover:cursor-pointer"),
|
|
5840
5840
|
...m,
|
|
@@ -5860,7 +5860,7 @@ var Zl = /* @__PURE__ */ e(Zt()), Ql = /* @__PURE__ */ e(it()), $l = /* @__PURE_
|
|
|
5860
5860
|
checked: e.checked,
|
|
5861
5861
|
onCheckedChange: e.onCheckedChange,
|
|
5862
5862
|
disabled: e.disabled,
|
|
5863
|
-
children: [/* @__PURE__ */ W(iu, { item: e }), /* @__PURE__ */ W(
|
|
5863
|
+
children: [/* @__PURE__ */ W(iu, { item: e }), /* @__PURE__ */ W(ot, {
|
|
5864
5864
|
checked: e.checked,
|
|
5865
5865
|
tabIndex: -1,
|
|
5866
5866
|
"aria-hidden": !0,
|
|
@@ -5892,7 +5892,7 @@ function mu(e, t, n) {
|
|
|
5892
5892
|
return e.type === "separator" ? /* @__PURE__ */ W(ir, {}, t) : e.type === "submenu" ? /* @__PURE__ */ W(du, {
|
|
5893
5893
|
item: e,
|
|
5894
5894
|
container: n
|
|
5895
|
-
}, t) : e.type === "switch" ? /* @__PURE__ */ W(uu, { item: e }, t) : e.type === "panel" ? /* @__PURE__ */ W(
|
|
5895
|
+
}, t) : e.type === "switch" ? /* @__PURE__ */ W(uu, { item: e }, t) : e.type === "panel" ? /* @__PURE__ */ W(Re, {
|
|
5896
5896
|
paddingX: "md",
|
|
5897
5897
|
paddingTop: "md",
|
|
5898
5898
|
paddingBottom: "sm",
|
|
@@ -5906,7 +5906,7 @@ function mu(e, t, n) {
|
|
|
5906
5906
|
}
|
|
5907
5907
|
} }, t);
|
|
5908
5908
|
}
|
|
5909
|
-
function hu({ items: e, icon: t =
|
|
5909
|
+
function hu({ items: e, icon: t = rt, align: n = "start", alignOffset: r, side: i, sideOffset: o, minWidth: s, disableExitAnimation: l = !1, size: u, children: d, open: f, onOpenChange: p, label: m, disabled: h, container: g, contentVariant: _ = "expanded", modal: v, ...y }) {
|
|
5910
5910
|
let b = a(), x = su(), S = H(!1), [C, w] = U(!1), T = f !== void 0 && p !== void 0, E = T ? f : C, D = T ? p : w;
|
|
5911
5911
|
B(function() {
|
|
5912
5912
|
h && E && D(!1);
|
|
@@ -7132,14 +7132,14 @@ var gf = o("Dropdown", (e) => {
|
|
|
7132
7132
|
children: [/* @__PURE__ */ W("span", {
|
|
7133
7133
|
className: "flex flex-1 items-start gap-1.5",
|
|
7134
7134
|
children: /* @__PURE__ */ W(iu, { item: e })
|
|
7135
|
-
}), /* @__PURE__ */ W(
|
|
7135
|
+
}), /* @__PURE__ */ W(ot, {
|
|
7136
7136
|
checked: e.checked,
|
|
7137
7137
|
onCheckedChange: e.onCheckedChange,
|
|
7138
7138
|
disabled: e.disabled,
|
|
7139
7139
|
title: e.label,
|
|
7140
7140
|
hideLabel: !0
|
|
7141
7141
|
})]
|
|
7142
|
-
}), Cf = ({ item: e }) => /* @__PURE__ */ W(
|
|
7142
|
+
}), Cf = ({ item: e }) => /* @__PURE__ */ W(D, {
|
|
7143
7143
|
href: e.href,
|
|
7144
7144
|
target: e.target,
|
|
7145
7145
|
"aria-current": e.checked ? "true" : void 0,
|
|
@@ -7177,7 +7177,7 @@ var gf = o("Dropdown", (e) => {
|
|
|
7177
7177
|
asChild: !0,
|
|
7178
7178
|
children: t || /* @__PURE__ */ W(me, {
|
|
7179
7179
|
label: "Other actions",
|
|
7180
|
-
icon:
|
|
7180
|
+
icon: rt,
|
|
7181
7181
|
variant: "outline",
|
|
7182
7182
|
size: "lg",
|
|
7183
7183
|
pressed: r,
|
|
@@ -7219,9 +7219,9 @@ var gf = o("Dropdown", (e) => {
|
|
|
7219
7219
|
}
|
|
7220
7220
|
}), Df = r(({ type: e = "info", size: t, "aria-label": n, "aria-labelledby": r }) => {
|
|
7221
7221
|
let i = {
|
|
7222
|
-
critical:
|
|
7223
|
-
warning:
|
|
7224
|
-
info:
|
|
7222
|
+
critical: Tt,
|
|
7223
|
+
warning: xn,
|
|
7224
|
+
info: qt,
|
|
7225
7225
|
positive: Fn
|
|
7226
7226
|
};
|
|
7227
7227
|
return /* @__PURE__ */ W("div", {
|
|
@@ -7241,13 +7241,13 @@ var gf = o("Dropdown", (e) => {
|
|
|
7241
7241
|
//#endregion
|
|
7242
7242
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/compareAsc.mjs
|
|
7243
7243
|
function Of(e, t) {
|
|
7244
|
-
let n =
|
|
7244
|
+
let n = On(e), r = On(t), i = n.getTime() - r.getTime();
|
|
7245
7245
|
return i < 0 ? -1 : i > 0 ? 1 : i;
|
|
7246
7246
|
}
|
|
7247
7247
|
//#endregion
|
|
7248
7248
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/constructNow.mjs
|
|
7249
7249
|
function kf(e) {
|
|
7250
|
-
return
|
|
7250
|
+
return ct(e, Date.now());
|
|
7251
7251
|
}
|
|
7252
7252
|
//#endregion
|
|
7253
7253
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/_lib/getRoundingMethod.mjs
|
|
@@ -7260,14 +7260,14 @@ function Af(e) {
|
|
|
7260
7260
|
//#endregion
|
|
7261
7261
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/formatDistanceStrict.mjs
|
|
7262
7262
|
function jf(e, t, n) {
|
|
7263
|
-
let r =
|
|
7263
|
+
let r = en(), i = n?.locale ?? r.locale ?? cn, a = Of(e, t);
|
|
7264
7264
|
if (isNaN(a)) throw RangeError("Invalid time value");
|
|
7265
7265
|
let o = Object.assign({}, n, {
|
|
7266
7266
|
addSuffix: n?.addSuffix,
|
|
7267
7267
|
comparison: a
|
|
7268
7268
|
}), s, c;
|
|
7269
|
-
a > 0 ? (s =
|
|
7270
|
-
let l = Af(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u /
|
|
7269
|
+
a > 0 ? (s = On(t), c = On(e)) : (s = On(e), c = On(t));
|
|
7270
|
+
let l = Af(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / zt, f = (u - (dn(c) - dn(s))) / zt, p = n?.unit, m;
|
|
7271
7271
|
if (m = p || (d < 1 ? "second" : d < 60 ? "minute" : d < 1440 ? "hour" : f < 43200 ? "day" : f < 525600 ? "month" : "year"), m === "second") {
|
|
7272
7272
|
let e = l(u / 1e3);
|
|
7273
7273
|
return i.formatDistance("xSeconds", e, o);
|
|
@@ -7281,15 +7281,15 @@ function jf(e, t, n) {
|
|
|
7281
7281
|
return i.formatDistance("xHours", e, o);
|
|
7282
7282
|
}
|
|
7283
7283
|
if (m === "day") {
|
|
7284
|
-
let e = l(f /
|
|
7284
|
+
let e = l(f / En);
|
|
7285
7285
|
return i.formatDistance("xDays", e, o);
|
|
7286
7286
|
}
|
|
7287
7287
|
if (m === "month") {
|
|
7288
|
-
let e = l(f /
|
|
7288
|
+
let e = l(f / jn);
|
|
7289
7289
|
return e === 12 && p !== "month" ? i.formatDistance("xYears", 1, o) : i.formatDistance("xMonths", e, o);
|
|
7290
7290
|
}
|
|
7291
7291
|
{
|
|
7292
|
-
let e = l(f /
|
|
7292
|
+
let e = l(f / Ht);
|
|
7293
7293
|
return i.formatDistance("xYears", e, o);
|
|
7294
7294
|
}
|
|
7295
7295
|
}
|
|
@@ -7301,23 +7301,23 @@ function Mf(e, t) {
|
|
|
7301
7301
|
//#endregion
|
|
7302
7302
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isToday.mjs
|
|
7303
7303
|
function Nf(e) {
|
|
7304
|
-
return
|
|
7304
|
+
return Zt(e, kf(e));
|
|
7305
7305
|
}
|
|
7306
7306
|
//#endregion
|
|
7307
7307
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isYesterday.mjs
|
|
7308
7308
|
function Pf(e) {
|
|
7309
|
-
return
|
|
7309
|
+
return Zt(e, nn(kf(e), 1));
|
|
7310
7310
|
}
|
|
7311
7311
|
//#endregion
|
|
7312
7312
|
//#region src/elements/lib/date.ts
|
|
7313
7313
|
function Ff(e, t) {
|
|
7314
|
-
return
|
|
7314
|
+
return Wt(e, "p", { locale: t });
|
|
7315
7315
|
}
|
|
7316
7316
|
function If(e) {
|
|
7317
|
-
return
|
|
7317
|
+
return Wt(e, "HH:mm");
|
|
7318
7318
|
}
|
|
7319
7319
|
function Lf(e, t) {
|
|
7320
|
-
return
|
|
7320
|
+
return Wt(e, "LLL", { locale: t });
|
|
7321
7321
|
}
|
|
7322
7322
|
function Rf(e) {
|
|
7323
7323
|
return e.getDate();
|
|
@@ -7329,7 +7329,7 @@ function zf(e, t) {
|
|
|
7329
7329
|
});
|
|
7330
7330
|
}
|
|
7331
7331
|
function Bf(e, { locale: t, yesterdayRelative: n = !0 }) {
|
|
7332
|
-
return Nf(e) ? zf(e, t) : Pf(e) ? n ? zf(e, t) :
|
|
7332
|
+
return Nf(e) ? zf(e, t) : Pf(e) ? n ? zf(e, t) : Wt(e, "p", { locale: t }) : Wt(e, "PPPp", { locale: t });
|
|
7333
7333
|
}
|
|
7334
7334
|
var Vf = (e, t) => {
|
|
7335
7335
|
let n = {
|
|
@@ -7339,7 +7339,7 @@ var Vf = (e, t) => {
|
|
|
7339
7339
|
lastMonth: []
|
|
7340
7340
|
};
|
|
7341
7341
|
return e.forEach((e) => {
|
|
7342
|
-
let r = e[t], i = Math.abs(
|
|
7342
|
+
let r = e[t], i = Math.abs(wn(r, /* @__PURE__ */ new Date()));
|
|
7343
7343
|
Nf(r) ? n.today.push(e) : Pf(r) ? n.yesterday.push(e) : i <= 7 ? n.lastWeek.push(e) : i <= 30 ? n.lastMonth.push(e) : n[r.getFullYear()] = [...n[r.getFullYear()] || [], e];
|
|
7344
7344
|
}), n;
|
|
7345
7345
|
}, Hf = {
|
|
@@ -7354,7 +7354,7 @@ var Vf = (e, t) => {
|
|
|
7354
7354
|
day: "text-lg"
|
|
7355
7355
|
}
|
|
7356
7356
|
}, Uf = r(({ date: e, size: t = "md", "aria-label": n, "aria-labelledby": r }) => {
|
|
7357
|
-
let i =
|
|
7357
|
+
let i = Yt(), a = Rf(e), o = Lf(e, i);
|
|
7358
7358
|
return /* @__PURE__ */ G("div", {
|
|
7359
7359
|
className: c("flex flex-col items-center justify-center border border-solid border-f1-border-secondary bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary", Hf[t].box),
|
|
7360
7360
|
"aria-label": n,
|
|
@@ -7368,13 +7368,13 @@ var Vf = (e, t) => {
|
|
|
7368
7368
|
})]
|
|
7369
7369
|
});
|
|
7370
7370
|
}), Wf = /* @__PURE__ */ n(((e, t) => {
|
|
7371
|
-
var n =
|
|
7371
|
+
var n = mn(), r = Ft(), i = "[object Symbol]";
|
|
7372
7372
|
function a(e) {
|
|
7373
7373
|
return typeof e == "symbol" || r(e) && n(e) == i;
|
|
7374
7374
|
}
|
|
7375
7375
|
t.exports = a;
|
|
7376
7376
|
})), Gf = /* @__PURE__ */ n(((e, t) => {
|
|
7377
|
-
var n =
|
|
7377
|
+
var n = gt(), r = Wf(), i = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a = /^\w*$/;
|
|
7378
7378
|
function o(e, t) {
|
|
7379
7379
|
if (n(e)) return !1;
|
|
7380
7380
|
var o = typeof e;
|
|
@@ -7382,7 +7382,7 @@ var Vf = (e, t) => {
|
|
|
7382
7382
|
}
|
|
7383
7383
|
t.exports = o;
|
|
7384
7384
|
})), Kf = /* @__PURE__ */ n(((e, t) => {
|
|
7385
|
-
var n =
|
|
7385
|
+
var n = Dt(), r = "Expected a function";
|
|
7386
7386
|
function i(e, t) {
|
|
7387
7387
|
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(r);
|
|
7388
7388
|
var a = function() {
|
|
@@ -7418,7 +7418,7 @@ var Vf = (e, t) => {
|
|
|
7418
7418
|
}
|
|
7419
7419
|
t.exports = n;
|
|
7420
7420
|
})), Xf = /* @__PURE__ */ n(((e, t) => {
|
|
7421
|
-
var n =
|
|
7421
|
+
var n = bn(), r = Yf(), i = gt(), a = Wf(), o = 1 / 0, s = n ? n.prototype : void 0, c = s ? s.toString : void 0;
|
|
7422
7422
|
function l(e) {
|
|
7423
7423
|
if (typeof e == "string") return e;
|
|
7424
7424
|
if (i(e)) return r(e, l) + "";
|
|
@@ -7434,7 +7434,7 @@ var Vf = (e, t) => {
|
|
|
7434
7434
|
}
|
|
7435
7435
|
t.exports = r;
|
|
7436
7436
|
})), Qf = /* @__PURE__ */ n(((e, t) => {
|
|
7437
|
-
var n =
|
|
7437
|
+
var n = gt(), r = Gf(), i = Jf(), a = Zf();
|
|
7438
7438
|
function o(e, t) {
|
|
7439
7439
|
return n(e) ? e : r(e, t) ? [e] : i(a(e));
|
|
7440
7440
|
}
|
|
@@ -7468,7 +7468,7 @@ var Vf = (e, t) => {
|
|
|
7468
7468
|
}
|
|
7469
7469
|
t.exports = n;
|
|
7470
7470
|
})), rp = /* @__PURE__ */ n(((e, t) => {
|
|
7471
|
-
var n =
|
|
7471
|
+
var n = mn(), r = gt(), i = Ft(), a = "[object String]";
|
|
7472
7472
|
function o(e) {
|
|
7473
7473
|
return typeof e == "string" || !r(e) && i(e) && n(e) == a;
|
|
7474
7474
|
}
|
|
@@ -7612,7 +7612,7 @@ var Vf = (e, t) => {
|
|
|
7612
7612
|
})), op = /* @__PURE__ */ n(((e, t) => {
|
|
7613
7613
|
t.exports = process.env.NODE_ENV === "production" ? ip() : ap();
|
|
7614
7614
|
})), sp = /* @__PURE__ */ n(((e, t) => {
|
|
7615
|
-
var n =
|
|
7615
|
+
var n = mn(), r = Ft(), i = "[object Number]";
|
|
7616
7616
|
function a(e) {
|
|
7617
7617
|
return typeof e == "number" || r(e) && n(e) == i;
|
|
7618
7618
|
}
|
|
@@ -9017,7 +9017,7 @@ Tg(kg, "displayName", "Legend"), Tg(kg, "defaultProps", {
|
|
|
9017
9017
|
//#endregion
|
|
9018
9018
|
//#region ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsMatch.js
|
|
9019
9019
|
var Ag = /* @__PURE__ */ n(((e, t) => {
|
|
9020
|
-
var n =
|
|
9020
|
+
var n = Rt(), r = ht(), i = 1, a = 2;
|
|
9021
9021
|
function o(e, t, o, s) {
|
|
9022
9022
|
var c = o.length, l = c, u = !s;
|
|
9023
9023
|
if (e == null) return !l;
|
|
@@ -9040,13 +9040,13 @@ var Ag = /* @__PURE__ */ n(((e, t) => {
|
|
|
9040
9040
|
}
|
|
9041
9041
|
t.exports = o;
|
|
9042
9042
|
})), jg = /* @__PURE__ */ n(((e, t) => {
|
|
9043
|
-
var n =
|
|
9043
|
+
var n = Cn();
|
|
9044
9044
|
function r(e) {
|
|
9045
9045
|
return e === e && !n(e);
|
|
9046
9046
|
}
|
|
9047
9047
|
t.exports = r;
|
|
9048
9048
|
})), Mg = /* @__PURE__ */ n(((e, t) => {
|
|
9049
|
-
var n = jg(), r =
|
|
9049
|
+
var n = jg(), r = St();
|
|
9050
9050
|
function i(e) {
|
|
9051
9051
|
for (var t = r(e), i = t.length; i--;) {
|
|
9052
9052
|
var a = t[i], o = e[a];
|
|
@@ -9081,7 +9081,7 @@ var Ag = /* @__PURE__ */ n(((e, t) => {
|
|
|
9081
9081
|
}
|
|
9082
9082
|
t.exports = n;
|
|
9083
9083
|
})), Ig = /* @__PURE__ */ n(((e, t) => {
|
|
9084
|
-
var n = Qf(), r =
|
|
9084
|
+
var n = Qf(), r = Mt(), i = gt(), a = _t(), o = Nt(), s = $f();
|
|
9085
9085
|
function c(e, t, c) {
|
|
9086
9086
|
t = n(t, e);
|
|
9087
9087
|
for (var l = -1, u = t.length, d = !1; ++l < u;) {
|
|
@@ -9099,7 +9099,7 @@ var Ag = /* @__PURE__ */ n(((e, t) => {
|
|
|
9099
9099
|
}
|
|
9100
9100
|
t.exports = i;
|
|
9101
9101
|
})), Rg = /* @__PURE__ */ n(((e, t) => {
|
|
9102
|
-
var n =
|
|
9102
|
+
var n = ht(), r = tp(), i = Lg(), a = Gf(), o = jg(), s = Ng(), c = $f(), l = 1, u = 2;
|
|
9103
9103
|
function d(e, t) {
|
|
9104
9104
|
return a(e) && o(t) ? s(c(e), t) : function(a) {
|
|
9105
9105
|
var o = r(a, e);
|
|
@@ -9134,7 +9134,7 @@ var Ag = /* @__PURE__ */ n(((e, t) => {
|
|
|
9134
9134
|
}
|
|
9135
9135
|
t.exports = o;
|
|
9136
9136
|
})), Ug = /* @__PURE__ */ n(((e, t) => {
|
|
9137
|
-
var n = Pg(), r = Rg(), i = zg(), a =
|
|
9137
|
+
var n = Pg(), r = Rg(), i = zg(), a = gt(), o = Hg();
|
|
9138
9138
|
function s(e) {
|
|
9139
9139
|
return typeof e == "function" ? e : e == null ? i : typeof e == "object" ? a(e) ? r(e[0], e[1]) : n(e) : o(e);
|
|
9140
9140
|
}
|
|
@@ -9178,12 +9178,12 @@ var Ag = /* @__PURE__ */ n(((e, t) => {
|
|
|
9178
9178
|
function n() {}
|
|
9179
9179
|
t.exports = n;
|
|
9180
9180
|
})), Zg = /* @__PURE__ */ n(((e, t) => {
|
|
9181
|
-
var n =
|
|
9181
|
+
var n = vt(), r = Xg(), i = vn();
|
|
9182
9182
|
t.exports = n && 1 / i(new n([, -0]))[1] == 1 / 0 ? function(e) {
|
|
9183
9183
|
return new n(e);
|
|
9184
9184
|
} : r;
|
|
9185
9185
|
})), Qg = /* @__PURE__ */ n(((e, t) => {
|
|
9186
|
-
var n =
|
|
9186
|
+
var n = It(), r = Jg(), i = Yg(), a = bt(), o = Zg(), s = vn(), c = 200;
|
|
9187
9187
|
function l(e, t, l) {
|
|
9188
9188
|
var u = -1, d = r, f = e.length, p = !0, m = [], h = m;
|
|
9189
9189
|
if (l) p = !1, d = i;
|
|
@@ -9446,13 +9446,13 @@ h_(C_, "displayName", "Legend"), h_(C_, "defaultProps", {
|
|
|
9446
9446
|
//#endregion
|
|
9447
9447
|
//#region ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isFlattenable.js
|
|
9448
9448
|
var w_ = /* @__PURE__ */ n(((e, t) => {
|
|
9449
|
-
var n =
|
|
9449
|
+
var n = bn(), r = Mt(), i = gt(), a = n ? n.isConcatSpreadable : void 0;
|
|
9450
9450
|
function o(e) {
|
|
9451
9451
|
return i(e) || r(e) || !!(a && e && e[a]);
|
|
9452
9452
|
}
|
|
9453
9453
|
t.exports = o;
|
|
9454
9454
|
})), T_ = /* @__PURE__ */ n(((e, t) => {
|
|
9455
|
-
var n =
|
|
9455
|
+
var n = xt(), r = w_();
|
|
9456
9456
|
function i(e, t, a, o, s) {
|
|
9457
9457
|
var c = -1, l = e.length;
|
|
9458
9458
|
for (a ||= r, s ||= []; ++c < l;) {
|
|
@@ -9476,13 +9476,13 @@ var w_ = /* @__PURE__ */ n(((e, t) => {
|
|
|
9476
9476
|
})), D_ = /* @__PURE__ */ n(((e, t) => {
|
|
9477
9477
|
t.exports = E_()();
|
|
9478
9478
|
})), O_ = /* @__PURE__ */ n(((e, t) => {
|
|
9479
|
-
var n = D_(), r =
|
|
9479
|
+
var n = D_(), r = St();
|
|
9480
9480
|
function i(e, t) {
|
|
9481
9481
|
return e && n(e, t, r);
|
|
9482
9482
|
}
|
|
9483
9483
|
t.exports = i;
|
|
9484
9484
|
})), k_ = /* @__PURE__ */ n(((e, t) => {
|
|
9485
|
-
var n =
|
|
9485
|
+
var n = Ot();
|
|
9486
9486
|
function r(e, t) {
|
|
9487
9487
|
return function(r, i) {
|
|
9488
9488
|
if (r == null) return r;
|
|
@@ -9496,7 +9496,7 @@ var w_ = /* @__PURE__ */ n(((e, t) => {
|
|
|
9496
9496
|
var n = O_();
|
|
9497
9497
|
t.exports = k_()(n);
|
|
9498
9498
|
})), j_ = /* @__PURE__ */ n(((e, t) => {
|
|
9499
|
-
var n = A_(), r =
|
|
9499
|
+
var n = A_(), r = Ot();
|
|
9500
9500
|
function i(e, t) {
|
|
9501
9501
|
var i = -1, a = r(e) ? Array(e.length) : [];
|
|
9502
9502
|
return n(e, function(e, n, r) {
|
|
@@ -9533,7 +9533,7 @@ var w_ = /* @__PURE__ */ n(((e, t) => {
|
|
|
9533
9533
|
}
|
|
9534
9534
|
t.exports = r;
|
|
9535
9535
|
})), F_ = /* @__PURE__ */ n(((e, t) => {
|
|
9536
|
-
var n = Yf(), r = ep(), i = Ug(), a = j_(), o = M_(), s =
|
|
9536
|
+
var n = Yf(), r = ep(), i = Ug(), a = j_(), o = M_(), s = st(), c = P_(), l = zg(), u = gt();
|
|
9537
9537
|
function d(e, t, d) {
|
|
9538
9538
|
t = t.length ? n(t, function(e) {
|
|
9539
9539
|
return u(e) ? function(t) {
|
|
@@ -9584,7 +9584,7 @@ var w_ = /* @__PURE__ */ n(((e, t) => {
|
|
|
9584
9584
|
}
|
|
9585
9585
|
t.exports = n;
|
|
9586
9586
|
})), z_ = /* @__PURE__ */ n(((e, t) => {
|
|
9587
|
-
var n =
|
|
9587
|
+
var n = it();
|
|
9588
9588
|
t.exports = function() {
|
|
9589
9589
|
try {
|
|
9590
9590
|
var e = n(Object, "defineProperty");
|
|
@@ -9624,7 +9624,7 @@ var w_ = /* @__PURE__ */ n(((e, t) => {
|
|
|
9624
9624
|
}
|
|
9625
9625
|
t.exports = a;
|
|
9626
9626
|
})), W_ = /* @__PURE__ */ n(((e, t) => {
|
|
9627
|
-
var n =
|
|
9627
|
+
var n = Vt(), r = Ot(), i = _t(), a = Cn();
|
|
9628
9628
|
function o(e, t, o) {
|
|
9629
9629
|
if (!a(o)) return !1;
|
|
9630
9630
|
var s = typeof t;
|
|
@@ -10266,7 +10266,7 @@ Xv(ty, "displayName", "Tooltip"), Xv(ty, "defaultProps", {
|
|
|
10266
10266
|
//#endregion
|
|
10267
10267
|
//#region ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/now.js
|
|
10268
10268
|
var ny = /* @__PURE__ */ n(((e, t) => {
|
|
10269
|
-
var n =
|
|
10269
|
+
var n = rn();
|
|
10270
10270
|
t.exports = function() {
|
|
10271
10271
|
return n.Date.now();
|
|
10272
10272
|
};
|
|
@@ -10284,7 +10284,7 @@ var ny = /* @__PURE__ */ n(((e, t) => {
|
|
|
10284
10284
|
}
|
|
10285
10285
|
t.exports = i;
|
|
10286
10286
|
})), ay = /* @__PURE__ */ n(((e, t) => {
|
|
10287
|
-
var n = iy(), r =
|
|
10287
|
+
var n = iy(), r = Cn(), i = Wf(), a = NaN, o = /^[-+]0x[0-9a-f]+$/i, s = /^0b[01]+$/i, c = /^0o[0-7]+$/i, l = parseInt;
|
|
10288
10288
|
function u(e) {
|
|
10289
10289
|
if (typeof e == "number") return e;
|
|
10290
10290
|
if (i(e)) return a;
|
|
@@ -10299,7 +10299,7 @@ var ny = /* @__PURE__ */ n(((e, t) => {
|
|
|
10299
10299
|
}
|
|
10300
10300
|
t.exports = u;
|
|
10301
10301
|
})), oy = /* @__PURE__ */ n(((e, t) => {
|
|
10302
|
-
var n =
|
|
10302
|
+
var n = Cn(), r = ny(), i = ay(), a = "Expected a function", o = Math.max, s = Math.min;
|
|
10303
10303
|
function c(e, t, c) {
|
|
10304
10304
|
var l, u, d, f, p, m, h = 0, g = !1, _ = !1, v = !0;
|
|
10305
10305
|
if (typeof e != "function") throw TypeError(a);
|
|
@@ -10345,7 +10345,7 @@ var ny = /* @__PURE__ */ n(((e, t) => {
|
|
|
10345
10345
|
}
|
|
10346
10346
|
t.exports = c;
|
|
10347
10347
|
})), sy = /* @__PURE__ */ n(((e, t) => {
|
|
10348
|
-
var n = oy(), r =
|
|
10348
|
+
var n = oy(), r = Cn(), i = "Expected a function";
|
|
10349
10349
|
function a(e, t, a) {
|
|
10350
10350
|
var o = !0, s = !0;
|
|
10351
10351
|
if (typeof e != "function") throw TypeError(i);
|
|
@@ -13401,7 +13401,7 @@ var oE = /* @__PURE__ */ t({
|
|
|
13401
13401
|
}
|
|
13402
13402
|
t.exports = a;
|
|
13403
13403
|
})), fE = /* @__PURE__ */ n(((e, t) => {
|
|
13404
|
-
var n = Yf(), r = Ug(), i = j_(), a =
|
|
13404
|
+
var n = Yf(), r = Ug(), i = j_(), a = gt();
|
|
13405
13405
|
function o(e, t) {
|
|
13406
13406
|
return (a(e) ? n : i)(e, r(t, 3));
|
|
13407
13407
|
}
|
|
@@ -17733,9 +17733,9 @@ var IN = function(e, t, n, r, i, a) {
|
|
|
17733
17733
|
d: IN(n, i, u, f, o, c)
|
|
17734
17734
|
}));
|
|
17735
17735
|
}, RN = /* @__PURE__ */ n(((e, t) => {
|
|
17736
|
-
t.exports =
|
|
17736
|
+
t.exports = Nn()(Object.getPrototypeOf, Object);
|
|
17737
17737
|
})), zN = /* @__PURE__ */ n(((e, t) => {
|
|
17738
|
-
var n =
|
|
17738
|
+
var n = mn(), r = RN(), i = Ft(), a = "[object Object]", o = Function.prototype, s = Object.prototype, c = o.toString, l = s.hasOwnProperty, u = c.call(Object);
|
|
17739
17739
|
function d(e) {
|
|
17740
17740
|
if (!i(e) || n(e) != a) return !1;
|
|
17741
17741
|
var t = r(e);
|
|
@@ -17745,7 +17745,7 @@ var IN = function(e, t, n, r, i, a) {
|
|
|
17745
17745
|
}
|
|
17746
17746
|
t.exports = d;
|
|
17747
17747
|
})), BN = /* @__PURE__ */ n(((e, t) => {
|
|
17748
|
-
var n =
|
|
17748
|
+
var n = mn(), r = Ft(), i = "[object Boolean]";
|
|
17749
17749
|
function a(e) {
|
|
17750
17750
|
return e === !0 || e === !1 || r(e) && n(e) == i;
|
|
17751
17751
|
}
|
|
@@ -18667,7 +18667,7 @@ var sF = /* @__PURE__ */ n(((e, t) => {
|
|
|
18667
18667
|
}
|
|
18668
18668
|
t.exports = r;
|
|
18669
18669
|
})), cF = /* @__PURE__ */ n(((e, t) => {
|
|
18670
|
-
var n =
|
|
18670
|
+
var n = Lt(), r = Ug(), i = sF(), a = gt(), o = W_();
|
|
18671
18671
|
function s(e, t, s) {
|
|
18672
18672
|
var c = a(e) ? n : i;
|
|
18673
18673
|
return s && o(e, t, s) && (t = void 0), c(e, r(t, 3));
|
|
@@ -18712,7 +18712,7 @@ var sF = /* @__PURE__ */ n(((e, t) => {
|
|
|
18712
18712
|
}
|
|
18713
18713
|
t.exports = r;
|
|
18714
18714
|
})), mF = /* @__PURE__ */ n(((e, t) => {
|
|
18715
|
-
var n = fF(), r = pF(), i = Ug(), a =
|
|
18715
|
+
var n = fF(), r = pF(), i = Ug(), a = gt(), o = W_();
|
|
18716
18716
|
function s(e, t, s) {
|
|
18717
18717
|
var c = a(e) ? n : r;
|
|
18718
18718
|
return s && o(e, t, s) && (t = void 0), c(e, i(t, 3));
|
|
@@ -19409,7 +19409,7 @@ var pI = function(e) {
|
|
|
19409
19409
|
var t = e.width, n = e.height, r = fI(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
|
|
19410
19410
|
return Math.abs(a);
|
|
19411
19411
|
}, mI = /* @__PURE__ */ n(((e, t) => {
|
|
19412
|
-
var n = Ug(), r =
|
|
19412
|
+
var n = Ug(), r = Ot(), i = St();
|
|
19413
19413
|
function a(e) {
|
|
19414
19414
|
return function(t, a, o) {
|
|
19415
19415
|
var s = Object(t);
|
|
@@ -22832,7 +22832,7 @@ var uV = ({ onClick: e, value: t, items: n, size: r, variant: i, disabled: o, lo
|
|
|
22832
22832
|
]), C = r === "sm" ? "[&_.main]:w-6" : r === "lg" ? "[&_.main]:w-10" : "[&_.main]:w-8";
|
|
22833
22833
|
return b && /* @__PURE__ */ W("div", {
|
|
22834
22834
|
className: c(o && "opacity-30"),
|
|
22835
|
-
children: /* @__PURE__ */ W(
|
|
22835
|
+
children: /* @__PURE__ */ W(k, {
|
|
22836
22836
|
onClick: x,
|
|
22837
22837
|
variant: i,
|
|
22838
22838
|
size: r,
|
|
@@ -22868,7 +22868,7 @@ var uV = ({ onClick: e, value: t, items: n, size: r, variant: i, disabled: o, lo
|
|
|
22868
22868
|
className: "sr-only",
|
|
22869
22869
|
children: f.actions.more
|
|
22870
22870
|
}), /* @__PURE__ */ W(Me, {
|
|
22871
|
-
icon:
|
|
22871
|
+
icon: Ge,
|
|
22872
22872
|
size: r === "sm" ? "sm" : "md"
|
|
22873
22873
|
})]
|
|
22874
22874
|
})
|
|
@@ -22895,7 +22895,7 @@ var uV = ({ onClick: e, value: t, items: n, size: r, variant: i, disabled: o, lo
|
|
|
22895
22895
|
o || d(e);
|
|
22896
22896
|
},
|
|
22897
22897
|
contentVariant: l,
|
|
22898
|
-
children: /* @__PURE__ */ W(
|
|
22898
|
+
children: /* @__PURE__ */ W(k, {
|
|
22899
22899
|
variant: a,
|
|
22900
22900
|
size: i,
|
|
22901
22901
|
disabled: o,
|
|
@@ -22904,7 +22904,7 @@ var uV = ({ onClick: e, value: t, items: n, size: r, variant: i, disabled: o, lo
|
|
|
22904
22904
|
"aria-label": h,
|
|
22905
22905
|
prepend: m?.icon && /* @__PURE__ */ W(Me, { icon: m.icon }),
|
|
22906
22906
|
append: /* @__PURE__ */ W(Me, {
|
|
22907
|
-
icon:
|
|
22907
|
+
icon: Ge,
|
|
22908
22908
|
size: i === "sm" ? "sm" : "md"
|
|
22909
22909
|
}),
|
|
22910
22910
|
pressed: u && !o,
|
|
@@ -23830,17 +23830,17 @@ var TH = (e) => {
|
|
|
23830
23830
|
let { title: n, subtitle: r, actions: i, className: o, src: s, preload: l, autoPlay: u = !1, disabled: d = !1, ariaLabel: f, size: p = "md", content: m, defaultLanguage: h, details: g, expanded: _, defaultExpanded: v = !1, onExpandedChange: y, detailsMaxHeight: b = 200 } = e, x = a(), S = CH(s, h), C = TH({
|
|
23831
23831
|
...e,
|
|
23832
23832
|
src: S.resolvedSrc
|
|
23833
|
-
}), w = pV(e), T =
|
|
23833
|
+
}), w = pV(e), T = le(), E = (e) => {
|
|
23834
23834
|
wH(C.audioRef.current), S.setLocale(e);
|
|
23835
|
-
}, D = !m && !!(g && g.length > 0), O = V(() => Jn(m?.summary, m?.transcription), [m?.summary, m?.transcription]), [k, A] = U(() => Gn(O, h)),
|
|
23835
|
+
}, D = !m && !!(g && g.length > 0), O = V(() => Jn(m?.summary, m?.transcription), [m?.summary, m?.transcription]), [k, A] = U(() => Gn(O, h)), M = O.some((e) => e.locale === k) ? k : Gn(O, h), N = Wn(m?.summary, M), P = Wn(m?.transcription, M), ee = SV(C.audioRef, C.currentSrc, !P), te = P ?? ee, ne = Array.isArray(te) ? te : void 0, re = typeof te == "string" ? te : void 0, ie = !!(re || ne?.length), ae = V(() => ne ? hV(ne) : [], [ne]), oe = ae.length > 0, se = C.pendingTime ?? C.currentTime, ce = V(() => oe ? gV(ae, se) : -1, [
|
|
23836
23836
|
oe,
|
|
23837
23837
|
ae,
|
|
23838
23838
|
se
|
|
23839
|
-
]),
|
|
23839
|
+
]), ue = H(null), de = H([]), fe = H(!1), F = z((e) => {
|
|
23840
23840
|
fe.current = !1, C.seek(e);
|
|
23841
23841
|
}, [C.seek]);
|
|
23842
23842
|
B(() => {
|
|
23843
|
-
let e =
|
|
23843
|
+
let e = ue.current;
|
|
23844
23844
|
if (!e) return;
|
|
23845
23845
|
let t = () => {
|
|
23846
23846
|
fe.current = !0;
|
|
@@ -23895,7 +23895,7 @@ var TH = (e) => {
|
|
|
23895
23895
|
});
|
|
23896
23896
|
B(() => {
|
|
23897
23897
|
if (!ve || ce < 0 || fe.current) return;
|
|
23898
|
-
let e =
|
|
23898
|
+
let e = ue.current, t = de.current[ce];
|
|
23899
23899
|
if (!e || !t) return;
|
|
23900
23900
|
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), i = r.top - n.top, a = r.bottom - n.bottom;
|
|
23901
23901
|
i >= 0 && a <= 0 || e.scrollTo({
|
|
@@ -23975,7 +23975,7 @@ var TH = (e) => {
|
|
|
23975
23975
|
size: p
|
|
23976
23976
|
})]
|
|
23977
23977
|
}),
|
|
23978
|
-
he ? /* @__PURE__ */ G(
|
|
23978
|
+
he ? /* @__PURE__ */ G(j.div, {
|
|
23979
23979
|
role: "region",
|
|
23980
23980
|
"aria-label": ge ? ge.label : x.audioPlayer.details,
|
|
23981
23981
|
initial: !1,
|
|
@@ -23996,10 +23996,10 @@ var TH = (e) => {
|
|
|
23996
23996
|
},
|
|
23997
23997
|
className: "overflow-hidden",
|
|
23998
23998
|
children: [
|
|
23999
|
-
O.length > 1 &&
|
|
23999
|
+
O.length > 1 && M ? /* @__PURE__ */ W("div", {
|
|
24000
24000
|
className: "flex justify-end pb-2.5",
|
|
24001
24001
|
children: /* @__PURE__ */ W(pH, {
|
|
24002
|
-
value:
|
|
24002
|
+
value: M,
|
|
24003
24003
|
options: O,
|
|
24004
24004
|
onChange: A,
|
|
24005
24005
|
kind: x.audioPlayer.language
|
|
@@ -24018,7 +24018,7 @@ var TH = (e) => {
|
|
|
24018
24018
|
/* @__PURE__ */ W("div", {
|
|
24019
24019
|
className: ge ? void 0 : "pt-2.5",
|
|
24020
24020
|
children: /* @__PURE__ */ W(Hr, {
|
|
24021
|
-
viewportRef:
|
|
24021
|
+
viewportRef: ue,
|
|
24022
24022
|
style: { "--audio-details-max-h": `${b}px` },
|
|
24023
24023
|
className: "[&_[data-scroll-container]]:max-h-[var(--audio-details-max-h)]",
|
|
24024
24024
|
children: /* @__PURE__ */ W("div", {
|
|
@@ -24105,7 +24105,7 @@ var AH = o("F0AudioPlayer", r(kH)), jH = o("F0AudioPlayerCard", r(DH)), MH = R(f
|
|
|
24105
24105
|
"aria-label": r,
|
|
24106
24106
|
className: e
|
|
24107
24107
|
};
|
|
24108
|
-
return /* @__PURE__ */ G(
|
|
24108
|
+
return /* @__PURE__ */ G(k, {
|
|
24109
24109
|
ref: s,
|
|
24110
24110
|
...d,
|
|
24111
24111
|
variant: a,
|
|
@@ -24207,7 +24207,7 @@ var GH = RH, KH = BH, qH = HH;
|
|
|
24207
24207
|
//#endregion
|
|
24208
24208
|
//#region src/elements/F0Card/components/CardActions.tsx
|
|
24209
24209
|
function JH({ primaryAction: e, secondaryActions: t, compact: n = !1 }) {
|
|
24210
|
-
let r =
|
|
24210
|
+
let r = ne("(min-width: 640px)");
|
|
24211
24211
|
return e || i() ? /* @__PURE__ */ G(Yl, {
|
|
24212
24212
|
className: c("flex-col gap-2 sm:flex-row sm:justify-between [&>div]:z-[1]", "relative z-[2] -mx-4 -mb-4 mt-4 cursor-auto border-0 border-t border-solid border-t-f1-border-secondary px-4 pb-4 pt-4", n && "-mb-3 pb-3 pt-3"),
|
|
24213
24213
|
onClick: (e) => e.stopPropagation(),
|
|
@@ -24267,9 +24267,9 @@ var YH = {
|
|
|
24267
24267
|
info: "info",
|
|
24268
24268
|
positive: "positive"
|
|
24269
24269
|
}, $H = {
|
|
24270
|
-
critical:
|
|
24271
|
-
warning:
|
|
24272
|
-
info:
|
|
24270
|
+
critical: Tt,
|
|
24271
|
+
warning: xn,
|
|
24272
|
+
info: qt,
|
|
24273
24273
|
positive: Fn
|
|
24274
24274
|
};
|
|
24275
24275
|
function eU({ onClose: e }) {
|
|
@@ -24331,16 +24331,16 @@ var nU = R(function({ alert: e, fullHeight: t, children: n }, r) {
|
|
|
24331
24331
|
nU.displayName = "CardAlertWrapper";
|
|
24332
24332
|
//#endregion
|
|
24333
24333
|
//#region src/elements/F0Card/components/CardAvatar.tsx
|
|
24334
|
-
var rU = ({ avatar: e, size: t }) => e.type === "emoji" ? /* @__PURE__ */ W(
|
|
24334
|
+
var rU = ({ avatar: e, size: t }) => e.type === "emoji" ? /* @__PURE__ */ W(tt, {
|
|
24335
24335
|
emoji: e.emoji,
|
|
24336
24336
|
size: t
|
|
24337
|
-
}) : e.type === "file" ? /* @__PURE__ */ W(
|
|
24337
|
+
}) : e.type === "file" ? /* @__PURE__ */ W(nt, {
|
|
24338
24338
|
file: e.file,
|
|
24339
24339
|
size: t
|
|
24340
24340
|
}) : e.type === "icon" ? /* @__PURE__ */ W(Ye, {
|
|
24341
24341
|
icon: e.icon,
|
|
24342
24342
|
size: t
|
|
24343
|
-
}) : e.type === "module" ? /* @__PURE__ */ W(
|
|
24343
|
+
}) : e.type === "module" ? /* @__PURE__ */ W(Be, {
|
|
24344
24344
|
module: e.module,
|
|
24345
24345
|
size: t
|
|
24346
24346
|
}) : e.type === "alert" ? /* @__PURE__ */ W(Df, {
|
|
@@ -24364,22 +24364,22 @@ function iU({ avatar: e, overlay: t = !1, compact: n = !1, size: r }) {
|
|
|
24364
24364
|
//#endregion
|
|
24365
24365
|
//#region src/elements/F0Card/cardPropertyRenderers.ts
|
|
24366
24366
|
var aU = {
|
|
24367
|
-
text:
|
|
24368
|
-
number:
|
|
24369
|
-
date:
|
|
24370
|
-
amount:
|
|
24371
|
-
person:
|
|
24372
|
-
company:
|
|
24373
|
-
team:
|
|
24374
|
-
status:
|
|
24375
|
-
tag:
|
|
24376
|
-
avatarList:
|
|
24377
|
-
tagList:
|
|
24378
|
-
alertTag:
|
|
24379
|
-
dotTag:
|
|
24380
|
-
file:
|
|
24381
|
-
folder:
|
|
24382
|
-
progressBar:
|
|
24367
|
+
text: gn.text,
|
|
24368
|
+
number: gn.number,
|
|
24369
|
+
date: gn.date,
|
|
24370
|
+
amount: gn.amount,
|
|
24371
|
+
person: gn.person,
|
|
24372
|
+
company: gn.company,
|
|
24373
|
+
team: gn.team,
|
|
24374
|
+
status: gn.status,
|
|
24375
|
+
tag: gn.tag,
|
|
24376
|
+
avatarList: gn.avatarList,
|
|
24377
|
+
tagList: gn.tagList,
|
|
24378
|
+
alertTag: gn.alertTag,
|
|
24379
|
+
dotTag: gn.dotTag,
|
|
24380
|
+
file: gn.file,
|
|
24381
|
+
folder: gn.folder,
|
|
24382
|
+
progressBar: gn.progressBar
|
|
24383
24383
|
};
|
|
24384
24384
|
//#endregion
|
|
24385
24385
|
//#region src/elements/F0Card/components/CardMetadata.tsx
|
|
@@ -24437,7 +24437,7 @@ function sU({ otherActions: e, selectable: t = !1, selected: n = !1, onSelect: r
|
|
|
24437
24437
|
}) : null,
|
|
24438
24438
|
t ? /* @__PURE__ */ W("div", {
|
|
24439
24439
|
className: "flex items-center justify-center",
|
|
24440
|
-
children: /* @__PURE__ */ W(
|
|
24440
|
+
children: /* @__PURE__ */ W(un, {
|
|
24441
24441
|
title: o,
|
|
24442
24442
|
checked: n,
|
|
24443
24443
|
onCheckedChange: r,
|
|
@@ -24530,7 +24530,7 @@ var mU = R(function({ compact: e = !1, avatar: t, image: n, imageFit: r = "fit-w
|
|
|
24530
24530
|
},
|
|
24531
24531
|
"aria-hidden": "true"
|
|
24532
24532
|
}) : null,
|
|
24533
|
-
/* @__PURE__ */ W(
|
|
24533
|
+
/* @__PURE__ */ W(We, {
|
|
24534
24534
|
src: n,
|
|
24535
24535
|
alt: s,
|
|
24536
24536
|
className: c(pU(r))
|
|
@@ -24654,7 +24654,7 @@ var vU = r(gu(gU, _U)), yU = (e) => e.type === "infinite-scroll" ? e : {
|
|
|
24654
24654
|
cursor: String(e.currentPage + 1),
|
|
24655
24655
|
hasMore: e.currentPage < e.pagesCount,
|
|
24656
24656
|
summaries: e.summaries
|
|
24657
|
-
}, bU = (e, t) =>
|
|
24657
|
+
}, bU = (e, t) => $e(e) ? e.map((e) => {
|
|
24658
24658
|
let n = e.data;
|
|
24659
24659
|
return n == null ? {
|
|
24660
24660
|
loading: e.loading,
|
|
@@ -24665,8 +24665,8 @@ var vU = r(gu(gU, _U)), yU = (e) => e.type === "infinite-scroll" ? e : {
|
|
|
24665
24665
|
error: e.error,
|
|
24666
24666
|
data: t(n)
|
|
24667
24667
|
};
|
|
24668
|
-
}) :
|
|
24669
|
-
if (
|
|
24668
|
+
}) : et(e) ? e.then(t) : t(e), xU = (e) => {
|
|
24669
|
+
if (Pt(e) !== "pages") return e;
|
|
24670
24670
|
let t = e;
|
|
24671
24671
|
return {
|
|
24672
24672
|
...t,
|
|
@@ -24718,7 +24718,7 @@ var TU = R(({ className: e, ...t }, n) => /* @__PURE__ */ W(ed, {
|
|
|
24718
24718
|
TU.displayName = ed.displayName;
|
|
24719
24719
|
//#endregion
|
|
24720
24720
|
//#region src/elements/primitives/Dialog/dialog.tsx
|
|
24721
|
-
var EU = Yu, DU = ({ position: e }) => /* @__PURE__ */ W(
|
|
24721
|
+
var EU = Yu, DU = ({ position: e }) => /* @__PURE__ */ W(j.div, {
|
|
24722
24722
|
initial: { opacity: 0 },
|
|
24723
24723
|
animate: { opacity: .6 },
|
|
24724
24724
|
exit: { opacity: 0 },
|
|
@@ -24736,7 +24736,7 @@ var EU = Yu, DU = ({ position: e }) => /* @__PURE__ */ W(M.div, {
|
|
|
24736
24736
|
"after:bottom-0"
|
|
24737
24737
|
])
|
|
24738
24738
|
}), OU = ({ children: e, disableContentPadding: t = !1 }) => {
|
|
24739
|
-
let { position: n } =
|
|
24739
|
+
let { position: n } = yt(), r = H(null), [i, a] = U(!0), [o, s] = U(!0), l = z(() => {
|
|
24740
24740
|
let e = r.current;
|
|
24741
24741
|
if (!e) return;
|
|
24742
24742
|
let { scrollTop: t, scrollHeight: n, clientHeight: i } = e;
|
|
@@ -24777,7 +24777,7 @@ var EU = Yu, DU = ({ position: e }) => /* @__PURE__ */ W(M.div, {
|
|
|
24777
24777
|
loading: e.loading
|
|
24778
24778
|
})
|
|
24779
24779
|
}), MU = ({ primaryAction: e, secondaryAction: t, secondaryActions: n = [] }) => {
|
|
24780
|
-
let { portalContainer: r } =
|
|
24780
|
+
let { portalContainer: r } = yt(), i = t, a = e;
|
|
24781
24781
|
return !a && !i && n.length === 0 ? null : /* @__PURE__ */ G("div", {
|
|
24782
24782
|
className: "flex flex-row items-center justify-between border-x-0 border-b-0 border-t border-solid border-f1-border-secondary px-4 py-3",
|
|
24783
24783
|
children: [/* @__PURE__ */ W("div", { className: "flex-1" }), /* @__PURE__ */ G("div", {
|
|
@@ -24852,11 +24852,11 @@ function PU({ ...e }) {
|
|
|
24852
24852
|
children: s
|
|
24853
24853
|
}), /* @__PURE__ */ W("div", {
|
|
24854
24854
|
className: "ml-2",
|
|
24855
|
-
children: /* @__PURE__ */ W(
|
|
24855
|
+
children: /* @__PURE__ */ W(j.div, {
|
|
24856
24856
|
animate: { rotate: t ? 180 : 0 },
|
|
24857
24857
|
className: "h-[16px] w-[16px]",
|
|
24858
24858
|
children: /* @__PURE__ */ W(Me, {
|
|
24859
|
-
icon:
|
|
24859
|
+
icon: Ge,
|
|
24860
24860
|
size: "sm",
|
|
24861
24861
|
className: "rounded-2xs bg-f1-background-secondary p-0.5"
|
|
24862
24862
|
})
|
|
@@ -24906,7 +24906,7 @@ var RU = ({ className: e, ...t }) => /* @__PURE__ */ W("li", {
|
|
|
24906
24906
|
...t
|
|
24907
24907
|
});
|
|
24908
24908
|
RU.displayName = "BreadcrumbItem";
|
|
24909
|
-
var zU = R(({ asChild: e, className: t, ...n }, r) => /* @__PURE__ */ W(e ? Fr :
|
|
24909
|
+
var zU = R(({ asChild: e, className: t, ...n }, r) => /* @__PURE__ */ W(e ? Fr : D, {
|
|
24910
24910
|
ref: r,
|
|
24911
24911
|
className: c("rounded-sm px-1.5 py-0.5 font-medium text-f1-foreground no-underline transition-colors hover:bg-f1-background-secondary", t),
|
|
24912
24912
|
...n
|
|
@@ -25025,7 +25025,7 @@ function tW({ item: e }) {
|
|
|
25025
25025
|
value: e.value,
|
|
25026
25026
|
showSearchBox: e.searchbox,
|
|
25027
25027
|
onFiltersChange: o
|
|
25028
|
-
}), s ? /* @__PURE__ */ W(
|
|
25028
|
+
}), s ? /* @__PURE__ */ W(D, {
|
|
25029
25029
|
href: s,
|
|
25030
25030
|
ref: l,
|
|
25031
25031
|
tabIndex: -1,
|
|
@@ -25041,7 +25041,7 @@ var nW = R((e, t) => /* @__PURE__ */ W("span", {
|
|
|
25041
25041
|
"aria-hidden": "true",
|
|
25042
25042
|
className: "h-4 w-4 text-f1-icon-secondary",
|
|
25043
25043
|
...e,
|
|
25044
|
-
children: /* @__PURE__ */ W(
|
|
25044
|
+
children: /* @__PURE__ */ W(kt, {})
|
|
25045
25045
|
}));
|
|
25046
25046
|
nW.displayName = "BreadcrumbSeparator";
|
|
25047
25047
|
//#endregion
|
|
@@ -25061,11 +25061,11 @@ var rW = R(({ item: e, isLast: t, isOnly: n = !1, isFirst: r = !1, children: i }
|
|
|
25061
25061
|
}, NU(e)));
|
|
25062
25062
|
rW.displayName = "BreadcrumbItem";
|
|
25063
25063
|
var iW = R(({ item: e, isLast: t, isOnly: n = !1, isFirst: r = !1 }, i) => {
|
|
25064
|
-
let a = "loading" in e && e.loading, o = a ? "loading" : "type" in e && e.type ? e.type : t || n ? "page" : "link", s = /* @__PURE__ */ G(
|
|
25064
|
+
let a = "loading" in e && e.loading, o = a ? "loading" : "type" in e && e.type ? e.type : t || n ? "page" : "link", s = /* @__PURE__ */ G(j.div, {
|
|
25065
25065
|
layoutId: `breadcrumb-${e.id}`,
|
|
25066
25066
|
className: c("flex items-center gap-2 px-1.5", r && "pl-0", n && "text-2xl font-semibold"),
|
|
25067
25067
|
transition: { duration: .15 },
|
|
25068
|
-
children: [!a && "module" in e && e.module && (n || r) ? /* @__PURE__ */ W(
|
|
25068
|
+
children: [!a && "module" in e && e.module && (n || r) ? /* @__PURE__ */ W(Be, {
|
|
25069
25069
|
module: e.module,
|
|
25070
25070
|
size: n ? "md" : "xs"
|
|
25071
25071
|
}) : null, /* @__PURE__ */ W("span", {
|
|
@@ -25095,14 +25095,14 @@ var iW = R(({ item: e, isLast: t, isOnly: n = !1, isFirst: r = !1 }, i) => {
|
|
|
25095
25095
|
link: /* @__PURE__ */ W(zU, {
|
|
25096
25096
|
asChild: !0,
|
|
25097
25097
|
className: "p-0",
|
|
25098
|
-
children: /* @__PURE__ */ W(
|
|
25098
|
+
children: /* @__PURE__ */ W(D, {
|
|
25099
25099
|
..."href" in e && !("type" in e) ? e : {},
|
|
25100
25100
|
className: "block",
|
|
25101
25101
|
children: s
|
|
25102
25102
|
})
|
|
25103
25103
|
})
|
|
25104
25104
|
}, u = o === "select" || o === "collection-select";
|
|
25105
|
-
return /* @__PURE__ */ W(
|
|
25105
|
+
return /* @__PURE__ */ W(j.div, {
|
|
25106
25106
|
ref: i,
|
|
25107
25107
|
layout: !u,
|
|
25108
25108
|
className: c(a && "max-w-40"),
|
|
@@ -25145,11 +25145,11 @@ function oW({ previous: e, next: t, counter: n }) {
|
|
|
25145
25145
|
}) : null, /* @__PURE__ */ G("div", {
|
|
25146
25146
|
className: "flex items-center gap-2",
|
|
25147
25147
|
children: [/* @__PURE__ */ W(aW, {
|
|
25148
|
-
icon:
|
|
25148
|
+
icon: lt,
|
|
25149
25149
|
target: e,
|
|
25150
25150
|
fallbackLabel: "Previous"
|
|
25151
25151
|
}), /* @__PURE__ */ W(aW, {
|
|
25152
|
-
icon:
|
|
25152
|
+
icon: kt,
|
|
25153
25153
|
target: t,
|
|
25154
25154
|
fallbackLabel: "Next"
|
|
25155
25155
|
})]
|
|
@@ -25158,7 +25158,7 @@ function oW({ previous: e, next: t, counter: n }) {
|
|
|
25158
25158
|
}
|
|
25159
25159
|
//#endregion
|
|
25160
25160
|
//#region src/elements/F0RichTextDisplay/F0RichTextDisplay.tsx
|
|
25161
|
-
var sW = ge().use(
|
|
25161
|
+
var sW = ge().use(re).use(fe).use(xe).use(we), cW = R(function({ content: e, className: t, format: n = "html", ...r }, i) {
|
|
25162
25162
|
let a = V(() => Yn.sanitize(n === "markdown" ? String(sW.processSync(e)) : e, {
|
|
25163
25163
|
ADD_ATTR: ["target"],
|
|
25164
25164
|
ALLOWED_ATTR: [
|
|
@@ -25175,12 +25175,12 @@ var sW = ge().use(ie).use(fe).use(xe).use(we), cW = R(function({ content: e, cla
|
|
|
25175
25175
|
dangerouslySetInnerHTML: { __html: a }
|
|
25176
25176
|
});
|
|
25177
25177
|
}), lW = o("F0RichTextDisplay", cW), uW = lW, dW = "[&>p]:m-0 [&>p+p]:mt-2", fW = ({ description: e }) => {
|
|
25178
|
-
let [t, n] = U(!1), [r, i] = U(!1), o = a(), s = pi(), u =
|
|
25178
|
+
let [t, n] = U(!1), [r, i] = U(!1), o = a(), s = pi(), u = le(), d = H(null), f = H(null), p = O({ ref: d }), m = O({ ref: f });
|
|
25179
25179
|
return B(() => {
|
|
25180
25180
|
m.height && p.height && i(m.height > p.height);
|
|
25181
25181
|
}, [m.height, p.height]), /* @__PURE__ */ G("div", {
|
|
25182
25182
|
className: "flex max-w-[640px] flex-col gap-1",
|
|
25183
|
-
children: [/* @__PURE__ */ G(
|
|
25183
|
+
children: [/* @__PURE__ */ G(j.div, {
|
|
25184
25184
|
onFocusCapture: () => {
|
|
25185
25185
|
r && n(!0);
|
|
25186
25186
|
},
|
|
@@ -25222,7 +25222,7 @@ var sW = ge().use(ie).use(fe).use(xe).use(we), cW = R(function({ content: e, cla
|
|
|
25222
25222
|
onClick: () => n((e) => !e),
|
|
25223
25223
|
className: c("flex w-fit items-center gap-1 font-medium text-f1-foreground transition-colors hover:text-f1-foreground-secondary", l()),
|
|
25224
25224
|
children: [t ? o.actions.showLess : o.actions.showAll, /* @__PURE__ */ W(Me, {
|
|
25225
|
-
icon:
|
|
25225
|
+
icon: Ge,
|
|
25226
25226
|
size: "sm",
|
|
25227
25227
|
"aria-hidden": !0,
|
|
25228
25228
|
className: c(!u && "transition-transform duration-200 ease-out", t && "rotate-180")
|
|
@@ -25252,7 +25252,7 @@ var sW = ge().use(ie).use(fe).use(xe).use(we), cW = R(function({ content: e, cla
|
|
|
25252
25252
|
return l && (e = setTimeout(() => u(!1), 1e3)), () => {
|
|
25253
25253
|
e && clearTimeout(e);
|
|
25254
25254
|
};
|
|
25255
|
-
}, [l]), /* @__PURE__ */ W(
|
|
25255
|
+
}, [l]), /* @__PURE__ */ W(k, {
|
|
25256
25256
|
ref: c,
|
|
25257
25257
|
variant: i,
|
|
25258
25258
|
size: o,
|
|
@@ -25267,7 +25267,7 @@ var sW = ge().use(ie).use(fe).use(xe).use(we), cW = R(function({ content: e, cla
|
|
|
25267
25267
|
children: /* @__PURE__ */ W(Oe, {
|
|
25268
25268
|
mode: "wait",
|
|
25269
25269
|
initial: !1,
|
|
25270
|
-
children: /* @__PURE__ */ W(
|
|
25270
|
+
children: /* @__PURE__ */ W(j.span, {
|
|
25271
25271
|
variants: pW,
|
|
25272
25272
|
initial: "initial",
|
|
25273
25273
|
animate: "animate",
|
|
@@ -25292,12 +25292,12 @@ hW.displayName = "ButtonCopy";
|
|
|
25292
25292
|
//#region src/blocks/Headers/Metadata/MetadataValue.tsx
|
|
25293
25293
|
var gW = {
|
|
25294
25294
|
warning: {
|
|
25295
|
-
icon:
|
|
25295
|
+
icon: xn,
|
|
25296
25296
|
iconColor: "warning",
|
|
25297
25297
|
textColor: "text-f1-foreground-warning"
|
|
25298
25298
|
},
|
|
25299
25299
|
critical: {
|
|
25300
|
-
icon:
|
|
25300
|
+
icon: Tt,
|
|
25301
25301
|
iconColor: "critical",
|
|
25302
25302
|
textColor: "text-f1-foreground-critical"
|
|
25303
25303
|
}
|
|
@@ -25313,11 +25313,11 @@ function _W({ item: e, collapse: t = !1 }) {
|
|
|
25313
25313
|
size: "xs"
|
|
25314
25314
|
}), n.text ? /* @__PURE__ */ W("span", { children: n.text }) : null]
|
|
25315
25315
|
});
|
|
25316
|
-
case "status": return /* @__PURE__ */ W(
|
|
25316
|
+
case "status": return /* @__PURE__ */ W(At, {
|
|
25317
25317
|
text: n.label,
|
|
25318
25318
|
variant: n.variant
|
|
25319
25319
|
});
|
|
25320
|
-
case "list": return /* @__PURE__ */ W(
|
|
25320
|
+
case "list": return /* @__PURE__ */ W(Ze, {
|
|
25321
25321
|
type: n.variant,
|
|
25322
25322
|
avatars: n.avatars,
|
|
25323
25323
|
size: "xs",
|
|
@@ -25335,15 +25335,15 @@ function _W({ item: e, collapse: t = !1 }) {
|
|
|
25335
25335
|
});
|
|
25336
25336
|
case "tag-list": return t ? /* @__PURE__ */ G("div", {
|
|
25337
25337
|
className: "flex flex-wrap items-center justify-center gap-1 font-medium",
|
|
25338
|
-
children: [/* @__PURE__ */ W(
|
|
25338
|
+
children: [/* @__PURE__ */ W(ut, { text: n.tags[0] }), n.tags.length > 1 ? /* @__PURE__ */ G("span", {
|
|
25339
25339
|
className: "tabular-nums text-f1-foreground-secondary",
|
|
25340
25340
|
children: ["+", n.tags.length - 1]
|
|
25341
25341
|
}) : null]
|
|
25342
25342
|
}) : /* @__PURE__ */ W("div", {
|
|
25343
25343
|
className: c("flex flex-col gap-1 [&>div]:w-fit", n.tags.length > 1 && "-mt-[3px]"),
|
|
25344
|
-
children: n.tags.map((e) => /* @__PURE__ */ W(
|
|
25344
|
+
children: n.tags.map((e) => /* @__PURE__ */ W(ut, { text: e }, e))
|
|
25345
25345
|
});
|
|
25346
|
-
case "dot-tag": return /* @__PURE__ */ W(
|
|
25346
|
+
case "dot-tag": return /* @__PURE__ */ W(on, {
|
|
25347
25347
|
text: n.label,
|
|
25348
25348
|
color: n.color
|
|
25349
25349
|
});
|
|
@@ -25362,12 +25362,12 @@ function _W({ item: e, collapse: t = !1 }) {
|
|
|
25362
25362
|
});
|
|
25363
25363
|
}
|
|
25364
25364
|
case "progress-bar": {
|
|
25365
|
-
let t = n.color ?
|
|
25365
|
+
let t = n.color ? at(n.color) : at("categorical-1"), r = n.max && n.max > 0 ? n.max : 100, i = Math.min(Math.max(0, n.value), r), a = i / r * 100;
|
|
25366
25366
|
return /* @__PURE__ */ G("div", {
|
|
25367
25367
|
className: "flex items-center gap-2",
|
|
25368
25368
|
children: [/* @__PURE__ */ W("div", {
|
|
25369
25369
|
className: "min-w-16",
|
|
25370
|
-
children: /* @__PURE__ */ W(
|
|
25370
|
+
children: /* @__PURE__ */ W(yn, {
|
|
25371
25371
|
color: t,
|
|
25372
25372
|
value: a,
|
|
25373
25373
|
max: 100,
|
|
@@ -25410,7 +25410,7 @@ var vW = (e) => e?.type !== "copy", yW = (e) => e?.type === "copy", bW = {
|
|
|
25410
25410
|
}
|
|
25411
25411
|
default: return n = e, n;
|
|
25412
25412
|
}
|
|
25413
|
-
}, SW = ({ item: e, open: t, isAction: n, isList: r, isClickable: i }) => /* @__PURE__ */ W(Oe, { children: t ? /* @__PURE__ */ G(
|
|
25413
|
+
}, SW = ({ item: e, open: t, isAction: n, isList: r, isClickable: i }) => /* @__PURE__ */ W(Oe, { children: t ? /* @__PURE__ */ G(j.div, {
|
|
25414
25414
|
className: c("absolute -left-1.5 -top-1.5 z-50 hidden max-h-[80vh] items-start justify-center gap-1.5 overflow-y-auto whitespace-nowrap rounded-sm bg-f1-background py-1 pl-1.5 shadow-md ring-1 ring-inset ring-f1-border-secondary md:flex", i && "group-focus-visible/metadata-item:ring-f1-special-ring", !r && "h-8 items-start", n ? "pr-1" : "pr-1.5"),
|
|
25415
25415
|
initial: { opacity: 0 },
|
|
25416
25416
|
animate: { opacity: 1 },
|
|
@@ -25419,7 +25419,7 @@ var vW = (e) => e?.type !== "copy", yW = (e) => e?.type === "copy", bW = {
|
|
|
25419
25419
|
children: [/* @__PURE__ */ W("div", {
|
|
25420
25420
|
className: c("flex h-6 items-center font-medium text-f1-foreground", r && "h-auto items-start pt-0.5", i && "cursor-pointer hover:underline"),
|
|
25421
25421
|
children: /* @__PURE__ */ W(_W, { item: e })
|
|
25422
|
-
}), n ? /* @__PURE__ */ W(
|
|
25422
|
+
}), n ? /* @__PURE__ */ W(j.div, {
|
|
25423
25423
|
className: "flex gap-1",
|
|
25424
25424
|
initial: { x: -16 },
|
|
25425
25425
|
animate: { x: 0 },
|
|
@@ -25490,7 +25490,7 @@ function DW({ item: e }) {
|
|
|
25490
25490
|
label: e.info.title,
|
|
25491
25491
|
description: e.info.description,
|
|
25492
25492
|
children: /* @__PURE__ */ W(Me, {
|
|
25493
|
-
icon:
|
|
25493
|
+
icon: Tn,
|
|
25494
25494
|
size: "sm"
|
|
25495
25495
|
})
|
|
25496
25496
|
})
|
|
@@ -25570,7 +25570,7 @@ var OW = di(function({ items: e, rowGap: t = "none" }) {
|
|
|
25570
25570
|
t?.toggleAttribute("inert", e);
|
|
25571
25571
|
};
|
|
25572
25572
|
function FW({ title: e, avatar: t, deactivated: n, description: r, primaryAction: i, secondaryActions: o = [], otherActions: s = [], status: l, metadata: u = [], metadataRowGap: d = "none", compact: f = !1, showBottomBorder: p = !1, onClose: m }) {
|
|
25573
|
-
let h = a(), g =
|
|
25573
|
+
let h = a(), g = le(), _ = [l && {
|
|
25574
25574
|
label: l.label,
|
|
25575
25575
|
value: {
|
|
25576
25576
|
type: "status",
|
|
@@ -25589,14 +25589,14 @@ function FW({ title: e, avatar: t, deactivated: n, description: r, primaryAction
|
|
|
25589
25589
|
className: c("flex grow flex-col items-start justify-start gap-3 md:flex-row", !r || f ? "md:items-center" : "md:items-start"),
|
|
25590
25590
|
children: [t ? /* @__PURE__ */ W("div", {
|
|
25591
25591
|
className: "flex items-start",
|
|
25592
|
-
children: /* @__PURE__ */ W(
|
|
25592
|
+
children: /* @__PURE__ */ W(j.div, {
|
|
25593
25593
|
initial: !1,
|
|
25594
25594
|
animate: {
|
|
25595
25595
|
width: f ? NW : MW,
|
|
25596
25596
|
height: f ? NW : MW
|
|
25597
25597
|
},
|
|
25598
25598
|
transition: { duration: g ? 0 : .2 },
|
|
25599
|
-
children: /* @__PURE__ */ W(
|
|
25599
|
+
children: /* @__PURE__ */ W(j.div, {
|
|
25600
25600
|
initial: !1,
|
|
25601
25601
|
animate: { scale: f ? NW / MW : 1 },
|
|
25602
25602
|
transition: { duration: g ? 0 : .2 },
|
|
@@ -25617,7 +25617,7 @@ function FW({ title: e, avatar: t, deactivated: n, description: r, primaryAction
|
|
|
25617
25617
|
children: [/* @__PURE__ */ W("span", {
|
|
25618
25618
|
className: c("text-2xl font-semibold", n ? "text-f1-foreground/[0.61]" : "text-f1-foreground"),
|
|
25619
25619
|
children: e
|
|
25620
|
-
}), r ? /* @__PURE__ */ W(
|
|
25620
|
+
}), r ? /* @__PURE__ */ W(j.div, {
|
|
25621
25621
|
initial: !1,
|
|
25622
25622
|
animate: {
|
|
25623
25623
|
height: f ? 0 : "auto",
|
|
@@ -25633,7 +25633,7 @@ function FW({ title: e, avatar: t, deactivated: n, description: r, primaryAction
|
|
|
25633
25633
|
}) : null]
|
|
25634
25634
|
})]
|
|
25635
25635
|
}),
|
|
25636
|
-
v ? /* @__PURE__ */ W(
|
|
25636
|
+
v ? /* @__PURE__ */ W(j.div, {
|
|
25637
25637
|
initial: !1,
|
|
25638
25638
|
animate: {
|
|
25639
25639
|
height: f ? 0 : "auto",
|
|
@@ -25772,7 +25772,7 @@ function FW({ title: e, avatar: t, deactivated: n, description: r, primaryAction
|
|
|
25772
25772
|
]
|
|
25773
25773
|
})
|
|
25774
25774
|
]
|
|
25775
|
-
}), v ? /* @__PURE__ */ W(
|
|
25775
|
+
}), v ? /* @__PURE__ */ W(j.div, {
|
|
25776
25776
|
initial: !1,
|
|
25777
25777
|
animate: {
|
|
25778
25778
|
height: f ? 0 : "auto",
|
|
@@ -25892,7 +25892,7 @@ var tG = (e) => {
|
|
|
25892
25892
|
isRootMenu: n,
|
|
25893
25893
|
rootNavigationMenu: r,
|
|
25894
25894
|
value: s,
|
|
25895
|
-
previousValue:
|
|
25895
|
+
previousValue: Jt(s),
|
|
25896
25896
|
baseId: Ir(),
|
|
25897
25897
|
dir: i,
|
|
25898
25898
|
orientation: a,
|
|
@@ -26408,7 +26408,7 @@ var WG = je({
|
|
|
26408
26408
|
secondary: a,
|
|
26409
26409
|
disabled: t
|
|
26410
26410
|
}), r),
|
|
26411
|
-
children: [e, n && !a ? /* @__PURE__ */ W(
|
|
26411
|
+
children: [e, n && !a ? /* @__PURE__ */ W(j.div, {
|
|
26412
26412
|
layoutId: "underline",
|
|
26413
26413
|
className: "absolute inset-x-0 -bottom-3 h-px bg-f1-background-inverse",
|
|
26414
26414
|
transition: {
|
|
@@ -26484,7 +26484,7 @@ var WG = je({
|
|
|
26484
26484
|
},
|
|
26485
26485
|
secondary: r,
|
|
26486
26486
|
asChild: !0,
|
|
26487
|
-
children: "href" in i ? /* @__PURE__ */ W(
|
|
26487
|
+
children: "href" in i ? /* @__PURE__ */ W(D, {
|
|
26488
26488
|
role: "link",
|
|
26489
26489
|
...i,
|
|
26490
26490
|
children: s
|
|
@@ -26547,7 +26547,7 @@ var WG = je({
|
|
|
26547
26547
|
className: "whitespace-nowrap text-f1-foreground-secondary",
|
|
26548
26548
|
children: e
|
|
26549
26549
|
}) : null, eK = ({ dismissable: e }) => {
|
|
26550
|
-
let t = a(), { onClose: n } =
|
|
26550
|
+
let t = a(), { onClose: n } = yt();
|
|
26551
26551
|
return e ? /* @__PURE__ */ W(me, {
|
|
26552
26552
|
variant: "outline",
|
|
26553
26553
|
icon: oo,
|
|
@@ -26567,7 +26567,7 @@ var WG = je({
|
|
|
26567
26567
|
})
|
|
26568
26568
|
}) : null, nK = ({ controls: e }) => e ? e.kind === "back" ? /* @__PURE__ */ W(me, {
|
|
26569
26569
|
variant: "outline",
|
|
26570
|
-
icon:
|
|
26570
|
+
icon: pt,
|
|
26571
26571
|
onClick: e.onClick,
|
|
26572
26572
|
label: e.label
|
|
26573
26573
|
}) : /* @__PURE__ */ G(_i, { children: [
|
|
@@ -26663,7 +26663,7 @@ var WG = je({
|
|
|
26663
26663
|
dismissable: e.dismissable ?? !0,
|
|
26664
26664
|
seatTabsInRow: a
|
|
26665
26665
|
});
|
|
26666
|
-
}, oK = () =>
|
|
26666
|
+
}, oK = () => ne("(max-width: 560px)", { initializeWithValue: !1 }), sK = je({
|
|
26667
26667
|
variants: {
|
|
26668
26668
|
variant: {
|
|
26669
26669
|
bottomSheet: "max-h-[95vh] bg-f1-background",
|
|
@@ -26790,7 +26790,7 @@ var WG = je({
|
|
|
26790
26790
|
controls: x,
|
|
26791
26791
|
inBar: ie
|
|
26792
26792
|
});
|
|
26793
|
-
return M && n ? /* @__PURE__ */ W(
|
|
26793
|
+
return M && n ? /* @__PURE__ */ W(_n, {
|
|
26794
26794
|
isOpen: a,
|
|
26795
26795
|
onClose: i,
|
|
26796
26796
|
position: r,
|
|
@@ -26817,7 +26817,7 @@ var WG = je({
|
|
|
26817
26817
|
]
|
|
26818
26818
|
})]
|
|
26819
26819
|
})
|
|
26820
|
-
}) : /* @__PURE__ */ W(
|
|
26820
|
+
}) : /* @__PURE__ */ W(_n, {
|
|
26821
26821
|
isOpen: a,
|
|
26822
26822
|
onClose: i,
|
|
26823
26823
|
position: r,
|
|
@@ -26903,7 +26903,7 @@ function SK(e, t) {
|
|
|
26903
26903
|
//#endregion
|
|
26904
26904
|
//#region src/elements/F0TextInput/F0TextInput.tsx
|
|
26905
26905
|
var CK = R(function(e, t) {
|
|
26906
|
-
return /* @__PURE__ */ W(
|
|
26906
|
+
return /* @__PURE__ */ W(Kt, {
|
|
26907
26907
|
...e,
|
|
26908
26908
|
ref: t
|
|
26909
26909
|
});
|
|
@@ -40671,7 +40671,7 @@ var B$ = {
|
|
|
40671
40671
|
strokeLinecap: "round",
|
|
40672
40672
|
strokeLinejoin: "round",
|
|
40673
40673
|
...t,
|
|
40674
|
-
children: [/* @__PURE__ */ W(
|
|
40674
|
+
children: [/* @__PURE__ */ W(j.circle, {
|
|
40675
40675
|
cx: "12",
|
|
40676
40676
|
cy: "12",
|
|
40677
40677
|
r: "8",
|
|
@@ -40679,7 +40679,7 @@ var B$ = {
|
|
|
40679
40679
|
variants: U$,
|
|
40680
40680
|
transition: H$,
|
|
40681
40681
|
animate: e
|
|
40682
|
-
}), /* @__PURE__ */ W(
|
|
40682
|
+
}), /* @__PURE__ */ W(j.path, {
|
|
40683
40683
|
d: "M9.00003 12L11.4 14.4L15 9.6",
|
|
40684
40684
|
initial: "normal",
|
|
40685
40685
|
variants: V$,
|
|
@@ -40999,7 +40999,7 @@ var U1 = {
|
|
|
40999
40999
|
animate: { opacity: 1 },
|
|
41000
41000
|
exit: { opacity: 0 }
|
|
41001
41001
|
}, G1 = ({ title: e, suffix: t, status: n, inGroup: r }) => {
|
|
41002
|
-
let i =
|
|
41002
|
+
let i = le(), a = {
|
|
41003
41003
|
duration: i ? 0 : .18,
|
|
41004
41004
|
ease: [
|
|
41005
41005
|
.33,
|
|
@@ -41016,7 +41016,7 @@ var U1 = {
|
|
|
41016
41016
|
children: /* @__PURE__ */ G(Oe, {
|
|
41017
41017
|
mode: "wait",
|
|
41018
41018
|
children: [
|
|
41019
|
-
o ? /* @__PURE__ */ W(
|
|
41019
|
+
o ? /* @__PURE__ */ W(j.div, {
|
|
41020
41020
|
className: "flex h-5 w-5 shrink-0 items-center justify-center",
|
|
41021
41021
|
...W1,
|
|
41022
41022
|
transition: a,
|
|
@@ -41026,7 +41026,7 @@ var U1 = {
|
|
|
41026
41026
|
icon: xo
|
|
41027
41027
|
})
|
|
41028
41028
|
}, "inProgress") : null,
|
|
41029
|
-
l ? /* @__PURE__ */ W(
|
|
41029
|
+
l ? /* @__PURE__ */ W(j.div, {
|
|
41030
41030
|
className: "flex h-5 w-5 shrink-0 items-center justify-center",
|
|
41031
41031
|
initial: !1,
|
|
41032
41032
|
animate: { opacity: 1 },
|
|
@@ -41037,7 +41037,7 @@ var U1 = {
|
|
|
41037
41037
|
},
|
|
41038
41038
|
children: /* @__PURE__ */ W(H1, { variant: l })
|
|
41039
41039
|
}, "spinner") : null,
|
|
41040
|
-
s ? /* @__PURE__ */ W(
|
|
41040
|
+
s ? /* @__PURE__ */ W(j.div, {
|
|
41041
41041
|
...W1,
|
|
41042
41042
|
className: "flex h-5 w-5 shrink-0 items-center justify-center",
|
|
41043
41043
|
transition: a,
|
|
@@ -41086,7 +41086,7 @@ var U1 = {
|
|
|
41086
41086
|
className: c(q1({ size: r }), i),
|
|
41087
41087
|
...a,
|
|
41088
41088
|
children: [
|
|
41089
|
-
/* @__PURE__ */ W(
|
|
41089
|
+
/* @__PURE__ */ W(nt, {
|
|
41090
41090
|
file: e,
|
|
41091
41091
|
size: J1[r]
|
|
41092
41092
|
}),
|
|
@@ -41097,7 +41097,7 @@ var U1 = {
|
|
|
41097
41097
|
s ? l ? /* @__PURE__ */ W(Se, {
|
|
41098
41098
|
label: l.label,
|
|
41099
41099
|
size: Y1[r],
|
|
41100
|
-
icon: l.icon ??
|
|
41100
|
+
icon: l.icon ?? Ne,
|
|
41101
41101
|
disabled: n,
|
|
41102
41102
|
onClick: n ? void 0 : l.onClick,
|
|
41103
41103
|
hideLabel: !0,
|
|
@@ -41228,7 +41228,7 @@ var Z1 = o("F0FileItem", r(X1)), Q1 = Z1, $1 = 2, e0 = 70, t0 = .08, n0 = 6, r0
|
|
|
41228
41228
|
children: /* @__PURE__ */ W("path", { d: e.path })
|
|
41229
41229
|
}, e.id))] }), /* @__PURE__ */ W("g", {
|
|
41230
41230
|
clipPath: `url(#${o}-circle)`,
|
|
41231
|
-
children: s0.map((t) => /* @__PURE__ */ W(
|
|
41231
|
+
children: s0.map((t) => /* @__PURE__ */ W(j.foreignObject, {
|
|
41232
41232
|
x: "0",
|
|
41233
41233
|
y: "0",
|
|
41234
41234
|
width: "32",
|
|
@@ -42097,7 +42097,7 @@ var Z1 = o("F0FileItem", r(X1)), Q1 = Z1, $1 = 2, e0 = 70, t0 = .08, n0 = 6, r0
|
|
|
42097
42097
|
}, l4 = (e) => ({
|
|
42098
42098
|
url: o4(e),
|
|
42099
42099
|
name: a4(e)
|
|
42100
|
-
}), u4 = () => import("./F0DocumentViewer-
|
|
42100
|
+
}), u4 = () => import("./F0DocumentViewer-D8n4cD0X.js"), d4 = (e, t) => {
|
|
42101
42101
|
if (e.length < 2) return [];
|
|
42102
42102
|
let n = $2(t, 1, e.length), r = $2(t, -1, e.length);
|
|
42103
42103
|
return [.../* @__PURE__ */ new Set([n, r])].filter((e) => e !== t).map((t) => e[t]);
|
|
@@ -42136,7 +42136,7 @@ var Z1 = o("F0FileItem", r(X1)), Q1 = Z1, $1 = 2, e0 = 70, t0 = .08, n0 = 6, r0
|
|
|
42136
42136
|
n,
|
|
42137
42137
|
r
|
|
42138
42138
|
]);
|
|
42139
|
-
}, m4 = ui(() => u4().then((e) => ({ default: e.F0DocumentViewer }))), h4 = ui(() => import("./F0VideoPlayer-
|
|
42139
|
+
}, m4 = ui(() => u4().then((e) => ({ default: e.F0DocumentViewer }))), h4 = ui(() => import("./F0VideoPlayer-ChcyxpNN.js").then((e) => ({ default: e.F0VideoPlayer }))), g4 = ui(() => import("./F0AudioPlayer-B87gu5ab.js").then((e) => ({ default: e.F0AudioPlayer }))), _4 = 24, v4 = () => {}, y4 = R(({ item: e, reloadKey: t = 0, direction: n, immersive: r = !1, onDownload: i, onSettled: a }, o) => {
|
|
42140
42140
|
let { reducedMotion: s } = v0(), l = e.kind === "document";
|
|
42141
42141
|
return /* @__PURE__ */ W("div", {
|
|
42142
42142
|
ref: o,
|
|
@@ -42148,7 +42148,7 @@ var Z1 = o("F0FileItem", r(X1)), Q1 = Z1, $1 = 2, e0 = 70, t0 = .08, n0 = 6, r0
|
|
|
42148
42148
|
initial: !1,
|
|
42149
42149
|
mode: "popLayout",
|
|
42150
42150
|
custom: n,
|
|
42151
|
-
children: /* @__PURE__ */ W(
|
|
42151
|
+
children: /* @__PURE__ */ W(j.div, {
|
|
42152
42152
|
custom: n,
|
|
42153
42153
|
className: "relative flex h-full max-h-full w-full max-w-full items-center justify-center",
|
|
42154
42154
|
variants: {
|
|
@@ -42225,7 +42225,7 @@ var b4 = ({ item: e, onDownload: t, onSettled: n }) => {
|
|
|
42225
42225
|
e && !r.current && (r.current = !0, n.current());
|
|
42226
42226
|
}, [e]);
|
|
42227
42227
|
}, S4 = (e) => {
|
|
42228
|
-
let t =
|
|
42228
|
+
let t = A();
|
|
42229
42229
|
B(() => {
|
|
42230
42230
|
t || e.current?.querySelector("video, audio")?.pause();
|
|
42231
42231
|
}, [t, e]), B(() => {
|
|
@@ -42238,7 +42238,7 @@ var b4 = ({ item: e, onDownload: t, onSettled: n }) => {
|
|
|
42238
42238
|
className: "pointer-events-auto flex max-w-sm flex-col items-center gap-3 rounded-lg bg-f1-background p-6 text-center",
|
|
42239
42239
|
"data-testid": "attachment-viewer-error",
|
|
42240
42240
|
children: [
|
|
42241
|
-
/* @__PURE__ */ W(
|
|
42241
|
+
/* @__PURE__ */ W(nt, {
|
|
42242
42242
|
file: {
|
|
42243
42243
|
name: e.name,
|
|
42244
42244
|
type: e.mimeType ?? ""
|
|
@@ -42361,7 +42361,7 @@ var b4 = ({ item: e, onDownload: t, onSettled: n }) => {
|
|
|
42361
42361
|
ref: r,
|
|
42362
42362
|
className: "flex w-full max-w-md flex-col items-center gap-4 rounded-lg bg-f1-background p-6",
|
|
42363
42363
|
children: [
|
|
42364
|
-
/* @__PURE__ */ W(
|
|
42364
|
+
/* @__PURE__ */ W(nt, {
|
|
42365
42365
|
file: {
|
|
42366
42366
|
name: e.name,
|
|
42367
42367
|
type: e.mimeType ?? ""
|
|
@@ -42401,7 +42401,7 @@ var b4 = ({ item: e, onDownload: t, onSettled: n }) => {
|
|
|
42401
42401
|
})
|
|
42402
42402
|
}), A4 = (e, t) => {
|
|
42403
42403
|
let n = e.lastIndexOf("."), r = n > 0 ? e.slice(n + 1).trim() : "";
|
|
42404
|
-
return r && r.length <= 5 ? r.toUpperCase() :
|
|
42404
|
+
return r && r.length <= 5 ? r.toUpperCase() : Ke({
|
|
42405
42405
|
name: e,
|
|
42406
42406
|
type: t ?? ""
|
|
42407
42407
|
}).type;
|
|
@@ -42421,7 +42421,7 @@ var b4 = ({ item: e, onDownload: t, onSettled: n }) => {
|
|
|
42421
42421
|
className: c("flex shrink-0 items-center gap-3 py-3 pl-4 pr-3", u ? "pointer-events-auto" : "border-0 border-b border-solid border-f1-border-secondary"),
|
|
42422
42422
|
"data-testid": "attachment-viewer-header",
|
|
42423
42423
|
children: [
|
|
42424
|
-
/* @__PURE__ */ W(
|
|
42424
|
+
/* @__PURE__ */ W(nt, {
|
|
42425
42425
|
file: {
|
|
42426
42426
|
name: p,
|
|
42427
42427
|
type: m ?? ""
|
|
@@ -42487,11 +42487,11 @@ var b4 = ({ item: e, onDownload: t, onSettled: n }) => {
|
|
|
42487
42487
|
className: "flex shrink-0 items-center gap-1",
|
|
42488
42488
|
children: [
|
|
42489
42489
|
h && s && l ? /* @__PURE__ */ G(_i, { children: [/* @__PURE__ */ W(v, {
|
|
42490
|
-
icon:
|
|
42490
|
+
icon: lt,
|
|
42491
42491
|
label: f.chat.previousAttachment,
|
|
42492
42492
|
onClick: s
|
|
42493
42493
|
}), /* @__PURE__ */ W(v, {
|
|
42494
|
-
icon:
|
|
42494
|
+
icon: kt,
|
|
42495
42495
|
label: f.chat.nextAttachment,
|
|
42496
42496
|
onClick: l
|
|
42497
42497
|
})] }) : null,
|
|
@@ -42521,12 +42521,12 @@ var b4 = ({ item: e, onDownload: t, onSettled: n }) => {
|
|
|
42521
42521
|
className: "pointer-events-none absolute inset-x-0 bottom-0 z-10 flex items-center justify-center gap-2 p-3 sm:inset-y-0 sm:justify-between",
|
|
42522
42522
|
"data-testid": "attachment-viewer-nav",
|
|
42523
42523
|
children: [/* @__PURE__ */ W(k4, {
|
|
42524
|
-
icon:
|
|
42524
|
+
icon: lt,
|
|
42525
42525
|
label: i,
|
|
42526
42526
|
onClick: t,
|
|
42527
42527
|
shortcut: "ArrowLeft"
|
|
42528
42528
|
}), /* @__PURE__ */ W(k4, {
|
|
42529
|
-
icon:
|
|
42529
|
+
icon: kt,
|
|
42530
42530
|
label: o,
|
|
42531
42531
|
onClick: n,
|
|
42532
42532
|
shortcut: "ArrowRight"
|
|
@@ -42740,7 +42740,7 @@ var b4 = ({ item: e, onDownload: t, onSettled: n }) => {
|
|
|
42740
42740
|
remotePreviews: !1,
|
|
42741
42741
|
provided: !1
|
|
42742
42742
|
}), H4 = () => fi(V4), U4 = ({ filePreviews: e, children: t }) => {
|
|
42743
|
-
let n =
|
|
42743
|
+
let n = le(), r = !!(e?.resolveUrl || e?.directUrls);
|
|
42744
42744
|
return /* @__PURE__ */ W(V4.Provider, {
|
|
42745
42745
|
value: r ? W4 : G4,
|
|
42746
42746
|
children: /* @__PURE__ */ W(g0, {
|
|
@@ -42840,7 +42840,7 @@ var g3 = si(null), { min: _3, max: v3 } = Jr, y3 = 5e3, b3 = () => {}, x3 = [],
|
|
|
42840
42840
|
c,
|
|
42841
42841
|
f,
|
|
42842
42842
|
g
|
|
42843
|
-
]), y =
|
|
42843
|
+
]), y = ne("(pointer: coarse)", { initializeWithValue: !0 }), b = ne(`(max-width: ${qr.md}px)`, { initializeWithValue: !0 }), x = y && b || _.shouldOverlay, S = o || m !== null, [C, w] = h3({
|
|
42844
42844
|
key: o3,
|
|
42845
42845
|
legacyKeys: u3,
|
|
42846
42846
|
fallback: a === "fullscreen",
|
|
@@ -42863,7 +42863,7 @@ var g3 = si(null), { min: _3, max: v3 } = Jr, y3 = 5e3, b3 = () => {}, x3 = [],
|
|
|
42863
42863
|
}), [N, P] = U(() => T && s ? j : null), [ee, te] = U({
|
|
42864
42864
|
pinned: null,
|
|
42865
42865
|
override: null
|
|
42866
|
-
}),
|
|
42866
|
+
}), re = z(function(e) {
|
|
42867
42867
|
e && te((t) => ({
|
|
42868
42868
|
...t,
|
|
42869
42869
|
pinned: e.side ?? null
|
|
@@ -42913,7 +42913,7 @@ var g3 = si(null), { min: _3, max: v3 } = Jr, y3 = 5e3, b3 = () => {}, x3 = [],
|
|
|
42913
42913
|
contentSide: ue,
|
|
42914
42914
|
setContentSide: de,
|
|
42915
42915
|
activeContent: m,
|
|
42916
|
-
present:
|
|
42916
|
+
present: re,
|
|
42917
42917
|
clear: ie,
|
|
42918
42918
|
restoringViewId: N,
|
|
42919
42919
|
cancelRestore: ae,
|
|
@@ -42939,7 +42939,7 @@ var g3 = si(null), { min: _3, max: v3 } = Jr, y3 = 5e3, b3 = () => {}, x3 = [],
|
|
|
42939
42939
|
se,
|
|
42940
42940
|
ue,
|
|
42941
42941
|
m,
|
|
42942
|
-
|
|
42942
|
+
re,
|
|
42943
42943
|
ie,
|
|
42944
42944
|
N,
|
|
42945
42945
|
ae,
|
|
@@ -43086,7 +43086,7 @@ var E3 = 16, D3 = ({ onResize: e, onReset: t, isResizing: n, setIsResizing: r, f
|
|
|
43086
43086
|
opacity: 0,
|
|
43087
43087
|
clipPath: t
|
|
43088
43088
|
} }, j3 = ({ children: e, visible: t, side: n, exitStyle: r = "shrink", flushInnerSeam: i = !1, surfaceProps: a, surfaceRef: o, decorations: s }) => {
|
|
43089
|
-
let { open: l, layout: u, shouldPlayEntranceAnimation: d, setShouldPlayEntranceAnimation: f, resizable: p, width: m, effectiveWidth: h, setWidth: g, resetWidth: _, widthBounds: v, panelOverlays: y, setIsResizing: b, side: x } = w3(), S = t ?? l, C =
|
|
43089
|
+
let { open: l, layout: u, shouldPlayEntranceAnimation: d, setShouldPlayEntranceAnimation: f, resizable: p, width: m, effectiveWidth: h, setWidth: g, resetWidth: _, widthBounds: v, panelOverlays: y, setIsResizing: b, side: x } = w3(), S = t ?? l, C = le(), w = (n ?? x) === "left", T = H(!1);
|
|
43090
43090
|
B(() => {
|
|
43091
43091
|
T.current = l;
|
|
43092
43092
|
});
|
|
@@ -43097,7 +43097,7 @@ var E3 = 16, D3 = ({ onResize: e, onReset: t, isResizing: n, setIsResizing: r, f
|
|
|
43097
43097
|
let { min: k, max: A } = v ?? {
|
|
43098
43098
|
min: K4,
|
|
43099
43099
|
max: q4
|
|
43100
|
-
},
|
|
43100
|
+
}, M = p && !E && !(y ?? !1) && A > k, N = Math.max(k, Math.min(A, h ?? m)), P = z((e) => {
|
|
43101
43101
|
g((t) => {
|
|
43102
43102
|
let n = t + e;
|
|
43103
43103
|
return Math.max(k, Math.min(A, n));
|
|
@@ -43116,7 +43116,7 @@ var E3 = 16, D3 = ({ onResize: e, onReset: t, isResizing: n, setIsResizing: r, f
|
|
|
43116
43116
|
}, re = !C && (E || d && !T.current);
|
|
43117
43117
|
return /* @__PURE__ */ W(Oe, {
|
|
43118
43118
|
custom: ne,
|
|
43119
|
-
children: S ? /* @__PURE__ */ G(
|
|
43119
|
+
children: S ? /* @__PURE__ */ G(j.div, {
|
|
43120
43120
|
variants: A3,
|
|
43121
43121
|
className: c("bg-f1-transparent pointer-events-auto relative flex h-full dark:bg-f1-background xs:py-1", E ? "xs:pr-1" : w ? "mr-auto" : "ml-auto xs:pr-1"),
|
|
43122
43122
|
initial: re ? {
|
|
@@ -43137,7 +43137,7 @@ var E3 = 16, D3 = ({ onResize: e, onReset: t, isResizing: n, setIsResizing: r, f
|
|
|
43137
43137
|
d && f(!1);
|
|
43138
43138
|
},
|
|
43139
43139
|
children: [
|
|
43140
|
-
|
|
43140
|
+
M && !w ? /* @__PURE__ */ W(D3, {
|
|
43141
43141
|
onResize: P,
|
|
43142
43142
|
onReset: _,
|
|
43143
43143
|
isResizing: D,
|
|
@@ -43158,7 +43158,7 @@ var E3 = 16, D3 = ({ onResize: e, onReset: t, isResizing: n, setIsResizing: r, f
|
|
|
43158
43158
|
children: e
|
|
43159
43159
|
}), s]
|
|
43160
43160
|
}),
|
|
43161
|
-
|
|
43161
|
+
M && w ? /* @__PURE__ */ W(D3, {
|
|
43162
43162
|
onResize: P,
|
|
43163
43163
|
onReset: _,
|
|
43164
43164
|
isResizing: D,
|
|
@@ -43190,7 +43190,7 @@ var E3 = 16, D3 = ({ onResize: e, onReset: t, isResizing: n, setIsResizing: r, f
|
|
|
43190
43190
|
}) : e?.text ? /* @__PURE__ */ W(ye, {
|
|
43191
43191
|
className: "text-sm font-medium text-f1-foreground-secondary",
|
|
43192
43192
|
children: e.text
|
|
43193
|
-
}) : null, e?.link && e.linkText ? /* @__PURE__ */ W(
|
|
43193
|
+
}) : null, e?.link && e.linkText ? /* @__PURE__ */ W(D, {
|
|
43194
43194
|
href: e.link,
|
|
43195
43195
|
target: "_blank",
|
|
43196
43196
|
rel: "noopener noreferrer",
|
|
@@ -43202,7 +43202,7 @@ var E3 = 16, D3 = ({ onResize: e, onReset: t, isResizing: n, setIsResizing: r, f
|
|
|
43202
43202
|
return /* @__PURE__ */ W(Oe, {
|
|
43203
43203
|
mode: "wait",
|
|
43204
43204
|
initial: !1,
|
|
43205
|
-
children: e ? /* @__PURE__ */ G(
|
|
43205
|
+
children: e ? /* @__PURE__ */ G(j.div, {
|
|
43206
43206
|
className: "flex w-full max-w-content flex-row flex-wrap items-center justify-center gap-x-3 gap-y-1 text-sm font-medium text-f1-foreground-secondary",
|
|
43207
43207
|
initial: { opacity: 0 },
|
|
43208
43208
|
animate: { opacity: 1 },
|
|
@@ -43237,7 +43237,7 @@ var E3 = 16, D3 = ({ onResize: e, onReset: t, isResizing: n, setIsResizing: r, f
|
|
|
43237
43237
|
e.cancel
|
|
43238
43238
|
] })
|
|
43239
43239
|
]
|
|
43240
|
-
}, "clarifying-nav-hint") : (t?.text || r) && /* @__PURE__ */ G(
|
|
43240
|
+
}, "clarifying-nav-hint") : (t?.text || r) && /* @__PURE__ */ G(j.div, {
|
|
43241
43241
|
className: c("flex w-full max-w-content flex-row items-center gap-1", r ? "justify-between" : "justify-center"),
|
|
43242
43242
|
initial: { opacity: 0 },
|
|
43243
43243
|
animate: { opacity: 1 },
|
|
@@ -43365,7 +43365,7 @@ var q3 = ({ suggestions: e, onItemClick: t, onItemHover: n, side: r = "top", res
|
|
|
43365
43365
|
});
|
|
43366
43366
|
};
|
|
43367
43367
|
function J3({ item: e, onSelect: t, onHover: n }) {
|
|
43368
|
-
let r = H(null), i = H(null), a = H(null), o =
|
|
43368
|
+
let r = H(null), i = H(null), a = H(null), o = le(), s = z(() => {
|
|
43369
43369
|
a.current != null && (clearTimeout(a.current), a.current = null);
|
|
43370
43370
|
let e = i.current, t = r.current;
|
|
43371
43371
|
e && (e.style.transition = "none", e.style.transform = "translateX(0)", e.style.overflow = ""), t && (t.style.removeProperty("mask-image"), t.style.removeProperty("-webkit-mask-image"));
|
|
@@ -43411,7 +43411,7 @@ function J3({ item: e, onSelect: t, onHover: n }) {
|
|
|
43411
43411
|
"aria-hidden": !0,
|
|
43412
43412
|
className: "flex flex-shrink-0 items-center text-f1-foreground-secondary opacity-0 transition-opacity group-hover:opacity-100 group-focus-visible:opacity-100",
|
|
43413
43413
|
children: /* @__PURE__ */ W(Me, {
|
|
43414
|
-
icon:
|
|
43414
|
+
icon: jt,
|
|
43415
43415
|
size: "sm"
|
|
43416
43416
|
})
|
|
43417
43417
|
})]
|
|
@@ -43423,7 +43423,7 @@ var Y3 = "text-base leading-5 max-sm:text-[16px] [@media(pointer:coarse)]:text-[
|
|
|
43423
43423
|
button: "px-3",
|
|
43424
43424
|
icon: "px-4"
|
|
43425
43425
|
}, Q3 = "min-h-[44px] max-h-[140px]", $3 = ({ placeholders: e, defaultPlaceholder: t, inputValue: n, inProgress: r, insetClassName: i = "px-3" }) => {
|
|
43426
|
-
let a =
|
|
43426
|
+
let a = le(), [o, s] = U(""), [l, u] = U(0), [d, f] = U(!1), p = H(null), m = H(null), h = H(null), g = e[l] ?? t;
|
|
43427
43427
|
return B(() => {
|
|
43428
43428
|
let t = () => {
|
|
43429
43429
|
m.current &&= (clearInterval(m.current), null), h.current &&= (clearInterval(h.current), null), p.current &&= (clearTimeout(p.current), null);
|
|
@@ -43459,7 +43459,7 @@ var Y3 = "text-base leading-5 max-sm:text-[16px] [@media(pointer:coarse)]:text-[
|
|
|
43459
43459
|
l,
|
|
43460
43460
|
e.length,
|
|
43461
43461
|
a
|
|
43462
|
-
]), n.length > 0 || r ? null : /* @__PURE__ */ W(Oe, { children: /* @__PURE__ */ W(
|
|
43462
|
+
]), n.length > 0 || r ? null : /* @__PURE__ */ W(Oe, { children: /* @__PURE__ */ W(j.div, {
|
|
43463
43463
|
initial: { opacity: 0 },
|
|
43464
43464
|
animate: { opacity: 1 },
|
|
43465
43465
|
exit: { opacity: 0 },
|
|
@@ -43475,7 +43475,7 @@ var Y3 = "text-base leading-5 max-sm:text-[16px] [@media(pointer:coarse)]:text-[
|
|
|
43475
43475
|
})
|
|
43476
43476
|
}) });
|
|
43477
43477
|
}, e6 = ({ inset: e = "button", textareaRef: t, highlightRef: n, value: r, placeholder: i, ariaLabel: a, role: o, name: s, onChange: l, onKeyDown: u, onPaste: d, onFocus: f, onBlur: p, onCursorUpdate: m, onScroll: h, highlightSegments: g, hasOverlay: _, isAutocompleteOpen: v = !1, autocompleteListboxId: y, activeAutocompleteOptionId: b, isInvalid: x, errorMessageId: S, className: C }) => {
|
|
43478
|
-
let w = i.mode === "overlay" ? i.texts : [], T = w.length > 1, E =
|
|
43478
|
+
let w = i.mode === "overlay" ? i.texts : [], T = w.length > 1, E = le(), D = T && i.mode === "overlay" && !i.paused && !E, O = i.mode === "overlay" && !T && r.length === 0 ? w[0] ?? i.fallback : null;
|
|
43479
43479
|
return /* @__PURE__ */ G("div", {
|
|
43480
43480
|
className: c("grid grid-cols-1 grid-rows-1", C),
|
|
43481
43481
|
children: [
|
|
@@ -44372,7 +44372,7 @@ function $6({ isOpen: e, listboxId: t, label: n, rows: r, groups: i, showGroupLa
|
|
|
44372
44372
|
//#region src/elements/F0Composer/parts/ComposerNotices.tsx
|
|
44373
44373
|
var e8 = ({ message: e, id: t, reducedMotion: n }) => /* @__PURE__ */ W(Oe, {
|
|
44374
44374
|
initial: !1,
|
|
44375
|
-
children: e ? /* @__PURE__ */ W(
|
|
44375
|
+
children: e ? /* @__PURE__ */ W(j.div, {
|
|
44376
44376
|
id: t,
|
|
44377
44377
|
role: "alert",
|
|
44378
44378
|
"aria-atomic": "true",
|
|
@@ -44453,7 +44453,7 @@ var e8 = ({ message: e, id: t, reducedMotion: n }) => /* @__PURE__ */ W(Oe, {
|
|
|
44453
44453
|
defaultLayout: e.defaultVisualizationMode === "fullscreen" ? "fullscreen" : "sidepanel",
|
|
44454
44454
|
children: /* @__PURE__ */ W(c8, { ...e })
|
|
44455
44455
|
}), c8 = ({ children: e, enabled: t, agent: n, initialMessage: r, chatHeader: i, chatMessages: o, chatInput: s, chatOverlay: c, welcomeScreenSuggestions: l = [], welcomeScreenCards: u = [], disclaimer: d, lockVisualizationMode: f = !1, historyEnabled: p = !1, footer: m, VoiceMode: h, entityRefs: g, canvasActions: _, canvasEntities: v, credits: y, employeeCredits: b, creditWarning: x, fileAttachments: S, filePreviews: C, onTranscribe: w, onThumbsDown: T, onThumbsUp: E, tracking: D }) => {
|
|
44456
|
-
let [O, k] = U(m), [A, j] = U(t),
|
|
44456
|
+
let [O, k] = U(m), [A, j] = U(t), N = w3(), { open: P, setOpen: ee, layout: te, setLayout: ne } = N, [re, ie] = U("chat"), [ae, oe] = U(n), [se, ce] = U(l), [le, ue] = U(u), de = a(), { currentPath: fe } = M(), [F, pe] = U([de.t("ai.inputPlaceholder")]), [me, he] = U(r), [ge, _e] = U(null), [ve, ye] = U(null), be = ge !== null && ve === ge, xe = H(null), Se = z((e) => {
|
|
44457
44457
|
xe.current = e, ye(e);
|
|
44458
44458
|
}, []), Ce = ge && !be ? "canvas" : te, we = H(!1), Te = H(ge);
|
|
44459
44459
|
Te.current = ge;
|
|
@@ -44483,7 +44483,7 @@ var e8 = ({ message: e, id: t, reducedMotion: n }) => /* @__PURE__ */ W(Oe, {
|
|
|
44483
44483
|
P || (He.current = !1, we.current = !1, _e(null));
|
|
44484
44484
|
}, [P]);
|
|
44485
44485
|
let Ge = H(!1);
|
|
44486
|
-
Ge.current =
|
|
44486
|
+
Ge.current = N.activeContent !== null || N.restoringViewId !== null;
|
|
44487
44487
|
let Ke = z((e) => {
|
|
44488
44488
|
if (Ge.current) return !1;
|
|
44489
44489
|
let t = e.coversChat !== !0 && Ee.current === "fullscreen";
|
|
@@ -44504,7 +44504,7 @@ var e8 = ({ message: e, id: t, reducedMotion: n }) => /* @__PURE__ */ W(Oe, {
|
|
|
44504
44504
|
let Xe = z(() => {
|
|
44505
44505
|
let e = we.current;
|
|
44506
44506
|
we.current = !1, Je(), e && Ye.current && !Ge.current && (Ee.current = "fullscreen", Te.current = null, ne("fullscreen"));
|
|
44507
|
-
}, [Je, ne]), [Ze, Qe] = U(null), $e = z((e) => Qe(e), []), et = z(() => Qe(null), []), { activeContent: tt, restoringViewId: nt } =
|
|
44507
|
+
}, [Je, ne]), [Ze, Qe] = U(null), $e = z((e) => Qe(e), []), et = z(() => Qe(null), []), { activeContent: tt, restoringViewId: nt } = N, rt = H(!1);
|
|
44508
44508
|
B(() => {
|
|
44509
44509
|
let e = A && P && tt === null && nt === null;
|
|
44510
44510
|
e && !rt.current && D?.onVisibility?.(), rt.current = e;
|
|
@@ -44518,8 +44518,8 @@ var e8 = ({ message: e, id: t, reducedMotion: n }) => /* @__PURE__ */ W(Oe, {
|
|
|
44518
44518
|
(tt !== null || nt !== null) && _e(null);
|
|
44519
44519
|
}, [tt, nt]);
|
|
44520
44520
|
let it = z((e) => {
|
|
44521
|
-
e && _e(null),
|
|
44522
|
-
}, [
|
|
44521
|
+
e && _e(null), N.present(e);
|
|
44522
|
+
}, [N]);
|
|
44523
44523
|
return /* @__PURE__ */ W(r8.Provider, {
|
|
44524
44524
|
value: {
|
|
44525
44525
|
enabled: A,
|
|
@@ -44710,7 +44710,7 @@ var h8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
|
|
|
44710
44710
|
}),
|
|
44711
44711
|
/* @__PURE__ */ G("div", {
|
|
44712
44712
|
className: c("flex min-w-0 items-center px-1 pb-0.5", h === "sm" ? "gap-1.5" : "gap-2"),
|
|
44713
|
-
children: [/* @__PURE__ */ W(
|
|
44713
|
+
children: [/* @__PURE__ */ W(nt, {
|
|
44714
44714
|
file: {
|
|
44715
44715
|
name: e.name,
|
|
44716
44716
|
type: e.mimeType ?? ""
|
|
@@ -44752,7 +44752,7 @@ var h8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
|
|
|
44752
44752
|
}, []),
|
|
44753
44753
|
shouldMount: e
|
|
44754
44754
|
};
|
|
44755
|
-
}, x8 = () => import("./PdfThumbnail
|
|
44755
|
+
}, x8 = () => import("./PdfThumbnail---NygeL_.js"), S8 = () => import("./SheetThumbnail-HtGezPp4.js"), C8 = () => import("./DocxThumbnail-CK9vFoTB.js"), w8 = () => import("./TextThumbnail-DKNxh344.js"), T8 = () => import("./CodeThumbnail-BskK4DTN.js"), E8 = () => import("./HtmlThumbnail-aIC6kVaS.js"), D8 = () => import("./ArchiveThumbnail-BMp3YbfD.js"), O8 = ui(x8), k8 = ui(S8), A8 = ui(C8), j8 = ui(w8), M8 = ui(T8), N8 = ui(E8), P8 = ui(D8), F8 = 384, I8 = 160, L8 = ({ kind: e, file: t, url: n, width: r, onError: i, onRendered: a }) => e === "pdf" ? /* @__PURE__ */ W(O8, {
|
|
44756
44756
|
url: n,
|
|
44757
44757
|
width: r,
|
|
44758
44758
|
onError: i,
|
|
@@ -44835,7 +44835,7 @@ var h8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
|
|
|
44835
44835
|
children: [/* @__PURE__ */ G("div", {
|
|
44836
44836
|
className: "flex items-center gap-2 px-2 py-2",
|
|
44837
44837
|
children: [
|
|
44838
|
-
/* @__PURE__ */ W(
|
|
44838
|
+
/* @__PURE__ */ W(nt, {
|
|
44839
44839
|
file: {
|
|
44840
44840
|
name: e.name,
|
|
44841
44841
|
type: e.mimeType ?? ""
|
|
@@ -45141,7 +45141,7 @@ var h8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
|
|
|
45141
45141
|
};
|
|
45142
45142
|
return /* @__PURE__ */ W(Oe, {
|
|
45143
45143
|
initial: !1,
|
|
45144
|
-
children: e || t ? /* @__PURE__ */ W(
|
|
45144
|
+
children: e || t ? /* @__PURE__ */ W(j.div, {
|
|
45145
45145
|
className: c("pointer-events-none absolute inset-0 z-20 grid place-items-center rounded-xl bg-f1-background/35", t && "ring-1 ring-inset ring-f1-border-critical"),
|
|
45146
45146
|
initial: !r && { opacity: 0 },
|
|
45147
45147
|
animate: { opacity: 1 },
|
|
@@ -45151,21 +45151,21 @@ var h8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
|
|
|
45151
45151
|
children: /* @__PURE__ */ W(Oe, {
|
|
45152
45152
|
initial: !1,
|
|
45153
45153
|
mode: "wait",
|
|
45154
|
-
children: e ? /* @__PURE__ */ W(
|
|
45154
|
+
children: e ? /* @__PURE__ */ W(j.span, {
|
|
45155
45155
|
className: "flex",
|
|
45156
45156
|
exit: { opacity: 0 },
|
|
45157
45157
|
transition: i,
|
|
45158
|
-
children: /* @__PURE__ */ W(
|
|
45158
|
+
children: /* @__PURE__ */ W(mt, {
|
|
45159
45159
|
size: "small",
|
|
45160
45160
|
className: "h-5 w-5"
|
|
45161
45161
|
})
|
|
45162
|
-
}, "spinner") : /* @__PURE__ */ W(
|
|
45162
|
+
}, "spinner") : /* @__PURE__ */ W(j.span, {
|
|
45163
45163
|
className: "flex",
|
|
45164
45164
|
initial: !r && { opacity: 0 },
|
|
45165
45165
|
animate: { opacity: 1 },
|
|
45166
45166
|
transition: i,
|
|
45167
45167
|
children: /* @__PURE__ */ W(Me, {
|
|
45168
|
-
icon:
|
|
45168
|
+
icon: Tt,
|
|
45169
45169
|
size: "lg",
|
|
45170
45170
|
color: "critical"
|
|
45171
45171
|
})
|
|
@@ -45175,7 +45175,7 @@ var h8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
|
|
|
45175
45175
|
});
|
|
45176
45176
|
}, s5 = ({ items: e, label: t, busy: n, reducedMotion: r, stripRef: i, testIdPrefix: a = "chat" }) => /* @__PURE__ */ W(Oe, {
|
|
45177
45177
|
initial: !1,
|
|
45178
|
-
children: e.length > 0 ? /* @__PURE__ */ W(
|
|
45178
|
+
children: e.length > 0 ? /* @__PURE__ */ W(j.div, {
|
|
45179
45179
|
className: "overflow-hidden",
|
|
45180
45180
|
initial: {
|
|
45181
45181
|
height: 0,
|
|
@@ -45205,7 +45205,7 @@ var h8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
|
|
|
45205
45205
|
children: /* @__PURE__ */ W(Oe, {
|
|
45206
45206
|
initial: !1,
|
|
45207
45207
|
mode: "popLayout",
|
|
45208
|
-
children: e.map((e) => /* @__PURE__ */ W(
|
|
45208
|
+
children: e.map((e) => /* @__PURE__ */ W(j.div, {
|
|
45209
45209
|
layout: "position",
|
|
45210
45210
|
className: "flex shrink-0",
|
|
45211
45211
|
initial: !r && {
|
|
@@ -45225,7 +45225,7 @@ var h8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
|
|
|
45225
45225
|
...U0,
|
|
45226
45226
|
layout: G0
|
|
45227
45227
|
},
|
|
45228
|
-
children: /* @__PURE__ */ W(
|
|
45228
|
+
children: /* @__PURE__ */ W(j.div, {
|
|
45229
45229
|
className: "flex",
|
|
45230
45230
|
initial: !r && { opacity: 0 },
|
|
45231
45231
|
animate: { opacity: 1 },
|
|
@@ -45382,10 +45382,10 @@ var h8 = ({ children: e, className: t, lines: n = 1 }) => n > 1 ? /* @__PURE__ *
|
|
|
45382
45382
|
return p5(e) ? g5(e, t, n) : h5(e, t, n);
|
|
45383
45383
|
};
|
|
45384
45384
|
function y5({ primaryAction: e, secondaryActions: t, otherActions: n = [], size: r = "md", align: i = "end", stack: a = "none", fullWidthOnStack: o = !1, reverseOnStack: s = !1, canOverflow: l = !0, className: u }) {
|
|
45385
|
-
let d = H(null), { width: f = 0 } =
|
|
45385
|
+
let d = H(null), { width: f = 0 } = O({
|
|
45386
45386
|
ref: d,
|
|
45387
45387
|
box: "border-box"
|
|
45388
|
-
}), p = a === "sm" || a === "md" ? d5[a] : d5.md, m =
|
|
45388
|
+
}), p = a === "sm" || a === "md" ? d5[a] : d5.md, m = ne(`(min-width: ${p}px)`, { initializeWithValue: !1 }), h = a === "none" ? !0 : a === "container-md" ? f >= d5["container-md"] : m, g = typeof r == "string" ? r : r.base, _ = typeof r == "string" ? r : r.md, v = h ? _ : g, y = {
|
|
45389
45389
|
primaryAction: e,
|
|
45390
45390
|
secondaryItems: Array.isArray(t) ? t : [],
|
|
45391
45391
|
secondaryLink: t != null && !Array.isArray(t) ? t : void 0,
|
|
@@ -45626,7 +45626,7 @@ var N5 = ({ title: e, tag: t, inactive: n }) => {
|
|
|
45626
45626
|
className: "flex min-w-0 flex-row items-start gap-2",
|
|
45627
45627
|
children: [r, /* @__PURE__ */ W("div", {
|
|
45628
45628
|
className: "flex h-5 min-w-0 max-w-[50%] shrink-0 items-center",
|
|
45629
|
-
children: /* @__PURE__ */ W(
|
|
45629
|
+
children: /* @__PURE__ */ W(ut, {
|
|
45630
45630
|
text: t.text,
|
|
45631
45631
|
icon: t.icon,
|
|
45632
45632
|
size: "sm"
|
|
@@ -45770,7 +45770,7 @@ function a7() {
|
|
|
45770
45770
|
};
|
|
45771
45771
|
}
|
|
45772
45772
|
var o7 = ({ onClose: e }) => {
|
|
45773
|
-
let t = a(), n =
|
|
45773
|
+
let t = a(), n = le(), r = H(null), i = H(null), o = H(null), s = H(null), [l, u] = U(null), d = H(/* @__PURE__ */ new Set()), f = H({
|
|
45774
45774
|
x: 0,
|
|
45775
45775
|
y: 0,
|
|
45776
45776
|
vx: 0,
|
|
@@ -45788,7 +45788,7 @@ var o7 = ({ onClose: e }) => {
|
|
|
45788
45788
|
}), [ee, te] = U(0), [ne, re] = U(0), [ie, ae] = U({
|
|
45789
45789
|
player: 0,
|
|
45790
45790
|
ai: 0
|
|
45791
|
-
}), [oe, se] = U(B5), [ce,
|
|
45791
|
+
}), [oe, se] = U(B5), [ce, ue] = U("countdown"), [de, fe] = U(3), [F, pe] = U([]), [me, he] = U(0), [ge, _e] = U(0), [ve, ye] = U(null), [be, xe] = U(null), Ce = z(() => {
|
|
45792
45792
|
let { width: e, height: t } = w.current, n = q5 + O.current;
|
|
45793
45793
|
f.current = {
|
|
45794
45794
|
x: e / 2,
|
|
@@ -45799,9 +45799,9 @@ var o7 = ({ onClose: e }) => {
|
|
|
45799
45799
|
}, x.current = [], b.current = 0;
|
|
45800
45800
|
}, []), we = z(() => {
|
|
45801
45801
|
let e = q5 + O.current, { vx: t, vy: n } = a7(), r = e / q5;
|
|
45802
|
-
f.current.vx = t * r, f.current.vy = n * r, f.current.speed = e, v.current = "playing",
|
|
45802
|
+
f.current.vx = t * r, f.current.vy = n * r, f.current.speed = e, v.current = "playing", ue("playing"), M.current = null, xe(null);
|
|
45803
45803
|
}, []), Te = z(() => {
|
|
45804
|
-
Ce(), v.current = "countdown",
|
|
45804
|
+
Ce(), v.current = "countdown", ue("countdown"), fe(3);
|
|
45805
45805
|
let e = 3, t = setInterval(() => {
|
|
45806
45806
|
e--, e <= 0 ? (clearInterval(t), we()) : fe(e);
|
|
45807
45807
|
}, 600);
|
|
@@ -45824,7 +45824,7 @@ var o7 = ({ onClose: e }) => {
|
|
|
45824
45824
|
});
|
|
45825
45825
|
}, [n]), De = z((n) => {
|
|
45826
45826
|
let r = { ..._.current };
|
|
45827
|
-
n === "player" ? r.player++ : r.ai++, _.current = r, ae(r), T.current = 8, M.current = n, xe(n), O.current = Math.min(11, O.current + X5), n === "player" && Ee(), r.player >= 3 || r.ai >= 3 ? (v.current = "gameover",
|
|
45827
|
+
n === "player" ? r.player++ : r.ai++, _.current = r, ae(r), T.current = 8, M.current = n, xe(n), O.current = Math.min(11, O.current + X5), n === "player" && Ee(), r.player >= 3 || r.ai >= 3 ? (v.current = "gameover", ue("gameover"), Ce(), ye(r.player >= 3 ? t.ai.pong.youWin : t.ai.pong.youLose), setTimeout(() => e(), 2e3)) : (v.current = "scored", ue("scored"), Ce(), y.current = Z5, setTimeout(() => {
|
|
45828
45828
|
v.current === "scored" && Te();
|
|
45829
45829
|
}, Z5));
|
|
45830
45830
|
}, [
|
|
@@ -46208,9 +46208,9 @@ var o7 = ({ onClose: e }) => {
|
|
|
46208
46208
|
onTranscribe: T,
|
|
46209
46209
|
children: O
|
|
46210
46210
|
}), m7 = o("F0AiChat", ({ header: e, messages: t, input: n, overlay: r }) => {
|
|
46211
|
-
let { enabled: i, open: o, setOpen: l, mode: u, VoiceMode: d, tracking: f, chatHeader: p, chatMessages: m, chatInput: h, chatOverlay: g, panelContent: _, panelSide: v, panelContentSide: y, restoringPanelContentId: b, filePreviews: x } = m8(), S = a(), C = y !== v, w =
|
|
46211
|
+
let { enabled: i, open: o, setOpen: l, mode: u, VoiceMode: d, tracking: f, chatHeader: p, chatMessages: m, chatInput: h, chatOverlay: g, panelContent: _, panelSide: v, panelContentSide: y, restoringPanelContentId: b, filePreviews: x } = m8(), S = a(), C = y !== v, w = le(), T = f7(), E = e ?? p, D = t ?? m, O = n ?? h, k = r ?? g;
|
|
46212
46212
|
if (!i) return null;
|
|
46213
|
-
let { viewKey: A, viewContent:
|
|
46213
|
+
let { viewKey: A, viewContent: M } = _ && !C ? {
|
|
46214
46214
|
viewKey: `panel:${_.id}`,
|
|
46215
46215
|
viewContent: _.content
|
|
46216
46216
|
} : b && !C ? {
|
|
@@ -46246,7 +46246,7 @@ var o7 = ({ onClose: e }) => {
|
|
|
46246
46246
|
k ? e?.setAttribute("inert", "") : e?.removeAttribute("inert");
|
|
46247
46247
|
},
|
|
46248
46248
|
className: "flex min-h-0 flex-1 flex-col",
|
|
46249
|
-
children: [E, /* @__PURE__ */ G(
|
|
46249
|
+
children: [E, /* @__PURE__ */ G(j.div, {
|
|
46250
46250
|
ref: T.setShell,
|
|
46251
46251
|
className: "relative flex min-h-0 flex-1 flex-col",
|
|
46252
46252
|
children: [/* @__PURE__ */ W("div", {
|
|
@@ -46275,7 +46275,7 @@ var o7 = ({ onClose: e }) => {
|
|
|
46275
46275
|
acceptsWidgetDrop: A === "chat" && !k,
|
|
46276
46276
|
children: /* @__PURE__ */ W(Oe, {
|
|
46277
46277
|
initial: !1,
|
|
46278
|
-
children: /* @__PURE__ */ W(
|
|
46278
|
+
children: /* @__PURE__ */ W(j.div, {
|
|
46279
46279
|
className: "absolute inset-0 flex flex-col overflow-hidden",
|
|
46280
46280
|
initial: !w && { opacity: 0 },
|
|
46281
46281
|
animate: { opacity: 1 },
|
|
@@ -46284,7 +46284,7 @@ var o7 = ({ onClose: e }) => {
|
|
|
46284
46284
|
duration: w ? 0 : .15,
|
|
46285
46285
|
ease: "easeOut"
|
|
46286
46286
|
},
|
|
46287
|
-
children:
|
|
46287
|
+
children: M
|
|
46288
46288
|
}, A)
|
|
46289
46289
|
})
|
|
46290
46290
|
})
|
|
@@ -46438,7 +46438,7 @@ var O7 = [
|
|
|
46438
46438
|
className: "relative h-5 w-5",
|
|
46439
46439
|
children: /* @__PURE__ */ G(Oe, {
|
|
46440
46440
|
mode: "wait",
|
|
46441
|
-
children: [n ? null : /* @__PURE__ */ W(
|
|
46441
|
+
children: [n ? null : /* @__PURE__ */ W(j.div, {
|
|
46442
46442
|
initial: {
|
|
46443
46443
|
opacity: 0,
|
|
46444
46444
|
scale: .8
|
|
@@ -46460,7 +46460,7 @@ var O7 = [
|
|
|
46460
46460
|
color: "default",
|
|
46461
46461
|
className: c("opacity-0 transition-opacity duration-300", !n && "group-hover:opacity-100 group-focus-visible:opacity-100")
|
|
46462
46462
|
})
|
|
46463
|
-
}, "copy-icon"), n ? /* @__PURE__ */ W(
|
|
46463
|
+
}, "copy-icon"), n ? /* @__PURE__ */ W(j.div, {
|
|
46464
46464
|
initial: {
|
|
46465
46465
|
opacity: 0,
|
|
46466
46466
|
scale: .8
|
|
@@ -46486,14 +46486,14 @@ var O7 = [
|
|
|
46486
46486
|
})
|
|
46487
46487
|
})]
|
|
46488
46488
|
});
|
|
46489
|
-
}, M7 = di(({ children: e, className: t, ...n }) => /* @__PURE__ */ G(
|
|
46489
|
+
}, M7 = di(({ children: e, className: t, ...n }) => /* @__PURE__ */ G(D, {
|
|
46490
46490
|
...n,
|
|
46491
46491
|
className: c("text-inherit group flex items-center gap-1.5 rounded p-1.5 text-f1-foreground", "no-underline hover:bg-f1-background-hover focus-visible:outline focus-visible:outline-2 focus-visible:outline-f1-border-selected-bold active:bg-f1-background-secondary-hover", t),
|
|
46492
46492
|
children: [e, /* @__PURE__ */ W("div", {
|
|
46493
46493
|
className: "grid",
|
|
46494
46494
|
children: /* @__PURE__ */ W(Me, {
|
|
46495
46495
|
"aria-hidden": !0,
|
|
46496
|
-
icon:
|
|
46496
|
+
icon: kt,
|
|
46497
46497
|
size: "md"
|
|
46498
46498
|
})
|
|
46499
46499
|
})]
|
|
@@ -46501,7 +46501,7 @@ var O7 = [
|
|
|
46501
46501
|
M7.displayName = "NavigateAction";
|
|
46502
46502
|
//#endregion
|
|
46503
46503
|
//#region src/elements/DataList/actions/OpenLinkAction.tsx
|
|
46504
|
-
var N7 = di(({ children: e, className: t, href: n, ...r }) => /* @__PURE__ */ G(
|
|
46504
|
+
var N7 = di(({ children: e, className: t, href: n, ...r }) => /* @__PURE__ */ G(D, {
|
|
46505
46505
|
...r,
|
|
46506
46506
|
target: "_blank",
|
|
46507
46507
|
href: n,
|
|
@@ -46591,7 +46591,7 @@ var R7 = o("DataList.Item", L7), z7 = R(({ action: e, avatarUrl: t, firstName: n
|
|
|
46591
46591
|
z7.displayName = "PersonItem";
|
|
46592
46592
|
var B7 = o("PersonItem", z7), V7 = R(({ avatarUrl: e, name: t, action: n }, r) => /* @__PURE__ */ W(P7, {
|
|
46593
46593
|
ref: r,
|
|
46594
|
-
leftIcon: () => /* @__PURE__ */ W(
|
|
46594
|
+
leftIcon: () => /* @__PURE__ */ W(Ue, {
|
|
46595
46595
|
name: t,
|
|
46596
46596
|
size: "xs",
|
|
46597
46597
|
src: e
|
|
@@ -46602,7 +46602,7 @@ var B7 = o("PersonItem", z7), V7 = R(({ avatarUrl: e, name: t, action: n }, r) =
|
|
|
46602
46602
|
V7.displayName = "CompanyItem";
|
|
46603
46603
|
var H7 = o("CompanyItem", V7), U7 = R(({ action: e, name: t }, n) => /* @__PURE__ */ W(P7, {
|
|
46604
46604
|
ref: n,
|
|
46605
|
-
leftIcon: () => /* @__PURE__ */ W(
|
|
46605
|
+
leftIcon: () => /* @__PURE__ */ W(Qe, {
|
|
46606
46606
|
name: t,
|
|
46607
46607
|
size: "xs"
|
|
46608
46608
|
}),
|
|
@@ -46613,31 +46613,31 @@ U7.displayName = "TeamItem";
|
|
|
46613
46613
|
var W7 = o("TeamItem", U7), G7 = R(({ ...e }, t) => /* @__PURE__ */ W("li", {
|
|
46614
46614
|
ref: t,
|
|
46615
46615
|
className: "flex items-start pt-1",
|
|
46616
|
-
children: /* @__PURE__ */ W(
|
|
46616
|
+
children: /* @__PURE__ */ W(on, { ...e })
|
|
46617
46617
|
}));
|
|
46618
46618
|
G7.displayName = "DotTagItem";
|
|
46619
46619
|
var K7 = o("DotTagItem", G7), q7 = R(({ ...e }, t) => /* @__PURE__ */ W("li", {
|
|
46620
46620
|
ref: t,
|
|
46621
46621
|
className: "flex items-start pt-1",
|
|
46622
|
-
children: /* @__PURE__ */ W(
|
|
46622
|
+
children: /* @__PURE__ */ W(ft, { ...e })
|
|
46623
46623
|
}));
|
|
46624
46624
|
q7.displayName = "AlertTagItem";
|
|
46625
46625
|
var J7 = o("AlertTagItem", q7), Y7 = R(({ ...e }, t) => /* @__PURE__ */ W("li", {
|
|
46626
46626
|
ref: t,
|
|
46627
46627
|
className: "flex items-start pt-1",
|
|
46628
|
-
children: /* @__PURE__ */ W(
|
|
46628
|
+
children: /* @__PURE__ */ W(wt, { ...e })
|
|
46629
46629
|
}));
|
|
46630
46630
|
Y7.displayName = "BalanceTagItem";
|
|
46631
46631
|
var X7 = o("BalanceTagItem", Y7), Z7 = R(({ ...e }, t) => /* @__PURE__ */ W("li", {
|
|
46632
46632
|
ref: t,
|
|
46633
46633
|
className: "flex items-start pt-1",
|
|
46634
|
-
children: /* @__PURE__ */ W(
|
|
46634
|
+
children: /* @__PURE__ */ W(At, { ...e })
|
|
46635
46635
|
}));
|
|
46636
46636
|
Z7.displayName = "StatusTagItem";
|
|
46637
46637
|
var Q7 = o("StatusTagItem", Z7), $7 = R(({ ...e }, t) => /* @__PURE__ */ W("li", {
|
|
46638
46638
|
ref: t,
|
|
46639
46639
|
className: "flex items-start pt-1",
|
|
46640
|
-
children: /* @__PURE__ */ W(
|
|
46640
|
+
children: /* @__PURE__ */ W(ut, { ...e })
|
|
46641
46641
|
}));
|
|
46642
46642
|
$7.displayName = "RawTagItem";
|
|
46643
46643
|
var e9 = o("RawTagItem", $7);
|
|
@@ -46647,7 +46647,7 @@ function t9(e, t) {
|
|
|
46647
46647
|
return /* @__PURE__ */ W("li", {
|
|
46648
46648
|
ref: t,
|
|
46649
46649
|
className: "flex items-start pt-1",
|
|
46650
|
-
children: /* @__PURE__ */ W(
|
|
46650
|
+
children: /* @__PURE__ */ W(pn, { ...e })
|
|
46651
46651
|
});
|
|
46652
46652
|
}
|
|
46653
46653
|
var n9 = R(t9);
|
|
@@ -46692,7 +46692,7 @@ var a9 = o("DataList", i9), o9 = Object.assign(a9, {
|
|
|
46692
46692
|
e.type === "tag-list" ? /* @__PURE__ */ W(o9.TagListItem, { ...e.tagList }) : null,
|
|
46693
46693
|
e.type === "avatar-list" ? /* @__PURE__ */ W("li", {
|
|
46694
46694
|
className: "list-none px-1.5 py-1",
|
|
46695
|
-
children: /* @__PURE__ */ W(
|
|
46695
|
+
children: /* @__PURE__ */ W(Ze, { ...e.avatarList })
|
|
46696
46696
|
}) : null,
|
|
46697
46697
|
e.type === "file" ? (() => {
|
|
46698
46698
|
let { type: t, ...n } = e;
|
|
@@ -46754,7 +46754,7 @@ var a9 = o("DataList", i9), o9 = Object.assign(a9, {
|
|
|
46754
46754
|
children: [/* @__PURE__ */ G("div", {
|
|
46755
46755
|
className: "flex min-w-0 items-center gap-2",
|
|
46756
46756
|
children: [
|
|
46757
|
-
/* @__PURE__ */ W(
|
|
46757
|
+
/* @__PURE__ */ W(nt, {
|
|
46758
46758
|
file: {
|
|
46759
46759
|
name: e.name,
|
|
46760
46760
|
type: e.mimeType ?? ""
|
|
@@ -46845,7 +46845,7 @@ var a9 = o("DataList", i9), o9 = Object.assign(a9, {
|
|
|
46845
46845
|
s
|
|
46846
46846
|
]
|
|
46847
46847
|
});
|
|
46848
|
-
}, g9 = ui(() => import("./F0VideoPlayer-
|
|
46848
|
+
}, g9 = ui(() => import("./F0VideoPlayer-ChcyxpNN.js").then((e) => ({ default: e.F0VideoPlayer }))), _9 = ({ file: e, cornerClass: t, className: n, surfaceClassName: r, meta: i, onDownloaded: o, testIdPrefix: s = "chat" }) => {
|
|
46849
46849
|
let u = a(), { urlCache: d } = v0(), f = M0(), [p, m] = U(!1), [h, g] = U(!1), _ = d !== null && !p0(e.url), [v, y] = U(!1), b = A0(e.url, { enabled: !_ || v }), x = A0(e.thumbnailUrl), S = x.status === "ready" ? x.url : void 0, C = e.size == null ? null : l2(e.size), w = {
|
|
46850
46850
|
label: u.t("chat.downloadNamedFile", { name: e.name }),
|
|
46851
46851
|
icon: So,
|
|
@@ -47106,7 +47106,7 @@ var a9 = o("DataList", i9), o9 = Object.assign(a9, {
|
|
|
47106
47106
|
onClose: t
|
|
47107
47107
|
});
|
|
47108
47108
|
}, J9 = .25, Y9 = ({ content: e }) => {
|
|
47109
|
-
let { reloads: t } = fi(K9), n = M0(), r =
|
|
47109
|
+
let { reloads: t } = fi(K9), n = M0(), r = le(), i = W9(e), a = i ? `${i.key}:${t}` : "", [o, s] = U(() => i ? {
|
|
47110
47110
|
key: a,
|
|
47111
47111
|
item: i
|
|
47112
47112
|
} : null);
|
|
@@ -47119,7 +47119,7 @@ var a9 = o("DataList", i9), o9 = Object.assign(a9, {
|
|
|
47119
47119
|
className: "relative h-full w-full",
|
|
47120
47120
|
children: l.map((e, t) => {
|
|
47121
47121
|
let i = t === l.length - 1 && l.length > 1, a = l4(e.item);
|
|
47122
|
-
return /* @__PURE__ */ W(
|
|
47122
|
+
return /* @__PURE__ */ W(j.div, {
|
|
47123
47123
|
className: "absolute inset-0",
|
|
47124
47124
|
initial: i ? { opacity: 0 } : !1,
|
|
47125
47125
|
animate: { opacity: 1 },
|
|
@@ -47196,7 +47196,7 @@ var cee = ({ className: e, disabled: t, onVisible: n, tooltip: r, autoOpen: i =
|
|
|
47196
47196
|
children: [/* @__PURE__ */ W(u, {
|
|
47197
47197
|
delay: 850,
|
|
47198
47198
|
render: /* @__PURE__ */ W("div", {}),
|
|
47199
|
-
children: /* @__PURE__ */ W(
|
|
47199
|
+
children: /* @__PURE__ */ W(an, {
|
|
47200
47200
|
onCheckedChange: (e) => {
|
|
47201
47201
|
y(e), o?.();
|
|
47202
47202
|
},
|
|
@@ -47206,7 +47206,7 @@ var cee = ({ className: e, disabled: t, onVisible: n, tooltip: r, autoOpen: i =
|
|
|
47206
47206
|
disabled: t,
|
|
47207
47207
|
onMouseEnter: () => x(!0),
|
|
47208
47208
|
onMouseLeave: () => x(!1),
|
|
47209
|
-
children: /* @__PURE__ */ W(
|
|
47209
|
+
children: /* @__PURE__ */ W(Ct, {
|
|
47210
47210
|
className: c("block h-[1.375rem] w-[1.375rem] translate-x-[0.3125rem] rounded-full transition-transform duration-300 data-[state=checked]:translate-x-[1.3125rem]"),
|
|
47211
47211
|
style: { transitionTimingFunction: "cubic-bezier(0.175,0.885,0.32,1.5)" },
|
|
47212
47212
|
children: /* @__PURE__ */ W("div", { children: /* @__PURE__ */ W(c0, {
|
|
@@ -47226,7 +47226,7 @@ var cee = ({ className: e, disabled: t, onVisible: n, tooltip: r, autoOpen: i =
|
|
|
47226
47226
|
}) : null;
|
|
47227
47227
|
}, lee = (e, t) => c("flex h-full flex-col bg-f1-special-page p-0 md:py-1 border border-solid border-f1-border-secondary", e ? "md:rounded-lg md:px-1" : t ? "md:rounded-r-lg md:pr-1 border-l-0" : "md:rounded-l-lg md:pl-1 border-r-0"), Q9 = c("flex h-full w-full flex-col overflow-hidden", "bg-f1-background", "md:shadow-md shadow-none", "rounded-none border-none md:rounded-md md:border md:border-solid border-f1-border-secondary");
|
|
47228
47228
|
function $9({ content: e, onClose: t, entities: n, side: r = "right", animated: i = !0, bodyDelayMs: a = 0 }) {
|
|
47229
|
-
let o = r === "left", s = e?.coversChat === !0, l =
|
|
47229
|
+
let o = r === "left", s = e?.coversChat === !0, l = le(), [u, d] = U(0), f = H(e);
|
|
47230
47230
|
B(() => {
|
|
47231
47231
|
e && f.current && e !== f.current && d((e) => e + 1), f.current = e;
|
|
47232
47232
|
}, [e]);
|
|
@@ -47257,7 +47257,7 @@ function $9({ content: e, onClose: t, entities: n, side: r = "right", animated:
|
|
|
47257
47257
|
}
|
|
47258
47258
|
return i;
|
|
47259
47259
|
}, _ = lee(s, o);
|
|
47260
|
-
return i ? /* @__PURE__ */ W(Oe, { children: e ? /* @__PURE__ */ W(
|
|
47260
|
+
return i ? /* @__PURE__ */ W(Oe, { children: e ? /* @__PURE__ */ W(j.div, {
|
|
47261
47261
|
className: c("pointer-events-auto flex h-full flex-col", "md:py-1 dark:bg-f1-background p-0"),
|
|
47262
47262
|
initial: {
|
|
47263
47263
|
opacity: 0,
|
|
@@ -47282,7 +47282,7 @@ function $9({ content: e, onClose: t, entities: n, side: r = "right", animated:
|
|
|
47282
47282
|
},
|
|
47283
47283
|
children: /* @__PURE__ */ W("div", {
|
|
47284
47284
|
className: _,
|
|
47285
|
-
children: /* @__PURE__ */ W(
|
|
47285
|
+
children: /* @__PURE__ */ W(j.div, {
|
|
47286
47286
|
className: Q9,
|
|
47287
47287
|
initial: { opacity: 0 },
|
|
47288
47288
|
animate: { opacity: 1 },
|