eidotter 0.34.0 → 0.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -27,6 +27,8 @@ export { FilterBar } from './components/FilterBar';
27
27
  export { Tag, TagGroup } from './components/Tag';
28
28
  export { InlineExpand } from './components/InlineExpand';
29
29
  export { Separator } from './components/Separator';
30
+ export { SectionHeading } from './components/SectionHeading';
31
+ export { EmptyState } from './components/EmptyState';
30
32
  export { TextScramble } from './components/TextScramble';
31
33
  export { Nav, DesktopNav, MobileNav } from './components/Nav';
32
34
  export { ChatMessage, ChatHistory, ChatInput, ChatContainer } from './components/Chat';
@@ -66,6 +68,8 @@ export type { FilterBarProps, FilterBarItem } from './components/FilterBar';
66
68
  export type { TagProps, TagGroupProps } from './components/Tag';
67
69
  export type { InlineExpandProps, InlineExpandSource } from './components/InlineExpand';
68
70
  export type { SeparatorProps } from './components/Separator';
71
+ export type { SectionHeadingProps } from './components/SectionHeading';
72
+ export type { EmptyStateProps } from './components/EmptyState';
69
73
  export type { TextScrambleProps } from './components/TextScramble';
70
74
  export type { NavProps, NavItem } from './components/Nav';
71
75
  export type { ChatMessageProps, ChatHistoryProps, ChatMessageEntry, ChatInputProps, ChatContainerProps } from './components/Chat';
package/dist/index.es.js CHANGED
@@ -9978,7 +9978,49 @@ var Qd = {
9978
9978
  role: "separator",
9979
9979
  "aria-orientation": e,
9980
9980
  className: $("shrink-0 bg-dos-border-default", "eidotter-separator", nf[e], t)
9981
- }), af = r(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
9981
+ }), af = {
9982
+ default: "text-dos-text-primary",
9983
+ error: "text-dos-error",
9984
+ warning: "text-dos-warning",
9985
+ info: "text-dos-info"
9986
+ }, of = ({ title: e, count: t, tone: n = "default", children: r, className: i }) => /* @__PURE__ */ x("h3", {
9987
+ className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm", af[n], i),
9988
+ children: [
9989
+ e,
9990
+ t !== void 0 && ` (${t})`,
9991
+ r
9992
+ ]
9993
+ });
9994
+ of.displayName = "SectionHeading";
9995
+ //#endregion
9996
+ //#region src/components/EmptyState/components/EmptyState.tsx
9997
+ var sf = {
9998
+ default: "text-dos-text-primary",
9999
+ error: "text-dos-error",
10000
+ warning: "text-dos-warning",
10001
+ info: "text-dos-info"
10002
+ }, cf = ({ title: e, description: t, tone: n = "default", action: r, className: i }) => /* @__PURE__ */ x("div", {
10003
+ className: $("eidotter-empty-state", "flex flex-col gap-2 py-6 text-center", i),
10004
+ role: "status",
10005
+ children: [
10006
+ /* @__PURE__ */ b("p", {
10007
+ className: $("font-dos text-dos-text-sm", sf[n]),
10008
+ children: e
10009
+ }),
10010
+ t && /* @__PURE__ */ b("p", {
10011
+ className: "font-dos text-dos-text-xs text-dos-text-muted",
10012
+ children: t
10013
+ }),
10014
+ r && /* @__PURE__ */ b("div", {
10015
+ className: "mt-2",
10016
+ children: r
10017
+ })
10018
+ ]
10019
+ });
10020
+ cf.displayName = "EmptyState";
10021
+ //#endregion
10022
+ //#region src/components/TextScramble/components/TextScramble.tsx
10023
+ var lf = r(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
9982
10024
  let { text: s, isScrambling: c } = Kd(e, {
9983
10025
  speed: t,
9984
10026
  characters: n,
@@ -9991,16 +10033,16 @@ var Qd = {
9991
10033
  children: s
9992
10034
  });
9993
10035
  });
9994
- af.displayName = "TextScramble";
10036
+ lf.displayName = "TextScramble";
9995
10037
  //#endregion
9996
10038
  //#region src/components/Nav/components/Nav.tsx
