@factorialco/f0-react 4.58.0 → 4.59.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/{ChatPdfThumbnail-Dy0LRDdf.js → ChatPdfThumbnail-DECZZzOT.js} +1 -1
- package/dist/{DocumentToolbar-Z4__mOa2.js → DocumentToolbar-BQRZ8kPq.js} +2 -2
- package/dist/{DocxViewer-BHfK1ueA.js → DocxViewer-f1Qx-1g7.js} +2 -2
- package/dist/{F0AiProcessingOverlay-oR419tUE.js → F0AiProcessingOverlay-C3PLGL9k.js} +146 -146
- package/dist/{F0CanvasPanel-B7F3sn6X.js → F0CanvasPanel-Bm-rOddX.js} +18217 -18041
- package/dist/{SheetViewer-Ya4FAZI6.js → SheetViewer-CyFUTGAF.js} +2 -2
- package/dist/{TextViewer-Ca6Qmxo6.js → TextViewer-CyJFvBXS.js} +2 -2
- package/dist/ai.d.ts +4 -0
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +86 -1
- package/dist/experimental.js +212 -197
- package/dist/f0.d.ts +7 -1
- package/dist/f0.js +8 -8
- package/dist/i18n-provider-defaults.d.ts +4 -0
- package/dist/i18n-provider-defaults.js +4 -0
- package/dist/{index-Bmo_bXr5.js → index-BihWWw-L.js} +3 -3
- package/dist/{index-BZcVazs8.js → index-CbHjzW27.js} +1 -1
- package/dist/{pdfWorker-CbB54VeJ.js → pdfWorker-BJ-lBzFV.js} +2 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t, Fragment as Re } from "react/jsx-runtime";
|
|
2
2
|
import { useInsertionEffect as Tr, forwardRef as g, useRef as B, useEffect as q, useLayoutEffect as rt, useState as P, useId as Ge, useMemo as J, useCallback as _, createContext as We, useContext as Ie, createElement as Hr, memo as Ar } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { d0 as $r, d1 as Br, a5 as ot, bZ as Ir, d2 as Pr, d3 as jr, d4 as Dr, d5 as Zr, b_ as _r, c6 as nt, bY as Or, d6 as Ur, ae as i1, d7 as zr, aN as Gr, d8 as Wr, d9 as qr, da as Xr, am as Yr, db as Kr, cx as Qr, ag as st, aj as Jr, dc as eo, o as a1, a9 as it, a0 as qe, n as at, bl as to, c4 as ro, dd as oo, b6 as no, cw as so, a7 as Fe, az as io, bp as ct, de as ao, cu as co, l as Me, cs as lo, df as fo, bS as lt, b5 as uo, dg as ho, dh as go, di as po, dj as Co, dk as mo, dl as dt, cl as vo, cm as wo, dm as xo, dn as ko, dp as Lo, dq as bo, dr as yo, bz as Mo, c0 as Eo, ds as Ro, dt as Fo, du as No, dv as Vo, dw as So, dx as To, dy as Ho, dz as Ao, by as $o, cv as Bo, ah as Io, ch as Po, dA as jo, dB as Do, dC as Zo, dD as _o, dE as Oo, dF as Uo, dG as zo, av as Go, bA as Wo, bU as ft, Z as qo, a8 as Xo, bB as ut, bR as Yo, bT as ht, i as Ko, bo as Qo, bn as Jo, dH as en, dI as tn, bC as gt, bD as rn, bE as on, b4 as nn, aC as sn, dJ as an, j as cn, bj as pt, bi as Ct, bc as ln, dK as mt, bb as dn, b$ as c1, q as fn, bf as l1, dL as un, dM as hn, dN as d1, c2 as gn, c3 as pn, ct as vt, dO as Cn, U as mn, Q as vn, dP as wn, dQ as xn, dR as kn, dS as Ln, bP as bn, dT as wt, dU as yn, ai as Mn, dV as En, Y as se, J as Te, cb as Rn, u as G, bO as Fn, S as he, bN as xt, V as le, aa as Nn, m as ve, dW as Vn, ak as ie, aT as ke, O as Ee, H as ee, cC as kt, aH as f1, dX as Sn, aJ as u1, b as ye, bL as Tn, dY as Hn, bM as An, a1 as $n, b3 as Bn, ad as h1, bF as In, bG as Pn, bH as jn, bI as y1, ab as Dn, aq as Lt, aW as bt, c1 as Zn, cI as _n, dZ as On, d_ as Un, a$ as yt, d$ as zn, cE as Gn, e0 as Wn, aY as Be, bd as Mt, e1 as Et, be as Rt, c as o1, c5 as M1, e2 as Ft, e3 as qn, e4 as Xn, bt as Yn, e5 as Kn, bk as g1, ci as Qn, e6 as Jn, e7 as es, e8 as ts, e9 as rs, ea as os, w as ns, s as ss, aI as Nt, M as is, N as as, ap as E1, eb as Vt, ec as St, ed as cs, ee as ls, ao as ds, af as fs, ef as us, eg as hs, d as gs } from "./F0CanvasPanel-Bm-rOddX.js";
|
|
4
4
|
import { d as k, f as ge } from "./tooltip-BH6Se8A4.js";
|
|
5
5
|
import { createPortal as Tt } from "react-dom";
|
|
6
6
|
import { defaultTranslations as ps } from "./i18n-provider-defaults.js";
|
|
@@ -3760,7 +3760,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3760
3760
|
)
|
|
3761
3761
|
]
|
|
3762
3762
|
}
|
|
3763
|
-
), J5 = g(Q5),
|
|
3763
|
+
), J5 = g(Q5), e0 = (e, r) => /* @__PURE__ */ a(
|
|
3764
3764
|
"svg",
|
|
3765
3765
|
{
|
|
3766
3766
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3839,7 +3839,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3839
3839
|
)
|
|
3840
3840
|
]
|
|
3841
3841
|
}
|
|
3842
|
-
),
|
|
3842
|
+
), t0 = g(e0), r0 = (e, r) => /* @__PURE__ */ a(
|
|
3843
3843
|
"svg",
|
|
3844
3844
|
{
|
|
3845
3845
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3877,7 +3877,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3877
3877
|
)
|
|
3878
3878
|
]
|
|
3879
3879
|
}
|
|
3880
|
-
),
|
|
3880
|
+
), o0 = g(r0), n0 = (e, r) => /* @__PURE__ */ a(
|
|
3881
3881
|
"svg",
|
|
3882
3882
|
{
|
|
3883
3883
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3908,7 +3908,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3908
3908
|
)
|
|
3909
3909
|
]
|
|
3910
3910
|
}
|
|
3911
|
-
),
|
|
3911
|
+
), s0 = g(n0), i0 = (e, r) => /* @__PURE__ */ t(
|
|
3912
3912
|
"svg",
|
|
3913
3913
|
{
|
|
3914
3914
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3927,7 +3927,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3927
3927
|
}
|
|
3928
3928
|
)
|
|
3929
3929
|
}
|
|
3930
|
-
),
|
|
3930
|
+
), a0 = g(i0), c0 = (e, r) => /* @__PURE__ */ a(
|
|
3931
3931
|
"svg",
|
|
3932
3932
|
{
|
|
3933
3933
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3978,7 +3978,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3978
3978
|
)
|
|
3979
3979
|
]
|
|
3980
3980
|
}
|
|
3981
|
-
),
|
|
3981
|
+
), l0 = g(c0), d0 = (e, r) => /* @__PURE__ */ a(
|
|
3982
3982
|
"svg",
|
|
3983
3983
|
{
|
|
3984
3984
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4008,7 +4008,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4008
4008
|
)
|
|
4009
4009
|
]
|
|
4010
4010
|
}
|
|
4011
|
-
),
|
|
4011
|
+
), f0 = g(d0), u0 = (e, r) => /* @__PURE__ */ t(
|
|
4012
4012
|
"svg",
|
|
4013
4013
|
{
|
|
4014
4014
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4027,7 +4027,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4027
4027
|
}
|
|
4028
4028
|
)
|
|
4029
4029
|
}
|
|
4030
|
-
),
|
|
4030
|
+
), h0 = g(u0), g0 = (e, r) => /* @__PURE__ */ a(
|
|
4031
4031
|
"svg",
|
|
4032
4032
|
{
|
|
4033
4033
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4058,7 +4058,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4058
4058
|
)
|
|
4059
4059
|
]
|
|
4060
4060
|
}
|
|
4061
|
-
),
|
|
4061
|
+
), p0 = g(g0), C0 = (e, r) => /* @__PURE__ */ a(
|
|
4062
4062
|
"svg",
|
|
4063
4063
|
{
|
|
4064
4064
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4117,7 +4117,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4117
4117
|
)
|
|
4118
4118
|
]
|
|
4119
4119
|
}
|
|
4120
|
-
),
|
|
4120
|
+
), m0 = g(C0), v0 = (e, r) => /* @__PURE__ */ a(
|
|
4121
4121
|
"svg",
|
|
4122
4122
|
{
|
|
4123
4123
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4146,7 +4146,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4146
4146
|
)
|
|
4147
4147
|
]
|
|
4148
4148
|
}
|
|
4149
|
-
),
|
|
4149
|
+
), w0 = g(v0), x0 = (e, r) => /* @__PURE__ */ t(
|
|
4150
4150
|
"svg",
|
|
4151
4151
|
{
|
|
4152
4152
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4164,7 +4164,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4164
4164
|
}
|
|
4165
4165
|
)
|
|
4166
4166
|
}
|
|
4167
|
-
),
|
|
4167
|
+
), k0 = g(x0), L0 = (e, r) => /* @__PURE__ */ a(
|
|
4168
4168
|
"svg",
|
|
4169
4169
|
{
|
|
4170
4170
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4209,9 +4209,9 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4209
4209
|
)
|
|
4210
4210
|
]
|
|
4211
4211
|
}
|
|
4212
|
-
), $t = g(
|
|
4212
|
+
), $t = g(L0);
|
|
4213
4213
|
$t.displayName = "ShoppingCart";
|
|
4214
|
-
const
|
|
4214
|
+
const b0 = (e, r) => /* @__PURE__ */ a(
|
|
4215
4215
|
"svg",
|
|
4216
4216
|
{
|
|
4217
4217
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4261,7 +4261,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4261
4261
|
)
|
|
4262
4262
|
]
|
|
4263
4263
|
}
|
|
4264
|
-
),
|
|
4264
|
+
), y0 = g(b0), M0 = (e, r) => /* @__PURE__ */ a(
|
|
4265
4265
|
"svg",
|
|
4266
4266
|
{
|
|
4267
4267
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4292,7 +4292,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4292
4292
|
)
|
|
4293
4293
|
]
|
|
4294
4294
|
}
|
|
4295
|
-
),
|
|
4295
|
+
), E0 = g(M0), R0 = (e, r) => /* @__PURE__ */ a(
|
|
4296
4296
|
"svg",
|
|
4297
4297
|
{
|
|
4298
4298
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4323,7 +4323,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4323
4323
|
)
|
|
4324
4324
|
]
|
|
4325
4325
|
}
|
|
4326
|
-
),
|
|
4326
|
+
), F0 = g(R0), N0 = (e, r) => /* @__PURE__ */ a(
|
|
4327
4327
|
"svg",
|
|
4328
4328
|
{
|
|
4329
4329
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4388,7 +4388,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4388
4388
|
)
|
|
4389
4389
|
]
|
|
4390
4390
|
}
|
|
4391
|
-
),
|
|
4391
|
+
), V0 = g(N0), S0 = (e, r) => /* @__PURE__ */ a(
|
|
4392
4392
|
"svg",
|
|
4393
4393
|
{
|
|
4394
4394
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4419,7 +4419,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4419
4419
|
)
|
|
4420
4420
|
]
|
|
4421
4421
|
}
|
|
4422
|
-
),
|
|
4422
|
+
), T0 = g(S0), H0 = (e, r) => /* @__PURE__ */ a(
|
|
4423
4423
|
"svg",
|
|
4424
4424
|
{
|
|
4425
4425
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4468,7 +4468,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4468
4468
|
)
|
|
4469
4469
|
]
|
|
4470
4470
|
}
|
|
4471
|
-
),
|
|
4471
|
+
), A0 = g(H0), $0 = (e, r) => /* @__PURE__ */ a(
|
|
4472
4472
|
"svg",
|
|
4473
4473
|
{
|
|
4474
4474
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4499,7 +4499,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4499
4499
|
)
|
|
4500
4500
|
]
|
|
4501
4501
|
}
|
|
4502
|
-
),
|
|
4502
|
+
), B0 = g($0), I0 = (e, r) => /* @__PURE__ */ a(
|
|
4503
4503
|
"svg",
|
|
4504
4504
|
{
|
|
4505
4505
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4528,7 +4528,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4528
4528
|
)
|
|
4529
4529
|
]
|
|
4530
4530
|
}
|
|
4531
|
-
),
|
|
4531
|
+
), P0 = g(I0), j0 = (e, r) => /* @__PURE__ */ a(
|
|
4532
4532
|
"svg",
|
|
4533
4533
|
{
|
|
4534
4534
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4559,7 +4559,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4559
4559
|
)
|
|
4560
4560
|
]
|
|
4561
4561
|
}
|
|
4562
|
-
),
|
|
4562
|
+
), D0 = g(j0), Z0 = (e, r) => /* @__PURE__ */ a(
|
|
4563
4563
|
"svg",
|
|
4564
4564
|
{
|
|
4565
4565
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4598,7 +4598,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4598
4598
|
)
|
|
4599
4599
|
]
|
|
4600
4600
|
}
|
|
4601
|
-
),
|
|
4601
|
+
), _0 = g(Z0), O0 = (e, r) => /* @__PURE__ */ a(
|
|
4602
4602
|
"svg",
|
|
4603
4603
|
{
|
|
4604
4604
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4629,7 +4629,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4629
4629
|
)
|
|
4630
4630
|
]
|
|
4631
4631
|
}
|
|
4632
|
-
), Bt = g(
|
|
4632
|
+
), Bt = g(O0), U0 = (e, r) => /* @__PURE__ */ a(
|
|
4633
4633
|
"svg",
|
|
4634
4634
|
{
|
|
4635
4635
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4656,7 +4656,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4656
4656
|
)
|
|
4657
4657
|
]
|
|
4658
4658
|
}
|
|
4659
|
-
), It = g(
|
|
4659
|
+
), It = g(U0), z0 = (e, r) => /* @__PURE__ */ a(
|
|
4660
4660
|
"svg",
|
|
4661
4661
|
{
|
|
4662
4662
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4687,7 +4687,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4687
4687
|
)
|
|
4688
4688
|
]
|
|
4689
4689
|
}
|
|
4690
|
-
), Pt = g(
|
|
4690
|
+
), Pt = g(z0), G0 = (e, r) => /* @__PURE__ */ a(
|
|
4691
4691
|
"svg",
|
|
4692
4692
|
{
|
|
4693
4693
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4714,7 +4714,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4714
4714
|
)
|
|
4715
4715
|
]
|
|
4716
4716
|
}
|
|
4717
|
-
), jt = g(
|
|
4717
|
+
), jt = g(G0), W0 = (e, r) => /* @__PURE__ */ a(
|
|
4718
4718
|
"svg",
|
|
4719
4719
|
{
|
|
4720
4720
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4784,7 +4784,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4784
4784
|
)
|
|
4785
4785
|
]
|
|
4786
4786
|
}
|
|
4787
|
-
),
|
|
4787
|
+
), q0 = g(W0), X0 = (e, r) => /* @__PURE__ */ t(
|
|
4788
4788
|
"svg",
|
|
4789
4789
|
{
|
|
4790
4790
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4802,7 +4802,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4802
4802
|
}
|
|
4803
4803
|
)
|
|
4804
4804
|
}
|
|
4805
|
-
),
|
|
4805
|
+
), Y0 = g(X0), K0 = (e, r) => /* @__PURE__ */ a(
|
|
4806
4806
|
"svg",
|
|
4807
4807
|
{
|
|
4808
4808
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4837,7 +4837,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4837
4837
|
)
|
|
4838
4838
|
]
|
|
4839
4839
|
}
|
|
4840
|
-
),
|
|
4840
|
+
), Q0 = g(K0), J0 = (e, r) => /* @__PURE__ */ a(
|
|
4841
4841
|
"svg",
|
|
4842
4842
|
{
|
|
4843
4843
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4877,7 +4877,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4877
4877
|
)
|
|
4878
4878
|
]
|
|
4879
4879
|
}
|
|
4880
|
-
),
|
|
4880
|
+
), ec = g(J0), tc = (e, r) => /* @__PURE__ */ a(
|
|
4881
4881
|
"svg",
|
|
4882
4882
|
{
|
|
4883
4883
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4918,7 +4918,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4918
4918
|
)
|
|
4919
4919
|
]
|
|
4920
4920
|
}
|
|
4921
|
-
),
|
|
4921
|
+
), rc = g(tc), oc = (e, r) => /* @__PURE__ */ a(
|
|
4922
4922
|
"svg",
|
|
4923
4923
|
{
|
|
4924
4924
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4949,7 +4949,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4949
4949
|
)
|
|
4950
4950
|
]
|
|
4951
4951
|
}
|
|
4952
|
-
),
|
|
4952
|
+
), nc = g(oc), sc = (e, r) => /* @__PURE__ */ a(
|
|
4953
4953
|
"svg",
|
|
4954
4954
|
{
|
|
4955
4955
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4980,7 +4980,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
4980
4980
|
)
|
|
4981
4981
|
]
|
|
4982
4982
|
}
|
|
4983
|
-
),
|
|
4983
|
+
), ic = g(sc), ac = (e, r) => /* @__PURE__ */ a(
|
|
4984
4984
|
"svg",
|
|
4985
4985
|
{
|
|
4986
4986
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5019,7 +5019,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
5019
5019
|
)
|
|
5020
5020
|
]
|
|
5021
5021
|
}
|
|
5022
|
-
),
|
|
5022
|
+
), cc = g(ac), lc = (e, r) => /* @__PURE__ */ a(
|
|
5023
5023
|
"svg",
|
|
5024
5024
|
{
|
|
5025
5025
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5048,7 +5048,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
5048
5048
|
)
|
|
5049
5049
|
]
|
|
5050
5050
|
}
|
|
5051
|
-
),
|
|
5051
|
+
), dc = g(lc), fc = (e, r) => /* @__PURE__ */ a(
|
|
5052
5052
|
"svg",
|
|
5053
5053
|
{
|
|
5054
5054
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5075,7 +5075,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
5075
5075
|
)
|
|
5076
5076
|
]
|
|
5077
5077
|
}
|
|
5078
|
-
),
|
|
5078
|
+
), uc = g(fc), hc = (e, r) => /* @__PURE__ */ a(
|
|
5079
5079
|
"svg",
|
|
5080
5080
|
{
|
|
5081
5081
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5093,7 +5093,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
5093
5093
|
/* @__PURE__ */ t("path", { d: "M8.5 16.429a5 5 0 0 1 7 0", vectorEffect: "non-scaling-stroke" })
|
|
5094
5094
|
]
|
|
5095
5095
|
}
|
|
5096
|
-
),
|
|
5096
|
+
), gc = g(hc), pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5097
5097
|
__proto__: null,
|
|
5098
5098
|
AcademicCap: xs,
|
|
5099
5099
|
Add: $r,
|
|
@@ -5293,70 +5293,70 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
5293
5293
|
Plus: cn,
|
|
5294
5294
|
Present: J5,
|
|
5295
5295
|
Printer: ms,
|
|
5296
|
-
Proyector:
|
|
5296
|
+
Proyector: t0,
|
|
5297
5297
|
PushPin: pt,
|
|
5298
5298
|
PushPinSolid: Ct,
|
|
5299
5299
|
Question: ln,
|
|
5300
5300
|
Quote: mt,
|
|
5301
5301
|
Reaction: dn,
|
|
5302
|
-
Receipt:
|
|
5303
|
-
Record:
|
|
5304
|
-
RemoveFavorite:
|
|
5305
|
-
Replace:
|
|
5302
|
+
Receipt: o0,
|
|
5303
|
+
Record: s0,
|
|
5304
|
+
RemoveFavorite: a0,
|
|
5305
|
+
Replace: l0,
|
|
5306
5306
|
Reply: c1,
|
|
5307
5307
|
Reset: fn,
|
|
5308
|
-
Rocket:
|
|
5309
|
-
Salad:
|
|
5310
|
-
Save:
|
|
5311
|
-
Schedule:
|
|
5308
|
+
Rocket: f0,
|
|
5309
|
+
Salad: h0,
|
|
5310
|
+
Save: p0,
|
|
5311
|
+
Schedule: m0,
|
|
5312
5312
|
Search: l1,
|
|
5313
5313
|
SearchPerson: un,
|
|
5314
|
-
Settings:
|
|
5314
|
+
Settings: w0,
|
|
5315
5315
|
Share: hn,
|
|
5316
|
-
Shield:
|
|
5316
|
+
Shield: k0,
|
|
5317
5317
|
ShoppingCart: $t,
|
|
5318
|
-
SignPost:
|
|
5319
|
-
Sleep:
|
|
5318
|
+
SignPost: y0,
|
|
5319
|
+
Sleep: E0,
|
|
5320
5320
|
Sliders: d1,
|
|
5321
5321
|
SolidPause: gn,
|
|
5322
5322
|
SolidPlay: pn,
|
|
5323
5323
|
SolidStop: vt,
|
|
5324
|
-
Sort:
|
|
5325
|
-
Sparkles:
|
|
5324
|
+
Sort: F0,
|
|
5325
|
+
Sparkles: V0,
|
|
5326
5326
|
Spinner: Cn,
|
|
5327
|
-
Split:
|
|
5327
|
+
Split: T0,
|
|
5328
5328
|
Star: mn,
|
|
5329
5329
|
StarFilled: vn,
|
|
5330
5330
|
Strikethrough: wn,
|
|
5331
|
-
Suitcase:
|
|
5332
|
-
Swap:
|
|
5331
|
+
Suitcase: A0,
|
|
5332
|
+
Swap: B0,
|
|
5333
5333
|
Table: xn,
|
|
5334
|
-
Tablet:
|
|
5335
|
-
Tag:
|
|
5336
|
-
Target:
|
|
5334
|
+
Tablet: P0,
|
|
5335
|
+
Tag: D0,
|
|
5336
|
+
Target: _0,
|
|
5337
5337
|
TextSize: kn,
|
|
5338
5338
|
ThumbsDown: Bt,
|
|
5339
5339
|
ThumbsDownFilled: It,
|
|
5340
5340
|
ThumbsUp: Pt,
|
|
5341
5341
|
ThumbsUpFilled: jt,
|
|
5342
|
-
Timer:
|
|
5342
|
+
Timer: q0,
|
|
5343
5343
|
Underline: Ln,
|
|
5344
5344
|
Upload: bn,
|
|
5345
5345
|
Upsell: wt,
|
|
5346
|
-
UserProtected:
|
|
5346
|
+
UserProtected: Y0,
|
|
5347
5347
|
Video: yn,
|
|
5348
|
-
VideoRecorder:
|
|
5349
|
-
VideoRecorderNegative:
|
|
5350
|
-
VolumeHigh:
|
|
5351
|
-
VolumeMid:
|
|
5352
|
-
VolumeMuted:
|
|
5353
|
-
Wallet:
|
|
5348
|
+
VideoRecorder: Q0,
|
|
5349
|
+
VideoRecorderNegative: ec,
|
|
5350
|
+
VolumeHigh: rc,
|
|
5351
|
+
VolumeMid: nc,
|
|
5352
|
+
VolumeMuted: ic,
|
|
5353
|
+
Wallet: cc,
|
|
5354
5354
|
Warning: Mn,
|
|
5355
|
-
Watch:
|
|
5356
|
-
WhatsappChat:
|
|
5357
|
-
Wifi:
|
|
5355
|
+
Watch: dc,
|
|
5356
|
+
WhatsappChat: uc,
|
|
5357
|
+
Wifi: gc,
|
|
5358
5358
|
Windows: En
|
|
5359
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5359
|
+
}, Symbol.toStringTag, { value: "Module" })), Cc = (e, r) => /* @__PURE__ */ t(
|
|
5360
5360
|
"svg",
|
|
5361
5361
|
{
|
|
5362
5362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5373,7 +5373,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
5373
5373
|
}
|
|
5374
5374
|
)
|
|
5375
5375
|
}
|
|
5376
|
-
),
|
|
5376
|
+
), mc = g(Cc), vc = [
|
|
5377
5377
|
"append",
|
|
5378
5378
|
"className",
|
|
5379
5379
|
"pressed",
|
|
@@ -5385,7 +5385,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
5385
5385
|
"loading",
|
|
5386
5386
|
"emoji"
|
|
5387
5387
|
], Dt = g((e, r) => {
|
|
5388
|
-
const o =
|
|
5388
|
+
const o = vc.reduce((n, s) => {
|
|
5389
5389
|
const { [s]: i, ...l } = n;
|
|
5390
5390
|
return l;
|
|
5391
5391
|
}, e);
|
|
@@ -5395,7 +5395,7 @@ const bc = (e, r) => /* @__PURE__ */ a(
|
|
|
5395
5395
|
...o,
|
|
5396
5396
|
variant: "ai",
|
|
5397
5397
|
ref: r,
|
|
5398
|
-
iconRotate: e.icon ==
|
|
5398
|
+
iconRotate: e.icon == mc
|
|
5399
5399
|
}
|
|
5400
5400
|
);
|
|
5401
5401
|
});
|
|
@@ -5540,7 +5540,7 @@ const Zt = {
|
|
|
5540
5540
|
double: "border-double",
|
|
5541
5541
|
none: "border-none"
|
|
5542
5542
|
}
|
|
5543
|
-
},
|
|
5543
|
+
}, wc = {}, xc = {
|
|
5544
5544
|
// Special
|
|
5545
5545
|
auto: "w-auto",
|
|
5546
5546
|
full: "w-full",
|
|
@@ -5597,7 +5597,7 @@ const Zt = {
|
|
|
5597
5597
|
"4/5": "w-4/5",
|
|
5598
5598
|
"1/6": "w-1/6",
|
|
5599
5599
|
"5/6": "w-5/6"
|
|
5600
|
-
},
|
|
5600
|
+
}, kc = {
|
|
5601
5601
|
auto: "h-auto",
|
|
5602
5602
|
full: "h-full",
|
|
5603
5603
|
screen: "h-screen",
|
|
@@ -5651,7 +5651,7 @@ const Zt = {
|
|
|
5651
5651
|
"4/5": "h-4/5",
|
|
5652
5652
|
"1/6": "h-1/6",
|
|
5653
5653
|
"5/6": "h-5/6"
|
|
5654
|
-
},
|
|
5654
|
+
}, Lc = {
|
|
5655
5655
|
auto: "min-w-0",
|
|
5656
5656
|
full: "min-w-full",
|
|
5657
5657
|
screen: "min-w-screen",
|
|
@@ -5705,7 +5705,7 @@ const Zt = {
|
|
|
5705
5705
|
"4/5": "min-w-4/5",
|
|
5706
5706
|
"1/6": "min-w-1/6",
|
|
5707
5707
|
"5/6": "min-w-5/6"
|
|
5708
|
-
},
|
|
5708
|
+
}, bc = {
|
|
5709
5709
|
auto: "min-h-0",
|
|
5710
5710
|
full: "min-h-full",
|
|
5711
5711
|
screen: "min-h-screen",
|
|
@@ -5759,7 +5759,7 @@ const Zt = {
|
|
|
5759
5759
|
"4/5": "min-h-4/5",
|
|
5760
5760
|
"1/6": "min-h-1/6",
|
|
5761
5761
|
"5/6": "min-h-5/6"
|
|
5762
|
-
},
|
|
5762
|
+
}, yc = {
|
|
5763
5763
|
auto: "max-w-none",
|
|
5764
5764
|
full: "max-w-full",
|
|
5765
5765
|
screen: "max-w-screen",
|
|
@@ -5813,7 +5813,7 @@ const Zt = {
|
|
|
5813
5813
|
"4/5": "max-w-4/5",
|
|
5814
5814
|
"1/6": "max-w-1/6",
|
|
5815
5815
|
"5/6": "max-w-5/6"
|
|
5816
|
-
},
|
|
5816
|
+
}, Mc = {
|
|
5817
5817
|
auto: "max-h-none",
|
|
5818
5818
|
full: "max-h-full",
|
|
5819
5819
|
screen: "max-h-screen",
|
|
@@ -5868,12 +5868,12 @@ const Zt = {
|
|
|
5868
5868
|
"1/6": "max-h-1/6",
|
|
5869
5869
|
"5/6": "max-h-5/6"
|
|
5870
5870
|
}, Ot = {
|
|
5871
|
-
width:
|
|
5872
|
-
height:
|
|
5873
|
-
minWidth:
|
|
5874
|
-
minHeight:
|
|
5875
|
-
maxWidth:
|
|
5876
|
-
maxHeight:
|
|
5871
|
+
width: xc,
|
|
5872
|
+
height: kc,
|
|
5873
|
+
minWidth: Lc,
|
|
5874
|
+
minHeight: bc,
|
|
5875
|
+
maxWidth: yc,
|
|
5876
|
+
maxHeight: Mc
|
|
5877
5877
|
}, Ut = {
|
|
5878
5878
|
display: {
|
|
5879
5879
|
block: "block",
|
|
@@ -5959,7 +5959,7 @@ const Zt = {
|
|
|
5959
5959
|
true: "shrink",
|
|
5960
5960
|
false: "shrink-0"
|
|
5961
5961
|
}
|
|
5962
|
-
},
|
|
5962
|
+
}, Ec = {}, Wt = {
|
|
5963
5963
|
columns: {
|
|
5964
5964
|
none: "grid-cols-none",
|
|
5965
5965
|
1: "grid-cols-1",
|
|
@@ -6165,13 +6165,13 @@ const Zt = {
|
|
|
6165
6165
|
"5xl": "mr-16",
|
|
6166
6166
|
auto: "mr-auto"
|
|
6167
6167
|
}
|
|
6168
|
-
},
|
|
6168
|
+
}, Rc = {}, Fc = {
|
|
6169
6169
|
visible: "overflow-visible",
|
|
6170
6170
|
hidden: "overflow-hidden",
|
|
6171
6171
|
auto: "overflow-auto",
|
|
6172
6172
|
scroll: "overflow-scroll"
|
|
6173
6173
|
}, Yt = {
|
|
6174
|
-
overflow:
|
|
6174
|
+
overflow: Fc,
|
|
6175
6175
|
overflowX: {
|
|
6176
6176
|
visible: "overflow-x-visible",
|
|
6177
6177
|
hidden: "overflow-x-hidden",
|
|
@@ -6184,7 +6184,7 @@ const Zt = {
|
|
|
6184
6184
|
auto: "overflow-y-auto",
|
|
6185
6185
|
scroll: "overflow-y-scroll"
|
|
6186
6186
|
}
|
|
6187
|
-
},
|
|
6187
|
+
}, Nc = {}, Kt = {
|
|
6188
6188
|
padding: {
|
|
6189
6189
|
none: "p-0",
|
|
6190
6190
|
xs: "p-1",
|
|
@@ -6269,7 +6269,7 @@ const Zt = {
|
|
|
6269
6269
|
"4xl": "pr-12",
|
|
6270
6270
|
"5xl": "pr-16"
|
|
6271
6271
|
}
|
|
6272
|
-
},
|
|
6272
|
+
}, Vc = {}, Sc = {
|
|
6273
6273
|
boxShadow: {
|
|
6274
6274
|
none: "shadow-none",
|
|
6275
6275
|
sm: "shadow",
|
|
@@ -6287,7 +6287,7 @@ const Zt = {
|
|
|
6287
6287
|
40: "z-40",
|
|
6288
6288
|
50: "z-50"
|
|
6289
6289
|
}
|
|
6290
|
-
},
|
|
6290
|
+
}, Tc = {
|
|
6291
6291
|
...Ut,
|
|
6292
6292
|
...qt,
|
|
6293
6293
|
...Kt,
|
|
@@ -6301,21 +6301,21 @@ const Zt = {
|
|
|
6301
6301
|
...zt,
|
|
6302
6302
|
...Qt
|
|
6303
6303
|
};
|
|
6304
|
-
function
|
|
6304
|
+
function Hc(e, r) {
|
|
6305
6305
|
return r.split(" ").map((o) => `${e}:${o}`).join(" ");
|
|
6306
6306
|
}
|
|
6307
|
-
function
|
|
6307
|
+
function Ac(e, r) {
|
|
6308
6308
|
const o = [];
|
|
6309
6309
|
for (const [n, s] of Object.entries(r)) {
|
|
6310
6310
|
if (s == null) continue;
|
|
6311
|
-
const i =
|
|
6311
|
+
const i = Tc[n];
|
|
6312
6312
|
if (!i) continue;
|
|
6313
6313
|
const l = i[String(s)];
|
|
6314
|
-
l && o.push(
|
|
6314
|
+
l && o.push(Hc(e, l));
|
|
6315
6315
|
}
|
|
6316
6316
|
return o.join(" ");
|
|
6317
6317
|
}
|
|
6318
|
-
const $
|
|
6318
|
+
const $c = Te({
|
|
6319
6319
|
base: "",
|
|
6320
6320
|
variants: {
|
|
6321
6321
|
...Ut,
|
|
@@ -6329,17 +6329,17 @@ const $0 = Te({
|
|
|
6329
6329
|
..._t,
|
|
6330
6330
|
...Yt,
|
|
6331
6331
|
...zt,
|
|
6332
|
-
...
|
|
6332
|
+
...Sc,
|
|
6333
6333
|
...Qt
|
|
6334
6334
|
},
|
|
6335
6335
|
defaultVariants: {
|
|
6336
|
-
...
|
|
6337
|
-
...
|
|
6338
|
-
...
|
|
6339
|
-
...
|
|
6340
|
-
...
|
|
6336
|
+
...Vc,
|
|
6337
|
+
...Rc,
|
|
6338
|
+
...Ec,
|
|
6339
|
+
...wc,
|
|
6340
|
+
...Nc
|
|
6341
6341
|
}
|
|
6342
|
-
}),
|
|
6342
|
+
}), Bc = ["sm", "md", "lg", "xl"], Jt = g(
|
|
6343
6343
|
({
|
|
6344
6344
|
// Display & Position
|
|
6345
6345
|
display: e,
|
|
@@ -6417,9 +6417,9 @@ const $0 = Te({
|
|
|
6417
6417
|
xl: Qe,
|
|
6418
6418
|
...Pe
|
|
6419
6419
|
}, Je) => {
|
|
6420
|
-
const Ae = D && D !== "none" || W && W !== "none" || K && K !== "none" || ae && ae !== "none", Se = Y && Y !== "none" || Ae, je = { sm: xe, md: Ye, lg: Ke, xl: Qe }, De =
|
|
6420
|
+
const Ae = D && D !== "none" || W && W !== "none" || K && K !== "none" || ae && ae !== "none", Se = Y && Y !== "none" || Ae, je = { sm: xe, md: Ye, lg: Ke, xl: Qe }, De = Bc.map((Ze) => {
|
|
6421
6421
|
const _e = je[Ze];
|
|
6422
|
-
return _e ?
|
|
6422
|
+
return _e ? Ac(Ze, _e) : "";
|
|
6423
6423
|
}).filter(Boolean).join(" ");
|
|
6424
6424
|
return /* @__PURE__ */ t(
|
|
6425
6425
|
"div",
|
|
@@ -6427,7 +6427,7 @@ const $0 = Te({
|
|
|
6427
6427
|
ref: Je,
|
|
6428
6428
|
className: k(
|
|
6429
6429
|
Ae && "border-0",
|
|
6430
|
-
$
|
|
6430
|
+
$c({
|
|
6431
6431
|
display: e,
|
|
6432
6432
|
position: r,
|
|
6433
6433
|
top: o,
|
|
@@ -6509,7 +6509,7 @@ const t1 = Rn(
|
|
|
6509
6509
|
"executing",
|
|
6510
6510
|
"writing",
|
|
6511
6511
|
"completed"
|
|
6512
|
-
],
|
|
6512
|
+
], Ic = ({
|
|
6513
6513
|
onUploadFiles: e,
|
|
6514
6514
|
toolbarStart: r,
|
|
6515
6515
|
isAtMaxFiles: o,
|
|
@@ -6641,7 +6641,7 @@ const t1 = Rn(
|
|
|
6641
6641
|
)
|
|
6642
6642
|
] })
|
|
6643
6643
|
] });
|
|
6644
|
-
},
|
|
6644
|
+
}, Pc = ({
|
|
6645
6645
|
attachedFiles: e,
|
|
6646
6646
|
isUploading: r,
|
|
6647
6647
|
onRemove: o,
|
|
@@ -6654,7 +6654,7 @@ const t1 = Rn(
|
|
|
6654
6654
|
className: "flex flex-wrap gap-1 px-1 pt-1",
|
|
6655
6655
|
children: e.map(
|
|
6656
6656
|
(s) => s.status === "uploading" ? /* @__PURE__ */ t(he, { className: "h-9 w-36 rounded-[10px]" }, s.id) : s.status === "error" ? /* @__PURE__ */ t(
|
|
6657
|
-
|
|
6657
|
+
jc,
|
|
6658
6658
|
{
|
|
6659
6659
|
att: s,
|
|
6660
6660
|
onRemove: o,
|
|
@@ -6679,7 +6679,7 @@ const t1 = Rn(
|
|
|
6679
6679
|
)
|
|
6680
6680
|
}
|
|
6681
6681
|
);
|
|
6682
|
-
function
|
|
6682
|
+
function jc({
|
|
6683
6683
|
att: e,
|
|
6684
6684
|
onRemove: r,
|
|
6685
6685
|
removeLabel: o
|
|
@@ -6702,21 +6702,21 @@ function j0({
|
|
|
6702
6702
|
] });
|
|
6703
6703
|
return e.errorMessage ? /* @__PURE__ */ t(Nn, { label: e.errorMessage, children: n }) : n;
|
|
6704
6704
|
}
|
|
6705
|
-
const
|
|
6705
|
+
const Dc = {
|
|
6706
6706
|
soft: {
|
|
6707
6707
|
text: "",
|
|
6708
6708
|
bg: "bg-f1-background-info",
|
|
6709
6709
|
fontColor: "text-f1-foreground-info",
|
|
6710
6710
|
formBorder: "[&_form]:border-f1-border-info"
|
|
6711
6711
|
}
|
|
6712
|
-
},
|
|
6712
|
+
}, Zc = ({
|
|
6713
6713
|
creditWarning: e,
|
|
6714
6714
|
children: r
|
|
6715
6715
|
}) => {
|
|
6716
6716
|
const o = G();
|
|
6717
6717
|
if (!e) return r;
|
|
6718
6718
|
const n = {
|
|
6719
|
-
...
|
|
6719
|
+
...Dc[e.level],
|
|
6720
6720
|
text: o.ai.creditWarning.soft
|
|
6721
6721
|
};
|
|
6722
6722
|
return /* @__PURE__ */ a(
|
|
@@ -6761,7 +6761,7 @@ const D0 = {
|
|
|
6761
6761
|
}
|
|
6762
6762
|
);
|
|
6763
6763
|
};
|
|
6764
|
-
function
|
|
6764
|
+
function _c({
|
|
6765
6765
|
isOpen: e,
|
|
6766
6766
|
results: r,
|
|
6767
6767
|
isLoading: o,
|
|
@@ -6849,7 +6849,7 @@ function _0({
|
|
|
6849
6849
|
}
|
|
6850
6850
|
);
|
|
6851
6851
|
}
|
|
6852
|
-
const
|
|
6852
|
+
const Oc = ({
|
|
6853
6853
|
quote: e,
|
|
6854
6854
|
onRemove: r
|
|
6855
6855
|
}) => {
|
|
@@ -6885,7 +6885,7 @@ const O0 = ({
|
|
|
6885
6885
|
]
|
|
6886
6886
|
}
|
|
6887
6887
|
) });
|
|
6888
|
-
},
|
|
6888
|
+
}, Uc = ({
|
|
6889
6889
|
placeholders: e,
|
|
6890
6890
|
defaultPlaceholder: r,
|
|
6891
6891
|
inputValue: o,
|
|
@@ -6958,7 +6958,7 @@ const O0 = ({
|
|
|
6958
6958
|
)
|
|
6959
6959
|
}
|
|
6960
6960
|
) });
|
|
6961
|
-
},
|
|
6961
|
+
}, zc = ({
|
|
6962
6962
|
textareaRef: e,
|
|
6963
6963
|
highlightRef: r,
|
|
6964
6964
|
inputValue: o,
|
|
@@ -7064,7 +7064,7 @@ const O0 = ({
|
|
|
7064
7064
|
}
|
|
7065
7065
|
),
|
|
7066
7066
|
u && /* @__PURE__ */ t(
|
|
7067
|
-
|
|
7067
|
+
Uc,
|
|
7068
7068
|
{
|
|
7069
7069
|
placeholders: f,
|
|
7070
7070
|
defaultPlaceholder: C,
|
|
@@ -7074,9 +7074,9 @@ const O0 = ({
|
|
|
7074
7074
|
)
|
|
7075
7075
|
]
|
|
7076
7076
|
}
|
|
7077
|
-
),
|
|
7077
|
+
), Gc = 4, Wc = ({
|
|
7078
7078
|
cards: e
|
|
7079
|
-
}) => e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0,
|
|
7079
|
+
}) => e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0, Gc).map((r) => /* @__PURE__ */ t(
|
|
7080
7080
|
kt,
|
|
7081
7081
|
{
|
|
7082
7082
|
avatar: { type: "icon", icon: r.icon },
|
|
@@ -7085,11 +7085,11 @@ const O0 = ({
|
|
|
7085
7085
|
onClick: r.onClick
|
|
7086
7086
|
},
|
|
7087
7087
|
r.id
|
|
7088
|
-
)) }),
|
|
7089
|
-
function
|
|
7088
|
+
)) }), qc = 5;
|
|
7089
|
+
function Xc(e, r = qc) {
|
|
7090
7090
|
return e.length <= r ? e : [...e].sort(() => 0.5 - Math.random()).slice(0, r);
|
|
7091
7091
|
}
|
|
7092
|
-
const
|
|
7092
|
+
const Yc = ({
|
|
7093
7093
|
suggestions: e,
|
|
7094
7094
|
onItemClick: r,
|
|
7095
7095
|
onItemHover: o,
|
|
@@ -7155,7 +7155,7 @@ const Y0 = ({
|
|
|
7155
7155
|
]
|
|
7156
7156
|
}
|
|
7157
7157
|
),
|
|
7158
|
-
/* @__PURE__ */ t("div", { className: "flex flex-col", children:
|
|
7158
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col", children: Xc(C.items).map((p, h) => /* @__PURE__ */ a(
|
|
7159
7159
|
"button",
|
|
7160
7160
|
{
|
|
7161
7161
|
type: "button",
|
|
@@ -7194,7 +7194,7 @@ const Y0 = ({
|
|
|
7194
7194
|
function R1(e) {
|
|
7195
7195
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
7196
7196
|
}
|
|
7197
|
-
function
|
|
7197
|
+
function Kc(e, r, o) {
|
|
7198
7198
|
const n = o?.cursorPosition ?? e.length, s = o?.inlineCompletion ?? null, i = [];
|
|
7199
7199
|
for (const f of r) {
|
|
7200
7200
|
const C = `@${f.name}`;
|
|
@@ -7219,7 +7219,7 @@ function K0(e, r, o) {
|
|
|
7219
7219
|
u(f.start), l.push({ type: "mention", text: e.slice(f.start, f.end) }), d = f.end;
|
|
7220
7220
|
return u(e.length), !c && s && n >= d && l.push({ type: "ghost", text: s }), l.length === 0 ? [{ type: "text", text: e }] : l;
|
|
7221
7221
|
}
|
|
7222
|
-
function
|
|
7222
|
+
function Qc(e, r) {
|
|
7223
7223
|
if (r === "*/*") return !0;
|
|
7224
7224
|
if (r.endsWith("/*")) {
|
|
7225
7225
|
const o = r.slice(0, r.indexOf("/"));
|
|
@@ -7227,11 +7227,11 @@ function Q0(e, r) {
|
|
|
7227
7227
|
}
|
|
7228
7228
|
return e === r;
|
|
7229
7229
|
}
|
|
7230
|
-
function
|
|
7230
|
+
function Jc(e, r) {
|
|
7231
7231
|
if (!r) return e;
|
|
7232
7232
|
const o = Array.isArray(r) ? r : [r];
|
|
7233
7233
|
return o.length === 0 ? e : e.filter(
|
|
7234
|
-
(n) => o.some((s) =>
|
|
7234
|
+
(n) => o.some((s) => Qc(n.type, s))
|
|
7235
7235
|
);
|
|
7236
7236
|
}
|
|
7237
7237
|
const e2 = 4e3;
|
|
@@ -7259,7 +7259,7 @@ function t2(e) {
|
|
|
7259
7259
|
const x = _(
|
|
7260
7260
|
async (T) => {
|
|
7261
7261
|
if (T.length === 0 || !c) return;
|
|
7262
|
-
const V =
|
|
7262
|
+
const V = Jc(T, u);
|
|
7263
7263
|
if (V.length === 0) return;
|
|
7264
7264
|
if (f !== void 0 && h.current + V.length > f) {
|
|
7265
7265
|
m(
|
|
@@ -7676,11 +7676,11 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7676
7676
|
U(W.current?.selectionStart ?? 0);
|
|
7677
7677
|
}, Er = () => {
|
|
7678
7678
|
K.current && W.current && (K.current.scrollTop = W.current.scrollTop);
|
|
7679
|
-
}, m1 = X ? X.prompt ?? X.title : null, v1 = Pe ? [L.ai.listening] : m1 ? [m1] : s ?? [], Rr = v1.length > 1, Fr = J(() =>
|
|
7679
|
+
}, m1 = X ? X.prompt ?? X.title : null, v1 = Pe ? [L.ai.listening] : m1 ? [m1] : s ?? [], Rr = v1.length > 1, Fr = J(() => Kc(R, ne.mentions, {
|
|
7680
7680
|
cursorPosition: I,
|
|
7681
7681
|
inlineCompletion: ne.inlineCompletion
|
|
7682
7682
|
}), [R, ne.mentions, I, ne.inlineCompletion]), Nr = ne.mentions.length > 0 || ne.inlineCompletion !== null, w1 = A && !!V && V.length > 0 && !!E ? /* @__PURE__ */ t(
|
|
7683
|
-
|
|
7683
|
+
Yc,
|
|
7684
7684
|
{
|
|
7685
7685
|
suggestions: V,
|
|
7686
7686
|
onItemClick: pe,
|
|
@@ -7704,7 +7704,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7704
7704
|
children: [
|
|
7705
7705
|
/* @__PURE__ */ a("div", { className: "flex w-full max-w-content flex-col gap-2", children: [
|
|
7706
7706
|
w1 && /* @__PURE__ */ t("div", { children: w1 }),
|
|
7707
|
-
/* @__PURE__ */ t(
|
|
7707
|
+
/* @__PURE__ */ t(Zc, { creditWarning: i, children: /* @__PURE__ */ a(
|
|
7708
7708
|
ee.form,
|
|
7709
7709
|
{
|
|
7710
7710
|
"aria-busy": o,
|
|
@@ -7743,7 +7743,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7743
7743
|
onSubmit: Ze,
|
|
7744
7744
|
children: [
|
|
7745
7745
|
/* @__PURE__ */ t(
|
|
7746
|
-
|
|
7746
|
+
_c,
|
|
7747
7747
|
{
|
|
7748
7748
|
isOpen: ne.isOpen,
|
|
7749
7749
|
results: ne.results,
|
|
@@ -7794,7 +7794,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7794
7794
|
},
|
|
7795
7795
|
children: [
|
|
7796
7796
|
u && /* @__PURE__ */ t(
|
|
7797
|
-
|
|
7797
|
+
Oc,
|
|
7798
7798
|
{
|
|
7799
7799
|
quote: u,
|
|
7800
7800
|
onRemove: () => f?.(null)
|
|
@@ -7830,7 +7830,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7830
7830
|
"transient-error"
|
|
7831
7831
|
) }),
|
|
7832
7832
|
/* @__PURE__ */ t(
|
|
7833
|
-
|
|
7833
|
+
Pc,
|
|
7834
7834
|
{
|
|
7835
7835
|
attachedFiles: re,
|
|
7836
7836
|
isUploading: Se,
|
|
@@ -7839,7 +7839,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7839
7839
|
}
|
|
7840
7840
|
),
|
|
7841
7841
|
/* @__PURE__ */ t(
|
|
7842
|
-
|
|
7842
|
+
zc,
|
|
7843
7843
|
{
|
|
7844
7844
|
textareaRef: W,
|
|
7845
7845
|
highlightRef: K,
|
|
@@ -7859,7 +7859,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7859
7859
|
}
|
|
7860
7860
|
),
|
|
7861
7861
|
/* @__PURE__ */ t(
|
|
7862
|
-
|
|
7862
|
+
Ic,
|
|
7863
7863
|
{
|
|
7864
7864
|
onUploadFiles: we,
|
|
7865
7865
|
toolbarStart: p,
|
|
@@ -7887,7 +7887,7 @@ const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7887
7887
|
}
|
|
7888
7888
|
) })
|
|
7889
7889
|
] }),
|
|
7890
|
-
Vr && /* @__PURE__ */ t("div", { className: "w-full max-w-content pt-2", children: /* @__PURE__ */ t(
|
|
7890
|
+
Vr && /* @__PURE__ */ t("div", { className: "w-full max-w-content pt-2", children: /* @__PURE__ */ t(Wc, { cards: w }) }),
|
|
7891
7891
|
M && A && T && /* @__PURE__ */ t("div", { className: "w-full py-4 mx-auto flex max-w-content justify-center", children: M }),
|
|
7892
7892
|
/* @__PURE__ */ t(Ee, { mode: "wait", initial: !1, children: ae ? /* @__PURE__ */ a(
|
|
7893
7893
|
ee.div,
|
|
@@ -12284,7 +12284,7 @@ const f6 = ({
|
|
|
12284
12284
|
]
|
|
12285
12285
|
}
|
|
12286
12286
|
);
|
|
12287
|
-
}, u6 = (e) =>
|
|
12287
|
+
}, u6 = (e) => pc[e] ?? dt, h6 = ({ iconName: e }) => e ? /* @__PURE__ */ t("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ t(le, { icon: u6(e), size: "md", color: "default" }) }) : null;
|
|
12288
12288
|
function g6({
|
|
12289
12289
|
sources: e,
|
|
12290
12290
|
title: r
|
|
@@ -13379,11 +13379,11 @@ export {
|
|
|
13379
13379
|
a4 as B,
|
|
13380
13380
|
Q1 as C,
|
|
13381
13381
|
Dt as D,
|
|
13382
|
-
|
|
13382
|
+
mc as E,
|
|
13383
13383
|
O6 as F,
|
|
13384
|
-
|
|
13385
|
-
|
|
13386
|
-
|
|
13384
|
+
ic as G,
|
|
13385
|
+
nc as H,
|
|
13386
|
+
rc as I,
|
|
13387
13387
|
H5 as J,
|
|
13388
13388
|
R5 as K,
|
|
13389
13389
|
xs as L,
|