typerighter 0.56.1 → 0.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2126,15 +2126,14 @@ function za(e) {
2126
2126
  let t = U(void 0), n = [], r;
2127
2127
  function i() {
2128
2128
  if (n.length === 0) return;
2129
- let e = window.scrollY;
2130
- if (document.body.offsetHeight <= e + window.innerHeight) {
2129
+ if (document.body.offsetHeight <= window.scrollY + window.innerHeight) {
2131
2130
  t.value = n.at(-1).id;
2132
2131
  return;
2133
2132
  }
2134
- let r;
2135
- for (let t of n) if (Ba(t) <= e + Ra) r = t.id;
2133
+ let e;
2134
+ for (let t of n) if (t.getBoundingClientRect().top <= Ra) e = t.id;
2136
2135
  else break;
2137
- t.value = r;
2136
+ t.value = e;
2138
2137
  }
2139
2138
  function a() {
2140
2139
  r !== void 0 && cancelAnimationFrame(r), r = requestAnimationFrame(i);
@@ -2153,23 +2152,18 @@ function za(e) {
2153
2152
  typeof window < "u" && tt(() => o(e));
2154
2153
  }, { immediate: !0 }), t;
2155
2154
  }
2156
- function Ba(e) {
2157
- let t = 0, n = e;
2158
- for (; n;) t += n.offsetTop, n = n.offsetParent;
2159
- return t;
2160
- }
2161
2155
  // src/client/theme-default/components/custom/TdToc.vue?vue&type=script&setup=true&lang.ts
2162
- var Va = {
2156
+ var Ba = {
2163
2157
  key: 0,
2164
2158
  class: "td-toc-inline-wrap"
2165
- }, Ha = { class: "td-toc-inline-list" }, Ua = ["href", "innerHTML"], Wa = {
2159
+ }, Va = { class: "td-toc-inline-list" }, Ha = ["href", "innerHTML"], Ua = {
2166
2160
  key: 0,
2167
2161
  class: "td-toc-inline-children"
2168
- }, Ga = ["href", "innerHTML"], Ka = {
2162
+ }, Wa = ["href", "innerHTML"], Ga = {
2169
2163
  key: 1,
2170
2164
  class: "td-toc",
2171
2165
  "data-testid": "toc"
2172
- }, qa = { class: "td-toc-list" }, Ja = ["href", "innerHTML"], Ya = /*#__PURE__*/ A(/* @__PURE__ */ B({
2166
+ }, Ka = { class: "td-toc-list" }, qa = ["href", "innerHTML"], Ja = /*#__PURE__*/ A(/* @__PURE__ */ B({
2173
2167
  __name: "TdToc",
2174
2168
  props: {
2175
2169
  headings: {},
@@ -2197,23 +2191,28 @@ var Va = {
2197
2191
  }), n = e.static || e.inline ? N(() => void 0) : za(() => t.value), r = J("list");
2198
2192
  return Y(n, () => {
2199
2193
  tt(() => {
2200
- r.value?.querySelector("a.is-active")?.scrollIntoView({ block: "center" });
2194
+ let e = r.value, t = e?.querySelector("a.is-active");
2195
+ if (!e || !t) return;
2196
+ let n = e.closest(".td-toc") ?? e;
2197
+ if (n.scrollHeight <= n.clientHeight) return;
2198
+ let i = n.getBoundingClientRect(), a = t.getBoundingClientRect().top - i.top - n.clientHeight / 2 + t.clientHeight / 2;
2199
+ n.scrollTop += a;
2201
2200
  });
2202
- }), (r, i) => e.inline ? (H(), I("div", Va, [i[0] ||= L("div", { class: "td-toc-inline-label" }, " On this page ", -1), L("ul", Ha, [(H(!0), I(M, null, W(e.headings, (e) => (H(), I("li", {
2201
+ }), (r, i) => e.inline ? (H(), I("div", Ba, [i[0] ||= L("div", { class: "td-toc-inline-label" }, " On this page ", -1), L("ul", Va, [(H(!0), I(M, null, W(e.headings, (e) => (H(), I("li", {
2203
2202
  key: e.slug,
2204
2203
  class: "td-toc-inline-item"
2205
2204
  }, [L("a", {
2206
2205
  href: e.link,
2207
2206
  class: "td-toc-inline-link is-h2",
2208
2207
  innerHTML: q(g)(e.titleHtml)
2209
- }, null, 8, Ua), e.children.length ? (H(), I("ul", Wa, [(H(!0), I(M, null, W(e.children, (e) => (H(), I("li", { key: e.slug }, [L("a", {
2208
+ }, null, 8, Ha), e.children.length ? (H(), I("ul", Ua, [(H(!0), I(M, null, W(e.children, (e) => (H(), I("li", { key: e.slug }, [L("a", {
2210
2209
  href: e.link,
2211
2210
  class: "td-toc-inline-link is-h3",
2212
2211
  innerHTML: q(g)(e.titleHtml)
2213
- }, null, 8, Ga)]))), 128))])) : F("", !0)]))), 128))])])) : e.headings.length ? (H(), I("div", Ka, [L("div", {
2212
+ }, null, 8, Wa)]))), 128))])) : F("", !0)]))), 128))])])) : e.headings.length ? (H(), I("div", Ga, [L("div", {
2214
2213
  ref: "list",
2215
2214
  class: V(["td-toc-list-wrap", { "is-scrollable": e.scrollable }])
2216
- }, [L("ul", qa, [(H(!0), I(M, null, W(t.value, (e) => (H(), I("li", {
2215
+ }, [L("ul", Ka, [(H(!0), I(M, null, W(t.value, (e) => (H(), I("li", {
2217
2216
  key: e.slug,
2218
2217
  class: V({
2219
2218
  "td-toc-indent-1": e.level === 3,
@@ -2224,15 +2223,15 @@ var Va = {
2224
2223
  href: e.link,
2225
2224
  class: V(["td-toc-link", { "is-active": q(n) === e.slug }]),
2226
2225
  innerHTML: q(g)(e.titleHtml)
2227
- }, null, 10, Ja)], 2))), 128))])], 2)])) : F("", !0);
2226
+ }, null, 10, qa)], 2))), 128))])], 2)])) : F("", !0);
2228
2227
  }
2229
- }), [["__scopeId", "data-v-35b9f0c3"]]), Xa = {
2228
+ }), [["__scopeId", "data-v-f02336c5"]]), Ya = {
2230
2229
  key: 0,
2231
2230
  class: "td-rail"
2232
- }, Za = { class: "td-rail-inner" }, Qa = {
2231
+ }, Xa = { class: "td-rail-inner" }, Za = {
2233
2232
  class: "td-rail-indicators",
2234
2233
  "aria-hidden": "true"
2235
- }, $a = { class: "td-rail-panel" }, eo = /*#__PURE__*/ A(/* @__PURE__ */ B({
2234
+ }, Qa = { class: "td-rail-panel" }, $a = /*#__PURE__*/ A(/* @__PURE__ */ B({
2236
2235
  __name: "TdRail",
2237
2236
  setup(e) {
2238
2237
  let { page: t } = Se(), n = N(() => {
@@ -2243,19 +2242,19 @@ var Va = {
2243
2242
  }
2244
2243
  return e;
2245
2244
  }), r = za(() => n.value);
2246
- return (e, i) => q(t).headings.length > 1 ? (H(), I("aside", Xa, [L("div", Za, [L("div", Qa, [(H(!0), I(M, null, W(n.value, (e) => (H(), I("div", {
2245
+ return (e, i) => q(t).headings.length > 1 ? (H(), I("aside", Ya, [L("div", Xa, [L("div", Za, [(H(!0), I(M, null, W(n.value, (e) => (H(), I("div", {
2247
2246
  key: e.slug,
2248
2247
  class: V(["td-rail-indicator", {
2249
2248
  "is-h3": e.level === 3,
2250
2249
  "is-active": q(r) === e.slug
2251
2250
  }])
2252
- }, null, 2))), 128))]), L("div", $a, [z(Ya, { headings: q(t).headings }, null, 8, ["headings"])])])])) : F("", !0);
2251
+ }, null, 2))), 128))]), L("div", Qa, [z(Ja, { headings: q(t).headings }, null, 8, ["headings"])])])])) : F("", !0);
2253
2252
  }
2254
- }), [["__scopeId", "data-v-ebea8dba"]]), to = {
2253
+ }), [["__scopeId", "data-v-ebea8dba"]]), eo = {
2255
2254
  class: "td-skeleton",
2256
2255
  role: "status",
2257
2256
  "aria-label": "Loading"
2258
- }, no = /*#__PURE__*/ A(/* @__PURE__ */ B({
2257
+ }, to = /*#__PURE__*/ A(/* @__PURE__ */ B({
2259
2258
  __name: "TdSkeleton",
2260
2259
  props: { lines: { default: 5 } },
2261
2260
  setup(e) {
@@ -2269,13 +2268,13 @@ var Va = {
2269
2268
  55,
2270
2269
  72
2271
2270
  ];
2272
- return (n, r) => (H(), I("div", to, [(H(!0), I(M, null, W(e.lines, (e) => (H(), I("div", {
2271
+ return (n, r) => (H(), I("div", eo, [(H(!0), I(M, null, W(e.lines, (e) => (H(), I("div", {
2273
2272
  key: e,
2274
2273
  class: "td-skeleton-line",
2275
2274
  style: nt({ width: `${t[(e - 1) % t.length]}%` })
2276
2275
  }, null, 4))), 128))]));
2277
2276
  }
2278
- }), [["__scopeId", "data-v-f78bb079"]]), ro = /*#__PURE__*/ A(/* @__PURE__ */ B({
2277
+ }), [["__scopeId", "data-v-f78bb079"]]), no = /*#__PURE__*/ A(/* @__PURE__ */ B({
2279
2278
  __name: "TdSidebarNav",
2280
2279
  props: {
2281
2280
  tree: {},
@@ -2292,15 +2291,15 @@ var Va = {
2292
2291
  ref_key: "scrollElement",
2293
2292
  ref: n,
2294
2293
  class: "td-sidebar-scroll"
2295
- }, [!e.searchActive && !e.ready ? (H(), P(no, { key: 0 })) : e.searchActive ? F("", !0) : (H(), P(ni, {
2294
+ }, [!e.searchActive && !e.ready ? (H(), P(to, { key: 0 })) : e.searchActive ? F("", !0) : (H(), P(ni, {
2296
2295
  key: 1,
2297
2296
  tree: e.tree
2298
2297
  }, null, 8, ["tree"]))], 512));
2299
2298
  }
2300
- }), [["__scopeId", "data-v-ca83b6cd"]]), io = { class: "td-sidebar-icons" }, ao = ["href", "aria-label"], oo = {
2299
+ }), [["__scopeId", "data-v-ca83b6cd"]]), ro = { class: "td-sidebar-icons" }, io = ["href", "aria-label"], ao = {
2301
2300
  key: 1,
2302
2301
  class: "td-sidebar-icon-sep"
2303
- }, so = ["href", "aria-label"], co = /*#__PURE__*/ A(/* @__PURE__ */ B({
2302
+ }, oo = ["href", "aria-label"], so = /*#__PURE__*/ A(/* @__PURE__ */ B({
2304
2303
  __name: "TdSidebarIcons",
2305
2304
  props: { tree: {} },
2306
2305
  emits: ["search"],
@@ -2326,7 +2325,7 @@ var Va = {
2326
2325
  function m(t) {
2327
2326
  return a.path === t || e(t, a.path);
2328
2327
  }
2329
- return (e, n) => (H(), I("div", io, [
2328
+ return (e, n) => (H(), I("div", ro, [
2330
2329
  z(Fr, {
2331
2330
  text: "Search",
2332
2331
  always: ""
@@ -2348,10 +2347,10 @@ var Va = {
2348
2347
  href: q(o)(q(t)(u.value.filepath)),
2349
2348
  class: V(["td-sidebar-icon-btn", { "is-active": m(q(t)(u.value.filepath)) }]),
2350
2349
  "aria-label": u.value.label ?? "Home"
2351
- }, [z(q(le), { size: 16 })], 10, ao)]),
2350
+ }, [z(q(le), { size: 16 })], 10, io)]),
2352
2351
  _: 1
2353
2352
  }, 8, ["text"])) : F("", !0),
2354
- f.value.length ? (H(), I("div", oo)) : F("", !0),
2353
+ f.value.length ? (H(), I("div", ao)) : F("", !0),
2355
2354
  (H(!0), I(M, null, W(f.value, (e) => (H(), P(Fr, {
2356
2355
  key: e.href,
2357
2356
  text: e.label,
@@ -2367,14 +2366,14 @@ var Va = {
2367
2366
  })) : (H(), P(ut(e.icon), {
2368
2367
  key: 0,
2369
2368
  size: 16
2370
- }))], 10, so)]),
2369
+ }))], 10, oo)]),
2371
2370
  _: 2
2372
2371
  }, 1032, ["text"]))), 128))
2373
2372
  ]));