9997
- var of = {
10039
+ var uf = {
9998
10040
  retro: "eidotter-nav--retro",
9999
10041
  modern: "eidotter-nav--modern"
10000
- }, sf = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
10042
+ }, df = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
10001
10043
  let a = r || "a";
10002
10044
  return /* @__PURE__ */ b("nav", {
10003
- className: $("eidotter-nav eidotter-nav--desktop", of[n], i),
10045
+ className: $("eidotter-nav eidotter-nav--desktop", uf[n], i),
10004
10046
  "aria-label": "Main navigation",
10005
10047
  children: /* @__PURE__ */ b("ul", {
10006
10048
  className: "eidotter-nav__desktop-list",
@@ -10015,7 +10057,7 @@ var of = {
10015
10057
  }, e.href))
10016
10058
  })
10017
10059
  });
10018
- }, cf = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
10060
+ }, ff = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
10019
10061
  let [o, c] = p(!1), l = r || "a", u = f(null), d = f(null), m = f(null), h = f(!1), g = a(() => c((e) => !e), []), _ = a(() => c(!1), []);
10020
10062
  return s(() => {
10021
10063
  if (!o) return;
@@ -10026,7 +10068,7 @@ var of = {
10026
10068
  }, [o, _]), s(() => {
10027
10069
  o ? d.current?.focus() : h.current && u.current?.focus(), h.current = o;
10028
10070
  }, [o]), /* @__PURE__ */ x("div", {
10029
- className: $("eidotter-nav eidotter-nav--mobile", of[n], i),
10071
+ className: $("eidotter-nav eidotter-nav--mobile", uf[n], i),
10030
10072
  children: [
10031
10073
  /* @__PURE__ */ b("button", {
10032
10074
  ref: u,
@@ -10083,14 +10125,14 @@ var of = {
10083
10125
  })
10084
10126
  ]
10085
10127
  });
10086
- }, lf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(cf, { ...e }), /* @__PURE__ */ b(sf, { ...e })] }), uf = {
10128
+ }, pf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(ff, { ...e }), /* @__PURE__ */ b(df, { ...e })] }), mf = {
10087
10129
  user: "eidotter-chat-message--user",
10088
10130
  assistant: "eidotter-chat-message--assistant",
10089
10131
  system: "eidotter-chat-message--system"
10090
- }, df = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
10132
+ }, hf = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
10091
10133
  let s = e === "user" ? r : e === "assistant" ? i : "";
10092
10134
  return /* @__PURE__ */ x("div", {
10093
- className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words", uf[e], n && "eidotter-chat-message--streaming", a),
10135
+ className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words", mf[e], n && "eidotter-chat-message--streaming", a),
10094
10136
  ...o,
10095
10137
  children: [
10096
10138
  s && /* @__PURE__ */ b("span", {
@@ -10109,7 +10151,7 @@ var of = {
10109
10151
  })
10110
10152
  ]
10111
10153
  });
10112
- }, ff = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
10154
+ }, gf = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
10113
10155
  let o = f(null);
10114
10156
  s(() => {
10115
10157
  o.current?.scrollIntoView?.({ behavior: "smooth" });
@@ -10138,7 +10180,7 @@ var of = {
10138
10180
  className: "flex flex-col",
10139
10181
  children: [e.map((i, a) => {
10140
10182
  let o = t && i.role === "assistant" && a === e.length - 1;
10141
- return /* @__PURE__ */ b(df, {
10183
+ return /* @__PURE__ */ b(hf, {
10142
10184
  role: i.role,
10143
10185
  content: i.content,
10144
10186
  isStreaming: o,
@@ -10148,7 +10190,7 @@ var of = {
10148
10190
  }), /* @__PURE__ */ b("div", { ref: o })]
10149
10191
  })
10150
10192
  });
10151
- }, pf = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
10193
+ }, _f = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
10152
10194
  let [o, s] = p(""), c = f(null);
10153
10195
  l(() => {
10154
10196
  let e = c.current;
@@ -10190,30 +10232,30 @@ var of = {
10190
10232
  })]
10191
10233
  })]
10192
10234
  });
