eidotter 0.37.4 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/components/TimelineContainer/components/TimelineEntryCard.d.ts +5 -3
- package/dist/components/TimelineContainer/components/TimelineEntryCard.js +8 -3
- package/dist/components/TimelineContainer/components/types.d.ts +23 -0
- package/dist/components/TimelineContainer/components/variants/GalleryGrid.d.ts +20 -0
- package/dist/components/TimelineContainer/components/variants/GalleryGrid.js +69 -0
- package/dist/components/TimelineContainer/components/variants/TimelineEntryCardArticle.d.ts +26 -0
- package/dist/components/TimelineContainer/components/variants/TimelineEntryCardArticle.js +32 -0
- package/dist/components/TimelineContainer/components/variants/TimelineEntryCardGallery.d.ts +3 -3
- package/dist/components/TimelineContainer/components/variants/TimelineEntryCardGallery.js +5 -54
- package/dist/components/TimelineContainer/components/views/HourView.js +1 -1
- package/dist/eidotter.css +1 -1
- package/dist/index.es.js +347 -263
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -12708,65 +12708,47 @@ var Vh = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
12708
12708
|
onClose: () => i(!1)
|
|
12709
12709
|
})
|
|
12710
12710
|
] });
|
|
12711
|
-
}, Hh = ({
|
|
12712
|
-
let [
|
|
12711
|
+
}, Hh = ({ images: e, isExpanded: t }) => {
|
|
12712
|
+
let [n, r] = m({ phase: "grid" });
|
|
12713
12713
|
if (c(() => {
|
|
12714
|
-
t ||
|
|
12714
|
+
t || r({ phase: "grid" });
|
|
12715
12715
|
}, [t]), c(() => {
|
|
12716
|
-
|
|
12717
|
-
}, [e.
|
|
12718
|
-
|
|
12719
|
-
|
|
12720
|
-
}), /* @__PURE__ */ x("p", {
|
|
12721
|
-
className: "eidotter-timeline-card-gallery__empty",
|
|
12722
|
-
children: "No images."
|
|
12723
|
-
})] });
|
|
12724
|
-
let a = (e, t) => {
|
|
12725
|
-
t.link && Bh(t.link) || i((t) => t.phase === "focused" && t.index === e ? {
|
|
12716
|
+
r((t) => t.phase === "grid" ? t : t.index >= e.length ? { phase: "grid" } : t);
|
|
12717
|
+
}, [e.length]), e.length === 0) return null;
|
|
12718
|
+
let i = (e, t) => {
|
|
12719
|
+
t.link && Bh(t.link) || r((t) => t.phase === "focused" && t.index === e ? {
|
|
12726
12720
|
phase: "lightbox",
|
|
12727
12721
|
index: e
|
|
12728
12722
|
} : {
|
|
12729
12723
|
phase: "focused",
|
|
12730
12724
|
index: e
|
|
12731
12725
|
});
|
|
12732
|
-
},
|
|
12733
|
-
return /* @__PURE__ */ S(b, { children: [
|
|
12734
|
-
|
|
12735
|
-
|
|
12736
|
-
|
|
12737
|
-
|
|
12738
|
-
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
|
|
12743
|
-
|
|
12744
|
-
|
|
12745
|
-
|
|
12746
|
-
|
|
12747
|
-
|
|
12748
|
-
|
|
12749
|
-
|
|
12750
|
-
|
|
12751
|
-
|
|
12752
|
-
|
|
12753
|
-
|
|
12754
|
-
|
|
12755
|
-
|
|
12756
|
-
|
|
12757
|
-
|
|
12758
|
-
phase: "focused",
|
|
12759
|
-
index: e.index
|
|
12760
|
-
} : e);
|
|
12761
|
-
},
|
|
12762
|
-
onIndexChange: (e) => {
|
|
12763
|
-
i((t) => t.phase === "lightbox" ? {
|
|
12764
|
-
phase: "lightbox",
|
|
12765
|
-
index: e
|
|
12766
|
-
} : t);
|
|
12767
|
-
}
|
|
12768
|
-
})
|
|
12769
|
-
] });
|
|
12726
|
+
}, a = n.phase === "focused" || n.phase === "lightbox" ? n.index : null;
|
|
12727
|
+
return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("div", {
|
|
12728
|
+
className: "eidotter-timeline-card-gallery__grid",
|
|
12729
|
+
role: "list",
|
|
12730
|
+
children: e.map((e, t) => /* @__PURE__ */ x(Uh, {
|
|
12731
|
+
image: e,
|
|
12732
|
+
isFocused: a === t,
|
|
12733
|
+
onClick: () => i(t, e)
|
|
12734
|
+
}, t))
|
|
12735
|
+
}), /* @__PURE__ */ x(Rh, {
|
|
12736
|
+
images: e,
|
|
12737
|
+
isOpen: n.phase === "lightbox",
|
|
12738
|
+
initialIndex: n.phase === "lightbox" ? n.index : 0,
|
|
12739
|
+
onClose: () => {
|
|
12740
|
+
r((e) => e.phase === "lightbox" ? {
|
|
12741
|
+
phase: "focused",
|
|
12742
|
+
index: e.index
|
|
12743
|
+
} : e);
|
|
12744
|
+
},
|
|
12745
|
+
onIndexChange: (e) => {
|
|
12746
|
+
r((t) => t.phase === "lightbox" ? {
|
|
12747
|
+
phase: "lightbox",
|
|
12748
|
+
index: e
|
|
12749
|
+
} : t);
|
|
12750
|
+
}
|
|
12751
|
+
})] });
|
|
12770
12752
|
}, Uh = ({ image: e, isFocused: t, onClick: n }) => {
|
|
12771
12753
|
let r = e.thumbnail || e.src, i = e.link && Bh(e.link) ? e.link : void 0;
|
|
12772
12754
|
return i ? /* @__PURE__ */ x("div", {
|
|
@@ -12780,6 +12762,7 @@ var Vh = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
12780
12762
|
className: "eidotter-timeline-card-gallery__img",
|
|
12781
12763
|
src: r,
|
|
12782
12764
|
alt: e.alt,
|
|
12765
|
+
loading: "lazy",
|
|
12783
12766
|
width: e.width,
|
|
12784
12767
|
height: e.height
|
|
12785
12768
|
})
|
|
@@ -12801,17 +12784,105 @@ var Vh = ({ entry: e, isExpanded: t, onSelect: n }) => {
|
|
|
12801
12784
|
})
|
|
12802
12785
|
})
|
|
12803
12786
|
});
|
|
12804
|
-
}, Wh =
|
|
12787
|
+
}, Wh = ({ entry: e, isExpanded: t, onSelect: n }) => e.images.length === 0 ? (process.env.NODE_ENV !== "production" && console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`), /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("p", {
|
|
12788
|
+
className: "eidotter-timeline-card__title",
|
|
12789
|
+
children: e.title
|
|
12790
|
+
}), /* @__PURE__ */ x("p", {
|
|
12791
|
+
className: "eidotter-timeline-card-gallery__empty",
|
|
12792
|
+
children: "No images."
|
|
12793
|
+
})] })) : /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(Y, {
|
|
12794
|
+
className: "eidotter-timeline-card__trigger",
|
|
12795
|
+
onPress: () => n?.(e.id),
|
|
12796
|
+
"aria-expanded": t,
|
|
12797
|
+
children: /* @__PURE__ */ x("p", {
|
|
12798
|
+
className: "eidotter-timeline-card__title",
|
|
12799
|
+
children: e.title
|
|
12800
|
+
})
|
|
12801
|
+
}), /* @__PURE__ */ x(Hh, {
|
|
12802
|
+
images: e.images,
|
|
12803
|
+
isExpanded: t
|
|
12804
|
+
})] }), Gh = 4, Kh = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
12805
|
+
let { summary: i, content: a, href: o, hrefLabel: s } = e, c = e.images ?? [], l = c.length > 0, u = o && Bh(o) ? o : void 0, d = l || a != null || u !== void 0, f = c.slice(0, Gh), p = c.length - f.length;
|
|
12806
|
+
return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ S(Y, {
|
|
12807
|
+
className: "eidotter-timeline-card__trigger",
|
|
12808
|
+
onPress: () => n?.(e.id),
|
|
12809
|
+
"aria-expanded": t,
|
|
12810
|
+
children: [
|
|
12811
|
+
/* @__PURE__ */ S("div", {
|
|
12812
|
+
className: "eidotter-timeline-card__header",
|
|
12813
|
+
children: [e.type && /* @__PURE__ */ x("span", {
|
|
12814
|
+
className: "eidotter-timeline-card__type",
|
|
12815
|
+
children: e.type.toUpperCase()
|
|
12816
|
+
}), e.tags && e.tags.length > 0 && /* @__PURE__ */ x("span", {
|
|
12817
|
+
className: "eidotter-timeline-card__tags",
|
|
12818
|
+
children: e.tags.map((e) => `#${e}`).join(" ")
|
|
12819
|
+
})]
|
|
12820
|
+
}),
|
|
12821
|
+
/* @__PURE__ */ x("p", {
|
|
12822
|
+
className: "eidotter-timeline-card__title",
|
|
12823
|
+
children: e.title
|
|
12824
|
+
}),
|
|
12825
|
+
!t && typeof i == "string" && i.length > 0 && /* @__PURE__ */ S("p", {
|
|
12826
|
+
className: "eidotter-timeline-card__preview",
|
|
12827
|
+
children: [i.slice(0, 80), i.length > 80 ? "..." : ""]
|
|
12828
|
+
}),
|
|
12829
|
+
r,
|
|
12830
|
+
!t && l && /* @__PURE__ */ S("div", {
|
|
12831
|
+
className: "eidotter-timeline-card-article__thumbstrip",
|
|
12832
|
+
"aria-hidden": "true",
|
|
12833
|
+
children: [f.map((e, t) => /* @__PURE__ */ x("span", {
|
|
12834
|
+
className: "eidotter-timeline-card-article__thumb",
|
|
12835
|
+
children: /* @__PURE__ */ x("img", {
|
|
12836
|
+
className: "eidotter-timeline-card-article__thumb-img",
|
|
12837
|
+
src: e.thumbnail || e.src,
|
|
12838
|
+
alt: "",
|
|
12839
|
+
loading: "lazy",
|
|
12840
|
+
width: e.width,
|
|
12841
|
+
height: e.height
|
|
12842
|
+
})
|
|
12843
|
+
}, t)), p > 0 && /* @__PURE__ */ S("span", {
|
|
12844
|
+
className: "eidotter-timeline-card-article__thumb eidotter-timeline-card-article__thumb--more",
|
|
12845
|
+
children: ["+", p]
|
|
12846
|
+
})]
|
|
12847
|
+
})
|
|
12848
|
+
]
|
|
12849
|
+
}), d && /* @__PURE__ */ x("div", {
|
|
12850
|
+
className: "eidotter-timeline-card__body",
|
|
12851
|
+
children: /* @__PURE__ */ S("div", {
|
|
12852
|
+
className: "eidotter-timeline-card__body-inner",
|
|
12853
|
+
inert: t ? void 0 : !0,
|
|
12854
|
+
children: [
|
|
12855
|
+
l && /* @__PURE__ */ x(Hh, {
|
|
12856
|
+
images: c,
|
|
12857
|
+
isExpanded: t
|
|
12858
|
+
}),
|
|
12859
|
+
a != null && /* @__PURE__ */ x("div", {
|
|
12860
|
+
className: "eidotter-timeline-card-article__content",
|
|
12861
|
+
children: a
|
|
12862
|
+
}),
|
|
12863
|
+
u && /* @__PURE__ */ x("div", {
|
|
12864
|
+
className: "eidotter-timeline-card-article__footer",
|
|
12865
|
+
children: /* @__PURE__ */ S("a", {
|
|
12866
|
+
className: "eidotter-timeline-card-article__readmore",
|
|
12867
|
+
href: u,
|
|
12868
|
+
rel: "noopener noreferrer",
|
|
12869
|
+
children: [s ?? "READ MORE", " →"]
|
|
12870
|
+
})
|
|
12871
|
+
})
|
|
12872
|
+
]
|
|
12873
|
+
})
|
|
12874
|
+
})] });
|
|
12875
|
+
}, qh = e.memo(({ entry: e, isSelected: t, isExpanded: n = !1, onSelect: r, footer: i, children: a }) => /* @__PURE__ */ S("div", {
|
|
12805
12876
|
className: $("eidotter-timeline-card", t && "eidotter-timeline-card--selected", n && "eidotter-timeline-card--expanded"),
|
|
12806
|
-
children: [
|
|
12877
|
+
children: [Jh(e, n, r, a), i && /* @__PURE__ */ x("div", {
|
|
12807
12878
|
className: "eidotter-timeline-card__footer",
|
|
12808
12879
|
children: i
|
|
12809
12880
|
})]
|
|
12810
12881
|
}));
|
|
12811
|
-
|
|
12812
|
-
function
|
|
12882
|
+
qh.displayName = "TimelineEntryCard";
|
|
12883
|
+
function Jh(e, t, n, r) {
|
|
12813
12884
|
switch (e.kind) {
|
|
12814
|
-
case "text": return /* @__PURE__ */ x(
|
|
12885
|
+
case "text": return /* @__PURE__ */ x(Xh, {
|
|
12815
12886
|
entry: e,
|
|
12816
12887
|
isExpanded: t,
|
|
12817
12888
|
onSelect: n,
|
|
@@ -12822,18 +12893,24 @@ function Gh(e, t, n, r) {
|
|
|
12822
12893
|
isExpanded: t,
|
|
12823
12894
|
onSelect: n
|
|
12824
12895
|
});
|
|
12825
|
-
case "gallery": return /* @__PURE__ */ x(
|
|
12896
|
+
case "gallery": return /* @__PURE__ */ x(Wh, {
|
|
12826
12897
|
entry: e,
|
|
12827
12898
|
isExpanded: t,
|
|
12828
12899
|
onSelect: n
|
|
12829
12900
|
});
|
|
12830
|
-
|
|
12901
|
+
case "article": return /* @__PURE__ */ x(Kh, {
|
|
12902
|
+
entry: e,
|
|
12903
|
+
isExpanded: t,
|
|
12904
|
+
onSelect: n,
|
|
12905
|
+
children: r
|
|
12906
|
+
});
|
|
12907
|
+
default: return Yh(e);
|
|
12831
12908
|
}
|
|
12832
12909
|
}
|
|
12833
|
-
function
|
|
12910
|
+
function Yh(e) {
|
|
12834
12911
|
throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`);
|
|
12835
12912
|
}
|
|
12836
|
-
var
|
|
12913
|
+
var Xh = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
12837
12914
|
let i = typeof e.content == "string", a = e.content != null;
|
|
12838
12915
|
return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ S(Y, {
|
|
12839
12916
|
className: "eidotter-timeline-card__trigger",
|
|
@@ -12871,7 +12948,7 @@ var qh = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
12871
12948
|
children: e.content
|
|
12872
12949
|
})
|
|
12873
12950
|
})] });
|
|
12874
|
-
},
|
|
12951
|
+
}, Zh = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => /* @__PURE__ */ x("div", {
|
|
12875
12952
|
className: "timeline-view timeline-view--month",
|
|
12876
12953
|
role: "list",
|
|
12877
12954
|
children: t.map((t) => /* @__PURE__ */ S("div", {
|
|
@@ -12890,7 +12967,7 @@ var qh = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
12890
12967
|
}), /* @__PURE__ */ x("div", {
|
|
12891
12968
|
className: "timeline-view__content",
|
|
12892
12969
|
children: t.entries.map((t) => {
|
|
12893
|
-
let i = n === t.id, o = () => /* @__PURE__ */ x(
|
|
12970
|
+
let i = n === t.id, o = () => /* @__PURE__ */ x(qh, {
|
|
12894
12971
|
entry: t,
|
|
12895
12972
|
isSelected: i,
|
|
12896
12973
|
isExpanded: i,
|
|
@@ -12905,23 +12982,23 @@ var qh = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
|
|
|
12905
12982
|
})]
|
|
12906
12983
|
}, t.periodStart))
|
|
12907
12984
|
}));
|
|
12908
|
-
|
|
12985
|
+
Zh.displayName = "MonthView";
|
|
12909
12986
|
//#endregion
|
|
12910
12987
|
//#region src/components/Tag/components/Tag.tsx
|
|
12911
|
-
var
|
|
12988
|
+
var Qh = {
|
|
12912
12989
|
sm: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
12913
12990
|
md: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5",
|
|
12914
12991
|
lg: "text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5",
|
|
12915
12992
|
small: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
|
|
12916
12993
|
medium: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5"
|
|
12917
|
-
},
|
|
12994
|
+
}, $h = ({ 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 }) => {
|
|
12918
12995
|
let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } = $p("tag-exit", c), g = (e) => {
|
|
12919
12996
|
o || ((e.key === "Enter" || e.key === " ") && s && (e.preventDefault(), s(e)), (e.key === "Delete" || e.key === "Backspace") && a && c && (e.preventDefault(), m()));
|
|
12920
12997
|
}, _ = () => {
|
|
12921
12998
|
o || m();
|
|
12922
12999
|
}, v = r ? { "--tag-color": "var(" + r + ")" } : void 0;
|
|
12923
13000
|
return /* @__PURE__ */ S("span", {
|
|
12924
|
-
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider",
|
|
13001
|
+
className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider", Qh[n] || Qh.md, "eidotter-tag", "eidotter-tag--" + t, i && "eidotter-tag--selected", o && "opacity-50 cursor-not-allowed", p && "eidotter-tag--closing", f && "cursor-pointer", l),
|
|
12925
13002
|
style: v,
|
|
12926
13003
|
onClick: f ? (e) => !o && s?.(e) : void 0,
|
|
12927
13004
|
onKeyDown: g,
|
|
@@ -12947,17 +13024,17 @@ var Yh = {
|
|
|
12947
13024
|
children: "[x]"
|
|
12948
13025
|
})]
|
|
12949
13026
|
});
|
|
12950
|
-
},
|
|
13027
|
+
}, eg = {
|
|
12951
13028
|
tight: "gap-1",
|
|
12952
13029
|
normal: "gap-2",
|
|
12953
13030
|
loose: "gap-3"
|
|
12954
|
-
},
|
|
12955
|
-
className: $("flex", n ? "flex-wrap" : "flex-nowrap",
|
|
13031
|
+
}, tg = ({ children: e, gap: t = "normal", wrap: n = !0, className: r, "aria-label": i, ...a }) => /* @__PURE__ */ x("div", {
|
|
13032
|
+
className: $("flex", n ? "flex-wrap" : "flex-nowrap", eg[t] || eg.normal, r),
|
|
12956
13033
|
role: "group",
|
|
12957
13034
|
"aria-label": i,
|
|
12958
13035
|
...a,
|
|
12959
13036
|
children: e
|
|
12960
|
-
}),
|
|
13037
|
+
}), ng = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ x("div", {
|
|
12961
13038
|
className: "timeline-view timeline-view--day",
|
|
12962
13039
|
role: "list",
|
|
12963
13040
|
children: t.map((t) => /* @__PURE__ */ S("div", {
|
|
@@ -12975,15 +13052,15 @@ var Yh = {
|
|
|
12975
13052
|
}), /* @__PURE__ */ x("div", {
|
|
12976
13053
|
className: "timeline-view__content",
|
|
12977
13054
|
children: t.entries.map((t) => {
|
|
12978
|
-
let a = n === t.id, o = () => /* @__PURE__ */ x(
|
|
13055
|
+
let a = n === t.id, o = () => /* @__PURE__ */ x(qh, {
|
|
12979
13056
|
entry: t,
|
|
12980
13057
|
isSelected: a,
|
|
12981
13058
|
isExpanded: a,
|
|
12982
13059
|
onSelect: r,
|
|
12983
|
-
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ x(
|
|
13060
|
+
footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ x(tg, {
|
|
12984
13061
|
gap: "tight",
|
|
12985
13062
|
"aria-label": `Tags for ${t.title}`,
|
|
12986
|
-
children: t.tags.map((e) => /* @__PURE__ */ x(
|
|
13063
|
+
children: t.tags.map((e) => /* @__PURE__ */ x($h, {
|
|
12987
13064
|
size: "small",
|
|
12988
13065
|
variant: "outlined",
|
|
12989
13066
|
children: e
|
|
@@ -12999,10 +13076,10 @@ var Yh = {
|
|
|
12999
13076
|
})]
|
|
13000
13077
|
}, t.periodStart))
|
|
13001
13078
|
}));
|
|
13002
|
-
|
|
13079
|
+
ng.displayName = "DayView";
|
|
13003
13080
|
//#endregion
|
|
13004
13081
|
//#region src/components/TimelineContainer/components/views/HourView.tsx
|
|
13005
|
-
var
|
|
13082
|
+
var rg = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ x("div", {
|
|
13006
13083
|
className: "timeline-view timeline-view--hour",
|
|
13007
13084
|
role: "list",
|
|
13008
13085
|
children: t.map((t) => /* @__PURE__ */ S("div", {
|
|
@@ -13020,17 +13097,17 @@ var eg = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
13020
13097
|
}), /* @__PURE__ */ x("div", {
|
|
13021
13098
|
className: "timeline-view__content",
|
|
13022
13099
|
children: t.entries.map((t) => {
|
|
13023
|
-
let a = n === t.id, o = () => /* @__PURE__ */ S(
|
|
13100
|
+
let a = n === t.id, o = () => /* @__PURE__ */ S(qh, {
|
|
13024
13101
|
entry: t,
|
|
13025
13102
|
isSelected: a,
|
|
13026
13103
|
isExpanded: !0,
|
|
13027
13104
|
onSelect: r,
|
|
13028
13105
|
footer: /* @__PURE__ */ S("div", {
|
|
13029
13106
|
className: "timeline-view__entry-footer",
|
|
13030
|
-
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ x(
|
|
13107
|
+
children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ x(tg, {
|
|
13031
13108
|
gap: "tight",
|
|
13032
13109
|
"aria-label": `Tags for ${t.title}`,
|
|
13033
|
-
children: t.tags.map((e) => /* @__PURE__ */ x(
|
|
13110
|
+
children: t.tags.map((e) => /* @__PURE__ */ x($h, {
|
|
13034
13111
|
size: "small",
|
|
13035
13112
|
variant: "outlined",
|
|
13036
13113
|
children: e
|
|
@@ -13041,14 +13118,21 @@ var eg = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
13041
13118
|
children: t.type
|
|
13042
13119
|
})]
|
|
13043
13120
|
}),
|
|
13044
|
-
children: [
|
|
13045
|
-
|
|
13046
|
-
|
|
13047
|
-
|
|
13048
|
-
|
|
13049
|
-
|
|
13050
|
-
|
|
13051
|
-
|
|
13121
|
+
children: [
|
|
13122
|
+
/* @__PURE__ */ x("time", {
|
|
13123
|
+
className: "timeline-view__timestamp",
|
|
13124
|
+
dateTime: t.date,
|
|
13125
|
+
children: vh(t.date)
|
|
13126
|
+
}),
|
|
13127
|
+
t.kind === "text" && t.content !== void 0 && /* @__PURE__ */ x("div", {
|
|
13128
|
+
className: "timeline-view__entry-content",
|
|
13129
|
+
children: t.content
|
|
13130
|
+
}),
|
|
13131
|
+
t.kind === "article" && t.summary !== void 0 && /* @__PURE__ */ x("div", {
|
|
13132
|
+
className: "timeline-view__entry-content",
|
|
13133
|
+
children: t.summary
|
|
13134
|
+
})
|
|
13135
|
+
]
|
|
13052
13136
|
});
|
|
13053
13137
|
return /* @__PURE__ */ x(e.Fragment, { children: i ? i(t, {
|
|
13054
13138
|
isExpanded: !0,
|
|
@@ -13059,29 +13143,29 @@ var eg = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
|
|
|
13059
13143
|
})]
|
|
13060
13144
|
}, t.periodStart))
|
|
13061
13145
|
}));
|
|
13062
|
-
|
|
13146
|
+
rg.displayName = "HourView";
|
|
13063
13147
|
//#endregion
|
|
13064
13148
|
//#region src/components/TimelineContainer/components/TimelineContent.tsx
|
|
13065
|
-
var
|
|
13149
|
+
var ig = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => {
|
|
13066
13150
|
switch (e) {
|
|
13067
13151
|
case "year": return /* @__PURE__ */ x(Lh, {
|
|
13068
13152
|
buckets: t,
|
|
13069
13153
|
onBucketClick: i
|
|
13070
13154
|
});
|
|
13071
|
-
case "month": return /* @__PURE__ */ x(
|
|
13155
|
+
case "month": return /* @__PURE__ */ x(Zh, {
|
|
13072
13156
|
buckets: t,
|
|
13073
13157
|
selectedEntryId: n,
|
|
13074
13158
|
onEntrySelect: r,
|
|
13075
13159
|
onBucketClick: i,
|
|
13076
13160
|
renderEntry: a
|
|
13077
13161
|
});
|
|
13078
|
-
case "day": return /* @__PURE__ */ x(
|
|
13162
|
+
case "day": return /* @__PURE__ */ x(ng, {
|
|
13079
13163
|
buckets: t,
|
|
13080
13164
|
selectedEntryId: n,
|
|
13081
13165
|
onEntrySelect: r,
|
|
13082
13166
|
renderEntry: a
|
|
13083
13167
|
});
|
|
13084
|
-
case "hour": return /* @__PURE__ */ x(
|
|
13168
|
+
case "hour": return /* @__PURE__ */ x(rg, {
|
|
13085
13169
|
buckets: t,
|
|
13086
13170
|
selectedEntryId: n,
|
|
13087
13171
|
onEntrySelect: r,
|
|
@@ -13089,7 +13173,7 @@ var tg = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
13089
13173
|
});
|
|
13090
13174
|
default: return e;
|
|
13091
13175
|
}
|
|
13092
|
-
},
|
|
13176
|
+
}, ag = ({ entries: e, selectedEntryId: t, onSelect: n, onDeselect: r, renderEntry: i, formatDate: a }) => {
|
|
13093
13177
|
let s = e.find((e) => e.id === t) ?? null, l = p(null), u = p(null), d = p(t);
|
|
13094
13178
|
c(() => {
|
|
13095
13179
|
let e = d.current;
|
|
@@ -13168,7 +13252,7 @@ var tg = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
13168
13252
|
}), /* @__PURE__ */ x("div", {
|
|
13169
13253
|
className: "eidotter-timeline-md__detail-body",
|
|
13170
13254
|
children: ((e) => {
|
|
13171
|
-
let t = () => /* @__PURE__ */ x(
|
|
13255
|
+
let t = () => /* @__PURE__ */ x(qh, {
|
|
13172
13256
|
entry: e,
|
|
13173
13257
|
isSelected: !0,
|
|
13174
13258
|
isExpanded: !0
|
|
@@ -13187,10 +13271,10 @@ var tg = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
|
|
|
13187
13271
|
})]
|
|
13188
13272
|
});
|
|
13189
13273
|
};
|
|
13190
|
-
|
|
13274
|
+
ag.displayName = "MasterDetailLayout";
|
|
13191
13275
|
//#endregion
|
|
13192
13276
|
//#region src/components/TimelineContainer/components/TimelineContainer.tsx
|
|
13193
|
-
var
|
|
13277
|
+
var og = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel: r = "month", onZoomChange: i, selectedEntryId: a, defaultSelectedEntryId: s, onSelectEntry: l, sortOrder: u = "desc", scrollToZoom: f = !0, keyboardShortcuts: h = !0, renderEntry: g, pageSize: _ = 10, onLoadMore: v, ...y }) => {
|
|
13194
13278
|
let b = t === "static", C = t === "feed", w = b || C, T = t === "master-detail", E = p(null), D = p(null), [O, k] = m(""), { zoomLevel: A, canZoomIn: j, canZoomOut: M, breadcrumbs: N, currentPeriod: P, isDrillDownEnabled: ee, drillDown: F, drillUp: I, reset: te } = oh({
|
|
13195
13279
|
zoomLevel: n,
|
|
13196
13280
|
defaultZoomLevel: r,
|
|
@@ -13346,7 +13430,7 @@ var rg = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
13346
13430
|
role: "list",
|
|
13347
13431
|
"aria-label": "Timeline",
|
|
13348
13432
|
children: H.map((e) => {
|
|
13349
|
-
let t = () => /* @__PURE__ */ x(
|
|
13433
|
+
let t = () => /* @__PURE__ */ x(qh, {
|
|
13350
13434
|
entry: e,
|
|
13351
13435
|
isSelected: !1,
|
|
13352
13436
|
isExpanded: !0
|
|
@@ -13375,7 +13459,7 @@ var rg = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
13375
13459
|
role: "list",
|
|
13376
13460
|
"aria-label": "Timeline",
|
|
13377
13461
|
children: ue.map((e) => {
|
|
13378
|
-
let t = L === e.id, n = () => /* @__PURE__ */ x(
|
|
13462
|
+
let t = L === e.id, n = () => /* @__PURE__ */ x(qh, {
|
|
13379
13463
|
entry: e,
|
|
13380
13464
|
isSelected: t,
|
|
13381
13465
|
isExpanded: t,
|
|
@@ -13406,7 +13490,7 @@ var rg = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
13406
13490
|
onClick: fe,
|
|
13407
13491
|
"aria-label": `Load more entries (showing ${le} of ${H.length})`,
|
|
13408
13492
|
children: "LOAD MORE..."
|
|
13409
|
-
})] }) : T ? /* @__PURE__ */ x(
|
|
13493
|
+
})] }) : T ? /* @__PURE__ */ x(ag, {
|
|
13410
13494
|
entries: H,
|
|
13411
13495
|
selectedEntryId: L,
|
|
13412
13496
|
onSelect: ne,
|
|
@@ -13421,7 +13505,7 @@ var rg = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
13421
13505
|
N[N.length - 1]?.label ?? "this period",
|
|
13422
13506
|
"."
|
|
13423
13507
|
] }), /* @__PURE__ */ x("p", { children: "_" })]
|
|
13424
|
-
}) }) : /* @__PURE__ */ x(Ih, { children: /* @__PURE__ */ x(
|
|
13508
|
+
}) }) : /* @__PURE__ */ x(Ih, { children: /* @__PURE__ */ x(ig, {
|
|
13425
13509
|
zoomLevel: A,
|
|
13426
13510
|
buckets: B,
|
|
13427
13511
|
selectedEntryId: L,
|
|
@@ -13432,7 +13516,7 @@ var rg = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
13432
13516
|
})
|
|
13433
13517
|
]
|
|
13434
13518
|
});
|
|
13435
|
-
},
|
|
13519
|
+
}, sg = i(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, className: o }, s) => {
|
|
13436
13520
|
let l = p(e), u = p(!1);
|
|
13437
13521
|
c(() => {
|
|
13438
13522
|
e !== l.current && (l.current = e, u.current || (t?.(e), e || n?.()), u.current = !1);
|
|
@@ -13484,12 +13568,12 @@ var rg = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
|
|
|
13484
13568
|
})
|
|
13485
13569
|
});
|
|
13486
13570
|
});
|
|
13487
|
-
|
|
13571
|
+
sg.displayName = "Modal";
|
|
13488
13572
|
//#endregion
|
|
13489
13573
|
//#region src/hooks/useTextScramble.ts
|
|
13490
|
-
var
|
|
13491
|
-
function
|
|
13492
|
-
let { speed: n = 40, characters: r =
|
|
13574
|
+
var cg = "░▒▓█│┤┐└┴┬├─┼", lg = 4;
|
|
13575
|
+
function ug(e, t) {
|
|
13576
|
+
let { speed: n = 40, characters: r = cg, enabled: i = !0, delay: a = 0 } = t ?? {}, [o, s] = m(() => {
|
|
13493
13577
|
if (!i || Qp()) return e;
|
|
13494
13578
|
let t = "";
|
|
13495
13579
|
for (let n = 0; n < e.length; n++) e[n] === " " ? t += " " : t += r[Math.floor(Math.random() * r.length)];
|
|
@@ -13510,7 +13594,7 @@ function sg(e, t) {
|
|
|
13510
13594
|
return;
|
|
13511
13595
|
}
|
|
13512
13596
|
if (a >= n) {
|
|
13513
|
-
if (c = i, o++, o >=
|
|
13597
|
+
if (c = i, o++, o >= lg && (t++, o = 0), t >= e.length) {
|
|
13514
13598
|
s(e), u(!1);
|
|
13515
13599
|
return;
|
|
13516
13600
|
}
|
|
@@ -13536,7 +13620,7 @@ function sg(e, t) {
|
|
|
13536
13620
|
}
|
|
13537
13621
|
//#endregion
|
|
13538
13622
|
//#region src/components/Stat/components/Stat.tsx
|
|
13539
|
-
var
|
|
13623
|
+
var dg = {
|
|
13540
13624
|
sm: {
|
|
13541
13625
|
root: "gap-0.5",
|
|
13542
13626
|
label: "text-dos-text-xs",
|
|
@@ -13573,23 +13657,23 @@ var cg = {
|
|
|
13573
13657
|
value: "text-dos-display-md",
|
|
13574
13658
|
trend: "text-dos-text-md"
|
|
13575
13659
|
}
|
|
13576
|
-
},
|
|
13660
|
+
}, fg = {
|
|
13577
13661
|
up: "text-dos-text-success",
|
|
13578
13662
|
down: "text-dos-text-error",
|
|
13579
13663
|
neutral: "text-dos-text-brand"
|
|
13580
|
-
},
|
|
13664
|
+
}, pg = {
|
|
13581
13665
|
up: "▲",
|
|
13582
13666
|
down: "▼",
|
|
13583
13667
|
neutral: "►"
|
|
13584
|
-
},
|
|
13668
|
+
}, mg = {
|
|
13585
13669
|
up: "increasing",
|
|
13586
13670
|
down: "decreasing",
|
|
13587
13671
|
neutral: "unchanged"
|
|
13588
|
-
},
|
|
13589
|
-
let { text: l } =
|
|
13672
|
+
}, hg = i(({ label: e, value: t, trend: n, trendValue: r, size: i = "md", scramble: a = !1, className: o, ...s }, c) => {
|
|
13673
|
+
let { text: l } = ug(String(t), {
|
|
13590
13674
|
speed: 30,
|
|
13591
13675
|
enabled: a
|
|
13592
|
-
}), u = a ? l : String(t), d =
|
|
13676
|
+
}), u = a ? l : String(t), d = dg[i] || dg.md;
|
|
13593
13677
|
return /* @__PURE__ */ S("div", {
|
|
13594
13678
|
ref: c,
|
|
13595
13679
|
className: $("flex flex-col font-dos", "eidotter-stat", d.root, o),
|
|
@@ -13604,12 +13688,12 @@ var cg = {
|
|
|
13604
13688
|
children: u
|
|
13605
13689
|
}),
|
|
13606
13690
|
n && /* @__PURE__ */ S("span", {
|
|
13607
|
-
className: $("inline-flex items-center gap-1 leading-none",
|
|
13608
|
-
"aria-label": `Trend: ${
|
|
13691
|
+
className: $("inline-flex items-center gap-1 leading-none", fg[n], d.trend),
|
|
13692
|
+
"aria-label": `Trend: ${mg[n]}${r ? `, ${r}` : ""}`,
|
|
13609
13693
|
children: [/* @__PURE__ */ x("span", {
|
|
13610
13694
|
className: "text-[0.8em]",
|
|
13611
13695
|
"aria-hidden": "true",
|
|
13612
|
-
children:
|
|
13696
|
+
children: pg[n]
|
|
13613
13697
|
}), r && /* @__PURE__ */ x("span", {
|
|
13614
13698
|
className: "tabular-nums",
|
|
13615
13699
|
children: r
|
|
@@ -13618,17 +13702,17 @@ var cg = {
|
|
|
13618
13702
|
]
|
|
13619
13703
|
});
|
|
13620
13704
|
});
|
|
13621
|
-
|
|
13705
|
+
hg.displayName = "Stat";
|
|
13622
13706
|
//#endregion
|
|
13623
13707
|
//#region src/components/FilterBar/components/FilterBar.tsx
|
|
13624
|
-
var
|
|
13708
|
+
var gg = {
|
|
13625
13709
|
sm: "eidotter-filter-bar--sm",
|
|
13626
13710
|
md: "eidotter-filter-bar--md",
|
|
13627
13711
|
lg: "eidotter-filter-bar--lg",
|
|
13628
13712
|
small: "eidotter-filter-bar--sm",
|
|
13629
13713
|
medium: "eidotter-filter-bar--md",
|
|
13630
13714
|
large: "eidotter-filter-bar--lg"
|
|
13631
|
-
},
|
|
13715
|
+
}, _g = ({ items: e, activeIds: t, defaultActiveIds: n = [], mode: r = "multi", showAll: i = !1, allLabel: a = "All", size: s = "md", onChange: c, className: l, ...u }) => {
|
|
13632
13716
|
let [d, f] = m(n), h = p(null), g = t !== void 0, _ = g ? t : d, v = e.filter((e) => !e.disabled).map((e) => e.id), y = _.length === 0, b = o((e) => {
|
|
13633
13717
|
g || f(e), c?.(e);
|
|
13634
13718
|
}, [g, c]), C = o((e) => {
|
|
@@ -13663,7 +13747,7 @@ var pg = {
|
|
|
13663
13747
|
}, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
|
|
13664
13748
|
return /* @__PURE__ */ S("div", {
|
|
13665
13749
|
ref: h,
|
|
13666
|
-
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",
|
|
13750
|
+
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", gg[s] || gg.md, l),
|
|
13667
13751
|
role: "toolbar",
|
|
13668
13752
|
onKeyDown: E,
|
|
13669
13753
|
...u,
|
|
@@ -13696,7 +13780,7 @@ var pg = {
|
|
|
13696
13780
|
}, e.id);
|
|
13697
13781
|
})]
|
|
13698
13782
|
});
|
|
13699
|
-
},
|
|
13783
|
+
}, vg = (e) => {
|
|
13700
13784
|
if (!e) return !1;
|
|
13701
13785
|
try {
|
|
13702
13786
|
let t = new URL(e);
|
|
@@ -13711,7 +13795,7 @@ var pg = {
|
|
|
13711
13795
|
};
|
|
13712
13796
|
//#endregion
|
|
13713
13797
|
//#region src/components/InlineExpand/components/InlineExpand.tsx
|
|
13714
|
-
function
|
|
13798
|
+
function yg(e) {
|
|
13715
13799
|
try {
|
|
13716
13800
|
let { hostname: t } = new URL(e);
|
|
13717
13801
|
return `https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`;
|
|
@@ -13719,7 +13803,7 @@ function gg(e) {
|
|
|
13719
13803
|
return null;
|
|
13720
13804
|
}
|
|
13721
13805
|
}
|
|
13722
|
-
var
|
|
13806
|
+
var bg = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
|
|
13723
13807
|
let [c, u] = m(n), [d, f] = m({}), h = p(n), g = l(), _ = p(null), v = r !== void 0, y = v ? r : c;
|
|
13724
13808
|
y && (h.current = !0);
|
|
13725
13809
|
let b = () => {
|
|
@@ -13760,7 +13844,7 @@ var _g = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
13760
13844
|
className: "eidotter-inline-expand__source-item",
|
|
13761
13845
|
role: "listitem",
|
|
13762
13846
|
children: /* @__PURE__ */ S("a", {
|
|
13763
|
-
href:
|
|
13847
|
+
href: vg(e.url) ? e.url : void 0,
|
|
13764
13848
|
className: "eidotter-inline-expand__source-link",
|
|
13765
13849
|
target: "_blank",
|
|
13766
13850
|
rel: "noopener noreferrer",
|
|
@@ -13777,7 +13861,7 @@ var _g = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
13777
13861
|
"aria-hidden": "true",
|
|
13778
13862
|
children: "[→]"
|
|
13779
13863
|
});
|
|
13780
|
-
let n = !!e.favicon &&
|
|
13864
|
+
let n = !!e.favicon && vg(e.favicon);
|
|
13781
13865
|
if (!t && n) return /* @__PURE__ */ x("img", {
|
|
13782
13866
|
className: "eidotter-inline-expand__source-favicon",
|
|
13783
13867
|
src: e.favicon,
|
|
@@ -13790,7 +13874,7 @@ var _g = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
13790
13874
|
[e.url]: "google"
|
|
13791
13875
|
}))
|
|
13792
13876
|
});
|
|
13793
|
-
let r =
|
|
13877
|
+
let r = yg(e.url);
|
|
13794
13878
|
return r ? /* @__PURE__ */ x("img", {
|
|
13795
13879
|
className: "eidotter-inline-expand__source-favicon",
|
|
13796
13880
|
src: r,
|
|
@@ -13817,40 +13901,40 @@ var _g = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
|
|
|
13817
13901
|
})
|
|
13818
13902
|
})]
|
|
13819
13903
|
});
|
|
13820
|
-
},
|
|
13904
|
+
}, xg = {
|
|
13821
13905
|
horizontal: "h-px w-full",
|
|
13822
13906
|
vertical: "w-px h-full"
|
|
13823
|
-
},
|
|
13907
|
+
}, Sg = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ x("div", {
|
|
13824
13908
|
role: "separator",
|
|
13825
13909
|
"aria-orientation": e,
|
|
13826
|
-
className: $("shrink-0 bg-dos-border-default", "eidotter-separator",
|
|
13827
|
-
}),
|
|
13910
|
+
className: $("shrink-0 bg-dos-border-default", "eidotter-separator", xg[e], t)
|
|
13911
|
+
}), Cg = {
|
|
13828
13912
|
default: "text-dos-text-primary",
|
|
13829
13913
|
error: "text-dos-error",
|
|
13830
13914
|
warning: "text-dos-warning",
|
|
13831
13915
|
info: "text-dos-info"
|
|
13832
|
-
},
|
|
13833
|
-
className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm",
|
|
13916
|
+
}, wg = ({ title: e, count: t, tone: n = "default", children: r, className: i }) => /* @__PURE__ */ S("h3", {
|
|
13917
|
+
className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm", Cg[n], i),
|
|
13834
13918
|
children: [
|
|
13835
13919
|
e,
|
|
13836
13920
|
t !== void 0 && ` (${t})`,
|
|
13837
13921
|
r
|
|
13838
13922
|
]
|
|
13839
13923
|
});
|
|
13840
|
-
|
|
13924
|
+
wg.displayName = "SectionHeading";
|
|
13841
13925
|
//#endregion
|
|
13842
13926
|
//#region src/components/EmptyState/components/EmptyState.tsx
|
|
13843
|
-
var
|
|
13927
|
+
var Tg = {
|
|
13844
13928
|
default: "text-dos-text-primary",
|
|
13845
13929
|
error: "text-dos-error",
|
|
13846
13930
|
warning: "text-dos-warning",
|
|
13847
13931
|
info: "text-dos-info"
|
|
13848
|
-
},
|
|
13932
|
+
}, Eg = ({ title: e, description: t, tone: n = "default", action: r, className: i }) => /* @__PURE__ */ S("div", {
|
|
13849
13933
|
className: $("eidotter-empty-state", "flex flex-col gap-2 py-6 text-center", i),
|
|
13850
13934
|
role: "status",
|
|
13851
13935
|
children: [
|
|
13852
13936
|
/* @__PURE__ */ x("p", {
|
|
13853
|
-
className: $("font-dos text-dos-text-sm",
|
|
13937
|
+
className: $("font-dos text-dos-text-sm", Tg[n]),
|
|
13854
13938
|
children: e
|
|
13855
13939
|
}),
|
|
13856
13940
|
t && /* @__PURE__ */ x("p", {
|
|
@@ -13863,14 +13947,14 @@ var Sg = {
|
|
|
13863
13947
|
})
|
|
13864
13948
|
]
|
|
13865
13949
|
});
|
|
13866
|
-
|
|
13950
|
+
Eg.displayName = "EmptyState";
|
|
13867
13951
|
//#endregion
|
|
13868
13952
|
//#region src/components/ChecklistRow/components/ChecklistRow.tsx
|
|
13869
|
-
var
|
|
13953
|
+
var Dg = {
|
|
13870
13954
|
default: "text-dos-text-primary",
|
|
13871
13955
|
muted: "text-dos-text-muted line-through",
|
|
13872
13956
|
error: "text-dos-error"
|
|
13873
|
-
},
|
|
13957
|
+
}, Og = ({ checked: e, onToggle: t, disabled: n, pending: r, ariaLabel: i, labelTone: a = "default", label: o, children: s, note: c, leading: l, trailing: u, className: d }) => /* @__PURE__ */ S("div", {
|
|
13874
13958
|
className: $("eidotter-checklist-row", "flex items-start gap-3 py-2 border-b border-dos-border-disabled", r && "opacity-50", d),
|
|
13875
13959
|
children: [
|
|
13876
13960
|
/* @__PURE__ */ x("button", {
|
|
@@ -13891,7 +13975,7 @@ var wg = {
|
|
|
13891
13975
|
children: l
|
|
13892
13976
|
}),
|
|
13893
13977
|
o !== void 0 && /* @__PURE__ */ x("div", {
|
|
13894
|
-
className: $("font-dos text-dos-text-sm",
|
|
13978
|
+
className: $("font-dos text-dos-text-sm", Dg[a]),
|
|
13895
13979
|
children: o
|
|
13896
13980
|
}),
|
|
13897
13981
|
s,
|
|
@@ -13907,10 +13991,10 @@ var wg = {
|
|
|
13907
13991
|
})
|
|
13908
13992
|
]
|
|
13909
13993
|
});
|
|
13910
|
-
|
|
13994
|
+
Og.displayName = "ChecklistRow";
|
|
13911
13995
|
//#endregion
|
|
13912
13996
|
//#region src/components/CopyButton/components/CopyButton.tsx
|
|
13913
|
-
var
|
|
13997
|
+
var kg = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Copy to clipboard", copiedTitle: i = "Copied!", className: a }) => {
|
|
13914
13998
|
let [s, c] = m(!1), l = p(null), u = o(() => {
|
|
13915
13999
|
c(!0), l.current && clearTimeout(l.current), l.current = setTimeout(() => c(!1), 1500);
|
|
13916
14000
|
}, []), d = o(() => {
|
|
@@ -13940,22 +14024,22 @@ var Eg = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Co
|
|
|
13940
14024
|
children: s ? n : t
|
|
13941
14025
|
});
|
|
13942
14026
|
};
|
|
13943
|
-
|
|
14027
|
+
kg.displayName = "CopyButton";
|
|
13944
14028
|
//#endregion
|
|
13945
14029
|
//#region src/components/Select/components/Select.tsx
|
|
13946
|
-
var
|
|
14030
|
+
var Ag = {
|
|
13947
14031
|
sm: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-2",
|
|
13948
14032
|
md: "text-dos-text-md px-3 py-2 min-h-8 gap-2",
|
|
13949
14033
|
lg: "text-dos-text-lg px-4 py-2.5 min-h-10 gap-2"
|
|
13950
|
-
},
|
|
14034
|
+
}, jg = (e = "md") => ({
|
|
13951
14035
|
small: "sm",
|
|
13952
14036
|
medium: "md",
|
|
13953
14037
|
large: "lg"
|
|
13954
|
-
})[e] ?? e,
|
|
13955
|
-
let g = a === "error", _ = s !== void 0, v =
|
|
14038
|
+
})[e] ?? e, Mg = "eidotter-select__label text-dos-text-brand font-dos text-dos-text-xs uppercase tracking-wider", Ng = "eidotter-select__description text-dos-text-muted font-dos text-dos-text-xs", Pg = "eidotter-select__error text-dos-text-error font-dos text-dos-text-xs", Fg = "eidotter-select__trigger flex items-center w-full bg-transparent text-dos-text-brand font-dos border-2 border-dos-border-default outline-none box-border", Ig = "eidotter-select__option font-dos", Lg = "NO MATCHES", Rg = (e) => e == null || e === "" ? null : e, zg = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, "aria-label": h }) => {
|
|
14039
|
+
let g = a === "error", _ = s !== void 0, v = jg(o);
|
|
13956
14040
|
return /* @__PURE__ */ S(Vd, {
|
|
13957
14041
|
"aria-label": t ? void 0 : h,
|
|
13958
|
-
selectedKey: _ ?
|
|
14042
|
+
selectedKey: _ ? Rg(s) : void 0,
|
|
13959
14043
|
defaultSelectedKey: _ ? void 0 : c,
|
|
13960
14044
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
13961
14045
|
isDisabled: u,
|
|
@@ -13966,12 +14050,12 @@ var Dg = {
|
|
|
13966
14050
|
className: $("eidotter-select flex flex-col gap-1", m),
|
|
13967
14051
|
children: [
|
|
13968
14052
|
t && /* @__PURE__ */ x(ii, {
|
|
13969
|
-
className:
|
|
14053
|
+
className: Mg,
|
|
13970
14054
|
children: t
|
|
13971
14055
|
}),
|
|
13972
14056
|
/* @__PURE__ */ S(Y, {
|
|
13973
14057
|
id: p,
|
|
13974
|
-
className: $(
|
|
14058
|
+
className: $(Fg, Ag[v]),
|
|
13975
14059
|
children: [/* @__PURE__ */ x(Gd, { className: "eidotter-select__value flex-1 text-left truncate" }), /* @__PURE__ */ x("span", {
|
|
13976
14060
|
"aria-hidden": "true",
|
|
13977
14061
|
className: "eidotter-select__arrow",
|
|
@@ -13980,12 +14064,12 @@ var Dg = {
|
|
|
13980
14064
|
}),
|
|
13981
14065
|
r && !g && /* @__PURE__ */ x(vi, {
|
|
13982
14066
|
slot: "description",
|
|
13983
|
-
className:
|
|
14067
|
+
className: Ng,
|
|
13984
14068
|
children: r
|
|
13985
14069
|
}),
|
|
13986
14070
|
i && g && /* @__PURE__ */ x(vi, {
|
|
13987
14071
|
slot: "errorMessage",
|
|
13988
|
-
className:
|
|
14072
|
+
className: Pg,
|
|
13989
14073
|
children: i
|
|
13990
14074
|
}),
|
|
13991
14075
|
/* @__PURE__ */ x(Nl, {
|
|
@@ -13997,19 +14081,19 @@ var Dg = {
|
|
|
13997
14081
|
id: e.value,
|
|
13998
14082
|
textValue: e.label,
|
|
13999
14083
|
isDisabled: e.disabled,
|
|
14000
|
-
className:
|
|
14084
|
+
className: Ig,
|
|
14001
14085
|
children: e.label
|
|
14002
14086
|
})
|
|
14003
14087
|
})
|
|
14004
14088
|
})
|
|
14005
14089
|
]
|
|
14006
14090
|
});
|
|
14007
|
-
},
|
|
14008
|
-
let _ = a === "error", v = s !== void 0, y =
|
|
14091
|
+
}, Bg = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, emptyMessage: h = Lg, "aria-label": g }) => {
|
|
14092
|
+
let _ = a === "error", v = s !== void 0, y = jg(o);
|
|
14009
14093
|
return /* @__PURE__ */ S(gd, {
|
|
14010
14094
|
"aria-label": t ? void 0 : g,
|
|
14011
14095
|
defaultItems: e,
|
|
14012
|
-
selectedKey: v ?
|
|
14096
|
+
selectedKey: v ? Rg(s) : void 0,
|
|
14013
14097
|
defaultSelectedKey: v ? void 0 : c,
|
|
14014
14098
|
onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
|
|
14015
14099
|
isDisabled: u,
|
|
@@ -14021,11 +14105,11 @@ var Dg = {
|
|
|
14021
14105
|
className: $("eidotter-select eidotter-select--searchable flex flex-col gap-1", m),
|
|
14022
14106
|
children: [
|
|
14023
14107
|
t && /* @__PURE__ */ x(ii, {
|
|
14024
|
-
className:
|
|
14108
|
+
className: Mg,
|
|
14025
14109
|
children: t
|
|
14026
14110
|
}),
|
|
14027
14111
|
/* @__PURE__ */ S("div", {
|
|
14028
|
-
className: $(
|
|
14112
|
+
className: $(Fg, Ag[y]),
|
|
14029
14113
|
children: [/* @__PURE__ */ x(fa, {
|
|
14030
14114
|
id: p,
|
|
14031
14115
|
placeholder: n,
|
|
@@ -14042,12 +14126,12 @@ var Dg = {
|
|
|
14042
14126
|
}),
|
|
14043
14127
|
r && !_ && /* @__PURE__ */ x(vi, {
|
|
14044
14128
|
slot: "description",
|
|
14045
|
-
className:
|
|
14129
|
+
className: Ng,
|
|
14046
14130
|
children: r
|
|
14047
14131
|
}),
|
|
14048
14132
|
i && _ && /* @__PURE__ */ x(vi, {
|
|
14049
14133
|
slot: "errorMessage",
|
|
14050
|
-
className:
|
|
14134
|
+
className: Pg,
|
|
14051
14135
|
children: i
|
|
14052
14136
|
}),
|
|
14053
14137
|
/* @__PURE__ */ x(Nl, {
|
|
@@ -14062,15 +14146,15 @@ var Dg = {
|
|
|
14062
14146
|
id: e.value,
|
|
14063
14147
|
textValue: e.label,
|
|
14064
14148
|
isDisabled: e.disabled,
|
|
14065
|
-
className:
|
|
14149
|
+
className: Ig,
|
|
14066
14150
|
children: e.label
|
|
14067
14151
|
})
|
|
14068
14152
|
})
|
|
14069
14153
|
})
|
|
14070
14154
|
]
|
|
14071
14155
|
});
|
|
14072
|
-
},
|
|
14073
|
-
let T = a === "error", E = s !== void 0, D =
|
|
14156
|
+
}, Vg = ({ options: e, label: t, placeholder: n = "Select…", description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: u, disabled: f, name: h, id: g, className: _, searchable: v, searchPlaceholder: y = "FILTER…", emptyMessage: C = Lg, "aria-label": w }) => {
|
|
14157
|
+
let T = a === "error", E = s !== void 0, D = jg(o), O = p(null), [k, A] = m(!1), [j, M] = m(""), [N, P] = m(c ?? []), ee = E ? s ?? [] : N, F = `${l()}-label`, I = d(() => new Set(E ? s ?? [] : N), [
|
|
14074
14158
|
E,
|
|
14075
14159
|
s,
|
|
14076
14160
|
N
|
|
@@ -14093,7 +14177,7 @@ var Dg = {
|
|
|
14093
14177
|
children: [
|
|
14094
14178
|
t && /* @__PURE__ */ x("span", {
|
|
14095
14179
|
id: F,
|
|
14096
|
-
className:
|
|
14180
|
+
className: Mg,
|
|
14097
14181
|
children: t
|
|
14098
14182
|
}),
|
|
14099
14183
|
/* @__PURE__ */ S(Y, {
|
|
@@ -14105,7 +14189,7 @@ var Dg = {
|
|
|
14105
14189
|
"aria-haspopup": "listbox",
|
|
14106
14190
|
"aria-expanded": k,
|
|
14107
14191
|
onPress: () => R(!k),
|
|
14108
|
-
className: $(
|
|
14192
|
+
className: $(Fg, Ag[D], T && "eidotter-select__trigger--error"),
|
|
14109
14193
|
children: [/* @__PURE__ */ x("span", {
|
|
14110
14194
|
className: $("eidotter-select__value flex-1 text-left truncate", ee.length === 0 && "eidotter-select__value--placeholder text-dos-text-muted"),
|
|
14111
14195
|
children: z
|
|
@@ -14116,11 +14200,11 @@ var Dg = {
|
|
|
14116
14200
|
})]
|
|
14117
14201
|
}),
|
|
14118
14202
|
r && !T && /* @__PURE__ */ x("span", {
|
|
14119
|
-
className:
|
|
14203
|
+
className: Ng,
|
|
14120
14204
|
children: r
|
|
14121
14205
|
}),
|
|
14122
14206
|
i && T && /* @__PURE__ */ x("span", {
|
|
14123
|
-
className:
|
|
14207
|
+
className: Pg,
|
|
14124
14208
|
children: i
|
|
14125
14209
|
}),
|
|
14126
14210
|
h && ee.map((e) => /* @__PURE__ */ x("input", {
|
|
@@ -14157,7 +14241,7 @@ var Dg = {
|
|
|
14157
14241
|
id: e.value,
|
|
14158
14242
|
textValue: e.label,
|
|
14159
14243
|
isDisabled: e.disabled,
|
|
14160
|
-
className: $(
|
|
14244
|
+
className: $(Ig, "eidotter-select__option--multi"),
|
|
14161
14245
|
children: ({ isSelected: t }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("span", {
|
|
14162
14246
|
"aria-hidden": "true",
|
|
14163
14247
|
className: "eidotter-select__check",
|
|
@@ -14171,11 +14255,11 @@ var Dg = {
|
|
|
14171
14255
|
})
|
|
14172
14256
|
]
|
|
14173
14257
|
});
|
|
14174
|
-
},
|
|
14175
|
-
|
|
14258
|
+
}, Hg = (e) => e.multiple ? /* @__PURE__ */ x(Vg, { ...e }) : e.searchable ? /* @__PURE__ */ x(Bg, { ...e }) : /* @__PURE__ */ x(zg, { ...e });
|
|
14259
|
+
Hg.displayName = "Select";
|
|
14176
14260
|
//#endregion
|
|
14177
14261
|
//#region src/components/LedgerRow/components/LedgerRow.tsx
|
|
14178
|
-
var
|
|
14262
|
+
var Ug = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a, className: o }) => /* @__PURE__ */ S("div", {
|
|
14179
14263
|
className: $("eidotter-ledger-row", "flex items-center gap-3 py-2 border-b border-dos-border-disabled", a && "opacity-50", o),
|
|
14180
14264
|
children: [/* @__PURE__ */ S("div", {
|
|
14181
14265
|
className: "flex-1 min-w-0",
|
|
@@ -14193,15 +14277,15 @@ var Bg = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a,
|
|
|
14193
14277
|
className: "font-dos text-dos-text-sm text-dos-text-accent tabular-nums",
|
|
14194
14278
|
children: n
|
|
14195
14279
|
}),
|
|
14196
|
-
r !== void 0 && /* @__PURE__ */ x(
|
|
14280
|
+
r !== void 0 && /* @__PURE__ */ x(kg, { value: r }),
|
|
14197
14281
|
i
|
|
14198
14282
|
]
|
|
14199
14283
|
})]
|
|
14200
14284
|
});
|
|
14201
|
-
|
|
14285
|
+
Ug.displayName = "LedgerRow";
|
|
14202
14286
|
//#endregion
|
|
14203
14287
|
//#region src/components/LabeledProgress/components/LabeledProgress.tsx
|
|
14204
|
-
var
|
|
14288
|
+
var Wg = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i = !0, className: a, "aria-label": o }) => {
|
|
14205
14289
|
let s = n === 0 ? 0 : Math.min(100, Math.max(0, Math.round(t / n * 100)));
|
|
14206
14290
|
return /* @__PURE__ */ S("div", {
|
|
14207
14291
|
className: $("eidotter-labeled-progress", "flex items-center gap-3", a),
|
|
@@ -14229,11 +14313,11 @@ var Vg = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i
|
|
|
14229
14313
|
]
|
|
14230
14314
|
});
|
|
14231
14315
|
};
|
|
14232
|
-
|
|
14316
|
+
Wg.displayName = "LabeledProgress";
|
|
14233
14317
|
//#endregion
|
|
14234
14318
|
//#region src/components/TextScramble/components/TextScramble.tsx
|
|
14235
|
-
var
|
|
14236
|
-
let { text: s, isScrambling: c } =
|
|
14319
|
+
var Gg = i(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
|
|
14320
|
+
let { text: s, isScrambling: c } = ug(e, {
|
|
14237
14321
|
speed: t,
|
|
14238
14322
|
characters: n,
|
|
14239
14323
|
delay: r
|
|
@@ -14245,16 +14329,16 @@ var Hg = i(({ children: e, speed: t, characters: n, delay: r, className: i, ...a
|
|
|
14245
14329
|
children: s
|
|
14246
14330
|
});
|
|
14247
14331
|
});
|
|
14248
|
-
|
|
14332
|
+
Gg.displayName = "TextScramble";
|
|
14249
14333
|
//#endregion
|
|
14250
14334
|
//#region src/components/Nav/components/Nav.tsx
|
|
14251
|
-
var
|
|
14335
|
+
var Kg = {
|
|
14252
14336
|
retro: "eidotter-nav--retro",
|
|
14253
14337
|
modern: "eidotter-nav--modern"
|
|
14254
|
-
},
|
|
14338
|
+
}, qg = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
14255
14339
|
let a = r || "a";
|
|
14256
14340
|
return /* @__PURE__ */ x("nav", {
|
|
14257
|
-
className: $("eidotter-nav eidotter-nav--desktop",
|
|
14341
|
+
className: $("eidotter-nav eidotter-nav--desktop", Kg[n], i),
|
|
14258
14342
|
"aria-label": "Main navigation",
|
|
14259
14343
|
children: /* @__PURE__ */ x("ul", {
|
|
14260
14344
|
className: "eidotter-nav__desktop-list",
|
|
@@ -14269,7 +14353,7 @@ var Ug = {
|
|
|
14269
14353
|
}, e.href))
|
|
14270
14354
|
})
|
|
14271
14355
|
});
|
|
14272
|
-
},
|
|
14356
|
+
}, Jg = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
|
|
14273
14357
|
let [a, s] = m(!1), l = r || "a", u = p(null), d = p(null), f = p(null), h = p(!1), g = o(() => s((e) => !e), []), _ = o(() => s(!1), []);
|
|
14274
14358
|
return c(() => {
|
|
14275
14359
|
if (!a) return;
|
|
@@ -14280,7 +14364,7 @@ var Ug = {
|
|
|
14280
14364
|
}, [a, _]), c(() => {
|
|
14281
14365
|
a ? d.current?.focus() : h.current && u.current?.focus(), h.current = a;
|
|
14282
14366
|
}, [a]), /* @__PURE__ */ S("div", {
|
|
14283
|
-
className: $("eidotter-nav eidotter-nav--mobile",
|
|
14367
|
+
className: $("eidotter-nav eidotter-nav--mobile", Kg[n], i),
|
|
14284
14368
|
children: [
|
|
14285
14369
|
/* @__PURE__ */ x("button", {
|
|
14286
14370
|
ref: u,
|
|
@@ -14337,14 +14421,14 @@ var Ug = {
|
|
|
14337
14421
|
})
|
|
14338
14422
|
]
|
|
14339
14423
|
});
|
|
14340
|
-
},
|
|
14424
|
+
}, Yg = (e) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(Jg, { ...e }), /* @__PURE__ */ x(qg, { ...e })] }), Xg = {
|
|
14341
14425
|
user: "eidotter-chat-message--user",
|
|
14342
14426
|
assistant: "eidotter-chat-message--assistant",
|
|
14343
14427
|
system: "eidotter-chat-message--system"
|
|
14344
|
-
},
|
|
14428
|
+
}, Zg = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
|
|
14345
14429
|
let s = e === "user" ? r : e === "assistant" ? i : "";
|
|
14346
14430
|
return /* @__PURE__ */ S("div", {
|
|
14347
|
-
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words",
|
|
14431
|
+
className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words", Xg[e], n && "eidotter-chat-message--streaming", a),
|
|
14348
14432
|
...o,
|
|
14349
14433
|
children: [
|
|
14350
14434
|
s && /* @__PURE__ */ x("span", {
|
|
@@ -14363,7 +14447,7 @@ var Ug = {
|
|
|
14363
14447
|
})
|
|
14364
14448
|
]
|
|
14365
14449
|
});
|
|
14366
|
-
},
|
|
14450
|
+
}, Qg = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
|
|
14367
14451
|
let o = p(null);
|
|
14368
14452
|
c(() => {
|
|
14369
14453
|
o.current?.scrollIntoView?.({ behavior: "smooth" });
|
|
@@ -14392,7 +14476,7 @@ var Ug = {
|
|
|
14392
14476
|
className: "flex flex-col",
|
|
14393
14477
|
children: [e.map((i, a) => {
|
|
14394
14478
|
let o = t && i.role === "assistant" && a === e.length - 1;
|
|
14395
|
-
return /* @__PURE__ */ x(
|
|
14479
|
+
return /* @__PURE__ */ x(Zg, {
|
|
14396
14480
|
role: i.role,
|
|
14397
14481
|
content: i.content,
|
|
14398
14482
|
isStreaming: o,
|
|
@@ -14402,7 +14486,7 @@ var Ug = {
|
|
|
14402
14486
|
}), /* @__PURE__ */ x("div", { ref: o })]
|
|
14403
14487
|
})
|
|
14404
14488
|
});
|
|
14405
|
-
},
|
|
14489
|
+
}, $g = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
|
|
14406
14490
|
let [o, s] = m(""), c = p(null);
|
|
14407
14491
|
u(() => {
|
|
14408
14492
|
let e = c.current;
|
|
@@ -14444,30 +14528,30 @@ var Ug = {
|
|
|
14444
14528
|
})]
|
|
14445
14529
|
})]
|
|
14446
14530
|
});
|
|
14447
|
-
},
|
|
14531
|
+
}, e_ = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ S("div", {
|
|
14448
14532
|
className: $("flex flex-col h-full min-h-0", c),
|
|
14449
14533
|
...l,
|
|
14450
|
-
children: [/* @__PURE__ */ x(
|
|
14534
|
+
children: [/* @__PURE__ */ x(Qg, {
|
|
14451
14535
|
className: "flex-1 min-h-0",
|
|
14452
14536
|
messages: e,
|
|
14453
14537
|
isStreaming: n,
|
|
14454
14538
|
userPrefix: i,
|
|
14455
14539
|
assistantPrefix: a
|
|
14456
|
-
}), /* @__PURE__ */ x(
|
|
14540
|
+
}), /* @__PURE__ */ x($g, {
|
|
14457
14541
|
className: "shrink-0",
|
|
14458
14542
|
onSend: t,
|
|
14459
14543
|
prompt: r,
|
|
14460
14544
|
placeholder: o,
|
|
14461
14545
|
disabled: s
|
|
14462
14546
|
})]
|
|
14463
|
-
}),
|
|
14547
|
+
}), t_ = [{
|
|
14464
14548
|
label: "Impressum",
|
|
14465
14549
|
href: "/impressum"
|
|
14466
14550
|
}, {
|
|
14467
14551
|
label: "Datenschutz",
|
|
14468
14552
|
href: "/datenschutz"
|
|
14469
|
-
}],
|
|
14470
|
-
let s = n ??
|
|
14553
|
+
}], n_ = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
|
|
14554
|
+
let s = n ?? t_, c = r ?? "a", l = "eidotter-footer__link text-dos-text-brand no-underline";
|
|
14471
14555
|
return /* @__PURE__ */ S("footer", {
|
|
14472
14556
|
className: $("font-dos text-sm py-4 px-2 text-center", "eidotter-footer", a),
|
|
14473
14557
|
...o,
|
|
@@ -14505,14 +14589,14 @@ var Ug = {
|
|
|
14505
14589
|
})
|
|
14506
14590
|
]
|
|
14507
14591
|
});
|
|
14508
|
-
},
|
|
14592
|
+
}, r_ = {
|
|
14509
14593
|
retro: "eidotter-header--retro",
|
|
14510
14594
|
modern: "eidotter-header--modern"
|
|
14511
|
-
},
|
|
14595
|
+
}, i_ = i(({ brandName: e, brandHref: t = "/", items: n, activeHref: r, variant: i = "retro", sticky: a = !0, linkComponent: o, children: s, className: c, ...l }, u) => {
|
|
14512
14596
|
let d = o ?? "a";
|
|
14513
14597
|
return /* @__PURE__ */ S("header", {
|
|
14514
14598
|
ref: u,
|
|
14515
|
-
className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header",
|
|
14599
|
+
className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header", r_[i], a && "sticky top-0 z-50 bg-dos-bg-primary", c),
|
|
14516
14600
|
...l,
|
|
14517
14601
|
children: [
|
|
14518
14602
|
/* @__PURE__ */ x(d, {
|
|
@@ -14520,13 +14604,13 @@ var Ug = {
|
|
|
14520
14604
|
className: $("no-underline text-base font-bold tracking-wide", "eidotter-header__branding"),
|
|
14521
14605
|
children: s || e
|
|
14522
14606
|
}),
|
|
14523
|
-
/* @__PURE__ */ x(
|
|
14607
|
+
/* @__PURE__ */ x(qg, {
|
|
14524
14608
|
items: n,
|
|
14525
14609
|
activeHref: r,
|
|
14526
14610
|
variant: i,
|
|
14527
14611
|
linkComponent: o
|
|
14528
14612
|
}),
|
|
14529
|
-
/* @__PURE__ */ x(
|
|
14613
|
+
/* @__PURE__ */ x(Jg, {
|
|
14530
14614
|
items: n,
|
|
14531
14615
|
activeHref: r,
|
|
14532
14616
|
variant: i,
|
|
@@ -14535,16 +14619,16 @@ var Ug = {
|
|
|
14535
14619
|
]
|
|
14536
14620
|
});
|
|
14537
14621
|
});
|
|
14538
|
-
|
|
14622
|
+
i_.displayName = "Header";
|
|
14539
14623
|
//#endregion
|
|
14540
14624
|
//#region src/components/Notification/components/Notification.tsx
|
|
14541
|
-
var
|
|
14625
|
+
var a_ = {
|
|
14542
14626
|
primary: "Info",
|
|
14543
14627
|
gray: "Info",
|
|
14544
14628
|
success: "Done",
|
|
14545
14629
|
warning: "Warning",
|
|
14546
14630
|
error: "Error"
|
|
14547
|
-
},
|
|
14631
|
+
}, o_ = ({ type: e = "primary", title: t, children: n, actions: r, onClose: i, avatar: a, image: o, progress: s, progressLabel: l, duration: u, showIcon: d = !0, className: f }) => {
|
|
14548
14632
|
let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = $p("notification-exit", i);
|
|
14549
14633
|
c(() => {
|
|
14550
14634
|
if (u == null || !i) return;
|
|
@@ -14574,7 +14658,7 @@ var n_ = {
|
|
|
14574
14658
|
g && /* @__PURE__ */ x("div", {
|
|
14575
14659
|
className: "eidotter-notification__icon",
|
|
14576
14660
|
children: /* @__PURE__ */ x(Zp, {
|
|
14577
|
-
name:
|
|
14661
|
+
name: a_[e] || "Info",
|
|
14578
14662
|
size: "S",
|
|
14579
14663
|
"aria-label": `${e} notification`
|
|
14580
14664
|
})
|
|
@@ -14630,7 +14714,7 @@ var n_ = {
|
|
|
14630
14714
|
};
|
|
14631
14715
|
//#endregion
|
|
14632
14716
|
//#region src/components/InlineLink/components/InlineLink.tsx
|
|
14633
|
-
function
|
|
14717
|
+
function s_(e) {
|
|
14634
14718
|
let t = e.trim();
|
|
14635
14719
|
if (t === "" || /^[#?/]/.test(t)) return t;
|
|
14636
14720
|
let n = /^([a-z][a-z0-9+\-.]*):/i.exec(t);
|
|
@@ -14645,14 +14729,14 @@ function i_(e) {
|
|
|
14645
14729
|
"sms"
|
|
14646
14730
|
].includes(r) ? t : "#";
|
|
14647
14731
|
}
|
|
14648
|
-
function
|
|
14732
|
+
function c_(e, t) {
|
|
14649
14733
|
if (t.length === 0) return e;
|
|
14650
14734
|
let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
|
|
14651
14735
|
for (let e of t) n.add(e.toLowerCase());
|
|
14652
14736
|
return Array.from(n).join(" ");
|
|
14653
14737
|
}
|
|
14654
|
-
var
|
|
14655
|
-
let l =
|
|
14738
|
+
var l_ = i(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
|
|
14739
|
+
let l = s_(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? c_(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
|
|
14656
14740
|
return /* @__PURE__ */ S("a", {
|
|
14657
14741
|
ref: c,
|
|
14658
14742
|
href: l,
|
|
@@ -14670,10 +14754,10 @@ var o_ = i(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
|
|
|
14670
14754
|
})]
|
|
14671
14755
|
});
|
|
14672
14756
|
});
|
|
14673
|
-
|
|
14757
|
+
l_.displayName = "InlineLink";
|
|
14674
14758
|
//#endregion
|
|
14675
14759
|
//#region src/components/DosFigure/components/DosFigure.tsx
|
|
14676
|
-
var
|
|
14760
|
+
var u_ = i(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, c) => {
|
|
14677
14761
|
let u = l(), d = r ? u : void 0;
|
|
14678
14762
|
return /* @__PURE__ */ S("figure", {
|
|
14679
14763
|
ref: c,
|
|
@@ -14734,11 +14818,11 @@ var s_ = i(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
|
|
|
14734
14818
|
]
|
|
14735
14819
|
});
|
|
14736
14820
|
});
|
|
14737
|
-
|
|
14821
|
+
u_.displayName = "DosFigure";
|
|
14738
14822
|
//#endregion
|
|
14739
14823
|
//#region src/components/CmdPalette/components/CmdPalette.tsx
|
|
14740
|
-
var
|
|
14741
|
-
function
|
|
14824
|
+
var d_ = /* @__PURE__ */ x(b, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
|
|
14825
|
+
function f_(e) {
|
|
14742
14826
|
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");
|
|
14743
14827
|
return (e) => {
|
|
14744
14828
|
if (e.key.toLowerCase() !== n) return !1;
|
|
@@ -14746,15 +14830,15 @@ function l_(e) {
|
|
|
14746
14830
|
return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
|
|
14747
14831
|
};
|
|
14748
14832
|
}
|
|
14749
|
-
function
|
|
14833
|
+
function p_(e, t) {
|
|
14750
14834
|
if (!t) return 0;
|
|
14751
14835
|
let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
|
|
14752
14836
|
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;
|
|
14753
14837
|
}
|
|
14754
|
-
var
|
|
14838
|
+
var m_ = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: a = "NO MATCHES", footerHint: s = d_, renderItem: u, maxResults: f = 20, className: h, "aria-label": g = "Command palette" }, _) => {
|
|
14755
14839
|
let v = l(), y = `${v}-listbox`, [C, w] = m(""), [T, E] = m(0), D = p(null), O = p(null), k = p(!1), A = d(() => C.trim() ? n.map((e) => ({
|
|
14756
14840
|
item: e,
|
|
14757
|
-
score:
|
|
14841
|
+
score: p_(e, C.trim())
|
|
14758
14842
|
})).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, f).map((e) => e.item) : n.slice(0, f), [
|
|
14759
14843
|
n,
|
|
14760
14844
|
C,
|
|
@@ -14779,7 +14863,7 @@ var d_ = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
14779
14863
|
M.current = t;
|
|
14780
14864
|
}, [t]), c(() => {
|
|
14781
14865
|
if (i === !1) return;
|
|
14782
|
-
let e =
|
|
14866
|
+
let e = f_(i), t = (t) => {
|
|
14783
14867
|
e(t) && (t.preventDefault(), M.current(!j.current));
|
|
14784
14868
|
};
|
|
14785
14869
|
return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
|
|
@@ -14888,10 +14972,10 @@ var d_ = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
|
|
|
14888
14972
|
})
|
|
14889
14973
|
});
|
|
14890
14974
|
});
|
|
14891
|
-
|
|
14975
|
+
m_.displayName = "CmdPalette";
|
|
14892
14976
|
//#endregion
|
|
14893
14977
|
//#region src/components/Brand/components/Logo.tsx
|
|
14894
|
-
var
|
|
14978
|
+
var h_ = i(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => {
|
|
14895
14979
|
let o = l(), s = `eidotter-logo-halo-${o}`, c = `eidotter-logo-core-${o}`;
|
|
14896
14980
|
return /* @__PURE__ */ S("svg", {
|
|
14897
14981
|
ref: a,
|
|
@@ -15115,10 +15199,10 @@ var f_ = i(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, .
|
|
|
15115
15199
|
]
|
|
15116
15200
|
});
|
|
15117
15201
|
});
|
|
15118
|
-
|
|
15202
|
+
h_.displayName = "Logo";
|
|
15119
15203
|
//#endregion
|
|
15120
15204
|
//#region src/components/Brand/components/Wordmark.tsx
|
|
15121
|
-
var
|
|
15205
|
+
var g_ = i(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ S("span", {
|
|
15122
15206
|
ref: r,
|
|
15123
15207
|
className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
|
|
15124
15208
|
"aria-label": "eiDotter",
|
|
@@ -15133,28 +15217,28 @@ var p_ = i(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ S("span"
|
|
|
15133
15217
|
children: "Dotter"
|
|
15134
15218
|
})]
|
|
15135
15219
|
}));
|
|
15136
|
-
|
|
15220
|
+
g_.displayName = "Wordmark";
|
|
15137
15221
|
//#endregion
|
|
15138
15222
|
//#region src/components/Brand/components/BrandLockup.tsx
|
|
15139
|
-
var
|
|
15223
|
+
var __ = i(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ S("div", {
|
|
15140
15224
|
ref: o,
|
|
15141
15225
|
className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
|
|
15142
15226
|
role: "img",
|
|
15143
15227
|
"aria-label": "eiDotter",
|
|
15144
15228
|
...a,
|
|
15145
|
-
children: [!n && /* @__PURE__ */ x(
|
|
15229
|
+
children: [!n && /* @__PURE__ */ x(h_, {
|
|
15146
15230
|
size: e,
|
|
15147
15231
|
glow: r,
|
|
15148
15232
|
title: ""
|
|
15149
|
-
}), !t && /* @__PURE__ */ x(
|
|
15233
|
+
}), !t && /* @__PURE__ */ x(g_, {
|
|
15150
15234
|
glow: r,
|
|
15151
15235
|
"aria-hidden": "true"
|
|
15152
15236
|
})]
|
|
15153
15237
|
}));
|
|
15154
|
-
|
|
15238
|
+
__.displayName = "BrandLockup";
|
|
15155
15239
|
//#endregion
|
|
15156
15240
|
//#region src/components/AIText/components/AIText.tsx
|
|
15157
|
-
var
|
|
15241
|
+
var v_ = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ S("span", {
|
|
15158
15242
|
"data-provenance": "ai-draft",
|
|
15159
15243
|
className: $("eidotter-ai-text", t),
|
|
15160
15244
|
title: n,
|
|
@@ -15163,43 +15247,43 @@ var h_ = ({ children: e, className: t, title: n = "AI-assisted text — being re
|
|
|
15163
15247
|
children: "AI-assisted: "
|
|
15164
15248
|
}), e]
|
|
15165
15249
|
});
|
|
15166
|
-
|
|
15250
|
+
v_.displayName = "AIText";
|
|
15167
15251
|
//#endregion
|
|
15168
15252
|
//#region src/components/Skeleton/components/Skeleton.tsx
|
|
15169
|
-
var
|
|
15253
|
+
var y_ = "░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░", b_ = "▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒", x_ = 6, S_ = {
|
|
15170
15254
|
text: 3,
|
|
15171
15255
|
card: 3,
|
|
15172
15256
|
figure: 4,
|
|
15173
15257
|
timeline: 2
|
|
15174
|
-
},
|
|
15258
|
+
}, C_ = ({ dense: e = !1, width: t = "full" }) => /* @__PURE__ */ x("span", {
|
|
15175
15259
|
className: $("eidotter-skeleton__line", t === "short" && "eidotter-skeleton__line--short", t === "meta" && "eidotter-skeleton__line--meta"),
|
|
15176
|
-
children: (e ?
|
|
15260
|
+
children: (e ? b_ : y_).repeat(x_)
|
|
15177
15261
|
});
|
|
15178
|
-
function
|
|
15179
|
-
return Array.from({ length: e }, (r, i) => /* @__PURE__ */ x(
|
|
15262
|
+
function w_(e, t = !1, n = !0) {
|
|
15263
|
+
return Array.from({ length: e }, (r, i) => /* @__PURE__ */ x(C_, {
|
|
15180
15264
|
dense: t,
|
|
15181
15265
|
width: n && i === e - 1 && e > 1 ? "short" : "full"
|
|
15182
15266
|
}, i));
|
|
15183
15267
|
}
|
|
15184
|
-
var
|
|
15185
|
-
let a = Math.max(1, t ??
|
|
15268
|
+
var T_ = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading", className: i }) => {
|
|
15269
|
+
let a = Math.max(1, t ?? S_[e]), o;
|
|
15186
15270
|
switch (e) {
|
|
15187
15271
|
case "card":
|
|
15188
|
-
o = /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(
|
|
15272
|
+
o = /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(C_, {
|
|
15189
15273
|
dense: !0,
|
|
15190
15274
|
width: "meta"
|
|
15191
|
-
}),
|
|
15275
|
+
}), w_(a)] });
|
|
15192
15276
|
break;
|
|
15193
15277
|
case "figure":
|
|
15194
|
-
o =
|
|
15278
|
+
o = w_(a, !0, !1);
|
|
15195
15279
|
break;
|
|
15196
15280
|
case "timeline":
|
|
15197
15281
|
o = /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("span", { className: "eidotter-skeleton__marker border-2 border-dos-border-default" }), /* @__PURE__ */ S("span", {
|
|
15198
15282
|
className: "eidotter-skeleton__entry",
|
|
15199
|
-
children: [/* @__PURE__ */ x(
|
|
15283
|
+
children: [/* @__PURE__ */ x(C_, { width: "meta" }), w_(a)]
|
|
15200
15284
|
})] });
|
|
15201
15285
|
break;
|
|
15202
|
-
default: o =
|
|
15286
|
+
default: o = w_(a);
|
|
15203
15287
|
}
|
|
15204
15288
|
return /* @__PURE__ */ x("div", {
|
|
15205
15289
|
role: "status",
|
|
@@ -15212,10 +15296,10 @@ var S_ = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading
|
|
|
15212
15296
|
})
|
|
15213
15297
|
});
|
|
15214
15298
|
};
|
|
15215
|
-
|
|
15299
|
+
T_.displayName = "Skeleton";
|
|
15216
15300
|
//#endregion
|
|
15217
15301
|
//#region src/components/LegalPage/components/LegalPage.tsx
|
|
15218
|
-
var
|
|
15302
|
+
var E_ = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ S("div", {
|
|
15219
15303
|
className: $("eidotter-legal-page", a),
|
|
15220
15304
|
...o,
|
|
15221
15305
|
children: [r && /* @__PURE__ */ x("div", {
|
|
@@ -15238,13 +15322,13 @@ var C_ = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
15238
15322
|
className: "eidotter-legal-page__body",
|
|
15239
15323
|
children: i
|
|
15240
15324
|
})] })]
|
|
15241
|
-
}),
|
|
15325
|
+
}), D_ = /* @__PURE__ */ S(b, { children: [
|
|
15242
15326
|
"Haus-Endt-Str. 149A",
|
|
15243
15327
|
/* @__PURE__ */ x("br", {}),
|
|
15244
15328
|
"40593 Düsseldorf",
|
|
15245
15329
|
/* @__PURE__ */ x("br", {}),
|
|
15246
15330
|
"Deutschland"
|
|
15247
|
-
] }),
|
|
15331
|
+
] }), O_ = "Dominic Kennedy", k_ = ({ email: e, address: t = D_, name: n = O_ }) => /* @__PURE__ */ S("address", { children: [
|
|
15248
15332
|
n,
|
|
15249
15333
|
/* @__PURE__ */ x("br", {}),
|
|
15250
15334
|
t,
|
|
@@ -15256,16 +15340,16 @@ var C_ = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
15256
15340
|
children: e
|
|
15257
15341
|
})
|
|
15258
15342
|
] })
|
|
15259
|
-
] }),
|
|
15343
|
+
] }), A_ = (e) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ x(k_, { ...e })] }), j_ = ({ email: e }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Kontakt" }), /* @__PURE__ */ S("p", { children: ["E-Mail: ", /* @__PURE__ */ x("a", {
|
|
15260
15344
|
href: `mailto:${e}`,
|
|
15261
15345
|
children: e
|
|
15262
|
-
})] })] }),
|
|
15346
|
+
})] })] }), M_ = ({ name: e = O_ }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ S("address", { children: [
|
|
15263
15347
|
e,
|
|
15264
15348
|
/* @__PURE__ */ x("br", {}),
|
|
15265
15349
|
"Haus-Endt-Str. 149A",
|
|
15266
15350
|
/* @__PURE__ */ x("br", {}),
|
|
15267
15351
|
"40593 Düsseldorf"
|
|
15268
|
-
] })] }),
|
|
15352
|
+
] })] }), N_ = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Haftung für Inhalte" }), /* @__PURE__ */ x("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." })] }), P_ = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Haftung für Links" }), /* @__PURE__ */ x("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." })] }), F_ = ({ email: e, name: t = O_ }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ S("address", { children: [
|
|
15269
15353
|
t,
|
|
15270
15354
|
/* @__PURE__ */ x("br", {}),
|
|
15271
15355
|
"Haus-Endt-Str. 149A",
|
|
@@ -15277,14 +15361,14 @@ var C_ = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
15277
15361
|
href: `mailto:${e}`,
|
|
15278
15362
|
children: e
|
|
15279
15363
|
})
|
|
15280
|
-
] })] }),
|
|
15364
|
+
] })] }), I_ = () => /* @__PURE__ */ S(b, { children: [
|
|
15281
15365
|
/* @__PURE__ */ x("h2", { children: "Hosting" }),
|
|
15282
15366
|
/* @__PURE__ */ x("p", { children: "Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern." }),
|
|
15283
15367
|
/* @__PURE__ */ x("p", {
|
|
15284
15368
|
className: "eidotter-legal-page__basis",
|
|
15285
15369
|
children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
15286
15370
|
})
|
|
15287
|
-
] }),
|
|
15371
|
+
] }), L_ = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ S(b, { children: [
|
|
15288
15372
|
/* @__PURE__ */ x("h2", { children: "Webanalyse — PostHog" }),
|
|
15289
15373
|
/* @__PURE__ */ S("p", { children: [
|
|
15290
15374
|
"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 ",
|
|
@@ -15301,7 +15385,7 @@ var C_ = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
15301
15385
|
className: "eidotter-legal-page__basis",
|
|
15302
15386
|
children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
|
|
15303
15387
|
})
|
|
15304
|
-
] }),
|
|
15388
|
+
] }), R_ = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Schriftarten" }), /* @__PURE__ */ x("p", { children: "Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt." })] }), z_ = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Verschlüsselung" }), /* @__PURE__ */ x("p", { children: "Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers." })] }), B_ = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ S(b, { children: [
|
|
15305
15389
|
/* @__PURE__ */ x("h2", { children: "Ihre Rechte" }),
|
|
15306
15390
|
/* @__PURE__ */ x("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
|
|
15307
15391
|
/* @__PURE__ */ S("ul", { children: [
|
|
@@ -15326,7 +15410,7 @@ var C_ = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
15326
15410
|
t,
|
|
15327
15411
|
"."
|
|
15328
15412
|
] })
|
|
15329
|
-
] }),
|
|
15413
|
+
] }), V_ = {
|
|
15330
15414
|
eidotter: { displayName: "eiDotter" },
|
|
15331
15415
|
spacewar: { displayName: "Spacewar!" },
|
|
15332
15416
|
rizomorf: { displayName: "rizomorf" },
|
|
@@ -15344,7 +15428,7 @@ var C_ = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
15344
15428
|
displayName: "Tracker",
|
|
15345
15429
|
url: "https://tracker.dmnc.tech"
|
|
15346
15430
|
}
|
|
15347
|
-
},
|
|
15431
|
+
}, H_ = {
|
|
15348
15432
|
Alert: {
|
|
15349
15433
|
origin: "eidotter",
|
|
15350
15434
|
consumers: ["rizomorf", "steuerdash"],
|
|
@@ -16906,21 +16990,21 @@ var C_ = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
|
|
|
16906
16990
|
}]
|
|
16907
16991
|
}
|
|
16908
16992
|
};
|
|
16909
|
-
function
|
|
16910
|
-
return
|
|
16993
|
+
function U_(e) {
|
|
16994
|
+
return H_[e];
|
|
16911
16995
|
}
|
|
16912
|
-
function
|
|
16913
|
-
return Object.entries(
|
|
16996
|
+
function W_(e) {
|
|
16997
|
+
return Object.entries(H_).filter(([, t]) => t.origin === e).map(([e]) => e);
|
|
16914
16998
|
}
|
|
16915
|
-
function
|
|
16916
|
-
return Object.entries(
|
|
16999
|
+
function G_(e) {
|
|
17000
|
+
return Object.entries(H_).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
|
|
16917
17001
|
}
|
|
16918
|
-
function
|
|
16919
|
-
let n =
|
|
17002
|
+
function K_(e, t) {
|
|
17003
|
+
let n = H_[e];
|
|
16920
17004
|
return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
|
|
16921
17005
|
}
|
|
16922
|
-
function
|
|
16923
|
-
let t =
|
|
17006
|
+
function q_(e) {
|
|
17007
|
+
let t = H_[e];
|
|
16924
17008
|
if (!t?.variants) return {};
|
|
16925
17009
|
let n = {};
|
|
16926
17010
|
for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
|
|
@@ -16928,6 +17012,6 @@ function W_(e) {
|
|
|
16928
17012
|
}
|
|
16929
17013
|
//#endregion
|
|
16930
17014
|
//#region src/index.ts
|
|
16931
|
-
var
|
|
17015
|
+
var J_ = "0.30.0";
|
|
16932
17016
|
//#endregion
|
|
16933
|
-
export {
|
|
17017
|
+
export { v_ as AIText, om as AccordionFill, k_ as AddressBlock, im as Alert, Gm as Badge, __ as BrandLockup, Jm as Breadcrumb, lm as Button, Mm as CalendarHeatmap, dm as Card, e_ as ChatContainer, Qg as ChatHistory, $g as ChatInput, Zg as ChatMessage, fm as Checkbox, Og as ChecklistRow, m_ as CmdPalette, pm as CommandPrompt, kg as CopyButton, F_ as DatenschutzController, z_ as DatenschutzEncryption, R_ as DatenschutzFonts, I_ as DatenschutzHosting, L_ as DatenschutzPostHog, B_ as DatenschutzRights, qg as DesktopNav, u_ as DosFigure, Eg as EmptyState, _g as FilterBar, n_ as Footer, i_ as Header, Im as HoldToComplete, Zp as Icon, A_ as ImpressumAddress, j_ as ImpressumContact, N_ as ImpressumLiabilityContent, P_ as ImpressumLiabilityLinks, M_ as ImpressumResponsible, bg as InlineExpand, l_ as InlineLink, Rm as Input, Wg as LabeledProgress, Ug as LedgerRow, E_ as LegalPage, Rh as Lightbox, h_ as Logo, Jg as MobileNav, sg as Modal, Yg as Nav, o_ as Notification, xm as Progress, Cm as ProgressRing, $m as RetroEffects, am as Section, wg as SectionHeading, Hg as Select, Sg as Separator, T_ as Skeleton, hg as Stat, Km as Switch, Hm as Tabs, $h as Tag, tg as TagGroup, zm as Terminal, Gg as TextScramble, og as TimelineContainer, ih as TimelineNode, g_ as Wordmark, ah as ZOOM_LEVELS, H_ as componentRegistry, t_ as defaultLegalLinks, U_ as getComponentMeta, G_ as getComponentsByConsumer, W_ as getComponentsByOrigin, q_ as getVariantConsumerMap, K_ as getVariantsUsedBy, vg as isSafeUrl, V_ as projects, ug as useTextScramble, J_ as version };
|