2374
2373
  }
2375
2374
  }), [["__scopeId", "data-v-a8248b04"]]);
2376
2375
  // src/client/theme-default/components/TdSiteSearch/highlight.ts
2377
- function lo(e, t) {
2376
+ function co(e, t) {
2378
2377
  if (!e || !t) return f(e);
2379
2378
  let n = t.trim().split(/\s+/).filter(Boolean), r = f(e);
2380
2379
  for (let e of n) {
@@ -2384,8 +2383,8 @@ function lo(e, t) {
2384
2383
  return r;
2385
2384
  }
2386
2385
  // src/client/theme-default/components/TdSiteSearch/useSiteSearch.ts
2387
- var uo = 120;
2388
- function fo() {
2386
+ var lo = 120;
2387
+ function uo() {
2389
2388
  let e = Pe(), t, n = ft([]), r = ft(!1);
2390
2389
  Y(e, () => {
2391
2390
  t = void 0;
@@ -2400,13 +2399,13 @@ function fo() {
2400
2399
  function a(e, t) {
2401
2400
  if (!e) return "";
2402
2401
  let n = Object.keys(t);
2403
- if (n.length === 0) return e.slice(0, uo);
2402
+ if (n.length === 0) return e.slice(0, lo);
2404
2403
  let r = e.toLowerCase(), i = e.length;
2405
2404
  for (let e of n) {
2406
2405
  let t = r.indexOf(e.toLowerCase());
2407
2406
  t !== -1 && t < i && (i = t);
2408
2407
  }
2409
- let a = Math.max(0, i - 30), o = Math.min(e.length, a + uo), s = e.slice(a, o).trim();
2408
+ let a = Math.max(0, i - 30), o = Math.min(e.length, a + lo), s = e.slice(a, o).trim();
2410
2409
  return 0 < a && (s = "..." + s), o < e.length && (s += "..."), s;
2411
2410
  }
2412
2411
  async function o(e) {
@@ -2450,26 +2449,26 @@ function fo() {
2450
2449
  };
2451
2450
  }
2452
2451
  // src/client/theme-default/components/TdCommandPalette.vue?vue&type=script&setup=true&lang.ts
2453
- var po = {
2452
+ var fo = {
2454
2453
  class: "td-palette",
2455
2454
  role: "dialog",
2456
2455
  "aria-modal": "true",
2457
2456
  "aria-label": "Command palette"
2458
- }, mo = { class: "td-palette-input-row" }, ho = {
2457
+ }, po = { class: "td-palette-input-row" }, mo = {
2459
2458
  ref: "results",
2460
2459
  class: "td-palette-results"
2461
- }, go = [
2460
+ }, ho = [
2462
2461
  "href",
2463
2462
  "onClick",
2464
2463
  "onMouseenter"
2465
- ], _o = ["innerHTML"], vo = { class: "td-palette-item-path" }, yo = { class: "td-palette-group-label" }, bo = { class: "td-palette-item-label" }, xo = {
2464
+ ], go = ["innerHTML"], _o = { class: "td-palette-item-path" }, vo = { class: "td-palette-group-label" }, yo = { class: "td-palette-item-label" }, bo = {
2466
2465
  key: 1,
2467
2466
  class: "td-palette-empty"
2468
- }, So = { class: "td-palette-footer" }, Co = /*#__PURE__*/ A(/* @__PURE__ */ B({
2467
+ }, xo = { class: "td-palette-footer" }, So = /*#__PURE__*/ A(/* @__PURE__ */ B({
2469
2468
  __name: "TdCommandPalette",
2470
2469
  emits: ["toggle-sidebar", "show-shortcuts"],
2471
2470
  setup(e, { expose: t, emit: r }) {
2472
- let i = r, a = U(!1), o = U(""), s = U(0), c = J("input"), l = J("results"), u = Ie(), d = we(), { withBase: f } = j(), { previous: p, next: m } = wa(), { results: h, search: g, cancel: _ } = fo(), v = N(() => o.value.trim());
2471
+ let i = r, a = U(!1), o = U(""), s = U(0), c = J("input"), l = J("results"), u = Ie(), d = we(), { withBase: f } = j(), { previous: p, next: m } = wa(), { results: h, search: g, cancel: _ } = uo(), v = N(() => o.value.trim());
2473
2472
  function y() {
2474
2473
  a.value = !1, _();
2475
2474
  }
@@ -2570,8 +2569,8 @@ var po = {
2570
2569
  }), (e, t) => (H(), P(Je, { to: "body" }, [a.value ? (H(), I(M, { key: 0 }, [L("div", {
2571
2570
  class: "td-palette-scrim",
2572
2571
  onClick: y
2573
- }), L("div", po, [
2574
- L("div", mo, [
2572
+ }), L("div", fo, [
2573
+ L("div", po, [
2575
2574
  z(q(Ve), {
2576
2575
  size: 14,
2577
2576
  class: "td-palette-input-icon"
@@ -2593,7 +2592,7 @@ var po = {
2593
2592
  onClick: y
2594
2593
  }, " esc ")
2595
2594
  ]),
2596
- L("div", ho, [
2595
+ L("div", mo, [
2597
2596
  q(h).length > 0 ? (H(), I(M, { key: 0 }, [t[1] ||= L("div", { class: "td-palette-group-label" }, " Pages ", -1), (H(!0), I(M, null, W(q(h), (e, t) => (H(), I("a", {
2598
2597
  key: e.id,
2599
2598
  href: q(f)(e.id),
@@ -2602,14 +2601,14 @@ var po = {
2602
2601
  onMouseenter: () => s.value = t
2603
2602
  }, [L("span", {
2604
2603
  class: "td-palette-item-label",
2605
- innerHTML: q(lo)(e.title, v.value)
2606
- }, null, 8, _o), L("span", vo, K(e.id), 1)], 42, go))), 128))], 64)) : F("", !0),
2607
- (H(!0), I(M, null, W(w.value, (e) => (H(), I(M, { key: e.name }, [L("div", yo, K(e.name), 1), (H(!0), I(M, null, W(e.commands, (e) => (H(), P(ut(e.href ? "a" : "button"), et({ key: e.id }, { ref_for: !0 }, e.href ? { href: e.href } : { type: "button" }, {
2604
+ innerHTML: q(co)(e.title, v.value)
2605
+ }, null, 8, go), L("span", _o, K(e.id), 1)], 42, ho))), 128))], 64)) : F("", !0),
2606
+ (H(!0), I(M, null, W(w.value, (e) => (H(), I(M, { key: e.name }, [L("div", vo, K(e.name), 1), (H(!0), I(M, null, W(e.commands, (e) => (H(), P(ut(e.href ? "a" : "button"), et({ key: e.id }, { ref_for: !0 }, e.href ? { href: e.href } : { type: "button" }, {
2608
2607
  class: ["td-palette-item", { "is-selected": E(e) === s.value }],
2609
2608
  onClick: () => te(e),
2610
2609
  onMouseenter: () => s.value = E(e)
2611
2610
  }), {
2612
- default: X(() => [L("span", bo, K(e.label), 1), e.keys ? (H(), P($, {
2611
+ default: X(() => [L("span", yo, K(e.label), 1), e.keys ? (H(), P($, {
2613
2612
  key: 0,
2614
2613
  keys: e.keys
2615
2614
  }, null, 8, ["keys"])) : F("", !0)]),
@@ -2619,9 +2618,9 @@ var po = {
2619
2618
  "onClick",
2620
2619
  "onMouseenter"
2621
2620
  ]))), 128))], 64))), 128)),
2622
- T.value === 0 && v.value ? (H(), I("div", xo, " No results for \"" + K(v.value) + "\" ", 1)) : F("", !0)
2621
+ T.value === 0 && v.value ? (H(), I("div", bo, " No results for \"" + K(v.value) + "\" ", 1)) : F("", !0)
2623
2622
  ], 512),
2624
- L("div", So, [
2623
+ L("div", xo, [
2625
2624
  L("span", null, [
2626
2625
  z($, { keys: [q(Q).ArrowUp] }, null, 8, ["keys"]),
2627
2626
  t[2] ||= R(),
@@ -2633,7 +2632,7 @@ var po = {
2633
2632
  ])
2634
2633
  ])], 64)) : F("", !0)]));
2635
2634
  }
2636
- }), [["__scopeId", "data-v-12ce6133"]]), wo = ["onKeydown"], To = { class: "td-shortcuts-header" }, Eo = { class: "td-shortcuts-table" }, Do = /*#__PURE__*/ A(/* @__PURE__ */ B({
2635
+ }), [["__scopeId", "data-v-12ce6133"]]), Co = ["onKeydown"], wo = { class: "td-shortcuts-header" }, To = { class: "td-shortcuts-table" }, Eo = /*#__PURE__*/ A(/* @__PURE__ */ B({
2637
2636
  __name: "TdShortcutsDialog",
2638
2637
  props: { open: { type: Boolean } },
2639
2638
  emits: ["close"],
@@ -2655,30 +2654,30 @@ var po = {
2655
2654
  "aria-label": "Keyboard shortcuts",
2656
2655
  tabindex: "-1",
2657
2656
  onKeydown: yt(bt(i, ["stop"]), ["esc"])
2658
- }, [L("div", To, [n[0] ||= L("h2", { class: "td-shortcuts-title" }, " Keyboard shortcuts ", -1), L("button", {
2657
+ }, [L("div", wo, [n[0] ||= L("h2", { class: "td-shortcuts-title" }, " Keyboard shortcuts ", -1), L("button", {
2659
2658
  class: "td-shortcuts-close",
2660
2659
  type: "button",
2661
2660
  "aria-label": "Close",
2662
2661
  onClick: i
2663
- }, [z(q(Ne), { size: 16 })])]), L("table", Eo, [L("tbody", null, [
2662
+ }, [z(q(Ne), { size: 16 })])]), L("table", To, [L("tbody", null, [
2664
2663
  L("tr", null, [n[1] ||= L("td", null, "Search", -1), L("td", null, [z($, { keys: [q(Q).Meta, q(Q).k] }, null, 8, ["keys"])])]),
2665
2664
  L("tr", null, [n[2] ||= L("td", null, "Commands", -1), L("td", null, [z($, { keys: [q(Q).Meta, q(Q).FSlash] }, null, 8, ["keys"])])]),
2666
2665
  L("tr", null, [n[3] ||= L("td", null, "Next page", -1), L("td", null, [z($, { keys: [q(Q).Control, q(Q).ArrowRight] }, null, 8, ["keys"])])]),
2667
2666
  L("tr", null, [n[4] ||= L("td", null, "Previous page", -1), L("td", null, [z($, { keys: [q(Q).Control, q(Q).ArrowLeft] }, null, 8, ["keys"])])]),
2668
2667
  L("tr", null, [n[5] ||= L("td", null, "Toggle sidebar", -1), L("td", null, [z($, { keys: [q(Q).Meta, q(Q).Backslash] }, null, 8, ["keys"])])]),
2669
2668
  L("tr", null, [n[6] ||= L("td", null, "Close", -1), L("td", null, [z($, { keys: [q(Q).Escape] }, null, 8, ["keys"])])])
2670
- ])])], 40, wo)], 64)) : F("", !0)]));
2669
+ ])])], 40, Co)], 64)) : F("", !0)]));
2671
2670
  }
2672
- }), [["__scopeId", "data-v-09d6a93c"]]), Oo = { class: "td-search" }, ko = { class: "td-search-input-wrap" }, Ao = {
2671
+ }), [["__scopeId", "data-v-09d6a93c"]]), Do = { class: "td-search" }, Oo = { class: "td-search-input-wrap" }, ko = {
2673
2672
  key: 2,
2674
2673
  class: "td-search-count"
2675
- }, jo = {
2674
+ }, Ao = {
2676
2675
  key: 0,
2677
2676
  class: "td-search-results"
2678
- }, Mo = ["href"], No = ["innerHTML"], Po = { class: "td-search-result-path" }, Fo = ["innerHTML"], Io = {
2677
+ }, jo = ["href"], Mo = ["innerHTML"], No = { class: "td-search-result-path" }, Po = ["innerHTML"], Fo = {
2679
2678
  key: 1,
2680
2679
  class: "td-search-empty"
2681
- }, Lo = /*#__PURE__*/ A(/* @__PURE__ */ B({
2680
+ }, Io = /*#__PURE__*/ A(/* @__PURE__ */ B({
2682
2681
  __name: "TdSiteSearch",
2683
2682
  props: {
2684
2683
  active: {
@@ -2691,7 +2690,7 @@ var po = {
2691
2690
  },
2692
2691
  emits: /*@__PURE__*/ $e(["select"], ["update:active", "update:query"]),
2693
2692
  setup(e, { expose: t, emit: n }) {
2694
- let r = mt(e, "active"), i = mt(e, "query"), o = n, s = Ie(), { withBase: l } = j(), { results: u, searching: d, indexLoaded: f, search: p, cancel: m } = fo(), h = U(-1), g = N(() => 0 < i.value.trim().length), _ = N(() => {
2693
+ let r = mt(e, "active"), i = mt(e, "query"), o = n, s = Ie(), { withBase: l } = j(), { results: u, searching: d, indexLoaded: f, search: p, cancel: m } = uo(), h = U(-1), g = N(() => 0 < i.value.trim().length), _ = N(() => {
2695
2694
  let e = [], t = /* @__PURE__ */ new Map();
2696
2695
  for (let n of u.value) {
2697
2696
  let r = a(n.id), i = t.get(r);
@@ -2755,8 +2754,8 @@ var po = {
2755
2754
  get isFocused() {
2756
2755
  return document.activeElement === w.value;
2757
2756
  }
2758
- }), (e, t) => (H(), I("div", Oo, [
2759
- L("div", ko, [
2757
+ }), (e, t) => (H(), I("div", Do, [
2758
+ L("div", Oo, [
2760
2759
  z(q(Ve), {
2761
2760
  size: 14,
2762
2761
  class: "td-search-icon"
@@ -2780,7 +2779,7 @@ var po = {
2780
2779
  key: 1,
2781
2780
  size: 12,
2782
2781
  class: "td-search-spinner"
2783
- })) : g.value ? (H(), I("span", Ao, K(q(u).length), 1)) : F("", !0),
2782
+ })) : g.value ? (H(), I("span", ko, K(q(u).length), 1)) : F("", !0),
2784
2783
  i.value ? (H(), I("button", {
2785
2784
  key: 3,
2786
2785
  class: "td-search-clear",
@@ -2789,7 +2788,7 @@ var po = {
2789
2788
  onClick: v
2790
2789
  }, [z(q(Ne), { size: 12 })])) : F("", !0)
2791
2790
  ]),
2792
- g.value && q(u).length > 0 ? (H(), I("div", jo, [(H(!0), I(M, null, W(_.value, (e) => (H(), I("div", {
2791
+ g.value && q(u).length > 0 ? (H(), I("div", Ao, [(H(!0), I(M, null, W(_.value, (e) => (H(), I("div", {
2793
2792
  key: e.pageUrl,
2794
2793
  class: "td-search-group"
2795
2794
  }, [(H(!0), I(M, null, W(e.results, (e) => (H(), I("a", {
@@ -2803,19 +2802,19 @@ var po = {
2803
2802
  }, [
2804
2803
  L("span", {
2805
2804
  class: "td-search-result-title",
2806
- innerHTML: q(lo)(e.title, i.value)
2807
- }, null, 8, No),
2808
- L("span", Po, K(e.id), 1),
2805
+ innerHTML: q(co)(e.title, i.value)
2806
+ }, null, 8, Mo),
2807
+ L("span", No, K(e.id), 1),
2809
2808
  e.excerpt ? (H(), I("span", {
2810
2809
  key: 0,
2811
2810
  class: "td-search-result-excerpt",
2812
- innerHTML: q(lo)(e.excerpt, i.value)
2813
- }, null, 8, Fo)) : F("", !0)
2814
- ], 10, Mo))), 128))]))), 128))])) : F("", !0),
2815
- g.value && q(u).length === 0 ? (H(), I("div", Io, " No results for \"" + K(i.value) + "\" ", 1)) : F("", !0)
2811
+ innerHTML: q(co)(e.excerpt, i.value)
2812
+ }, null, 8, Po)) : F("", !0)
2813
+ ], 10, jo))), 128))]))), 128))])) : F("", !0),
2814
+ g.value && q(u).length === 0 ? (H(), I("div", Fo, " No results for \"" + K(i.value) + "\" ", 1)) : F("", !0)
2816
2815
  ]));
2817
2816
  }
2818
- }), [["__scopeId", "data-v-f42853f1"]]), Ro = /* @__PURE__ */ B({
2817
+ }), [["__scopeId", "data-v-f42853f1"]]), Lo = /* @__PURE__ */ B({
2819
2818
  __name: "TdThemeToggle",
2820
2819
  setup(e) {
2821
2820
  let { isDark: t, toggle: n } = E();
@@ -2835,7 +2834,7 @@ var po = {
2835
2834
  }
2836
2835
  });
2837
2836
  // src/client/theme-default/composables/useCopyCode.ts
2838
- function zo() {
2837
+ function Ro() {
2839
2838
  function e(e) {
2840
2839
  let t = e.target?.closest(".td-code-copy, .copy");
2841
2840
  if (!t) return;
@@ -2862,7 +2861,7 @@ function zo() {
2862
2861
  });
2863
2862
  }
2864
2863
  // src/client/theme-default/composables/useCopyHeadingAnchor.ts
2865
- function Bo() {
2864
+ function zo() {
2866
2865
  function e(e) {
2867
2866
  let t = e.target?.closest(".td-header-anchor");
2868
2867
  if (!t) return;
@@ -2879,11 +2878,11 @@ function Bo() {
2879
2878
  });
2880
2879
  }
2881
2880
  // src/client/theme-default/composables/useResizableTable.ts
2882
- var Vo = 6, Ho = 40;
2883
- function Uo() {
2881
+ var Bo = 6, Vo = 40;
2882
+ function Ho() {
2884
2883
  let e, t = !1;
2885
2884
  function n(e, t) {
2886
- return e.getBoundingClientRect().right - t < Vo;
2885
+ return e.getBoundingClientRect().right - t < Bo;
2887
2886
  }
2888
2887
  function r(r) {
2889
2888
  if (t) return;
@@ -2903,7 +2902,7 @@ function Uo() {
2903
2902
  r.classList.add("is-resizing"), document.body.style.cursor = "col-resize";
2904
2903
  function o(e) {
2905
2904
  let t = e.clientX - i;
2906
- r && (r.style.width = `${Math.max(Ho, a + t)}px`);
2905
+ r && (r.style.width = `${Math.max(Vo, a + t)}px`);
2907
2906
  }
2908
2907
  function s() {
2909
2908
  t = !1, r?.classList.remove("is-resizing"), document.body.style.cursor = "", document.removeEventListener("pointermove", o), document.removeEventListener("pointerup", s);
@@ -2917,13 +2916,13 @@ function Uo() {
2917
2916
  });
2918
2917
  }
2919
2918
  // src/client/theme-default/components/TdDiagram.vue?vue&type=script&setup=true&lang.ts
2920
- var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = { class: "td-diagram-code" }, Jo = { class: "td-diagram-code-number" }, Yo = { class: "td-diagram-code-column" }, Xo = { class: "td-diagram-toolbar" }, Zo = { class: "td-diagram-toolbar-label" }, Qo = { class: "td-diagram-segment" }, $o = { class: "td-diagram-zoom" }, es = {
2919
+ var Uo = ["id"], Wo = { class: "td-diagram-frame" }, Go = ["innerHTML"], Ko = { class: "td-diagram-code" }, qo = { class: "td-diagram-code-number" }, Jo = { class: "td-diagram-code-column" }, Yo = { class: "td-diagram-toolbar" }, Xo = { class: "td-diagram-toolbar-label" }, Zo = { class: "td-diagram-segment" }, Qo = { class: "td-diagram-zoom" }, $o = {
2921
2920
  key: 0,
2922
2921
  class: "td-diagram-caption"
2923
- }, ts = ["aria-label"], ns = { class: "td-diagram-modal-header" }, rs = { class: "td-diagram-modal-header-left" }, is = { class: "td-diagram-modal-title" }, as = { class: "td-diagram-modal-chip" }, os = { class: "td-diagram-modal-header-right" }, ss = ["aria-pressed"], cs = { class: "td-diagram-button-label" }, ls = { class: "td-diagram-modal-body" }, us = {
2922
+ }, es = ["aria-label"], ts = { class: "td-diagram-modal-header" }, ns = { class: "td-diagram-modal-header-left" }, rs = { class: "td-diagram-modal-title" }, is = { class: "td-diagram-modal-chip" }, as = { class: "td-diagram-modal-header-right" }, os = ["aria-pressed"], ss = { class: "td-diagram-button-label" }, cs = { class: "td-diagram-modal-body" }, ls = {
2924
2923
  key: 0,
2925
2924
  class: "td-diagram-modal-code-panel"
2926
- }, ds = { class: "td-diagram-modal-code-panel-header" }, fs = { class: "td-diagram-modal-code-panel-body" }, ps = { class: "td-diagram-code td-diagram-code--modal" }, ms = { class: "td-diagram-code-number" }, hs = { class: "td-diagram-code-column" }, gs = ["innerHTML"], _s = { class: "td-diagram-modal-hint" }, vs = .15, ys = 5, bs = 4, xs = .9, Ss = .82, Cs = 1.25, ws = .8, Ts = 1.6, Es = 1400, Ds = 20, Os = /*#__PURE__*/ A(/* @__PURE__ */ B({
2925
+ }, us = { class: "td-diagram-modal-code-panel-header" }, ds = { class: "td-diagram-modal-code-panel-body" }, fs = { class: "td-diagram-code td-diagram-code--modal" }, ps = { class: "td-diagram-code-number" }, ms = { class: "td-diagram-code-column" }, hs = ["innerHTML"], gs = { class: "td-diagram-modal-hint" }, _s = .15, vs = 5, ys = 4, bs = .9, xs = .82, Ss = 1.25, Cs = .8, ws = 1.6, Ts = 1400, Es = 20, Ds = /*#__PURE__*/ A(/* @__PURE__ */ B({
2927
2926
  __name: "TdDiagram",
2928
2927
  props: {
2929
2928
  svg: {},
@@ -2974,14 +2973,14 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
2974
2973
  transform: `translate(${e}px, ${t}px) scale(${n})`
2975
2974
  };
2976
2975
  }), w = N(() => {
2977
- let { x: e, y: t, scale: n } = m.value, r = Ds * n;
2976
+ let { x: e, y: t, scale: n } = m.value, r = Es * n;
2978
2977
  return {
2979
2978
  backgroundSize: `${r}px ${r}px`,
2980
2979
  backgroundPosition: `${e % r}px ${t % r}px`
2981
2980
  };
2982
2981
  });
2983
2982
  function T(e) {
2984
- return Math.min(ys, Math.max(vs, e));
2983
+ return Math.min(vs, Math.max(_s, e));
2985
2984
  }
2986
2985
  function E() {
2987
2986
  l.value = !1, Re?.(), Re = void 0, s.value?.focus();
@@ -3008,7 +3007,7 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3008
3007
  function ne(t) {
3009
3008
  navigator.clipboard.writeText(e.source).catch(() => {}), t.value = !0, clearTimeout(ze), ze = setTimeout(() => {
3010
3009
  t.value = !1;
3011
- }, Es);
3010
+ }, Ts);
3012
3011
  }
3013
3012
  function re() {
3014
3013
  let t = (a.value ?? r.value)?.querySelector("svg");
@@ -3019,10 +3018,10 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3019
3018
  c.href = s, c.download = `${e.diagramId}.svg`, c.click(), URL.revokeObjectURL(s);
3020
3019
  }
3021
3020
  function ie() {
3022
- O(n.value ?? void 0, p, xs);
3021
+ O(n.value ?? void 0, p, bs);
3023
3022
  }
3024
3023
  function ae() {
3025
- O(i.value ?? void 0, m, Ss);
3024
+ O(i.value ?? void 0, m, xs);
3026
3025
  }
3027
3026
  function O(e, t, n) {
3028
3027
  !e || e.offsetWidth <= 0 || (t.value = ee(e.offsetWidth, e.offsetHeight, h.value.width, h.value.height, n));
@@ -3041,16 +3040,16 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3041
3040
  e.key === "Escape" ? (e.stopPropagation(), E()) : e.key === "+" || e.key === "=" ? de() : e.key === "-" ? fe() : e.key === "0" && ae();
3042
3041
  }
3043
3042
  function ue() {
3044
- xe(n.value ?? void 0, p, Cs);
3043
+ xe(n.value ?? void 0, p, Ss);
3045
3044
  }
3046
3045
  function k() {
3047
- xe(n.value ?? void 0, p, ws);
3046
+ xe(n.value ?? void 0, p, Cs);
3048
3047
  }
3049
3048
  function de() {
3050
- xe(i.value ?? void 0, m, Cs);
3049
+ xe(i.value ?? void 0, m, Ss);
3051
3050
  }
3052
3051
  function fe() {
3053
- xe(i.value ?? void 0, m, ws);
3052
+ xe(i.value ?? void 0, m, Cs);
3054
3053
  }
3055
3054
  function me() {
3056
3055
  let e = i.value;
@@ -3147,7 +3146,7 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3147
3146
  function ke(e, t, n) {
3148
3147
  if (!t.active) return;
3149
3148
  let r = (e.clientX - t.startClientX) / t.clientScale, i = (e.clientY - t.startClientY) / t.clientScale;
3150
- !t.moved && bs <= Math.hypot(r, i) && (t.moved = !0), t.moved && (n.value = {
3149
+ !t.moved && ys <= Math.hypot(r, i) && (t.moved = !0), t.moved && (n.value = {
3151
3150
  x: t.startTransformX + r,
3152
3151
  y: t.startTransformY + i,
3153
3152
  scale: n.value.scale
@@ -3168,7 +3167,7 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3168
3167
  let t = i.value;
3169
3168
  if (!t) return;
3170
3169
  let n = oe(e, t);
3171
- m.value = be(m.value, n.x, n.y, Ts);
3170
+ m.value = be(m.value, n.x, n.y, ws);
3172
3171
  }
3173
3172
  function A(e) {
3174
3173
  let t = i.value;
@@ -3198,7 +3197,7 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3198
3197
  id: e.diagramId,
3199
3198
  class: "td-diagram"
3200
3199
  }, [
3201
- L("div", Go, [
3200
+ L("div", Wo, [
3202
3201
  vt(L("div", {
3203
3202
  ref: "stage",
3204
3203
  class: "td-diagram-stage",
@@ -3211,24 +3210,24 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3211
3210
  class: "td-diagram-canvas",
3212
3211
  style: nt(S.value),
3213
3212
  innerHTML: e.svg
3214
- }, null, 12, Ko)], 544), [[gt, !c.value]]),
3215
- vt(L("pre", qo, [
3213
+ }, null, 12, Go)], 544), [[gt, !c.value]]),
3214
+ vt(L("pre", Ko, [
3216
3215
  r[3] ||= R(" ", -1),
3217
3216
  (H(!0), I(M, null, W(g.value, (e, t) => (H(), I("div", {
3218
3217
  key: t,
3219
3218
  class: "td-diagram-code-row"
3220
3219
  }, [
3221
3220
  r[0] ||= R("\n ", -1),
3222
- L("span", Jo, K(t + 1), 1),
3221
+ L("span", qo, K(t + 1), 1),
3223
3222
  r[1] ||= R("\n ", -1),
3224
- L("span", Yo, K(e || " "), 1),
3223
+ L("span", Jo, K(e || " "), 1),
3225
3224
  r[2] ||= R("\n ", -1)
3226
3225
  ]))), 128)),
3227
3226
  r[4] ||= R("\n ", -1)
3228
3227
  ], 512), [[gt, c.value]]),
3229
- L("div", Xo, [
3230
- L("span", Zo, K(e.label), 1),
3231
- L("div", Qo, [L("button", {
3228
+ L("div", Yo, [
3229
+ L("span", Xo, K(e.label), 1),
3230
+ L("div", Zo, [L("button", {
3232
3231
  type: "button",
3233
3232
  class: V(["td-diagram-segment-button", { "is-active": !c.value }]),
3234
3233
  onClick: _e
@@ -3257,7 +3256,7 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3257
3256
  onClick: he
3258
3257
  }, [z(q(jt), { size: 16 })], 512)
3259
3258
  ]),
3260
- vt(L("div", $o, [
3259
+ vt(L("div", Qo, [
3261
3260
  L("button", {
3262
3261
  type: "button",
3263
3262
  class: "td-diagram-button",
@@ -3279,7 +3278,7 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3279
3278
  ], 512), [[gt, !c.value]]),
3280
3279
  vt(L("div", { class: "td-diagram-hint" }, " Click to expand · Drag to pan · " + K(q(t)) + " + scroll to zoom ", 513), [[gt, !c.value]])
3281
3280
  ]),
3282
- e.title ? (H(), I("figcaption", es, K(e.title), 1)) : F("", !0),
3281
+ e.title ? (H(), I("figcaption", $o, K(e.title), 1)) : F("", !0),
3283
3282
  (H(), P(Je, { to: "body" }, [l.value ? (H(), I("div", {
3284
3283
  key: 0,
3285
3284
  class: "td-diagram-modal-backdrop",
@@ -3291,14 +3290,14 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3291
3290
  "aria-label": e.title || `${e.label} diagram`,
3292
3291
  tabindex: "-1",
3293
3292
  onKeydown: le
3294
- }, [L("div", ns, [L("div", rs, [L("span", is, K(e.title || "Diagram"), 1), L("span", as, K(e.label), 1)]), L("div", os, [
3293
+ }, [L("div", ts, [L("div", ns, [L("span", rs, K(e.title || "Diagram"), 1), L("span", is, K(e.label), 1)]), L("div", as, [
3295
3294
  L("button", {
3296
3295
  type: "button",
3297
3296
  class: V(["td-diagram-modal-button", { "is-active": u.value }]),
3298
3297
  "aria-pressed": u.value,
3299
3298
  "aria-label": "Toggle code",
3300
3299
  onClick: ye
3301
- }, [z(q(pe), { size: 16 }), r[5] ||= L("span", { class: "td-diagram-button-label" }, "Code", -1)], 10, ss),
3300
+ }, [z(q(pe), { size: 16 }), r[5] ||= L("span", { class: "td-diagram-button-label" }, "Code", -1)], 10, os),
3302
3301
  r[8] ||= L("span", { class: "td-diagram-modal-separator" }, null, -1),
3303
3302
  L("button", {
3304
3303
  type: "button",
@@ -3336,7 +3335,7 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3336
3335
  })) : (H(), P(q(Tt), {
3337
3336
  key: 1,
3338
3337
  size: 16
3339
- })), L("span", cs, K(f.value ? "Copied" : "Copy"), 1)], 2),
3338
+ })), L("span", ss, K(f.value ? "Copied" : "Copy"), 1)], 2),
3340
3339
  L("button", {
3341
3340
  type: "button",
3342
3341
  class: "td-diagram-modal-button",
@@ -3350,16 +3349,16 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3350
3349
  "aria-label": "Close preview",
3351
3350
  onClick: E
3352
3351
  }, [z(q(Ne), { size: 16 })])
3353
- ])]), L("div", ls, [u.value ? (H(), I("div", us, [L("div", ds, " diagram." + K(b.value) + " · " + K(_.value) + " lines ", 1), L("div", fs, [L("pre", ps, [
3352
+ ])]), L("div", cs, [u.value ? (H(), I("div", ls, [L("div", us, " diagram." + K(b.value) + " · " + K(_.value) + " lines ", 1), L("div", ds, [L("pre", fs, [
3354
3353
  r[14] ||= R(" ", -1),
3355
3354
  (H(!0), I(M, null, W(g.value, (e, t) => (H(), I("div", {
3356
3355
  key: t,
3357
3356
  class: "td-diagram-code-row"
3358
3357
  }, [
3359
3358
  r[11] ||= R("\n ", -1),
3360
- L("span", ms, K(t + 1), 1),
3359
+ L("span", ps, K(t + 1), 1),
3361
3360
  r[12] ||= R("\n ", -1),
3362
- L("span", hs, K(e || " "), 1),
3361
+ L("span", ms, K(e || " "), 1),
3363
3362
  r[13] ||= R("\n ", -1)
3364
3363
  ]))), 128)),
3365
3364
  r[15] ||= R("\n ", -1)
@@ -3377,50 +3376,50 @@ var Wo = ["id"], Go = { class: "td-diagram-frame" }, Ko = ["innerHTML"], qo = {
3377
3376
  class: "td-diagram-modal-canvas",
3378
3377
  style: nt(C.value),
3379
3378
  innerHTML: e.svg
3380
- }, null, 12, gs), L("div", _s, " Drag or scroll to pan · " + K(q(t)) + " + scroll or pinch to zoom · Double-click to zoom in · Esc to close ", 1)], 36)])], 40, ts)])) : F("", !0)]))
3381
- ], 8, Wo));
3379
+ }, null, 12, hs), L("div", gs, " Drag or scroll to pan · " + K(q(t)) + " + scroll or pinch to zoom · Double-click to zoom in · Esc to close ", 1)], 36)])], 40, es)])) : F("", !0)]))
3380
+ ], 8, Uo));
3382
3381
  }
3383
3382
  }), [["__scopeId", "data-v-fb95bcf7"]]);
3384
3383
  // src/client/theme-default/composables/lazy-embed/mountDiagram.ts
3385
- function ks(e, t) {
3384
+ function Os(e, t) {
3386
3385
  let n = document.createElement("div");
3387
- n.style.display = "contents", e.replaceWith(n), ct(Ze(Os, t), n);
3386
+ n.style.display = "contents", e.replaceWith(n), ct(Ze(Ds, t), n);
3388
3387
  }
3389
3388
  // src/client/theme-default/composables/lazy-embed/d2.ts
3390
- var As = "https://esm.sh/@terrastruct/d2@0.1.32", js, Ms = 0;
3391
- function Ns(e) {
3389
+ var ks = "https://esm.sh/@terrastruct/d2@0.1.32", As, js = 0;
3390
+ function Ms(e) {
3392
3391
  let t = {
3393
3392
  selector: ".td-d2-placeholder",
3394
- onRender: Fs,
3393
+ onRender: Ps,
3395
3394
  onVisible() {
3396
3395
  let e = document.createElement("link");
3397
- e.rel = "modulepreload", e.href = As, document.head.appendChild(e);
3396
+ e.rel = "modulepreload", e.href = ks, document.head.appendChild(e);
3398
3397
  }
3399
3398
  };
3400
3399
  it(() => e.register(t)), ot(() => e.unregister(t));
3401
3400
  }
3402
- async function Ps() {
3403
- if (js) return js;
3401
+ async function Ns() {
3402
+ if (As) return As;
3404
3403
  try {
3405
3404
  let e = await import(
3406
3405
  /* @vite-ignore */
3407
- As
3406
+ ks
3408
3407
  );
3409
- js = new (e.D2 || (e.default?.D2) || e.default)();
3408
+ As = new (e.D2 || (e.default?.D2) || e.default)();
3410
3409
  } catch {
3411
3410
  return;
3412
3411
  }
3413
- return js;
3412
+ return As;
3414
3413
  }
3415
- async function Fs(e) {
3414
+ async function Ps(e) {
3416
3415
  let t = e, n = t.querySelector("code");
3417
3416
  if (!n) return;
3418
- let r = n.textContent ?? "", i = await Ps();
3417
+ let r = n.textContent ?? "", i = await Ns();
3419
3418
  if (!i) return;
3420
- let a = `td-d2-${Ms++}`, o = t.getAttribute("data-title");
3419
+ let a = `td-d2-${js++}`, o = t.getAttribute("data-title");
3421
3420
  try {
3422
3421
  let e = await i.compile(r, { layout: "dagre" });
3423
- ks(t, {
3422
+ Os(t, {
3424
3423
  svg: await i.render(e.diagram, {
3425
3424
  ...e.renderOptions,
3426
3425
  themeID: document.documentElement.classList.contains("dark") ? 200 : 0
@@ -3435,42 +3434,42 @@ async function Fs(e) {
3435
3434
  }
3436
3435
  }
3437
3436
  // src/client/theme-default/composables/lazy-embed/mermaid.ts
3438
- var Is = "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs", Ls, Rs = 0;
3439
- function zs(e) {
3437
+ var Fs = "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs", Is, Ls = 0;
3438
+ function Rs(e) {
3440
3439
  let t = {
3441
3440
  selector: ".td-mermaid-placeholder",
3442
- onRender: Vs,
3441
+ onRender: Bs,
3443
3442
  onVisible() {
3444
3443
  let e = document.createElement("link");
3445
- e.rel = "modulepreload", e.href = Is, document.head.appendChild(e);
3444
+ e.rel = "modulepreload", e.href = Fs, document.head.appendChild(e);
3446
3445
  }
3447
3446
  };
3448
3447
  it(() => e.register(t)), ot(() => e.unregister(t));
3449
3448
  }
3450
- async function Bs() {
3451
- if (Ls !== void 0) return Ls;
3449
+ async function zs() {
3450
+ if (Is !== void 0) return Is;
3452
3451
  try {
3453
- Ls = await import(
3452
+ Is = await import(
3454
3453
  /* @vite-ignore */
3455
- Is
3454
+ Fs
3456
3455
  );
3457
3456
  } catch {
3458
3457
  return;
3459
3458
  }
3460
- return Ls.default.initialize({
3459
+ return Is.default.initialize({
3461
3460
  startOnLoad: !1,
3462
3461
  theme: document.documentElement.classList.contains("dark") ? "dark" : "default"
3463
- }), Ls;
3462
+ }), Is;
3464
3463
  }
3465
- async function Vs(e) {
3464
+ async function Bs(e) {
3466
3465
  let t = e, n = t.querySelector("code");
3467
3466
  if (!n) return;
3468
- let r = n.textContent ?? "", i = await Bs();
3467
+ let r = n.textContent ?? "", i = await zs();
3469
3468
  if (i === void 0) return;
3470
- let a = `td-mermaid-${Rs++}`, o = t.getAttribute("data-title");
3469
+ let a = `td-mermaid-${Ls++}`, o = t.getAttribute("data-title");
3471
3470
  try {
3472
3471
  let { svg: e } = await i.default.render(a, r);
3473
- ks(t, {
3472
+ Os(t, {
3474
3473
  svg: e,
3475
3474
  source: r,
3476
3475
  title: o ?? void 0,
@@ -3482,15 +3481,15 @@ async function Vs(e) {
3482
3481
  }
3483
3482
  }
3484
3483
  // src/client/theme-default/composables/lazy-embed/github.ts
3485
- var Hs = "https://emgithub.com/embed-v2.js";
3486
- function Us(e) {
3484
+ var Vs = "https://emgithub.com/embed-v2.js";
3485
+ function Hs(e) {
3487
3486
  let t, n = [], r = {
3488
3487
  selector: ".td-github-placeholder",
3489
3488
  onRender(e) {
3490
3489
  let t = e, r = t.getAttribute("data-url");
3491
3490
  if (!r) return;
3492
3491
  let i = document.documentElement.classList.contains("dark"), a = document.createElement("script");
3493
- a.src = Ws(r, i);
3492
+ a.src = Us(r, i);
3494
3493
  let o = document.createElement("div");
3495
3494
  o.className = "td-github-wrapper", o.dataset.url = r, o.appendChild(a), t.replaceWith(o), n.push({
3496
3495
  container: o,
@@ -3503,7 +3502,7 @@ function Us(e) {
3503
3502
  for (let e = n.length - 1; 0 <= e; e--) n[e].container.isConnected || n.splice(e, 1);
3504
3503
  for (let t of n) {
3505
3504
  let n = document.createElement("script");
3506
- n.src = Ws(t.url, e), t.container.innerHTML = "", t.container.appendChild(n);
3505
+ n.src = Us(t.url, e), t.container.innerHTML = "", t.container.appendChild(n);
3507
3506
  }
3508
3507
  }
3509
3508
  it(() => {
@@ -3520,11 +3519,11 @@ function Us(e) {
3520
3519
  e.unregister(r), t?.disconnect(), n.length = 0;
3521
3520
  });
3522
3521
  }
3523
- function Ws(e, t) {
3524
- return `${Hs}?target=${encodeURIComponent(e)}&style=${t ? "base16/gruvbox-dark-medium" : "grayscale"}&type=code&showBorder=on&showFileMeta=on&showFullPath=on&showCopy=on&showLineNumbers=on`;
3522
+ function Us(e, t) {
3523
+ return `${Vs}?target=${encodeURIComponent(e)}&style=${t ? "base16/gruvbox-dark-medium" : "grayscale"}&type=code&showBorder=on&showFileMeta=on&showFullPath=on&showCopy=on&showLineNumbers=on`;
3525
3524
  }
3526
3525
  // src/client/theme-default/composables/lazy-embed/index.ts
3527
- function Gs() {
3526
+ function Ws() {
3528
3527
  let e = [], t = /* @__PURE__ */ new WeakSet(), n = /* @__PURE__ */ new WeakMap(), r, i;
3529
3528
  function a() {
3530
3529
  let i = document.getElementById("td-content");
@@ -3558,37 +3557,37 @@ function Gs() {
3558
3557
  n !== -1 && e.splice(n, 1);
3559
3558
  }
3560
3559
  };
3561
- zs(o), Ns(o), Us(o);
3560
+ Rs(o), Ms(o), Hs(o);
3562
3561
  }
3563
3562
  // src/client/theme-default/TdLayout.vue?vue&type=script&setup=true&lang.ts
3564
- var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"], Ys = { class: "td-brand-name" }, Xs = { class: "td-header-right" }, Zs = ["href"], Qs = { class: "td-drawer-header" }, $s = ["href"], ec = { class: "td-brand-name" }, tc = {
3563
+ var Gs = { class: "td-header" }, Ks = { class: "td-header-left" }, qs = ["href"], Js = { class: "td-brand-name" }, Ys = { class: "td-header-right" }, Xs = ["href"], Zs = { class: "td-drawer-header" }, Qs = ["href"], $s = { class: "td-brand-name" }, ec = {
3565
3564
  key: 0,
3566
3565
  class: "pt-4",
3567
3566
  "aria-label": "Site navigation"
3568
- }, nc = { class: "td-page" }, rc = ["aria-label"], ic = {
3567
+ }, tc = { class: "td-page" }, nc = ["aria-label"], rc = {
3569
3568
  key: 2,
3570
3569
  class: "td-sidebar-collapse-label"
3571
- }, ac = ["onKeydown"], oc = { class: "td-main-and-rail" }, sc = { class: "td-main" }, cc = {
3570
+ }, ic = ["onKeydown"], ac = { class: "td-main-and-rail" }, oc = { class: "td-main" }, sc = {
3572
3571
  id: "td-content",
3573
3572
  class: "td-content",
3574
3573
  "data-testid": "content"
3575
- }, lc = {
3574
+ }, cc = {
3576
3575
  key: 0,
3577
3576
  class: "td-page-eyebrow"
3578
- }, uc = {
3577
+ }, lc = {
3579
3578
  key: 1,
3580
3579
  class: "td-page-icon"
3581
- }, dc = ["innerHTML"], fc = {
3580
+ }, uc = ["innerHTML"], dc = {
3582
3581
  key: 3,
3583
3582
  class: "td-page-meta"
3584
- }, pc = { key: 0 }, mc = { class: "td-content-body" }, hc = ["href"], gc = /*#__PURE__*/ A(/* @__PURE__ */ B({
3583
+ }, fc = { key: 0 }, pc = { class: "td-content-body" }, mc = ["href"], hc = /*#__PURE__*/ A(/* @__PURE__ */ B({
3585
3584
  __name: "TdLayout",
3586
3585
  setup(e) {
3587
3586
  let { title: t, page: n } = Se(), i = N(() => {
3588
3587
  let e = n.value.icon;
3589
3588
  return e ? Le(e.name) : void 0;
3590
3589
  }), a = j(), { withBase: o } = a, c = we(), l = ke(), u = N(() => l.value.ready), { isOpen: d, isDrawerMounted: f, open: p, close: m } = Sa(), h = U(""), g = U(!1), _ = U(!1), v = Ie(), y = U(!1);
3591
- Y(() => v.path, () => m()), zo(), Bo(), Gs();
3590
+ Y(() => v.path, () => m()), Ro(), zo(), Ws();
3592
3591
  let x = J("sidebarSearch"), S = J("menuSearch"), C = J("palette"), { previous: w, next: T } = wa();
3593
3592
  function E() {
3594
3593
  y.value = !1;
@@ -3623,7 +3622,7 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3623
3622
  document.title = e && e !== r ? `${e} - ${r}` : r;
3624
3623
  let i = n.value.frontmatter?.description === void 0 ? a.description ?? "" : String(n.value.frontmatter.description), o = document.querySelector("meta[name=\"description\"]");
3625
3624
  o && o.setAttribute("content", i);
3626
- }), Uo();
3625
+ }), Ho();
3627
3626
  let { sidebarWidth: ae, sidebarCollapsed: O, sidebarStyle: oe } = D(), se = U(!1);
3628
3627
  function ce() {
3629
3628
  f.value ? d.value ? m() : p() : le();
@@ -3656,18 +3655,18 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3656
3655
  href: "#td-content",
3657
3656
  class: "td-skip-link"
3658
3657
  }, "Skip to content", -1),
3659
- L("header", Ks, [
3660
- L("div", qs, [
3658
+ L("header", Gs, [
3659
+ L("div", Ks, [
3661
3660
  z(Ca, { onClick: q(p) }, null, 8, ["onClick"]),
3662
3661
  L("a", {
3663
3662
  href: q(o)(q(s)("/")),
3664
3663
  class: "td-brand"
3665
- }, [z(Vt), L("span", Ys, K(q(a).title || "Typedown"), 1)], 8, Js),
3664
+ }, [z(Vt), L("span", Js, K(q(a).title || "Typedown"), 1)], 8, qs),
3666
3665
  z(_i, { class: "td-header-breadcrumb" })
3667
3666
  ]),
3668
3667
  z(q(bi)),
3669
3668
  G(e.$slots, "nav-bar-after", {}, void 0, !0),
3670
- L("div", Xs, [
3669
+ L("div", Ys, [
3671
3670
  z(Fr, {
3672
3671
  text: "Commands",
3673
3672
  placement: "bottom",
@@ -3682,7 +3681,7 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3682
3681
  }, [z(q(Oe), { size: 15 })])]),
3683
3682
  _: 1
3684
3683
  }, 8, ["shortcut"]),
3685
- z(Ro),
3684
+ z(Lo),
3686
3685
  q(a).repo ? (H(), I("a", {
3687
3686
  key: 0,
3688
3687
  href: q(a).repo.url,
@@ -3701,7 +3700,7 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3701
3700
  "fill-rule": "evenodd",
3702
3701
  "clip-rule": "evenodd",
3703
3702
  d: "M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59\n 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367\n 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778\n 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125\n 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2\n 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364\n 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"
3704
- })], -1)]], 8, Zs)) : F("", !0)
3703
+ })], -1)]], 8, Xs)) : F("", !0)
3705
3704
  ])
3706
3705
  ]),
3707
3706
  z(Ye, { name: "td-drawer-scrim" }, {
@@ -3717,10 +3716,10 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3717
3716
  key: 0,
3718
3717
  class: V(["td-drawer", { "is-open": q(d) }])
3719
3718
  }, [
3720
- L("header", Qs, [L("a", {
3719
+ L("header", Zs, [L("a", {
3721
3720
  href: q(o)(q(s)("/")),
3722
3721
  class: "td-brand"
3723
- }, [z(Vt), L("span", ec, K(q(a).title || "Typedown"), 1)], 8, $s), z(Ut, {
3722
+ }, [z(Vt), L("span", $s, K(q(a).title || "Typedown"), 1)], 8, Qs), z(Ut, {
3724
3723
  label: "Close menu",
3725
3724
  onClick: q(m)
3726
3725
  }, {
@@ -3728,7 +3727,7 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3728
3727
  _: 1
3729
3728
  }, 8, ["onClick"])]),
3730
3729
  z(q(Ci)),
3731
- z(Lo, {
3730
+ z(Io, {
3732
3731
  ref_key: "menuSearch",
3733
3732
  ref: S,
3734
3733
  query: h.value,
@@ -3741,14 +3740,14 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3741
3740
  "active",
3742
3741
  "onSelect"
3743
3742
  ]),
3744
- _.value ? F("", !0) : (H(), I("nav", tc, [u.value ? (H(), P(ni, {
3743
+ _.value ? F("", !0) : (H(), I("nav", ec, [u.value ? (H(), P(ni, {
3745
3744
  key: 1,
3746
3745
  tree: q(l).contentTree
3747
- }, null, 8, ["tree"])) : (H(), P(no, { key: 0 }))]))
3746
+ }, null, 8, ["tree"])) : (H(), P(to, { key: 0 }))]))
3748
3747
  ], 2)) : F("", !0)]),
3749
3748
  _: 1
3750
3749
  }),
3751
- L("div", nc, [L("nav", {
3750
+ L("div", tc, [L("nav", {
3752
3751
  class: V(["td-sidebar-left", {
3753
3752
  "is-resizing": se.value,
3754
3753
  "is-collapsed": q(O)
@@ -3757,13 +3756,13 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3757
3756
  "aria-label": "Site navigation",
3758
3757
  style: nt(q(oe))
3759
3758
  }, [
3760
- q(O) ? (H(), P(co, {
3759
+ q(O) ? (H(), P(so, {
3761
3760
  key: 1,
3762
3761
  tree: q(l).contentTree,
3763
3762
  onSearch: te
3764
3763
  }, null, 8, ["tree"])) : (H(), I(M, { key: 0 }, [
3765
3764
  G(e.$slots, "sidebar-top", {}, void 0, !0),
3766
- z(Lo, {
3765
+ z(Io, {
3767
3766
  ref_key: "sidebarSearch",
3768
3767
  ref: x,
3769
3768
  query: h.value,
@@ -3772,7 +3771,7 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3772
3771
  "onUpdate:active": r[4] ||= (e) => g.value = e,
3773
3772
  class: "td-sidebar-search"
3774
3773
  }, null, 8, ["query", "active"]),
3775
- z(ro, {
3774
+ z(no, {
3776
3775
  tree: q(l).contentTree,
3777
3776
  "search-active": g.value,
3778
3777
  ready: u.value
@@ -3796,12 +3795,12 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3796
3795
  key: 0,
3797
3796
  size: 14
3798
3797
  })),
3799
- q(O) ? F("", !0) : (H(), I("span", ic, "Collapse sidebar")),
3798
+ q(O) ? F("", !0) : (H(), I("span", rc, "Collapse sidebar")),
3800
3799
  q(O) ? F("", !0) : (H(), P($, {
3801
3800
  key: 3,
3802
3801
  keys: [q(Q).Meta, q(Q).Backslash]
3803
3802
  }, null, 8, ["keys"]))
3804
- ], 8, rc),
3803
+ ], 8, nc),
3805
3804
  q(O) ? F("", !0) : (H(), I("div", {
3806
3805
  key: 2,
3807
3806
  class: "td-resize-handle",
@@ -3811,30 +3810,30 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3811
3810
  tabindex: "0",
3812
3811
  onPointerdown: bt(k, ["prevent"]),
3813
3812
  onKeydown: [yt(bt(de, ["prevent"]), ["left"]), yt(bt(ue, ["prevent"]), ["right"])]
3814
- }, null, 40, ac))
3815
- ], 6), L("div", oc, [L("main", sc, [L("article", cc, [
3813
+ }, null, 40, ic))
3814
+ ], 6), L("div", ac, [L("main", oc, [L("article", sc, [
3816
3815
  G(e.$slots, "doc-before", {}, void 0, !0),
3817
- q(n).schema ? (H(), I("div", lc, K(q(n).schemaLabel ?? q(n).schema), 1)) : F("", !0),
3818
- i.value ? (H(), I("div", uc, [(H(), P(ut(i.value), { size: 32 }))])) : F("", !0),
3816
+ q(n).schema ? (H(), I("div", cc, K(q(n).schemaLabel ?? q(n).schema), 1)) : F("", !0),
3817
+ i.value ? (H(), I("div", lc, [(H(), P(ut(i.value), { size: 32 }))])) : F("", !0),
3819
3818
  q(t) ? (H(), I("h1", {
3820
3819
  key: 2,
3821
3820
  class: "td-page-title",
3822
3821
  innerHTML: q(n).titleHtml
3823
- }, null, 8, dc)) : F("", !0),
3824
- q(n).fileMetadata ? (H(), I("div", fc, [L("span", null, K(q(b)(q(n).fileMetadata.mtimeSecs, "Modified")), 1), q(n).fileMetadata.ctimeSecs === q(n).fileMetadata.mtimeSecs ? F("", !0) : (H(), I("span", pc, " · " + K(q(b)(q(n).fileMetadata.ctimeSecs, "Created")), 1))])) : F("", !0),
3822
+ }, null, 8, uc)) : F("", !0),
3823
+ q(n).fileMetadata ? (H(), I("div", dc, [L("span", null, K(q(b)(q(n).fileMetadata.mtimeSecs, "Modified")), 1), q(n).fileMetadata.ctimeSecs === q(n).fileMetadata.mtimeSecs ? F("", !0) : (H(), I("span", fc, " · " + K(q(b)(q(n).fileMetadata.ctimeSecs, "Created")), 1))])) : F("", !0),
3825
3824
  z(q(pa), {
3826
3825
  class: "td-frontmatter-inline",
3827
3826
  schema: q(n).schema,
3828
3827
  frontmatter: q(n).frontmatter
3829
3828
  }, null, 8, ["schema", "frontmatter"]),
3830
- q(n).headings.length > 1 ? (H(), P(Ya, {
3829
+ q(n).headings.length > 1 ? (H(), P(Ja, {
3831
3830
  key: 4,
3832
3831
  class: "td-toc-inline",
3833
3832
  headings: q(n).headings,
3834
3833
  inline: ""
3835
3834
  }, null, 8, ["headings"])) : F("", !0),
3836
3835
  G(e.$slots, "doc-content-before", {}, void 0, !0),
3837
- L("div", mc, [z(q(Fe))]),
3836
+ L("div", pc, [z(q(Fe))]),
3838
3837
  G(e.$slots, "doc-content-after", {}, void 0, !0),
3839
3838
  z(La),
3840
3839
  q(a).repo && q(n).filepath ? (H(), I("a", {
@@ -3843,39 +3842,39 @@ var Ks = { class: "td-header" }, qs = { class: "td-header-left" }, Js = ["href"]
3843
3842
  target: "_blank",
3844
3843
  rel: "noopener noreferrer",
3845
3844
  class: "td-page-edit"
3846
- }, "Edit this page", 8, hc)) : F("", !0),
3845
+ }, "Edit this page", 8, mc)) : F("", !0),
3847
3846
  G(e.$slots, "doc-after", {}, void 0, !0)
3848
- ])]), z(eo, { class: "td-rail" })])]),
3847
+ ])]), z($a, { class: "td-rail" })])]),
3849
3848
  z(ai),
3850
3849
  G(e.$slots, "layout-bottom", {}, void 0, !0),
3851
- z(Co, {
3850
+ z(So, {
3852
3851
  ref_key: "palette",
3853
3852
  ref: C,
3854
3853
  onToggleSidebar: le,
3855
3854
  onShowShortcuts: ie
3856
3855
  }, null, 512),
3857
- z(Do, {
3856
+ z(Eo, {
3858
3857
  open: y.value,
3859
3858
  onClose: E
3860
3859
  }, null, 8, ["open"])
3861
3860
  ]));
3862
3861
  }
3863
- }), [["__scopeId", "data-v-e1cb586a"]]), _c = { class: "pt-16 pb-24" }, vc = ["href"], yc = /* @__PURE__ */ B({
3862
+ }), [["__scopeId", "data-v-e1cb586a"]]), gc = { class: "pt-16 pb-24" }, _c = ["href"], vc = /* @__PURE__ */ B({
3864
3863
  __name: "TdNotFound",
3865
3864
  setup(e) {
3866
3865
  let { withBase: t } = j();
3867
- return (e, n) => (H(), I("div", _c, [
3866
+ return (e, n) => (H(), I("div", gc, [
3868
3867
  n[0] ||= L("p", { class: "text-td-4xl font-extrabold leading-none tracking-td-tight text-td-fg-muted" }, " 404 ", -1),
3869
3868
  n[1] ||= L("h1", { class: "text-td-xl font-extrabold leading-td-tight tracking-td-tight mt-4" }, " Page Not Found ", -1),
3870
3869
  n[2] ||= L("p", { class: "text-td-fg-muted mt-2 text-td-base leading-td-relaxed" }, " The page you are looking for does not exist. ", -1),
3871
3870
  L("a", {
3872
3871
  class: "inline-flex items-center mt-6 text-td-accent text-td-sm font-extrabold tracking-td-tight hover:text-td-accent-hi",
3873
3872
  href: q(t)(q(s)("/"))
3874
- }, "Go Home", 8, vc)
3873
+ }, "Go Home", 8, _c)
3875
3874
  ]));
3876
3875
  }
3877
- }), bc = {
3878
- Layout: gc,
3879
- NotFound: yc
3876
+ }), yc = {
3877
+ Layout: hc,
3878
+ NotFound: vc
3880
3879
  };
3881
- export { ie as SIDEBAR_COLLAPSED_WIDTH, te as SIDEBAR_DEFAULT_WIDTH, ne as SIDEBAR_MAX_WIDTH, ee as SIDEBAR_MIN_WIDTH, Vt as TdBrandIcon, ni as TdContentNav, Ee as TdDirectoryIndex, ai as TdFooter, Te as TdGlossaryIndex, $ as TdKbdShortcut, Q as TdKeyName, gc as TdLayout, yc as TdNotFound, La as TdPreviousNext, eo as TdRail, Ro as TdThemeToggle, Ya as TdToc, bc as default, ga as isTypingTarget, re as useClientPreferences, zo as useCopyCode, _a as useGlobalHotkey, va as useLocalHotkeys, D as useSidebarConfig, E as useTheme };
3880
+ export { ie as SIDEBAR_COLLAPSED_WIDTH, te as SIDEBAR_DEFAULT_WIDTH, ne as SIDEBAR_MAX_WIDTH, ee as SIDEBAR_MIN_WIDTH, Vt as TdBrandIcon, ni as TdContentNav, Ee as TdDirectoryIndex, ai as TdFooter, Te as TdGlossaryIndex, $ as TdKbdShortcut, Q as TdKeyName, hc as TdLayout, vc as TdNotFound, La as TdPreviousNext, $a as TdRail, Lo as TdThemeToggle, Ja as TdToc, yc as default, ga as isTypingTarget, re as useClientPreferences, Ro as useCopyCode, _a as useGlobalHotkey, va as useLocalHotkeys, D as useSidebarConfig, E as useTheme };