10193
- }, mf = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ x("div", {
10235
+ }, vf = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ x("div", {
10194
10236
  className: $("flex flex-col h-full min-h-0", c),
10195
10237
  ...l,
10196
- children: [/* @__PURE__ */ b(ff, {
10238
+ children: [/* @__PURE__ */ b(gf, {
10197
10239
  className: "flex-1 min-h-0",
10198
10240
  messages: e,
10199
10241
  isStreaming: n,
10200
10242
  userPrefix: i,
10201
10243
  assistantPrefix: a
10202
- }), /* @__PURE__ */ b(pf, {
10244
+ }), /* @__PURE__ */ b(_f, {
10203
10245
  className: "shrink-0",
10204
10246
  onSend: t,
10205
10247
  prompt: r,
10206
10248
  placeholder: o,
10207
10249
  disabled: s
10208
10250
  })]
10209
- }), hf = [{
10251
+ }), yf = [{
10210
10252
  label: "Impressum",
10211
10253
  href: "/impressum"
10212
10254
  }, {
10213
10255
  label: "Datenschutz",
10214
10256
  href: "/datenschutz"
10215
- }], gf = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
10216
- let s = n ?? hf, c = r ?? "a", l = "eidotter-footer__link text-dos-text-brand no-underline";
10257
+ }], bf = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
10258
+ let s = n ?? yf, c = r ?? "a", l = "eidotter-footer__link text-dos-text-brand no-underline";
10217
10259
  return /* @__PURE__ */ x("footer", {
10218
10260
  className: $("font-dos text-sm py-4 px-2 text-center", "eidotter-footer", a),
10219
10261
  ...o,
@@ -10251,14 +10293,14 @@ var of = {
10251
10293
  })
10252
10294
  ]
10253
10295
  });
