@factorialco/f0-react 6.29.1 → 6.31.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/{F0AiProcessingOverlay-CBidGqkB.js → F0AiProcessingOverlay-DNvVMF7Z.js} +799 -785
- package/dist/{LocationMap-DPgXUyIU.js → LocationMap-Bg11OoaV.js} +1 -1
- package/dist/ai.d.ts +20 -6
- package/dist/ai.js +1 -1
- package/dist/component-status.d.ts +6 -6
- package/dist/component-status.js +1 -1
- package/dist/{experimental-BxOKMgLb.js → experimental-Dokue7Zf.js} +194 -194
- package/dist/experimental.d.ts +11 -7
- package/dist/experimental.js +1 -1
- package/dist/f0.d.ts +20 -6
- package/dist/f0.js +2 -2
- package/dist/i18n-provider-defaults.d.ts +6 -6
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ function Bp(n, l, f) {
|
|
|
16
16
|
const U = T_(n, l) / Gx;
|
|
17
17
|
return Ex(f?.roundingMethod)(U);
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const qk = ["sm", "md", "lg"], $k = [
|
|
20
20
|
"categorical-1",
|
|
21
21
|
"categorical-2",
|
|
22
22
|
"categorical-3",
|
|
@@ -929,8 +929,8 @@ const Mm = kt.create(Ig), Vm = {
|
|
|
929
929
|
)
|
|
930
930
|
] })
|
|
931
931
|
] });
|
|
932
|
-
}, Fp = jI(null),
|
|
933
|
-
function
|
|
932
|
+
}, Fp = jI(null), eZ = Fp.Provider;
|
|
933
|
+
function tZ() {
|
|
934
934
|
return Ji(Fp);
|
|
935
935
|
}
|
|
936
936
|
function iS(n, l) {
|
|
@@ -955,7 +955,7 @@ function iS(n, l) {
|
|
|
955
955
|
f
|
|
956
956
|
]);
|
|
957
957
|
}
|
|
958
|
-
function
|
|
958
|
+
function gZ({
|
|
959
959
|
module: n,
|
|
960
960
|
statusTag: l = void 0,
|
|
961
961
|
breadcrumbs: f = [],
|
|
@@ -1123,7 +1123,7 @@ function CS({ action: n }) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
);
|
|
1125
1125
|
}
|
|
1126
|
-
const
|
|
1126
|
+
const IZ = eD, XU = process.env.NODE_ENV !== "production", qU = (n) => {
|
|
1127
1127
|
XU && console.warn(`[f0] ${n}`);
|
|
1128
1128
|
}, nS = (n) => {
|
|
1129
1129
|
XU && !id.hasProvider() && console.warn(
|
|
@@ -1167,7 +1167,7 @@ const gZ = eD, XU = process.env.NODE_ENV !== "production", qU = (n) => {
|
|
|
1167
1167
|
id.removeItem(n);
|
|
1168
1168
|
}, aS = () => {
|
|
1169
1169
|
id.clear();
|
|
1170
|
-
},
|
|
1170
|
+
}, iZ = {
|
|
1171
1171
|
/**
|
|
1172
1172
|
* Show a coachmark, or queue it behind the one already on screen.
|
|
1173
1173
|
* @param options One coachmark, or a sequence of `steps`
|
|
@@ -1536,7 +1536,7 @@ const gZ = eD, XU = process.env.NODE_ENV !== "production", qU = (n) => {
|
|
|
1536
1536
|
);
|
|
1537
1537
|
};
|
|
1538
1538
|
e0.displayName = "F0EmojiPicker";
|
|
1539
|
-
const
|
|
1539
|
+
const CZ = ["sm", "md", "lg"], nZ = HI(
|
|
1540
1540
|
iI("F0EmojiPicker", e0)
|
|
1541
1541
|
), t0 = Ar({
|
|
1542
1542
|
base: "flex w-full flex-col rounded-lg p-[1px]",
|
|
@@ -1668,7 +1668,7 @@ const iZ = ["sm", "md", "lg"], CZ = HI(
|
|
|
1668
1668
|
(n, l) => /* @__PURE__ */ p(wS, { ref: l, ...n })
|
|
1669
1669
|
), xS = ({ compact: n, variant: l }) => /* @__PURE__ */ p(bS, { compact: n, variant: l });
|
|
1670
1670
|
g0.displayName = "F0Callout";
|
|
1671
|
-
const
|
|
1671
|
+
const oZ = OI(
|
|
1672
1672
|
HI(g0),
|
|
1673
1673
|
xS
|
|
1674
1674
|
), I0 = 10, i0 = 3, Em = (n, l) => {
|
|
@@ -1998,18 +1998,18 @@ const JS = ({ compact: n = !1 }) => /* @__PURE__ */ p(
|
|
|
1998
1998
|
] })
|
|
1999
1999
|
] })
|
|
2000
2000
|
}
|
|
2001
|
-
),
|
|
2001
|
+
), rZ = HI(
|
|
2002
2002
|
iI(
|
|
2003
2003
|
"F0MeetingCard",
|
|
2004
2004
|
OI(C0, JS)
|
|
2005
2005
|
)
|
|
2006
|
-
),
|
|
2006
|
+
), AZ = [
|
|
2007
2007
|
"scheduled",
|
|
2008
2008
|
"inProgress",
|
|
2009
2009
|
"summarizing",
|
|
2010
2010
|
"finished",
|
|
2011
2011
|
"cancelled"
|
|
2012
|
-
],
|
|
2012
|
+
], sZ = ["auto", "avatars", "count"];
|
|
2013
2013
|
var xc = { exports: {} };
|
|
2014
2014
|
var HS = xc.exports, Tm;
|
|
2015
2015
|
function OS() {
|
|
@@ -27335,7 +27335,7 @@ const B0 = (n, l) => (!da && typeof document < "u" && (da = document.createEleme
|
|
|
27335
27335
|
n.off("zoom", b);
|
|
27336
27336
|
};
|
|
27337
27337
|
}, [n, l]), f;
|
|
27338
|
-
},
|
|
27338
|
+
}, aZ = [
|
|
27339
27339
|
"default",
|
|
27340
27340
|
"workplace",
|
|
27341
27341
|
"employee",
|
|
@@ -28155,7 +28155,7 @@ const jv = ({
|
|
|
28155
28155
|
) });
|
|
28156
28156
|
});
|
|
28157
28157
|
w0.displayName = "F0Map";
|
|
28158
|
-
const
|
|
28158
|
+
const lZ = w0, b0 = Qg(
|
|
28159
28159
|
({ value: n, max: l, color: f = "categorical-1", label: U }, b) => {
|
|
28160
28160
|
const S = Vt(), y = Number.isFinite(l) ? Math.max(0, Math.floor(l)) : 0, o = Number.isFinite(n) ? Math.max(0, Math.min(Math.floor(n), y)) : 0, V = Array.from({ length: y }, (T, N) => N < o), E = AD(f);
|
|
28161
28161
|
return /* @__PURE__ */ p(
|
|
@@ -28188,7 +28188,7 @@ const aZ = w0, b0 = Qg(
|
|
|
28188
28188
|
}
|
|
28189
28189
|
);
|
|
28190
28190
|
b0.displayName = "F0SegmentedBar";
|
|
28191
|
-
const
|
|
28191
|
+
const cZ = HI(
|
|
28192
28192
|
iI("F0SegmentedBar", b0)
|
|
28193
28193
|
);
|
|
28194
28194
|
function Xv({
|
|
@@ -28315,7 +28315,7 @@ function $v({
|
|
|
28315
28315
|
}
|
|
28316
28316
|
);
|
|
28317
28317
|
}
|
|
28318
|
-
const
|
|
28318
|
+
const dZ = HI(
|
|
28319
28319
|
iI("F0VersionHistory", $v)
|
|
28320
28320
|
), x0 = Qg(
|
|
28321
28321
|
({ height: n, itemCount: l, itemSize: f, className: U, renderer: b }, S) => {
|
|
@@ -29428,7 +29428,7 @@ const qm = ({
|
|
|
29428
29428
|
)
|
|
29429
29429
|
}
|
|
29430
29430
|
);
|
|
29431
|
-
},
|
|
29431
|
+
}, uZ = (n) => {
|
|
29432
29432
|
const [l, f] = Oe(
|
|
29433
29433
|
(n.alwaysOpen || n.defaultOpen) ?? !1
|
|
29434
29434
|
), U = (H) => {
|
|
@@ -29956,7 +29956,7 @@ const aR = ({
|
|
|
29956
29956
|
}
|
|
29957
29957
|
)
|
|
29958
29958
|
] });
|
|
29959
|
-
},
|
|
29959
|
+
}, hZ = iI(
|
|
29960
29960
|
"ActivityItemList",
|
|
29961
29961
|
OI(BR, fR)
|
|
29962
29962
|
), mR = {
|
|
@@ -30162,7 +30162,7 @@ const yR = ({
|
|
|
30162
30162
|
] }) }) })
|
|
30163
30163
|
]
|
|
30164
30164
|
}
|
|
30165
|
-
),
|
|
30165
|
+
), pZ = OI(yR, wR), BZ = ({
|
|
30166
30166
|
title: n,
|
|
30167
30167
|
subtitle: l,
|
|
30168
30168
|
buttonLabel: f,
|
|
@@ -30761,7 +30761,7 @@ const DR = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30761
30761
|
/* @__PURE__ */ p(mt, { className: "h-2.5 w-14 rounded-2xs" })
|
|
30762
30762
|
] })
|
|
30763
30763
|
] })
|
|
30764
|
-
] }),
|
|
30764
|
+
] }), fZ = OI(
|
|
30765
30765
|
MR,
|
|
30766
30766
|
VR
|
|
30767
30767
|
), P0 = Pt.forwardRef(({ person: n, onClick: l, ...f }, U) => {
|
|
@@ -30840,7 +30840,7 @@ const DR = () => /* @__PURE__ */ te("div", { className: "flex flex-col justify-a
|
|
|
30840
30840
|
] })
|
|
30841
30841
|
] });
|
|
30842
30842
|
P0.displayName = "OnePersonListItem";
|
|
30843
|
-
const
|
|
30843
|
+
const mZ = HI(
|
|
30844
30844
|
iI(
|
|
30845
30845
|
"OnePersonListItem",
|
|
30846
30846
|
OI(P0, PR)
|
|
@@ -30917,7 +30917,7 @@ function TR({
|
|
|
30917
30917
|
}
|
|
30918
30918
|
) });
|
|
30919
30919
|
}
|
|
30920
|
-
const
|
|
30920
|
+
const FZ = iI(
|
|
30921
30921
|
"ApplicationFrame",
|
|
30922
30922
|
ER
|
|
30923
30923
|
), kR = ({ contentId: n }) => {
|
|
@@ -31406,7 +31406,7 @@ function E0({
|
|
|
31406
31406
|
);
|
|
31407
31407
|
}
|
|
31408
31408
|
E0.displayName = "DaytimePage";
|
|
31409
|
-
const
|
|
31409
|
+
const UZ = HI(
|
|
31410
31410
|
iI("DaytimePage", E0)
|
|
31411
31411
|
);
|
|
31412
31412
|
function YR(n) {
|
|
@@ -31443,7 +31443,7 @@ function zR({ label: n, options: l, hasNewUpdate: f }) {
|
|
|
31443
31443
|
}
|
|
31444
31444
|
);
|
|
31445
31445
|
}
|
|
31446
|
-
const
|
|
31446
|
+
const QZ = HI(
|
|
31447
31447
|
iI("OmniButton", zR)
|
|
31448
31448
|
);
|
|
31449
31449
|
function T0({ children: n, header: l, embedded: f = !1 }) {
|
|
@@ -31469,10 +31469,10 @@ function T0({ children: n, header: l, embedded: f = !1 }) {
|
|
|
31469
31469
|
);
|
|
31470
31470
|
}
|
|
31471
31471
|
T0.displayName = "Page";
|
|
31472
|
-
const
|
|
31472
|
+
const yZ = HI(iI("Page", T0)), JR = (n) => n.reduce(
|
|
31473
31473
|
(l, f) => l + f.chats.filter((U) => (U.unreadCount ?? 0) > 0).length,
|
|
31474
31474
|
0
|
|
31475
|
-
), k0 = jI(null), Z0 = jI(null), rF = (n, l, f) => n.map((U) => U.id === l ? f(U) : U), hc = (n, l) => n.map((f) => ({ ...f, chats: l(f.chats) })),
|
|
31475
|
+
), k0 = jI(null), Z0 = jI(null), rF = (n, l, f) => n.map((U) => U.id === l ? f(U) : U), hc = (n, l) => n.map((f) => ({ ...f, chats: l(f.chats) })), wZ = ({
|
|
31476
31476
|
children: n,
|
|
31477
31477
|
initialGroups: l = [],
|
|
31478
31478
|
initialActiveChatId: f
|
|
@@ -31539,7 +31539,7 @@ const QZ = HI(iI("Page", T0)), JR = (n) => n.reduce(
|
|
|
31539
31539
|
}, OR = () => {
|
|
31540
31540
|
const n = HR(), l = N0();
|
|
31541
31541
|
return Gt(() => ({ ...n, ...l }), [n, l]);
|
|
31542
|
-
},
|
|
31542
|
+
}, bZ = () => N0(), AF = (n) => n.toLowerCase().normalize("NFD").replace(new RegExp("\\p{Diacritic}", "gu"), ""), jR = (n, l) => {
|
|
31543
31543
|
const f = AF(n.trim());
|
|
31544
31544
|
if (!f) return !0;
|
|
31545
31545
|
const U = AF(l);
|
|
@@ -32222,7 +32222,7 @@ const e2 = HI($R), K0 = ({
|
|
|
32222
32222
|
below: S.below,
|
|
32223
32223
|
jump: j
|
|
32224
32224
|
};
|
|
32225
|
-
},
|
|
32225
|
+
}, xZ = ({
|
|
32226
32226
|
actions: n = [],
|
|
32227
32227
|
emptyState: l,
|
|
32228
32228
|
loading: f = !1
|
|
@@ -32452,7 +32452,7 @@ const s2 = ({
|
|
|
32452
32452
|
]
|
|
32453
32453
|
}
|
|
32454
32454
|
);
|
|
32455
|
-
function
|
|
32455
|
+
function DZ({
|
|
32456
32456
|
user: n,
|
|
32457
32457
|
options: l,
|
|
32458
32458
|
showActivityButton: f = !1,
|
|
@@ -32577,7 +32577,7 @@ function a2() {
|
|
|
32577
32577
|
}
|
|
32578
32578
|
);
|
|
32579
32579
|
}
|
|
32580
|
-
function
|
|
32580
|
+
function _Z({
|
|
32581
32581
|
companies: n,
|
|
32582
32582
|
selected: l,
|
|
32583
32583
|
onChange: f,
|
|
@@ -32851,7 +32851,7 @@ const d2 = ({
|
|
|
32851
32851
|
}
|
|
32852
32852
|
) : j;
|
|
32853
32853
|
};
|
|
32854
|
-
function
|
|
32854
|
+
function SZ({
|
|
32855
32855
|
tree: n,
|
|
32856
32856
|
onCollapse: l,
|
|
32857
32857
|
onSort: f,
|
|
@@ -33038,7 +33038,7 @@ const B2 = ({
|
|
|
33038
33038
|
tooltip: n,
|
|
33039
33039
|
children: l
|
|
33040
33040
|
}) => n ? /* @__PURE__ */ p(fn, { description: n, children: l }) : l;
|
|
33041
|
-
function
|
|
33041
|
+
function vZ({
|
|
33042
33042
|
onClick: n,
|
|
33043
33043
|
placeholder: l,
|
|
33044
33044
|
shortcut: f = ["cmd", "k"],
|
|
@@ -33160,7 +33160,7 @@ function f2({
|
|
|
33160
33160
|
}
|
|
33161
33161
|
);
|
|
33162
33162
|
}
|
|
33163
|
-
const
|
|
33163
|
+
const RZ = HI(f2), m2 = () => /* @__PURE__ */ p("div", { className: "absolute -right-0.5 -top-0.5 flex h-3 w-3 items-center justify-center rounded-full", children: /* @__PURE__ */ p("span", { className: "h-2 w-2 rounded-full bg-f1-special-highlight" }) }), dF = ({
|
|
33164
33164
|
tab: n,
|
|
33165
33165
|
isActive: l,
|
|
33166
33166
|
showLabel: f,
|
|
@@ -33266,7 +33266,7 @@ const vZ = HI(f2), m2 = () => /* @__PURE__ */ p("div", { className: "absolute -r
|
|
|
33266
33266
|
]
|
|
33267
33267
|
}
|
|
33268
33268
|
);
|
|
33269
|
-
},
|
|
33269
|
+
}, MZ = ({
|
|
33270
33270
|
tabs: n,
|
|
33271
33271
|
activeTab: l,
|
|
33272
33272
|
onTabChange: f,
|
|
@@ -33434,7 +33434,7 @@ const w2 = ({
|
|
|
33434
33434
|
] }, b.title)) })
|
|
33435
33435
|
] })
|
|
33436
33436
|
] });
|
|
33437
|
-
},
|
|
33437
|
+
}, VZ = HI(
|
|
33438
33438
|
iI("OneApprovalHistory", b2)
|
|
33439
33439
|
), sh = (n, l) => typeof l == "string" && l in n;
|
|
33440
33440
|
function pF(n, l, f) {
|
|
@@ -33470,7 +33470,7 @@ function pF(n, l, f) {
|
|
|
33470
33470
|
}
|
|
33471
33471
|
return b ? U : null;
|
|
33472
33472
|
}
|
|
33473
|
-
function
|
|
33473
|
+
function PZ(n) {
|
|
33474
33474
|
const {
|
|
33475
33475
|
source: l,
|
|
33476
33476
|
collectionId: f,
|
|
@@ -34104,7 +34104,7 @@ const O0 = jI({
|
|
|
34104
34104
|
}) => {
|
|
34105
34105
|
const f = Gt(() => ({ reducedMotion: l }), [l]);
|
|
34106
34106
|
return /* @__PURE__ */ p(O0.Provider, { value: f, children: n });
|
|
34107
|
-
}, KC = () => Ji(O0),
|
|
34107
|
+
}, KC = () => Ji(O0), GZ = [
|
|
34108
34108
|
"viridian",
|
|
34109
34109
|
"malibu",
|
|
34110
34110
|
"yellow",
|
|
@@ -34120,7 +34120,7 @@ const O0 = jI({
|
|
|
34120
34120
|
"orange",
|
|
34121
34121
|
"red",
|
|
34122
34122
|
"grass"
|
|
34123
|
-
],
|
|
34123
|
+
], EZ = (n) => n.type === "system", Yc = (n) => n.type !== "system", Y2 = "latest", z2 = /* @__PURE__ */ new Set(["m4v", "mov", "mp4", "ogv", "webm"]), J2 = (n) => {
|
|
34124
34124
|
if (n < 1024) return `${n} B`;
|
|
34125
34125
|
if (n < 1024 * 1024) {
|
|
34126
34126
|
const f = n / 1024;
|
|
@@ -34200,7 +34200,7 @@ const O0 = jI({
|
|
|
34200
34200
|
}, X0 = jI(null), q0 = jI(null), X2 = (n) => {
|
|
34201
34201
|
const l = ke(n), f = l.current, U = f === n || f != null && n != null && f.canSend === n.canSend && f.canReact === n.canReact && f.canUpload === n.canUpload && f.canEditMessage === n.canEditMessage && f.canDeleteMessage === n.canDeleteMessage;
|
|
34202
34202
|
return U || (l.current = n), U ? f : n;
|
|
34203
|
-
},
|
|
34203
|
+
}, TZ = ({
|
|
34204
34204
|
runtime: n,
|
|
34205
34205
|
children: l
|
|
34206
34206
|
}) => {
|
|
@@ -34762,7 +34762,7 @@ const oQ = () => Io($0, "useChatJump"), tM = () => Io(eQ, "useChatHighlightedId"
|
|
|
34762
34762
|
]
|
|
34763
34763
|
}
|
|
34764
34764
|
);
|
|
34765
|
-
}, UQ = () => import("./LocationMap-
|
|
34765
|
+
}, UQ = () => import("./LocationMap-Bg11OoaV.js"), hM = ar(UQ), pM = 200, BM = ({ latitude: n, longitude: l }) => `https://www.google.com/maps?q=${n},${l}`, QQ = ({
|
|
34766
34766
|
location: n,
|
|
34767
34767
|
cornerClass: l = "rounded-xl",
|
|
34768
34768
|
surfaceClassName: f
|
|
@@ -42374,7 +42374,7 @@ const WP = (n) => {
|
|
|
42374
42374
|
]
|
|
42375
42375
|
}
|
|
42376
42376
|
);
|
|
42377
|
-
},
|
|
42377
|
+
}, kZ = (n) => {
|
|
42378
42378
|
const l = EI();
|
|
42379
42379
|
return /* @__PURE__ */ p(W2, { reducedMotion: l, children: /* @__PURE__ */ p(eM, { children: /* @__PURE__ */ p(ZG, { ...n }) }) });
|
|
42380
42380
|
}, Hp = {
|
|
@@ -42590,19 +42590,19 @@ const WP = (n) => {
|
|
|
42590
42590
|
children: U
|
|
42591
42591
|
}
|
|
42592
42592
|
);
|
|
42593
|
-
}),
|
|
42593
|
+
}), ZZ = NC(
|
|
42594
42594
|
{
|
|
42595
42595
|
name: "Stack",
|
|
42596
42596
|
type: "layout"
|
|
42597
42597
|
},
|
|
42598
42598
|
HG
|
|
42599
|
-
),
|
|
42599
|
+
), NZ = NC(
|
|
42600
42600
|
{
|
|
42601
42601
|
name: "Split",
|
|
42602
42602
|
type: "layout"
|
|
42603
42603
|
},
|
|
42604
42604
|
zG
|
|
42605
|
-
),
|
|
42605
|
+
), KZ = NC(
|
|
42606
42606
|
{
|
|
42607
42607
|
name: "AutoGrid",
|
|
42608
42608
|
type: "layout"
|
|
@@ -42713,37 +42713,37 @@ const WP = (n) => {
|
|
|
42713
42713
|
), CE = iI(
|
|
42714
42714
|
"VerticalBarChartWidget",
|
|
42715
42715
|
iE
|
|
42716
|
-
),
|
|
42716
|
+
), WZ = NC(
|
|
42717
42717
|
{
|
|
42718
42718
|
name: "AreaChartWidget",
|
|
42719
42719
|
type: "info"
|
|
42720
42720
|
},
|
|
42721
42721
|
jG
|
|
42722
|
-
),
|
|
42722
|
+
), YZ = NC(
|
|
42723
42723
|
{
|
|
42724
42724
|
name: "BarChartWidget",
|
|
42725
42725
|
type: "info"
|
|
42726
42726
|
},
|
|
42727
42727
|
XG
|
|
42728
|
-
),
|
|
42728
|
+
), zZ = NC(
|
|
42729
42729
|
{
|
|
42730
42730
|
name: "LineChartWidget",
|
|
42731
42731
|
type: "info"
|
|
42732
42732
|
},
|
|
42733
42733
|
$G
|
|
42734
|
-
),
|
|
42734
|
+
), JZ = NC(
|
|
42735
42735
|
{
|
|
42736
42736
|
name: "PieChartWidget",
|
|
42737
42737
|
type: "info"
|
|
42738
42738
|
},
|
|
42739
42739
|
tE
|
|
42740
|
-
),
|
|
42740
|
+
), HZ = NC(
|
|
42741
42741
|
{
|
|
42742
42742
|
name: "VerticalBarChartWidget",
|
|
42743
42743
|
type: "info"
|
|
42744
42744
|
},
|
|
42745
42745
|
CE
|
|
42746
|
-
),
|
|
42746
|
+
), OZ = NC(
|
|
42747
42747
|
{
|
|
42748
42748
|
name: "SummariesWidget",
|
|
42749
42749
|
type: "info"
|
|
@@ -43088,7 +43088,7 @@ const WP = (n) => {
|
|
|
43088
43088
|
}
|
|
43089
43089
|
);
|
|
43090
43090
|
}
|
|
43091
|
-
),
|
|
43091
|
+
), jZ = HI(
|
|
43092
43092
|
iI("ChartWidgetEmptyState", dE)
|
|
43093
43093
|
);
|
|
43094
43094
|
function uE(n, l) {
|
|
@@ -43204,7 +43204,7 @@ const ud = function({
|
|
|
43204
43204
|
);
|
|
43205
43205
|
};
|
|
43206
43206
|
ud.displayName = "VerticalOverflowList";
|
|
43207
|
-
const
|
|
43207
|
+
const LZ = ({
|
|
43208
43208
|
events: n,
|
|
43209
43209
|
showAllItems: l,
|
|
43210
43210
|
gap: f = 8,
|
|
@@ -43232,7 +43232,7 @@ const jZ = ({
|
|
|
43232
43232
|
}
|
|
43233
43233
|
) : /* @__PURE__ */ p("div", { className: f, tabIndex: 1, children: l });
|
|
43234
43234
|
};
|
|
43235
|
-
function
|
|
43235
|
+
function XZ({
|
|
43236
43236
|
label: n,
|
|
43237
43237
|
count: l,
|
|
43238
43238
|
icon: f,
|
|
@@ -43308,7 +43308,7 @@ const pE = Qg(
|
|
|
43308
43308
|
);
|
|
43309
43309
|
return n ? /* @__PURE__ */ p("a", { className: b, onClick: n, children: U }) : /* @__PURE__ */ p("div", { className: b, children: U });
|
|
43310
43310
|
};
|
|
43311
|
-
function
|
|
43311
|
+
function qZ({
|
|
43312
43312
|
id: n,
|
|
43313
43313
|
title: l,
|
|
43314
43314
|
subtitle: f,
|
|
@@ -43414,7 +43414,7 @@ function Lh({
|
|
|
43414
43414
|
] })
|
|
43415
43415
|
] });
|
|
43416
43416
|
}
|
|
43417
|
-
function
|
|
43417
|
+
function $Z({
|
|
43418
43418
|
items: n,
|
|
43419
43419
|
minSize: l = 184,
|
|
43420
43420
|
onClickItem: f,
|
|
@@ -43432,7 +43432,7 @@ function qZ({
|
|
|
43432
43432
|
}
|
|
43433
43433
|
);
|
|
43434
43434
|
}
|
|
43435
|
-
function
|
|
43435
|
+
function eN({
|
|
43436
43436
|
items: n,
|
|
43437
43437
|
gap: l,
|
|
43438
43438
|
minSize: f = 184,
|
|
@@ -43452,7 +43452,7 @@ function $Z({
|
|
|
43452
43452
|
const UE = ({ title: n, info: l }) => /* @__PURE__ */ te("div", { className: "flex items-center justify-between", children: [
|
|
43453
43453
|
/* @__PURE__ */ p("p", { className: "flex text-f1-foreground-secondary", children: n }),
|
|
43454
43454
|
/* @__PURE__ */ p("div", { className: "max-w-32 flex-shrink-0 overflow-hidden text-ellipsis whitespace-nowrap text-right font-medium", children: l })
|
|
43455
|
-
] }),
|
|
43455
|
+
] }), tN = Qg(
|
|
43456
43456
|
function({ title: l, titleValue: f, titleTooltip: U, list: b }, S) {
|
|
43457
43457
|
return /* @__PURE__ */ te("div", { ref: S, className: "flex flex-col gap-2", children: [
|
|
43458
43458
|
l && /* @__PURE__ */ te("div", { className: "flex items-center justify-between gap-2 font-medium", children: [
|
|
@@ -43473,7 +43473,7 @@ const UE = ({ title: n, info: l }) => /* @__PURE__ */ te("div", { className: "fl
|
|
|
43473
43473
|
] });
|
|
43474
43474
|
}
|
|
43475
43475
|
);
|
|
43476
|
-
function
|
|
43476
|
+
function gN({
|
|
43477
43477
|
title: n,
|
|
43478
43478
|
subtitle: l,
|
|
43479
43479
|
data: f,
|
|
@@ -43994,7 +43994,7 @@ function EE({
|
|
|
43994
43994
|
);
|
|
43995
43995
|
}
|
|
43996
43996
|
const eU = "[&_[data-testid=input-field-wrapper]]:bg-transparent";
|
|
43997
|
-
function
|
|
43997
|
+
function IN({
|
|
43998
43998
|
trackedMinutes: n,
|
|
43999
43999
|
remainingMinutes: l,
|
|
44000
44000
|
data: f = [],
|
|
@@ -44362,7 +44362,7 @@ function ZE({
|
|
|
44362
44362
|
}
|
|
44363
44363
|
);
|
|
44364
44364
|
}
|
|
44365
|
-
function
|
|
44365
|
+
function iN({
|
|
44366
44366
|
tasks: n,
|
|
44367
44367
|
onClickTask: l,
|
|
44368
44368
|
hideIcons: f = !1,
|
|
@@ -44612,7 +44612,7 @@ function aT({
|
|
|
44612
44612
|
}) })
|
|
44613
44613
|
] }) : Z;
|
|
44614
44614
|
}
|
|
44615
|
-
const lT = (n) => n == null ? void 0 : typeof n == "function" ? { render: n } : n,
|
|
44615
|
+
const lT = (n) => n == null ? void 0 : typeof n == "function" ? { render: n } : n, CN = [
|
|
44616
44616
|
"viridian",
|
|
44617
44617
|
"malibu",
|
|
44618
44618
|
"yellow",
|
|
@@ -44671,15 +44671,15 @@ const lT = (n) => n == null ? void 0 : typeof n == "function" ? { render: n } :
|
|
|
44671
44671
|
style: l.style,
|
|
44672
44672
|
children: /* @__PURE__ */ p(Ig, { icon: n, size: f })
|
|
44673
44673
|
}
|
|
44674
|
-
), fT = 6, vy = (n, l) => !!n.compact || !n.descriptionOptional && l > fT,
|
|
44674
|
+
), fT = 6, vy = (n, l) => !!n.compact || !n.descriptionOptional && l > fT, nN = (n, l, f) => ({ visualization: n, params: l, ...f }), oN = (n, l, f) => ({
|
|
44675
44675
|
visualization: "list",
|
|
44676
44676
|
params: { schema: n, items: l },
|
|
44677
44677
|
...f
|
|
44678
|
-
}),
|
|
44678
|
+
}), rN = (n, l) => (f) => l(f), hd = (n, l = {}) => {
|
|
44679
44679
|
if (!n) return;
|
|
44680
44680
|
const { title: f, info: U, ...b } = n, S = (y) => typeof y == "function" ? y(l) : y;
|
|
44681
44681
|
return { ...b, title: S(f), info: S(U) };
|
|
44682
|
-
}, qh = (n) => hd(n.header, n.params)?.title ?? n.id,
|
|
44682
|
+
}, qh = (n) => hd(n.header, n.params)?.title ?? n.id, AN = (n, l) => n ? n.safeParse(l ?? {}).success : !0, Ry = (n) => "alert" in n && n.alert !== void 0 ? {
|
|
44683
44683
|
action: n.action,
|
|
44684
44684
|
summaries: n.summaries,
|
|
44685
44685
|
alert: n.alert
|
|
@@ -45647,7 +45647,7 @@ const tk = {
|
|
|
45647
45647
|
l
|
|
45648
45648
|
)
|
|
45649
45649
|
}
|
|
45650
|
-
), yc = 40, Ik =
|
|
45650
|
+
), yc = 40, Ik = 712, ik = 8, Ck = ({
|
|
45651
45651
|
widget: n,
|
|
45652
45652
|
order: l,
|
|
45653
45653
|
open: f,
|
|
@@ -45687,7 +45687,7 @@ const tk = {
|
|
|
45687
45687
|
] })
|
|
45688
45688
|
}
|
|
45689
45689
|
);
|
|
45690
|
-
}, wh = "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
45690
|
+
}, wh = "[scrollbar-width:none] [&::-webkit-scrollbar]:hidden", nk = 16, oU = 768, ok = 150, rk = 8, sN = Qg(
|
|
45691
45691
|
function({
|
|
45692
45692
|
children: l,
|
|
45693
45693
|
leftWidgets: f = [],
|
|
@@ -45706,7 +45706,7 @@ const tk = {
|
|
|
45706
45706
|
onReorderWidgets: $,
|
|
45707
45707
|
period: L = "morning",
|
|
45708
45708
|
asideWidth: ie = 396,
|
|
45709
|
-
mainWidth: Z =
|
|
45709
|
+
mainWidth: Z = Ik,
|
|
45710
45710
|
bleed: ne = 24,
|
|
45711
45711
|
stackedPinsAfter: fe = 2,
|
|
45712
45712
|
ctx: me = {},
|
|
@@ -45737,7 +45737,7 @@ const tk = {
|
|
|
45737
45737
|
), It = yh(), at = yh(), ft = yh(), Ge = ($e) => V.includes($e) ? {
|
|
45738
45738
|
...E,
|
|
45739
45739
|
scrollElement: $e === "main" ? It.element : at.element
|
|
45740
|
-
} : !1, Ne = b != null || U.length > 0 || q != null, lt = be > 0 && be < Z +
|
|
45740
|
+
} : !1, Ne = b != null || U.length > 0 || q != null, lt = be > 0 && be < Z + nk + ie, st = Ne && U.length > 0 && (lt || (Nt ?? !1)), St = st ? yc : ie, vt = Ne && yt, Tt = be > 0 && be < oU, og = {
|
|
45741
45741
|
pinned: Tt ? U.filter(($e) => $e.locked) : [],
|
|
45742
45742
|
rest: Tt ? U.filter(($e) => !$e.locked) : []
|
|
45743
45743
|
}, pg = up.toArray(l), lg = (Tt ? [
|
|
@@ -45769,7 +45769,7 @@ const tk = {
|
|
|
45769
45769
|
// (`y`), so moving between glyphs composites instead of relaying the
|
|
45770
45770
|
// panel out on every frame.
|
|
45771
45771
|
top: 0,
|
|
45772
|
-
right: yc +
|
|
45772
|
+
right: yc + rk,
|
|
45773
45773
|
width: ie,
|
|
45774
45774
|
// The panel grows to its widget, up to what is left below its glyph,
|
|
45775
45775
|
// and scrolls past that.
|
|
@@ -45817,7 +45817,7 @@ const tk = {
|
|
|
45817
45817
|
}, Yt = () => {
|
|
45818
45818
|
Ft.current && clearTimeout(Ft.current), Ft.current = null;
|
|
45819
45819
|
}, Bg = () => {
|
|
45820
|
-
Yt(), Ft.current = setTimeout(() => pe(null),
|
|
45820
|
+
Yt(), Ft.current = setTimeout(() => pe(null), ok);
|
|
45821
45821
|
}, jt = ($e, xt) => {
|
|
45822
45822
|
Yt();
|
|
45823
45823
|
const Lt = Se.current;
|
|
@@ -46008,7 +46008,7 @@ const tk = {
|
|
|
46008
46008
|
onMouseEnter: Yt,
|
|
46009
46009
|
children: [
|
|
46010
46010
|
U.map(($e, xt) => /* @__PURE__ */ p(
|
|
46011
|
-
|
|
46011
|
+
Ck,
|
|
46012
46012
|
{
|
|
46013
46013
|
widget: $e,
|
|
46014
46014
|
order: xt,
|
|
@@ -46085,7 +46085,7 @@ const tk = {
|
|
|
46085
46085
|
visibleWidgetId: zt ? Cg : void 0,
|
|
46086
46086
|
stow: {
|
|
46087
46087
|
stowed: st,
|
|
46088
|
-
pitch: yc +
|
|
46088
|
+
pitch: yc + ik,
|
|
46089
46089
|
scale: yc / ie
|
|
46090
46090
|
},
|
|
46091
46091
|
slotRenderers: S,
|
|
@@ -46110,7 +46110,7 @@ const tk = {
|
|
|
46110
46110
|
}
|
|
46111
46111
|
);
|
|
46112
46112
|
}
|
|
46113
|
-
), Ey = (n) => typeof n == "object" && n !== null && !dp(n) && Array.isArray(n.slots),
|
|
46113
|
+
), Ey = (n) => typeof n == "object" && n !== null && !dp(n) && Array.isArray(n.slots), Ak = ({
|
|
46114
46114
|
preview: n,
|
|
46115
46115
|
slotRenderers: l
|
|
46116
46116
|
}) => Ey(n) ? /* @__PURE__ */ p(
|
|
@@ -46124,11 +46124,11 @@ const tk = {
|
|
|
46124
46124
|
loading: n.loading,
|
|
46125
46125
|
slotRenderers: l
|
|
46126
46126
|
}
|
|
46127
|
-
) : /* @__PURE__ */ p(ag, { children: n }),
|
|
46127
|
+
) : /* @__PURE__ */ p(ag, { children: n }), sk = (n) => n.info ?? (Ey(n.preview) ? hd(n.preview.header, n.preview.params)?.info : void 0), ak = ({ label: n, icon: l }) => /* @__PURE__ */ te("div", { className: "flex items-center gap-1.5 px-2 pb-1 pt-5 first:pt-1", children: [
|
|
46128
46128
|
l ? /* @__PURE__ */ p(Ig, { icon: l, size: "sm", color: "secondary" }) : null,
|
|
46129
46129
|
/* @__PURE__ */ p("h6", { className: "m-0 text-xs font-medium uppercase tracking-wide text-f1-foreground-secondary", children: n })
|
|
46130
46130
|
] });
|
|
46131
|
-
function
|
|
46131
|
+
function aN({
|
|
46132
46132
|
isOpen: n,
|
|
46133
46133
|
onClose: l,
|
|
46134
46134
|
widgets: f,
|
|
@@ -46184,7 +46184,7 @@ function sN({
|
|
|
46184
46184
|
),
|
|
46185
46185
|
/* @__PURE__ */ te("div", { className: "flex flex-col gap-1 overflow-y-auto", children: [
|
|
46186
46186
|
Z.map((me) => /* @__PURE__ */ te(Mi, { children: [
|
|
46187
|
-
me.label ? /* @__PURE__ */ p(
|
|
46187
|
+
me.label ? /* @__PURE__ */ p(ak, { label: me.label, icon: me.icon }) : null,
|
|
46188
46188
|
me.items.map((Ue) => /* @__PURE__ */ te(
|
|
46189
46189
|
"button",
|
|
46190
46190
|
{
|
|
@@ -46206,10 +46206,10 @@ function sN({
|
|
|
46206
46206
|
Gy,
|
|
46207
46207
|
{
|
|
46208
46208
|
previewKey: fe?.id,
|
|
46209
|
-
info: fe ?
|
|
46209
|
+
info: fe ? sk(fe) : void 0,
|
|
46210
46210
|
previewWidth: S,
|
|
46211
46211
|
children: fe ? /* @__PURE__ */ p(
|
|
46212
|
-
|
|
46212
|
+
Ak,
|
|
46213
46213
|
{
|
|
46214
46214
|
preview: fe.preview,
|
|
46215
46215
|
slotRenderers: y
|
|
@@ -46221,45 +46221,45 @@ function sN({
|
|
|
46221
46221
|
}
|
|
46222
46222
|
);
|
|
46223
46223
|
}
|
|
46224
|
-
var
|
|
46224
|
+
var lk = Object.defineProperty, ck = Object.defineProperties, dk = Object.getOwnPropertyDescriptors, Lc = Object.getOwnPropertySymbols, Ty = Object.prototype.hasOwnProperty, ky = Object.prototype.propertyIsEnumerable, rU = (n, l, f) => l in n ? lk(n, l, { enumerable: !0, configurable: !0, writable: !0, value: f }) : n[l] = f, IC = (n, l) => {
|
|
46225
46225
|
for (var f in l || (l = {})) Ty.call(l, f) && rU(n, f, l[f]);
|
|
46226
46226
|
if (Lc) for (var f of Lc(l)) ky.call(l, f) && rU(n, f, l[f]);
|
|
46227
46227
|
return n;
|
|
46228
|
-
}, fd = (n, l) =>
|
|
46228
|
+
}, fd = (n, l) => ck(n, dk(l)), uk = (n, l) => {
|
|
46229
46229
|
var f = {};
|
|
46230
46230
|
for (var U in n) Ty.call(n, U) && l.indexOf(U) < 0 && (f[U] = n[U]);
|
|
46231
46231
|
if (n != null && Lc) for (var U of Lc(n)) l.indexOf(U) < 0 && ky.call(n, U) && (f[U] = n[U]);
|
|
46232
46232
|
return f;
|
|
46233
|
-
},
|
|
46233
|
+
}, hk = (n) => n.right - n.left < 5 || n.bottom && n.bottom - n.top < 5, pk = ({ spotsList: n, usedSpot: l }) => n.some((f) => f !== l && l.left === f.left), Bk = ({ position: n, spot: l, stone: f }) => {
|
|
46234
46234
|
if (n.left > l.left && l.right >= n.left && n.top + f.height > l.top) {
|
|
46235
46235
|
if (l.bottom && l.bottom < n.top) return l;
|
|
46236
46236
|
let U = IC({}, l);
|
|
46237
46237
|
return U.right = n.left, U;
|
|
46238
46238
|
}
|
|
46239
46239
|
return null;
|
|
46240
|
-
},
|
|
46240
|
+
}, fk = ({ position: n, stone: l, spot: f }) => {
|
|
46241
46241
|
if (n.left + l.width > f.left && n.top >= f.top) {
|
|
46242
46242
|
if (f.bottom && f.bottom < n.top || f.right < n.left) return f;
|
|
46243
46243
|
let U = IC({}, f);
|
|
46244
46244
|
return U.bottom = n.top, U;
|
|
46245
46245
|
}
|
|
46246
46246
|
return null;
|
|
46247
|
-
},
|
|
46247
|
+
}, mk = ({ stone: n, position: l, spotsList: f, optimalSpot: U }) => {
|
|
46248
46248
|
let b = IC({}, U);
|
|
46249
|
-
return b.left = l.left + n.width,
|
|
46250
|
-
},
|
|
46251
|
-
if (b === f) return
|
|
46252
|
-
let o =
|
|
46253
|
-
return o ||
|
|
46249
|
+
return b.left = l.left + n.width, hk(b) || pk({ usedSpot: b, spotsList: f }) ? null : b;
|
|
46250
|
+
}, Fk = ({ spots: n, position: l, optimalSpot: f, stone: U }) => n.map((b, S, y) => {
|
|
46251
|
+
if (b === f) return mk({ stone: U, position: l, optimalSpot: f, spotsList: y });
|
|
46252
|
+
let o = Bk({ position: l, spot: b, stone: U });
|
|
46253
|
+
return o || fk({ position: l, stone: U, spot: b }) || b;
|
|
46254
46254
|
});
|
|
46255
|
-
function
|
|
46255
|
+
function Uk(n, l) {
|
|
46256
46256
|
for (let f = 0, U = l.length; f < U; f++) {
|
|
46257
46257
|
let b = l[f];
|
|
46258
46258
|
if (n(b)) return b;
|
|
46259
46259
|
}
|
|
46260
46260
|
return null;
|
|
46261
46261
|
}
|
|
46262
|
-
var
|
|
46262
|
+
var Qk = (n, l) => l.filter(n), yk = (n, l) => [...l].sort(n), wk = (n, l) => n.top === l.top ? n.left < l.left ? -1 : 1 : n.top < l.top ? -1 : 1, bk = (n) => yk(wk, n), xk = ({ availableSpots: n, optimalSpot: l, containerSize: f, stone: U }) => {
|
|
46263
46263
|
let b = { right: f, top: l.top + U.height, left: l.left };
|
|
46264
46264
|
l.bottom && (b.bottom = l.bottom);
|
|
46265
46265
|
for (let S = 0, y = n.length; S < y; S += 1) {
|
|
@@ -46270,47 +46270,47 @@ var Uk = (n, l) => l.filter(n), Qk = (n, l) => [...l].sort(n), yk = (n, l) => n.
|
|
|
46270
46270
|
}
|
|
46271
46271
|
}
|
|
46272
46272
|
return b;
|
|
46273
|
-
},
|
|
46273
|
+
}, Dk = (n, l) => {
|
|
46274
46274
|
let f = n.right - n.left >= l.width;
|
|
46275
46275
|
if (!n.bottom) return f;
|
|
46276
46276
|
let U = n.bottom - n.top >= l.height;
|
|
46277
46277
|
return f && U;
|
|
46278
|
-
},
|
|
46279
|
-
function
|
|
46280
|
-
let U =
|
|
46281
|
-
return y = [...
|
|
46278
|
+
}, _k = ({ availableSpots: n, stone: l }) => Uk((f) => Dk(f, l), n);
|
|
46279
|
+
function Sk({ stone: n, availableSpots: l, containerSize: f }) {
|
|
46280
|
+
let U = _k({ availableSpots: l, stone: n }), b = { left: U.left, top: U.top }, S = xk({ optimalSpot: U, availableSpots: l.filter((V) => V !== U), stone: n, containerSize: f }), y = [...l, S], o = Fk({ spots: y, position: b, optimalSpot: U, stone: n });
|
|
46281
|
+
return y = [...Qk(Boolean, o)], y = bk(y), { position: b, availableSpots: y };
|
|
46282
46282
|
}
|
|
46283
|
-
var
|
|
46283
|
+
var vk = ({ stones: n, containerSize: l }) => {
|
|
46284
46284
|
let f = { positions: [], containerHeight: 0, availableSpots: [] };
|
|
46285
46285
|
if (!n.length) return f;
|
|
46286
46286
|
let U = 0, b = [], S = [{ top: 0, left: 0, right: l }];
|
|
46287
46287
|
for (let y of n) {
|
|
46288
|
-
let o =
|
|
46288
|
+
let o = Sk({ availableSpots: S, stone: y, containerSize: l }), V = o.position.top + y.height;
|
|
46289
46289
|
U < V && (U = V), b.push(o.position), S = o.availableSpots;
|
|
46290
46290
|
}
|
|
46291
46291
|
return { availableSpots: S, positions: b, containerHeight: U };
|
|
46292
|
-
},
|
|
46292
|
+
}, Rk = (n) => n.reduce((l, f) => {
|
|
46293
46293
|
if (!f) return l;
|
|
46294
46294
|
let U = f.getBoundingClientRect();
|
|
46295
46295
|
return l.push({ width: U.width, height: U.height }), l;
|
|
46296
|
-
}, []),
|
|
46296
|
+
}, []), Mk = ({ boxesRefs: n, wrapperRef: l, children: f, windowWidth: U, wrapperWidth: b }) => {
|
|
46297
46297
|
let [{ positions: S, containerHeight: y, stones: o, availableSpots: V }, E] = Oe({ positions: [], containerHeight: null, stones: [], availableSpots: [] });
|
|
46298
46298
|
return Ct(() => {
|
|
46299
46299
|
var T, N;
|
|
46300
|
-
let W =
|
|
46300
|
+
let W = Rk(n.current), j = (N = (T = l.current) == null ? void 0 : T.offsetWidth) != null ? N : 0;
|
|
46301
46301
|
if (j === null) return;
|
|
46302
|
-
let q =
|
|
46302
|
+
let q = vk({ stones: W, containerSize: j });
|
|
46303
46303
|
E(fd(IC({}, q), { stones: W }));
|
|
46304
46304
|
}, [f, n, l, U, b]), { positions: S, containerHeight: y, stones: o, availableSpots: V };
|
|
46305
|
-
},
|
|
46305
|
+
}, Vk = (n) => ({ fade: `${n}ms opacity ease`, fadeMove: `
|
|
46306
46306
|
${n}ms opacity ease,
|
|
46307
46307
|
${n}ms top ease,
|
|
46308
46308
|
${n}ms left ease
|
|
46309
46309
|
`, move: `
|
|
46310
46310
|
${n}ms top ease,
|
|
46311
46311
|
${n}ms left ease
|
|
46312
|
-
` }),
|
|
46313
|
-
function
|
|
46312
|
+
` }), Pk = ({ transition: n, transitionDuration: l }) => n ? { transition: Vk(l)[n] } : null, Gk = (n) => n ? fd(IC({}, n), { opacity: 1 }) : { opacity: 0, top: 0, left: 0 }, Ek = ({ style: n, position: l, transition: f, transitionDuration: U }) => IC(IC(fd(IC({}, n), { position: "absolute" }), Gk(l)), Pk({ transition: f, transitionDuration: U }));
|
|
46313
|
+
function Tk(n, l, f) {
|
|
46314
46314
|
let U;
|
|
46315
46315
|
return function(...b) {
|
|
46316
46316
|
U && clearTimeout(U), U = setTimeout(function() {
|
|
@@ -46318,8 +46318,8 @@ function Ek(n, l, f) {
|
|
|
46318
46318
|
}, l);
|
|
46319
46319
|
};
|
|
46320
46320
|
}
|
|
46321
|
-
var
|
|
46322
|
-
let [n, l] = Oe(), f = ke(
|
|
46321
|
+
var kk = () => {
|
|
46322
|
+
let [n, l] = Oe(), f = ke(Tk(l, 300));
|
|
46323
46323
|
return Ct(() => {
|
|
46324
46324
|
let U = () => {
|
|
46325
46325
|
f.current(window.innerWidth);
|
|
@@ -46328,7 +46328,7 @@ var Tk = () => {
|
|
|
46328
46328
|
window.removeEventListener("resize", U);
|
|
46329
46329
|
};
|
|
46330
46330
|
}, []), n;
|
|
46331
|
-
},
|
|
46331
|
+
}, Zk = (n) => {
|
|
46332
46332
|
let [l, f] = Oe(null);
|
|
46333
46333
|
return Ct(() => {
|
|
46334
46334
|
let U = new ResizeObserver((b) => {
|
|
@@ -46338,18 +46338,18 @@ var Tk = () => {
|
|
|
46338
46338
|
U.disconnect();
|
|
46339
46339
|
};
|
|
46340
46340
|
}, [n]), l;
|
|
46341
|
-
},
|
|
46342
|
-
var l = n, { children: f, style: U, transition: b = !1, transitionDuration: S = 500, transitionStep: y = 50 } = l, o =
|
|
46343
|
-
let V = ke([]), E = ke(null), T =
|
|
46341
|
+
}, Nk = (n) => {
|
|
46342
|
+
var l = n, { children: f, style: U, transition: b = !1, transitionDuration: S = 500, transitionStep: y = 50 } = l, o = uk(l, ["children", "style", "transition", "transitionDuration", "transitionStep"]);
|
|
46343
|
+
let V = ke([]), E = ke(null), T = kk(), N = Zk(E), { positions: W, containerHeight: j } = Mk({ boxesRefs: V, wrapperRef: E, children: f, windowWidth: T, wrapperWidth: N }), q = IC({ minHeight: j ?? 0, position: "relative" }, U);
|
|
46344
46344
|
return p("div", fd(IC({ ref: E, style: q }, o), { children: up.map(f, ($, L) => {
|
|
46345
46345
|
if (typeof $ != "object" || !$ || !("type" in $)) return $;
|
|
46346
|
-
let ie = { style:
|
|
46346
|
+
let ie = { style: Ek({ style: $.props.style, position: W[L], transition: b, transitionDuration: S }), ref: (Z) => V.current[L] = Z };
|
|
46347
46347
|
return NU($, IC(IC({}, $.props), ie));
|
|
46348
46348
|
}) }));
|
|
46349
46349
|
};
|
|
46350
|
-
const
|
|
46350
|
+
const Kk = { sm: 340, md: 480, lg: 640 }, AU = Qg(
|
|
46351
46351
|
function({ children: l, widgetWidth: f = "sm" }, U) {
|
|
46352
|
-
const b =
|
|
46352
|
+
const b = Kk[f], [S, y] = Oe(), o = up.toArray(l), V = ke(null);
|
|
46353
46353
|
return Ct(() => {
|
|
46354
46354
|
const E = () => {
|
|
46355
46355
|
const T = V.current?.offsetWidth;
|
|
@@ -46358,7 +46358,7 @@ const Nk = { sm: 340, md: 480, lg: 640 }, AU = Qg(
|
|
|
46358
46358
|
return E(), window.addEventListener("resize", E), () => {
|
|
46359
46359
|
window.removeEventListener("resize", E);
|
|
46360
46360
|
};
|
|
46361
|
-
}, [y, b]), /* @__PURE__ */ p("div", { ref: U, className: "text-f1-foreground", children: /* @__PURE__ */ p("div", { ref: V, children: S === 1 ? /* @__PURE__ */ p("div", { className: "flex flex-col gap-4 *:shadow", children: l }) : S && S > 1 && /* @__PURE__ */ p("div", { className: "relative -mr-4", children: /* @__PURE__ */ p(
|
|
46361
|
+
}, [y, b]), /* @__PURE__ */ p("div", { ref: U, className: "text-f1-foreground", children: /* @__PURE__ */ p("div", { ref: V, children: S === 1 ? /* @__PURE__ */ p("div", { className: "flex flex-col gap-4 *:shadow", children: l }) : S && S > 1 && /* @__PURE__ */ p("div", { className: "relative -mr-4", children: /* @__PURE__ */ p(Nk, { children: o.map((E, T) => /* @__PURE__ */ p(
|
|
46362
46362
|
"div",
|
|
46363
46363
|
{
|
|
46364
46364
|
style: {
|
|
@@ -46370,7 +46370,7 @@ const Nk = { sm: 340, md: 480, lg: 640 }, AU = Qg(
|
|
|
46370
46370
|
T
|
|
46371
46371
|
)) }, S) }) }) });
|
|
46372
46372
|
}
|
|
46373
|
-
),
|
|
46373
|
+
), Wk = ["sm", "lg", "md", "md", "lg", "sm", "lg", "lg", "sm", "sm", "md", "md"], lN = OI(AU, () => /* @__PURE__ */ p(ZU, { children: /* @__PURE__ */ p(AU, { children: Wk.map((n, l) => /* @__PURE__ */ p(nr.Skeleton, { height: n }, l)) }) })), sU = ({ children: n }) => /* @__PURE__ */ p("div", { className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]", children: n }), cN = OI(
|
|
46374
46374
|
Qg(function({ children: l }, f) {
|
|
46375
46375
|
return /* @__PURE__ */ p(qc, { ref: f, showBar: !1, children: /* @__PURE__ */ p(sU, { children: l }) });
|
|
46376
46376
|
}),
|
|
@@ -46380,7 +46380,7 @@ const Nk = { sm: 340, md: 480, lg: 640 }, AU = Qg(
|
|
|
46380
46380
|
/* @__PURE__ */ p(nr.Skeleton, {})
|
|
46381
46381
|
] }) })
|
|
46382
46382
|
);
|
|
46383
|
-
function
|
|
46383
|
+
function Yk({
|
|
46384
46384
|
title: n,
|
|
46385
46385
|
description: l,
|
|
46386
46386
|
emoji: f,
|
|
@@ -46400,8 +46400,8 @@ function Wk({
|
|
|
46400
46400
|
}
|
|
46401
46401
|
);
|
|
46402
46402
|
}
|
|
46403
|
-
const
|
|
46404
|
-
iI("WidgetEmptyState",
|
|
46403
|
+
const dN = HI(
|
|
46404
|
+
iI("WidgetEmptyState", Yk)
|
|
46405
46405
|
), Zy = Qg(
|
|
46406
46406
|
({ title: n, children: l }, f) => (W1(
|
|
46407
46407
|
n,
|
|
@@ -46413,9 +46413,9 @@ const cN = HI(
|
|
|
46413
46413
|
] }))
|
|
46414
46414
|
);
|
|
46415
46415
|
Zy.displayName = "WidgetSection";
|
|
46416
|
-
const
|
|
46416
|
+
const uN = HI(
|
|
46417
46417
|
iI("WidgetSection", Zy)
|
|
46418
|
-
),
|
|
46418
|
+
), hN = ({
|
|
46419
46419
|
identifier: n,
|
|
46420
46420
|
allowedRoutes: l,
|
|
46421
46421
|
disallowedRoutes: f,
|
|
@@ -46426,7 +46426,7 @@ const dN = HI(
|
|
|
46426
46426
|
return l && l.length > 0 && (V += ` Allowed routes: ${l.join(", ")}`), f && f.length > 0 && (V += ` Disallowed routes: ${f.join(", ")}`), V;
|
|
46427
46427
|
}, [n, l, f]);
|
|
46428
46428
|
return y ? U : (b && console.error(o), null);
|
|
46429
|
-
},
|
|
46429
|
+
}, pN = HI(
|
|
46430
46430
|
NC(
|
|
46431
46431
|
{
|
|
46432
46432
|
name: "ScrollArea",
|
|
@@ -46441,26 +46441,26 @@ export {
|
|
|
46441
46441
|
BR as B,
|
|
46442
46442
|
wR as C,
|
|
46443
46443
|
lr as D,
|
|
46444
|
-
|
|
46445
|
-
|
|
46446
|
-
|
|
46447
|
-
|
|
46448
|
-
|
|
46444
|
+
uZ as E,
|
|
46445
|
+
nZ as F,
|
|
46446
|
+
FZ as G,
|
|
46447
|
+
BZ as H,
|
|
46448
|
+
UZ as I,
|
|
46449
46449
|
W_ as J,
|
|
46450
46450
|
Fp as K,
|
|
46451
|
-
|
|
46452
|
-
|
|
46451
|
+
eZ as L,
|
|
46452
|
+
tZ as M,
|
|
46453
46453
|
iS as N,
|
|
46454
|
-
|
|
46455
|
-
|
|
46456
|
-
|
|
46454
|
+
mZ as O,
|
|
46455
|
+
gZ as P,
|
|
46456
|
+
QZ as Q,
|
|
46457
46457
|
xR as R,
|
|
46458
|
-
|
|
46459
|
-
|
|
46460
|
-
|
|
46458
|
+
pN as S,
|
|
46459
|
+
yZ as T,
|
|
46460
|
+
wZ as U,
|
|
46461
46461
|
OR as V,
|
|
46462
|
-
|
|
46463
|
-
|
|
46462
|
+
bZ as W,
|
|
46463
|
+
xZ as X,
|
|
46464
46464
|
e2 as Y,
|
|
46465
46465
|
C2 as Z,
|
|
46466
46466
|
K0 as _,
|
|
@@ -46468,98 +46468,98 @@ export {
|
|
|
46468
46468
|
ST as a$,
|
|
46469
46469
|
Wc as a0,
|
|
46470
46470
|
A2 as a1,
|
|
46471
|
-
|
|
46472
|
-
|
|
46473
|
-
|
|
46474
|
-
|
|
46475
|
-
|
|
46471
|
+
DZ as a2,
|
|
46472
|
+
_Z as a3,
|
|
46473
|
+
SZ as a4,
|
|
46474
|
+
vZ as a5,
|
|
46475
|
+
RZ as a6,
|
|
46476
46476
|
qR as a7,
|
|
46477
|
-
|
|
46477
|
+
MZ as a8,
|
|
46478
46478
|
Vh as a9,
|
|
46479
46479
|
XF as aA,
|
|
46480
46480
|
Lh as aB,
|
|
46481
|
-
|
|
46482
|
-
|
|
46483
|
-
|
|
46484
|
-
|
|
46485
|
-
|
|
46486
|
-
|
|
46487
|
-
|
|
46481
|
+
$Z as aC,
|
|
46482
|
+
eN as aD,
|
|
46483
|
+
tN as aE,
|
|
46484
|
+
gN as aF,
|
|
46485
|
+
IN as aG,
|
|
46486
|
+
iN as aH,
|
|
46487
|
+
sN as aI,
|
|
46488
46488
|
Sy as aJ,
|
|
46489
46489
|
_y as aK,
|
|
46490
46490
|
Dy as aL,
|
|
46491
46491
|
lT as aM,
|
|
46492
|
-
|
|
46492
|
+
CN as aN,
|
|
46493
46493
|
fT as aO,
|
|
46494
|
-
|
|
46495
|
-
|
|
46496
|
-
|
|
46494
|
+
nN as aP,
|
|
46495
|
+
oN as aQ,
|
|
46496
|
+
rN as aR,
|
|
46497
46497
|
hd as aS,
|
|
46498
46498
|
qh as aT,
|
|
46499
|
-
|
|
46499
|
+
AN as aU,
|
|
46500
46500
|
Ry as aV,
|
|
46501
46501
|
mT as aW,
|
|
46502
46502
|
pd as aX,
|
|
46503
46503
|
My as aY,
|
|
46504
46504
|
wT as aZ,
|
|
46505
46505
|
Bd as a_,
|
|
46506
|
-
|
|
46506
|
+
VZ as aa,
|
|
46507
46507
|
pF as ab,
|
|
46508
|
-
|
|
46509
|
-
|
|
46510
|
-
|
|
46511
|
-
|
|
46508
|
+
PZ as ac,
|
|
46509
|
+
iZ as ad,
|
|
46510
|
+
kZ as ae,
|
|
46511
|
+
TZ as af,
|
|
46512
46512
|
cr as ag,
|
|
46513
|
-
|
|
46514
|
-
|
|
46513
|
+
GZ as ah,
|
|
46514
|
+
EZ as ai,
|
|
46515
46515
|
Yc as aj,
|
|
46516
46516
|
Y2 as ak,
|
|
46517
|
-
|
|
46518
|
-
|
|
46519
|
-
|
|
46520
|
-
|
|
46521
|
-
|
|
46522
|
-
|
|
46523
|
-
|
|
46524
|
-
|
|
46525
|
-
|
|
46526
|
-
|
|
46517
|
+
ZZ as al,
|
|
46518
|
+
NZ as am,
|
|
46519
|
+
KZ as an,
|
|
46520
|
+
WZ as ao,
|
|
46521
|
+
YZ as ap,
|
|
46522
|
+
zZ as aq,
|
|
46523
|
+
JZ as ar,
|
|
46524
|
+
HZ as as,
|
|
46525
|
+
OZ as at,
|
|
46526
|
+
jZ as au,
|
|
46527
46527
|
Kc as av,
|
|
46528
|
-
|
|
46529
|
-
|
|
46528
|
+
LZ as aw,
|
|
46529
|
+
XZ as ax,
|
|
46530
46530
|
BE as ay,
|
|
46531
|
-
|
|
46532
|
-
|
|
46531
|
+
qZ as az,
|
|
46532
|
+
oZ as b,
|
|
46533
46533
|
CU as b0,
|
|
46534
46534
|
qp as b1,
|
|
46535
|
-
|
|
46536
|
-
|
|
46537
|
-
|
|
46538
|
-
|
|
46539
|
-
|
|
46540
|
-
|
|
46541
|
-
|
|
46542
|
-
|
|
46543
|
-
|
|
46544
|
-
|
|
46545
|
-
|
|
46546
|
-
|
|
46547
|
-
|
|
46535
|
+
aN as b2,
|
|
46536
|
+
lN as b3,
|
|
46537
|
+
cN as b4,
|
|
46538
|
+
dN as b5,
|
|
46539
|
+
uN as b6,
|
|
46540
|
+
hN as b7,
|
|
46541
|
+
rZ as c,
|
|
46542
|
+
sZ as d,
|
|
46543
|
+
AZ as e,
|
|
46544
|
+
CZ as f,
|
|
46545
|
+
$k as g,
|
|
46546
|
+
qk as h,
|
|
46547
|
+
lZ as i,
|
|
46548
46548
|
jv as j,
|
|
46549
|
-
|
|
46549
|
+
aZ as k,
|
|
46550
46550
|
r0 as l,
|
|
46551
46551
|
PA as m,
|
|
46552
46552
|
A0 as n,
|
|
46553
46553
|
uv as o,
|
|
46554
|
-
|
|
46555
|
-
|
|
46556
|
-
|
|
46554
|
+
cZ as p,
|
|
46555
|
+
dZ as q,
|
|
46556
|
+
IZ as r,
|
|
46557
46557
|
fR as s,
|
|
46558
|
-
|
|
46558
|
+
hZ as t,
|
|
46559
46559
|
Cd as u,
|
|
46560
46560
|
yR as v,
|
|
46561
|
-
|
|
46561
|
+
pZ as w,
|
|
46562
46562
|
MR as x,
|
|
46563
46563
|
VR as y,
|
|
46564
|
-
|
|
46564
|
+
fZ as z
|
|
46565
46565
|
};
|