eidotter 0.22.2 → 0.24.2
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/LICENSE.md +0 -0
- package/README.md +1 -1
- package/dist/components/AIText/components/AIText.d.ts +25 -0
- package/dist/components/AIText/components/index.d.ts +2 -0
- package/dist/components/AIText/index.d.ts +2 -0
- package/dist/components/Accordion/components/AccordionFill.d.ts +0 -0
- package/dist/components/Accordion/components/Section.d.ts +0 -0
- package/dist/components/Accordion/components/index.d.ts +0 -0
- package/dist/components/Accordion/index.d.ts +0 -0
- package/dist/components/Alert/components/Alert.d.ts +0 -0
- package/dist/components/Alert/components/index.d.ts +0 -0
- package/dist/components/Alert/index.d.ts +0 -0
- package/dist/components/Badge/components/Badge.d.ts +0 -0
- package/dist/components/Badge/components/index.d.ts +0 -0
- package/dist/components/Badge/index.d.ts +0 -0
- package/dist/components/Brand/components/BrandLockup.d.ts +0 -0
- package/dist/components/Brand/components/Logo.d.ts +0 -0
- package/dist/components/Brand/components/Wordmark.d.ts +0 -0
- package/dist/components/Brand/components/index.d.ts +0 -0
- package/dist/components/Brand/index.d.ts +0 -0
- package/dist/components/Breadcrumb/components/Breadcrumb.d.ts +0 -0
- package/dist/components/Breadcrumb/components/index.d.ts +0 -0
- package/dist/components/Breadcrumb/index.d.ts +0 -0
- package/dist/components/Button/components/Button.d.ts +0 -0
- package/dist/components/Button/components/index.d.ts +0 -0
- package/dist/components/Button/index.d.ts +0 -0
- package/dist/components/Card/components/Card.d.ts +0 -0
- package/dist/components/Card/components/index.d.ts +0 -0
- package/dist/components/Card/index.d.ts +0 -0
- package/dist/components/Chat/components/ChatContainer.d.ts +0 -0
- package/dist/components/Chat/components/ChatHistory.d.ts +0 -0
- package/dist/components/Chat/components/ChatInput.d.ts +0 -0
- package/dist/components/Chat/components/ChatMessage.d.ts +0 -0
- package/dist/components/Chat/components/index.d.ts +0 -0
- package/dist/components/Chat/index.d.ts +0 -0
- package/dist/components/Checkbox/components/Checkbox.d.ts +0 -0
- package/dist/components/Checkbox/components/index.d.ts +0 -0
- package/dist/components/Checkbox/index.d.ts +0 -0
- package/dist/components/CmdPalette/components/CmdPalette.d.ts +0 -0
- package/dist/components/CmdPalette/components/index.d.ts +0 -0
- package/dist/components/CmdPalette/index.d.ts +0 -0
- package/dist/components/CommandPrompt/components/CommandPrompt.d.ts +0 -0
- package/dist/components/CommandPrompt/components/index.d.ts +0 -0
- package/dist/components/CommandPrompt/index.d.ts +0 -0
- package/dist/components/DosFigure/components/DosFigure.d.ts +0 -0
- package/dist/components/DosFigure/components/index.d.ts +0 -0
- package/dist/components/DosFigure/index.d.ts +0 -0
- package/dist/components/FilterBar/components/FilterBar.d.ts +0 -0
- package/dist/components/FilterBar/components/index.d.ts +0 -0
- package/dist/components/FilterBar/index.d.ts +0 -0
- package/dist/components/Footer/components/Footer.d.ts +12 -0
- package/dist/components/Footer/components/index.d.ts +0 -0
- package/dist/components/Footer/index.d.ts +0 -0
- package/dist/components/Header/components/Header.d.ts +0 -0
- package/dist/components/Header/components/index.d.ts +0 -0
- package/dist/components/Header/index.d.ts +0 -0
- package/dist/components/Icon/components/Icon.d.ts +2 -2
- package/dist/components/Icon/components/index.d.ts +0 -0
- package/dist/components/Icon/index.d.ts +0 -0
- package/dist/components/InlineExpand/components/InlineExpand.d.ts +0 -0
- package/dist/components/InlineExpand/components/index.d.ts +0 -0
- package/dist/components/InlineExpand/index.d.ts +0 -0
- package/dist/components/InlineLink/components/InlineLink.d.ts +0 -0
- package/dist/components/InlineLink/components/index.d.ts +0 -0
- package/dist/components/InlineLink/index.d.ts +0 -0
- package/dist/components/Input/components/Input.d.ts +0 -0
- package/dist/components/Input/components/index.d.ts +0 -0
- package/dist/components/Input/index.d.ts +0 -0
- package/dist/components/LegalPage/components/LegalPage.d.ts +0 -0
- package/dist/components/LegalPage/components/clauses.d.ts +0 -0
- package/dist/components/LegalPage/components/index.d.ts +0 -0
- package/dist/components/LegalPage/index.d.ts +0 -0
- package/dist/components/Lightbox/components/Lightbox.d.ts +0 -0
- package/dist/components/Lightbox/components/index.d.ts +0 -0
- package/dist/components/Lightbox/index.d.ts +0 -0
- package/dist/components/Modal/components/Modal.d.ts +0 -0
- package/dist/components/Modal/components/index.d.ts +0 -0
- package/dist/components/Modal/index.d.ts +0 -0
- package/dist/components/Nav/components/Nav.d.ts +0 -0
- package/dist/components/Nav/components/index.d.ts +0 -0
- package/dist/components/Nav/index.d.ts +0 -0
- package/dist/components/Notification/components/Notification.d.ts +0 -0
- package/dist/components/Notification/components/index.d.ts +0 -0
- package/dist/components/Notification/index.d.ts +0 -0
- package/dist/components/Progress/components/Progress.d.ts +0 -0
- package/dist/components/Progress/components/index.d.ts +0 -0
- package/dist/components/Progress/index.d.ts +0 -0
- package/dist/components/RetroEffects/components/RetroEffects.d.ts +0 -0
- package/dist/components/RetroEffects/components/index.d.ts +0 -0
- package/dist/components/RetroEffects/index.d.ts +0 -0
- package/dist/components/Separator/components/Separator.d.ts +0 -0
- package/dist/components/Separator/components/index.d.ts +0 -0
- package/dist/components/Separator/index.d.ts +0 -0
- package/dist/components/Stat/components/Stat.d.ts +0 -0
- package/dist/components/Stat/components/index.d.ts +0 -0
- package/dist/components/Stat/index.d.ts +0 -0
- package/dist/components/Switch/components/Switch.d.ts +0 -0
- package/dist/components/Switch/components/index.d.ts +0 -0
- package/dist/components/Switch/index.d.ts +0 -0
- package/dist/components/Tabs/components/Tabs.d.ts +0 -0
- package/dist/components/Tabs/components/index.d.ts +0 -0
- package/dist/components/Tabs/index.d.ts +0 -0
- package/dist/components/Tag/components/Tag.d.ts +0 -0
- package/dist/components/Tag/components/TagGroup.d.ts +0 -0
- package/dist/components/Tag/components/index.d.ts +0 -0
- package/dist/components/Tag/index.d.ts +0 -0
- package/dist/components/Terminal/components/Terminal.d.ts +0 -0
- package/dist/components/Terminal/components/index.d.ts +0 -0
- package/dist/components/Terminal/index.d.ts +0 -0
- package/dist/components/TextScramble/components/TextScramble.d.ts +0 -0
- package/dist/components/TextScramble/components/index.d.ts +0 -0
- package/dist/components/TextScramble/index.d.ts +0 -0
- package/dist/components/TimelineContainer/components/TimelineAxis.d.ts +0 -0
- package/dist/components/TimelineContainer/components/TimelineContainer.d.ts +0 -0
- package/dist/components/TimelineContainer/components/TimelineContent.d.ts +0 -0
- package/dist/components/TimelineContainer/components/TimelineEntryCard.d.ts +0 -0
- package/dist/components/TimelineContainer/components/ZoomControls.d.ts +0 -0
- package/dist/components/TimelineContainer/components/index.d.ts +0 -0
- package/dist/components/TimelineContainer/components/timelineUtils.d.ts +0 -0
- package/dist/components/TimelineContainer/components/timelineUtils.test.d.ts +0 -0
- package/dist/components/TimelineContainer/components/types.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useDrillDown.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useDrillDown.test.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useSelection.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useSelection.test.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useZoom.d.ts +0 -0
- package/dist/components/TimelineContainer/components/useZoom.test.d.ts +0 -0
- package/dist/components/TimelineContainer/components/variants/TimelineEntryCardGallery.d.ts +0 -0
- package/dist/components/TimelineContainer/components/variants/TimelineEntryCardImage.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/DayView.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/HourView.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/MonthView.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/YearView.d.ts +0 -0
- package/dist/components/TimelineContainer/components/views/index.d.ts +0 -0
- package/dist/components/TimelineContainer/index.d.ts +0 -0
- package/dist/components/TimelineNode/components/TimelineNode.d.ts +0 -0
- package/dist/components/TimelineNode/components/index.d.ts +0 -0
- package/dist/components/TimelineNode/index.d.ts +0 -0
- package/dist/components/registry.d.ts +0 -0
- package/dist/eidotter.css +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.es.js +584 -528
- package/dist/index.umd.js +1 -1
- package/guidelines/README.md +0 -0
- package/guidelines/components.md +0 -0
- package/guidelines/patterns.md +0 -0
- package/package.json +8 -3
- package/src/styles/dos-utilities.css +0 -0
- package/src/styles/fonts/Flexi_IBM_VGA_LICENSE.txt +0 -0
- package/src/styles/fonts/Flexi_IBM_VGA_True.ttf +0 -0
- package/src/styles/fonts/Perfect_DOS_VGA_437_LICENSE.txt +0 -0
- package/src/styles/fonts/Perfect_DOS_VGA_437_Win.ttf +0 -0
- package/src/styles/fonts.css +0 -0
- package/src/styles/theme.amber-mono.css +4 -113
- package/src/styles/theme.cga-amber.css +5 -114
- package/src/styles/theme.cga-mode4-p0.css +9 -114
- package/src/styles/theme.cga-mode4-p1.css +9 -114
- package/src/styles/theme.cga-mode5.css +9 -114
- package/src/styles/tokens.css +35 -4
- package/tailwind.preset.cjs +3 -1
- package/tailwind.preset.enhanced.cjs +0 -0
package/dist/index.es.js
CHANGED
|
@@ -279,11 +279,11 @@ function _e(t, n, r) {
|
|
|
279
279
|
};
|
|
280
280
|
return i ? i(c, void 0) : /* @__PURE__ */ e.createElement(t, c);
|
|
281
281
|
}
|
|
282
|
-
var ve = {},
|
|
282
|
+
var ve = {}, ye = new Proxy({}, { get(e, t) {
|
|
283
283
|
if (typeof t != "string") return;
|
|
284
284
|
let n = ve[t];
|
|
285
285
|
return n || (n = /* @__PURE__ */ r(_e.bind(null, t)), ve[t] = n), n;
|
|
286
|
-
} }),
|
|
286
|
+
} }), be = "react-aria-clear-focus", xe = "react-aria-focus", B = (e) => e?.ownerDocument ?? document, V = (e) => e && "window" in e && e.window === e ? e : B(e).defaultView || window;
|
|
287
287
|
function Se(e) {
|
|
288
288
|
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
|
|
289
289
|
}
|
|
@@ -323,7 +323,7 @@ function W(e) {
|
|
|
323
323
|
}
|
|
324
324
|
function Ee(e) {
|
|
325
325
|
if (!e) return !1;
|
|
326
|
-
let t = e.getRootNode(), n =
|
|
326
|
+
let t = e.getRootNode(), n = V(e);
|
|
327
327
|
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
|
|
328
328
|
let r = t.activeElement;
|
|
329
329
|
return r != null && e.contains(r);
|
|
@@ -331,7 +331,7 @@ function Ee(e) {
|
|
|
331
331
|
//#endregion
|
|
332
332
|
//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs
|
|
333
333
|
function De(e) {
|
|
334
|
-
let t = Ae(
|
|
334
|
+
let t = Ae(B(e));
|
|
335
335
|
t !== e && (t && Oe(t, e), e && ke(e, t));
|
|
336
336
|
}
|
|
337
337
|
function Oe(e, t) {
|
|
@@ -391,7 +391,7 @@ function Fe(e) {
|
|
|
391
391
|
//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs
|
|
392
392
|
var Ie = typeof Element < "u" && "checkVisibility" in Element.prototype;
|
|
393
393
|
function Le(e) {
|
|
394
|
-
let t =
|
|
394
|
+
let t = V(e);
|
|
395
395
|
if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
|
|
396
396
|
let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";
|
|
397
397
|
if (i) {
|
|
@@ -489,7 +489,7 @@ function Je(e) {
|
|
|
489
489
|
var Ye = !1;
|
|
490
490
|
function Xe(e) {
|
|
491
491
|
for (; e && !Ue(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
|
|
492
|
-
let t =
|
|
492
|
+
let t = V(e), n = t.document.activeElement;
|
|
493
493
|
if (!n || n === e) return;
|
|
494
494
|
Ye = !0;
|
|
495
495
|
let r = !1, i = (e) => {
|
|
@@ -623,7 +623,7 @@ function Dt(e) {
|
|
|
623
623
|
!pt.isOpening && lt(e) && (bt = !0, _t = "virtual");
|
|
624
624
|
}
|
|
625
625
|
function Ot(e) {
|
|
626
|
-
let t =
|
|
626
|
+
let t = V(W(e)), n = B(W(e));
|
|
627
627
|
W(e) === t || W(e) === n || Ye || !e.isTrusted || (!bt && !xt && (_t = "virtual", Ct("virtual", e)), bt = !1, xt = !1);
|
|
628
628
|
}
|
|
629
629
|
function kt() {
|
|
@@ -631,7 +631,7 @@ function kt() {
|
|
|
631
631
|
}
|
|
632
632
|
function At(e) {
|
|
633
633
|
if (typeof window > "u" || typeof document > "u") return;
|
|
634
|
-
let t =
|
|
634
|
+
let t = V(e), n = B(e);
|
|
635
635
|
if (yt.get(t)) return;
|
|
636
636
|
let r = t.HTMLElement.prototype.focus;
|
|
637
637
|
t.HTMLElement.prototype.focus = function() {
|
|
@@ -641,11 +641,11 @@ function At(e) {
|
|
|
641
641
|
}, { once: !0 }), yt.set(t, { focus: r });
|
|
642
642
|
}
|
|
643
643
|
var jt = (e, t) => {
|
|
644
|
-
let n =
|
|
644
|
+
let n = V(e), r = B(e);
|
|
645
645
|
t && r.removeEventListener("DOMContentLoaded", t), yt.has(n) && (n.HTMLElement.prototype.focus = yt.get(n).focus, r.removeEventListener("keydown", Tt, !0), r.removeEventListener("keyup", Tt, !0), r.removeEventListener("click", Dt, !0), n.removeEventListener("focus", Ot, !0), n.removeEventListener("blur", kt, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", Et, !0), r.removeEventListener("pointermove", Et, !0), r.removeEventListener("pointerup", Et, !0)) : process.env.NODE_ENV === "test" && (r.removeEventListener("mousedown", Et, !0), r.removeEventListener("mousemove", Et, !0), r.removeEventListener("mouseup", Et, !0)), yt.delete(n));
|
|
646
646
|
};
|
|
647
647
|
function Mt(e) {
|
|
648
|
-
let t =
|
|
648
|
+
let t = B(e), n;
|
|
649
649
|
return t.readyState === "loading" ? (n = () => {
|
|
650
650
|
At(e);
|
|
651
651
|
}, t.addEventListener("DOMContentLoaded", n)) : At(e), () => jt(e, n);
|
|
@@ -672,7 +672,7 @@ var It = new Set([
|
|
|
672
672
|
"reset"
|
|
673
673
|
]);
|
|
674
674
|
function Lt(e, t, n) {
|
|
675
|
-
let r = n ? W(n) : void 0, i =
|
|
675
|
+
let r = n ? W(n) : void 0, i = B(r), a = V(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = U(i);
|
|
676
676
|
return e = e || u instanceof o && !It.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !St[n.key]);
|
|
677
677
|
}
|
|
678
678
|
function Rt(e, t, n) {
|
|
@@ -1317,7 +1317,7 @@ function Mn(e) {
|
|
|
1317
1317
|
//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs
|
|
1318
1318
|
function Nn(e) {
|
|
1319
1319
|
if (!e.isConnected) return;
|
|
1320
|
-
let t =
|
|
1320
|
+
let t = B(e);
|
|
1321
1321
|
if (Pt() === "virtual") {
|
|
1322
1322
|
let n = U(t);
|
|
1323
1323
|
Mn(() => {
|
|
@@ -1332,7 +1332,7 @@ function Pn(e) {
|
|
|
1332
1332
|
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, o = a((e) => {
|
|
1333
1333
|
if (W(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
|
|
1334
1334
|
}, [r, i]), s = Je(o), c = a((e) => {
|
|
1335
|
-
let t = W(e), r =
|
|
1335
|
+
let t = W(e), r = B(t), a = r ? U(r) : U();
|
|
1336
1336
|
t === e.currentTarget && t === a && (n && n(e), i && i(!0), s(e));
|
|
1337
1337
|
}, [
|
|
1338
1338
|
i,
|
|
@@ -1612,7 +1612,7 @@ var gr = "default", _r = "", vr = /* @__PURE__ */ new WeakMap();
|
|
|
1612
1612
|
function yr(e) {
|
|
1613
1613
|
if (rt()) {
|
|
1614
1614
|
if (gr === "default") {
|
|
1615
|
-
let t =
|
|
1615
|
+
let t = B(e);
|
|
1616
1616
|
_r = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
|
|
1617
1617
|
}
|
|
1618
1618
|
gr = "disabled";
|
|
@@ -1627,7 +1627,7 @@ function br(e) {
|
|
|
1627
1627
|
gr = "restoring", setTimeout(() => {
|
|
1628
1628
|
Mn(() => {
|
|
1629
1629
|
if (gr === "restoring") {
|
|
1630
|
-
let t =
|
|
1630
|
+
let t = B(e);
|
|
1631
1631
|
t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = _r || ""), _r = "", gr = "default";
|
|
1632
1632
|
}
|
|
1633
1633
|
});
|
|
@@ -1647,7 +1647,7 @@ function Cr(e) {
|
|
|
1647
1647
|
let t = e ?? (typeof document < "u" ? document : void 0);
|
|
1648
1648
|
if (!t) return xr(t);
|
|
1649
1649
|
if (Sr.has(t)) return Sr.get(t);
|
|
1650
|
-
let n = t.querySelector("meta[property=\"csp-nonce\"]"), r = n && n instanceof
|
|
1650
|
+
let n = t.querySelector("meta[property=\"csp-nonce\"]"), r = n && n instanceof V(n).HTMLMetaElement && (n.nonce || n.content) || xr(t) || void 0;
|
|
1651
1651
|
return r !== void 0 && Sr.set(t, r), r;
|
|
1652
1652
|
}
|
|
1653
1653
|
//#endregion
|
|
@@ -1785,7 +1785,7 @@ function jr(e) {
|
|
|
1785
1785
|
let r = !0;
|
|
1786
1786
|
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = E(t, "keyboard"));
|
|
1787
1787
|
let i = t.currentTarget;
|
|
1788
|
-
w(
|
|
1788
|
+
w(B(t.currentTarget), "keyup", S((t) => {
|
|
1789
1789
|
Nr(t, i) && !t.repeat && H(i, W(t)) && e.target && k(Lr(e.target, t), "keyboard");
|
|
1790
1790
|
}, n), !0), r && t.stopPropagation(), t.metaKey && et() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
|
|
1791
1791
|
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
|
|
@@ -1826,7 +1826,7 @@ function jr(e) {
|
|
|
1826
1826
|
if (!e.isPressed) {
|
|
1827
1827
|
e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, g || yr(e.target), i = E(t, e.pointerType);
|
|
1828
1828
|
let a = W(t);
|
|
1829
|
-
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), w(
|
|
1829
|
+
"releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), w(B(t.currentTarget), "pointerup", n, !1), w(B(t.currentTarget), "pointercancel", r, !1);
|
|
1830
1830
|
}
|
|
1831
1831
|
i && t.stopPropagation();
|
|
1832
1832
|
}, t.onMouseDown = (t) => {
|
|
@@ -1871,7 +1871,7 @@ function jr(e) {
|
|
|
1871
1871
|
let n = Xe(t.target);
|
|
1872
1872
|
n && e.disposables.push(n);
|
|
1873
1873
|
}
|
|
1874
|
-
w(
|
|
1874
|
+
w(B(t.currentTarget), "mouseup", n, !1);
|
|
1875
1875
|
}
|
|
1876
1876
|
}, t.onMouseEnter = (t) => {
|
|
1877
1877
|
if (!H(t.currentTarget, W(t))) return;
|
|
@@ -1896,7 +1896,7 @@ function jr(e) {
|
|
|
1896
1896
|
t.onTouchStart = (t) => {
|
|
1897
1897
|
if (!H(t.currentTarget, W(t))) return;
|
|
1898
1898
|
let n = Pr(t.nativeEvent);
|
|
1899
|
-
n && (e.activePointerId = n.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = t.currentTarget, e.pointerType = "touch", g || yr(e.target), E(Ir(e.target, t), e.pointerType) && t.stopPropagation(), w(
|
|
1899
|
+
n && (e.activePointerId = n.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = t.currentTarget, e.pointerType = "touch", g || yr(e.target), E(Ir(e.target, t), e.pointerType) && t.stopPropagation(), w(V(t.currentTarget), "scroll", r, !0));
|
|
1900
1900
|
}, t.onTouchMove = (t) => {
|
|
1901
1901
|
if (!H(t.currentTarget, W(t))) return;
|
|
1902
1902
|
if (!e.isPressed) {
|
|
@@ -1943,7 +1943,7 @@ function jr(e) {
|
|
|
1943
1943
|
]);
|
|
1944
1944
|
return s(() => {
|
|
1945
1945
|
if (!v || process.env.NODE_ENV === "test") return;
|
|
1946
|
-
let e =
|
|
1946
|
+
let e = B(v.current);
|
|
1947
1947
|
if (!e || !e.head || e.getElementById(kr)) return;
|
|
1948
1948
|
let t = e.createElement("style");
|
|
1949
1949
|
t.id = kr;
|
|
@@ -1972,7 +1972,7 @@ function Mr(e) {
|
|
|
1972
1972
|
}
|
|
1973
1973
|
function Nr(e, t) {
|
|
1974
1974
|
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
|
|
1975
|
-
return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof
|
|
1975
|
+
return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof V(i).HTMLInputElement && !Wr(i, n) || i instanceof V(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && Mr(i)) && n !== "Enter");
|
|
1976
1976
|
}
|
|
1977
1977
|
function Pr(e) {
|
|
1978
1978
|
let { targetTouches: t } = e;
|
|
@@ -2058,7 +2058,7 @@ function Gr(e) {
|
|
|
2058
2058
|
c
|
|
2059
2059
|
]), u = Je(l), d = a((e) => {
|
|
2060
2060
|
if (!H(e.currentTarget, W(e))) return;
|
|
2061
|
-
let t = W(e), n =
|
|
2061
|
+
let t = W(e), n = B(t), a = U(n);
|
|
2062
2062
|
if (!o.current.isFocusWithin && a === t) {
|
|
2063
2063
|
r && r(e), i && i(!0), o.current.isFocusWithin = !0, u(e);
|
|
2064
2064
|
let t = e.currentTarget;
|
|
@@ -2125,7 +2125,7 @@ function Xr(e) {
|
|
|
2125
2125
|
e.pointerType === "touch" && Yr();
|
|
2126
2126
|
}
|
|
2127
2127
|
function Zr() {
|
|
2128
|
-
let e =
|
|
2128
|
+
let e = B(null);
|
|
2129
2129
|
if (e !== void 0) return Jr === 0 && (typeof PointerEvent < "u" ? e.addEventListener("pointerup", Xr) : process.env.NODE_ENV === "test" && e.addEventListener("touchend", Yr)), Jr++, () => {
|
|
2130
2130
|
Jr--, !(Jr > 0) && (typeof PointerEvent < "u" ? e.removeEventListener("pointerup", Xr) : process.env.NODE_ENV === "test" && e.removeEventListener("touchend", Yr));
|
|
2131
2131
|
};
|
|
@@ -2143,7 +2143,7 @@ function Qr(e) {
|
|
|
2143
2143
|
if (c.pointerType = r, i || r === "touch" || c.isHovered || !H(e.currentTarget, W(e))) return;
|
|
2144
2144
|
c.isHovered = !0;
|
|
2145
2145
|
let s = e.currentTarget;
|
|
2146
|
-
c.target = s, l(
|
|
2146
|
+
c.target = s, l(B(W(e)), "pointerover", (e) => {
|
|
2147
2147
|
c.isHovered && c.target && !H(c.target, W(e)) && a(e, e.pointerType);
|
|
2148
2148
|
}, { capture: !0 }), t && t({
|
|
2149
2149
|
type: "hoverstart",
|
|
@@ -2192,7 +2192,7 @@ function Qr(e) {
|
|
|
2192
2192
|
//#region node_modules/react-aria-components/dist/private/Label.mjs
|
|
2193
2193
|
var $r = /* @__PURE__ */ n({}), ei = /* @__PURE__ */ Un(function(t, n) {
|
|
2194
2194
|
[t, n] = me(t, n, $r);
|
|
2195
|
-
let { elementType: r = "label", ...i } = t, a =
|
|
2195
|
+
let { elementType: r = "label", ...i } = t, a = ye[r];
|
|
2196
2196
|
return /* @__PURE__ */ e.createElement(a, {
|
|
2197
2197
|
className: "react-aria-Label",
|
|
2198
2198
|
...i,
|
|
@@ -2345,7 +2345,7 @@ var ci = /* @__PURE__ */ n({}), K = /* @__PURE__ */ Un(function(t, n) {
|
|
|
2345
2345
|
g
|
|
2346
2346
|
]);
|
|
2347
2347
|
let b = G(t, { global: !0 });
|
|
2348
|
-
return delete b.onClick, /* @__PURE__ */ e.createElement(
|
|
2348
|
+
return delete b.onClick, /* @__PURE__ */ e.createElement(ye.button, {
|
|
2349
2349
|
...z(b, h, a, c, d),
|
|
2350
2350
|
type: a.type === "submit" && i ? "button" : a.type,
|
|
2351
2351
|
id: g,
|
|
@@ -2372,7 +2372,7 @@ function ui(e, t) {
|
|
|
2372
2372
|
//#region node_modules/react-aria-components/dist/private/Heading.mjs
|
|
2373
2373
|
var di = /* @__PURE__ */ n({}), fi = /* @__PURE__ */ n({}), pi = /* @__PURE__ */ r(function(t, n) {
|
|
2374
2374
|
[t, n] = me(t, n, fi);
|
|
2375
|
-
let { elementType: r = "span", ...i } = t, a =
|
|
2375
|
+
let { elementType: r = "span", ...i } = t, a = ye[r];
|
|
2376
2376
|
return /* @__PURE__ */ e.createElement(a, {
|
|
2377
2377
|
className: "react-aria-Text",
|
|
2378
2378
|
...i,
|
|
@@ -2889,7 +2889,7 @@ var Yi = /* @__PURE__ */ n(null), Xi = /* @__PURE__ */ n(null), Zi = /* @__PURE_
|
|
|
2889
2889
|
isRequired: t.isRequired || !1
|
|
2890
2890
|
}
|
|
2891
2891
|
}), T = G(t, { global: !0 });
|
|
2892
|
-
return delete T.id, delete T.onClick, /* @__PURE__ */ e.createElement(
|
|
2892
|
+
return delete T.id, delete T.onClick, /* @__PURE__ */ e.createElement(ye.label, {
|
|
2893
2893
|
...z(T, d, S, w),
|
|
2894
2894
|
ref: n,
|
|
2895
2895
|
slot: t.slot || void 0,
|
|
@@ -2929,7 +2929,7 @@ var Yi = /* @__PURE__ */ n(null), Xi = /* @__PURE__ */ n(null), Zi = /* @__PURE_
|
|
|
2929
2929
|
},
|
|
2930
2930
|
defaultClassName: "react-aria-Input"
|
|
2931
2931
|
});
|
|
2932
|
-
return /* @__PURE__ */ e.createElement(
|
|
2932
|
+
return /* @__PURE__ */ e.createElement(ye.input, {
|
|
2933
2933
|
...z(ea(t), s, r),
|
|
2934
2934
|
...l,
|
|
2935
2935
|
ref: n,
|
|
@@ -3128,7 +3128,7 @@ function ua(t) {
|
|
|
3128
3128
|
for (let e of t) e.removeEventListener(la, n);
|
|
3129
3129
|
};
|
|
3130
3130
|
}, [n]), Ea(d, i, r), ga(d, r), Oa(d, i, r), Ta(d, a), s(() => {
|
|
3131
|
-
let e = U(
|
|
3131
|
+
let e = U(B(d.current ? d.current[0] : void 0)), t = null;
|
|
3132
3132
|
if (va(e, d.current)) {
|
|
3133
3133
|
for (let n of J.traverse()) n.scopeRef && va(e, n.scopeRef.current) && (t = n);
|
|
3134
3134
|
t === J.getTreeNode(d) && (q = t.scopeRef);
|
|
@@ -3154,7 +3154,7 @@ function ua(t) {
|
|
|
3154
3154
|
function da(e) {
|
|
3155
3155
|
return {
|
|
3156
3156
|
focusNext(t = {}) {
|
|
3157
|
-
let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || U(
|
|
3157
|
+
let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || U(B(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Aa(fa(n), {
|
|
3158
3158
|
tabbable: i,
|
|
3159
3159
|
accept: o
|
|
3160
3160
|
}, n);
|
|
@@ -3163,7 +3163,7 @@ function da(e) {
|
|
|
3163
3163
|
return !u && a && (l.currentNode = c, u = l.nextNode()), u && Sa(u, !0), u;
|
|
3164
3164
|
},
|
|
3165
3165
|
focusPrevious(t = {}) {
|
|
3166
|
-
let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || U(
|
|
3166
|
+
let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || U(B(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Aa(fa(n), {
|
|
3167
3167
|
tabbable: i,
|
|
3168
3168
|
accept: o
|
|
3169
3169
|
}, n);
|
|
@@ -3203,8 +3203,8 @@ function pa(e) {
|
|
|
3203
3203
|
return !0;
|
|
3204
3204
|
}
|
|
3205
3205
|
function ma(e) {
|
|
3206
|
-
if (!e.form) return Array.from(
|
|
3207
|
-
let t = e.form.elements.namedItem(e.name), n =
|
|
3206
|
+
if (!e.form) return Array.from(B(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
|
|
3207
|
+
let t = e.form.elements.namedItem(e.name), n = V(e);
|
|
3208
3208
|
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
|
|
3209
3209
|
}
|
|
3210
3210
|
function ha(e) {
|
|
@@ -3220,7 +3220,7 @@ function ga(e, t) {
|
|
|
3220
3220
|
r.current &&= (cancelAnimationFrame(r.current), void 0);
|
|
3221
3221
|
return;
|
|
3222
3222
|
}
|
|
3223
|
-
let a =
|
|
3223
|
+
let a = B(i ? i[0] : void 0), o = (t) => {
|
|
3224
3224
|
if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !pa(e) || t.isComposing) return;
|
|
3225
3225
|
let n = U(a), r = e.current;
|
|
3226
3226
|
if (!r || !va(n, r)) return;
|
|
@@ -3228,7 +3228,7 @@ function ga(e, t) {
|
|
|
3228
3228
|
if (!n) return;
|
|
3229
3229
|
i.currentNode = n;
|
|
3230
3230
|
let o = t.shiftKey ? i.previousNode() : i.nextNode();
|
|
3231
|
-
o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Sa(o, !0), o instanceof
|
|
3231
|
+
o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (Sa(o, !0), o instanceof V(o).HTMLInputElement && o.select());
|
|
3232
3232
|
}, s = (t) => {
|
|
3233
3233
|
(!q || xa(q, e)) && va(W(t), e.current) ? (q = e, n.current = W(t)) : pa(e) && !ya(W(t), e) ? n.current ? n.current.focus() : q && q.current && wa(q.current) : pa(e) && (n.current = W(t));
|
|
3234
3234
|
}, c = (t) => {
|
|
@@ -3290,13 +3290,13 @@ function wa(e, t = !0) {
|
|
|
3290
3290
|
function Ta(t, n) {
|
|
3291
3291
|
let r = e.useRef(n);
|
|
3292
3292
|
s(() => {
|
|
3293
|
-
r.current && (q = t, !va(U(
|
|
3293
|
+
r.current && (q = t, !va(U(B(t.current ? t.current[0] : void 0)), q.current) && t.current && wa(t.current)), r.current = !1;
|
|
3294
3294
|
}, [t]);
|
|
3295
3295
|
}
|
|
3296
3296
|
function Ea(e, t, n) {
|
|
3297
3297
|
C(() => {
|
|
3298
3298
|
if (t || n) return;
|
|
3299
|
-
let r = e.current, i =
|
|
3299
|
+
let r = e.current, i = B(r ? r[0] : void 0), a = (t) => {
|
|
3300
3300
|
let n = W(t);
|
|
3301
3301
|
va(n, e.current) ? q = e : _a(n) || (q = null);
|
|
3302
3302
|
};
|
|
@@ -3318,9 +3318,9 @@ function Da(e) {
|
|
|
3318
3318
|
return t?.scopeRef === e;
|
|
3319
3319
|
}
|
|
3320
3320
|
function Oa(e, t, n) {
|
|
3321
|
-
let r = f(typeof document < "u" ? U(
|
|
3321
|
+
let r = f(typeof document < "u" ? U(B(e.current ? e.current[0] : void 0)) : null);
|
|
3322
3322
|
C(() => {
|
|
3323
|
-
let r = e.current, i =
|
|
3323
|
+
let r = e.current, i = B(r ? r[0] : void 0);
|
|
3324
3324
|
if (!t || n) return;
|
|
3325
3325
|
let a = () => {
|
|
3326
3326
|
(!q || xa(q, e)) && va(U(i), e.current) && (q = e);
|
|
@@ -3329,7 +3329,7 @@ function Oa(e, t, n) {
|
|
|
3329
3329
|
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
|
|
3330
3330
|
};
|
|
3331
3331
|
}, [e, n]), C(() => {
|
|
3332
|
-
let r =
|
|
3332
|
+
let r = B(e.current ? e.current[0] : void 0);
|
|
3333
3333
|
if (!t) return;
|
|
3334
3334
|
let i = (t) => {
|
|
3335
3335
|
if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !pa(e) || t.isComposing) return;
|
|
@@ -3356,7 +3356,7 @@ function Oa(e, t, n) {
|
|
|
3356
3356
|
t,
|
|
3357
3357
|
n
|
|
3358
3358
|
]), C(() => {
|
|
3359
|
-
let n =
|
|
3359
|
+
let n = B(e.current ? e.current[0] : void 0);
|
|
3360
3360
|
if (!t) return;
|
|
3361
3361
|
let i = J.getTreeNode(e);
|
|
3362
3362
|
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
|
|
@@ -3395,7 +3395,7 @@ function ka(e) {
|
|
|
3395
3395
|
})) && Sa(e);
|
|
3396
3396
|
}
|
|
3397
3397
|
function Aa(e, t, n) {
|
|
3398
|
-
let r = t?.tabbable ? We : Ue, i =
|
|
3398
|
+
let r = t?.tabbable ? We : Ue, i = B(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = sa(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
|
|
3399
3399
|
return H(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!ha(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || va(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
3400
3400
|
} });
|
|
3401
3401
|
return t?.from && (a.currentNode = t.from), a;
|
|
@@ -3619,7 +3619,7 @@ function Ha(e) {
|
|
|
3619
3619
|
}, C = (e) => {
|
|
3620
3620
|
H(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
|
|
3621
3621
|
}, w = f(!1);
|
|
3622
|
-
Wt(r,
|
|
3622
|
+
Wt(r, xe, p ? (e) => {
|
|
3623
3623
|
let { detail: n } = e;
|
|
3624
3624
|
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (w.current = !0);
|
|
3625
3625
|
} : void 0), Va(() => {
|
|
@@ -3632,7 +3632,7 @@ function Ha(e) {
|
|
|
3632
3632
|
}
|
|
3633
3633
|
}, [t.collection]), Va(() => {
|
|
3634
3634
|
t.collection.size > 0 && (w.current = !1);
|
|
3635
|
-
}, [t.focusedKey]), Wt(r,
|
|
3635
|
+
}, [t.focusedKey]), Wt(r, be, p ? (e) => {
|
|
3636
3636
|
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
|
|
3637
3637
|
} : void 0);
|
|
3638
3638
|
let T = f(i), E = f(!1);
|
|
@@ -3696,14 +3696,14 @@ function Wa(e) {
|
|
|
3696
3696
|
...e,
|
|
3697
3697
|
type: "longpressstart"
|
|
3698
3698
|
}), s.current = setTimeout(() => {
|
|
3699
|
-
e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })),
|
|
3699
|
+
e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), B(e.target).activeElement !== e.target && je(e.target), i && i({
|
|
3700
3700
|
...e,
|
|
3701
3701
|
type: "longpress"
|
|
3702
3702
|
}), s.current = void 0;
|
|
3703
3703
|
}, a), e.pointerType === "touch")) {
|
|
3704
3704
|
let t = (e) => {
|
|
3705
3705
|
e.preventDefault();
|
|
3706
|
-
}, n =
|
|
3706
|
+
}, n = V(e.target);
|
|
3707
3707
|
c(e.target, "contextmenu", t, { once: !0 }), c(n, "pointerup", () => {
|
|
3708
3708
|
setTimeout(() => {
|
|
3709
3709
|
l(e.target, "contextmenu", t);
|
|
@@ -4362,7 +4362,7 @@ function ho(e) {
|
|
|
4362
4362
|
}
|
|
4363
4363
|
var go = /* @__PURE__ */ new WeakMap(), _o = [];
|
|
4364
4364
|
function vo(e, t) {
|
|
4365
|
-
let n =
|
|
4365
|
+
let n = V(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && mo, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
|
|
4366
4366
|
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
|
|
4367
4367
|
}, u = /* @__PURE__ */ new Set();
|
|
4368
4368
|
if (Te()) for (let t of e) {
|
|
@@ -4378,7 +4378,7 @@ function vo(e, t) {
|
|
|
4378
4378
|
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
|
|
4379
4379
|
for (let t of o) if (H(e, t)) return NodeFilter.FILTER_SKIP;
|
|
4380
4380
|
return NodeFilter.FILTER_ACCEPT;
|
|
4381
|
-
}, n = sa(
|
|
4381
|
+
}, n = sa(B(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
|
|
4382
4382
|
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
|
|
4383
4383
|
let e = n.nextNode();
|
|
4384
4384
|
for (; e != null;) f(e), e = n.nextNode();
|
|
@@ -4457,7 +4457,7 @@ function yo(e) {
|
|
|
4457
4457
|
s(() => {
|
|
4458
4458
|
let e = a.current;
|
|
4459
4459
|
if (r) return;
|
|
4460
|
-
let n = t.current, i =
|
|
4460
|
+
let n = t.current, i = B(n);
|
|
4461
4461
|
if (typeof PointerEvent < "u") {
|
|
4462
4462
|
let n = (n) => {
|
|
4463
4463
|
e.isPointerDown && bo(n, t) && c(n), e.isPointerDown = !1;
|
|
@@ -4961,7 +4961,7 @@ var Ds = /* @__PURE__ */ n(null), Os = /* @__PURE__ */ n(null), ks = /* @__PURE_
|
|
|
4961
4961
|
children: t.children,
|
|
4962
4962
|
values: { close: s?.close || (() => {}) }
|
|
4963
4963
|
}), l = G(t, { global: !0 });
|
|
4964
|
-
return /* @__PURE__ */ e.createElement(
|
|
4964
|
+
return /* @__PURE__ */ e.createElement(ye.section, {
|
|
4965
4965
|
...z(l, c, i),
|
|
4966
4966
|
render: t.render,
|
|
4967
4967
|
ref: n,
|
|
@@ -5124,7 +5124,7 @@ function Bs({ UNSTABLE_portalContainer: t, ...n }) {
|
|
|
5124
5124
|
return /* @__PURE__ */ e.createElement(bs, {
|
|
5125
5125
|
isExiting: n.isExiting,
|
|
5126
5126
|
portalContainer: t
|
|
5127
|
-
}, /* @__PURE__ */ e.createElement(
|
|
5127
|
+
}, /* @__PURE__ */ e.createElement(ye.div, {
|
|
5128
5128
|
...z(G(n, { global: !0 }), o),
|
|
5129
5129
|
...c,
|
|
5130
5130
|
style: f,
|
|
@@ -5148,7 +5148,7 @@ function Vs(t) {
|
|
|
5148
5148
|
state: s
|
|
5149
5149
|
}
|
|
5150
5150
|
});
|
|
5151
|
-
return /* @__PURE__ */ e.createElement(
|
|
5151
|
+
return /* @__PURE__ */ e.createElement(ye.div, {
|
|
5152
5152
|
...z(G(t, { global: !0 }), n),
|
|
5153
5153
|
...d,
|
|
5154
5154
|
ref: c,
|
|
@@ -5198,7 +5198,7 @@ var Us = /* @__PURE__ */ n(null), Ws = /* @__PURE__ */ r(function(t, n) {
|
|
|
5198
5198
|
state: o
|
|
5199
5199
|
}
|
|
5200
5200
|
}), b = G(t, { global: !0 });
|
|
5201
|
-
return delete b.id, delete b.onClick, /* @__PURE__ */ e.createElement(
|
|
5201
|
+
return delete b.id, delete b.onClick, /* @__PURE__ */ e.createElement(ye.label, {
|
|
5202
5202
|
...z(b, s, _, y),
|
|
5203
5203
|
ref: n,
|
|
5204
5204
|
slot: t.slot || void 0,
|
|
@@ -5419,7 +5419,7 @@ function rc({ props: t, tabsRef: n, collection: r }) {
|
|
|
5419
5419
|
defaultClassName: "react-aria-Tabs",
|
|
5420
5420
|
values: l
|
|
5421
5421
|
}), f = G(t, { global: !0 });
|
|
5422
|
-
return /* @__PURE__ */ e.createElement(
|
|
5422
|
+
return /* @__PURE__ */ e.createElement(ye.div, {
|
|
5423
5423
|
...z(f, d, o),
|
|
5424
5424
|
ref: n,
|
|
5425
5425
|
slot: t.slot || void 0,
|
|
@@ -5449,7 +5449,7 @@ function ac({ props: t, forwardedRef: n }) {
|
|
|
5449
5449
|
state: r
|
|
5450
5450
|
}
|
|
5451
5451
|
}), d = G(t, { global: !0 });
|
|
5452
|
-
return delete d.id, /* @__PURE__ */ e.createElement(
|
|
5452
|
+
return delete d.id, /* @__PURE__ */ e.createElement(ye.div, {
|
|
5453
5453
|
...z(d, u, l),
|
|
5454
5454
|
ref: c,
|
|
5455
5455
|
"data-orientation": a || void 0
|
|
@@ -5484,7 +5484,7 @@ var oc = /* @__PURE__ */ er(class extends bn {
|
|
|
5484
5484
|
isPressed: u,
|
|
5485
5485
|
isHovered: h
|
|
5486
5486
|
}
|
|
5487
|
-
}), _ = r.props.href ?
|
|
5487
|
+
}), _ = r.props.href ? ye.a : ye.div, v = G(t, { global: !0 });
|
|
5488
5488
|
return delete v.id, delete v.onClick, /* @__PURE__ */ e.createElement(_, {
|
|
5489
5489
|
...z(v, g, s, d, m),
|
|
5490
5490
|
ref: a,
|
|
@@ -5521,7 +5521,7 @@ function cc(t) {
|
|
|
5521
5521
|
}), g = G(c, { global: !0 });
|
|
5522
5522
|
delete g.id;
|
|
5523
5523
|
let _ = p ? z(g, l, u, h) : z(g, h);
|
|
5524
|
-
return /* @__PURE__ */ e.createElement(
|
|
5524
|
+
return /* @__PURE__ */ e.createElement(ye.div, {
|
|
5525
5525
|
..._,
|
|
5526
5526
|
ref: i,
|
|
5527
5527
|
"data-focused": d || void 0,
|
|
@@ -5555,7 +5555,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5555
5555
|
},
|
|
5556
5556
|
defaultClassName: "react-aria-TextField"
|
|
5557
5557
|
}), b = G(t, { global: !0 });
|
|
5558
|
-
return delete b.id, /* @__PURE__ */ e.createElement(
|
|
5558
|
+
return delete b.id, /* @__PURE__ */ e.createElement(ye.div, {
|
|
5559
5559
|
...b,
|
|
5560
5560
|
...y,
|
|
5561
5561
|
ref: n,
|
|
@@ -5755,65 +5755,75 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5755
5755
|
cache: Ac(e.cacheSize),
|
|
5756
5756
|
parseClassName: Fc(e),
|
|
5757
5757
|
sortModifiers: Ic(e),
|
|
5758
|
+
postfixLookupClassGroupIds: Rc(e),
|
|
5758
5759
|
...vc(e)
|
|
5759
|
-
}), Rc =
|
|
5760
|
-
let
|
|
5761
|
-
for (let e =
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5760
|
+
}), Rc = (e) => {
|
|
5761
|
+
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
5762
|
+
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
5763
|
+
return t;
|
|
5764
|
+
}, zc = /\s+/, Bc = (e, t) => {
|
|
5765
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(zc), l = "";
|
|
5766
|
+
for (let e = c.length - 1; e >= 0; --e) {
|
|
5767
|
+
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
|
|
5768
|
+
if (u) {
|
|
5769
|
+
l = t + (l.length > 0 ? " " + l : l);
|
|
5765
5770
|
continue;
|
|
5766
5771
|
}
|
|
5767
|
-
let
|
|
5768
|
-
if (
|
|
5769
|
-
|
|
5770
|
-
|
|
5772
|
+
let h = !!m, g;
|
|
5773
|
+
if (h) {
|
|
5774
|
+
g = r(p.substring(0, m));
|
|
5775
|
+
let e = g && o[g] ? r(p) : void 0;
|
|
5776
|
+
e && e !== g && (g = e, h = !1);
|
|
5777
|
+
} else g = r(p);
|
|
5778
|
+
if (!g) {
|
|
5779
|
+
if (!h) {
|
|
5780
|
+
l = t + (l.length > 0 ? " " + l : l);
|
|
5771
5781
|
continue;
|
|
5772
5782
|
}
|
|
5773
|
-
if (
|
|
5774
|
-
|
|
5783
|
+
if (g = r(p), !g) {
|
|
5784
|
+
l = t + (l.length > 0 ? " " + l : l);
|
|
5775
5785
|
continue;
|
|
5776
5786
|
}
|
|
5777
|
-
|
|
5787
|
+
h = !1;
|
|
5778
5788
|
}
|
|
5779
|
-
let
|
|
5780
|
-
if (
|
|
5781
|
-
|
|
5782
|
-
let
|
|
5783
|
-
for (let e = 0; e <
|
|
5784
|
-
let t =
|
|
5785
|
-
|
|
5789
|
+
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + jc : _, y = v + g;
|
|
5790
|
+
if (s.indexOf(y) > -1) continue;
|
|
5791
|
+
s.push(y);
|
|
5792
|
+
let b = i(g, h);
|
|
5793
|
+
for (let e = 0; e < b.length; ++e) {
|
|
5794
|
+
let t = b[e];
|
|
5795
|
+
s.push(v + t);
|
|
5786
5796
|
}
|
|
5787
|
-
|
|
5797
|
+
l = t + (l.length > 0 ? " " + l : l);
|
|
5788
5798
|
}
|
|
5789
|
-
return
|
|
5790
|
-
},
|
|
5799
|
+
return l;
|
|
5800
|
+
}, Vc = (...e) => {
|
|
5791
5801
|
let t = 0, n, r, i = "";
|
|
5792
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
5802
|
+
for (; t < e.length;) (n = e[t++]) && (r = Hc(n)) && (i && (i += " "), i += r);
|
|
5793
5803
|
return i;
|
|
5794
|
-
},
|
|
5804
|
+
}, Hc = (e) => {
|
|
5795
5805
|
if (typeof e == "string") return e;
|
|
5796
5806
|
let t, n = "";
|
|
5797
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
5807
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = Hc(e[r])) && (n && (n += " "), n += t);
|
|
5798
5808
|
return n;
|
|
5799
|
-
},
|
|
5809
|
+
}, Uc = (e, ...t) => {
|
|
5800
5810
|
let n, r, i, a, o = (o) => (n = Lc(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
5801
5811
|
let t = r(e);
|
|
5802
5812
|
if (t) return t;
|
|
5803
|
-
let a =
|
|
5813
|
+
let a = Bc(e, n);
|
|
5804
5814
|
return i(e, a), a;
|
|
5805
5815
|
};
|
|
5806
|
-
return a = o, (...e) => a(
|
|
5807
|
-
},
|
|
5808
|
-
let t = (t) => t[e] ||
|
|
5816
|
+
return a = o, (...e) => a(Vc(...e));
|
|
5817
|
+
}, Wc = [], Y = (e) => {
|
|
5818
|
+
let t = (t) => t[e] || Wc;
|
|
5809
5819
|
return t.isThemeGetter = !0, t;
|
|
5810
|
-
},
|
|
5811
|
-
let r = Wc.exec(e);
|
|
5812
|
-
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
5813
|
-
}, wl = (e, t, n = !1) => {
|
|
5820
|
+
}, Gc = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Kc = /^\((?:(\w[\w-]*):)?(.+)\)$/i, qc = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Jc = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Yc = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Xc = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Zc = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qc = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, $c = (e) => qc.test(e), X = (e) => !!e && !Number.isNaN(Number(e)), el = (e) => !!e && Number.isInteger(Number(e)), tl = (e) => e.endsWith("%") && X(e.slice(0, -1)), nl = (e) => Jc.test(e), rl = () => !0, il = (e) => Yc.test(e) && !Xc.test(e), al = () => !1, ol = (e) => Zc.test(e), sl = (e) => Qc.test(e), cl = (e) => !Z(e) && !Q(e), ll = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), ul = (e) => Tl(e, kl, al), Z = (e) => Gc.test(e), dl = (e) => Tl(e, Al, il), fl = (e) => Tl(e, jl, X), pl = (e) => Tl(e, Nl, rl), ml = (e) => Tl(e, Ml, al), hl = (e) => Tl(e, Dl, al), gl = (e) => Tl(e, Ol, sl), _l = (e) => Tl(e, Pl, ol), Q = (e) => Kc.test(e), vl = (e) => El(e, Al), yl = (e) => El(e, Ml), bl = (e) => El(e, Dl), xl = (e) => El(e, kl), Sl = (e) => El(e, Ol), Cl = (e) => El(e, Pl, !0), wl = (e) => El(e, Nl, !0), Tl = (e, t, n) => {
|
|
5814
5821
|
let r = Gc.exec(e);
|
|
5822
|
+
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
5823
|
+
}, El = (e, t, n = !1) => {
|
|
5824
|
+
let r = Kc.exec(e);
|
|
5815
5825
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
5816
|
-
},
|
|
5826
|
+
}, Dl = (e) => e === "position" || e === "percentage", Ol = (e) => e === "image" || e === "url", kl = (e) => e === "length" || e === "size" || e === "bg-size", Al = (e) => e === "length", jl = (e) => e === "number", Ml = (e) => e === "family-name", Nl = (e) => e === "number" || e === "weight", Pl = (e) => e === "shadow", Fl = /* @__PURE__ */ Uc(() => {
|
|
5817
5827
|
let e = Y("color"), t = Y("font"), n = Y("text"), r = Y("font-weight"), i = Y("tracking"), a = Y("leading"), o = Y("breakpoint"), s = Y("container"), c = Y("spacing"), l = Y("radius"), u = Y("shadow"), d = Y("inset-shadow"), f = Y("text-shadow"), p = Y("drop-shadow"), m = Y("blur"), h = Y("perspective"), g = Y("aspect"), _ = Y("ease"), v = Y("animate"), y = () => [
|
|
5818
5828
|
"auto",
|
|
5819
5829
|
"avoid",
|
|
@@ -5856,12 +5866,12 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5856
5866
|
Z,
|
|
5857
5867
|
c
|
|
5858
5868
|
], T = () => [
|
|
5859
|
-
|
|
5869
|
+
$c,
|
|
5860
5870
|
"full",
|
|
5861
5871
|
"auto",
|
|
5862
5872
|
...w()
|
|
5863
5873
|
], E = () => [
|
|
5864
|
-
|
|
5874
|
+
el,
|
|
5865
5875
|
"none",
|
|
5866
5876
|
"subgrid",
|
|
5867
5877
|
Q,
|
|
@@ -5870,15 +5880,15 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5870
5880
|
"auto",
|
|
5871
5881
|
{ span: [
|
|
5872
5882
|
"full",
|
|
5873
|
-
|
|
5883
|
+
el,
|
|
5874
5884
|
Q,
|
|
5875
5885
|
Z
|
|
5876
5886
|
] },
|
|
5877
|
-
|
|
5887
|
+
el,
|
|
5878
5888
|
Q,
|
|
5879
5889
|
Z
|
|
5880
5890
|
], O = () => [
|
|
5881
|
-
|
|
5891
|
+
el,
|
|
5882
5892
|
"auto",
|
|
5883
5893
|
Q,
|
|
5884
5894
|
Z
|
|
@@ -5908,7 +5918,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5908
5918
|
"center-safe",
|
|
5909
5919
|
"end-safe"
|
|
5910
5920
|
], M = () => ["auto", ...w()], N = () => [
|
|
5911
|
-
|
|
5921
|
+
$c,
|
|
5912
5922
|
"auto",
|
|
5913
5923
|
"full",
|
|
5914
5924
|
"dvw",
|
|
@@ -5922,7 +5932,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5922
5932
|
"fit",
|
|
5923
5933
|
...w()
|
|
5924
5934
|
], ee = () => [
|
|
5925
|
-
|
|
5935
|
+
$c,
|
|
5926
5936
|
"screen",
|
|
5927
5937
|
"full",
|
|
5928
5938
|
"dvw",
|
|
@@ -5933,7 +5943,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5933
5943
|
"fit",
|
|
5934
5944
|
...w()
|
|
5935
5945
|
], te = () => [
|
|
5936
|
-
|
|
5946
|
+
$c,
|
|
5937
5947
|
"screen",
|
|
5938
5948
|
"full",
|
|
5939
5949
|
"lh",
|
|
@@ -5950,8 +5960,8 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5950
5960
|
Z
|
|
5951
5961
|
], ne = () => [
|
|
5952
5962
|
...b(),
|
|
5953
|
-
|
|
5954
|
-
|
|
5963
|
+
bl,
|
|
5964
|
+
hl,
|
|
5955
5965
|
{ position: [Q, Z] }
|
|
5956
5966
|
], re = () => ["no-repeat", { repeat: [
|
|
5957
5967
|
"",
|
|
@@ -5963,13 +5973,13 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5963
5973
|
"auto",
|
|
5964
5974
|
"cover",
|
|
5965
5975
|
"contain",
|
|
5966
|
-
|
|
5967
|
-
|
|
5976
|
+
xl,
|
|
5977
|
+
ul,
|
|
5968
5978
|
{ size: [Q, Z] }
|
|
5969
5979
|
], ie = () => [
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5980
|
+
tl,
|
|
5981
|
+
vl,
|
|
5982
|
+
dl
|
|
5973
5983
|
], I = () => [
|
|
5974
5984
|
"",
|
|
5975
5985
|
"none",
|
|
@@ -5980,8 +5990,8 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
5980
5990
|
], L = () => [
|
|
5981
5991
|
"",
|
|
5982
5992
|
X,
|
|
5983
|
-
|
|
5984
|
-
|
|
5993
|
+
vl,
|
|
5994
|
+
dl
|
|
5985
5995
|
], ae = () => [
|
|
5986
5996
|
"solid",
|
|
5987
5997
|
"dashed",
|
|
@@ -6006,9 +6016,9 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6006
6016
|
"luminosity"
|
|
6007
6017
|
], R = () => [
|
|
6008
6018
|
X,
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6019
|
+
tl,
|
|
6020
|
+
bl,
|
|
6021
|
+
hl
|
|
6012
6022
|
], se = () => [
|
|
6013
6023
|
"",
|
|
6014
6024
|
"none",
|
|
@@ -6030,7 +6040,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6030
6040
|
Q,
|
|
6031
6041
|
Z
|
|
6032
6042
|
], ue = () => [
|
|
6033
|
-
|
|
6043
|
+
$c,
|
|
6034
6044
|
"full",
|
|
6035
6045
|
...w()
|
|
6036
6046
|
];
|
|
@@ -6044,17 +6054,17 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6044
6054
|
"bounce"
|
|
6045
6055
|
],
|
|
6046
6056
|
aspect: ["video"],
|
|
6047
|
-
blur: [
|
|
6048
|
-
breakpoint: [
|
|
6049
|
-
color: [
|
|
6050
|
-
container: [
|
|
6051
|
-
"drop-shadow": [
|
|
6057
|
+
blur: [nl],
|
|
6058
|
+
breakpoint: [nl],
|
|
6059
|
+
color: [rl],
|
|
6060
|
+
container: [nl],
|
|
6061
|
+
"drop-shadow": [nl],
|
|
6052
6062
|
ease: [
|
|
6053
6063
|
"in",
|
|
6054
6064
|
"out",
|
|
6055
6065
|
"in-out"
|
|
6056
6066
|
],
|
|
6057
|
-
font: [
|
|
6067
|
+
font: [cl],
|
|
6058
6068
|
"font-weight": [
|
|
6059
6069
|
"thin",
|
|
6060
6070
|
"extralight",
|
|
@@ -6066,7 +6076,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6066
6076
|
"extrabold",
|
|
6067
6077
|
"black"
|
|
6068
6078
|
],
|
|
6069
|
-
"inset-shadow": [
|
|
6079
|
+
"inset-shadow": [nl],
|
|
6070
6080
|
leading: [
|
|
6071
6081
|
"none",
|
|
6072
6082
|
"tight",
|
|
@@ -6083,11 +6093,11 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6083
6093
|
"distant",
|
|
6084
6094
|
"none"
|
|
6085
6095
|
],
|
|
6086
|
-
radius: [
|
|
6087
|
-
shadow: [
|
|
6096
|
+
radius: [nl],
|
|
6097
|
+
shadow: [nl],
|
|
6088
6098
|
spacing: ["px", X],
|
|
6089
|
-
text: [
|
|
6090
|
-
"text-shadow": [
|
|
6099
|
+
text: [nl],
|
|
6100
|
+
"text-shadow": [nl],
|
|
6091
6101
|
tracking: [
|
|
6092
6102
|
"tighter",
|
|
6093
6103
|
"tight",
|
|
@@ -6101,12 +6111,20 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6101
6111
|
aspect: [{ aspect: [
|
|
6102
6112
|
"auto",
|
|
6103
6113
|
"square",
|
|
6104
|
-
|
|
6114
|
+
$c,
|
|
6105
6115
|
Z,
|
|
6106
6116
|
Q,
|
|
6107
6117
|
g
|
|
6108
6118
|
] }],
|
|
6109
6119
|
container: ["container"],
|
|
6120
|
+
"container-type": [{ "@container": [
|
|
6121
|
+
"",
|
|
6122
|
+
"normal",
|
|
6123
|
+
"size",
|
|
6124
|
+
Q,
|
|
6125
|
+
Z
|
|
6126
|
+
] }],
|
|
6127
|
+
"container-named": [ll],
|
|
6110
6128
|
columns: [{ columns: [
|
|
6111
6129
|
X,
|
|
6112
6130
|
Z,
|
|
@@ -6207,13 +6225,13 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6207
6225
|
"collapse"
|
|
6208
6226
|
],
|
|
6209
6227
|
z: [{ z: [
|
|
6210
|
-
|
|
6228
|
+
el,
|
|
6211
6229
|
"auto",
|
|
6212
6230
|
Q,
|
|
6213
6231
|
Z
|
|
6214
6232
|
] }],
|
|
6215
6233
|
basis: [{ basis: [
|
|
6216
|
-
|
|
6234
|
+
$c,
|
|
6217
6235
|
"full",
|
|
6218
6236
|
"auto",
|
|
6219
6237
|
s,
|
|
@@ -6232,7 +6250,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6232
6250
|
] }],
|
|
6233
6251
|
flex: [{ flex: [
|
|
6234
6252
|
X,
|
|
6235
|
-
|
|
6253
|
+
$c,
|
|
6236
6254
|
"auto",
|
|
6237
6255
|
"initial",
|
|
6238
6256
|
"none",
|
|
@@ -6251,7 +6269,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6251
6269
|
Z
|
|
6252
6270
|
] }],
|
|
6253
6271
|
order: [{ order: [
|
|
6254
|
-
|
|
6272
|
+
el,
|
|
6255
6273
|
"first",
|
|
6256
6274
|
"last",
|
|
6257
6275
|
"none",
|
|
@@ -6362,15 +6380,15 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6362
6380
|
"font-size": [{ text: [
|
|
6363
6381
|
"base",
|
|
6364
6382
|
n,
|
|
6365
|
-
|
|
6366
|
-
|
|
6383
|
+
vl,
|
|
6384
|
+
dl
|
|
6367
6385
|
] }],
|
|
6368
6386
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
6369
6387
|
"font-style": ["italic", "not-italic"],
|
|
6370
6388
|
"font-weight": [{ font: [
|
|
6371
6389
|
r,
|
|
6372
|
-
|
|
6373
|
-
|
|
6390
|
+
wl,
|
|
6391
|
+
pl
|
|
6374
6392
|
] }],
|
|
6375
6393
|
"font-stretch": [{ "font-stretch": [
|
|
6376
6394
|
"ultra-condensed",
|
|
@@ -6382,12 +6400,12 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6382
6400
|
"expanded",
|
|
6383
6401
|
"extra-expanded",
|
|
6384
6402
|
"ultra-expanded",
|
|
6385
|
-
|
|
6403
|
+
tl,
|
|
6386
6404
|
Z
|
|
6387
6405
|
] }],
|
|
6388
6406
|
"font-family": [{ font: [
|
|
6389
|
-
|
|
6390
|
-
|
|
6407
|
+
yl,
|
|
6408
|
+
ml,
|
|
6391
6409
|
t
|
|
6392
6410
|
] }],
|
|
6393
6411
|
"font-features": [{ "font-features": [Z] }],
|
|
@@ -6406,7 +6424,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6406
6424
|
X,
|
|
6407
6425
|
"none",
|
|
6408
6426
|
Q,
|
|
6409
|
-
|
|
6427
|
+
fl
|
|
6410
6428
|
] }],
|
|
6411
6429
|
leading: [{ leading: [a, ...w()] }],
|
|
6412
6430
|
"list-image": [{ "list-image": [
|
|
@@ -6444,7 +6462,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6444
6462
|
"from-font",
|
|
6445
6463
|
"auto",
|
|
6446
6464
|
Q,
|
|
6447
|
-
|
|
6465
|
+
dl
|
|
6448
6466
|
] }],
|
|
6449
6467
|
"text-decoration-color": [{ decoration: P() }],
|
|
6450
6468
|
"underline-offset": [{ "underline-offset": [
|
|
@@ -6471,6 +6489,11 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6471
6489
|
"pretty"
|
|
6472
6490
|
] }],
|
|
6473
6491
|
indent: [{ indent: w() }],
|
|
6492
|
+
"tab-size": [{ tab: [
|
|
6493
|
+
el,
|
|
6494
|
+
Q,
|
|
6495
|
+
Z
|
|
6496
|
+
] }],
|
|
6474
6497
|
"vertical-align": [{ align: [
|
|
6475
6498
|
"baseline",
|
|
6476
6499
|
"top",
|
|
@@ -6545,7 +6568,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6545
6568
|
"l",
|
|
6546
6569
|
"tl"
|
|
6547
6570
|
] },
|
|
6548
|
-
|
|
6571
|
+
el,
|
|
6549
6572
|
Q,
|
|
6550
6573
|
Z
|
|
6551
6574
|
],
|
|
@@ -6555,13 +6578,13 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6555
6578
|
Z
|
|
6556
6579
|
],
|
|
6557
6580
|
conic: [
|
|
6558
|
-
|
|
6581
|
+
el,
|
|
6559
6582
|
Q,
|
|
6560
6583
|
Z
|
|
6561
6584
|
]
|
|
6562
6585
|
},
|
|
6563
|
-
|
|
6564
|
-
|
|
6586
|
+
Sl,
|
|
6587
|
+
gl
|
|
6565
6588
|
] }],
|
|
6566
6589
|
"bg-color": [{ bg: P() }],
|
|
6567
6590
|
"gradient-from-pos": [{ from: ie() }],
|
|
@@ -6635,37 +6658,37 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6635
6658
|
"outline-w": [{ outline: [
|
|
6636
6659
|
"",
|
|
6637
6660
|
X,
|
|
6638
|
-
|
|
6639
|
-
|
|
6661
|
+
vl,
|
|
6662
|
+
dl
|
|
6640
6663
|
] }],
|
|
6641
6664
|
"outline-color": [{ outline: P() }],
|
|
6642
6665
|
shadow: [{ shadow: [
|
|
6643
6666
|
"",
|
|
6644
6667
|
"none",
|
|
6645
6668
|
u,
|
|
6646
|
-
|
|
6647
|
-
|
|
6669
|
+
Cl,
|
|
6670
|
+
_l
|
|
6648
6671
|
] }],
|
|
6649
6672
|
"shadow-color": [{ shadow: P() }],
|
|
6650
6673
|
"inset-shadow": [{ "inset-shadow": [
|
|
6651
6674
|
"none",
|
|
6652
6675
|
d,
|
|
6653
|
-
|
|
6654
|
-
|
|
6676
|
+
Cl,
|
|
6677
|
+
_l
|
|
6655
6678
|
] }],
|
|
6656
6679
|
"inset-shadow-color": [{ "inset-shadow": P() }],
|
|
6657
6680
|
"ring-w": [{ ring: L() }],
|
|
6658
6681
|
"ring-w-inset": ["ring-inset"],
|
|
6659
6682
|
"ring-color": [{ ring: P() }],
|
|
6660
|
-
"ring-offset-w": [{ "ring-offset": [X,
|
|
6683
|
+
"ring-offset-w": [{ "ring-offset": [X, dl] }],
|
|
6661
6684
|
"ring-offset-color": [{ "ring-offset": P() }],
|
|
6662
6685
|
"inset-ring-w": [{ "inset-ring": L() }],
|
|
6663
6686
|
"inset-ring-color": [{ "inset-ring": P() }],
|
|
6664
6687
|
"text-shadow": [{ "text-shadow": [
|
|
6665
6688
|
"none",
|
|
6666
6689
|
f,
|
|
6667
|
-
|
|
6668
|
-
|
|
6690
|
+
Cl,
|
|
6691
|
+
_l
|
|
6669
6692
|
] }],
|
|
6670
6693
|
"text-shadow-color": [{ "text-shadow": P() }],
|
|
6671
6694
|
opacity: [{ opacity: [
|
|
@@ -6781,8 +6804,8 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6781
6804
|
"",
|
|
6782
6805
|
"none",
|
|
6783
6806
|
p,
|
|
6784
|
-
|
|
6785
|
-
|
|
6807
|
+
Cl,
|
|
6808
|
+
_l
|
|
6786
6809
|
] }],
|
|
6787
6810
|
"drop-shadow-color": [{ "drop-shadow": P() }],
|
|
6788
6811
|
grayscale: [{ grayscale: [
|
|
@@ -6939,6 +6962,11 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6939
6962
|
"translate-y": [{ "translate-y": ue() }],
|
|
6940
6963
|
"translate-z": [{ "translate-z": ue() }],
|
|
6941
6964
|
"translate-none": ["translate-none"],
|
|
6965
|
+
zoom: [{ zoom: [
|
|
6966
|
+
el,
|
|
6967
|
+
Q,
|
|
6968
|
+
Z
|
|
6969
|
+
] }],
|
|
6942
6970
|
accent: [{ accent: P() }],
|
|
6943
6971
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
6944
6972
|
"caret-color": [{ caret: P() }],
|
|
@@ -6999,6 +7027,18 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
6999
7027
|
"x"
|
|
7000
7028
|
] }],
|
|
7001
7029
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
7030
|
+
"scrollbar-thumb-color": [{ "scrollbar-thumb": P() }],
|
|
7031
|
+
"scrollbar-track-color": [{ "scrollbar-track": P() }],
|
|
7032
|
+
"scrollbar-gutter": [{ "scrollbar-gutter": [
|
|
7033
|
+
"auto",
|
|
7034
|
+
"stable",
|
|
7035
|
+
"both"
|
|
7036
|
+
] }],
|
|
7037
|
+
"scrollbar-w": [{ scrollbar: [
|
|
7038
|
+
"auto",
|
|
7039
|
+
"thin",
|
|
7040
|
+
"none"
|
|
7041
|
+
] }],
|
|
7002
7042
|
"scroll-m": [{ "scroll-m": w() }],
|
|
7003
7043
|
"scroll-mx": [{ "scroll-mx": w() }],
|
|
7004
7044
|
"scroll-my": [{ "scroll-my": w() }],
|
|
@@ -7068,14 +7108,15 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
7068
7108
|
fill: [{ fill: ["none", ...P()] }],
|
|
7069
7109
|
"stroke-w": [{ stroke: [
|
|
7070
7110
|
X,
|
|
7071
|
-
|
|
7072
|
-
|
|
7073
|
-
|
|
7111
|
+
vl,
|
|
7112
|
+
dl,
|
|
7113
|
+
fl
|
|
7074
7114
|
] }],
|
|
7075
7115
|
stroke: [{ stroke: ["none", ...P()] }],
|
|
7076
7116
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
7077
7117
|
},
|
|
7078
7118
|
conflictingClassGroups: {
|
|
7119
|
+
"container-named": ["container-type"],
|
|
7079
7120
|
overflow: ["overflow-x", "overflow-y"],
|
|
7080
7121
|
overscroll: ["overscroll-x", "overscroll-y"],
|
|
7081
7122
|
inset: [
|
|
@@ -7241,6 +7282,7 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
7241
7282
|
"touch-pz": ["touch"]
|
|
7242
7283
|
},
|
|
7243
7284
|
conflictingClassGroupModifiers: { "font-size": ["leading"] },
|
|
7285
|
+
postfixLookupClassGroups: ["container-type"],
|
|
7244
7286
|
orderSensitiveModifiers: [
|
|
7245
7287
|
"*",
|
|
7246
7288
|
"**",
|
|
@@ -7260,40 +7302,40 @@ var lc = /* @__PURE__ */ n({}), uc = /* @__PURE__ */ n(null), dc = /* @__PURE__
|
|
|
7260
7302
|
//#endregion
|
|
7261
7303
|
//#region src/utils/cn.ts
|
|
7262
7304
|
function $(...e) {
|
|
7263
|
-
return
|
|
7305
|
+
return Fl(e.filter(Boolean));
|
|
7264
7306
|
}
|
|
7265
7307
|
//#endregion
|
|
7266
7308
|
//#region node_modules/pixelarticons/react/InfoBox.js
|
|
7267
|
-
var
|
|
7309
|
+
var Il = (t) => e.createElement("svg", Object.assign({
|
|
7268
7310
|
viewBox: "0 0 24 24",
|
|
7269
7311
|
width: "24",
|
|
7270
7312
|
height: "24",
|
|
7271
7313
|
fill: "currentColor",
|
|
7272
7314
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7273
|
-
}, t), e.createElement("path", { d: "M4 2h16v2H4zm0 18h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zm-9 5h2V7h-2zm0 8h2v-6h-2z" })),
|
|
7315
|
+
}, t), e.createElement("path", { d: "M4 2h16v2H4zm0 18h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zm-9 5h2V7h-2zm0 8h2v-6h-2z" })), Ll = (t) => e.createElement("svg", Object.assign({
|
|
7274
7316
|
viewBox: "0 0 24 24",
|
|
7275
7317
|
width: "24",
|
|
7276
7318
|
height: "24",
|
|
7277
7319
|
fill: "currentColor",
|
|
7278
7320
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7279
|
-
}, t), e.createElement("path", { d: "M2 10h2v2H2zm0 4h2v-2H2zm20-4h-2v2h2zm0 4h-2v-2h2zM4 8h2v2H4zm0 8h2v-2H4zm16-8h-2v2h2zm0 8h-2v-2h2zM6 6h2v2H6zm0 12h2v-2H6zM18 6h-2v2h2zm0 12h-2v-2h2zM8 4h2v2H8zm0 16h2v-2H8zm8-16h-2v2h2zm0 16h-2v-2h2zM10 2h2v2h-2zm0 20h2v-2h-2zm4-20h-2v2h2zm0 20h-2v-2h2zm-3-5h2v-2h-2zm0-4h2V7h-2z" })),
|
|
7321
|
+
}, t), e.createElement("path", { d: "M2 10h2v2H2zm0 4h2v-2H2zm20-4h-2v2h2zm0 4h-2v-2h2zM4 8h2v2H4zm0 8h2v-2H4zm16-8h-2v2h2zm0 8h-2v-2h2zM6 6h2v2H6zm0 12h2v-2H6zM18 6h-2v2h2zm0 12h-2v-2h2zM8 4h2v2H8zm0 16h2v-2H8zm8-16h-2v2h2zm0 16h-2v-2h2zM10 2h2v2h-2zm0 20h2v-2h-2zm4-20h-2v2h2zm0 20h-2v-2h2zm-3-5h2v-2h-2zm0-4h2V7h-2z" })), Rl = (t) => e.createElement("svg", Object.assign({
|
|
7280
7322
|
viewBox: "0 0 24 24",
|
|
7281
7323
|
width: "24",
|
|
7282
7324
|
height: "24",
|
|
7283
7325
|
fill: "currentColor",
|
|
7284
7326
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7285
|
-
}, t), e.createElement("path", { d: "M4 2h16v2H4zm0 18h16v2H4zM20 4h2v16h-2zM2 4h2v16H2zm9 2h2v8h-2zm0 10h2v2h-2z" })),
|
|
7327
|
+
}, t), e.createElement("path", { d: "M4 2h16v2H4zm0 18h16v2H4zM20 4h2v16h-2zM2 4h2v16H2zm9 2h2v8h-2zm0 10h2v2h-2z" })), zl = (t) => e.createElement("svg", Object.assign({
|
|
7286
7328
|
viewBox: "0 0 24 24",
|
|
7287
7329
|
width: "24",
|
|
7288
7330
|
height: "24",
|
|
7289
7331
|
fill: "currentColor",
|
|
7290
7332
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7291
|
-
}, t), e.createElement("path", { d: "M10 18H8v-2h2v2Zm-2-2H6v-2h2v2Zm4-2v2h-2v-2h2Zm-6 0H4v-2h2v2Zm8 0h-2v-2h2v2Zm2-2h-2v-2h2v2Zm2-2h-2V8h2v2Zm2-2h-2V6h2v2Z" })),
|
|
7292
|
-
Info:
|
|
7293
|
-
Warning:
|
|
7294
|
-
Error:
|
|
7295
|
-
Done:
|
|
7296
|
-
Check:
|
|
7333
|
+
}, t), e.createElement("path", { d: "M10 18H8v-2h2v2Zm-2-2H6v-2h2v2Zm4-2v2h-2v-2h2Zm-6 0H4v-2h2v2Zm8 0h-2v-2h2v2Zm2-2h-2v-2h2v2Zm2-2h-2V8h2v2Zm2-2h-2V6h2v2Z" })), Bl = {
|
|
7334
|
+
Info: Il,
|
|
7335
|
+
Warning: Ll,
|
|
7336
|
+
Error: Rl,
|
|
7337
|
+
Done: zl,
|
|
7338
|
+
Check: zl,
|
|
7297
7339
|
Close: (e) => /* @__PURE__ */ b("svg", {
|
|
7298
7340
|
viewBox: "0 0 24 24",
|
|
7299
7341
|
width: "24",
|
|
@@ -7345,17 +7387,17 @@ var Pl = (t) => e.createElement("svg", Object.assign({
|
|
|
7345
7387
|
fill: "currentColor",
|
|
7346
7388
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7347
7389
|
}, t), e.createElement("path", { d: "M13 11h7v2h-7v7h-2v-7H4v-2h7V4h2v7Z" }))
|
|
7348
|
-
},
|
|
7390
|
+
}, Vl = {
|
|
7349
7391
|
L: 56,
|
|
7350
7392
|
S: 24
|
|
7351
|
-
},
|
|
7352
|
-
let s =
|
|
7393
|
+
}, Hl = ({ name: e, size: t = "L", className: n = "", onClick: r, color: i, role: a, "aria-label": o }) => {
|
|
7394
|
+
let s = Bl[e];
|
|
7353
7395
|
if (!s) return null;
|
|
7354
|
-
let c =
|
|
7396
|
+
let c = Vl[t], l = a ?? "img";
|
|
7355
7397
|
return /* @__PURE__ */ b("span", {
|
|
7356
|
-
className: $("icon", a && "icon--button", n),
|
|
7398
|
+
className: $("icon", a === "button" && "icon--button", n),
|
|
7357
7399
|
onClick: r,
|
|
7358
|
-
role:
|
|
7400
|
+
role: l,
|
|
7359
7401
|
"aria-label": o || `${e} icon`,
|
|
7360
7402
|
style: i ? { color: i } : void 0,
|
|
7361
7403
|
children: /* @__PURE__ */ b(s, {
|
|
@@ -7367,18 +7409,18 @@ var Pl = (t) => e.createElement("svg", Object.assign({
|
|
|
7367
7409
|
};
|
|
7368
7410
|
//#endregion
|
|
7369
7411
|
//#region src/utils/prefersReducedMotion.ts
|
|
7370
|
-
function
|
|
7412
|
+
function Ul() {
|
|
7371
7413
|
return typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
7372
7414
|
}
|
|
7373
7415
|
//#endregion
|
|
7374
7416
|
//#region src/hooks/useAnimatedDismiss.ts
|
|
7375
|
-
function
|
|
7417
|
+
function Wl(e, t) {
|
|
7376
7418
|
let [n, r] = p(!1), i = f(!1);
|
|
7377
7419
|
return {
|
|
7378
7420
|
isClosing: n,
|
|
7379
7421
|
triggerClose: a(() => {
|
|
7380
7422
|
if (!(i.current || !t)) {
|
|
7381
|
-
if (
|
|
7423
|
+
if (Ul()) {
|
|
7382
7424
|
t();
|
|
7383
7425
|
return;
|
|
7384
7426
|
}
|
|
@@ -7392,14 +7434,14 @@ function Hl(e, t) {
|
|
|
7392
7434
|
}
|
|
7393
7435
|
//#endregion
|
|
7394
7436
|
//#region src/components/Alert/components/Alert.tsx
|
|
7395
|
-
var
|
|
7437
|
+
var Gl = {
|
|
7396
7438
|
info: "default",
|
|
7397
7439
|
success: "success",
|
|
7398
7440
|
warning: "warning",
|
|
7399
7441
|
error: "error",
|
|
7400
7442
|
default: "default",
|
|
7401
7443
|
brand: "brand"
|
|
7402
|
-
},
|
|
7444
|
+
}, Kl = {
|
|
7403
7445
|
brand: "Info",
|
|
7404
7446
|
gray: "Info",
|
|
7405
7447
|
default: "Info",
|
|
@@ -7407,14 +7449,14 @@ var Ul = {
|
|
|
7407
7449
|
warning: "Warning",
|
|
7408
7450
|
success: "Done"
|
|
7409
7451
|
};
|
|
7410
|
-
function
|
|
7411
|
-
return e ||
|
|
7452
|
+
function ql(e, t) {
|
|
7453
|
+
return e || Gl[t || "info"] || "default";
|
|
7412
7454
|
}
|
|
7413
|
-
function
|
|
7455
|
+
function Jl(e) {
|
|
7414
7456
|
return e === "full-width" ? "full-width" : "floating";
|
|
7415
7457
|
}
|
|
7416
|
-
var
|
|
7417
|
-
let u =
|
|
7458
|
+
var Yl = r(({ color: e, size: t = "floating", type: n, title: r, children: i, actions: a, onClose: o, onClickHere: s, className: c }, l) => {
|
|
7459
|
+
let u = ql(e, n), d = Jl(t), { isClosing: f, triggerClose: p, handleAnimationEnd: m } = Wl("alert-exit", o), h = [...a || [], ...s ? [{
|
|
7418
7460
|
label: "Click here",
|
|
7419
7461
|
onClick: s
|
|
7420
7462
|
}] : []];
|
|
@@ -7428,8 +7470,8 @@ var ql = r(({ color: e, size: t = "floating", type: n, title: r, children: i, ac
|
|
|
7428
7470
|
children: [
|
|
7429
7471
|
/* @__PURE__ */ b("div", {
|
|
7430
7472
|
className: "eidotter-alert__icon",
|
|
7431
|
-
children: /* @__PURE__ */ b(
|
|
7432
|
-
name:
|
|
7473
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
7474
|
+
name: Kl[u] || "Info",
|
|
7433
7475
|
size: "S",
|
|
7434
7476
|
"aria-label": `${u} alert`
|
|
7435
7477
|
})
|
|
@@ -7458,7 +7500,7 @@ var ql = r(({ color: e, size: t = "floating", type: n, title: r, children: i, ac
|
|
|
7458
7500
|
className: "eidotter-alert__close",
|
|
7459
7501
|
onPress: p,
|
|
7460
7502
|
"aria-label": "Close alert",
|
|
7461
|
-
children: /* @__PURE__ */ b(
|
|
7503
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
7462
7504
|
name: "Close",
|
|
7463
7505
|
size: "S"
|
|
7464
7506
|
})
|
|
@@ -7466,10 +7508,10 @@ var ql = r(({ color: e, size: t = "floating", type: n, title: r, children: i, ac
|
|
|
7466
7508
|
]
|
|
7467
7509
|
});
|
|
7468
7510
|
});
|
|
7469
|
-
|
|
7511
|
+
Yl.displayName = "Alert";
|
|
7470
7512
|
//#endregion
|
|
7471
7513
|
//#region src/components/Accordion/components/Section.tsx
|
|
7472
|
-
var
|
|
7514
|
+
var Xl = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, isActive: i = !1, onToggle: a }) => {
|
|
7473
7515
|
let [o, c] = p(n);
|
|
7474
7516
|
return s(() => {
|
|
7475
7517
|
c(n);
|
|
@@ -7487,7 +7529,7 @@ var Jl = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
|
|
|
7487
7529
|
children: e
|
|
7488
7530
|
}), /* @__PURE__ */ b("div", {
|
|
7489
7531
|
className: "eidotter-section__icon flex items-center justify-center w-6 h-6 ml-2 text-inherit",
|
|
7490
|
-
children: /* @__PURE__ */ b(
|
|
7532
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
7491
7533
|
name: o ? "Chevron Up" : "Chevron Down",
|
|
7492
7534
|
size: "S"
|
|
7493
7535
|
})
|
|
@@ -7498,20 +7540,20 @@ var Jl = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
|
|
|
7498
7540
|
children: t
|
|
7499
7541
|
})]
|
|
7500
7542
|
});
|
|
7501
|
-
},
|
|
7543
|
+
}, Zl = ({ sections: e, defaultExpandedIndex: t = -1, className: n }) => {
|
|
7502
7544
|
let [, r] = p(t), i = (e, t) => {
|
|
7503
7545
|
r(t ? e : -1);
|
|
7504
7546
|
};
|
|
7505
7547
|
return /* @__PURE__ */ b("div", {
|
|
7506
7548
|
className: $("w-full flex flex-col items-stretch gap-2 text-left text-base font-dos text-cga-amber", "eidotter-accordion-fill", n),
|
|
7507
|
-
children: e.map((e, n) => /* @__PURE__ */ b(
|
|
7549
|
+
children: e.map((e, n) => /* @__PURE__ */ b(Xl, {
|
|
7508
7550
|
title: e.title,
|
|
7509
7551
|
defaultExpanded: n === t,
|
|
7510
7552
|
onToggle: (e) => i(n, e),
|
|
7511
7553
|
children: e.content
|
|
7512
7554
|
}, n))
|
|
7513
7555
|
});
|
|
7514
|
-
},
|
|
7556
|
+
}, Ql = {
|
|
7515
7557
|
xs: "text-dos-text-xs px-2 py-1 min-h-6 gap-1",
|
|
7516
7558
|
sm: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1",
|
|
7517
7559
|
md: "text-dos-text-md px-3 py-2 min-h-8 gap-1.5",
|
|
@@ -7520,14 +7562,14 @@ var Jl = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
|
|
|
7520
7562
|
small: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1",
|
|
7521
7563
|
medium: "text-dos-text-md px-3 py-2 min-h-8 gap-1.5",
|
|
7522
7564
|
large: "text-dos-text-lg px-4 py-2.5 min-h-10 gap-2"
|
|
7523
|
-
},
|
|
7565
|
+
}, $l = {
|
|
7524
7566
|
primary: "eidotter-btn--primary",
|
|
7525
7567
|
secondary: "eidotter-btn--secondary",
|
|
7526
7568
|
tertiary: "eidotter-btn--tertiary",
|
|
7527
7569
|
destructive: "eidotter-btn--destructive",
|
|
7528
7570
|
ghost: "eidotter-btn--ghost",
|
|
7529
7571
|
link: "eidotter-btn--link"
|
|
7530
|
-
},
|
|
7572
|
+
}, eu = r(({ variant: e = "primary", size: t = "md", type: n = "button", disabled: r = !1, loading: i = !1, children: a, onPress: o, onClick: s, className: c, fullWidth: l = !1, iconOnly: u = !1, ...d }, f) => {
|
|
7531
7573
|
let p = r || i;
|
|
7532
7574
|
return /* @__PURE__ */ x(K, {
|
|
7533
7575
|
ref: f,
|
|
@@ -7543,7 +7585,7 @@ var Jl = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
|
|
|
7543
7585
|
stopPropagation: () => {}
|
|
7544
7586
|
});
|
|
7545
7587
|
},
|
|
7546
|
-
className: $("inline-flex items-center justify-center relative", "border-2 border-solid", "font-dos leading-none whitespace-nowrap select-none", "outline-none cursor-pointer", "transition-all duration-100 ease-linear",
|
|
7588
|
+
className: $("inline-flex items-center justify-center relative", "border-2 border-solid", "font-dos leading-none whitespace-nowrap select-none", "outline-none cursor-pointer", "transition-all duration-100 ease-linear", Ql[t] || Ql.md, $l[e] || $l.primary, p && "opacity-50 cursor-not-allowed", i && "cursor-wait", l && "w-full", u && "aspect-square !px-0", "focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-dos-border-focus", c),
|
|
7547
7589
|
"data-loading": i || void 0,
|
|
7548
7590
|
"data-variant": e,
|
|
7549
7591
|
...d,
|
|
@@ -7557,10 +7599,10 @@ var Jl = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
|
|
|
7557
7599
|
})]
|
|
7558
7600
|
});
|
|
7559
7601
|
});
|
|
7560
|
-
|
|
7602
|
+
eu.displayName = "Button";
|
|
7561
7603
|
//#endregion
|
|
7562
7604
|
//#region src/components/Card/components/Card.tsx
|
|
7563
|
-
var
|
|
7605
|
+
var tu = {
|
|
7564
7606
|
default: "eidotter-card--default",
|
|
7565
7607
|
elevated: "eidotter-card--elevated",
|
|
7566
7608
|
bordered: "eidotter-card--bordered",
|
|
@@ -7568,9 +7610,9 @@ var $l = {
|
|
|
7568
7610
|
interactive: "eidotter-card--interactive",
|
|
7569
7611
|
minimal: "eidotter-card--minimal",
|
|
7570
7612
|
callout: "eidotter-card--callout"
|
|
7571
|
-
},
|
|
7613
|
+
}, nu = r(({ title: e, children: t, footer: n, variant: r = "default", className: i, ...a }, o) => /* @__PURE__ */ x("div", {
|
|
7572
7614
|
ref: o,
|
|
7573
|
-
className: $("border-2 border-solid border-dos-border-default", "font-dos text-cga-amber", "eidotter-card",
|
|
7615
|
+
className: $("border-2 border-solid border-dos-border-default", "font-dos text-cga-amber", "eidotter-card", tu[r] || tu.default, i),
|
|
7574
7616
|
...a,
|
|
7575
7617
|
children: [
|
|
7576
7618
|
e && /* @__PURE__ */ b("div", {
|
|
@@ -7590,10 +7632,10 @@ var $l = {
|
|
|
7590
7632
|
})
|
|
7591
7633
|
]
|
|
7592
7634
|
}));
|
|
7593
|
-
|
|
7635
|
+
nu.displayName = "Card";
|
|
7594
7636
|
//#endregion
|
|
7595
7637
|
//#region src/components/Checkbox/components/Checkbox.tsx
|
|
7596
|
-
var
|
|
7638
|
+
var ru = r(({ checked: e, defaultChecked: t, onChange: n, indeterminate: r = !1, label: i, disabled: a = !1, size: o = "md", name: s, value: c, className: l, "aria-label": u, ...d }, f) => /* @__PURE__ */ b(Zi, {
|
|
7597
7639
|
ref: f,
|
|
7598
7640
|
isSelected: e,
|
|
7599
7641
|
defaultSelected: t,
|
|
@@ -7614,10 +7656,10 @@ var tu = r(({ checked: e, defaultChecked: t, onChange: n, indeterminate: r = !1,
|
|
|
7614
7656
|
children: i
|
|
7615
7657
|
})] })
|
|
7616
7658
|
}));
|
|
7617
|
-
|
|
7659
|
+
ru.displayName = "Checkbox";
|
|
7618
7660
|
//#endregion
|
|
7619
7661
|
//#region src/components/CommandPrompt/components/CommandPrompt.tsx
|
|
7620
|
-
var
|
|
7662
|
+
var iu = ({ prompt: e = "C:\\>", onCommand: t, autoFocus: n = !1, className: r = "", placeholder: i, disabled: a = !1 }) => {
|
|
7621
7663
|
let [o, c] = p(""), l = f(null);
|
|
7622
7664
|
return s(() => {
|
|
7623
7665
|
n && l.current && l.current.focus();
|
|
@@ -7658,41 +7700,41 @@ var nu = ({ prompt: e = "C:\\>", onCommand: t, autoFocus: n = !1, className: r =
|
|
|
7658
7700
|
})]
|
|
7659
7701
|
})]
|
|
7660
7702
|
});
|
|
7661
|
-
},
|
|
7703
|
+
}, au = "█", ou = "░", su = "▓", cu = "▒", lu = {
|
|
7662
7704
|
sm: "text-xs",
|
|
7663
7705
|
md: "text-base",
|
|
7664
7706
|
lg: "text-lg",
|
|
7665
7707
|
small: "text-xs",
|
|
7666
7708
|
medium: "text-base",
|
|
7667
7709
|
large: "text-lg"
|
|
7668
|
-
},
|
|
7710
|
+
}, uu = {
|
|
7669
7711
|
default: "eidotter-progress--default",
|
|
7670
7712
|
success: "eidotter-progress--success",
|
|
7671
7713
|
warning: "eidotter-progress--warning",
|
|
7672
7714
|
error: "eidotter-progress--error"
|
|
7673
7715
|
};
|
|
7674
|
-
function
|
|
7716
|
+
function du(e, t, n) {
|
|
7675
7717
|
let r = t - e;
|
|
7676
7718
|
if (n === "gradient" && e > 0 && e < t) {
|
|
7677
|
-
let t = Math.min(2, r), n = r - t, i = (t >= 1 ?
|
|
7719
|
+
let t = Math.min(2, r), n = r - t, i = (t >= 1 ? su : "") + (t >= 2 ? cu : "");
|
|
7678
7720
|
return {
|
|
7679
|
-
filled:
|
|
7721
|
+
filled: au.repeat(e),
|
|
7680
7722
|
transition: i,
|
|
7681
|
-
empty:
|
|
7723
|
+
empty: ou.repeat(n)
|
|
7682
7724
|
};
|
|
7683
7725
|
}
|
|
7684
7726
|
return {
|
|
7685
|
-
filled:
|
|
7727
|
+
filled: au.repeat(e),
|
|
7686
7728
|
transition: "",
|
|
7687
|
-
empty:
|
|
7729
|
+
empty: ou.repeat(r)
|
|
7688
7730
|
};
|
|
7689
7731
|
}
|
|
7690
|
-
var
|
|
7691
|
-
let h = Math.min(80, Math.max(3, Math.floor(o))), g = Math.min(100, Math.max(0, e / t * 100)), _ = Math.round(g / 100 * h), v = $("inline-flex items-center gap-2 font-dos", "eidotter-progress",
|
|
7732
|
+
var fu = r(({ value: e = 0, max: t = 100, indeterminate: n = !1, variant: r = "default", size: i = "md", trackStyle: a = "block", blocks: o = 20, showLabel: s = !1, fullWidth: c = !1, glow: l = !1, valueText: u, className: d, "aria-label": f, ...p }, m) => {
|
|
7733
|
+
let h = Math.min(80, Math.max(3, Math.floor(o))), g = Math.min(100, Math.max(0, e / t * 100)), _ = Math.round(g / 100 * h), v = $("inline-flex items-center gap-2 font-dos", "eidotter-progress", lu[i] || lu.md, uu[r] || uu.default, l && "eidotter-progress--glow", c && "eidotter-progress--full-width", n && "eidotter-progress--indeterminate", a === "bordered" && "eidotter-progress--bordered", d), y = { "aria-label": f || `Progress: ${n ? "loading" : `${Math.round(g)}%`}` };
|
|
7692
7734
|
n || (y["aria-valuenow"] = e, y["aria-valuemin"] = 0, y["aria-valuemax"] = t), u && (y["aria-valuetext"] = u);
|
|
7693
7735
|
let S = a === "bordered", C = $("eidotter-progress__track", S && "eidotter-progress__track--borderless");
|
|
7694
7736
|
if (n) {
|
|
7695
|
-
let e =
|
|
7737
|
+
let e = ou.repeat(h);
|
|
7696
7738
|
return /* @__PURE__ */ x("div", {
|
|
7697
7739
|
ref: m,
|
|
7698
7740
|
className: v,
|
|
@@ -7714,9 +7756,9 @@ var uu = r(({ value: e = 0, max: t = 100, indeterminate: n = !1, variant: r = "d
|
|
|
7714
7756
|
}), /* @__PURE__ */ x("span", {
|
|
7715
7757
|
className: "eidotter-progress__scanner",
|
|
7716
7758
|
children: [
|
|
7759
|
+
su,
|
|
7717
7760
|
au,
|
|
7718
|
-
|
|
7719
|
-
au
|
|
7761
|
+
su
|
|
7720
7762
|
]
|
|
7721
7763
|
})]
|
|
7722
7764
|
}),
|
|
@@ -7731,7 +7773,7 @@ var uu = r(({ value: e = 0, max: t = 100, indeterminate: n = !1, variant: r = "d
|
|
|
7731
7773
|
})]
|
|
7732
7774
|
});
|
|
7733
7775
|
}
|
|
7734
|
-
let w =
|
|
7776
|
+
let w = au.repeat(h), T = ou.repeat(h), { transition: E } = du(_, h, a);
|
|
7735
7777
|
return /* @__PURE__ */ x("div", {
|
|
7736
7778
|
ref: m,
|
|
7737
7779
|
className: v,
|
|
@@ -7775,13 +7817,13 @@ var uu = r(({ value: e = 0, max: t = 100, indeterminate: n = !1, variant: r = "d
|
|
|
7775
7817
|
})]
|
|
7776
7818
|
});
|
|
7777
7819
|
});
|
|
7778
|
-
|
|
7820
|
+
fu.displayName = "Progress";
|
|
7779
7821
|
//#endregion
|
|
7780
7822
|
//#region src/components/Input/components/Input.tsx
|
|
7781
|
-
var
|
|
7823
|
+
var pu = {
|
|
7782
7824
|
default: "eidotter-input--default",
|
|
7783
7825
|
error: "eidotter-input--error"
|
|
7784
|
-
},
|
|
7826
|
+
}, mu = r(({ variant: e = "default", label: t, description: n, errorMessage: r, disabled: i, className: a, onChange: o, isRequired: s, ...c }, l) => {
|
|
7785
7827
|
let u = e === "error";
|
|
7786
7828
|
return /* @__PURE__ */ x(dc, {
|
|
7787
7829
|
isDisabled: i,
|
|
@@ -7795,7 +7837,7 @@ var du = {
|
|
|
7795
7837
|
}),
|
|
7796
7838
|
/* @__PURE__ */ b(ta, {
|
|
7797
7839
|
ref: l,
|
|
7798
|
-
className: $("w-full bg-transparent text-cga-amber font-dos text-base p-2", "border-2 border-dos-border-default outline-none box-border", "eidotter-input",
|
|
7840
|
+
className: $("w-full bg-transparent text-cga-amber font-dos text-base p-2", "border-2 border-dos-border-default outline-none box-border", "eidotter-input", pu[e] || pu.default, i && "eidotter-input--disabled"),
|
|
7799
7841
|
onChange: o,
|
|
7800
7842
|
...c
|
|
7801
7843
|
}),
|
|
@@ -7812,10 +7854,10 @@ var du = {
|
|
|
7812
7854
|
]
|
|
7813
7855
|
});
|
|
7814
7856
|
});
|
|
7815
|
-
|
|
7857
|
+
mu.displayName = "Input";
|
|
7816
7858
|
//#endregion
|
|
7817
7859
|
//#region src/components/Terminal/components/Terminal.tsx
|
|
7818
|
-
var
|
|
7860
|
+
var hu = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", resizable: r = !0, minimizable: i = !1, maximizable: a = !1, closeable: o = !1, children: c, onMinimize: l, onMaximize: u, onClose: d, onFocus: m, className: h = "", autoFocus: g = !1 }) => {
|
|
7819
7861
|
let _ = {
|
|
7820
7862
|
sm: "small",
|
|
7821
7863
|
md: "medium",
|
|
@@ -7839,7 +7881,7 @@ var pu = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
7839
7881
|
"aria-label": `Restore ${t} window`,
|
|
7840
7882
|
children: /* @__PURE__ */ x("div", {
|
|
7841
7883
|
className: "terminal__taskbar-item",
|
|
7842
|
-
children: [/* @__PURE__ */ b(
|
|
7884
|
+
children: [/* @__PURE__ */ b(Hl, {
|
|
7843
7885
|
name: "App",
|
|
7844
7886
|
size: "S"
|
|
7845
7887
|
}), /* @__PURE__ */ b("span", {
|
|
@@ -7862,7 +7904,7 @@ var pu = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
7862
7904
|
className: "terminal__title-bar",
|
|
7863
7905
|
children: [/* @__PURE__ */ x("div", {
|
|
7864
7906
|
className: "terminal__title",
|
|
7865
|
-
children: [/* @__PURE__ */ b(
|
|
7907
|
+
children: [/* @__PURE__ */ b(Hl, {
|
|
7866
7908
|
name: "App",
|
|
7867
7909
|
size: "S",
|
|
7868
7910
|
"aria-hidden": "true"
|
|
@@ -7877,7 +7919,7 @@ var pu = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
7877
7919
|
className: "terminal__control terminal__control--minimize",
|
|
7878
7920
|
onPress: T,
|
|
7879
7921
|
"aria-label": "Minimize window",
|
|
7880
|
-
children: /* @__PURE__ */ b(
|
|
7922
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
7881
7923
|
name: "Cancel",
|
|
7882
7924
|
size: "S"
|
|
7883
7925
|
})
|
|
@@ -7886,7 +7928,7 @@ var pu = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
7886
7928
|
className: "terminal__control terminal__control--maximize",
|
|
7887
7929
|
onPress: E,
|
|
7888
7930
|
"aria-label": S ? "Restore window" : "Maximize window",
|
|
7889
|
-
children: /* @__PURE__ */ b(
|
|
7931
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
7890
7932
|
name: S ? "Fullscreen" : "Add",
|
|
7891
7933
|
size: "S"
|
|
7892
7934
|
})
|
|
@@ -7895,7 +7937,7 @@ var pu = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
7895
7937
|
className: "terminal__control terminal__control--close",
|
|
7896
7938
|
onPress: D,
|
|
7897
7939
|
"aria-label": "Close window",
|
|
7898
|
-
children: /* @__PURE__ */ b(
|
|
7940
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
7899
7941
|
name: "Close",
|
|
7900
7942
|
size: "S"
|
|
7901
7943
|
})
|
|
@@ -7926,17 +7968,17 @@ var pu = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
7926
7968
|
})
|
|
7927
7969
|
]
|
|
7928
7970
|
});
|
|
7929
|
-
},
|
|
7971
|
+
}, gu = {
|
|
7930
7972
|
sm: "eidotter-tabs--sm",
|
|
7931
7973
|
md: "eidotter-tabs--md",
|
|
7932
7974
|
lg: "eidotter-tabs--lg",
|
|
7933
7975
|
small: "eidotter-tabs--sm",
|
|
7934
7976
|
medium: "eidotter-tabs--md",
|
|
7935
7977
|
large: "eidotter-tabs--lg"
|
|
7936
|
-
},
|
|
7978
|
+
}, _u = {
|
|
7937
7979
|
underline: "eidotter-tabs--underline",
|
|
7938
7980
|
pills: "eidotter-tabs--pills"
|
|
7939
|
-
},
|
|
7981
|
+
}, vu = r(({ tabs: e, variant: t = "underline", size: n = "md", activeTab: r, defaultActiveTab: i, onSelectionChange: o, onTabChange: s, className: c, ...u }, d) => {
|
|
7940
7982
|
let m = f(null), h = f(r ?? i ?? e[0]?.id ?? ""), [g, _] = p(r ?? i ?? e[0]?.id ?? ""), v = o ?? s, y = a((e) => {
|
|
7941
7983
|
let t = String(e), n = r ?? h.current;
|
|
7942
7984
|
h.current = t, _(t), v?.(t, n);
|
|
@@ -7960,7 +8002,7 @@ var pu = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
7960
8002
|
selectedKey: r,
|
|
7961
8003
|
defaultSelectedKey: i ?? e[0]?.id,
|
|
7962
8004
|
onSelectionChange: y,
|
|
7963
|
-
className: $("eidotter-tabs",
|
|
8005
|
+
className: $("eidotter-tabs", _u[t], gu[n] || gu.md, c),
|
|
7964
8006
|
children: [/* @__PURE__ */ x("div", {
|
|
7965
8007
|
ref: m,
|
|
7966
8008
|
className: "relative",
|
|
@@ -7983,16 +8025,16 @@ var pu = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
|
|
|
7983
8025
|
}, e.id))]
|
|
7984
8026
|
});
|
|
7985
8027
|
});
|
|
7986
|
-
|
|
8028
|
+
vu.displayName = "Tabs";
|
|
7987
8029
|
//#endregion
|
|
7988
8030
|
//#region src/components/Badge/components/Badge.tsx
|
|
7989
|
-
var
|
|
8031
|
+
var yu = {
|
|
7990
8032
|
sm: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
7991
8033
|
md: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5",
|
|
7992
8034
|
lg: "text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5",
|
|
7993
8035
|
small: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
7994
8036
|
medium: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5"
|
|
7995
|
-
},
|
|
8037
|
+
}, bu = {
|
|
7996
8038
|
default: "eidotter-badge--default",
|
|
7997
8039
|
success: "eidotter-badge--success",
|
|
7998
8040
|
warning: "eidotter-badge--warning",
|
|
@@ -8006,9 +8048,9 @@ var _u = {
|
|
|
8006
8048
|
purple: "eidotter-badge--info",
|
|
8007
8049
|
pink: "eidotter-badge--error",
|
|
8008
8050
|
orange: "eidotter-badge--warning"
|
|
8009
|
-
},
|
|
8051
|
+
}, xu = r(({ variant: e = "default", size: t = "md", dot: n = !1, children: r, className: i, ...a }, o) => /* @__PURE__ */ x("span", {
|
|
8010
8052
|
ref: o,
|
|
8011
|
-
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "uppercase tracking-wider", "rounded-dos-sm", "eidotter-badge",
|
|
8053
|
+
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "uppercase tracking-wider", "rounded-dos-sm", "eidotter-badge", yu[t] || yu.md, bu[e] || bu.default, i),
|
|
8012
8054
|
"data-variant": e,
|
|
8013
8055
|
...a,
|
|
8014
8056
|
children: [n && /* @__PURE__ */ b("span", {
|
|
@@ -8019,10 +8061,10 @@ var _u = {
|
|
|
8019
8061
|
children: r
|
|
8020
8062
|
})]
|
|
8021
8063
|
}));
|
|
8022
|
-
|
|
8064
|
+
xu.displayName = "Badge";
|
|
8023
8065
|
//#endregion
|
|
8024
8066
|
//#region src/components/Switch/components/Switch.tsx
|
|
8025
|
-
var
|
|
8067
|
+
var Su = r(({ checked: e, defaultChecked: t = !1, onChange: n, onCheckedChange: r, disabled: i = !1, size: a = "md", type: o = "default", label: s, name: c, value: l, className: u, ...d }, f) => /* @__PURE__ */ b(Ws, {
|
|
8026
8068
|
ref: f,
|
|
8027
8069
|
isSelected: e,
|
|
8028
8070
|
defaultSelected: t,
|
|
@@ -8042,10 +8084,10 @@ var bu = r(({ checked: e, defaultChecked: t = !1, onChange: n, onCheckedChange:
|
|
|
8042
8084
|
children: s
|
|
8043
8085
|
})] })
|
|
8044
8086
|
}));
|
|
8045
|
-
|
|
8087
|
+
Su.displayName = "Switch";
|
|
8046
8088
|
//#endregion
|
|
8047
8089
|
//#region src/components/Breadcrumb/components/Breadcrumb.tsx
|
|
8048
|
-
var
|
|
8090
|
+
var Cu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text-accent opacity-70 no-underline", wu = ({ trail: e = [], currentLabel: t, showBackArrow: n = !0, separator: r = "/", linkComponent: i, className: a }) => {
|
|
8049
8091
|
let o = (e, t) => {
|
|
8050
8092
|
let r = /* @__PURE__ */ x(y, { children: [n && t && /* @__PURE__ */ b("span", {
|
|
8051
8093
|
className: "text-[1em] leading-none",
|
|
@@ -8053,15 +8095,15 @@ var xu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8053
8095
|
children: "<"
|
|
8054
8096
|
}), /* @__PURE__ */ b("span", { children: e.label })] });
|
|
8055
8097
|
return e.onClick ? /* @__PURE__ */ b(K, {
|
|
8056
|
-
className: $(
|
|
8098
|
+
className: $(Cu, "bg-transparent border-0 cursor-pointer font-[inherit] p-0"),
|
|
8057
8099
|
onPress: e.onClick,
|
|
8058
8100
|
children: r
|
|
8059
8101
|
}) : e.href ? b(i || "a", {
|
|
8060
8102
|
href: e.href,
|
|
8061
|
-
className:
|
|
8103
|
+
className: Cu,
|
|
8062
8104
|
children: r
|
|
8063
8105
|
}) : /* @__PURE__ */ b("span", {
|
|
8064
|
-
className:
|
|
8106
|
+
className: Cu,
|
|
8065
8107
|
children: r
|
|
8066
8108
|
});
|
|
8067
8109
|
};
|
|
@@ -8101,7 +8143,7 @@ var xu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8101
8143
|
]
|
|
8102
8144
|
})
|
|
8103
8145
|
});
|
|
8104
|
-
},
|
|
8146
|
+
}, Tu = ({ scanlines: e = !0, glow: t = !0, flicker: n = !0, bloom: r = !1, powered: i = !0, intensity: a = 1, className: o, onPowerStateChange: c, onPowerOn: l, onPowerOff: u }) => {
|
|
8105
8147
|
let d = f(i), [m, h] = p(i ? "on" : "off");
|
|
8106
8148
|
s(() => {
|
|
8107
8149
|
let e = d.current;
|
|
@@ -8130,32 +8172,32 @@ var xu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8130
8172
|
r && /* @__PURE__ */ b("div", { className: "eidotter-retro-effects__bloom" })
|
|
8131
8173
|
] })
|
|
8132
8174
|
});
|
|
8133
|
-
},
|
|
8175
|
+
}, Eu = {
|
|
8134
8176
|
sm: "small",
|
|
8135
8177
|
md: "medium",
|
|
8136
8178
|
lg: "large",
|
|
8137
8179
|
small: "small",
|
|
8138
8180
|
medium: "medium",
|
|
8139
8181
|
large: "large"
|
|
8140
|
-
},
|
|
8182
|
+
}, Du = {
|
|
8141
8183
|
circle: "eidotter-timeline-node--circle",
|
|
8142
8184
|
square: "eidotter-timeline-node--square",
|
|
8143
8185
|
diamond: "eidotter-timeline-node--diamond"
|
|
8144
|
-
},
|
|
8186
|
+
}, Ou = {
|
|
8145
8187
|
default: "eidotter-timeline-node--default",
|
|
8146
8188
|
primary: "eidotter-timeline-node--primary",
|
|
8147
8189
|
secondary: "eidotter-timeline-node--secondary",
|
|
8148
8190
|
accent: "eidotter-timeline-node--accent"
|
|
8149
|
-
},
|
|
8191
|
+
}, ku = {
|
|
8150
8192
|
left: "eidotter-timeline-node--label-left",
|
|
8151
8193
|
right: "eidotter-timeline-node--label-right",
|
|
8152
8194
|
top: "eidotter-timeline-node--label-top",
|
|
8153
8195
|
bottom: "eidotter-timeline-node--label-bottom"
|
|
8154
|
-
},
|
|
8155
|
-
let u =
|
|
8196
|
+
}, Au = r(({ shape: e = "circle", variant: t = "default", isActive: n = !1, label: r, labelPosition: i = "right", size: a = "md", className: o, onClick: s, ...c }, l) => {
|
|
8197
|
+
let u = Eu[a] ?? "medium";
|
|
8156
8198
|
return /* @__PURE__ */ x("div", {
|
|
8157
8199
|
ref: l,
|
|
8158
|
-
className: $("inline-flex items-center gap-2 font-dos", "eidotter-timeline-node",
|
|
8200
|
+
className: $("inline-flex items-center gap-2 font-dos", "eidotter-timeline-node", Du[e], Ou[t], `eidotter-timeline-node--${u}`, ku[i], n && "eidotter-timeline-node--active", s && "eidotter-timeline-node--interactive", o),
|
|
8159
8201
|
onClick: () => {
|
|
8160
8202
|
s && s();
|
|
8161
8203
|
},
|
|
@@ -8190,10 +8232,10 @@ var xu = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
|
|
|
8190
8232
|
]
|
|
8191
8233
|
});
|
|
8192
8234
|
});
|
|
8193
|
-
|
|
8235
|
+
Au.displayName = "TimelineNode";
|
|
8194
8236
|
//#endregion
|
|
8195
8237
|
//#region src/components/TimelineContainer/components/types.ts
|
|
8196
|
-
var
|
|
8238
|
+
var ju = [
|
|
8197
8239
|
"year",
|
|
8198
8240
|
"month",
|
|
8199
8241
|
"day",
|
|
@@ -8201,12 +8243,12 @@ var ku = [
|
|
|
8201
8243
|
];
|
|
8202
8244
|
//#endregion
|
|
8203
8245
|
//#region src/components/TimelineContainer/components/useDrillDown.ts
|
|
8204
|
-
function
|
|
8246
|
+
function Mu({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {}) {
|
|
8205
8247
|
let r = e === void 0, [i, o] = p(t), [c, l] = p([]), u = f(r);
|
|
8206
8248
|
s(() => {
|
|
8207
8249
|
u.current && !r && l([]), u.current = r;
|
|
8208
8250
|
}, [r]);
|
|
8209
|
-
let d = e ?? i, m =
|
|
8251
|
+
let d = e ?? i, m = ju.indexOf(d), h = m < ju.length - 1, g = m > 0, _ = c.length > 0 ? c[c.length - 1].periodStart : null, v = f(r), y = f(h), b = f(m), x = f(c), S = f(n);
|
|
8210
8252
|
s(() => {
|
|
8211
8253
|
v.current = r, y.current = h, b.current = m, x.current = c, S.current = n;
|
|
8212
8254
|
});
|
|
@@ -8222,7 +8264,7 @@ function Au({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
8222
8264
|
isDrillDownEnabled: r,
|
|
8223
8265
|
drillDown: a((e, t) => {
|
|
8224
8266
|
if (!v.current || !y.current) return;
|
|
8225
|
-
let n =
|
|
8267
|
+
let n = ju[b.current + 1];
|
|
8226
8268
|
n !== void 0 && (l((n) => [...n, {
|
|
8227
8269
|
periodStart: e,
|
|
8228
8270
|
label: t
|
|
@@ -8230,7 +8272,7 @@ function Au({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
8230
8272
|
}, [C]),
|
|
8231
8273
|
drillUp: a(() => {
|
|
8232
8274
|
if (!v.current || x.current.length === 0) return;
|
|
8233
|
-
let e =
|
|
8275
|
+
let e = ju[b.current - 1];
|
|
8234
8276
|
e !== void 0 && (l((e) => e.slice(0, -1)), C(e));
|
|
8235
8277
|
}, [C]),
|
|
8236
8278
|
reset: a(() => {
|
|
@@ -8240,7 +8282,7 @@ function Au({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
|
|
|
8240
8282
|
}
|
|
8241
8283
|
//#endregion
|
|
8242
8284
|
//#region src/components/TimelineContainer/components/useSelection.ts
|
|
8243
|
-
function
|
|
8285
|
+
function Nu({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntry: n } = {}) {
|
|
8244
8286
|
let [r, i] = p(t), o = e !== void 0, c = e === void 0 ? r : e, l = f(c), u = f(o), d = f(n);
|
|
8245
8287
|
s(() => {
|
|
8246
8288
|
l.current = c, u.current = o, d.current = n;
|
|
@@ -8266,7 +8308,7 @@ function ju({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntr
|
|
|
8266
8308
|
}
|
|
8267
8309
|
//#endregion
|
|
8268
8310
|
//#region src/components/TimelineContainer/components/timelineUtils.ts
|
|
8269
|
-
var
|
|
8311
|
+
var Pu = [
|
|
8270
8312
|
"January",
|
|
8271
8313
|
"February",
|
|
8272
8314
|
"March",
|
|
@@ -8279,7 +8321,7 @@ var Mu = [
|
|
|
8279
8321
|
"October",
|
|
8280
8322
|
"November",
|
|
8281
8323
|
"December"
|
|
8282
|
-
],
|
|
8324
|
+
], Fu = [
|
|
8283
8325
|
"Jan",
|
|
8284
8326
|
"Feb",
|
|
8285
8327
|
"Mar",
|
|
@@ -8293,48 +8335,48 @@ var Mu = [
|
|
|
8293
8335
|
"Nov",
|
|
8294
8336
|
"Dec"
|
|
8295
8337
|
];
|
|
8296
|
-
function
|
|
8338
|
+
function Iu(e) {
|
|
8297
8339
|
return new Date(e).getUTCFullYear();
|
|
8298
8340
|
}
|
|
8299
|
-
function
|
|
8341
|
+
function Lu(e) {
|
|
8300
8342
|
return new Date(e).getUTCMonth();
|
|
8301
8343
|
}
|
|
8302
|
-
function
|
|
8344
|
+
function Ru(e) {
|
|
8303
8345
|
return new Date(e).getUTCDate();
|
|
8304
8346
|
}
|
|
8305
|
-
function
|
|
8347
|
+
function zu(e) {
|
|
8306
8348
|
return new Date(e).getUTCHours();
|
|
8307
8349
|
}
|
|
8308
|
-
function
|
|
8350
|
+
function Bu(e) {
|
|
8309
8351
|
return String(e);
|
|
8310
8352
|
}
|
|
8311
|
-
function
|
|
8312
|
-
return `${
|
|
8353
|
+
function Vu(e, t) {
|
|
8354
|
+
return `${Pu[t]} ${e}`;
|
|
8313
8355
|
}
|
|
8314
|
-
function
|
|
8315
|
-
return `${
|
|
8356
|
+
function Hu(e, t, n) {
|
|
8357
|
+
return `${Fu[t]} ${n}`;
|
|
8316
8358
|
}
|
|
8317
|
-
function
|
|
8359
|
+
function Uu(e, t, n, r) {
|
|
8318
8360
|
let i = r >= 12 ? "pm" : "am", a = r === 0 ? 12 : r > 12 ? r - 12 : r;
|
|
8319
|
-
return `${
|
|
8361
|
+
return `${Fu[t]} ${n}, ${a}${i}`;
|
|
8320
8362
|
}
|
|
8321
|
-
function
|
|
8322
|
-
let t = new Date(e), n =
|
|
8363
|
+
function Wu(e) {
|
|
8364
|
+
let t = new Date(e), n = Fu[t.getUTCMonth()], r = t.getUTCDate(), i = t.getUTCFullYear(), a = t.getUTCHours(), o = t.getUTCMinutes(), s = a >= 12 ? "pm" : "am";
|
|
8323
8365
|
return `${n} ${r}, ${i} at ${a === 0 ? 12 : a > 12 ? a - 12 : a}${o > 0 ? `:${String(o).padStart(2, "0")}` : ""}${s}`;
|
|
8324
8366
|
}
|
|
8325
|
-
function
|
|
8367
|
+
function Gu(e) {
|
|
8326
8368
|
return new Date(Date.UTC(e, 0, 1)).toISOString();
|
|
8327
8369
|
}
|
|
8328
|
-
function
|
|
8370
|
+
function Ku(e, t) {
|
|
8329
8371
|
return new Date(Date.UTC(e, t, 1)).toISOString();
|
|
8330
8372
|
}
|
|
8331
|
-
function
|
|
8373
|
+
function qu(e, t, n) {
|
|
8332
8374
|
return new Date(Date.UTC(e, t, n)).toISOString();
|
|
8333
8375
|
}
|
|
8334
|
-
function
|
|
8376
|
+
function Ju(e, t, n, r) {
|
|
8335
8377
|
return new Date(Date.UTC(e, t, n, r)).toISOString();
|
|
8336
8378
|
}
|
|
8337
|
-
function
|
|
8379
|
+
function Yu(e, t, n, r, i) {
|
|
8338
8380
|
let a = /* @__PURE__ */ new Map(), o = [];
|
|
8339
8381
|
for (let n of e) {
|
|
8340
8382
|
let e = t(n), r = a.get(e);
|
|
@@ -8351,32 +8393,32 @@ function qu(e, t, n, r, i) {
|
|
|
8351
8393
|
entries: a.get(e) ?? []
|
|
8352
8394
|
}));
|
|
8353
8395
|
}
|
|
8354
|
-
function
|
|
8355
|
-
return String(
|
|
8396
|
+
function Xu(e) {
|
|
8397
|
+
return String(Iu(e.date));
|
|
8356
8398
|
}
|
|
8357
|
-
function
|
|
8358
|
-
let t =
|
|
8399
|
+
function Zu(e) {
|
|
8400
|
+
let t = Iu(e.date), n = Lu(e.date);
|
|
8359
8401
|
return `${t}-${String(n).padStart(2, "0")}`;
|
|
8360
8402
|
}
|
|
8361
|
-
function
|
|
8362
|
-
let t =
|
|
8403
|
+
function Qu(e) {
|
|
8404
|
+
let t = Iu(e.date), n = Lu(e.date), r = Ru(e.date);
|
|
8363
8405
|
return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}`;
|
|
8364
8406
|
}
|
|
8365
|
-
function
|
|
8366
|
-
let t =
|
|
8407
|
+
function $u(e) {
|
|
8408
|
+
let t = Iu(e.date), n = Lu(e.date), r = Ru(e.date), i = zu(e.date);
|
|
8367
8409
|
return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}-${String(i).padStart(2, "0")}`;
|
|
8368
8410
|
}
|
|
8369
|
-
function
|
|
8411
|
+
function ed(e) {
|
|
8370
8412
|
return { year: parseInt(e) };
|
|
8371
8413
|
}
|
|
8372
|
-
function
|
|
8414
|
+
function td(e) {
|
|
8373
8415
|
let [t, n] = e.split("-");
|
|
8374
8416
|
return {
|
|
8375
8417
|
year: parseInt(t),
|
|
8376
8418
|
month: parseInt(n)
|
|
8377
8419
|
};
|
|
8378
8420
|
}
|
|
8379
|
-
function
|
|
8421
|
+
function nd(e) {
|
|
8380
8422
|
let [t, n, r] = e.split("-");
|
|
8381
8423
|
return {
|
|
8382
8424
|
year: parseInt(t),
|
|
@@ -8384,7 +8426,7 @@ function ed(e) {
|
|
|
8384
8426
|
day: parseInt(r)
|
|
8385
8427
|
};
|
|
8386
8428
|
}
|
|
8387
|
-
function
|
|
8429
|
+
function rd(e) {
|
|
8388
8430
|
let [t, n, r, i] = e.split("-");
|
|
8389
8431
|
return {
|
|
8390
8432
|
year: parseInt(t),
|
|
@@ -8393,63 +8435,63 @@ function td(e) {
|
|
|
8393
8435
|
hour: parseInt(i)
|
|
8394
8436
|
};
|
|
8395
8437
|
}
|
|
8396
|
-
var
|
|
8438
|
+
var id = {
|
|
8397
8439
|
year: 4,
|
|
8398
8440
|
month: 7,
|
|
8399
8441
|
day: 10
|
|
8400
8442
|
};
|
|
8401
|
-
function
|
|
8443
|
+
function ad(e, t, n) {
|
|
8402
8444
|
if (t === null || n === "hour") return e;
|
|
8403
|
-
let r =
|
|
8445
|
+
let r = id[n];
|
|
8404
8446
|
if (r === void 0) return e;
|
|
8405
8447
|
let i = t.slice(0, r);
|
|
8406
8448
|
return e.filter((e) => e.periodStart.slice(0, r) === i);
|
|
8407
8449
|
}
|
|
8408
|
-
function
|
|
8450
|
+
function od(e, t, n = "desc") {
|
|
8409
8451
|
if (e.length === 0) return [];
|
|
8410
8452
|
let r = e.filter((e) => !isNaN(new Date(e.date).getTime()));
|
|
8411
8453
|
if (r.length === 0) return [];
|
|
8412
8454
|
switch (t) {
|
|
8413
|
-
case "year": return
|
|
8414
|
-
let { year: t } =
|
|
8415
|
-
return
|
|
8455
|
+
case "year": return Yu(r, Xu, (e) => {
|
|
8456
|
+
let { year: t } = ed(e);
|
|
8457
|
+
return Bu(t);
|
|
8416
8458
|
}, (e) => {
|
|
8417
|
-
let { year: t } =
|
|
8418
|
-
return
|
|
8459
|
+
let { year: t } = ed(e);
|
|
8460
|
+
return Gu(t);
|
|
8419
8461
|
}, n);
|
|
8420
|
-
case "month": return
|
|
8421
|
-
let { year: t, month: n } =
|
|
8422
|
-
return
|
|
8462
|
+
case "month": return Yu(r, Zu, (e) => {
|
|
8463
|
+
let { year: t, month: n } = td(e);
|
|
8464
|
+
return Vu(t, n);
|
|
8423
8465
|
}, (e) => {
|
|
8424
|
-
let { year: t, month: n } =
|
|
8425
|
-
return
|
|
8466
|
+
let { year: t, month: n } = td(e);
|
|
8467
|
+
return Ku(t, n);
|
|
8426
8468
|
}, n);
|
|
8427
|
-
case "day": return
|
|
8428
|
-
let { year: t, month: n, day: r } =
|
|
8429
|
-
return
|
|
8469
|
+
case "day": return Yu(r, Qu, (e) => {
|
|
8470
|
+
let { year: t, month: n, day: r } = nd(e);
|
|
8471
|
+
return Hu(t, n, r);
|
|
8430
8472
|
}, (e) => {
|
|
8431
|
-
let { year: t, month: n, day: r } =
|
|
8432
|
-
return
|
|
8473
|
+
let { year: t, month: n, day: r } = nd(e);
|
|
8474
|
+
return qu(t, n, r);
|
|
8433
8475
|
}, n);
|
|
8434
|
-
case "hour": return
|
|
8435
|
-
let { year: t, month: n, day: r, hour: i } =
|
|
8436
|
-
return
|
|
8476
|
+
case "hour": return Yu(r, $u, (e) => {
|
|
8477
|
+
let { year: t, month: n, day: r, hour: i } = rd(e);
|
|
8478
|
+
return Uu(t, n, r, i);
|
|
8437
8479
|
}, (e) => {
|
|
8438
|
-
let { year: t, month: n, day: r, hour: i } =
|
|
8439
|
-
return
|
|
8480
|
+
let { year: t, month: n, day: r, hour: i } = rd(e);
|
|
8481
|
+
return Ju(t, n, r, i);
|
|
8440
8482
|
}, n);
|
|
8441
8483
|
}
|
|
8442
8484
|
}
|
|
8443
8485
|
//#endregion
|
|
8444
8486
|
//#region src/components/TimelineContainer/components/ZoomControls.tsx
|
|
8445
|
-
var
|
|
8487
|
+
var sd = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i, onReset: a, breadcrumbs: o = [], onBreadcrumbClick: s }) => {
|
|
8446
8488
|
let c = o.length > 0;
|
|
8447
8489
|
return /* @__PURE__ */ x("div", {
|
|
8448
8490
|
className: "timeline-zoom-controls",
|
|
8449
8491
|
role: "toolbar",
|
|
8450
8492
|
"aria-label": "Timeline zoom controls",
|
|
8451
8493
|
children: [
|
|
8452
|
-
/* @__PURE__ */ b(
|
|
8494
|
+
/* @__PURE__ */ b(eu, {
|
|
8453
8495
|
variant: "secondary",
|
|
8454
8496
|
size: "small",
|
|
8455
8497
|
onClick: i,
|
|
@@ -8457,7 +8499,7 @@ var ad = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8457
8499
|
"aria-label": "Zoom out",
|
|
8458
8500
|
children: "[-]"
|
|
8459
8501
|
}),
|
|
8460
|
-
c ? /* @__PURE__ */ b(
|
|
8502
|
+
c ? /* @__PURE__ */ b(wu, {
|
|
8461
8503
|
trail: [{
|
|
8462
8504
|
label: "ALL",
|
|
8463
8505
|
onClick: a
|
|
@@ -8473,13 +8515,13 @@ var ad = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8473
8515
|
className: "timeline-zoom-controls__level",
|
|
8474
8516
|
onPress: a,
|
|
8475
8517
|
"aria-label": `Current zoom: ${e}. Click to reset.`,
|
|
8476
|
-
children: /* @__PURE__ */ b(
|
|
8518
|
+
children: /* @__PURE__ */ b(xu, {
|
|
8477
8519
|
variant: "accent",
|
|
8478
8520
|
size: "medium",
|
|
8479
8521
|
children: e.toUpperCase()
|
|
8480
8522
|
})
|
|
8481
8523
|
}),
|
|
8482
|
-
/* @__PURE__ */ b(
|
|
8524
|
+
/* @__PURE__ */ b(eu, {
|
|
8483
8525
|
variant: "secondary",
|
|
8484
8526
|
size: "small",
|
|
8485
8527
|
onClick: r,
|
|
@@ -8489,7 +8531,7 @@ var ad = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8489
8531
|
})
|
|
8490
8532
|
]
|
|
8491
8533
|
});
|
|
8492
|
-
},
|
|
8534
|
+
}, cd = ({ children: e }) => /* @__PURE__ */ x("div", {
|
|
8493
8535
|
className: "timeline-axis",
|
|
8494
8536
|
children: [/* @__PURE__ */ b("div", {
|
|
8495
8537
|
className: "timeline-axis__line",
|
|
@@ -8498,7 +8540,7 @@ var ad = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8498
8540
|
className: "timeline-axis__content",
|
|
8499
8541
|
children: e
|
|
8500
8542
|
})]
|
|
8501
|
-
}),
|
|
8543
|
+
}), ld = e.memo(({ buckets: e, onBucketClick: t }) => /* @__PURE__ */ b("div", {
|
|
8502
8544
|
className: "timeline-view timeline-view--year",
|
|
8503
8545
|
role: "list",
|
|
8504
8546
|
children: e.map((e) => /* @__PURE__ */ b("div", {
|
|
@@ -8509,7 +8551,7 @@ var ad = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8509
8551
|
onPress: () => t(e),
|
|
8510
8552
|
children: [/* @__PURE__ */ b("div", {
|
|
8511
8553
|
className: "timeline-view__node",
|
|
8512
|
-
children: /* @__PURE__ */ b(
|
|
8554
|
+
children: /* @__PURE__ */ b(Au, {
|
|
8513
8555
|
shape: "circle",
|
|
8514
8556
|
size: "medium",
|
|
8515
8557
|
variant: "default",
|
|
@@ -8518,7 +8560,7 @@ var ad = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8518
8560
|
})
|
|
8519
8561
|
}), /* @__PURE__ */ b("div", {
|
|
8520
8562
|
className: "timeline-view__content",
|
|
8521
|
-
children: /* @__PURE__ */ x(
|
|
8563
|
+
children: /* @__PURE__ */ x(xu, {
|
|
8522
8564
|
variant: "default",
|
|
8523
8565
|
size: "small",
|
|
8524
8566
|
children: [
|
|
@@ -8530,7 +8572,7 @@ var ad = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8530
8572
|
})]
|
|
8531
8573
|
}) : /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
|
|
8532
8574
|
className: "timeline-view__node",
|
|
8533
|
-
children: /* @__PURE__ */ b(
|
|
8575
|
+
children: /* @__PURE__ */ b(Au, {
|
|
8534
8576
|
shape: "circle",
|
|
8535
8577
|
size: "medium",
|
|
8536
8578
|
variant: "default",
|
|
@@ -8539,7 +8581,7 @@ var ad = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8539
8581
|
})
|
|
8540
8582
|
}), /* @__PURE__ */ b("div", {
|
|
8541
8583
|
className: "timeline-view__content",
|
|
8542
|
-
children: /* @__PURE__ */ x(
|
|
8584
|
+
children: /* @__PURE__ */ x(xu, {
|
|
8543
8585
|
variant: "default",
|
|
8544
8586
|
size: "small",
|
|
8545
8587
|
children: [
|
|
@@ -8551,10 +8593,10 @@ var ad = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
|
|
|
8551
8593
|
})] })
|
|
8552
8594
|
}, e.periodStart))
|
|
8553
8595
|
}));
|
|
8554
|
-
|
|
8596
|
+
ld.displayName = "YearView";
|
|
8555
8597
|
//#endregion
|
|
8556
8598
|
//#region src/components/Lightbox/components/Lightbox.tsx
|
|
8557
|
-
var
|
|
8599
|
+
var ud = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange: o }) => {
|
|
8558
8600
|
let c = t.length === 0 ? 0 : Math.max(0, Math.min(n, t.length - 1)), [l, u] = p(c);
|
|
8559
8601
|
s(() => {
|
|
8560
8602
|
r && u(c);
|
|
@@ -8604,7 +8646,7 @@ var cd = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
|
|
|
8604
8646
|
className: "eidotter-lightbox__close",
|
|
8605
8647
|
onPress: i,
|
|
8606
8648
|
"aria-label": "Close lightbox",
|
|
8607
|
-
children: /* @__PURE__ */ b(
|
|
8649
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
8608
8650
|
name: "Close",
|
|
8609
8651
|
size: "S"
|
|
8610
8652
|
})
|
|
@@ -8654,19 +8696,19 @@ var cd = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
|
|
|
8654
8696
|
})
|
|
8655
8697
|
});
|
|
8656
8698
|
};
|
|
8657
|
-
|
|
8699
|
+
ud.displayName = "Lightbox";
|
|
8658
8700
|
//#endregion
|
|
8659
8701
|
//#region src/utils/isSafeHref.ts
|
|
8660
|
-
var
|
|
8661
|
-
function
|
|
8702
|
+
var dd = /^(?:https?:|mailto:)/i;
|
|
8703
|
+
function fd(e) {
|
|
8662
8704
|
if (typeof e != "string") return !1;
|
|
8663
8705
|
let t = e.trim();
|
|
8664
|
-
return t.length === 0 ? !1 : /^[a-z][a-z0-9+\-.]*:/i.test(t) ?
|
|
8706
|
+
return t.length === 0 ? !1 : /^[a-z][a-z0-9+\-.]*:/i.test(t) ? dd.test(t) : !0;
|
|
8665
8707
|
}
|
|
8666
8708
|
//#endregion
|
|
8667
8709
|
//#region src/components/TimelineContainer/components/variants/TimelineEntryCardImage.tsx
|
|
8668
|
-
var
|
|
8669
|
-
let [r, i] = p(!1), { image: a } = e, o = a.thumbnail || a.src, c = a.link &&
|
|
8710
|
+
var pd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
8711
|
+
let [r, i] = p(!1), { image: a } = e, o = a.thumbnail || a.src, c = a.link && fd(a.link) ? a.link : void 0;
|
|
8670
8712
|
return s(() => {
|
|
8671
8713
|
t || i(!1);
|
|
8672
8714
|
}, [t]), c ? /* @__PURE__ */ x("a", {
|
|
@@ -8714,17 +8756,19 @@ var dd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8714
8756
|
height: a.height
|
|
8715
8757
|
})
|
|
8716
8758
|
}),
|
|
8717
|
-
/* @__PURE__ */ b(
|
|
8759
|
+
/* @__PURE__ */ b(ud, {
|
|
8718
8760
|
images: [a],
|
|
8719
8761
|
isOpen: r,
|
|
8720
8762
|
onClose: () => i(!1)
|
|
8721
8763
|
})
|
|
8722
8764
|
] });
|
|
8723
|
-
},
|
|
8765
|
+
}, md = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
8724
8766
|
let [r, i] = p({ phase: "grid" });
|
|
8725
8767
|
if (s(() => {
|
|
8726
8768
|
t || i({ phase: "grid" });
|
|
8727
|
-
}, [t]),
|
|
8769
|
+
}, [t]), s(() => {
|
|
8770
|
+
i((t) => t.phase === "grid" ? t : t.index >= e.images.length ? { phase: "grid" } : t);
|
|
8771
|
+
}, [e.images.length]), e.images.length === 0) return process.env.NODE_ENV !== "production" && console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`), /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("p", {
|
|
8728
8772
|
className: "eidotter-timeline-card__title",
|
|
8729
8773
|
children: e.title
|
|
8730
8774
|
}), /* @__PURE__ */ b("p", {
|
|
@@ -8732,18 +8776,14 @@ var dd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8732
8776
|
children: "No images."
|
|
8733
8777
|
})] });
|
|
8734
8778
|
let a = (e, t) => {
|
|
8735
|
-
t.link &&
|
|
8779
|
+
t.link && fd(t.link) || i((t) => t.phase === "focused" && t.index === e ? {
|
|
8736
8780
|
phase: "lightbox",
|
|
8737
8781
|
index: e
|
|
8738
8782
|
} : {
|
|
8739
8783
|
phase: "focused",
|
|
8740
8784
|
index: e
|
|
8741
8785
|
});
|
|
8742
|
-
};
|
|
8743
|
-
s(() => {
|
|
8744
|
-
i((t) => t.phase === "grid" ? t : t.index >= e.images.length ? { phase: "grid" } : t);
|
|
8745
|
-
}, [e.images.length]);
|
|
8746
|
-
let o = r.phase === "focused" || r.phase === "lightbox" ? r.index : null;
|
|
8786
|
+
}, o = r.phase === "focused" || r.phase === "lightbox" ? r.index : null;
|
|
8747
8787
|
return /* @__PURE__ */ x(y, { children: [
|
|
8748
8788
|
/* @__PURE__ */ b(K, {
|
|
8749
8789
|
className: "eidotter-timeline-card__trigger",
|
|
@@ -8757,13 +8797,13 @@ var dd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8757
8797
|
/* @__PURE__ */ b("div", {
|
|
8758
8798
|
className: "eidotter-timeline-card-gallery__grid",
|
|
8759
8799
|
role: "list",
|
|
8760
|
-
children: e.images.map((e, t) => /* @__PURE__ */ b(
|
|
8800
|
+
children: e.images.map((e, t) => /* @__PURE__ */ b(hd, {
|
|
8761
8801
|
image: e,
|
|
8762
8802
|
isFocused: o === t,
|
|
8763
8803
|
onClick: () => a(t, e)
|
|
8764
8804
|
}, t))
|
|
8765
8805
|
}),
|
|
8766
|
-
/* @__PURE__ */ b(
|
|
8806
|
+
/* @__PURE__ */ b(ud, {
|
|
8767
8807
|
images: e.images,
|
|
8768
8808
|
isOpen: r.phase === "lightbox",
|
|
8769
8809
|
initialIndex: r.phase === "lightbox" ? r.index : 0,
|
|
@@ -8781,8 +8821,8 @@ var dd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8781
8821
|
}
|
|
8782
8822
|
})
|
|
8783
8823
|
] });
|
|
8784
|
-
},
|
|
8785
|
-
let r = e.thumbnail || e.src, i = e.link &&
|
|
8824
|
+
}, hd = ({ image: e, isFocused: t, onClick: n }) => {
|
|
8825
|
+
let r = e.thumbnail || e.src, i = e.link && fd(e.link) ? e.link : void 0;
|
|
8786
8826
|
return i ? /* @__PURE__ */ b("div", {
|
|
8787
8827
|
role: "listitem",
|
|
8788
8828
|
className: "eidotter-timeline-card-gallery__cell eidotter-timeline-card-gallery__cell--link",
|
|
@@ -8815,39 +8855,39 @@ var dd = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
8815
8855
|
})
|
|
8816
8856
|
})
|
|
8817
8857
|
});
|
|
8818
|
-
},
|
|
8858
|
+
}, gd = e.memo(({ entry: e, isSelected: t, isExpanded: n = !1, onSelect: r, footer: i, children: a }) => /* @__PURE__ */ x("div", {
|
|
8819
8859
|
className: $("eidotter-timeline-card", t && "eidotter-timeline-card--selected", n && "eidotter-timeline-card--expanded"),
|
|
8820
|
-
children: [
|
|
8860
|
+
children: [_d(e, n, r, a), i && /* @__PURE__ */ b("div", {
|
|
8821
8861
|
className: "eidotter-timeline-card__footer",
|
|
8822
8862
|
children: i
|
|
8823
8863
|
})]
|
|
8824
8864
|
}));
|
|
8825
|
-
|
|
8826
|
-
function
|
|
8865
|
+
gd.displayName = "TimelineEntryCard";
|
|
8866
|
+
function _d(e, t, n, r) {
|
|
8827
8867
|
switch (e.kind) {
|
|
8828
|
-
case "text": return /* @__PURE__ */ b(
|
|
8868
|
+
case "text": return /* @__PURE__ */ b(yd, {
|
|
8829
8869
|
entry: e,
|
|
8830
8870
|
isExpanded: t,
|
|
8831
8871
|
onSelect: n,
|
|
8832
8872
|
children: r
|
|
8833
8873
|
});
|
|
8834
|
-
case "image": return /* @__PURE__ */ b(
|
|
8874
|
+
case "image": return /* @__PURE__ */ b(pd, {
|
|
8835
8875
|
entry: e,
|
|
8836
8876
|
isExpanded: t,
|
|
8837
8877
|
onSelect: n
|
|
8838
8878
|
});
|
|
8839
|
-
case "gallery": return /* @__PURE__ */ b(
|
|
8879
|
+
case "gallery": return /* @__PURE__ */ b(md, {
|
|
8840
8880
|
entry: e,
|
|
8841
8881
|
isExpanded: t,
|
|
8842
8882
|
onSelect: n
|
|
8843
8883
|
});
|
|
8844
|
-
default: return
|
|
8884
|
+
default: return vd(e);
|
|
8845
8885
|
}
|
|
8846
8886
|
}
|
|
8847
|
-
function
|
|
8887
|
+
function vd(e) {
|
|
8848
8888
|
throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`);
|
|
8849
8889
|
}
|
|
8850
|
-
var
|
|
8890
|
+
var yd = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
8851
8891
|
let i = typeof e.content == "string", a = e.content != null;
|
|
8852
8892
|
return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ x(K, {
|
|
8853
8893
|
className: "eidotter-timeline-card__trigger",
|
|
@@ -8885,7 +8925,7 @@ var _d = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
8885
8925
|
children: e.content
|
|
8886
8926
|
})
|
|
8887
8927
|
})] });
|
|
8888
|
-
},
|
|
8928
|
+
}, bd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => /* @__PURE__ */ b("div", {
|
|
8889
8929
|
className: "timeline-view timeline-view--month",
|
|
8890
8930
|
role: "list",
|
|
8891
8931
|
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
@@ -8893,7 +8933,7 @@ var _d = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
8893
8933
|
role: "listitem",
|
|
8894
8934
|
children: [/* @__PURE__ */ b("div", {
|
|
8895
8935
|
className: "timeline-view__node",
|
|
8896
|
-
children: /* @__PURE__ */ b(
|
|
8936
|
+
children: /* @__PURE__ */ b(Au, {
|
|
8897
8937
|
shape: "circle",
|
|
8898
8938
|
size: "medium",
|
|
8899
8939
|
variant: "default",
|
|
@@ -8904,7 +8944,7 @@ var _d = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
8904
8944
|
}), /* @__PURE__ */ b("div", {
|
|
8905
8945
|
className: "timeline-view__content",
|
|
8906
8946
|
children: t.entries.map((t) => {
|
|
8907
|
-
let i = n === t.id, o = () => /* @__PURE__ */ b(
|
|
8947
|
+
let i = n === t.id, o = () => /* @__PURE__ */ b(gd, {
|
|
8908
8948
|
entry: t,
|
|
8909
8949
|
isSelected: i,
|
|
8910
8950
|
isExpanded: i,
|
|
@@ -8919,29 +8959,29 @@ var _d = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
8919
8959
|
})]
|
|
8920
8960
|
}, t.periodStart))
|
|
8921
8961
|
}));
|
|
8922
|
-
|
|
8962
|
+
bd.displayName = "MonthView";
|
|
8923
8963
|
//#endregion
|
|
8924
8964
|
//#region src/components/Tag/components/Tag.tsx
|
|
8925
|
-
var
|
|
8965
|
+
var xd = {
|
|
8926
8966
|
sm: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
8927
8967
|
md: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5",
|
|
8928
8968
|
lg: "text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5",
|
|
8929
8969
|
small: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
8930
8970
|
medium: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5"
|
|
8931
|
-
},
|
|
8932
|
-
let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } =
|
|
8971
|
+
}, Sd = ({ children: e, variant: t = "default", size: n = "md", color: r, selected: i = !1, closeable: a = !1, disabled: o = !1, onClick: s, onClose: c, className: l, "aria-label": u, ...d }) => {
|
|
8972
|
+
let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } = Wl("tag-exit", c), g = (e) => {
|
|
8933
8973
|
o || ((e.key === "Enter" || e.key === " ") && s && (e.preventDefault(), s(e)), (e.key === "Delete" || e.key === "Backspace") && a && c && (e.preventDefault(), m()));
|
|
8934
8974
|
}, _ = () => {
|
|
8935
8975
|
o || m();
|
|
8936
8976
|
}, v = r ? { "--tag-color": "var(" + r + ")" } : void 0;
|
|
8937
8977
|
return /* @__PURE__ */ x("span", {
|
|
8938
|
-
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider",
|
|
8978
|
+
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider", xd[n] || xd.md, "eidotter-tag", "eidotter-tag--" + t, i && "eidotter-tag--selected", o && "opacity-50 cursor-not-allowed", p && "eidotter-tag--closing", f && "cursor-pointer", l),
|
|
8939
8979
|
style: v,
|
|
8940
8980
|
onClick: f ? (e) => !o && s?.(e) : void 0,
|
|
8941
8981
|
onKeyDown: g,
|
|
8942
8982
|
onAnimationEnd: h,
|
|
8943
8983
|
"aria-label": u,
|
|
8944
|
-
"aria-
|
|
8984
|
+
"aria-pressed": f ? i || !1 : void 0,
|
|
8945
8985
|
"aria-disabled": o || void 0,
|
|
8946
8986
|
"data-variant": t,
|
|
8947
8987
|
...f ? {
|
|
@@ -8961,17 +9001,17 @@ var yd = {
|
|
|
8961
9001
|
children: "[x]"
|
|
8962
9002
|
})]
|
|
8963
9003
|
});
|
|
8964
|
-
},
|
|
9004
|
+
}, Cd = {
|
|
8965
9005
|
tight: "gap-1",
|
|
8966
9006
|
normal: "gap-2",
|
|
8967
9007
|
loose: "gap-3"
|
|
8968
|
-
},
|
|
8969
|
-
className: $("flex", n ? "flex-wrap" : "flex-nowrap",
|
|
9008
|
+
}, wd = ({ children: e, gap: t = "normal", wrap: n = !0, className: r, "aria-label": i, ...a }) => /* @__PURE__ */ b("div", {
|
|
9009
|
+
className: $("flex", n ? "flex-wrap" : "flex-nowrap", Cd[t] || Cd.normal, r),
|
|
8970
9010
|
role: "group",
|
|
8971
9011
|
"aria-label": i,
|
|
8972
9012
|
...a,
|
|
8973
9013
|
children: e
|
|
8974
|
-
}),
|
|
9014
|
+
}), Td = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ b("div", {
|
|
8975
9015
|
className: "timeline-view timeline-view--day",
|
|
8976
9016
|
role: "list",
|
|
8977
9017
|
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
@@ -8979,7 +9019,7 @@ var yd = {
|
|
|
8979
9019
|
role: "listitem",
|
|
8980
9020
|
children: [/* @__PURE__ */ b("div", {
|
|
8981
9021
|
className: "timeline-view__node",
|
|
8982
|
-
children: /* @__PURE__ */ b(
|
|
9022
|
+
children: /* @__PURE__ */ b(Au, {
|
|
8983
9023
|
shape: "circle",
|
|
8984
9024
|
size: "medium",
|
|
8985
9025
|
variant: "default",
|
|
@@ -8989,15 +9029,15 @@ var yd = {
|
|
|
8989
9029
|
}), /* @__PURE__ */ b("div", {
|
|
8990
9030
|
className: "timeline-view__content",
|
|
8991
9031
|
children: t.entries.map((t) => {
|
|
8992
|
-
let a = n === t.id, o = () => /* @__PURE__ */ b(
|
|
9032
|
+
let a = n === t.id, o = () => /* @__PURE__ */ b(gd, {
|
|
8993
9033
|
entry: t,
|
|
8994
9034
|
isSelected: a,
|
|
8995
9035
|
isExpanded: a,
|
|
8996
9036
|
onSelect: r,
|
|
8997
|
-
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ b(
|
|
9037
|
+
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ b(wd, {
|
|
8998
9038
|
gap: "tight",
|
|
8999
9039
|
"aria-label": `Tags for ${t.title}`,
|
|
9000
|
-
children: t.tags.map((e) => /* @__PURE__ */ b(
|
|
9040
|
+
children: t.tags.map((e) => /* @__PURE__ */ b(Sd, {
|
|
9001
9041
|
size: "small",
|
|
9002
9042
|
variant: "outlined",
|
|
9003
9043
|
children: e
|
|
@@ -9013,10 +9053,10 @@ var yd = {
|
|
|
9013
9053
|
})]
|
|
9014
9054
|
}, t.periodStart))
|
|
9015
9055
|
}));
|
|
9016
|
-
|
|
9056
|
+
Td.displayName = "DayView";
|
|
9017
9057
|
//#endregion
|
|
9018
9058
|
//#region src/components/TimelineContainer/components/views/HourView.tsx
|
|
9019
|
-
var
|
|
9059
|
+
var Ed = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ b("div", {
|
|
9020
9060
|
className: "timeline-view timeline-view--hour",
|
|
9021
9061
|
role: "list",
|
|
9022
9062
|
children: t.map((t) => /* @__PURE__ */ x("div", {
|
|
@@ -9024,7 +9064,7 @@ var wd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9024
9064
|
role: "listitem",
|
|
9025
9065
|
children: [/* @__PURE__ */ b("div", {
|
|
9026
9066
|
className: "timeline-view__node",
|
|
9027
|
-
children: /* @__PURE__ */ b(
|
|
9067
|
+
children: /* @__PURE__ */ b(Au, {
|
|
9028
9068
|
shape: "circle",
|
|
9029
9069
|
size: "medium",
|
|
9030
9070
|
variant: "default",
|
|
@@ -9034,22 +9074,22 @@ var wd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9034
9074
|
}), /* @__PURE__ */ b("div", {
|
|
9035
9075
|
className: "timeline-view__content",
|
|
9036
9076
|
children: t.entries.map((t) => {
|
|
9037
|
-
let a = n === t.id, o = () => /* @__PURE__ */ x(
|
|
9077
|
+
let a = n === t.id, o = () => /* @__PURE__ */ x(gd, {
|
|
9038
9078
|
entry: t,
|
|
9039
9079
|
isSelected: a,
|
|
9040
9080
|
isExpanded: !0,
|
|
9041
9081
|
onSelect: r,
|
|
9042
9082
|
footer: /* @__PURE__ */ x("div", {
|
|
9043
9083
|
className: "timeline-view__entry-footer",
|
|
9044
|
-
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ b(
|
|
9084
|
+
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ b(wd, {
|
|
9045
9085
|
gap: "tight",
|
|
9046
9086
|
"aria-label": `Tags for ${t.title}`,
|
|
9047
|
-
children: t.tags.map((e) => /* @__PURE__ */ b(
|
|
9087
|
+
children: t.tags.map((e) => /* @__PURE__ */ b(Sd, {
|
|
9048
9088
|
size: "small",
|
|
9049
9089
|
variant: "outlined",
|
|
9050
9090
|
children: e
|
|
9051
9091
|
}, e))
|
|
9052
|
-
}), t.type && /* @__PURE__ */ b(
|
|
9092
|
+
}), t.type && /* @__PURE__ */ b(xu, {
|
|
9053
9093
|
variant: "default",
|
|
9054
9094
|
size: "small",
|
|
9055
9095
|
children: t.type
|
|
@@ -9058,7 +9098,7 @@ var wd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9058
9098
|
children: [/* @__PURE__ */ b("time", {
|
|
9059
9099
|
className: "timeline-view__timestamp",
|
|
9060
9100
|
dateTime: t.date,
|
|
9061
|
-
children:
|
|
9101
|
+
children: Wu(t.date)
|
|
9062
9102
|
}), t.kind === "text" && t.content !== void 0 && /* @__PURE__ */ b("div", {
|
|
9063
9103
|
className: "timeline-view__entry-content",
|
|
9064
9104
|
children: t.content
|
|
@@ -9073,29 +9113,29 @@ var wd = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
9073
9113
|
})]
|
|
9074
9114
|
}, t.periodStart))
|
|
9075
9115
|
}));
|
|
9076
|
-
|
|
9116
|
+
Ed.displayName = "HourView";
|
|
9077
9117
|
//#endregion
|
|
9078
9118
|
//#region src/components/TimelineContainer/components/TimelineContent.tsx
|
|
9079
|
-
var
|
|
9119
|
+
var Dd = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => {
|
|
9080
9120
|
switch (e) {
|
|
9081
|
-
case "year": return /* @__PURE__ */ b(
|
|
9121
|
+
case "year": return /* @__PURE__ */ b(ld, {
|
|
9082
9122
|
buckets: t,
|
|
9083
9123
|
onBucketClick: i
|
|
9084
9124
|
});
|
|
9085
|
-
case "month": return /* @__PURE__ */ b(
|
|
9125
|
+
case "month": return /* @__PURE__ */ b(bd, {
|
|
9086
9126
|
buckets: t,
|
|
9087
9127
|
selectedEntryId: n,
|
|
9088
9128
|
onEntrySelect: r,
|
|
9089
9129
|
onBucketClick: i,
|
|
9090
9130
|
renderEntry: a
|
|
9091
9131
|
});
|
|
9092
|
-
case "day": return /* @__PURE__ */ b(
|
|
9132
|
+
case "day": return /* @__PURE__ */ b(Td, {
|
|
9093
9133
|
buckets: t,
|
|
9094
9134
|
selectedEntryId: n,
|
|
9095
9135
|
onEntrySelect: r,
|
|
9096
9136
|
renderEntry: a
|
|
9097
9137
|
});
|
|
9098
|
-
case "hour": return /* @__PURE__ */ b(
|
|
9138
|
+
case "hour": return /* @__PURE__ */ b(Ed, {
|
|
9099
9139
|
buckets: t,
|
|
9100
9140
|
selectedEntryId: n,
|
|
9101
9141
|
onEntrySelect: r,
|
|
@@ -9103,16 +9143,16 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9103
9143
|
});
|
|
9104
9144
|
default: return e;
|
|
9105
9145
|
}
|
|
9106
|
-
},
|
|
9107
|
-
let S = t === "static", C = t === "feed", w = S || C, T = f(null), E = f(null), [D, O] = p(""), { zoomLevel: k, canZoomIn: A, canZoomOut: j, breadcrumbs: M, currentPeriod: N, isDrillDownEnabled: ee, drillDown: te, drillUp: P, reset: ne } =
|
|
9146
|
+
}, Od = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel: r = "month", onZoomChange: i, selectedEntryId: o, defaultSelectedEntryId: c, onSelectEntry: l, sortOrder: d = "desc", scrollToZoom: m = !0, keyboardShortcuts: h = !0, renderEntry: g, pageSize: _ = 10, onLoadMore: v, ...y }) => {
|
|
9147
|
+
let S = t === "static", C = t === "feed", w = S || C, T = f(null), E = f(null), [D, O] = p(""), { zoomLevel: k, canZoomIn: A, canZoomOut: j, breadcrumbs: M, currentPeriod: N, isDrillDownEnabled: ee, drillDown: te, drillUp: P, reset: ne } = Mu({
|
|
9108
9148
|
zoomLevel: n,
|
|
9109
9149
|
defaultZoomLevel: r,
|
|
9110
9150
|
onZoomChange: i
|
|
9111
|
-
}), { selectedEntryId: re, toggle: F, deselect: ie } =
|
|
9151
|
+
}), { selectedEntryId: re, toggle: F, deselect: ie } = Nu({
|
|
9112
9152
|
selectedEntryId: o,
|
|
9113
9153
|
defaultSelectedEntryId: c,
|
|
9114
9154
|
onSelectEntry: l
|
|
9115
|
-
}), I = u(() =>
|
|
9155
|
+
}), I = u(() => od(e, k, d), [
|
|
9116
9156
|
e,
|
|
9117
9157
|
k,
|
|
9118
9158
|
d
|
|
@@ -9121,7 +9161,7 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9121
9161
|
"month",
|
|
9122
9162
|
"day",
|
|
9123
9163
|
"hour"
|
|
9124
|
-
][M.length - 1] : null, ae = u(() => N && L ?
|
|
9164
|
+
][M.length - 1] : null, ae = u(() => N && L ? ad(I, N, L) : I, [
|
|
9125
9165
|
I,
|
|
9126
9166
|
N,
|
|
9127
9167
|
L
|
|
@@ -9229,7 +9269,7 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9229
9269
|
"aria-atomic": "true",
|
|
9230
9270
|
children: D
|
|
9231
9271
|
}),
|
|
9232
|
-
!w && /* @__PURE__ */ b(
|
|
9272
|
+
!w && /* @__PURE__ */ b(sd, {
|
|
9233
9273
|
zoomLevel: k,
|
|
9234
9274
|
canZoomIn: A,
|
|
9235
9275
|
canZoomOut: j,
|
|
@@ -9248,12 +9288,12 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9248
9288
|
className: "eidotter-timeline-container__empty",
|
|
9249
9289
|
role: "status",
|
|
9250
9290
|
children: [/* @__PURE__ */ b("p", { children: "C:\\TIMELINE> No entries found." }), /* @__PURE__ */ b("p", { children: "_" })]
|
|
9251
|
-
}) : S ? /* @__PURE__ */ b(
|
|
9291
|
+
}) : S ? /* @__PURE__ */ b(cd, { children: /* @__PURE__ */ b("div", {
|
|
9252
9292
|
className: "eidotter-timeline-container__static",
|
|
9253
9293
|
role: "list",
|
|
9254
9294
|
"aria-label": "Timeline",
|
|
9255
9295
|
children: se.map((e) => {
|
|
9256
|
-
let t = () => /* @__PURE__ */ b(
|
|
9296
|
+
let t = () => /* @__PURE__ */ b(gd, {
|
|
9257
9297
|
entry: e,
|
|
9258
9298
|
isSelected: !1,
|
|
9259
9299
|
isExpanded: !0
|
|
@@ -9263,7 +9303,7 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9263
9303
|
role: "listitem",
|
|
9264
9304
|
children: [/* @__PURE__ */ b("div", {
|
|
9265
9305
|
className: "timeline-view__node",
|
|
9266
|
-
children: /* @__PURE__ */ b(
|
|
9306
|
+
children: /* @__PURE__ */ b(Au, {
|
|
9267
9307
|
shape: "circle",
|
|
9268
9308
|
size: "medium",
|
|
9269
9309
|
variant: "default",
|
|
@@ -9277,12 +9317,12 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9277
9317
|
}) : t()]
|
|
9278
9318
|
}, e.id);
|
|
9279
9319
|
})
|
|
9280
|
-
}) }) : C ? /* @__PURE__ */ x(
|
|
9320
|
+
}) }) : C ? /* @__PURE__ */ x(cd, { children: [/* @__PURE__ */ b("div", {
|
|
9281
9321
|
className: "eidotter-timeline-container__feed",
|
|
9282
9322
|
role: "list",
|
|
9283
9323
|
"aria-label": "Timeline",
|
|
9284
9324
|
children: ue.map((e) => {
|
|
9285
|
-
let t = re === e.id, n = () => /* @__PURE__ */ b(
|
|
9325
|
+
let t = re === e.id, n = () => /* @__PURE__ */ b(gd, {
|
|
9286
9326
|
entry: e,
|
|
9287
9327
|
isSelected: t,
|
|
9288
9328
|
isExpanded: t,
|
|
@@ -9293,7 +9333,7 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9293
9333
|
role: "listitem",
|
|
9294
9334
|
children: [/* @__PURE__ */ b("div", {
|
|
9295
9335
|
className: "timeline-view__node",
|
|
9296
|
-
children: /* @__PURE__ */ b(
|
|
9336
|
+
children: /* @__PURE__ */ b(Au, {
|
|
9297
9337
|
shape: "circle",
|
|
9298
9338
|
size: "medium",
|
|
9299
9339
|
variant: "default",
|
|
@@ -9313,7 +9353,7 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9313
9353
|
onClick: fe,
|
|
9314
9354
|
"aria-label": `Load more entries (showing ${z} of ${se.length})`,
|
|
9315
9355
|
children: "LOAD MORE..."
|
|
9316
|
-
})] }) : ae.length === 0 && N ? /* @__PURE__ */ b(
|
|
9356
|
+
})] }) : ae.length === 0 && N ? /* @__PURE__ */ b(cd, { children: /* @__PURE__ */ x("div", {
|
|
9317
9357
|
className: "eidotter-timeline-container__empty",
|
|
9318
9358
|
role: "status",
|
|
9319
9359
|
children: [/* @__PURE__ */ x("p", { children: [
|
|
@@ -9321,7 +9361,7 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9321
9361
|
M[M.length - 1]?.label ?? "this period",
|
|
9322
9362
|
"."
|
|
9323
9363
|
] }), /* @__PURE__ */ b("p", { children: "_" })]
|
|
9324
|
-
}) }) : /* @__PURE__ */ b(
|
|
9364
|
+
}) }) : /* @__PURE__ */ b(cd, { children: /* @__PURE__ */ b(Dd, {
|
|
9325
9365
|
zoomLevel: k,
|
|
9326
9366
|
buckets: ae,
|
|
9327
9367
|
selectedEntryId: re,
|
|
@@ -9332,7 +9372,7 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9332
9372
|
})
|
|
9333
9373
|
]
|
|
9334
9374
|
});
|
|
9335
|
-
},
|
|
9375
|
+
}, kd = r(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, className: o }, c) => {
|
|
9336
9376
|
let l = f(e), u = f(!1);
|
|
9337
9377
|
s(() => {
|
|
9338
9378
|
e !== l.current && (l.current = e, u.current || (t?.(e), e || n?.()), u.current = !1);
|
|
@@ -9365,7 +9405,7 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9365
9405
|
className: "eidotter-modal__close",
|
|
9366
9406
|
onPress: () => d(!1),
|
|
9367
9407
|
"aria-label": "Close modal",
|
|
9368
|
-
children: /* @__PURE__ */ b(
|
|
9408
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
9369
9409
|
name: "Close",
|
|
9370
9410
|
size: "S"
|
|
9371
9411
|
})
|
|
@@ -9384,19 +9424,19 @@ var Td = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
9384
9424
|
})
|
|
9385
9425
|
});
|
|
9386
9426
|
});
|
|
9387
|
-
|
|
9427
|
+
kd.displayName = "Modal";
|
|
9388
9428
|
//#endregion
|
|
9389
9429
|
//#region src/hooks/useTextScramble.ts
|
|
9390
|
-
var
|
|
9391
|
-
function
|
|
9392
|
-
let { speed: n = 40, characters: r =
|
|
9393
|
-
if (!i ||
|
|
9430
|
+
var Ad = "░▒▓█│┤┐└┴┬├─┼", jd = 4;
|
|
9431
|
+
function Md(e, t) {
|
|
9432
|
+
let { speed: n = 40, characters: r = Ad, enabled: i = !0, delay: a = 0 } = t ?? {}, [o, c] = p(() => {
|
|
9433
|
+
if (!i || Ul()) return e;
|
|
9394
9434
|
let t = "";
|
|
9395
9435
|
for (let n = 0; n < e.length; n++) e[n] === " " ? t += " " : t += r[Math.floor(Math.random() * r.length)];
|
|
9396
9436
|
return t;
|
|
9397
9437
|
}), [l, u] = p(!1), d = f(0);
|
|
9398
9438
|
return s(() => {
|
|
9399
|
-
if (!i ||
|
|
9439
|
+
if (!i || Ul()) {
|
|
9400
9440
|
c(e), u(!1);
|
|
9401
9441
|
return;
|
|
9402
9442
|
}
|
|
@@ -9410,7 +9450,7 @@ function Ad(e, t) {
|
|
|
9410
9450
|
return;
|
|
9411
9451
|
}
|
|
9412
9452
|
if (a >= n) {
|
|
9413
|
-
if (s = i, o++, o >=
|
|
9453
|
+
if (s = i, o++, o >= jd && (t++, o = 0), t >= e.length) {
|
|
9414
9454
|
c(e), u(!1);
|
|
9415
9455
|
return;
|
|
9416
9456
|
}
|
|
@@ -9436,7 +9476,7 @@ function Ad(e, t) {
|
|
|
9436
9476
|
}
|
|
9437
9477
|
//#endregion
|
|
9438
9478
|
//#region src/components/Stat/components/Stat.tsx
|
|
9439
|
-
var
|
|
9479
|
+
var Nd = {
|
|
9440
9480
|
sm: {
|
|
9441
9481
|
root: "gap-0.5",
|
|
9442
9482
|
label: "text-dos-text-xs",
|
|
@@ -9473,23 +9513,23 @@ var jd = {
|
|
|
9473
9513
|
value: "text-dos-display-md",
|
|
9474
9514
|
trend: "text-dos-text-md"
|
|
9475
9515
|
}
|
|
9476
|
-
},
|
|
9516
|
+
}, Pd = {
|
|
9477
9517
|
up: "text-cga-bright-green",
|
|
9478
9518
|
down: "text-cga-bright-red",
|
|
9479
9519
|
neutral: "text-cga-amber"
|
|
9480
|
-
},
|
|
9520
|
+
}, Fd = {
|
|
9481
9521
|
up: "▲",
|
|
9482
9522
|
down: "▼",
|
|
9483
9523
|
neutral: "►"
|
|
9484
|
-
},
|
|
9524
|
+
}, Id = {
|
|
9485
9525
|
up: "increasing",
|
|
9486
9526
|
down: "decreasing",
|
|
9487
9527
|
neutral: "unchanged"
|
|
9488
|
-
},
|
|
9489
|
-
let { text: l } =
|
|
9528
|
+
}, Ld = r(({ label: e, value: t, trend: n, trendValue: r, size: i = "md", scramble: a = !1, className: o, ...s }, c) => {
|
|
9529
|
+
let { text: l } = Md(String(t), {
|
|
9490
9530
|
speed: 30,
|
|
9491
9531
|
enabled: a
|
|
9492
|
-
}), u = a ? l : String(t), d =
|
|
9532
|
+
}), u = a ? l : String(t), d = Nd[i] || Nd.md;
|
|
9493
9533
|
return /* @__PURE__ */ x("div", {
|
|
9494
9534
|
ref: c,
|
|
9495
9535
|
className: $("flex flex-col font-dos", "eidotter-stat", d.root, o),
|
|
@@ -9504,12 +9544,12 @@ var jd = {
|
|
|
9504
9544
|
children: u
|
|
9505
9545
|
}),
|
|
9506
9546
|
n && /* @__PURE__ */ x("span", {
|
|
9507
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
9508
|
-
"aria-label": `Trend: ${
|
|
9547
|
+
className: $("inline-flex items-center gap-1 leading-none", Pd[n], d.trend),
|
|
9548
|
+
"aria-label": `Trend: ${Id[n]}${r ? `, ${r}` : ""}`,
|
|
9509
9549
|
children: [/* @__PURE__ */ b("span", {
|
|
9510
9550
|
className: "text-[0.8em]",
|
|
9511
9551
|
"aria-hidden": "true",
|
|
9512
|
-
children:
|
|
9552
|
+
children: Fd[n]
|
|
9513
9553
|
}), r && /* @__PURE__ */ b("span", {
|
|
9514
9554
|
className: "tabular-nums",
|
|
9515
9555
|
children: r
|
|
@@ -9518,17 +9558,17 @@ var jd = {
|
|
|
9518
9558
|
]
|
|
9519
9559
|
});
|
|
9520
9560
|
});
|
|
9521
|
-
|
|
9561
|
+
Ld.displayName = "Stat";
|
|
9522
9562
|
//#endregion
|
|
9523
9563
|
//#region src/components/FilterBar/components/FilterBar.tsx
|
|
9524
|
-
var
|
|
9564
|
+
var Rd = {
|
|
9525
9565
|
sm: "eidotter-filter-bar--sm",
|
|
9526
9566
|
md: "eidotter-filter-bar--md",
|
|
9527
9567
|
lg: "eidotter-filter-bar--lg",
|
|
9528
9568
|
small: "eidotter-filter-bar--sm",
|
|
9529
9569
|
medium: "eidotter-filter-bar--md",
|
|
9530
9570
|
large: "eidotter-filter-bar--lg"
|
|
9531
|
-
},
|
|
9571
|
+
}, zd = ({ items: e, activeIds: t, defaultActiveIds: n = [], mode: r = "multi", showAll: i = !1, allLabel: o = "All", size: s = "md", onChange: c, className: l, ...u }) => {
|
|
9532
9572
|
let [d, m] = p(n), h = f(null), g = t !== void 0, _ = g ? t : d, v = e.filter((e) => !e.disabled).map((e) => e.id), y = _.length === 0, S = a((e) => {
|
|
9533
9573
|
g || m(e), c?.(e);
|
|
9534
9574
|
}, [g, c]), C = a((e) => {
|
|
@@ -9563,7 +9603,7 @@ var Id = {
|
|
|
9563
9603
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
9564
9604
|
return /* @__PURE__ */ x("div", {
|
|
9565
9605
|
ref: h,
|
|
9566
|
-
className: $("inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full", "bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm", "eidotter-filter-bar",
|
|
9606
|
+
className: $("inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full", "bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm", "eidotter-filter-bar", Rd[s] || Rd.md, l),
|
|
9567
9607
|
role: "toolbar",
|
|
9568
9608
|
onKeyDown: E,
|
|
9569
9609
|
...u,
|
|
@@ -9596,7 +9636,7 @@ var Id = {
|
|
|
9596
9636
|
}, e.id);
|
|
9597
9637
|
})]
|
|
9598
9638
|
});
|
|
9599
|
-
},
|
|
9639
|
+
}, Bd = (e) => {
|
|
9600
9640
|
if (!e) return !1;
|
|
9601
9641
|
try {
|
|
9602
9642
|
let t = new URL(e);
|
|
@@ -9608,7 +9648,7 @@ var Id = {
|
|
|
9608
9648
|
} catch {
|
|
9609
9649
|
return !1;
|
|
9610
9650
|
}
|
|
9611
|
-
},
|
|
9651
|
+
}, Vd = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
9612
9652
|
let [l, u] = p(n), [d, m] = p(/* @__PURE__ */ new Set()), h = f(n), g = c(), _ = f(null), v = r !== void 0, y = v ? r : l;
|
|
9613
9653
|
y && (h.current = !0);
|
|
9614
9654
|
let S = () => {
|
|
@@ -9647,12 +9687,12 @@ var Id = {
|
|
|
9647
9687
|
className: "eidotter-inline-expand__source-item",
|
|
9648
9688
|
role: "listitem",
|
|
9649
9689
|
children: /* @__PURE__ */ x("a", {
|
|
9650
|
-
href:
|
|
9690
|
+
href: Bd(e.url) ? e.url : void 0,
|
|
9651
9691
|
className: "eidotter-inline-expand__source-link",
|
|
9652
9692
|
target: "_blank",
|
|
9653
9693
|
rel: "noopener noreferrer",
|
|
9654
9694
|
"aria-label": `${e.title} (opens external website)`,
|
|
9655
|
-
children: [h.current && e.favicon &&
|
|
9695
|
+
children: [h.current && e.favicon && Bd(e.favicon) && !d.has(e.url) ? /* @__PURE__ */ b("img", {
|
|
9656
9696
|
className: "eidotter-inline-expand__source-favicon",
|
|
9657
9697
|
src: e.favicon,
|
|
9658
9698
|
alt: "",
|
|
@@ -9673,15 +9713,15 @@ var Id = {
|
|
|
9673
9713
|
})]
|
|
9674
9714
|
})]
|
|
9675
9715
|
});
|
|
9676
|
-
},
|
|
9716
|
+
}, Hd = {
|
|
9677
9717
|
horizontal: "h-px w-full",
|
|
9678
9718
|
vertical: "w-px h-full"
|
|
9679
|
-
},
|
|
9719
|
+
}, Ud = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ b("div", {
|
|
9680
9720
|
role: "separator",
|
|
9681
9721
|
"aria-orientation": e,
|
|
9682
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
9683
|
-
}),
|
|
9684
|
-
let { text: s, isScrambling: c } =
|
|
9722
|
+
className: $("shrink-0 bg-dos-border-default", "eidotter-separator", Hd[e], t)
|
|
9723
|
+
}), Wd = r(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
|
|
9724
|
+
let { text: s, isScrambling: c } = Md(e, {
|
|
9685
9725
|
speed: t,
|
|
9686
9726
|
characters: n,
|
|
9687
9727
|
delay: r
|
|
@@ -9693,16 +9733,16 @@ var Id = {
|
|
|
9693
9733
|
children: s
|
|
9694
9734
|
});
|
|
9695
9735
|
});
|
|
9696
|
-
|
|
9736
|
+
Wd.displayName = "TextScramble";
|
|
9697
9737
|
//#endregion
|
|
9698
9738
|
//#region src/components/Nav/components/Nav.tsx
|
|
9699
|
-
var
|
|
9739
|
+
var Gd = {
|
|
9700
9740
|
retro: "eidotter-nav--retro",
|
|
9701
9741
|
modern: "eidotter-nav--modern"
|
|
9702
|
-
},
|
|
9742
|
+
}, Kd = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
9703
9743
|
let a = r || "a";
|
|
9704
9744
|
return /* @__PURE__ */ b("nav", {
|
|
9705
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
9745
|
+
className: $("eidotter-nav eidotter-nav--desktop", Gd[n], i),
|
|
9706
9746
|
"aria-label": "Main navigation",
|
|
9707
9747
|
children: /* @__PURE__ */ b("ul", {
|
|
9708
9748
|
className: "eidotter-nav__desktop-list",
|
|
@@ -9716,7 +9756,7 @@ var Ud = {
|
|
|
9716
9756
|
}, e.href))
|
|
9717
9757
|
})
|
|
9718
9758
|
});
|
|
9719
|
-
},
|
|
9759
|
+
}, qd = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
9720
9760
|
let [o, c] = p(!1), l = r || "a", u = a(() => c((e) => !e), []), d = a(() => c(!1), []);
|
|
9721
9761
|
return s(() => {
|
|
9722
9762
|
if (!o) return;
|
|
@@ -9725,7 +9765,7 @@ var Ud = {
|
|
|
9725
9765
|
};
|
|
9726
9766
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
9727
9767
|
}, [o, d]), /* @__PURE__ */ x("div", {
|
|
9728
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
9768
|
+
className: $("eidotter-nav eidotter-nav--mobile", Gd[n], i),
|
|
9729
9769
|
children: [
|
|
9730
9770
|
/* @__PURE__ */ b("button", {
|
|
9731
9771
|
onClick: u,
|
|
@@ -9750,7 +9790,7 @@ var Ud = {
|
|
|
9750
9790
|
onClick: d,
|
|
9751
9791
|
className: "eidotter-nav__close",
|
|
9752
9792
|
"aria-label": "Close menu",
|
|
9753
|
-
children: /* @__PURE__ */ b(
|
|
9793
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
9754
9794
|
name: "Close",
|
|
9755
9795
|
size: "S"
|
|
9756
9796
|
})
|
|
@@ -9770,14 +9810,14 @@ var Ud = {
|
|
|
9770
9810
|
})
|
|
9771
9811
|
]
|
|
9772
9812
|
});
|
|
9773
|
-
},
|
|
9813
|
+
}, Jd = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(qd, { ...e }), /* @__PURE__ */ b(Kd, { ...e })] }), Yd = {
|
|
9774
9814
|
user: "eidotter-chat-message--user",
|
|
9775
9815
|
assistant: "eidotter-chat-message--assistant",
|
|
9776
9816
|
system: "eidotter-chat-message--system"
|
|
9777
|
-
},
|
|
9817
|
+
}, Xd = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
9778
9818
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
9779
9819
|
return /* @__PURE__ */ x("div", {
|
|
9780
|
-
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words",
|
|
9820
|
+
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words", Yd[e], n && "eidotter-chat-message--streaming", a),
|
|
9781
9821
|
...o,
|
|
9782
9822
|
children: [
|
|
9783
9823
|
s && /* @__PURE__ */ b("span", {
|
|
@@ -9796,7 +9836,7 @@ var Ud = {
|
|
|
9796
9836
|
})
|
|
9797
9837
|
]
|
|
9798
9838
|
});
|
|
9799
|
-
},
|
|
9839
|
+
}, Zd = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
9800
9840
|
let o = f(null);
|
|
9801
9841
|
s(() => {
|
|
9802
9842
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -9806,6 +9846,7 @@ var Ud = {
|
|
|
9806
9846
|
className: c,
|
|
9807
9847
|
role: "log",
|
|
9808
9848
|
"aria-live": "polite",
|
|
9849
|
+
tabIndex: 0,
|
|
9809
9850
|
...a,
|
|
9810
9851
|
children: /* @__PURE__ */ b("div", {
|
|
9811
9852
|
className: "flex items-center justify-center h-full min-h-16",
|
|
@@ -9818,12 +9859,13 @@ var Ud = {
|
|
|
9818
9859
|
className: c,
|
|
9819
9860
|
role: "log",
|
|
9820
9861
|
"aria-live": "polite",
|
|
9862
|
+
tabIndex: 0,
|
|
9821
9863
|
...a,
|
|
9822
9864
|
children: /* @__PURE__ */ x("div", {
|
|
9823
9865
|
className: "flex flex-col",
|
|
9824
9866
|
children: [e.map((i, a) => {
|
|
9825
9867
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
9826
|
-
return /* @__PURE__ */ b(
|
|
9868
|
+
return /* @__PURE__ */ b(Xd, {
|
|
9827
9869
|
role: i.role,
|
|
9828
9870
|
content: i.content,
|
|
9829
9871
|
isStreaming: o,
|
|
@@ -9833,7 +9875,7 @@ var Ud = {
|
|
|
9833
9875
|
}), /* @__PURE__ */ b("div", { ref: o })]
|
|
9834
9876
|
})
|
|
9835
9877
|
});
|
|
9836
|
-
},
|
|
9878
|
+
}, Qd = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
9837
9879
|
let [o, s] = p(""), c = f(null);
|
|
9838
9880
|
l(() => {
|
|
9839
9881
|
let e = c.current;
|
|
@@ -9875,56 +9917,58 @@ var Ud = {
|
|
|
9875
9917
|
})]
|
|
9876
9918
|
})]
|
|
9877
9919
|
});
|
|
9878
|
-
},
|
|
9920
|
+
}, $d = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ x("div", {
|
|
9879
9921
|
className: $("flex flex-col h-full min-h-0", c),
|
|
9880
9922
|
...l,
|
|
9881
|
-
children: [/* @__PURE__ */ b(
|
|
9923
|
+
children: [/* @__PURE__ */ b(Zd, {
|
|
9882
9924
|
className: "flex-1 min-h-0",
|
|
9883
9925
|
messages: e,
|
|
9884
9926
|
isStreaming: n,
|
|
9885
9927
|
userPrefix: i,
|
|
9886
9928
|
assistantPrefix: a
|
|
9887
|
-
}), /* @__PURE__ */ b(
|
|
9929
|
+
}), /* @__PURE__ */ b(Qd, {
|
|
9888
9930
|
className: "shrink-0",
|
|
9889
9931
|
onSend: t,
|
|
9890
9932
|
prompt: r,
|
|
9891
9933
|
placeholder: o,
|
|
9892
9934
|
disabled: s
|
|
9893
9935
|
})]
|
|
9894
|
-
}),
|
|
9936
|
+
}), ef = [{
|
|
9895
9937
|
label: "Impressum",
|
|
9896
9938
|
href: "/impressum"
|
|
9897
9939
|
}, {
|
|
9898
9940
|
label: "Datenschutz",
|
|
9899
9941
|
href: "/datenschutz"
|
|
9900
|
-
}],
|
|
9901
|
-
let
|
|
9942
|
+
}], tf = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
|
|
9943
|
+
let s = n ?? ef, c = r ?? "a", l = "eidotter-footer__link text-cga-amber no-underline";
|
|
9902
9944
|
return /* @__PURE__ */ x("footer", {
|
|
9903
|
-
className: $("font-dos text-sm py-4 px-2 text-center", "eidotter-footer",
|
|
9904
|
-
...
|
|
9945
|
+
className: $("font-dos text-sm py-4 px-2 text-center", "eidotter-footer", a),
|
|
9946
|
+
...o,
|
|
9905
9947
|
children: [
|
|
9906
9948
|
/* @__PURE__ */ b("div", {
|
|
9907
9949
|
className: "h-px bg-dos-border-default mb-4",
|
|
9908
9950
|
role: "separator"
|
|
9909
9951
|
}),
|
|
9910
|
-
|
|
9952
|
+
i && /* @__PURE__ */ b("div", {
|
|
9911
9953
|
className: "mb-3",
|
|
9912
|
-
children:
|
|
9954
|
+
children: i
|
|
9913
9955
|
}),
|
|
9914
|
-
|
|
9956
|
+
s.length > 0 && /* @__PURE__ */ b("nav", {
|
|
9915
9957
|
className: "flex justify-center items-center flex-wrap gap-2 mb-2",
|
|
9916
9958
|
"aria-label": "Footer links",
|
|
9917
|
-
children:
|
|
9959
|
+
children: s.map((t, n) => /* @__PURE__ */ x(e.Fragment, { children: [n > 0 && /* @__PURE__ */ b("span", {
|
|
9918
9960
|
className: "text-dos-text-muted select-none eidotter-footer__dot",
|
|
9919
9961
|
"aria-hidden": "true",
|
|
9920
9962
|
children: "·"
|
|
9921
|
-
}), /* @__PURE__ */ b("a", {
|
|
9922
|
-
className:
|
|
9963
|
+
}), t.external ? /* @__PURE__ */ b("a", {
|
|
9964
|
+
className: l,
|
|
9965
|
+
href: t.href,
|
|
9966
|
+
target: "_blank",
|
|
9967
|
+
rel: "noopener noreferrer",
|
|
9968
|
+
children: t.label
|
|
9969
|
+
}) : /* @__PURE__ */ b(c, {
|
|
9970
|
+
className: l,
|
|
9923
9971
|
href: t.href,
|
|
9924
|
-
...t.external ? {
|
|
9925
|
-
target: "_blank",
|
|
9926
|
-
rel: "noopener noreferrer"
|
|
9927
|
-
} : {},
|
|
9928
9972
|
children: t.label
|
|
9929
9973
|
})] }, t.href))
|
|
9930
9974
|
}),
|
|
@@ -9934,14 +9978,14 @@ var Ud = {
|
|
|
9934
9978
|
})
|
|
9935
9979
|
]
|
|
9936
9980
|
});
|
|
9937
|
-
},
|
|
9981
|
+
}, nf = {
|
|
9938
9982
|
retro: "eidotter-header--retro",
|
|
9939
9983
|
modern: "eidotter-header--modern"
|
|
9940
|
-
},
|
|
9984
|
+
}, rf = r(({ brandName: e, brandHref: t = "/", items: n, activeHref: r, variant: i = "retro", sticky: a = !0, linkComponent: o, children: s, className: c, ...l }, u) => {
|
|
9941
9985
|
let d = o ?? "a";
|
|
9942
9986
|
return /* @__PURE__ */ x("header", {
|
|
9943
9987
|
ref: u,
|
|
9944
|
-
className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header",
|
|
9988
|
+
className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header", nf[i], a && "sticky top-0 z-50 bg-dos-bg-primary", c),
|
|
9945
9989
|
...l,
|
|
9946
9990
|
children: [
|
|
9947
9991
|
/* @__PURE__ */ b(d, {
|
|
@@ -9949,13 +9993,13 @@ var Ud = {
|
|
|
9949
9993
|
className: $("no-underline text-base font-bold tracking-wide", "eidotter-header__branding"),
|
|
9950
9994
|
children: s || e
|
|
9951
9995
|
}),
|
|
9952
|
-
/* @__PURE__ */ b(
|
|
9996
|
+
/* @__PURE__ */ b(Kd, {
|
|
9953
9997
|
items: n,
|
|
9954
9998
|
activeHref: r,
|
|
9955
9999
|
variant: i,
|
|
9956
10000
|
linkComponent: o
|
|
9957
10001
|
}),
|
|
9958
|
-
/* @__PURE__ */ b(
|
|
10002
|
+
/* @__PURE__ */ b(qd, {
|
|
9959
10003
|
items: n,
|
|
9960
10004
|
activeHref: r,
|
|
9961
10005
|
variant: i,
|
|
@@ -9964,17 +10008,17 @@ var Ud = {
|
|
|
9964
10008
|
]
|
|
9965
10009
|
});
|
|
9966
10010
|
});
|
|
9967
|
-
|
|
10011
|
+
rf.displayName = "Header";
|
|
9968
10012
|
//#endregion
|
|
9969
10013
|
//#region src/components/Notification/components/Notification.tsx
|
|
9970
|
-
var
|
|
10014
|
+
var af = {
|
|
9971
10015
|
primary: "Info",
|
|
9972
10016
|
gray: "Info",
|
|
9973
10017
|
success: "Done",
|
|
9974
10018
|
warning: "Warning",
|
|
9975
10019
|
error: "Error"
|
|
9976
|
-
},
|
|
9977
|
-
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } =
|
|
10020
|
+
}, of = ({ type: e = "primary", title: t, children: n, actions: r, onClose: i, avatar: a, image: o, progress: c, progressLabel: l, duration: u, showIcon: d = !0, className: f }) => {
|
|
10021
|
+
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = Wl("notification-exit", i);
|
|
9978
10022
|
s(() => {
|
|
9979
10023
|
if (u == null || !i) return;
|
|
9980
10024
|
let e = setTimeout(() => m(), u);
|
|
@@ -10002,8 +10046,8 @@ var nf = {
|
|
|
10002
10046
|
}),
|
|
10003
10047
|
g && /* @__PURE__ */ b("div", {
|
|
10004
10048
|
className: "eidotter-notification__icon",
|
|
10005
|
-
children: /* @__PURE__ */ b(
|
|
10006
|
-
name:
|
|
10049
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
10050
|
+
name: af[e] || "Info",
|
|
10007
10051
|
size: "S",
|
|
10008
10052
|
"aria-label": `${e} notification`
|
|
10009
10053
|
})
|
|
@@ -10023,7 +10067,7 @@ var nf = {
|
|
|
10023
10067
|
}),
|
|
10024
10068
|
_ && /* @__PURE__ */ x("div", {
|
|
10025
10069
|
className: "flex flex-col gap-1",
|
|
10026
|
-
children: [/* @__PURE__ */ b(
|
|
10070
|
+
children: [/* @__PURE__ */ b(fu, {
|
|
10027
10071
|
value: c,
|
|
10028
10072
|
max: 100,
|
|
10029
10073
|
size: "sm",
|
|
@@ -10048,7 +10092,7 @@ var nf = {
|
|
|
10048
10092
|
className: "eidotter-notification__close",
|
|
10049
10093
|
onPress: m,
|
|
10050
10094
|
"aria-label": "Close notification",
|
|
10051
|
-
children: /* @__PURE__ */ b(
|
|
10095
|
+
children: /* @__PURE__ */ b(Hl, {
|
|
10052
10096
|
name: "Close",
|
|
10053
10097
|
size: "S"
|
|
10054
10098
|
})
|
|
@@ -10059,7 +10103,7 @@ var nf = {
|
|
|
10059
10103
|
};
|
|
10060
10104
|
//#endregion
|
|
10061
10105
|
//#region src/components/InlineLink/components/InlineLink.tsx
|
|
10062
|
-
function
|
|
10106
|
+
function sf(e) {
|
|
10063
10107
|
let t = e.trim();
|
|
10064
10108
|
if (t === "" || /^[#?/]/.test(t)) return t;
|
|
10065
10109
|
let n = /^([a-z][a-z0-9+\-.]*):/i.exec(t);
|
|
@@ -10074,14 +10118,14 @@ function af(e) {
|
|
|
10074
10118
|
"sms"
|
|
10075
10119
|
].includes(r) ? t : "#";
|
|
10076
10120
|
}
|
|
10077
|
-
function
|
|
10121
|
+
function cf(e, t) {
|
|
10078
10122
|
if (t.length === 0) return e;
|
|
10079
10123
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
10080
10124
|
for (let e of t) n.add(e.toLowerCase());
|
|
10081
10125
|
return Array.from(n).join(" ");
|
|
10082
10126
|
}
|
|
10083
|
-
var
|
|
10084
|
-
let l =
|
|
10127
|
+
var lf = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
|
|
10128
|
+
let l = sf(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? cf(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
|
|
10085
10129
|
return /* @__PURE__ */ x("a", {
|
|
10086
10130
|
ref: c,
|
|
10087
10131
|
href: l,
|
|
@@ -10099,10 +10143,10 @@ var sf = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
10099
10143
|
})]
|
|
10100
10144
|
});
|
|
10101
10145
|
});
|
|
10102
|
-
|
|
10146
|
+
lf.displayName = "InlineLink";
|
|
10103
10147
|
//#endregion
|
|
10104
10148
|
//#region src/components/DosFigure/components/DosFigure.tsx
|
|
10105
|
-
var
|
|
10149
|
+
var uf = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, l) => {
|
|
10106
10150
|
let u = c(), d = r ? u : void 0;
|
|
10107
10151
|
return /* @__PURE__ */ x("figure", {
|
|
10108
10152
|
ref: l,
|
|
@@ -10163,11 +10207,11 @@ var cf = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
10163
10207
|
]
|
|
10164
10208
|
});
|
|
10165
10209
|
});
|
|
10166
|
-
|
|
10210
|
+
uf.displayName = "DosFigure";
|
|
10167
10211
|
//#endregion
|
|
10168
10212
|
//#region src/components/CmdPalette/components/CmdPalette.tsx
|
|
10169
|
-
var
|
|
10170
|
-
function
|
|
10213
|
+
var df = /* @__PURE__ */ b(y, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
|
|
10214
|
+
function ff(e) {
|
|
10171
10215
|
let t = e.toLowerCase().split("+").map((e) => e.trim()), n = t[t.length - 1], r = t.includes("mod"), i = t.includes("shift"), a = t.includes("alt");
|
|
10172
10216
|
return (e) => {
|
|
10173
10217
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -10175,15 +10219,15 @@ function uf(e) {
|
|
|
10175
10219
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
10176
10220
|
};
|
|
10177
10221
|
}
|
|
10178
|
-
function
|
|
10222
|
+
function pf(e, t) {
|
|
10179
10223
|
if (!t) return 0;
|
|
10180
10224
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
10181
10225
|
return r.startsWith(n) ? 100 : i.some((e) => e.startsWith(n)) ? 80 : r.includes(n) ? 50 : i.some((e) => e.includes(n)) ? 30 : (e.type || "").toLowerCase().includes(n) ? 10 : -1;
|
|
10182
10226
|
}
|
|
10183
|
-
var
|
|
10227
|
+
var mf = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: o = "NO MATCHES", footerHint: l = df, renderItem: d, maxResults: m = 20, className: h, "aria-label": g = "Command palette" }, _) => {
|
|
10184
10228
|
let v = c(), S = `${v}-listbox`, [C, w] = p(""), [T, E] = p(0), D = f(null), O = f(null), k = f(!1), A = u(() => C.trim() ? n.map((e) => ({
|
|
10185
10229
|
item: e,
|
|
10186
|
-
score:
|
|
10230
|
+
score: pf(e, C.trim())
|
|
10187
10231
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, m).map((e) => e.item) : n.slice(0, m), [
|
|
10188
10232
|
n,
|
|
10189
10233
|
C,
|
|
@@ -10208,7 +10252,7 @@ var ff = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
10208
10252
|
M.current = t;
|
|
10209
10253
|
}, [t]), s(() => {
|
|
10210
10254
|
if (i === !1) return;
|
|
10211
|
-
let e =
|
|
10255
|
+
let e = ff(i), t = (t) => {
|
|
10212
10256
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
10213
10257
|
};
|
|
10214
10258
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -10317,10 +10361,10 @@ var ff = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
10317
10361
|
})
|
|
10318
10362
|
});
|
|
10319
10363
|
});
|
|
10320
|
-
|
|
10364
|
+
mf.displayName = "CmdPalette";
|
|
10321
10365
|
//#endregion
|
|
10322
10366
|
//#region src/components/Brand/components/Logo.tsx
|
|
10323
|
-
var
|
|
10367
|
+
var hf = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => /* @__PURE__ */ x("svg", {
|
|
10324
10368
|
ref: a,
|
|
10325
10369
|
width: e,
|
|
10326
10370
|
height: e,
|
|
@@ -10352,10 +10396,10 @@ var pf = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, .
|
|
|
10352
10396
|
})
|
|
10353
10397
|
]
|
|
10354
10398
|
}));
|
|
10355
|
-
|
|
10399
|
+
hf.displayName = "Logo";
|
|
10356
10400
|
//#endregion
|
|
10357
10401
|
//#region src/components/Brand/components/Wordmark.tsx
|
|
10358
|
-
var
|
|
10402
|
+
var gf = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span", {
|
|
10359
10403
|
ref: r,
|
|
10360
10404
|
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
10361
10405
|
"aria-label": "eiDotter",
|
|
@@ -10370,28 +10414,40 @@ var mf = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span"
|
|
|
10370
10414
|
children: "Dotter"
|
|
10371
10415
|
})]
|
|
10372
10416
|
}));
|
|
10373
|
-
|
|
10417
|
+
gf.displayName = "Wordmark";
|
|
10374
10418
|
//#endregion
|
|
10375
10419
|
//#region src/components/Brand/components/BrandLockup.tsx
|
|
10376
|
-
var
|
|
10420
|
+
var _f = r(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ x("div", {
|
|
10377
10421
|
ref: o,
|
|
10378
10422
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
10379
10423
|
role: "img",
|
|
10380
10424
|
"aria-label": "eiDotter",
|
|
10381
10425
|
...a,
|
|
10382
|
-
children: [!n && /* @__PURE__ */ b(
|
|
10426
|
+
children: [!n && /* @__PURE__ */ b(hf, {
|
|
10383
10427
|
size: e,
|
|
10384
10428
|
glow: r,
|
|
10385
10429
|
title: ""
|
|
10386
|
-
}), !t && /* @__PURE__ */ b(
|
|
10430
|
+
}), !t && /* @__PURE__ */ b(gf, {
|
|
10387
10431
|
glow: r,
|
|
10388
10432
|
"aria-hidden": "true"
|
|
10389
10433
|
})]
|
|
10390
10434
|
}));
|
|
10391
|
-
|
|
10435
|
+
_f.displayName = "BrandLockup";
|
|
10436
|
+
//#endregion
|
|
10437
|
+
//#region src/components/AIText/components/AIText.tsx
|
|
10438
|
+
var vf = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ x("span", {
|
|
10439
|
+
"data-provenance": "ai-draft",
|
|
10440
|
+
className: $("eidotter-ai-text", t),
|
|
10441
|
+
title: n,
|
|
10442
|
+
children: [/* @__PURE__ */ b("span", {
|
|
10443
|
+
className: "eidotter-ai-text__sr-only",
|
|
10444
|
+
children: "AI-assisted: "
|
|
10445
|
+
}), e]
|
|
10446
|
+
});
|
|
10447
|
+
vf.displayName = "AIText";
|
|
10392
10448
|
//#endregion
|
|
10393
10449
|
//#region src/components/LegalPage/components/LegalPage.tsx
|
|
10394
|
-
var
|
|
10450
|
+
var yf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ x("div", {
|
|
10395
10451
|
className: $("eidotter-legal-page", a),
|
|
10396
10452
|
...o,
|
|
10397
10453
|
children: [r && /* @__PURE__ */ b("div", {
|
|
@@ -10414,13 +10470,13 @@ var gf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10414
10470
|
className: "eidotter-legal-page__body",
|
|
10415
10471
|
children: i
|
|
10416
10472
|
})] })]
|
|
10417
|
-
}),
|
|
10473
|
+
}), bf = /* @__PURE__ */ x(y, { children: [
|
|
10418
10474
|
"Haus-Endt-Str. 149A",
|
|
10419
10475
|
/* @__PURE__ */ b("br", {}),
|
|
10420
10476
|
"40593 Düsseldorf",
|
|
10421
10477
|
/* @__PURE__ */ b("br", {}),
|
|
10422
10478
|
"Deutschland"
|
|
10423
|
-
] }),
|
|
10479
|
+
] }), xf = "Dominic Kennedy", Sf = ({ email: e, address: t = bf, name: n = xf }) => /* @__PURE__ */ x("address", { children: [
|
|
10424
10480
|
n,
|
|
10425
10481
|
/* @__PURE__ */ b("br", {}),
|
|
10426
10482
|
t,
|
|
@@ -10432,16 +10488,16 @@ var gf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10432
10488
|
children: e
|
|
10433
10489
|
})
|
|
10434
10490
|
] })
|
|
10435
|
-
] }),
|
|
10491
|
+
] }), Cf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ b(Sf, { ...e })] }), wf = ({ email: e }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Kontakt" }), /* @__PURE__ */ x("p", { children: ["E-Mail: ", /* @__PURE__ */ b("a", {
|
|
10436
10492
|
href: `mailto:${e}`,
|
|
10437
10493
|
children: e
|
|
10438
|
-
})] })] }),
|
|
10494
|
+
})] })] }), Tf = ({ name: e = xf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ x("address", { children: [
|
|
10439
10495
|
e,
|
|
10440
10496
|
/* @__PURE__ */ b("br", {}),
|
|
10441
10497
|
"Haus-Endt-Str. 149A",
|
|
10442
10498
|
/* @__PURE__ */ b("br", {}),
|
|
10443
10499
|
"40593 Düsseldorf"
|
|
10444
|
-
] })] }),
|
|
10500
|
+
] })] }), Ef = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Haftung für Inhalte" }), /* @__PURE__ */ b("p", { children: "Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht." })] }), Df = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Haftung für Links" }), /* @__PURE__ */ b("p", { children: "Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend." })] }), Of = ({ email: e, name: t = xf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ x("address", { children: [
|
|
10445
10501
|
t,
|
|
10446
10502
|
/* @__PURE__ */ b("br", {}),
|
|
10447
10503
|
"Haus-Endt-Str. 149A",
|
|
@@ -10453,14 +10509,14 @@ var gf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10453
10509
|
href: `mailto:${e}`,
|
|
10454
10510
|
children: e
|
|
10455
10511
|
})
|
|
10456
|
-
] })] }),
|
|
10512
|
+
] })] }), kf = () => /* @__PURE__ */ x(y, { children: [
|
|
10457
10513
|
/* @__PURE__ */ b("h2", { children: "Hosting" }),
|
|
10458
10514
|
/* @__PURE__ */ b("p", { children: "Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern." }),
|
|
10459
10515
|
/* @__PURE__ */ b("p", {
|
|
10460
10516
|
className: "eidotter-legal-page__basis",
|
|
10461
10517
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
10462
10518
|
})
|
|
10463
|
-
] }),
|
|
10519
|
+
] }), Af = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ x(y, { children: [
|
|
10464
10520
|
/* @__PURE__ */ b("h2", { children: "Webanalyse — PostHog" }),
|
|
10465
10521
|
/* @__PURE__ */ x("p", { children: [
|
|
10466
10522
|
"Diese Website nutzt PostHog zur Analyse des Nutzungsverhaltens. PostHog läuft auf EU-Servern (eu.posthog.com). Die Datenübertragung erfolgt über einen Reverse-Proxy auf der Domain ",
|
|
@@ -10477,7 +10533,7 @@ var gf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10477
10533
|
className: "eidotter-legal-page__basis",
|
|
10478
10534
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
10479
10535
|
})
|
|
10480
|
-
] }),
|
|
10536
|
+
] }), jf = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Schriftarten" }), /* @__PURE__ */ b("p", { children: "Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt." })] }), Mf = () => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Verschlüsselung" }), /* @__PURE__ */ b("p", { children: "Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers." })] }), Nf = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ x(y, { children: [
|
|
10481
10537
|
/* @__PURE__ */ b("h2", { children: "Ihre Rechte" }),
|
|
10482
10538
|
/* @__PURE__ */ b("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
10483
10539
|
/* @__PURE__ */ x("ul", { children: [
|
|
@@ -10502,7 +10558,7 @@ var gf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10502
10558
|
t,
|
|
10503
10559
|
"."
|
|
10504
10560
|
] })
|
|
10505
|
-
] }),
|
|
10561
|
+
] }), Pf = {
|
|
10506
10562
|
eidotter: { displayName: "eiDotter" },
|
|
10507
10563
|
spacewar: { displayName: "Spacewar!" },
|
|
10508
10564
|
rizomorf: { displayName: "rizomorf" },
|
|
@@ -10516,7 +10572,7 @@ var gf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
10516
10572
|
displayName: "dmnc.tech",
|
|
10517
10573
|
url: "https://dmnc.tech"
|
|
10518
10574
|
}
|
|
10519
|
-
},
|
|
10575
|
+
}, Ff = {
|
|
10520
10576
|
Alert: {
|
|
10521
10577
|
origin: "eidotter",
|
|
10522
10578
|
consumers: ["rizomorf", "steuerdash"],
|
|
@@ -11059,21 +11115,21 @@ var gf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
11059
11115
|
}]
|
|
11060
11116
|
}
|
|
11061
11117
|
};
|
|
11062
|
-
function
|
|
11063
|
-
return
|
|
11118
|
+
function If(e) {
|
|
11119
|
+
return Ff[e];
|
|
11064
11120
|
}
|
|
11065
|
-
function
|
|
11066
|
-
return Object.entries(
|
|
11121
|
+
function Lf(e) {
|
|
11122
|
+
return Object.entries(Ff).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
11067
11123
|
}
|
|
11068
|
-
function
|
|
11069
|
-
return Object.entries(
|
|
11124
|
+
function Rf(e) {
|
|
11125
|
+
return Object.entries(Ff).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
11070
11126
|
}
|
|
11071
|
-
function
|
|
11072
|
-
let n =
|
|
11127
|
+
function zf(e, t) {
|
|
11128
|
+
let n = Ff[e];
|
|
11073
11129
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
11074
11130
|
}
|
|
11075
|
-
function
|
|
11076
|
-
let t =
|
|
11131
|
+
function Bf(e) {
|
|
11132
|
+
let t = Ff[e];
|
|
11077
11133
|
if (!t?.variants) return {};
|
|
11078
11134
|
let n = {};
|
|
11079
11135
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
@@ -11081,6 +11137,6 @@ function Lf(e) {
|
|
|
11081
11137
|
}
|
|
11082
11138
|
//#endregion
|
|
11083
11139
|
//#region src/index.ts
|
|
11084
|
-
var
|
|
11140
|
+
var Vf = "0.24.1";
|
|
11085
11141
|
//#endregion
|
|
11086
|
-
export {
|
|
11142
|
+
export { vf as AIText, Zl as AccordionFill, Sf as AddressBlock, Yl as Alert, xu as Badge, _f as BrandLockup, wu as Breadcrumb, eu as Button, nu as Card, $d as ChatContainer, Zd as ChatHistory, Qd as ChatInput, Xd as ChatMessage, ru as Checkbox, mf as CmdPalette, iu as CommandPrompt, Of as DatenschutzController, Mf as DatenschutzEncryption, jf as DatenschutzFonts, kf as DatenschutzHosting, Af as DatenschutzPostHog, Nf as DatenschutzRights, Kd as DesktopNav, uf as DosFigure, zd as FilterBar, tf as Footer, rf as Header, Hl as Icon, Cf as ImpressumAddress, wf as ImpressumContact, Ef as ImpressumLiabilityContent, Df as ImpressumLiabilityLinks, Tf as ImpressumResponsible, Vd as InlineExpand, lf as InlineLink, mu as Input, yf as LegalPage, ud as Lightbox, hf as Logo, qd as MobileNav, kd as Modal, Jd as Nav, of as Notification, fu as Progress, Tu as RetroEffects, Xl as Section, Ud as Separator, Ld as Stat, Su as Switch, vu as Tabs, Sd as Tag, wd as TagGroup, hu as Terminal, Wd as TextScramble, Od as TimelineContainer, Au as TimelineNode, gf as Wordmark, ju as ZOOM_LEVELS, Ff as componentRegistry, ef as defaultLegalLinks, If as getComponentMeta, Rf as getComponentsByConsumer, Lf as getComponentsByOrigin, Bf as getVariantConsumerMap, zf as getVariantsUsedBy, Bd as isSafeUrl, Pf as projects, Md as useTextScramble, Vf as version };
|