10254
- }, _f = {
10296
+ }, xf = {
10255
10297
  retro: "eidotter-header--retro",
10256
10298
  modern: "eidotter-header--modern"
10257
- }, vf = r(({ brandName: e, brandHref: t = "/", items: n, activeHref: r, variant: i = "retro", sticky: a = !0, linkComponent: o, children: s, className: c, ...l }, u) => {
10299
+ }, Sf = r(({ brandName: e, brandHref: t = "/", items: n, activeHref: r, variant: i = "retro", sticky: a = !0, linkComponent: o, children: s, className: c, ...l }, u) => {
10258
10300
  let d = o ?? "a";
10259
10301
  return /* @__PURE__ */ x("header", {
10260
10302
  ref: u,
10261
- className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header", _f[i], a && "sticky top-0 z-50 bg-dos-bg-primary", c),
10303
+ className: $("flex items-center justify-between px-4 py-3 font-dos", "eidotter-header", xf[i], a && "sticky top-0 z-50 bg-dos-bg-primary", c),
10262
10304
  ...l,
10263
10305
  children: [
10264
10306
  /* @__PURE__ */ b(d, {
@@ -10266,13 +10308,13 @@ var of = {
10266
10308
  className: $("no-underline text-base font-bold tracking-wide", "eidotter-header__branding"),
10267
10309
  children: s || e
10268
10310
  }),
10269
- /* @__PURE__ */ b(sf, {
10311
+ /* @__PURE__ */ b(df, {
10270
10312
  items: n,
10271
10313
  activeHref: r,
10272
10314
  variant: i,
10273
10315
  linkComponent: o
10274
10316
  }),
10275
- /* @__PURE__ */ b(cf, {
10317
+ /* @__PURE__ */ b(ff, {
10276
10318
  items: n,
10277
10319
  activeHref: r,
10278
10320
  variant: i,
@@ -10281,16 +10323,16 @@ var of = {
10281
10323
  ]
10282
10324
  });
10283
10325
  });
10284
- vf.displayName = "Header";
10326
+ Sf.displayName = "Header";
10285
10327
  //#endregion
10286
10328
  //#region src/components/Notification/components/Notification.tsx
10287
- var yf = {
10329
+ var Cf = {
10288
10330
  primary: "Info",
10289
10331
  gray: "Info",
10290
10332
  success: "Done",
10291
10333
  warning: "Warning",
10292
10334
  error: "Error"
10293
- }, bf = ({ 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 }) => {
10335
+ }, wf = ({ 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 }) => {
10294
10336
  let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = $l("notification-exit", i);
10295
10337
  s(() => {
10296
10338
  if (u == null || !i) return;
@@ -10320,7 +10362,7 @@ var yf = {
10320
10362
  g && /* @__PURE__ */ b("div", {
10321
10363
  className: "eidotter-notification__icon",
10322
10364
  children: /* @__PURE__ */ b(Zl, {
10323
- name: yf[e] || "Info",
10365
+ name: Cf[e] || "Info",
10324
10366
  size: "S",
10325
10367
  "aria-label": `${e} notification`
10326
10368
  })
@@ -10376,7 +10418,7 @@ var yf = {
10376
10418
  };
10377
10419
  //#endregion
10378
10420
  //#region src/components/InlineLink/components/InlineLink.tsx
10379
- function xf(e) {
10421
+ function Tf(e) {
10380
10422
  let t = e.trim();
10381
10423
  if (t === "" || /^[#?/]/.test(t)) return t;
10382
10424
  let n = /^([a-z][a-z0-9+\-.]*):/i.exec(t);
@@ -10391,14 +10433,14 @@ function xf(e) {
10391
10433
  "sms"
10392
10434
  ].includes(r) ? t : "#";
10393
10435
  }
10394
- function Sf(e, t) {
10436
+ function Ef(e, t) {
10395
10437
  if (t.length === 0) return e;
10396
10438
  let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
10397
10439
  for (let e of t) n.add(e.toLowerCase());
10398
10440
  return Array.from(n).join(" ");
10399
10441
  }
10400
- var Cf = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
10401
- let l = xf(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? Sf(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
10442
+ var Df = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
10443
+ let l = Tf(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? Ef(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
10402
10444
  return /* @__PURE__ */ x("a", {
10403
10445
  ref: c,
10404
10446
  href: l,
@@ -10416,10 +10458,10 @@ var Cf = r(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
10416
10458
  })]
10417
10459
  });
10418
10460
  });
10419
- Cf.displayName = "InlineLink";
10461
+ Df.displayName = "InlineLink";
10420
10462
  //#endregion
10421
10463
  //#region src/components/DosFigure/components/DosFigure.tsx
10422
- var wf = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, l) => {
10464
+ var Of = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, l) => {
10423
10465
  let u = c(), d = r ? u : void 0;
10424
10466
  return /* @__PURE__ */ x("figure", {
10425
10467
  ref: l,
@@ -10480,11 +10522,11 @@ var wf = r(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
10480
10522
  ]
10481
10523
  });
10482
10524
  });
10483
- wf.displayName = "DosFigure";
10525
+ Of.displayName = "DosFigure";
10484
10526
  //#endregion
10485
10527
  //#region src/components/CmdPalette/components/CmdPalette.tsx
10486
- var Tf = /* @__PURE__ */ b(y, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
10487
- function Ef(e) {
10528
+ var kf = /* @__PURE__ */ b(y, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
10529
+ function Af(e) {
10488
10530
  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");
10489
10531
  return (e) => {
10490
10532
  if (e.key.toLowerCase() !== n) return !1;
@@ -10492,15 +10534,15 @@ function Ef(e) {
10492
10534
  return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
10493
10535
  };
10494
10536
  }
10495
- function Df(e, t) {
10537
+ function jf(e, t) {
10496
10538
  if (!t) return 0;
10497
10539
  let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
10498
10540
  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;
10499
10541
  }
10500
- var Of = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: o = "NO MATCHES", footerHint: l = Tf, renderItem: d, maxResults: m = 20, className: h, "aria-label": g = "Command palette" }, _) => {
10542
+ var Mf = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: o = "NO MATCHES", footerHint: l = kf, renderItem: d, maxResults: m = 20, className: h, "aria-label": g = "Command palette" }, _) => {
10501
10543
  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) => ({
10502
10544
  item: e,
10503
- score: Df(e, C.trim())
10545
+ score: jf(e, C.trim())
10504
10546
  })).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, m).map((e) => e.item) : n.slice(0, m), [
10505
10547
  n,
10506
10548
  C,
@@ -10525,7 +10567,7 @@ var Of = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
10525
10567
  M.current = t;
10526
10568
  }, [t]), s(() => {
10527
10569
  if (i === !1) return;
10528
- let e = Ef(i), t = (t) => {
10570
+ let e = Af(i), t = (t) => {
10529
10571
  e(t) && (t.preventDefault(), M.current(!j.current));
10530
10572
  };
10531
10573
  return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
@@ -10634,10 +10676,10 @@ var Of = r(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
10634
10676
  })
10635
10677
  });
10636
10678
  });
10637
- Of.displayName = "CmdPalette";
10679
+ Mf.displayName = "CmdPalette";
10638
10680
  //#endregion
10639
10681
  //#region src/components/Brand/components/Logo.tsx
10640
- var kf = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => {
10682
+ var Nf = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => {
10641
10683
  let o = c(), s = `eidotter-logo-halo-${o}`, l = `eidotter-logo-core-${o}`;
10642
10684
  return /* @__PURE__ */ x("svg", {
10643
10685
  ref: a,
@@ -10861,10 +10903,10 @@ var kf = r(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, .
10861
10903
  ]
10862
10904
  });
10863
10905
  });
10864
- kf.displayName = "Logo";
10906
+ Nf.displayName = "Logo";
10865
10907
  //#endregion
10866
10908
  //#region src/components/Brand/components/Wordmark.tsx
10867
- var Af = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span", {
10909
+ var Pf = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span", {
10868
10910
  ref: r,
10869
10911
  className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
10870
10912
  "aria-label": "eiDotter",
@@ -10879,28 +10921,28 @@ var Af = r(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ x("span"
10879
10921
  children: "Dotter"
10880
10922
  })]
10881
10923
  }));
10882
- Af.displayName = "Wordmark";
10924
+ Pf.displayName = "Wordmark";
10883
10925
  //#endregion
10884
10926
  //#region src/components/Brand/components/BrandLockup.tsx
10885
- var jf = r(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ x("div", {
10927
+ var Ff = r(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ x("div", {
10886
10928
  ref: o,
10887
10929
  className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
10888
10930
  role: "img",
10889
10931
  "aria-label": "eiDotter",
10890
10932
  ...a,
10891
- children: [!n && /* @__PURE__ */ b(kf, {
10933
+ children: [!n && /* @__PURE__ */ b(Nf, {
10892
10934
  size: e,
10893
10935
  glow: r,
10894
10936
  title: ""
10895
- }), !t && /* @__PURE__ */ b(Af, {
10937
+ }), !t && /* @__PURE__ */ b(Pf, {
10896
10938
  glow: r,
10897
10939
  "aria-hidden": "true"
10898
10940
  })]
10899
10941
  }));
10900
- jf.displayName = "BrandLockup";
10942
+ Ff.displayName = "BrandLockup";
10901
10943
  //#endregion
10902
10944
  //#region src/components/AIText/components/AIText.tsx
10903
- var Mf = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ x("span", {
10945
+ var If = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ x("span", {
10904
10946
  "data-provenance": "ai-draft",
10905
10947
  className: $("eidotter-ai-text", t),
10906
10948
  title: n,
@@ -10909,43 +10951,43 @@ var Mf = ({ children: e, className: t, title: n = "AI-assisted text — being re
10909
10951
  children: "AI-assisted: "
10910
10952
  }), e]
10911
10953
  });
10912
- Mf.displayName = "AIText";
10954
+ If.displayName = "AIText";
10913
10955
  //#endregion
10914
10956
  //#region src/components/Skeleton/components/Skeleton.tsx
10915
- var Nf = "░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░", Pf = "▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒", Ff = 6, If = {
10957
+ var Lf = "░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░", Rf = "▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒", zf = 6, Bf = {
10916
10958
  text: 3,
10917
10959
  card: 3,
10918
10960
  figure: 4,
10919
10961
  timeline: 2
10920
- }, Lf = ({ dense: e = !1, width: t = "full" }) => /* @__PURE__ */ b("span", {
10962
+ }, Vf = ({ dense: e = !1, width: t = "full" }) => /* @__PURE__ */ b("span", {
10921
10963
  className: $("eidotter-skeleton__line", t === "short" && "eidotter-skeleton__line--short", t === "meta" && "eidotter-skeleton__line--meta"),
10922
- children: (e ? Pf : Nf).repeat(Ff)
10964
+ children: (e ? Rf : Lf).repeat(zf)
10923
10965
  });
10924
- function Rf(e, t = !1, n = !0) {
10925
- return Array.from({ length: e }, (r, i) => /* @__PURE__ */ b(Lf, {
10966
+ function Hf(e, t = !1, n = !0) {
10967
+ return Array.from({ length: e }, (r, i) => /* @__PURE__ */ b(Vf, {
10926
10968
  dense: t,
10927
10969
  width: n && i === e - 1 && e > 1 ? "short" : "full"
10928
10970
  }, i));
10929
10971
  }
10930
- var zf = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading", className: i }) => {
10931
- let a = Math.max(1, t ?? If[e]), o;
10972
+ var Uf = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading", className: i }) => {
10973
+ let a = Math.max(1, t ?? Bf[e]), o;
10932
10974
  switch (e) {
10933
10975
  case "card":
10934
- o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Lf, {
10976
+ o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Vf, {
10935
10977
  dense: !0,
10936
10978
  width: "meta"
10937
- }), Rf(a)] });
10979
+ }), Hf(a)] });
10938
10980
  break;
10939
10981
  case "figure":
10940
- o = Rf(a, !0, !1);
10982
+ o = Hf(a, !0, !1);
10941
10983
  break;
10942
10984
  case "timeline":
10943
10985
  o = /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("span", { className: "eidotter-skeleton__marker border-2 border-dos-border-default" }), /* @__PURE__ */ x("span", {
10944
10986
  className: "eidotter-skeleton__entry",
10945
- children: [/* @__PURE__ */ b(Lf, { width: "meta" }), Rf(a)]
10987
+ children: [/* @__PURE__ */ b(Vf, { width: "meta" }), Hf(a)]
10946
10988
  })] });
10947
10989
  break;
10948
- default: o = Rf(a);
10990
+ default: o = Hf(a);
10949
10991
  }
10950
10992
  return /* @__PURE__ */ b("div", {
10951
10993
  role: "status",
@@ -10958,10 +11000,10 @@ var zf = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading
10958
11000
  })
10959
11001
  });
10960
11002
  };
10961
- zf.displayName = "Skeleton";
11003
+ Uf.displayName = "Skeleton";
10962
11004
  //#endregion
10963
11005
  //#region src/components/LegalPage/components/LegalPage.tsx
10964
- var Bf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ x("div", {
11006
+ var Wf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ x("div", {
10965
11007
  className: $("eidotter-legal-page", a),
10966
11008
  ...o,
10967
11009
  children: [r && /* @__PURE__ */ b("div", {
@@ -10984,13 +11026,13 @@ var Bf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
10984
11026
  className: "eidotter-legal-page__body",
10985
11027
  children: i
10986
11028
  })] })]
10987
- }), Vf = /* @__PURE__ */ x(y, { children: [
11029
+ }), Gf = /* @__PURE__ */ x(y, { children: [
10988
11030
  "Haus-Endt-Str. 149A",
10989
11031
  /* @__PURE__ */ b("br", {}),
10990
11032
  "40593 Düsseldorf",
10991
11033
  /* @__PURE__ */ b("br", {}),
10992
11034
  "Deutschland"
10993
- ] }), Hf = "Dominic Kennedy", Uf = ({ email: e, address: t = Vf, name: n = Hf }) => /* @__PURE__ */ x("address", { children: [
11035
+ ] }), Kf = "Dominic Kennedy", qf = ({ email: e, address: t = Gf, name: n = Kf }) => /* @__PURE__ */ x("address", { children: [
10994
11036
  n,
10995
11037
  /* @__PURE__ */ b("br", {}),
10996
11038
  t,
@@ -11002,16 +11044,16 @@ var Bf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
11002
11044
  children: e
11003
11045
  })
11004
11046
  ] })
11005
- ] }), Wf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ b(Uf, { ...e })] }), Gf = ({ email: e }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Kontakt" }), /* @__PURE__ */ x("p", { children: ["E-Mail: ", /* @__PURE__ */ b("a", {
11047
+ ] }), Jf = (e) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ b(qf, { ...e })] }), Yf = ({ email: e }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Kontakt" }), /* @__PURE__ */ x("p", { children: ["E-Mail: ", /* @__PURE__ */ b("a", {
11006
11048
  href: `mailto:${e}`,
11007
11049
  children: e
11008
- })] })] }), Kf = ({ name: e = Hf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ x("address", { children: [
11050
+ })] })] }), Xf = ({ name: e = Kf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ x("address", { children: [
11009
11051
  e,
11010
11052
  /* @__PURE__ */ b("br", {}),
11011
11053
  "Haus-Endt-Str. 149A",
11012
11054
  /* @__PURE__ */ b("br", {}),
11013
11055
  "40593 Düsseldorf"
11014
- ] })] }), qf = () => /* @__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." })] }), Jf = () => /* @__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." })] }), Yf = ({ email: e, name: t = Hf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ x("address", { children: [
11056
+ ] })] }), Zf = () => /* @__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." })] }), Qf = () => /* @__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." })] }), $f = ({ email: e, name: t = Kf }) => /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ x("address", { children: [
11015
11057
  t,
11016
11058
  /* @__PURE__ */ b("br", {}),
11017
11059
  "Haus-Endt-Str. 149A",
@@ -11023,14 +11065,14 @@ var Bf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
11023
11065
  href: `mailto:${e}`,
11024
11066
  children: e
11025
11067
  })
11026
- ] })] }), Xf = () => /* @__PURE__ */ x(y, { children: [
11068
+ ] })] }), ep = () => /* @__PURE__ */ x(y, { children: [
11027
11069
  /* @__PURE__ */ b("h2", { children: "Hosting" }),
11028
11070
  /* @__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." }),
11029
11071
  /* @__PURE__ */ b("p", {
11030
11072
  className: "eidotter-legal-page__basis",
11031
11073
  children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
11032
11074
  })
11033
- ] }), Zf = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ x(y, { children: [
11075
+ ] }), tp = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ x(y, { children: [
11034
11076
  /* @__PURE__ */ b("h2", { children: "Webanalyse — PostHog" }),
11035
11077
  /* @__PURE__ */ x("p", { children: [
11036
11078
  "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 ",
@@ -11047,7 +11089,7 @@ var Bf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
11047
11089
  className: "eidotter-legal-page__basis",
11048
11090
  children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
11049
11091
  })
11050
- ] }), Qf = () => /* @__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." })] }), $f = () => /* @__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." })] }), ep = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ x(y, { children: [
11092
+ ] }), np = () => /* @__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." })] }), rp = () => /* @__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." })] }), ip = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ x(y, { children: [
11051
11093
  /* @__PURE__ */ b("h2", { children: "Ihre Rechte" }),
11052
11094
  /* @__PURE__ */ b("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
11053
11095
  /* @__PURE__ */ x("ul", { children: [
@@ -11072,7 +11114,7 @@ var Bf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
11072
11114
  t,
11073
11115
  "."
11074
11116
  ] })
11075
- ] }), tp = {
11117
+ ] }), ap = {
11076
11118
  eidotter: { displayName: "eiDotter" },
11077
11119
  spacewar: { displayName: "Spacewar!" },
11078
11120
  rizomorf: { displayName: "rizomorf" },
@@ -11086,7 +11128,7 @@ var Bf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
11086
11128
  displayName: "dmnc.tech",
11087
11129
  url: "https://dmnc.tech"
11088
11130
  }
11089
- }, np = {
11131
+ }, op = {
11090
11132
  Alert: {
11091
11133
  origin: "eidotter",
11092
11134
  consumers: ["rizomorf", "steuerdash"],
@@ -11634,21 +11676,21 @@ var Bf = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
11634
11676
  }]
11635
11677
  }
11636
11678
  };
11637
- function rp(e) {
11638
- return np[e];
11679
+ function sp(e) {
11680
+ return op[e];
11639
11681
  }
11640
- function ip(e) {
11641
- return Object.entries(np).filter(([, t]) => t.origin === e).map(([e]) => e);
11682
+ function cp(e) {
11683
+ return Object.entries(op).filter(([, t]) => t.origin === e).map(([e]) => e);
11642
11684
  }
11643
- function ap(e) {
11644
- return Object.entries(np).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
11685
+ function lp(e) {
11686
+ return Object.entries(op).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
11645
11687
  }
11646
- function op(e, t) {
11647
- let n = np[e];
11688
+ function up(e, t) {
11689
+ let n = op[e];
11648
11690
  return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
11649
11691
  }
11650
- function sp(e) {
11651
- let t = np[e];
11692
+ function dp(e) {
11693
+ let t = op[e];
11652
11694
  if (!t?.variants) return {};
11653
11695
  let n = {};
11654
11696
  for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
@@ -11656,6 +11698,6 @@ function sp(e) {
11656
11698
  }
11657
11699
  //#endregion
11658
11700
  //#region src/index.ts
11659
- var cp = "0.30.0";
11701
+ var fp = "0.30.0";
11660
11702
  //#endregion
11661
- export { Mf as AIText, ou as AccordionFill, Uf as AddressBlock, iu as Alert, Au as Badge, jf as BrandLockup, Nu as Breadcrumb, lu as Button, du as Card, mf as ChatContainer, ff as ChatHistory, pf as ChatInput, df as ChatMessage, fu as Checkbox, Of as CmdPalette, pu as CommandPrompt, Yf as DatenschutzController, $f as DatenschutzEncryption, Qf as DatenschutzFonts, Xf as DatenschutzHosting, Zf as DatenschutzPostHog, ep as DatenschutzRights, sf as DesktopNav, wf as DosFigure, $d as FilterBar, gf as Footer, vf as Header, Zl as Icon, Wf as ImpressumAddress, Gf as ImpressumContact, qf as ImpressumLiabilityContent, Jf as ImpressumLiabilityLinks, Kf as ImpressumResponsible, tf as InlineExpand, Cf as InlineLink, Cu as Input, Bf as LegalPage, Cd as Lightbox, kf as Logo, cf as MobileNav, Ud as Modal, lf as Nav, bf as Notification, xu as Progress, Ru as RetroEffects, au as Section, rf as Separator, zf as Skeleton, Zd as Stat, ju as Switch, Du as Tabs, Fd as Tag, Ld as TagGroup, wu as Terminal, af as TextScramble, Hd as TimelineContainer, Uu as TimelineNode, Af as Wordmark, Wu as ZOOM_LEVELS, np as componentRegistry, hf as defaultLegalLinks, rp as getComponentMeta, ap as getComponentsByConsumer, ip as getComponentsByOrigin, sp as getVariantConsumerMap, op as getVariantsUsedBy, ef as isSafeUrl, tp as projects, Kd as useTextScramble, cp as version };
11703
+ export { If as AIText, ou as AccordionFill, qf as AddressBlock, iu as Alert, Au as Badge, Ff as BrandLockup, Nu as Breadcrumb, lu as Button, du as Card, vf as ChatContainer, gf as ChatHistory, _f as ChatInput, hf as ChatMessage, fu as Checkbox, Mf as CmdPalette, pu as CommandPrompt, $f as DatenschutzController, rp as DatenschutzEncryption, np as DatenschutzFonts, ep as DatenschutzHosting, tp as DatenschutzPostHog, ip as DatenschutzRights, df as DesktopNav, Of as DosFigure, cf as EmptyState, $d as FilterBar, bf as Footer, Sf as Header, Zl as Icon, Jf as ImpressumAddress, Yf as ImpressumContact, Zf as ImpressumLiabilityContent, Qf as ImpressumLiabilityLinks, Xf as ImpressumResponsible, tf as InlineExpand, Df as InlineLink, Cu as Input, Wf as LegalPage, Cd as Lightbox, Nf as Logo, ff as MobileNav, Ud as Modal, pf as Nav, wf as Notification, xu as Progress, Ru as RetroEffects, au as Section, of as SectionHeading, rf as Separator, Uf as Skeleton, Zd as Stat, ju as Switch, Du as Tabs, Fd as Tag, Ld as TagGroup, wu as Terminal, lf as TextScramble, Hd as TimelineContainer, Uu as TimelineNode, Pf as Wordmark, Wu as ZOOM_LEVELS, op as componentRegistry, yf as defaultLegalLinks, sp as getComponentMeta, lp as getComponentsByConsumer, cp as getComponentsByOrigin, dp as getVariantConsumerMap, up as getVariantsUsedBy, ef as isSafeUrl, ap as projects, Kd as useTextScramble, fp as version };