From b7747215309c756d3efe989ec61fb86cd975c12f Mon Sep 17 00:00:00 2001 From: ulyxie Date: Wed, 16 Oct 2024 10:43:44 +0000 Subject: [PATCH] Revert "Updated buttons" This reverts commit 8e95dbcc8d25eabcc345ce3dbae8dd79151f7276. --- node_modules/.package-lock.json | 53 +- node_modules/@types/dompurify/LICENSE | 21 - node_modules/@types/dompurify/README.md | 16 - node_modules/@types/dompurify/index.d.ts | 138 -- node_modules/@types/dompurify/package.json | 47 - node_modules/@types/trusted-types/LICENSE | 21 - node_modules/@types/trusted-types/README.md | 15 - node_modules/@types/trusted-types/index.d.ts | 53 - .../@types/trusted-types/lib/index.d.ts | 64 - .../@types/trusted-types/package.json | 45 - node_modules/dompurify/LICENSE | 568 ------ node_modules/dompurify/README.md | 442 ----- node_modules/dompurify/dist/purify.cjs.js | 1556 --------------- node_modules/dompurify/dist/purify.cjs.js.map | 1 - node_modules/dompurify/dist/purify.es.mjs | 1554 --------------- node_modules/dompurify/dist/purify.es.mjs.map | 1 - node_modules/dompurify/dist/purify.js | 1562 --------------- node_modules/dompurify/dist/purify.js.map | 1 - node_modules/dompurify/dist/purify.min.js | 3 - node_modules/dompurify/dist/purify.min.js.map | 1 - node_modules/dompurify/package.json | 129 -- node_modules/fast-url-parser/.npmignore | 30 + node_modules/fast-url-parser/LICENSE | 19 + node_modules/fast-url-parser/README.md | 84 + node_modules/fast-url-parser/package.json | 46 + node_modules/fast-url-parser/src/urlparser.js | 1061 ++++++++++ node_modules/path-to-regexp/History.md | 181 ++ node_modules/path-to-regexp/Readme.md | 151 +- node_modules/path-to-regexp/index.d.ts | 58 +- node_modules/path-to-regexp/index.js | 126 +- node_modules/path-to-regexp/package.json | 19 +- node_modules/punycode/LICENSE-MIT.txt | 20 + node_modules/punycode/README.md | 176 ++ node_modules/punycode/package.json | 60 + node_modules/punycode/punycode.js | 533 +++++ node_modules/serve-handler/README.md | 3 +- node_modules/serve-handler/package.json | 30 +- node_modules/serve-handler/src/index.js | 17 +- package-lock.json | 55 +- package.json | 2 - public/404.html | 25 - public/Articles/!root.html | 82 - .../001---Raspberry-connectivity-Issues.html | 68 - public/Articles/index.html | 42 - public/Bookmarks.html | 41 - public/Characters/Flow.html | 43 - public/Characters/Helio.html | 40 - .../Iterations/Ulysia---iteration-1.html | 45 - public/Characters/Iterations/index.html | 35 - public/Characters/Scarlet.html | 40 - public/Characters/Ulysia.html | 47 - public/Characters/index.html | 49 - public/Links.html | 71 - public/Projects.html | 42 - public/Services.html | 76 - public/Webrings.html | 45 - public/index.css | 1 - public/index.html | 84 - public/index.xml | 70 - public/postscript.js | 5 - public/prescript.js | 1 - public/sitemap.xml | 46 - public/static/contentIndex.json | 1 - public/static/icon.png | Bin 17368 -> 0 bytes public/static/og-image.png | Bin 39281 -> 0 bytes public/tags/character.html | 35 - public/tags/computering.html | 35 - public/tags/dragon.html | 35 - public/tags/folder.html | 35 - public/tags/games.html | 35 - public/tags/index.html | 35 - public/tags/kobold.html | 35 - public/tags/moth.html | 35 - public/tags/protogen.html | 35 - quartz/.quartz-cache/transpiled-build.mjs | 1731 ----------------- quartz/.quartz-cache/transpiled-build.mjs.map | 6 - quartz/components/Btn8831.tsx | 140 +- 77 files changed, 2440 insertions(+), 9713 deletions(-) delete mode 100644 node_modules/@types/dompurify/LICENSE delete mode 100644 node_modules/@types/dompurify/README.md delete mode 100644 node_modules/@types/dompurify/index.d.ts delete mode 100644 node_modules/@types/dompurify/package.json delete mode 100644 node_modules/@types/trusted-types/LICENSE delete mode 100644 node_modules/@types/trusted-types/README.md delete mode 100644 node_modules/@types/trusted-types/index.d.ts delete mode 100644 node_modules/@types/trusted-types/lib/index.d.ts delete mode 100644 node_modules/@types/trusted-types/package.json delete mode 100644 node_modules/dompurify/LICENSE delete mode 100644 node_modules/dompurify/README.md delete mode 100644 node_modules/dompurify/dist/purify.cjs.js delete mode 100644 node_modules/dompurify/dist/purify.cjs.js.map delete mode 100644 node_modules/dompurify/dist/purify.es.mjs delete mode 100644 node_modules/dompurify/dist/purify.es.mjs.map delete mode 100644 node_modules/dompurify/dist/purify.js delete mode 100644 node_modules/dompurify/dist/purify.js.map delete mode 100644 node_modules/dompurify/dist/purify.min.js delete mode 100644 node_modules/dompurify/dist/purify.min.js.map delete mode 100644 node_modules/dompurify/package.json create mode 100644 node_modules/fast-url-parser/.npmignore create mode 100644 node_modules/fast-url-parser/LICENSE create mode 100644 node_modules/fast-url-parser/README.md create mode 100644 node_modules/fast-url-parser/package.json create mode 100644 node_modules/fast-url-parser/src/urlparser.js create mode 100644 node_modules/path-to-regexp/History.md create mode 100644 node_modules/punycode/LICENSE-MIT.txt create mode 100644 node_modules/punycode/README.md create mode 100644 node_modules/punycode/package.json create mode 100644 node_modules/punycode/punycode.js delete mode 100644 public/404.html delete mode 100644 public/Articles/!root.html delete mode 100644 public/Articles/001---Raspberry-connectivity-Issues.html delete mode 100644 public/Articles/index.html delete mode 100644 public/Bookmarks.html delete mode 100644 public/Characters/Flow.html delete mode 100644 public/Characters/Helio.html delete mode 100644 public/Characters/Iterations/Ulysia---iteration-1.html delete mode 100644 public/Characters/Iterations/index.html delete mode 100644 public/Characters/Scarlet.html delete mode 100644 public/Characters/Ulysia.html delete mode 100644 public/Characters/index.html delete mode 100644 public/Links.html delete mode 100644 public/Projects.html delete mode 100644 public/Services.html delete mode 100644 public/Webrings.html delete mode 100644 public/index.css delete mode 100644 public/index.html delete mode 100644 public/index.xml delete mode 100644 public/postscript.js delete mode 100644 public/prescript.js delete mode 100644 public/sitemap.xml delete mode 100644 public/static/contentIndex.json delete mode 100644 public/static/icon.png delete mode 100644 public/static/og-image.png delete mode 100644 public/tags/character.html delete mode 100644 public/tags/computering.html delete mode 100644 public/tags/dragon.html delete mode 100644 public/tags/folder.html delete mode 100644 public/tags/games.html delete mode 100644 public/tags/index.html delete mode 100644 public/tags/kobold.html delete mode 100644 public/tags/moth.html delete mode 100644 public/tags/protogen.html delete mode 100644 quartz/.quartz-cache/transpiled-build.mjs delete mode 100644 quartz/.quartz-cache/transpiled-build.mjs.map diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index d1394a7..bf29f23 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -540,16 +540,6 @@ "@types/ms": "*" } }, - "node_modules/@types/dompurify": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@types/dompurify/-/dompurify-3.0.5.tgz", - "integrity": "sha512-1Wg0g3BtQF7sSb27fJQAKck1HECM6zV1EB66j8JH9i3LCjYabJa0FSdiSgsD5K/RbrsR0SiraKacLB+T8ZVYAg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/trusted-types": "*" - } - }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", @@ -654,13 +644,6 @@ "source-map": "^0.6.0" } }, - "node_modules/@types/trusted-types": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", - "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/unist": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.6.tgz", @@ -1602,12 +1585,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/dompurify": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.1.7.tgz", - "integrity": "sha512-VaTstWtsneJY8xzy7DekmYWEOZcmzIe3Qb3zPd4STve1OBTa+e+WmS1ITQec1fZYXI3HCsOZZiSMpG6oxoWMWQ==", - "license": "(MPL-2.0 OR Apache-2.0)" - }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -1757,6 +1734,14 @@ "node": ">=8.6.0" } }, + "node_modules/fast-url-parser": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/fast-url-parser/-/fast-url-parser-1.1.3.tgz", + "integrity": "sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==", + "dependencies": { + "punycode": "^1.3.2" + } + }, "node_modules/fastq": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", @@ -3961,10 +3946,9 @@ } }, "node_modules/path-to-regexp": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.3.0.tgz", - "integrity": "sha512-qyCH421YQPS2WFDxDjftfc1ZR5WKQzVzqsp4n9M2kQhVOo/ByahFoUNJfl58kOcEGfQ//7weFTDhm+ss8Ecxgw==", - "license": "MIT" + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-2.2.1.tgz", + "integrity": "sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ==" }, "node_modules/path-type": { "version": "5.0.0", @@ -4067,6 +4051,11 @@ "resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz", "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==" }, + "node_modules/punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==" + }, "node_modules/querystringify": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", @@ -4664,17 +4653,17 @@ } }, "node_modules/serve-handler": { - "version": "6.1.6", - "resolved": "https://registry.npmjs.org/serve-handler/-/serve-handler-6.1.6.tgz", - "integrity": "sha512-x5RL9Y2p5+Sh3D38Fh9i/iQ5ZK+e4xuXRd/pGbM4D13tgo/MGwbttUk8emytcr1YYzBYs+apnUngBDFYfpjPuQ==", - "license": "MIT", + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/serve-handler/-/serve-handler-6.1.5.tgz", + "integrity": "sha512-ijPFle6Hwe8zfmBxJdE+5fta53fdIY0lHISJvuikXB3VYFafRjMRpOffSPvCYsbKyBA7pvy9oYr/BT1O3EArlg==", "dependencies": { "bytes": "3.0.0", "content-disposition": "0.5.2", + "fast-url-parser": "1.1.3", "mime-types": "2.1.18", "minimatch": "3.1.2", "path-is-inside": "1.0.2", - "path-to-regexp": "3.3.0", + "path-to-regexp": "2.2.1", "range-parser": "1.2.0" } }, diff --git a/node_modules/@types/dompurify/LICENSE b/node_modules/@types/dompurify/LICENSE deleted file mode 100644 index 9e841e7..0000000 --- a/node_modules/@types/dompurify/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/node_modules/@types/dompurify/README.md b/node_modules/@types/dompurify/README.md deleted file mode 100644 index b66f5fd..0000000 --- a/node_modules/@types/dompurify/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Installation -> `npm install --save @types/dompurify` - -# Summary -This package contains type definitions for dompurify (https://github.com/cure53/DOMPurify). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dompurify. - -### Additional Details - * Last updated: Mon, 06 Nov 2023 22:41:05 GMT - * Dependencies: [@types/trusted-types](https://npmjs.com/package/@types/trusted-types) - -# Credits -These definitions were written by [Dave Taylor https://github.com/davetayls -// Samira Bazuzi](https://github.com/bazuzi), [FlowCrypt](https://github.com/FlowCrypt), [Exigerr](https://github.com/Exigerr), [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Nicholas Ellul](https://github.com/NicholasEllul). diff --git a/node_modules/@types/dompurify/index.d.ts b/node_modules/@types/dompurify/index.d.ts deleted file mode 100644 index ad6491f..0000000 --- a/node_modules/@types/dompurify/index.d.ts +++ /dev/null @@ -1,138 +0,0 @@ -/// - -export as namespace DOMPurify; -export = DOMPurify; - -declare const DOMPurify: createDOMPurifyI; - -type WindowLike = Pick< - typeof globalThis, - | "NodeFilter" - | "Node" - | "Element" - | "HTMLTemplateElement" - | "DocumentFragment" - | "HTMLFormElement" - | "DOMParser" - | "NamedNodeMap" ->; - -interface createDOMPurifyI extends DOMPurify.DOMPurifyI { - (window?: Window | WindowLike): DOMPurify.DOMPurifyI; -} - -declare namespace DOMPurify { - interface DOMPurifyI { - sanitize(source: string | Node): string; - sanitize(source: string | Node, config: Config & { RETURN_TRUSTED_TYPE: true }): TrustedHTML; - sanitize( - source: string | Node, - config: Config & { RETURN_DOM_FRAGMENT?: false | undefined; RETURN_DOM?: false | undefined }, - ): string; - sanitize(source: string | Node, config: Config & { RETURN_DOM_FRAGMENT: true }): DocumentFragment; - sanitize(source: string | Node, config: Config & { RETURN_DOM: true }): HTMLElement; - sanitize(source: string | Node, config: Config): string | HTMLElement | DocumentFragment; - - addHook( - hook: "uponSanitizeElement", - cb: (currentNode: Element, data: SanitizeElementHookEvent, config: Config) => void, - ): void; - addHook( - hook: "uponSanitizeAttribute", - cb: (currentNode: Element, data: SanitizeAttributeHookEvent, config: Config) => void, - ): void; - addHook(hook: HookName, cb: (currentNode: Element, data: HookEvent, config: Config) => void): void; - - setConfig(cfg: Config): void; - clearConfig(): void; - isValidAttribute(tag: string, attr: string, value: string): boolean; - - removeHook(entryPoint: HookName): void; - removeHooks(entryPoint: HookName): void; - removeAllHooks(): void; - - version: string; - removed: any[]; - isSupported: boolean; - } - - interface Config { - ADD_ATTR?: string[] | undefined; - ADD_DATA_URI_TAGS?: string[] | undefined; - ADD_TAGS?: string[] | undefined; - ADD_URI_SAFE_ATTR?: string[] | undefined; - ALLOW_ARIA_ATTR?: boolean | undefined; - ALLOW_DATA_ATTR?: boolean | undefined; - ALLOW_UNKNOWN_PROTOCOLS?: boolean | undefined; - ALLOW_SELF_CLOSE_IN_ATTR?: boolean | undefined; - ALLOWED_ATTR?: string[] | undefined; - ALLOWED_TAGS?: string[] | undefined; - ALLOWED_NAMESPACES?: string[] | undefined; - ALLOWED_URI_REGEXP?: RegExp | undefined; - FORBID_ATTR?: string[] | undefined; - FORBID_CONTENTS?: string[] | undefined; - FORBID_TAGS?: string[] | undefined; - FORCE_BODY?: boolean | undefined; - IN_PLACE?: boolean | undefined; - KEEP_CONTENT?: boolean | undefined; - /** - * change the default namespace from HTML to something different - */ - NAMESPACE?: string | undefined; - PARSER_MEDIA_TYPE?: string | undefined; - RETURN_DOM_FRAGMENT?: boolean | undefined; - /** - * This defaults to `true` starting DOMPurify 2.2.0. Note that setting it to `false` - * might cause XSS from attacks hidden in closed shadowroots in case the browser - * supports Declarative Shadow: DOM https://web.dev/declarative-shadow-dom/ - */ - RETURN_DOM_IMPORT?: boolean | undefined; - RETURN_DOM?: boolean | undefined; - RETURN_TRUSTED_TYPE?: boolean | undefined; - SAFE_FOR_TEMPLATES?: boolean | undefined; - SANITIZE_DOM?: boolean | undefined; - /** @default false */ - SANITIZE_NAMED_PROPS?: boolean | undefined; - USE_PROFILES?: - | false - | { - mathMl?: boolean | undefined; - svg?: boolean | undefined; - svgFilters?: boolean | undefined; - html?: boolean | undefined; - } - | undefined; - WHOLE_DOCUMENT?: boolean | undefined; - CUSTOM_ELEMENT_HANDLING?: { - tagNameCheck?: RegExp | ((tagName: string) => boolean) | null | undefined; - attributeNameCheck?: RegExp | ((lcName: string) => boolean) | null | undefined; - allowCustomizedBuiltInElements?: boolean | undefined; - }; - } - - type HookName = - | "beforeSanitizeElements" - | "uponSanitizeElement" - | "afterSanitizeElements" - | "beforeSanitizeAttributes" - | "uponSanitizeAttribute" - | "afterSanitizeAttributes" - | "beforeSanitizeShadowDOM" - | "uponSanitizeShadowNode" - | "afterSanitizeShadowDOM"; - - type HookEvent = SanitizeElementHookEvent | SanitizeAttributeHookEvent | null; - - interface SanitizeElementHookEvent { - tagName: string; - allowedTags: { [key: string]: boolean }; - } - - interface SanitizeAttributeHookEvent { - attrName: string; - attrValue: string; - keepAttr: boolean; - allowedAttributes: { [key: string]: boolean }; - forceKeepAttr?: boolean | undefined; - } -} diff --git a/node_modules/@types/dompurify/package.json b/node_modules/@types/dompurify/package.json deleted file mode 100644 index 6bc833b..0000000 --- a/node_modules/@types/dompurify/package.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "name": "@types/dompurify", - "version": "3.0.5", - "description": "TypeScript definitions for dompurify", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dompurify", - "license": "MIT", - "contributors": [ - { - "name": "Dave Taylor https://github.com/davetayls\n// Samira Bazuzi", - "githubUsername": "bazuzi", - "url": "https://github.com/bazuzi" - }, - { - "name": "FlowCrypt", - "githubUsername": "FlowCrypt", - "url": "https://github.com/FlowCrypt" - }, - { - "name": "Exigerr", - "githubUsername": "Exigerr", - "url": "https://github.com/Exigerr" - }, - { - "name": "Piotr Błażejewicz", - "githubUsername": "peterblazejewicz", - "url": "https://github.com/peterblazejewicz" - }, - { - "name": "Nicholas Ellul", - "githubUsername": "NicholasEllul", - "url": "https://github.com/NicholasEllul" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/dompurify" - }, - "scripts": {}, - "dependencies": { - "@types/trusted-types": "*" - }, - "typesPublisherContentHash": "f5501a1d31d5a7b2456704b3053c1c60efe0758bea38b4c3dbe3bd530638506e", - "typeScriptVersion": "4.5" -} \ No newline at end of file diff --git a/node_modules/@types/trusted-types/LICENSE b/node_modules/@types/trusted-types/LICENSE deleted file mode 100644 index 9e841e7..0000000 --- a/node_modules/@types/trusted-types/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/node_modules/@types/trusted-types/README.md b/node_modules/@types/trusted-types/README.md deleted file mode 100644 index 251cfea..0000000 --- a/node_modules/@types/trusted-types/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# Installation -> `npm install --save @types/trusted-types` - -# Summary -This package contains type definitions for trusted-types (https://github.com/WICG/trusted-types). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/trusted-types. - -### Additional Details - * Last updated: Mon, 20 Nov 2023 23:36:24 GMT - * Dependencies: none - -# Credits -These definitions were written by [Jakub Vrana](https://github.com/vrana), [Damien Engels](https://github.com/engelsdamien), [Emanuel Tesar](https://github.com/siegrift), [Bjarki](https://github.com/bjarkler), and [Sebastian Silbermann](https://github.com/eps1lon). diff --git a/node_modules/@types/trusted-types/index.d.ts b/node_modules/@types/trusted-types/index.d.ts deleted file mode 100644 index 18ab043..0000000 --- a/node_modules/@types/trusted-types/index.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import * as lib from "./lib"; - -// Re-export the type definitions globally. -declare global { - // eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation - interface TrustedHTML extends lib.TrustedHTML {} - // eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation - interface TrustedScript extends lib.TrustedScript {} - // eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation - interface TrustedScriptURL extends lib.TrustedScriptURL {} - - // eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation - interface TrustedTypePolicy extends lib.TrustedTypePolicy {} - - // eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation - interface TrustedTypePolicyFactory extends lib.TrustedTypePolicyFactory {} - - // eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation - interface TrustedTypePolicyOptions extends lib.TrustedTypePolicyOptions {} - - // Attach the relevant Trusted Types properties to the Window object. - // eslint-disable-next-line @typescript-eslint/no-empty-interface -- interface to allow module augmentation - interface Window extends lib.TrustedTypesWindow {} -} - -// These are the available exports when using the polyfill as npm package (e.g. in nodejs) -interface InternalTrustedTypePolicyFactory extends lib.TrustedTypePolicyFactory { - TrustedHTML: typeof lib.TrustedHTML; - TrustedScript: typeof lib.TrustedScript; - TrustedScriptURL: typeof lib.TrustedScriptURL; -} - -declare const trustedTypes: InternalTrustedTypePolicyFactory; - -declare class TrustedTypesEnforcer { - constructor(config: TrustedTypeConfig); - install: () => void; - uninstall: () => void; -} - -// tslint:disable-next-line no-unnecessary-class -declare class TrustedTypeConfig { - constructor( - isLoggingEnabled: boolean, - isEnforcementEnabled: boolean, - allowedPolicyNames: string[], - allowDuplicates: boolean, - cspString?: string | null, - windowObject?: Window, - ); -} - -export { TrustedTypeConfig, TrustedTypePolicy, TrustedTypePolicyFactory, trustedTypes, TrustedTypesEnforcer }; diff --git a/node_modules/@types/trusted-types/lib/index.d.ts b/node_modules/@types/trusted-types/lib/index.d.ts deleted file mode 100644 index 2c7ccd4..0000000 --- a/node_modules/@types/trusted-types/lib/index.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -// The main type definitions. Packages that do not want to pollute the global -// scope with Trusted Types (e.g. libraries whose users may not be using Trusted -// Types) can import the types directly from 'trusted-types/lib'. - -export type FnNames = keyof TrustedTypePolicyOptions; -export type Args = Parameters>; - -export class TrustedHTML { - private constructor(); // To prevent instantiting with 'new'. - private brand: true; // To prevent structural typing. -} - -export class TrustedScript { - private constructor(); // To prevent instantiting with 'new'. - private brand: true; // To prevent structural typing. -} - -export class TrustedScriptURL { - private constructor(); // To prevent instantiting with 'new'. - private brand: true; // To prevent structural typing. -} - -export abstract class TrustedTypePolicyFactory { - createPolicy( - policyName: string, - policyOptions?: Options, - ): Pick, "name" | Extract>; - isHTML(value: unknown): value is TrustedHTML; - isScript(value: unknown): value is TrustedScript; - isScriptURL(value: unknown): value is TrustedScriptURL; - readonly emptyHTML: TrustedHTML; - readonly emptyScript: TrustedScript; - getAttributeType(tagName: string, attribute: string, elementNs?: string, attrNs?: string): string | null; - getPropertyType(tagName: string, property: string, elementNs?: string): string | null; - readonly defaultPolicy: TrustedTypePolicy | null; -} - -export abstract class TrustedTypePolicy { - readonly name: string; - createHTML(...args: Args): TrustedHTML; - createScript(...args: Args): TrustedScript; - createScriptURL(...args: Args): TrustedScriptURL; -} - -export interface TrustedTypePolicyOptions { - createHTML?: ((input: string, ...arguments: any[]) => string) | undefined; - createScript?: ((input: string, ...arguments: any[]) => string) | undefined; - createScriptURL?: ((input: string, ...arguments: any[]) => string) | undefined; -} - -// The Window object is augmented with the following properties in browsers that -// support Trusted Types. Users of the 'trusted-types/lib' entrypoint can cast -// window as TrustedTypesWindow to access these properties. -export interface TrustedTypesWindow { - // `trustedTypes` is left intentionally optional to make sure that - // people handle the case when their code is running in a browser not - // supporting trustedTypes. - trustedTypes?: TrustedTypePolicyFactory | undefined; - TrustedHTML: typeof TrustedHTML; - TrustedScript: typeof TrustedScript; - TrustedScriptURL: typeof TrustedScriptURL; - TrustedTypePolicyFactory: typeof TrustedTypePolicyFactory; - TrustedTypePolicy: typeof TrustedTypePolicy; -} diff --git a/node_modules/@types/trusted-types/package.json b/node_modules/@types/trusted-types/package.json deleted file mode 100644 index eda8c73..0000000 --- a/node_modules/@types/trusted-types/package.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "name": "@types/trusted-types", - "version": "2.0.7", - "description": "TypeScript definitions for trusted-types", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/trusted-types", - "license": "MIT", - "contributors": [ - { - "name": "Jakub Vrana", - "githubUsername": "vrana", - "url": "https://github.com/vrana" - }, - { - "name": "Damien Engels", - "githubUsername": "engelsdamien", - "url": "https://github.com/engelsdamien" - }, - { - "name": "Emanuel Tesar", - "githubUsername": "siegrift", - "url": "https://github.com/siegrift" - }, - { - "name": "Bjarki", - "githubUsername": "bjarkler", - "url": "https://github.com/bjarkler" - }, - { - "name": "Sebastian Silbermann", - "githubUsername": "eps1lon", - "url": "https://github.com/eps1lon" - } - ], - "main": "", - "types": "index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/trusted-types" - }, - "scripts": {}, - "dependencies": {}, - "typesPublisherContentHash": "20982c5e0452e662515e29b41f7be5a3c69e5918a9228929a563d9f1dfdfbbc5", - "typeScriptVersion": "4.5" -} \ No newline at end of file diff --git a/node_modules/dompurify/LICENSE b/node_modules/dompurify/LICENSE deleted file mode 100644 index aed61cb..0000000 --- a/node_modules/dompurify/LICENSE +++ /dev/null @@ -1,568 +0,0 @@ -DOMPurify -Copyright 2024 Dr.-Ing. Mario Heiderich, Cure53 - -DOMPurify is free software; you can redistribute it and/or modify it under the -terms of either: - -a) the Apache License Version 2.0, or -b) the Mozilla Public License Version 2.0 - ------------------------------------------------------------------------------ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ------------------------------------------------------------------------------ -Mozilla Public License, version 2.0 - -1. Definitions - -1.1. “Contributor” - - means each individual or legal entity that creates, contributes to the - creation of, or owns Covered Software. - -1.2. “Contributor Version” - - means the combination of the Contributions of others (if any) used by a - Contributor and that particular Contributor’s Contribution. - -1.3. “Contribution” - - means Covered Software of a particular Contributor. - -1.4. “Covered Software” - - means Source Code Form to which the initial Contributor has attached the - notice in Exhibit A, the Executable Form of such Source Code Form, and - Modifications of such Source Code Form, in each case including portions - thereof. - -1.5. “Incompatible With Secondary Licenses” - means - - a. that the initial Contributor has attached the notice described in - Exhibit B to the Covered Software; or - - b. that the Covered Software was made available under the terms of version - 1.1 or earlier of the License, but not also under the terms of a - Secondary License. - -1.6. “Executable Form” - - means any form of the work other than Source Code Form. - -1.7. “Larger Work” - - means a work that combines Covered Software with other material, in a separate - file or files, that is not Covered Software. - -1.8. “License” - - means this document. - -1.9. “Licensable” - - means having the right to grant, to the maximum extent possible, whether at the - time of the initial grant or subsequently, any and all of the rights conveyed by - this License. - -1.10. “Modifications” - - means any of the following: - - a. any file in Source Code Form that results from an addition to, deletion - from, or modification of the contents of Covered Software; or - - b. any new file in Source Code Form that contains any Covered Software. - -1.11. “Patent Claims” of a Contributor - - means any patent claim(s), including without limitation, method, process, - and apparatus claims, in any patent Licensable by such Contributor that - would be infringed, but for the grant of the License, by the making, - using, selling, offering for sale, having made, import, or transfer of - either its Contributions or its Contributor Version. - -1.12. “Secondary License” - - means either the GNU General Public License, Version 2.0, the GNU Lesser - General Public License, Version 2.1, the GNU Affero General Public - License, Version 3.0, or any later versions of those licenses. - -1.13. “Source Code Form” - - means the form of the work preferred for making modifications. - -1.14. “You” (or “Your”) - - means an individual or a legal entity exercising rights under this - License. For legal entities, “You” includes any entity that controls, is - controlled by, or is under common control with You. For purposes of this - definition, “control” means (a) the power, direct or indirect, to cause - the direction or management of such entity, whether by contract or - otherwise, or (b) ownership of more than fifty percent (50%) of the - outstanding shares or beneficial ownership of such entity. - - -2. License Grants and Conditions - -2.1. Grants - - Each Contributor hereby grants You a world-wide, royalty-free, - non-exclusive license: - - a. under intellectual property rights (other than patent or trademark) - Licensable by such Contributor to use, reproduce, make available, - modify, display, perform, distribute, and otherwise exploit its - Contributions, either on an unmodified basis, with Modifications, or as - part of a Larger Work; and - - b. under Patent Claims of such Contributor to make, use, sell, offer for - sale, have made, import, and otherwise transfer either its Contributions - or its Contributor Version. - -2.2. Effective Date - - The licenses granted in Section 2.1 with respect to any Contribution become - effective for each Contribution on the date the Contributor first distributes - such Contribution. - -2.3. Limitations on Grant Scope - - The licenses granted in this Section 2 are the only rights granted under this - License. No additional rights or licenses will be implied from the distribution - or licensing of Covered Software under this License. Notwithstanding Section - 2.1(b) above, no patent license is granted by a Contributor: - - a. for any code that a Contributor has removed from Covered Software; or - - b. for infringements caused by: (i) Your and any other third party’s - modifications of Covered Software, or (ii) the combination of its - Contributions with other software (except as part of its Contributor - Version); or - - c. under Patent Claims infringed by Covered Software in the absence of its - Contributions. - - This License does not grant any rights in the trademarks, service marks, or - logos of any Contributor (except as may be necessary to comply with the - notice requirements in Section 3.4). - -2.4. Subsequent Licenses - - No Contributor makes additional grants as a result of Your choice to - distribute the Covered Software under a subsequent version of this License - (see Section 10.2) or under the terms of a Secondary License (if permitted - under the terms of Section 3.3). - -2.5. Representation - - Each Contributor represents that the Contributor believes its Contributions - are its original creation(s) or it has sufficient rights to grant the - rights to its Contributions conveyed by this License. - -2.6. Fair Use - - This License is not intended to limit any rights You have under applicable - copyright doctrines of fair use, fair dealing, or other equivalents. - -2.7. Conditions - - Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in - Section 2.1. - - -3. Responsibilities - -3.1. Distribution of Source Form - - All distribution of Covered Software in Source Code Form, including any - Modifications that You create or to which You contribute, must be under the - terms of this License. You must inform recipients that the Source Code Form - of the Covered Software is governed by the terms of this License, and how - they can obtain a copy of this License. You may not attempt to alter or - restrict the recipients’ rights in the Source Code Form. - -3.2. Distribution of Executable Form - - If You distribute Covered Software in Executable Form then: - - a. such Covered Software must also be made available in Source Code Form, - as described in Section 3.1, and You must inform recipients of the - Executable Form how they can obtain a copy of such Source Code Form by - reasonable means in a timely manner, at a charge no more than the cost - of distribution to the recipient; and - - b. You may distribute such Executable Form under the terms of this License, - or sublicense it under different terms, provided that the license for - the Executable Form does not attempt to limit or alter the recipients’ - rights in the Source Code Form under this License. - -3.3. Distribution of a Larger Work - - You may create and distribute a Larger Work under terms of Your choice, - provided that You also comply with the requirements of this License for the - Covered Software. If the Larger Work is a combination of Covered Software - with a work governed by one or more Secondary Licenses, and the Covered - Software is not Incompatible With Secondary Licenses, this License permits - You to additionally distribute such Covered Software under the terms of - such Secondary License(s), so that the recipient of the Larger Work may, at - their option, further distribute the Covered Software under the terms of - either this License or such Secondary License(s). - -3.4. Notices - - You may not remove or alter the substance of any license notices (including - copyright notices, patent notices, disclaimers of warranty, or limitations - of liability) contained within the Source Code Form of the Covered - Software, except that You may alter any license notices to the extent - required to remedy known factual inaccuracies. - -3.5. Application of Additional Terms - - You may choose to offer, and to charge a fee for, warranty, support, - indemnity or liability obligations to one or more recipients of Covered - Software. However, You may do so only on Your own behalf, and not on behalf - of any Contributor. You must make it absolutely clear that any such - warranty, support, indemnity, or liability obligation is offered by You - alone, and You hereby agree to indemnify every Contributor for any - liability incurred by such Contributor as a result of warranty, support, - indemnity or liability terms You offer. You may include additional - disclaimers of warranty and limitations of liability specific to any - jurisdiction. - -4. Inability to Comply Due to Statute or Regulation - - If it is impossible for You to comply with any of the terms of this License - with respect to some or all of the Covered Software due to statute, judicial - order, or regulation then You must: (a) comply with the terms of this License - to the maximum extent possible; and (b) describe the limitations and the code - they affect. Such description must be placed in a text file included with all - distributions of the Covered Software under this License. Except to the - extent prohibited by statute or regulation, such description must be - sufficiently detailed for a recipient of ordinary skill to be able to - understand it. - -5. Termination - -5.1. The rights granted under this License will terminate automatically if You - fail to comply with any of its terms. However, if You become compliant, - then the rights granted under this License from a particular Contributor - are reinstated (a) provisionally, unless and until such Contributor - explicitly and finally terminates Your grants, and (b) on an ongoing basis, - if such Contributor fails to notify You of the non-compliance by some - reasonable means prior to 60 days after You have come back into compliance. - Moreover, Your grants from a particular Contributor are reinstated on an - ongoing basis if such Contributor notifies You of the non-compliance by - some reasonable means, this is the first time You have received notice of - non-compliance with this License from such Contributor, and You become - compliant prior to 30 days after Your receipt of the notice. - -5.2. If You initiate litigation against any entity by asserting a patent - infringement claim (excluding declaratory judgment actions, counter-claims, - and cross-claims) alleging that a Contributor Version directly or - indirectly infringes any patent, then the rights granted to You by any and - all Contributors for the Covered Software under Section 2.1 of this License - shall terminate. - -5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user - license agreements (excluding distributors and resellers) which have been - validly granted by You or Your distributors under this License prior to - termination shall survive termination. - -6. Disclaimer of Warranty - - Covered Software is provided under this License on an “as is” basis, without - warranty of any kind, either expressed, implied, or statutory, including, - without limitation, warranties that the Covered Software is free of defects, - merchantable, fit for a particular purpose or non-infringing. The entire - risk as to the quality and performance of the Covered Software is with You. - Should any Covered Software prove defective in any respect, You (not any - Contributor) assume the cost of any necessary servicing, repair, or - correction. This disclaimer of warranty constitutes an essential part of this - License. No use of any Covered Software is authorized under this License - except under this disclaimer. - -7. Limitation of Liability - - Under no circumstances and under no legal theory, whether tort (including - negligence), contract, or otherwise, shall any Contributor, or anyone who - distributes Covered Software as permitted above, be liable to You for any - direct, indirect, special, incidental, or consequential damages of any - character including, without limitation, damages for lost profits, loss of - goodwill, work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses, even if such party shall have been - informed of the possibility of such damages. This limitation of liability - shall not apply to liability for death or personal injury resulting from such - party’s negligence to the extent applicable law prohibits such limitation. - Some jurisdictions do not allow the exclusion or limitation of incidental or - consequential damages, so this exclusion and limitation may not apply to You. - -8. Litigation - - Any litigation relating to this License may be brought only in the courts of - a jurisdiction where the defendant maintains its principal place of business - and such litigation shall be governed by laws of that jurisdiction, without - reference to its conflict-of-law provisions. Nothing in this Section shall - prevent a party’s ability to bring cross-claims or counter-claims. - -9. Miscellaneous - - This License represents the complete agreement concerning the subject matter - hereof. If any provision of this License is held to be unenforceable, such - provision shall be reformed only to the extent necessary to make it - enforceable. Any law or regulation which provides that the language of a - contract shall be construed against the drafter shall not be used to construe - this License against a Contributor. - - -10. Versions of the License - -10.1. New Versions - - Mozilla Foundation is the license steward. Except as provided in Section - 10.3, no one other than the license steward has the right to modify or - publish new versions of this License. Each version will be given a - distinguishing version number. - -10.2. Effect of New Versions - - You may distribute the Covered Software under the terms of the version of - the License under which You originally received the Covered Software, or - under the terms of any subsequent version published by the license - steward. - -10.3. Modified Versions - - If you create software not governed by this License, and you want to - create a new license for such software, you may create and use a modified - version of this License if you rename the license and remove any - references to the name of the license steward (except to note that such - modified license differs from this License). - -10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses - If You choose to distribute Source Code Form that is Incompatible With - Secondary Licenses under the terms of this version of the License, the - notice described in Exhibit B of this License must be attached. - -Exhibit A - Source Code Form License Notice - - This Source Code Form is subject to the - terms of the Mozilla Public License, v. - 2.0. If a copy of the MPL was not - distributed with this file, You can - obtain one at - http://mozilla.org/MPL/2.0/. - -If it is not possible or desirable to put the notice in a particular file, then -You may include the notice in a location (such as a LICENSE file in a relevant -directory) where a recipient would be likely to look for such a notice. - -You may add additional accurate notices of copyright ownership. - -Exhibit B - “Incompatible With Secondary Licenses” Notice - - This Source Code Form is “Incompatible - With Secondary Licenses”, as defined by - the Mozilla Public License, v. 2.0. - diff --git a/node_modules/dompurify/README.md b/node_modules/dompurify/README.md deleted file mode 100644 index 0b1f0c9..0000000 --- a/node_modules/dompurify/README.md +++ /dev/null @@ -1,442 +0,0 @@ -# DOMPurify - -[![npm version](https://badge.fury.io/js/dompurify.svg)](http://badge.fury.io/js/dompurify) ![Build and Test](https://github.com/cure53/DOMPurify/workflows/Build%20and%20Test/badge.svg?branch=main) [![Downloads](https://img.shields.io/npm/dm/dompurify.svg)](https://www.npmjs.com/package/dompurify) ![npm package minimized gzipped size (select exports)](https://img.shields.io/bundlejs/size/dompurify?color=%233C1&label=minified) ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/cure53/dompurify?color=%233C1) [![dependents](https://badgen.net/github/dependents-repo/cure53/dompurify?color=green&label=dependents)](https://github.com/cure53/DOMPurify/network/dependents) - -[![NPM](https://nodei.co/npm/dompurify.png)](https://nodei.co/npm/dompurify/) - -DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. - -It's also very simple to use and get started with. DOMPurify was [started in February 2014](https://github.com/cure53/DOMPurify/commit/a630922616927373485e0e787ab19e73e3691b2b) and, meanwhile, has reached version **v3.1.7**. - -DOMPurify is written in JavaScript and works in all modern browsers (Safari (10+), Opera (15+), Edge, Firefox and Chrome - as well as almost anything else using Blink, Gecko or WebKit). It doesn't break on MSIE or other legacy browsers. It simply does nothing. - -**Note that [DOMPurify v2.5.7](https://github.com/cure53/DOMPurify/releases/tag/2.5.7) is the latest version supporting MSIE. For important security updates compatible with MSIE, please use the [2.x branch](https://github.com/cure53/DOMPurify/tree/2.x).** - -Our automated tests cover [19 different browsers](https://github.com/cure53/DOMPurify/blob/main/test/karma.custom-launchers.config.js#L5) right now, more to come. We also cover Node.js v16.x, v17.x, v18.x and v19.x, running DOMPurify on [jsdom](https://github.com/jsdom/jsdom). Older Node versions are known to work as well, but hey... no guarantees. - -DOMPurify is written by security people who have vast background in web attacks and XSS. Fear not. For more details please also read about our [Security Goals & Threat Model](https://github.com/cure53/DOMPurify/wiki/Security-Goals-&-Threat-Model). Please, read it. Like, really. - -## What does it do? - -DOMPurify sanitizes HTML and prevents XSS attacks. You can feed DOMPurify with string full of dirty HTML and it will return a string (unless configured otherwise) with clean HTML. DOMPurify will strip out everything that contains dangerous HTML and thereby prevent XSS attacks and other nastiness. It's also damn bloody fast. We use the technologies the browser provides and turn them into an XSS filter. The faster your browser, the faster DOMPurify will be. - -## How do I use it? - -It's easy. Just include DOMPurify on your website. - -### Using the unminified development version - -```html - -``` - -### Using the minified and tested production version (source-map available) - -```html - -``` - -Afterwards you can sanitize strings by executing the following code: - -```js -const clean = DOMPurify.sanitize(dirty); -``` - -Or maybe this, if you love working with Angular or alike: - -```js -import DOMPurify from 'dompurify'; - -const clean = DOMPurify.sanitize('hello there'); -``` - -The resulting HTML can be written into a DOM element using `innerHTML` or the DOM using `document.write()`. That is fully up to you. -Note that by default, we permit HTML, SVG **and** MathML. If you only need HTML, which might be a very common use-case, you can easily set that up as well: - -```js -const clean = DOMPurify.sanitize(dirty, { USE_PROFILES: { html: true } }); -``` - -### Where are the TypeScript type definitions? - -They can be found here: [@types/dompurify](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/dompurify) - -### Is there any foot-gun potential? - -Well, please note, if you _first_ sanitize HTML and then modify it _afterwards_, you might easily **void the effects of sanitization**. If you feed the sanitized markup to another library _after_ sanitization, please be certain that the library doesn't mess around with the HTML on its own. - -### Okay, makes sense, let's move on - -After sanitizing your markup, you can also have a look at the property `DOMPurify.removed` and find out, what elements and attributes were thrown out. Please **do not use** this property for making any security critical decisions. This is just a little helper for curious minds. - -### Running DOMPurify on the server - -DOMPurify technically also works server-side with Node.js. Our support strives to follow the [Node.js release cycle](https://nodejs.org/en/about/releases/). - -Running DOMPurify on the server requires a DOM to be present, which is probably no surprise. Usually, [jsdom](https://github.com/jsdom/jsdom) is the tool of choice and we **strongly recommend** to use the latest version of _jsdom_. - -Why? Because older versions of _jsdom_ are known to be buggy in ways that result in XSS _even if_ DOMPurify does everything 100% correctly. There are **known attack vectors** in, e.g. _jsdom v19.0.0_ that are fixed in _jsdom v20.0.0_ - and we really recommend to keep _jsdom_ up to date because of that. - -Please also be aware that tools like [happy-dom](https://github.com/capricorn86/happy-dom) exist but **are not considered safe** at this point. Combining DOMPurify with _happy-dom_ is currently not recommended and will likely lead to XSS. - -Other than that, you are fine to use DOMPurify on the server. Probably. This really depends on _jsdom_ or whatever DOM you utilize server-side. If you can live with that, this is how you get it to work: - -```bash -npm install dompurify -npm install jsdom -``` - -For _jsdom_ (please use an up-to-date version), this should do the trick: - -```js -const createDOMPurify = require('dompurify'); -const { JSDOM } = require('jsdom'); - -const window = new JSDOM('').window; -const DOMPurify = createDOMPurify(window); -const clean = DOMPurify.sanitize('hello there'); -``` - -Or even this, if you prefer working with imports: - -```js -import { JSDOM } from 'jsdom'; -import DOMPurify from 'dompurify'; - -const window = new JSDOM('').window; -const purify = DOMPurify(window); -const clean = purify.sanitize('hello there'); -``` - -If you have problems making it work in your specific setup, consider looking at the amazing [isomorphic-dompurify](https://github.com/kkomelin/isomorphic-dompurify) project which solves lots of problems people might run into. - -```bash -npm install isomorphic-dompurify -``` - -```js -import DOMPurify from 'isomorphic-dompurify'; - -const clean = DOMPurify.sanitize('hello'); -``` - -## Is there a demo? - -Of course there is a demo! [Play with DOMPurify](https://cure53.de/purify) - -## What if I find a _security_ bug? - -First of all, please immediately contact us via [email](mailto:mario@cure53.de) so we can work on a fix. [PGP key](https://keyserver.ubuntu.com/pks/lookup?op=vindex&search=0xC26C858090F70ADA) - -Also, you probably qualify for a bug bounty! The fine folks over at [Fastmail](https://www.fastmail.com/) use DOMPurify for their services and added our library to their bug bounty scope. So, if you find a way to bypass or weaken DOMPurify, please also have a look at their website and the [bug bounty info](https://www.fastmail.com/about/bugbounty/). - -## Some purification samples please? - -How does purified markup look like? Well, [the demo](https://cure53.de/purify) shows it for a big bunch of nasty elements. But let's also show some smaller examples! - -```js -DOMPurify.sanitize(''); // becomes -DOMPurify.sanitize(''); // becomes -DOMPurify.sanitize('

abc`};{let block=anchor;return{type:"html",data:{hProperties:{transclude:!0}},value:`

Transclude of ${url2}${block}
`}}}}return{type:"link",url:fp+anchor,children:[{type:"text",value:alias??fp}]}}]),opts.highlight&&replacements.push([highlightRegex,(_value,...capture)=>{let[inner]=capture;return{type:"html",value:`${inner}`}}]),opts.parseArrows&&replacements.push([arrowRegex,(value,..._capture)=>{let maybeArrow=arrowMapping[value];return maybeArrow===void 0?SKIP:{type:"html",value:`${maybeArrow}`}}]),opts.parseTags&&replacements.push([tagRegex,(_value,tag)=>{if(/^\d+$/.test(tag))return!1;if(tag=slugTag(tag),file.data.frontmatter){let noteTags=file.data.frontmatter.tags??[];file.data.frontmatter.tags=[...new Set([...noteTags,tag])]}return{type:"link",url:base+`/tags/${tag}`,data:{hProperties:{className:["tag-link"]}},children:[{type:"text",value:tag}]}}]),opts.enableInHtmlEmbed&&visit3(tree,"html",node=>{for(let[regex,replace]of replacements)typeof replace=="string"?node.value=node.value.replace(regex,replace):node.value=node.value.replace(regex,(substring,...args)=>{let replaceValue=replace(substring,...args);return typeof replaceValue=="string"?replaceValue:Array.isArray(replaceValue)?replaceValue.map(mdastToHtml).join(""):typeof replaceValue=="object"&&replaceValue!==null?mdastToHtml(replaceValue):substring})}),mdastFindReplace(tree,replacements)}),opts.enableVideoEmbed&&plugins.push(()=>(tree,_file)=>{visit3(tree,"image",(node,index,parent)=>{if(parent&&index!=null&&videoExtensionRegex.test(node.url)){let newNode={type:"html",value:``};return parent.children.splice(index,1,newNode),SKIP}})}),opts.callouts&&plugins.push(()=>(tree,_file)=>{visit3(tree,"blockquote",node=>{if(node.children.length===0)return;let firstChild=node.children[0];if(firstChild.type!=="paragraph"||firstChild.children[0]?.type!=="text")return;let text=firstChild.children[0].value,restOfTitle=firstChild.children.slice(1),[firstLine,...remainingLines]=text.split(` -`),remainingText=remainingLines.join(` -`),match=firstLine.match(calloutRegex);if(match&&match.input){let[calloutDirective,typeString,collapseChar]=match,calloutType=canonicalizeCallout(typeString.toLowerCase()),collapse=collapseChar==="+"||collapseChar==="-",defaultState=collapseChar==="-"?"collapsed":"expanded",titleContent=match.input.slice(calloutDirective.length).trim(),titleNode={type:"paragraph",children:[{type:"text",value:titleContent===""&&restOfTitle.length===0?capitalize(typeString):titleContent+" "},...restOfTitle]},blockquoteContent=[{type:"html",value:`
-
-
${mdastToHtml(titleNode)}
- ${collapse?'
':""} -
`}];remainingText.length>0&&blockquoteContent.push({type:"paragraph",children:[{type:"text",value:remainingText}]}),node.children.splice(0,1,...blockquoteContent);let classNames2=["callout",calloutType];collapse&&classNames2.push("is-collapsible"),defaultState==="collapsed"&&classNames2.push("is-collapsed"),node.data={hProperties:{...node.data?.hProperties??{},className:classNames2.join(" "),"data-callout":calloutType,"data-callout-fold":collapse}}}})}),opts.mermaid&&plugins.push(()=>(tree,_file)=>{visit3(tree,"code",node=>{node.lang==="mermaid"&&(node.data={hProperties:{className:["mermaid"]}})})}),plugins},htmlPlugins(){let plugins=[rehypeRaw];return opts.parseBlockReferences&&plugins.push(()=>{let inlineTagTypes=new Set(["p","li"]),blockTagTypes=new Set(["blockquote"]);return(tree,file)=>{file.data.blocks={},visit3(tree,"element",(node,index,parent)=>{if(blockTagTypes.has(node.tagName)){let nextChild=parent?.children.at(index+2);if(nextChild&&nextChild.tagName==="p"){let text=nextChild.children.at(0);if(text&&text.value&&text.type==="text"){let matches=text.value.match(blockReferenceRegex);if(matches&&matches.length>=1){parent.children.splice(index+2,1);let block=matches[0].slice(1);Object.keys(file.data.blocks).includes(block)||(node.properties={...node.properties,id:block},file.data.blocks[block]=node)}}}}else if(inlineTagTypes.has(node.tagName)){let last=node.children.at(-1);if(last&&last.value&&typeof last.value=="string"){let matches=last.value.match(blockReferenceRegex);if(matches&&matches.length>=1){last.value=last.value.slice(0,-matches[0].length);let block=matches[0].slice(1);if(last.value===""){let idx=(index??1)-1;for(;idx>=0;){let element=parent?.children.at(idx);if(!element)break;if(element.type!=="element")idx-=1;else{Object.keys(file.data.blocks).includes(block)||(element.properties={...element.properties,id:block},file.data.blocks[block]=element);return}}}else Object.keys(file.data.blocks).includes(block)||(node.properties={...node.properties,id:block},file.data.blocks[block]=node)}}}}),file.data.htmlAst=tree}}),opts.enableYouTubeEmbed&&plugins.push(()=>tree=>{visit3(tree,"element",node=>{if(node.tagName==="img"&&typeof node.properties.src=="string"){let match=node.properties.src.match(ytLinkRegex),videoId=match&&match[2].length==11?match[2]:null,playlistId=node.properties.src.match(ytPlaylistLinkRegex)?.[1];videoId?(node.tagName="iframe",node.properties={class:"external-embed",allow:"fullscreen",frameborder:0,width:"600px",height:"350px",src:playlistId?`https://www.youtube.com/embed/${videoId}?list=${playlistId}`:`https://www.youtube.com/embed/${videoId}`}):playlistId&&(node.tagName="iframe",node.properties={class:"external-embed",allow:"fullscreen",frameborder:0,width:"600px",height:"350px",src:`https://www.youtube.com/embed/videoseries?list=${playlistId}`})}})}),opts.enableCheckbox&&plugins.push(()=>(tree,_file)=>{visit3(tree,"element",node=>{if(node.tagName==="input"&&node.properties.type==="checkbox"){let isChecked=node.properties?.checked??!1;node.properties={type:"checkbox",disabled:!1,checked:isChecked,class:"checkbox-toggle"}}})}),plugins},externalResources(){let js=[];return opts.enableCheckbox&&js.push({script:checkbox_inline_default,loadTime:"afterDOMReady",contentType:"inline"}),opts.callouts&&js.push({script:callout_inline_default,loadTime:"afterDOMReady",contentType:"inline"}),opts.mermaid&&js.push({script:` - let mermaidImport = undefined - document.addEventListener('nav', async () => { - if (document.querySelector("code.mermaid")) { - mermaidImport ||= await import('https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.7.0/mermaid.esm.min.mjs') - const mermaid = mermaidImport.default - const darkMode = document.documentElement.getAttribute('saved-theme') === 'dark' - mermaid.initialize({ - startOnLoad: false, - securityLevel: 'loose', - theme: darkMode ? 'dark' : 'default' - }) - - await mermaid.run({ - querySelector: '.mermaid' - }) - } - }); - `,loadTime:"afterDOMReady",moduleType:"module",contentType:"inline"}),{js}}}},"ObsidianFlavoredMarkdown");var relrefRegex=new RegExp(/\[([^\]]+)\]\(\{\{< relref "([^"]+)" >\}\}\)/,"g"),predefinedHeadingIdRegex=new RegExp(/(.*) {#(?:.*)}/,"g"),hugoShortcodeRegex=new RegExp(/{{(.*)}}/,"g"),figureTagRegex=new RegExp(/< ?figure src="(.*)" ?>/,"g"),inlineLatexRegex=new RegExp(/\\\\\((.+?)\\\\\)/,"g"),blockLatexRegex=new RegExp(/(?:\\begin{equation}|\\\\\(|\\\\\[)([\s\S]*?)(?:\\\\\]|\\\\\)|\\end{equation})/,"g"),quartzLatexRegex=new RegExp(/\$\$[\s\S]*?\$\$|\$.*?\$/,"g");import rehypePrettyCode from"rehype-pretty-code";var defaultOptions7={theme:{light:"github-light",dark:"github-dark"},keepBackground:!1},SyntaxHighlighting=__name(userOpts=>{let opts={...defaultOptions7,...userOpts};return{name:"SyntaxHighlighting",htmlPlugins(){return[[rehypePrettyCode,opts]]}}},"SyntaxHighlighting");import{visit as visit4}from"unist-util-visit";import{toString as toString2}from"mdast-util-to-string";import Slugger from"github-slugger";var defaultOptions8={maxDepth:3,minEntries:1,showByDefault:!0,collapseByDefault:!1},slugAnchor3=new Slugger,TableOfContents=__name(userOpts=>{let opts={...defaultOptions8,...userOpts};return{name:"TableOfContents",markdownPlugins(){return[()=>async(tree,file)=>{if(file.data.frontmatter?.enableToc??opts.showByDefault){slugAnchor3.reset();let toc=[],highestDepth=opts.maxDepth;visit4(tree,"heading",node=>{if(node.depth<=opts.maxDepth){let text=toString2(node);highestDepth=Math.min(highestDepth,node.depth),toc.push({depth:node.depth,text,slug:slugAnchor3.slug(text)})}}),toc.length>0&&toc.length>opts.minEntries&&(file.data.toc=toc.map(entry=>({...entry,depth:entry.depth-highestDepth})),file.data.collapseToc=opts.collapseByDefault)}}]}}},"TableOfContents");import remarkBreaks from"remark-breaks";var RemoveDrafts=__name(()=>({name:"RemoveDrafts",shouldPublish(_ctx,[_tree,vfile]){return!(vfile.data?.frontmatter?.draft??!1)}}),"RemoveDrafts");import path7 from"path";import{visit as visit6}from"unist-util-visit";import{jsx}from"preact/jsx-runtime";var Header=__name(({children})=>children.length>0?jsx("header",{children}):null,"Header");Header.css=` -header { - display: flex; - flex-direction: row; - flex-wrap: wrap; - align-items: center; - margin: 2rem 0; - gap: 1.5rem; -} - -header h1 { - margin: 0; - flex: auto; -} -`;var Header_default=__name(()=>Header,"default");var clipboard_inline_default=`var r='',l='';document.addEventListener("nav",()=>{let n=document.getElementsByTagName("pre");for(let t=0;t{e.blur(),e.innerHTML=l,setTimeout(()=>{e.innerHTML=r,e.style.borderColor=""},2e3)},d=>console.error(d))};var c=a;let i=o.innerText.replace(/\\n\\n/g,\` -\`),e=document.createElement("button");e.className="clipboard-button",e.type="button",e.innerHTML=r,e.ariaLabel="Copy source",e.addEventListener("click",a),window.addCleanup(()=>e.removeEventListener("click",a)),n[t].prepend(e)}}}); -`;var clipboard_default=`.clipboard-button { - position: absolute; - display: flex; - float: right; - right: 0; - padding: 0.4rem; - margin: 0.3rem; - color: var(--gray); - border-color: var(--dark); - background-color: var(--light); - border: 1px solid; - border-radius: 5px; - opacity: 0; - transition: 0.2s; -} -.clipboard-button > svg { - fill: var(--light); - filter: contrast(0.3); -} -.clipboard-button:hover { - cursor: pointer; - border-color: var(--secondary); -} -.clipboard-button:focus { - outline: 0; -} - -pre:hover > .clipboard-button { - opacity: 1; - transition: 0.2s; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJjbGlwYm9hcmQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBOztBQUVBO0VBQ0U7RUFDQTs7QUFHRjtFQUNFO0VBQ0E7O0FBR0Y7RUFDRTs7O0FBS0Y7RUFDRTtFQUNBIiwic291cmNlc0NvbnRlbnQiOlsiLmNsaXBib2FyZC1idXR0b24ge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsb2F0OiByaWdodDtcbiAgcmlnaHQ6IDA7XG4gIHBhZGRpbmc6IDAuNHJlbTtcbiAgbWFyZ2luOiAwLjNyZW07XG4gIGNvbG9yOiB2YXIoLS1ncmF5KTtcbiAgYm9yZGVyLWNvbG9yOiB2YXIoLS1kYXJrKTtcbiAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tbGlnaHQpO1xuICBib3JkZXI6IDFweCBzb2xpZDtcbiAgYm9yZGVyLXJhZGl1czogNXB4O1xuICBvcGFjaXR5OiAwO1xuICB0cmFuc2l0aW9uOiAwLjJzO1xuXG4gICYgPiBzdmcge1xuICAgIGZpbGw6IHZhcigtLWxpZ2h0KTtcbiAgICBmaWx0ZXI6IGNvbnRyYXN0KDAuMyk7XG4gIH1cblxuICAmOmhvdmVyIHtcbiAgICBjdXJzb3I6IHBvaW50ZXI7XG4gICAgYm9yZGVyLWNvbG9yOiB2YXIoLS1zZWNvbmRhcnkpO1xuICB9XG5cbiAgJjpmb2N1cyB7XG4gICAgb3V0bGluZTogMDtcbiAgfVxufVxuXG5wcmUge1xuICAmOmhvdmVyID4gLmNsaXBib2FyZC1idXR0b24ge1xuICAgIG9wYWNpdHk6IDE7XG4gICAgdHJhbnNpdGlvbjogMC4ycztcbiAgfVxufVxuIl19 */`;import{jsx as jsx2}from"preact/jsx-runtime";var Body=__name(({children})=>jsx2("div",{id:"quartz-body",children}),"Body");Body.afterDOMLoaded=clipboard_inline_default;Body.css=clipboard_default;var Body_default=__name(()=>Body,"default");import{render}from"preact-render-to-string";import{randomUUID}from"crypto";import{jsx as jsx3}from"preact/jsx-runtime";function JSResourceToScriptElement(resource,preserve){let scriptType=resource.moduleType??"application/javascript",spaPreserve=preserve??resource.spaPreserve;if(resource.contentType==="external")return jsx3("script",{src:resource.src,type:scriptType,"spa-preserve":spaPreserve},resource.src);{let content=resource.script;return jsx3("script",{type:scriptType,"spa-preserve":spaPreserve,dangerouslySetInnerHTML:{__html:content}},randomUUID())}}__name(JSResourceToScriptElement,"JSResourceToScriptElement");import{visit as visit5}from"unist-util-visit";import{jsx as jsx4,jsxs}from"preact/jsx-runtime";var headerRegex=new RegExp(/h[1-6]/);function pageResources(baseDir,staticResources){let contentIndexScript=`const fetchData = fetch("${joinSegments(baseDir,"static/contentIndex.json")}").then(data => data.json())`;return{css:[joinSegments(baseDir,"index.css"),...staticResources.css],js:[{src:joinSegments(baseDir,"prescript.js"),loadTime:"beforeDOMReady",contentType:"external"},{loadTime:"beforeDOMReady",contentType:"inline",spaPreserve:!0,script:contentIndexScript},...staticResources.js,{src:joinSegments(baseDir,"postscript.js"),loadTime:"afterDOMReady",moduleType:"module",contentType:"external"}]}}__name(pageResources,"pageResources");function renderPage(cfg,slug,componentData,components,pageResources2){let root=clone(componentData.tree);visit5(root,"element",(node,_index,_parent)=>{if(node.tagName==="blockquote"&&(node.properties?.className??[]).includes("transclude")){let inner=node.children[0],transcludeTarget=inner.properties["data-slug"],page=componentData.allFiles.find(f=>f.slug===transcludeTarget);if(!page)return;let blockRef=node.properties.dataBlock;if(blockRef?.startsWith("#^")){blockRef=blockRef.slice(2);let blockNode=page.blocks?.[blockRef];blockNode&&(blockNode.tagName==="li"&&(blockNode={type:"element",tagName:"ul",properties:{},children:[blockNode]}),node.children=[normalizeHastElement(blockNode,slug,transcludeTarget),{type:"element",tagName:"a",properties:{href:inner.properties?.href,class:["internal","transclude-src"]},children:[{type:"text",value:i18n(cfg.locale).components.transcludes.linkToOriginal}]}])}else if(blockRef?.startsWith("#")&&page.htmlAst){blockRef=blockRef.slice(1);let startIdx,startDepth,endIdx;for(let[i,el]of page.htmlAst.children.entries()){if(!(el.type==="element"&&el.tagName.match(headerRegex)))continue;let depth=Number(el.tagName.substring(1));if(startIdx===void 0||startDepth===void 0)el.properties?.id===blockRef&&(startIdx=i,startDepth=depth);else if(depth<=startDepth){endIdx=i;break}}if(startIdx===void 0)return;node.children=[...page.htmlAst.children.slice(startIdx,endIdx).map(child=>normalizeHastElement(child,slug,transcludeTarget)),{type:"element",tagName:"a",properties:{href:inner.properties?.href,class:["internal","transclude-src"]},children:[{type:"text",value:i18n(cfg.locale).components.transcludes.linkToOriginal}]}]}else page.htmlAst&&(node.children=[{type:"element",tagName:"h1",properties:{},children:[{type:"text",value:page.frontmatter?.title??i18n(cfg.locale).components.transcludes.transcludeOf({targetSlug:page.slug})}]},...page.htmlAst.children.map(child=>normalizeHastElement(child,slug,transcludeTarget)),{type:"element",tagName:"a",properties:{href:inner.properties?.href,class:["internal","transclude-src"]},children:[{type:"text",value:i18n(cfg.locale).components.transcludes.linkToOriginal}]}])}}),componentData.tree=root;let{head:Head,header,beforeBody,pageBody:Content2,left,right,footer:Footer}=components,Header2=Header_default(),Body2=Body_default(),LeftComponent=jsx4("div",{class:"left sidebar",children:left.map(BodyComponent=>jsx4(BodyComponent,{...componentData}))}),RightComponent=jsx4("div",{class:"right sidebar",children:right.map(BodyComponent=>jsx4(BodyComponent,{...componentData}))}),lang=componentData.fileData.frontmatter?.lang??cfg.locale?.split("-")[0]??"en",doc=jsxs("html",{lang,children:[jsx4(Head,{...componentData}),jsx4("body",{"data-slug":slug,children:jsxs("div",{id:"quartz-root",class:"page",children:[jsxs(Body2,{...componentData,children:[LeftComponent,jsxs("div",{class:"center",children:[jsxs("div",{class:"page-header",children:[jsx4(Header2,{...componentData,children:header.map(HeaderComponent=>jsx4(HeaderComponent,{...componentData}))}),jsx4("div",{class:"popover-hint",children:beforeBody.map(BodyComponent=>jsx4(BodyComponent,{...componentData}))})]}),jsx4(Content2,{...componentData})]}),RightComponent]}),jsx4(Footer,{...componentData})]})}),pageResources2.js.filter(resource=>resource.loadTime==="afterDOMReady").map(res=>JSResourceToScriptElement(res))]});return` -`+render(doc)}__name(renderPage,"renderPage");import{toJsxRuntime}from"hast-util-to-jsx-runtime";import{Fragment,jsx as jsx5,jsxs as jsxs2}from"preact/jsx-runtime";import{jsx as jsx6}from"preact/jsx-runtime";var customComponents={table:props=>jsx6("div",{class:"table-container",children:jsx6("table",{...props})})};function htmlToJsx(fp,tree){try{return toJsxRuntime(tree,{Fragment,jsx:jsx5,jsxs:jsxs2,elementAttributeNameCase:"html",components:customComponents})}catch(e){trace(`Failed to parse Markdown in \`${fp}\` into JSX`,e)}}__name(htmlToJsx,"htmlToJsx");import{jsx as jsx7}from"preact/jsx-runtime";var Content=__name(({fileData,tree})=>{let content=htmlToJsx(fileData.filePath,tree),classString=["popover-hint",...fileData.frontmatter?.cssclasses??[]].join(" ");return jsx7("article",{class:classString,children:content})},"Content"),Content_default=__name(()=>Content,"default");var listPage_default=`ul.section-ul { - list-style: none; - margin-top: 2em; - padding-left: 0; -} - -li.section-li { - margin-bottom: 1em; -} -li.section-li > .section { - display: grid; - grid-template-columns: 6em 3fr 1fr; -} -@media all and (max-width: 600px) { - li.section-li > .section > .tags { - display: none; - } -} -li.section-li > .section > .desc > h3 > a { - background-color: transparent; -} -li.section-li > .section > .meta { - margin: 0; - flex-basis: 6em; - opacity: 0.6; -} - -.popover .section { - grid-template-columns: 6em 1fr !important; -} -.popover .section > .tags { - display: none; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJsaXN0UGFnZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VBQ0U7RUFDQTtFQUNBOzs7QUFHRjtFQUNFOztBQUVBO0VBQ0U7RUFDQTs7QUFFQTtFQUNFO0lBQ0U7OztBQUlKO0VBQ0U7O0FBR0Y7RUFDRTtFQUNBO0VBQ0E7OztBQU1OO0VBQ0U7O0FBQ0E7RUFDRSIsInNvdXJjZXNDb250ZW50IjpbIkB1c2UgXCIuLi8uLi9zdHlsZXMvdmFyaWFibGVzLnNjc3NcIiBhcyAqO1xuXG51bC5zZWN0aW9uLXVsIHtcbiAgbGlzdC1zdHlsZTogbm9uZTtcbiAgbWFyZ2luLXRvcDogMmVtO1xuICBwYWRkaW5nLWxlZnQ6IDA7XG59XG5cbmxpLnNlY3Rpb24tbGkge1xuICBtYXJnaW4tYm90dG9tOiAxZW07XG5cbiAgJiA+IC5zZWN0aW9uIHtcbiAgICBkaXNwbGF5OiBncmlkO1xuICAgIGdyaWQtdGVtcGxhdGUtY29sdW1uczogNmVtIDNmciAxZnI7XG5cbiAgICBAbWVkaWEgYWxsIGFuZCAobWF4LXdpZHRoOiAkbW9iaWxlQnJlYWtwb2ludCkge1xuICAgICAgJiA+IC50YWdzIHtcbiAgICAgICAgZGlzcGxheTogbm9uZTtcbiAgICAgIH1cbiAgICB9XG5cbiAgICAmID4gLmRlc2MgPiBoMyA+IGEge1xuICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgfVxuXG4gICAgJiA+IC5tZXRhIHtcbiAgICAgIG1hcmdpbjogMDtcbiAgICAgIGZsZXgtYmFzaXM6IDZlbTtcbiAgICAgIG9wYWNpdHk6IDAuNjtcbiAgICB9XG4gIH1cbn1cblxuLy8gbW9kaWZpY2F0aW9ucyBpbiBwb3BvdmVyIGNvbnRleHRcbi5wb3BvdmVyIC5zZWN0aW9uIHtcbiAgZ3JpZC10ZW1wbGF0ZS1jb2x1bW5zOiA2ZW0gMWZyICFpbXBvcnRhbnQ7XG4gICYgPiAudGFncyB7XG4gICAgZGlzcGxheTogbm9uZTtcbiAgfVxufVxuIl19 */`;import{Fragment as Fragment2,jsx as jsx8}from"preact/jsx-runtime";function getDate(cfg,data){if(!cfg.defaultDateType)throw new Error("Field 'defaultDateType' was not set in the configuration object of quartz.config.ts. See https://quartz.jzhao.xyz/configuration#general-configuration for more details.");return data.dates?.[cfg.defaultDateType]}__name(getDate,"getDate");function formatDate(d,locale="en-US"){return d.toLocaleDateString(locale,{year:"numeric",month:"short",day:"2-digit"})}__name(formatDate,"formatDate");function Date2({date,locale}){return jsx8(Fragment2,{children:formatDate(date,locale)})}__name(Date2,"Date");import{jsx as jsx9,jsxs as jsxs3}from"preact/jsx-runtime";function byDateAndAlphabetical(cfg){return(f1,f2)=>{if(f1.dates&&f2.dates)return getDate(cfg,f2).getTime()-getDate(cfg,f1).getTime();if(f1.dates&&!f2.dates)return-1;if(!f1.dates&&f2.dates)return 1;let f1Title=f1.frontmatter?.title.toLowerCase()??"",f2Title=f2.frontmatter?.title.toLowerCase()??"";return f1Title.localeCompare(f2Title)}}__name(byDateAndAlphabetical,"byDateAndAlphabetical");var PageList=__name(({cfg,fileData,allFiles,limit})=>{let list=allFiles.sort(byDateAndAlphabetical(cfg));return limit&&(list=list.slice(0,limit)),jsx9("ul",{class:"section-ul",children:list.map(page=>{let title=page.frontmatter?.title,tags=page.frontmatter?.tags??[];return jsx9("li",{class:"section-li",children:jsxs3("div",{class:"section",children:[page.dates&&jsx9("p",{class:"meta",children:jsx9(Date2,{date:getDate(cfg,page),locale:cfg.locale})}),jsx9("div",{class:"desc",children:jsx9("h3",{children:jsx9("a",{href:resolveRelative(fileData.slug,page.slug),class:"internal",children:title})})}),jsx9("ul",{class:"tags",children:tags.map(tag=>jsx9("li",{children:jsx9("a",{class:"internal tag-link",href:resolveRelative(fileData.slug,`tags/${tag}`),children:tag})}))})]})})})})},"PageList");PageList.css=` -.section h3 { - margin: 0; -} - -.section > .tags { - margin: 0; -} -`;import{Fragment as Fragment3,jsx as jsx10,jsxs as jsxs4}from"preact/jsx-runtime";var numPages=10,TagContent=__name(props=>{let{tree,fileData,allFiles,cfg}=props,slug=fileData.slug;if(!(slug?.startsWith("tags/")||slug==="tags"))throw new Error(`Component "TagContent" tried to render a non-tag page: ${slug}`);let tag=simplifySlug(slug.slice(5)),allPagesWithTag=__name(tag2=>allFiles.filter(file=>(file.frontmatter?.tags??[]).flatMap(getAllSegmentPrefixes).includes(tag2)),"allPagesWithTag"),content=tree.children.length===0?fileData.description:htmlToJsx(fileData.filePath,tree),classes=["popover-hint",...fileData.frontmatter?.cssclasses??[]].join(" ");if(tag==="/"){let tags=[...new Set(allFiles.flatMap(data=>data.frontmatter?.tags??[]).flatMap(getAllSegmentPrefixes))].sort((a,b)=>a.localeCompare(b)),tagItemMap=new Map;for(let tag2 of tags)tagItemMap.set(tag2,allPagesWithTag(tag2));return jsxs4("div",{class:classes,children:[jsx10("article",{children:jsx10("p",{children:content})}),jsx10("p",{children:i18n(cfg.locale).pages.tagContent.totalTags({count:tags.length})}),jsx10("div",{children:tags.map(tag2=>{let pages=tagItemMap.get(tag2),listProps={...props,allFiles:pages},contentPage=allFiles.filter(file=>file.slug===`tags/${tag2}`).at(0),root=contentPage?.htmlAst,content2=!root||root?.children.length===0?contentPage?.description:htmlToJsx(contentPage.filePath,root);return jsxs4("div",{children:[jsx10("h2",{children:jsx10("a",{class:"internal tag-link",href:`../tags/${tag2}`,children:tag2})}),content2&&jsx10("p",{children:content2}),jsxs4("div",{class:"page-listing",children:[jsxs4("p",{children:[i18n(cfg.locale).pages.tagContent.itemsUnderTag({count:pages.length}),pages.length>numPages&&jsxs4(Fragment3,{children:[" ",jsx10("span",{children:i18n(cfg.locale).pages.tagContent.showingFirst({count:numPages})})]})]}),jsx10(PageList,{limit:numPages,...listProps})]})]})})})]})}else{let pages=allPagesWithTag(tag),listProps={...props,allFiles:pages};return jsxs4("div",{class:classes,children:[jsx10("article",{children:content}),jsxs4("div",{class:"page-listing",children:[jsx10("p",{children:i18n(cfg.locale).pages.tagContent.itemsUnderTag({count:pages.length})}),jsx10("div",{children:jsx10(PageList,{...listProps})})]})]})}},"TagContent");TagContent.css=listPage_default+PageList.css;var TagContent_default=__name(()=>TagContent,"default");import path5 from"path";import{jsx as jsx11,jsxs as jsxs5}from"preact/jsx-runtime";var defaultOptions9={showFolderCount:!0},FolderContent_default=__name(opts=>{let options2={...defaultOptions9,...opts},FolderContent=__name(props=>{let{tree,fileData,allFiles,cfg}=props,folderSlug=stripSlashes(simplifySlug(fileData.slug)),allPagesInFolder=allFiles.filter(file=>{let fileSlug=stripSlashes(simplifySlug(file.slug)),prefixed=fileSlug.startsWith(folderSlug)&&fileSlug!==folderSlug,folderParts=folderSlug.split(path5.posix.sep),isDirectChild=fileSlug.split(path5.posix.sep).length===folderParts.length+1;return prefixed&&isDirectChild}),classes=["popover-hint",...fileData.frontmatter?.cssclasses??[]].join(" "),listProps={...props,allFiles:allPagesInFolder},content=tree.children.length===0?fileData.description:htmlToJsx(fileData.filePath,tree);return jsxs5("div",{class:classes,children:[jsx11("article",{children:content}),jsxs5("div",{class:"page-listing",children:[options2.showFolderCount&&jsx11("p",{children:i18n(cfg.locale).pages.folderContent.itemsUnderFolder({count:allPagesInFolder.length})}),jsx11("div",{children:jsx11(PageList,{...listProps})})]})]})},"FolderContent");return FolderContent.css=listPage_default+PageList.css,FolderContent},"default");import{jsx as jsx12,jsxs as jsxs6}from"preact/jsx-runtime";var NotFound=__name(({cfg})=>jsxs6("article",{class:"popover-hint",children:[jsx12("h1",{children:"404"}),jsx12("p",{children:i18n(cfg.locale).pages.error.notFound})]}),"NotFound"),__default=__name(()=>NotFound,"default");import{jsx as jsx13}from"preact/jsx-runtime";var ArticleTitle=__name(({fileData,displayClass})=>{let title=fileData.frontmatter?.title;return title?jsx13("h1",{class:classNames(displayClass,"article-title"),children:title}):null},"ArticleTitle");ArticleTitle.css=` -.article-title { - margin: 2rem 0 0 0; -} -`;var ArticleTitle_default=__name(()=>ArticleTitle,"default");var darkmode_inline_default=`var h=window.matchMedia("(prefers-color-scheme: light)").matches?"light":"dark",o=localStorage.getItem("theme")??h;document.documentElement.setAttribute("saved-theme",o);var d=t=>{let n=new CustomEvent("themechange",{detail:{theme:t}});document.dispatchEvent(n)};document.addEventListener("nav",()=>{let t=a=>{let e=a.target?.checked?"dark":"light";document.documentElement.setAttribute("saved-theme",e),localStorage.setItem("theme",e),d(e)},n=a=>{let e=a.matches?"dark":"light";document.documentElement.setAttribute("saved-theme",e),localStorage.setItem("theme",e),c.checked=a.matches,d(e)},c=document.querySelector("#darkmode-toggle");c.addEventListener("change",t),window.addCleanup(()=>c.removeEventListener("change",t)),o==="dark"&&(c.checked=!0);let m=window.matchMedia("(prefers-color-scheme: dark)");m.addEventListener("change",n),window.addCleanup(()=>m.removeEventListener("change",n))}); -`;var darkmode_default=`.darkmode { - position: relative; - width: 20px; - height: 20px; - margin: 0 10px; -} -.darkmode > .toggle { - display: none; - box-sizing: border-box; -} -.darkmode svg { - cursor: pointer; - opacity: 0; - position: absolute; - width: 20px; - height: 20px; - top: calc(50% - 10px); - fill: var(--darkgray); - transition: opacity 0.1s ease; -} - -:root[saved-theme=dark] { - color-scheme: dark; -} - -:root[saved-theme=light] { - color-scheme: light; -} - -:root[saved-theme=dark] .toggle ~ label > #dayIcon { - opacity: 0; -} -:root[saved-theme=dark] .toggle ~ label > #nightIcon { - opacity: 1; -} - -:root .toggle ~ label > #dayIcon { - opacity: 1; -} -:root .toggle ~ label > #nightIcon { - opacity: 0; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJkYXJrbW9kZS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7O0FBRUE7RUFDRTtFQUNBOztBQUdGO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7O0FBSUo7RUFDRTs7O0FBR0Y7RUFDRTs7O0FBSUE7RUFDRTs7QUFFRjtFQUNFOzs7QUFLRjtFQUNFOztBQUVGO0VBQ0UiLCJzb3VyY2VzQ29udGVudCI6WyIuZGFya21vZGUge1xuICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gIHdpZHRoOiAyMHB4O1xuICBoZWlnaHQ6IDIwcHg7XG4gIG1hcmdpbjogMCAxMHB4O1xuXG4gICYgPiAudG9nZ2xlIHtcbiAgICBkaXNwbGF5OiBub25lO1xuICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gIH1cblxuICAmIHN2ZyB7XG4gICAgY3Vyc29yOiBwb2ludGVyO1xuICAgIG9wYWNpdHk6IDA7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIHdpZHRoOiAyMHB4O1xuICAgIGhlaWdodDogMjBweDtcbiAgICB0b3A6IGNhbGMoNTAlIC0gMTBweCk7XG4gICAgZmlsbDogdmFyKC0tZGFya2dyYXkpO1xuICAgIHRyYW5zaXRpb246IG9wYWNpdHkgMC4xcyBlYXNlO1xuICB9XG59XG5cbjpyb290W3NhdmVkLXRoZW1lPVwiZGFya1wiXSB7XG4gIGNvbG9yLXNjaGVtZTogZGFyaztcbn1cblxuOnJvb3Rbc2F2ZWQtdGhlbWU9XCJsaWdodFwiXSB7XG4gIGNvbG9yLXNjaGVtZTogbGlnaHQ7XG59XG5cbjpyb290W3NhdmVkLXRoZW1lPVwiZGFya1wiXSAudG9nZ2xlIH4gbGFiZWwge1xuICAmID4gI2RheUljb24ge1xuICAgIG9wYWNpdHk6IDA7XG4gIH1cbiAgJiA+ICNuaWdodEljb24ge1xuICAgIG9wYWNpdHk6IDE7XG4gIH1cbn1cblxuOnJvb3QgLnRvZ2dsZSB+IGxhYmVsIHtcbiAgJiA+ICNkYXlJY29uIHtcbiAgICBvcGFjaXR5OiAxO1xuICB9XG4gICYgPiAjbmlnaHRJY29uIHtcbiAgICBvcGFjaXR5OiAwO1xuICB9XG59XG4iXX0= */`;import{jsx as jsx14,jsxs as jsxs7}from"preact/jsx-runtime";var Darkmode=__name(({displayClass,cfg})=>jsxs7("div",{class:classNames(displayClass,"darkmode"),children:[jsx14("input",{class:"toggle",id:"darkmode-toggle",type:"checkbox",tabIndex:-1}),jsx14("label",{id:"toggle-label-light",for:"darkmode-toggle",tabIndex:-1,children:jsxs7("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"dayIcon",x:"0px",y:"0px",viewBox:"0 0 35 35",style:"enable-background:new 0 0 35 35",xmlSpace:"preserve",children:[jsx14("title",{children:i18n(cfg.locale).components.themeToggle.darkMode}),jsx14("path",{d:"M6,17.5C6,16.672,5.328,16,4.5,16h-3C0.672,16,0,16.672,0,17.5 S0.672,19,1.5,19h3C5.328,19,6,18.328,6,17.5z M7.5,26c-0.414,0-0.789,0.168-1.061,0.439l-2,2C4.168,28.711,4,29.086,4,29.5 C4,30.328,4.671,31,5.5,31c0.414,0,0.789-0.168,1.06-0.44l2-2C8.832,28.289,9,27.914,9,27.5C9,26.672,8.329,26,7.5,26z M17.5,6 C18.329,6,19,5.328,19,4.5v-3C19,0.672,18.329,0,17.5,0S16,0.672,16,1.5v3C16,5.328,16.671,6,17.5,6z M27.5,9 c0.414,0,0.789-0.168,1.06-0.439l2-2C30.832,6.289,31,5.914,31,5.5C31,4.672,30.329,4,29.5,4c-0.414,0-0.789,0.168-1.061,0.44 l-2,2C26.168,6.711,26,7.086,26,7.5C26,8.328,26.671,9,27.5,9z M6.439,8.561C6.711,8.832,7.086,9,7.5,9C8.328,9,9,8.328,9,7.5 c0-0.414-0.168-0.789-0.439-1.061l-2-2C6.289,4.168,5.914,4,5.5,4C4.672,4,4,4.672,4,5.5c0,0.414,0.168,0.789,0.439,1.06 L6.439,8.561z M33.5,16h-3c-0.828,0-1.5,0.672-1.5,1.5s0.672,1.5,1.5,1.5h3c0.828,0,1.5-0.672,1.5-1.5S34.328,16,33.5,16z M28.561,26.439C28.289,26.168,27.914,26,27.5,26c-0.828,0-1.5,0.672-1.5,1.5c0,0.414,0.168,0.789,0.439,1.06l2,2 C28.711,30.832,29.086,31,29.5,31c0.828,0,1.5-0.672,1.5-1.5c0-0.414-0.168-0.789-0.439-1.061L28.561,26.439z M17.5,29 c-0.829,0-1.5,0.672-1.5,1.5v3c0,0.828,0.671,1.5,1.5,1.5s1.5-0.672,1.5-1.5v-3C19,29.672,18.329,29,17.5,29z M17.5,7 C11.71,7,7,11.71,7,17.5S11.71,28,17.5,28S28,23.29,28,17.5S23.29,7,17.5,7z M17.5,25c-4.136,0-7.5-3.364-7.5-7.5 c0-4.136,3.364-7.5,7.5-7.5c4.136,0,7.5,3.364,7.5,7.5C25,21.636,21.636,25,17.5,25z"})]})}),jsx14("label",{id:"toggle-label-dark",for:"darkmode-toggle",tabIndex:-1,children:jsxs7("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"nightIcon",x:"0px",y:"0px",viewBox:"0 0 100 100",style:"enable-background:new 0 0 100 100",xmlSpace:"preserve",children:[jsx14("title",{children:i18n(cfg.locale).components.themeToggle.lightMode}),jsx14("path",{d:"M96.76,66.458c-0.853-0.852-2.15-1.064-3.23-0.534c-6.063,2.991-12.858,4.571-19.655,4.571 C62.022,70.495,50.88,65.88,42.5,57.5C29.043,44.043,25.658,23.536,34.076,6.47c0.532-1.08,0.318-2.379-0.534-3.23 c-0.851-0.852-2.15-1.064-3.23-0.534c-4.918,2.427-9.375,5.619-13.246,9.491c-9.447,9.447-14.65,22.008-14.65,35.369 c0,13.36,5.203,25.921,14.65,35.368s22.008,14.65,35.368,14.65c13.361,0,25.921-5.203,35.369-14.65 c3.872-3.871,7.064-8.328,9.491-13.246C97.826,68.608,97.611,67.309,96.76,66.458z"})]})})]}),"Darkmode");Darkmode.beforeDOMLoaded=darkmode_inline_default;Darkmode.css=darkmode_default;var Darkmode_default=__name(()=>Darkmode,"default");var DEFAULT_SANS_SERIF='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif',DEFAULT_MONO="ui-monospace, SFMono-Regular, SF Mono, Menlo, monospace";function googleFontHref(theme){let{code,header,body}=theme.typography;return`https://fonts.googleapis.com/css2?family=${code}&family=${header}:wght@400;700&family=${body}:ital,wght@0,400;0,600;1,400;1,600&display=swap`}__name(googleFontHref,"googleFontHref");function joinStyles(theme,...stylesheet){return` -${stylesheet.join(` - -`)} - -:root { - --light: ${theme.colors.lightMode.light}; - --lightgray: ${theme.colors.lightMode.lightgray}; - --gray: ${theme.colors.lightMode.gray}; - --darkgray: ${theme.colors.lightMode.darkgray}; - --dark: ${theme.colors.lightMode.dark}; - --secondary: ${theme.colors.lightMode.secondary}; - --tertiary: ${theme.colors.lightMode.tertiary}; - --highlight: ${theme.colors.lightMode.highlight}; - - --headerFont: "${theme.typography.header}", ${DEFAULT_SANS_SERIF}; - --bodyFont: "${theme.typography.body}", ${DEFAULT_SANS_SERIF}; - --codeFont: "${theme.typography.code}", ${DEFAULT_MONO}; -} - -:root[saved-theme="dark"] { - --light: ${theme.colors.darkMode.light}; - --lightgray: ${theme.colors.darkMode.lightgray}; - --gray: ${theme.colors.darkMode.gray}; - --darkgray: ${theme.colors.darkMode.darkgray}; - --dark: ${theme.colors.darkMode.dark}; - --secondary: ${theme.colors.darkMode.secondary}; - --tertiary: ${theme.colors.darkMode.tertiary}; - --highlight: ${theme.colors.darkMode.highlight}; -} -`}__name(joinStyles,"joinStyles");import{Fragment as Fragment4,jsx as jsx15,jsxs as jsxs8}from"preact/jsx-runtime";var Head_default=__name(()=>__name(({cfg,fileData,externalResources})=>{let title=fileData.frontmatter?.title??i18n(cfg.locale).propertyDefaults.title,description=fileData.description?.trim()??i18n(cfg.locale).propertyDefaults.description,{css,js}=externalResources,path13=new URL(`https://${cfg.baseUrl??"example.com"}`).pathname,baseDir=fileData.slug==="404"?path13:pathToRoot(fileData.slug);return jsxs8("head",{children:[jsx15("title",{children:title}),jsx15("meta",{charSet:"utf-8"}),cfg.theme.cdnCaching&&cfg.theme.fontOrigin==="googleFonts"&&jsxs8(Fragment4,{children:[jsx15("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),jsx15("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),jsx15("link",{rel:"stylesheet",href:googleFontHref(cfg.theme)})]}),jsx15("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),jsx15("meta",{property:"og:title",content:title}),jsx15("meta",{property:"og:description",content:description}),cfg.baseUrl&&jsx15("meta",{property:"og:image",content:"https://assets.nexie.net/favicon.webp"}),jsx15("meta",{property:"og:width",content:"1200"}),jsx15("meta",{property:"og:height",content:"675"}),jsx15("link",{rel:"icon",href:"https://assets.nexie.net/favicon.webp"}),jsx15("meta",{name:"description",content:description}),jsx15("meta",{name:"generator",content:"Quartz"}),jsx15("script",{src:"https://kit.fontawesome.com/ccf5d53d30.js",crossorigin:"anonymous"}),css.map(href=>jsx15("link",{href,rel:"stylesheet",type:"text/css","spa-preserve":!0},href)),js.filter(resource=>resource.loadTime==="beforeDOMReady").map(res=>JSResourceToScriptElement(res,!0))]})},"Head"),"default");import{jsx as jsx16}from"preact/jsx-runtime";var PageTitle=__name(({fileData,cfg,displayClass})=>{let title=cfg?.pageTitle??i18n(cfg.locale).propertyDefaults.title,baseDir=pathToRoot(fileData.slug);return jsx16("h1",{class:classNames(displayClass,"page-title"),children:jsx16("a",{href:baseDir,children:title})})},"PageTitle");PageTitle.css=` -.page-title { - margin: 0; -} -`;var PageTitle_default=__name(()=>PageTitle,"default");import readingTime from"reading-time";var contentMeta_default=`.content-meta { - margin-top: 0; - color: var(--gray); -} -.content-meta[show-comma=true] > span:not(:last-child) { - margin-right: 8px; -} -.content-meta[show-comma=true] > span:not(:last-child)::after { - content: ","; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJjb250ZW50TWV0YS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0U7RUFDQTs7QUFHRTtFQUNFOztBQUVBO0VBQ0UiLCJzb3VyY2VzQ29udGVudCI6WyIuY29udGVudC1tZXRhIHtcbiAgbWFyZ2luLXRvcDogMDtcbiAgY29sb3I6IHZhcigtLWdyYXkpO1xuXG4gICZbc2hvdy1jb21tYT1cInRydWVcIl0ge1xuICAgID4gc3Bhbjpub3QoOmxhc3QtY2hpbGQpIHtcbiAgICAgIG1hcmdpbi1yaWdodDogOHB4O1xuXG4gICAgICAmOjphZnRlciB7XG4gICAgICAgIGNvbnRlbnQ6IFwiLFwiO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19 */`;import{jsx as jsx17}from"preact/jsx-runtime";var defaultOptions10={showReadingTime:!0,showComma:!0},ContentMeta_default=__name(opts=>{let options2={...defaultOptions10,...opts};function ContentMetadata({cfg,fileData,displayClass}){let text=fileData.text;if(text){let segments=[];if(fileData.dates&&segments.push(formatDate(getDate(cfg,fileData),cfg.locale)),options2.showReadingTime){let{minutes,words:_words}=readingTime(text),displayedTime=i18n(cfg.locale).components.contentMeta.readingTime({minutes:Math.ceil(minutes)});segments.push(displayedTime)}let segmentsElements=segments.map(segment=>jsx17("span",{children:segment}));return jsx17("p",{"show-comma":options2.showComma,class:classNames(displayClass,"content-meta"),children:segmentsElements})}else return null}return __name(ContentMetadata,"ContentMetadata"),ContentMetadata.css=contentMeta_default,ContentMetadata},"default");import{jsx as jsx18}from"preact/jsx-runtime";function Spacer({displayClass}){return jsx18("div",{class:classNames(displayClass,"spacer")})}__name(Spacer,"Spacer");var Spacer_default=__name(()=>Spacer,"default");var legacyToc_default=`details#toc summary { - cursor: pointer; -} -details#toc summary::marker { - color: var(--dark); -} -details#toc summary > * { - padding-left: 0.25rem; - display: inline-block; - margin: 0; -} -details#toc ul { - list-style: none; - margin: 0.5rem 1.25rem; - padding: 0; -} -details#toc .depth-1 { - padding-left: calc(1rem * 1); -} -details#toc .depth-2 { - padding-left: calc(1rem * 2); -} -details#toc .depth-3 { - padding-left: calc(1rem * 3); -} -details#toc .depth-4 { - padding-left: calc(1rem * 4); -} -details#toc .depth-5 { - padding-left: calc(1rem * 5); -} -details#toc .depth-6 { - padding-left: calc(1rem * 6); -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJsZWdhY3lUb2Muc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDRTtFQUNFOztBQUVBO0VBQ0U7O0FBR0Y7RUFDRTtFQUNBO0VBQ0E7O0FBSUo7RUFDRTtFQUNBO0VBQ0E7O0FBSUE7RUFDRTs7QUFERjtFQUNFOztBQURGO0VBQ0U7O0FBREY7RUFDRTs7QUFERjtFQUNFOztBQURGO0VBQ0UiLCJzb3VyY2VzQ29udGVudCI6WyJkZXRhaWxzI3RvYyB7XG4gICYgc3VtbWFyeSB7XG4gICAgY3Vyc29yOiBwb2ludGVyO1xuXG4gICAgJjo6bWFya2VyIHtcbiAgICAgIGNvbG9yOiB2YXIoLS1kYXJrKTtcbiAgICB9XG5cbiAgICAmID4gKiB7XG4gICAgICBwYWRkaW5nLWxlZnQ6IDAuMjVyZW07XG4gICAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG4gICAgICBtYXJnaW46IDA7XG4gICAgfVxuICB9XG5cbiAgJiB1bCB7XG4gICAgbGlzdC1zdHlsZTogbm9uZTtcbiAgICBtYXJnaW46IDAuNXJlbSAxLjI1cmVtO1xuICAgIHBhZGRpbmc6IDA7XG4gIH1cblxuICBAZm9yICRpIGZyb20gMSB0aHJvdWdoIDYge1xuICAgICYgLmRlcHRoLSN7JGl9IHtcbiAgICAgIHBhZGRpbmctbGVmdDogY2FsYygxcmVtICogI3skaX0pO1xuICAgIH1cbiAgfVxufVxuIl19 */`;var toc_default=`button#toc { - background-color: transparent; - border: none; - text-align: left; - cursor: pointer; - padding: 0; - color: var(--dark); - display: flex; - align-items: center; -} -button#toc h3 { - font-size: 1rem; - display: inline-block; - margin: 0; -} -button#toc .fold { - margin-left: 0.5rem; - transition: transform 0.3s ease; - opacity: 0.8; -} -button#toc.collapsed .fold { - transform: rotateZ(-90deg); -} - -#toc-content { - list-style: none; - overflow: hidden; - max-height: none; - transition: max-height 0.5s ease; - position: relative; -} -#toc-content.collapsed > .overflow::after { - opacity: 0; -} -#toc-content ul { - list-style: none; - margin: 0.5rem 0; - padding: 0; -} -#toc-content ul > li > a { - color: var(--dark); - opacity: 0.35; - transition: 0.5s ease opacity, 0.3s ease color; -} -#toc-content ul > li > a.in-view { - opacity: 0.75; -} -#toc-content .depth-0 { - padding-left: calc(1rem * 0); -} -#toc-content .depth-1 { - padding-left: calc(1rem * 1); -} -#toc-content .depth-2 { - padding-left: calc(1rem * 2); -} -#toc-content .depth-3 { - padding-left: calc(1rem * 3); -} -#toc-content .depth-4 { - padding-left: calc(1rem * 4); -} -#toc-content .depth-5 { - padding-left: calc(1rem * 5); -} -#toc-content .depth-6 { - padding-left: calc(1rem * 6); -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJ0b2Muc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7O0FBRUE7RUFDRTtFQUNBO0VBQ0E7O0FBR0Y7RUFDRTtFQUNBO0VBQ0E7O0FBR0Y7RUFDRTs7O0FBSUo7RUFDRTtFQUNBO0VBQ0E7RUFDQTtFQUNBOztBQUVBO0VBQ0U7O0FBR0Y7RUFDRTtFQUNBO0VBQ0E7O0FBQ0E7RUFDRTtFQUNBO0VBQ0EsWUFDRTs7QUFFRjtFQUNFOztBQU1KO0VBQ0U7O0FBREY7RUFDRTs7QUFERjtFQUNFOztBQURGO0VBQ0U7O0FBREY7RUFDRTs7QUFERjtFQUNFOztBQURGO0VBQ0UiLCJzb3VyY2VzQ29udGVudCI6WyJidXR0b24jdG9jIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gIGJvcmRlcjogbm9uZTtcbiAgdGV4dC1hbGlnbjogbGVmdDtcbiAgY3Vyc29yOiBwb2ludGVyO1xuICBwYWRkaW5nOiAwO1xuICBjb2xvcjogdmFyKC0tZGFyayk7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZX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JGl9KTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== */`;var toc_inline_default='var o=new IntersectionObserver(e=>{for(let t of e){let n=t.target.id,s=document.querySelector(`a[data-for="${n}"]`),i=t.rootBounds?.height;i&&s&&(t.boundingClientRect.ye.removeEventListener("click",c))}}window.addEventListener("resize",l);document.addEventListener("nav",()=>{l(),o.disconnect(),document.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]").forEach(t=>o.observe(t))});\n';import{jsx as jsx19,jsxs as jsxs9}from"preact/jsx-runtime";var defaultOptions11={layout:"modern"},TableOfContents2=__name(({fileData,displayClass,cfg})=>fileData.toc?jsxs9("div",{class:classNames(displayClass,"toc"),children:[jsxs9("button",{type:"button",id:"toc",class:fileData.collapseToc?"collapsed":"",children:[jsx19("h3",{children:i18n(cfg.locale).components.tableOfContents.title}),jsx19("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"fold",children:jsx19("polyline",{points:"6 9 12 15 18 9"})})]}),jsx19("div",{id:"toc-content",children:jsx19("ul",{class:"overflow",children:fileData.toc.map(tocEntry=>jsx19("li",{class:`depth-${tocEntry.depth}`,children:jsx19("a",{href:`#${tocEntry.slug}`,"data-for":tocEntry.slug,children:tocEntry.text})},tocEntry.slug))})})]}):null,"TableOfContents");TableOfContents2.css=toc_default;TableOfContents2.afterDOMLoaded=toc_inline_default;var LegacyTableOfContents=__name(({fileData,cfg})=>fileData.toc?jsxs9("details",{id:"toc",open:!fileData.collapseToc,children:[jsx19("summary",{children:jsx19("h3",{children:i18n(cfg.locale).components.tableOfContents.title})}),jsx19("ul",{children:fileData.toc.map(tocEntry=>jsx19("li",{class:`depth-${tocEntry.depth}`,children:jsx19("a",{href:`#${tocEntry.slug}`,"data-for":tocEntry.slug,children:tocEntry.text})},tocEntry.slug))})]}):null,"LegacyTableOfContents");LegacyTableOfContents.css=legacyToc_default;var TableOfContents_default=__name(opts=>(opts?.layout??defaultOptions11.layout)==="modern"?TableOfContents2:LegacyTableOfContents,"default");var explorer_default=`button#explorer { - all: unset; - background-color: transparent; - border: none; - text-align: left; - cursor: pointer; - padding: 0; - color: var(--dark); - display: flex; - align-items: center; -} -button#explorer h1 { - font-size: 1rem; - display: inline-block; - margin: 0; -} -button#explorer .fold { - margin-left: 0.5rem; - transition: transform 0.3s ease; - opacity: 0.8; -} -button#explorer.collapsed .fold { - transform: rotateZ(-90deg); -} - -.folder-outer { - display: grid; - grid-template-rows: 0fr; - transition: grid-template-rows 0.3s ease-in-out; -} - -.folder-outer.open { - grid-template-rows: 1fr; -} - -.folder-outer > ul { - overflow: hidden; -} - -#explorer-content { - list-style: none; - overflow: hidden; - max-height: none; - transition: max-height 0.35s ease; - margin-top: 0.5rem; -} -#explorer-content.collapsed > .overflow::after { - opacity: 0; -} -#explorer-content ul { - list-style: none; - margin: 0.08rem 0; - padding: 0; - transition: max-height 0.35s ease, transform 0.35s ease, opacity 0.2s ease; -} -#explorer-content ul li > a { - color: var(--dark); - opacity: 0.75; - pointer-events: all; -} - -svg { - pointer-events: all; -} -svg > polyline { - pointer-events: none; -} - -.folder-container { - flex-direction: row; - display: flex; - align-items: center; - user-select: none; -} -.folder-container div > a { - color: var(--secondary); - font-family: var(--headerFont); - font-size: 0.95rem; - font-weight: 600; - line-height: 1.5rem; - display: inline-block; -} -.folder-container div > a:hover { - color: var(--tertiary); -} -.folder-container div > button { - color: var(--dark); - background-color: transparent; - border: none; - text-align: left; - cursor: pointer; - padding-left: 0; - padding-right: 0; - display: flex; - align-items: center; - font-family: var(--headerFont); -} -.folder-container div > button span { - font-size: 0.95rem; - display: inline-block; - color: var(--secondary); - font-weight: 600; - margin: 0; - line-height: 1.5rem; - pointer-events: none; -} - -.folder-icon { - margin-right: 5px; - color: var(--secondary); - cursor: pointer; - transition: transform 0.3s ease; - backface-visibility: visible; -} - -li:has(> .folder-outer:not(.open)) > .folder-container > svg { - transform: rotate(-90deg); -} - -.folder-icon:hover { - color: var(--tertiary); -} - -.no-background::after { - background: none !important; -} - -#explorer-end { - height: 4px; - margin: 0; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJleHBsb3Jlci5zY3NzIiwiLi5cXC4uXFxzdHlsZXNcXHZhcmlhYmxlcy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBOztBQUVBO0VBQ0U7RUFDQTtFQUNBOztBQUdGO0VBQ0U7RUFDQTtFQUNBOztBQUdGO0VBQ0U7OztBQUlKO0VBQ0U7RUFDQTtFQUNBOzs7QUFHRjtFQUNFOzs7QUFHRjtFQUNFOzs7QUFHRjtFQUNFO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7O0FBRUE7RUFDRTs7QUFHRjtFQUNFO0VBQ0E7RUFDQTtFQUNBLFlBQ0U7O0FBR0Y7RUFDRTtFQUNBO0VBQ0E7OztBQUtOO0VBQ0U7O0FBRUE7RUFDRTs7O0FBSUo7RUFDRTtFQUNBO0VBQ0E7RUFDQTs7QUFFQTtFQUNFO0VBQ0E7RUFDQTtFQUNBLGFDbEZhO0VEbUZiO0VBQ0E7O0FBR0Y7RUFDRTs7QUFHRjtFQUNFO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBOztBQUVBO0VBQ0U7RUFDQTtFQUNBO0VBQ0EsYUMzR1c7RUQ0R1g7RUFDQTtFQUNBOzs7QUFLTjtFQUNFO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7OztBQUdGO0VBQ0U7Ozt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gc3ZnIHtcbiAgdHJhbnNmb3JtOiByb3RhdGUoLTkwZGVnKTtcbn1cblxuLmZvbGRlci1pY29uOmhvdmVyIHtcbiAgY29sb3I6IHZhcigtLXRlcnRpYXJ5KTtcbn1cblxuLm5vLWJhY2tncm91bmQ6OmFmdGVyIHtcbiAgYmFja2dyb3VuZDogbm9uZSAhaW1wb3J0YW50O1xufVxuXG4jZXhwbG9yZXItZW5kIHtcbiAgLy8gbmVlZHMgaGVpZ2h0IHNvIEludGVyc2VjdGlvbk9ic2VydmVyIGdldHMgdHJpZ2dlcmVkXG4gIGhlaWdodDogNHB4O1xuICAvLyByZW1vdmUgZGVmYXVsdCBtYXJnaW4gZnJvbSBsaVxuICBtYXJnaW46IDA7XG59XG4iLCIkcGFnZVdpZHRoOiA3NTBweDtcbiRtb2JpbGVCcmVha3BvaW50OiA2MDBweDtcbiR0YWJsZXRCcmVha3BvaW50OiAxMDAwcHg7XG4kc2lkZVBhbmVsV2lkdGg6IDM4MHB4O1xuJHRvcFNwYWNpbmc6IDZyZW07XG4kZnVsbFBhZ2VXaWR0aDogJHBhZ2VXaWR0aCArIDIgKiAkc2lkZVBhbmVsV2lkdGg7XG4kYm9sZFdlaWdodDogNzAwO1xuJHNlbWlCb2xkV2VpZ2h0OiA2MDA7XG4kbm9ybWFsV2VpZ2h0OiA0MDA7XG4iXX0= */`;var explorer_inline_default='var s,p=new IntersectionObserver(e=>{let t=document.getElementById("explorer-ul");if(t)for(let o of e)o.isIntersecting?t.classList.add("no-background"):t.classList.remove("no-background")});function m(){this.classList.toggle("collapsed");let e=this.nextElementSibling;e&&(e.classList.toggle("collapsed"),e.style.maxHeight=e.style.maxHeight==="0px"?e.scrollHeight+"px":"0px")}function i(e){e.stopPropagation();let t=e.target;if(!t)return;let o=t.nodeName==="svg",l=o?t.parentElement?.nextSibling:t.parentElement?.parentElement?.nextElementSibling,a=o?t.nextElementSibling:t.parentElement;if(!(l&&a))return;l.classList.toggle("open");let c=l.classList.contains("open");E(l,!c);let n=a.dataset.folderpath;f(s,n);let r=JSON.stringify(s);localStorage.setItem("fileTree",r)}function g(){let e=document.getElementById("explorer");if(!e)return;if(e.dataset.behavior==="collapse")for(let n of document.getElementsByClassName("folder-button"))n.addEventListener("click",i),window.addCleanup(()=>n.removeEventListener("click",i));e.addEventListener("click",m),window.addCleanup(()=>e.removeEventListener("click",m));for(let n of document.getElementsByClassName("folder-icon"))n.addEventListener("click",i),window.addCleanup(()=>n.removeEventListener("click",i));let t=localStorage.getItem("fileTree"),o=e?.dataset.savestate==="true",l=t&&o?JSON.parse(t):[],a=new Map(l.map(n=>[n.path,n.collapsed])),c=e.dataset.tree?JSON.parse(e.dataset.tree):[];s=[];for(let{path:n,collapsed:r}of c)s.push({path:n,collapsed:a.get(n)??r});s.map(n=>{let d=document.querySelector(`[data-folderpath=\'${n.path}\']`)?.parentElement?.nextElementSibling;d&&E(d,n.collapsed)})}window.addEventListener("resize",g);document.addEventListener("nav",()=>{g(),p.disconnect();let e=document.getElementById("explorer-end");e&&p.observe(e)});function E(e,t){return t?e.classList.remove("open"):e.classList.add("open")}function f(e,t){let o=e.find(l=>l.path===t);o&&(o.collapsed=!o.collapsed)}\n';import{Fragment as Fragment5,jsx as jsx20,jsxs as jsxs10}from"preact/jsx-runtime";function getPathSegment(fp,idx){if(fp)return fp.split("/").at(idx)}__name(getPathSegment,"getPathSegment");var FileNode=class _FileNode{static{__name(this,"FileNode")}children;name;displayName;file;depth;constructor(slugSegment,displayName,file,depth){this.children=[],this.name=slugSegment,this.displayName=displayName??file?.frontmatter?.title??slugSegment,this.file=file?clone(file):null,this.depth=depth??0}insert(fileData){if(fileData.path.length===0)return;let nextSegment=fileData.path[0];if(fileData.path.length===1){if(nextSegment===""){let title=fileData.file.frontmatter?.title;title&&title!=="index"&&(this.displayName=title)}else this.children.push(new _FileNode(nextSegment,void 0,fileData.file,this.depth+1));return}fileData.path=fileData.path.splice(1);let child=this.children.find(c=>c.name===nextSegment);if(child){child.insert(fileData);return}let newChild=new _FileNode(nextSegment,getPathSegment(fileData.file.relativePath,this.depth),void 0,this.depth+1);newChild.insert(fileData),this.children.push(newChild)}add(file){this.insert({file,path:simplifySlug(file.slug).split("/")})}filter(filterFn){this.children=this.children.filter(filterFn),this.children.forEach(child=>child.filter(filterFn))}map(mapFn){mapFn(this),this.children.forEach(child=>child.map(mapFn))}getFolderPaths(collapsed){let folderPaths=[],traverse=__name((node,currentPath)=>{if(!node.file){let folderPath=joinSegments(currentPath,node.name);folderPath!==""&&folderPaths.push({path:folderPath,collapsed}),node.children.forEach(child=>traverse(child,folderPath))}},"traverse");return traverse(this,""),folderPaths}sort(sortFn){this.children=this.children.sort(sortFn),this.children.forEach(e=>e.sort(sortFn))}};function ExplorerNode({node,opts,fullPath,fileData}){let folderBehavior=opts.folderClickBehavior,isDefaultOpen=opts.folderDefaultState==="open",folderPath="";return node.name!==""&&(folderPath=joinSegments(fullPath??"",node.name)),jsx20(Fragment5,{children:node.file?jsx20("li",{children:jsx20("a",{href:resolveRelative(fileData.slug,node.file.slug),"data-for":node.file.slug,children:node.displayName})},node.file.slug):jsxs10("li",{children:[node.name!==""&&jsxs10("div",{class:"folder-container",children:[jsx20("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"5 8 14 8",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"folder-icon",children:jsx20("polyline",{points:"6 9 12 15 18 9"})}),jsx20("div",{"data-folderpath":folderPath,children:folderBehavior==="link"?jsx20("a",{href:resolveRelative(fileData.slug,folderPath),"data-for":node.name,class:"folder-title",children:node.displayName}):jsx20("button",{class:"folder-button",children:jsx20("span",{class:"folder-title",children:node.displayName})})},node.name)]}),jsx20("div",{class:`folder-outer ${node.depth===0||isDefaultOpen?"open":""}`,children:jsx20("ul",{style:{paddingLeft:node.name!==""?"1.4rem":"0"},class:"content","data-folderul":folderPath,children:node.children.map((childNode,i)=>jsx20(ExplorerNode,{node:childNode,opts,fullPath:folderPath,fileData},i))})})]})})}__name(ExplorerNode,"ExplorerNode");import{jsx as jsx21,jsxs as jsxs11}from"preact/jsx-runtime";var defaultOptions12={folderClickBehavior:"collapse",folderDefaultState:"collapsed",useSavedState:!0,mapFn:node=>node,sortFn:(a,b)=>!a.file&&!b.file||a.file&&b.file?a.displayName.localeCompare(b.displayName,void 0,{numeric:!0,sensitivity:"base"}):a.file&&!b.file?1:-1,filterFn:node=>node.name!=="tags",order:["filter","map","sort"]},Explorer_default=__name(userOpts=>{let opts={...defaultOptions12,...userOpts},fileTree,jsonTree;function constructFileTree(allFiles){if(fileTree)return;if(fileTree=new FileNode(""),allFiles.forEach(file=>fileTree.add(file)),opts.order)for(let i=0;i(constructFileTree(allFiles),jsxs11("div",{class:classNames(displayClass,"explorer"),children:[jsxs11("button",{type:"button",id:"explorer","data-behavior":opts.folderClickBehavior,"data-collapsed":opts.folderDefaultState,"data-savestate":opts.useSavedState,"data-tree":jsonTree,children:[jsx21("h1",{children:opts.title??i18n(cfg.locale).components.explorer.title}),jsx21("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"5 8 14 8",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"fold",children:jsx21("polyline",{points:"6 9 12 15 18 9"})})]}),jsx21("div",{id:"explorer-content",children:jsxs11("ul",{class:"overflow",id:"explorer-ul",children:[jsx21(ExplorerNode,{node:fileTree,opts,fileData}),jsx21("li",{id:"explorer-end"})]})})]})),"Explorer");return Explorer.css=explorer_default,Explorer.afterDOMLoaded=explorer_inline_default,Explorer},"default");import{jsx as jsx22}from"preact/jsx-runtime";var TagList=__name(({fileData,displayClass})=>{let tags=fileData.frontmatter?.tags,baseDir=pathToRoot(fileData.slug);return tags&&tags.length>0?jsx22("ul",{class:classNames(displayClass,"tags"),children:tags.map(tag=>{let linkDest=baseDir+`/tags/${slugTag(tag)}`;return jsx22("li",{children:jsx22("a",{href:linkDest,class:"internal tag-link",children:tag})})})}):null},"TagList");TagList.css=` -.tags { - list-style: none; - display: flex; - padding-left: 0; - gap: 0.4rem; - margin: 1rem 0; - flex-wrap: wrap; - justify-self: end; -} - -.section-li > .section > .tags { - justify-content: flex-end; -} - -.tags > li { - display: inline-block; - white-space: nowrap; - margin: 0; - overflow-wrap: normal; -} - -a.internal.tag-link { - border-radius: 8px; - background-color: var(--highlight); - padding: 0.2rem 0.4rem; - margin: 0 0.1rem; -} -`;var TagList_default=__name(()=>TagList,"default");var graph_inline_default='var yu=Object.create;var Ze=Object.defineProperty;var vu=Object.getOwnPropertyDescriptor;var wu=Object.getOwnPropertyNames;var _u=Object.getPrototypeOf,Eu=Object.prototype.hasOwnProperty;var Au=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Cu=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of wu(e))!Eu.call(t,u)&&u!==n&&Ze(t,u,{get:()=>e[u],enumerable:!(r=vu(e,u))||r.enumerable});return t};var bu=(t,e,n)=>(n=t!=null?yu(_u(t)):{},Cu(e||!t||!t.__esModule?Ze(n,"default",{value:t,enumerable:!0}):n,t));var hu=Au((zp,cu)=>{"use strict";cu.exports=Ko;function bt(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}function Ko(t){if(t=t||{},t.circles)return Qo(t);return t.proto?r:n;function e(u,o){for(var i=Object.keys(u),a=new Array(i.length),l=0;l{}};function je(){for(var t=0,e=arguments.length,n={},r;t=0&&(r=n.slice(u+1),n=n.slice(0,u)),n&&!e.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}Jt.prototype=je.prototype={constructor:Jt,on:function(t,e){var n=this._,r=Su(t+"",n),u,o=-1,i=r.length;if(arguments.length<2){for(;++o0)for(var n=new Array(u),r=0,u,o;r=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Ce.hasOwnProperty(e)?{space:Ce[e],local:t}:t}function Mu(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===jt&&e.documentElement.namespaceURI===jt?e.createElement(t):e.createElementNS(n,t)}}function Tu(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function te(t){var e=rt(t);return(e.local?Tu:Mu)(e)}function ku(){}function dt(t){return t==null?ku:function(){return this.querySelector(t)}}function tn(t){typeof t!="function"&&(t=dt(t));for(var e=this._groups,n=e.length,r=new Array(n),u=0;u=C&&(C=v+1);!(E=g[C])&&++C=0;)(i=r[u])&&(o&&i.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(i,o),o=i);return this}function pn(t){t||(t=Uu);function e(D,c){return D&&c?t(D.__data__,c.__data__):!D-!c}for(var n=this._groups,r=n.length,u=new Array(r),o=0;oe?1:t>=e?0:NaN}function mn(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function dn(){return Array.from(this)}function Dn(){for(var t=this._groups,e=0,n=t.length;e1?this.each((e==null?ju:typeof e=="function"?ei:ti)(t,e,n??"")):ot(this.node(),t)}function ot(t,e){return t.style.getPropertyValue(e)||re(t).getComputedStyle(t,null).getPropertyValue(e)}function ni(t){return function(){delete this[t]}}function ri(t,e){return function(){this[t]=e}}function ui(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function wn(t,e){return arguments.length>1?this.each((e==null?ni:typeof e=="function"?ui:ri)(t,e)):this.node()[t]}function _n(t){return t.trim().split(/^|\\s+/)}function be(t){return t.classList||new En(t)}function En(t){this._node=t,this._names=_n(t.getAttribute("class")||"")}En.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function An(t,e){for(var n=be(t),r=-1,u=e.length;++r=0&&(n=e.slice(r+1),e=e.slice(0,r)),{type:e,name:n}})}function wi(t){return function(){var e=this.__on;if(e){for(var n=0,r=-1,u=e.length,o;n()=>t;function Ot(t,{sourceEvent:e,subject:n,target:r,identifier:u,active:o,x:i,y:a,dx:l,dy:s,dispatch:f}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:u,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:i,enumerable:!0,configurable:!0},y:{value:a,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:s,enumerable:!0,configurable:!0},_:{value:f}})}Ot.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};function bi(t){return!t.ctrlKey&&!t.button}function Bi(){return this.parentNode}function Si(t,e){return e??{x:t.x,y:t.y}}function Ni(){return navigator.maxTouchPoints||"ontouchstart"in this}function Be(){var t=bi,e=Bi,n=Si,r=Ni,u={},o=nt("start","drag","end"),i=0,a,l,s,f,D=0;function c(m){m.on("mousedown.drag",p).filter(r).on("touchstart.drag",g).on("touchmove.drag",d,qn).on("touchend.drag touchcancel.drag",v).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(m,E){if(!(f||!t.call(this,m,E))){var b=C(this,e.call(this,m,E),m,E,"mouse");b&&($(m.view).on("mousemove.drag",w,Dt).on("mouseup.drag",F,Dt),kt(m.view),ue(m),s=!1,a=m.clientX,l=m.clientY,b("start",m))}}function w(m){if(st(m),!s){var E=m.clientX-a,b=m.clientY-l;s=E*E+b*b>D}u.mouse("drag",m)}function F(m){$(m.view).on("mousemove.drag mouseup.drag",null),It(m.view,s),st(m),u.mouse("end",m)}function g(m,E){if(t.call(this,m,E)){var b=m.changedTouches,N=e.call(this,m,E),I=b.length,R,P;for(R=0;R>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?oe(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?oe(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Ti.exec(t))?new G(e[1],e[2],e[3],1):(e=ki.exec(t))?new G(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=Ii.exec(t))?oe(e[1],e[2],e[3],e[4]):(e=zi.exec(t))?oe(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Oi.exec(t))?Qn(e[1],e[2]/100,e[3]/100,1):(e=Ri.exec(t))?Qn(e[1],e[2]/100,e[3]/100,e[4]):Vn.hasOwnProperty(t)?Wn(Vn[t]):t==="transparent"?new G(NaN,NaN,NaN,0):null}function Wn(t){return new G(t>>16&255,t>>8&255,t&255,1)}function oe(t,e,n,r){return r<=0&&(t=e=n=NaN),new G(t,e,n,r)}function Pi(t){return t instanceof Ht||(t=lt(t)),t?(t=t.rgb(),new G(t.r,t.g,t.b,t.opacity)):new G}function wt(t,e,n,r){return arguments.length===1?Pi(t):new G(t,e,n,r??1)}function G(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}ie(G,wt,Se(Ht,{brighter(t){return t=t==null?se:Math.pow(se,t),new G(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Rt:Math.pow(Rt,t),new G(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new G(xt(this.r),xt(this.g),xt(this.b),le(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Gn,formatHex:Gn,formatHex8:$i,formatRgb:Kn,toString:Kn}));function Gn(){return`#${gt(this.r)}${gt(this.g)}${gt(this.b)}`}function $i(){return`#${gt(this.r)}${gt(this.g)}${gt(this.b)}${gt((isNaN(this.opacity)?1:this.opacity)*255)}`}function Kn(){let t=le(this.opacity);return`${t===1?"rgb(":"rgba("}${xt(this.r)}, ${xt(this.g)}, ${xt(this.b)}${t===1?")":`, ${t})`}`}function le(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function xt(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function gt(t){return t=xt(t),(t<16?"0":"")+t.toString(16)}function Qn(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new J(t,e,n,r)}function Jn(t){if(t instanceof J)return new J(t.h,t.s,t.l,t.opacity);if(t instanceof Ht||(t=lt(t)),!t)return new J;if(t instanceof J)return t;t=t.rgb();var e=t.r/255,n=t.g/255,r=t.b/255,u=Math.min(e,n,r),o=Math.max(e,n,r),i=NaN,a=o-u,l=(o+u)/2;return a?(e===o?i=(n-r)/a+(n0&&l<1?0:i,new J(i,a,l,t.opacity)}function jn(t,e,n,r){return arguments.length===1?Jn(t):new J(t,e,n,r??1)}function J(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}ie(J,jn,Se(Ht,{brighter(t){return t=t==null?se:Math.pow(se,t),new J(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Rt:Math.pow(Rt,t),new J(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,u=2*n-r;return new G(Ne(t>=240?t-240:t+120,u,r),Ne(t,u,r),Ne(t<120?t+240:t-120,u,r),this.opacity)},clamp(){return new J(Zn(this.h),ae(this.s),ae(this.l),le(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=le(this.opacity);return`${t===1?"hsl(":"hsla("}${Zn(this.h)}, ${ae(this.s)*100}%, ${ae(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Zn(t){return t=(t||0)%360,t<0?t+360:t}function ae(t){return Math.max(0,Math.min(1,t||0))}function Ne(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function Me(t,e,n,r,u){var o=t*t,i=o*t;return((1-3*t+3*o-i)*e+(4-6*o+3*i)*n+(1+3*t+3*o-3*i)*r+i*u)/6}function tr(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),u=t[r],o=t[r+1],i=r>0?t[r-1]:2*u-o,a=r()=>t;function Xi(t,e){return function(n){return t+n*e}}function qi(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}function nr(t){return(t=+t)==1?fe:function(e,n){return n-e?qi(e,n,t):Te(isNaN(e)?n:e)}}function fe(t,e){var n=e-t;return n?Xi(t,n):Te(isNaN(t)?e:t)}var ce=function t(e){var n=nr(e);function r(u,o){var i=n((u=wt(u)).r,(o=wt(o)).r),a=n(u.g,o.g),l=n(u.b,o.b),s=fe(u.opacity,o.opacity);return function(f){return u.r=i(f),u.g=a(f),u.b=l(f),u.opacity=s(f),u+""}}return r.gamma=t,r}(1);function rr(t){return function(e){var n=e.length,r=new Array(n),u=new Array(n),o=new Array(n),i,a;for(i=0;in&&(o=e.slice(n,o),a[i]?a[i]+=o:a[++i]=o),(r=r[0])===(u=u[0])?a[i]?a[i]+=u:a[++i]=u:(a[++i]=null,l.push({i,x:Q(r,u)})),n=ke.lastIndex;return n180?f+=360:f-s>180&&(s+=360),c.push({i:D.push(u(D)+"rotate(",null,r)-2,x:Q(s,f)})):f&&D.push(u(D)+"rotate("+f+r)}function a(s,f,D,c){s!==f?c.push({i:D.push(u(D)+"skewX(",null,r)-2,x:Q(s,f)}):f&&D.push(u(D)+"skewX("+f+r)}function l(s,f,D,c,p,w){if(s!==D||f!==c){var F=p.push(u(p)+"scale(",null,",",null,")");w.push({i:F-4,x:Q(s,D)},{i:F-2,x:Q(f,c)})}else(D!==1||c!==1)&&p.push(u(p)+"scale("+D+","+c+")")}return function(s,f){var D=[],c=[];return s=t(s),f=t(f),o(s.translateX,s.translateY,f.translateX,f.translateY,D,c),i(s.rotate,f.rotate,D,c),a(s.skewX,f.skewX,D,c),l(s.scaleX,s.scaleY,f.scaleX,f.scaleY,D,c),s=f=null,function(p){for(var w=-1,F=c.length,g;++w=0&&t._call.call(void 0,e),t=t._next;--_t}function lr(){Ft=(de=qt.now())+De,_t=$t=0;try{hr()}finally{_t=0,ji(),Ft=0}}function Ji(){var t=qt.now(),e=t-de;e>fr&&(De-=e,de=t)}function ji(){for(var t,e=me,n,r=1/0;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:me=n);Xt=t,Pe(r)}function Pe(t){if(!_t){$t&&($t=clearTimeout($t));var e=t-Ft;e>24?(t<1/0&&($t=setTimeout(lr,t-qt.now()-De)),Pt&&(Pt=clearInterval(Pt))):(Pt||(de=qt.now(),Pt=setInterval(Ji,fr)),_t=1,cr(lr))}}function ge(t,e,n){var r=new Vt;return e=e==null?0:+e,r.restart(u=>{r.stop(),t(u+e)},e,n),r}var to=nt("start","end","cancel","interrupt"),eo=[],dr=0,pr=1,Fe=2,xe=3,mr=4,ye=5,Ut=6;function ft(t,e,n,r,u,o){var i=t.__transition;if(!i)t.__transition={};else if(n in i)return;no(t,n,{name:e,index:r,group:u,on:to,tween:eo,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:dr})}function Wt(t,e){var n=X(t,e);if(n.state>dr)throw new Error("too late; already scheduled");return n}function V(t,e){var n=X(t,e);if(n.state>xe)throw new Error("too late; already running");return n}function X(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function no(t,e,n){var r=t.__transition,u;r[e]=n,n.timer=Et(o,0,n.time);function o(s){n.state=pr,n.timer.restart(i,n.delay,n.time),n.delay<=s&&i(s-n.delay)}function i(s){var f,D,c,p;if(n.state!==pr)return l();for(f in r)if(p=r[f],p.name===n.name){if(p.state===xe)return ge(i);p.state===mr?(p.state=Ut,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete r[f]):+fFe&&r.state=0&&(e=e.slice(0,n)),!e||e==="start"})}function _o(t,e,n){var r,u,o=wo(e)?Wt:V;return function(){var i=o(this,t),a=i.on;a!==r&&(u=(r=a).copy()).on(e,n),i.on=u}}function Cr(t,e){var n=this._id;return arguments.length<2?X(this.node(),n).on.on(t):this.each(_o(n,t,e))}function Eo(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}function br(){return this.on("end.remove",Eo(this._id))}function Br(t){var e=this._name,n=this._id;typeof t!="function"&&(t=dt(t));for(var r=this._groups,u=r.length,o=new Array(u),i=0;i=(D=(a+s)/2))?a=D:s=D,(g=n>=(c=(l+f)/2))?l=c:f=c,u=o,!(o=o[d=g<<1|F]))return u[d]=i,t;if(p=+t._x.call(null,o.data),w=+t._y.call(null,o.data),e===p&&n===w)return i.next=o,u?u[d]=i:t._root=i,t;do u=u?u[d]=new Array(4):t._root=new Array(4),(F=e>=(D=(a+s)/2))?a=D:s=D,(g=n>=(c=(l+f)/2))?l=c:f=c;while((d=g<<1|F)===(v=(w>=c)<<1|p>=D));return u[v]=o,u[d]=i,t}function qr(t){var e,n,r=t.length,u,o,i=new Array(r),a=new Array(r),l=1/0,s=1/0,f=-1/0,D=-1/0;for(n=0;nf&&(f=u),oD&&(D=o));if(l>f||s>D)return this;for(this.cover(l,s).cover(f,D),n=0;nt||t>=u||r>e||e>=o;)switch(s=(ef||(a=w.y0)>D||(l=w.x1)=d)<<1|t>=g)&&(w=c[c.length-1],c[c.length-1]=c[c.length-1-F],c[c.length-1-F]=w)}else{var v=t-+this._x.call(null,p.data),C=e-+this._y.call(null,p.data),m=v*v+C*C;if(m=(c=(i+l)/2))?i=c:l=c,(F=D>=(p=(a+s)/2))?a=p:s=p,e=n,!(n=n[g=F<<1|w]))return this;if(!n.length)break;(e[g+1&3]||e[g+2&3]||e[g+3&3])&&(r=e,d=g)}for(;n.data!==t;)if(u=n,!(n=n.next))return this;return(o=n.next)&&delete n.next,u?(o?u.next=o:delete u.next,this):e?(o?e[g]=o:delete e[g],(n=e[0]||e[1]||e[2]||e[3])&&n===(e[3]||e[2]||e[1]||e[0])&&!n.length&&(r?r[d]=n:this._root=n),this):(this._root=o,this)}function Kr(t){for(var e=0,n=t.length;e[e(E,b,i),E])),m;for(g=0,a=new Array(d);g(t=(1664525*t+1013904223)%4294967296)/4294967296}function au(t){return t.x}function su(t){return t.y}var $o=10,Xo=Math.PI*(3-Math.sqrt(5));function Ye(t){var e,n=1,r=.001,u=1-Math.pow(r,1/300),o=0,i=.6,a=new Map,l=Et(D),s=nt("tick","end"),f=ou();t==null&&(t=[]);function D(){c(),s.call("tick",e),n1?(g==null?a.delete(F):a.set(F,w(g)),e):a.get(F)},find:function(F,g,d){var v=0,C=t.length,m,E,b,N,I;for(d==null?d=1/0:d*=d,v=0;v1?(s.on(F,g),e):s.on(F)}}}function Ue(){var t,e,n,r,u=yt(-30),o,i=1,a=1/0,l=.81;function s(p){var w,F=t.length,g=Gt(t,au,su).visitAfter(D);for(r=p,w=0;w=a)return;(p.data!==e||p.next)&&(d===0&&(d=ht(n),m+=d*d),v===0&&(v=ht(n),m+=v*v),m()=>t;function We(t,{sourceEvent:e,target:n,transform:r,dispatch:u}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:u}})}function j(t,e,n){this.k=t,this.x=e,this.y=n}j.prototype={constructor:j,scale:function(t){return t===1?this:new j(this.k*t,this.x,this.y)},translate:function(t,e){return t===0&e===0?this:new j(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var Qt=new j(1,0,0);Ge.prototype=j.prototype;function Ge(t){for(;!t.__zoom;)if(!(t=t.parentNode))return Qt;return t.__zoom}function Ee(t){t.stopImmediatePropagation()}function Ct(t){t.preventDefault(),t.stopImmediatePropagation()}function qo(t){return(!t.ctrlKey||t.type==="wheel")&&!t.button}function Vo(){var t=this;return t instanceof SVGElement?(t=t.ownerSVGElement||t,t.hasAttribute("viewBox")?(t=t.viewBox.baseVal,[[t.x,t.y],[t.x+t.width,t.y+t.height]]):[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]):[[0,0],[t.clientWidth,t.clientHeight]]}function lu(){return this.__zoom||Qt}function Yo(t){return-t.deltaY*(t.deltaMode===1?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function Uo(){return navigator.maxTouchPoints||"ontouchstart"in this}function Wo(t,e,n){var r=t.invertX(e[0][0])-n[0][0],u=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],i=t.invertY(e[1][1])-n[1][1];return t.translate(u>r?(r+u)/2:Math.min(0,r)||Math.max(0,u),i>o?(o+i)/2:Math.min(0,o)||Math.max(0,i))}function Ke(){var t=qo,e=Vo,n=Wo,r=Yo,u=Uo,o=[0,1/0],i=[[-1/0,-1/0],[1/0,1/0]],a=250,l=He,s=nt("start","zoom","end"),f,D,c,p=500,w=150,F=0,g=10;function d(h){h.property("__zoom",lu).on("wheel.zoom",I,{passive:!1}).on("mousedown.zoom",R).on("dblclick.zoom",P).filter(u).on("touchstart.zoom",Y).on("touchmove.zoom",pt).on("touchend.zoom touchcancel.zoom",mt).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}d.transform=function(h,_,y,A){var S=h.selection?h.selection():h;S.property("__zoom",lu),h!==S?E(h,_,y,A):S.interrupt().each(function(){b(this,arguments).event(A).start().zoom(null,typeof _=="function"?_.apply(this,arguments):_).end()})},d.scaleBy=function(h,_,y,A){d.scaleTo(h,function(){var S=this.__zoom.k,M=typeof _=="function"?_.apply(this,arguments):_;return S*M},y,A)},d.scaleTo=function(h,_,y,A){d.transform(h,function(){var S=e.apply(this,arguments),M=this.__zoom,x=y==null?m(S):typeof y=="function"?y.apply(this,arguments):y,B=M.invert(x),T=typeof _=="function"?_.apply(this,arguments):_;return n(C(v(M,T),x,B),S,i)},y,A)},d.translateBy=function(h,_,y,A){d.transform(h,function(){return n(this.__zoom.translate(typeof _=="function"?_.apply(this,arguments):_,typeof y=="function"?y.apply(this,arguments):y),e.apply(this,arguments),i)},null,A)},d.translateTo=function(h,_,y,A,S){d.transform(h,function(){var M=e.apply(this,arguments),x=this.__zoom,B=A==null?m(M):typeof A=="function"?A.apply(this,arguments):A;return n(Qt.translate(B[0],B[1]).scale(x.k).translate(typeof _=="function"?-_.apply(this,arguments):-_,typeof y=="function"?-y.apply(this,arguments):-y),M,i)},A,S)};function v(h,_){return _=Math.max(o[0],Math.min(o[1],_)),_===h.k?h:new j(_,h.x,h.y)}function C(h,_,y){var A=_[0]-y[0]*h.k,S=_[1]-y[1]*h.k;return A===h.x&&S===h.y?h:new j(h.k,A,S)}function m(h){return[(+h[0][0]+ +h[1][0])/2,(+h[0][1]+ +h[1][1])/2]}function E(h,_,y,A){h.on("start.zoom",function(){b(this,arguments).event(A).start()}).on("interrupt.zoom end.zoom",function(){b(this,arguments).event(A).end()}).tween("zoom",function(){var S=this,M=arguments,x=b(S,M).event(A),B=e.apply(S,M),T=y==null?m(B):typeof y=="function"?y.apply(S,M):y,z=Math.max(B[1][0]-B[0][0],B[1][1]-B[0][1]),k=S.__zoom,H=typeof _=="function"?_.apply(S,M):_,O=l(k.invert(T).concat(z/k.k),H.invert(T).concat(z/H.k));return function(Z){if(Z===1)Z=H;else{var et=O(Z),Ae=z/et[2];Z=new j(Ae,T[0]-et[0]*Ae,T[1]-et[1]*Ae)}x.zoom(null,Z)}})}function b(h,_,y){return!y&&h.__zooming||new N(h,_)}function N(h,_){this.that=h,this.args=_,this.active=0,this.sourceEvent=null,this.extent=e.apply(h,_),this.taps=0}N.prototype={event:function(h){return h&&(this.sourceEvent=h),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(h,_){return this.mouse&&h!=="mouse"&&(this.mouse[1]=_.invert(this.mouse[0])),this.touch0&&h!=="touch"&&(this.touch0[1]=_.invert(this.touch0[0])),this.touch1&&h!=="touch"&&(this.touch1[1]=_.invert(this.touch1[0])),this.that.__zoom=_,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(h){var _=$(this.that).datum();s.call(h,this.that,new We(h,{sourceEvent:this.sourceEvent,target:d,type:h,transform:this.that.__zoom,dispatch:s}),_)}};function I(h,..._){if(!t.apply(this,arguments))return;var y=b(this,_).event(h),A=this.__zoom,S=Math.max(o[0],Math.min(o[1],A.k*Math.pow(2,r.apply(this,arguments)))),M=K(h);if(y.wheel)(y.mouse[0][0]!==M[0]||y.mouse[0][1]!==M[1])&&(y.mouse[1]=A.invert(y.mouse[0]=M)),clearTimeout(y.wheel);else{if(A.k===S)return;y.mouse=[M,A.invert(M)],ct(this),y.start()}Ct(h),y.wheel=setTimeout(x,w),y.zoom("mouse",n(C(v(A,S),y.mouse[0],y.mouse[1]),y.extent,i));function x(){y.wheel=null,y.end()}}function R(h,..._){if(c||!t.apply(this,arguments))return;var y=h.currentTarget,A=b(this,_,!0).event(h),S=$(h.view).on("mousemove.zoom",T,!0).on("mouseup.zoom",z,!0),M=K(h,y),x=h.clientX,B=h.clientY;kt(h.view),Ee(h),A.mouse=[M,this.__zoom.invert(M)],ct(this),A.start();function T(k){if(Ct(k),!A.moved){var H=k.clientX-x,O=k.clientY-B;A.moved=H*H+O*O>F}A.event(k).zoom("mouse",n(C(A.that.__zoom,A.mouse[0]=K(k,y),A.mouse[1]),A.extent,i))}function z(k){S.on("mousemove.zoom mouseup.zoom",null),It(k.view,A.moved),Ct(k),A.event(k).end()}}function P(h,..._){if(t.apply(this,arguments)){var y=this.__zoom,A=K(h.changedTouches?h.changedTouches[0]:h,this),S=y.invert(A),M=y.k*(h.shiftKey?.5:2),x=n(C(v(y,M),A,S),e.apply(this,_),i);Ct(h),a>0?$(this).transition().duration(a).call(E,x,A,h):$(this).call(d.transform,x,A,h)}}function Y(h,..._){if(t.apply(this,arguments)){var y=h.touches,A=y.length,S=b(this,_,h.changedTouches.length===A).event(h),M,x,B,T;for(Ee(h),x=0;xt?.removeEventListener("click",n)),document.addEventListener("keydown",r),window.addCleanup(()=>document.removeEventListener("keydown",r))}function Qe(t){for(;t.firstChild;)t.removeChild(t.firstChild)}var kp=Object.hasOwnProperty;var pu=bu(hu(),1),Lp=(0,pu.default)();function mu(t){return t.document.body.dataset.slug}function Zt(t){let e=ea(ta(t,"index"),!0);return e.length===0?"/":e}function Zo(t){let e=t.split("/").filter(n=>n!=="").slice(0,-1).map(n=>"..").join("/");return e.length===0&&(e="."),e}function du(t,e){return Jo(Zo(t),Zt(e))}function Jo(...t){return t.filter(e=>e!=="").join("/").replace(/\\/\\/+/g,"/")}function jo(t,e){return t===e||t.endsWith("/"+e)}function ta(t,e){return jo(t,e)&&(t=t.slice(0,-e.length)),t}function ea(t,e){return t.startsWith("/")&&(t=t.substring(1)),!e&&t.endsWith("/")&&(t=t.slice(0,-1)),t}var gu="graph-visited";function xu(){return new Set(JSON.parse(localStorage.getItem(gu)??"[]"))}function na(t){let e=xu();e.add(t),localStorage.setItem(gu,JSON.stringify([...e]))}async function Fu(t,e){let n=Zt(e),r=xu(),u=document.getElementById(t);if(!u)return;Qe(u);let{drag:o,zoom:i,depth:a,scale:l,repelForce:s,centerForce:f,linkDistance:D,fontSize:c,opacityScale:p,removeTags:w,showTags:F,focusOnHover:g}=JSON.parse(u.dataset.cfg),d=new Map(Object.entries(await fetchData).map(([x,B])=>[Zt(x),B])),v=[],C=[],m=new Set(d.keys());for(let[x,B]of d.entries()){let T=B.links??[];for(let z of T)m.has(z)&&v.push({source:x,target:z});if(F){let z=B.tags.filter(k=>!w.includes(k)).map(k=>Zt("tags/"+k));C.push(...z.filter(k=>!C.includes(k)));for(let k of z)v.push({source:x,target:k})}}let E=new Set,b=[n,"__SENTINEL"];if(a>=0)for(;a>=0&&b.length>0;){let x=b.shift();if(x==="__SENTINEL")a--,b.push("__SENTINEL");else{E.add(x);let B=v.filter(z=>z.source===x),T=v.filter(z=>z.target===x);b.push(...B.map(z=>z.target),...T.map(z=>z.source))}}else m.forEach(x=>E.add(x)),F&&C.forEach(x=>E.add(x));let N={nodes:[...E].map(x=>{let B=x.startsWith("tags/")?"#"+x.substring(5):d.get(x)?.title??x;return{id:x,text:B,tags:d.get(x)?.tags??[]}}),links:v.filter(x=>E.has(x.source)&&E.has(x.target))},I=Ye(N.nodes).force("charge",Ue().strength(-100*s)).force("link",Ve(N.links).id(x=>x.id).distance(D)).force("center",Xe().strength(f)),R=Math.max(u.offsetHeight,250),P=u.offsetWidth,Y=$("#"+t).append("svg").attr("width",P).attr("height",R).attr("viewBox",[-P/2/l,-R/2/l,P/l,R/l]),pt=Y.append("g").selectAll("line").data(N.links).join("line").attr("class","link").attr("stroke","var(--lightgray)").attr("stroke-width",1),mt=Y.append("g").selectAll("g").data(N.nodes).enter().append("g"),h=x=>x.id===n?"var(--secondary)":r.has(x.id)||x.id.startsWith("tags/")?"var(--tertiary)":"var(--gray)",_=x=>{function B(H,O){H.active||x.alphaTarget(1).restart(),O.fx=O.x,O.fy=O.y}function T(H,O){O.fx=H.x,O.fy=H.y}function z(H,O){H.active||x.alphaTarget(0),O.fx=null,O.fy=null}let k=()=>{};return Be().on("start",o?B:k).on("drag",o?T:k).on("end",o?z:k)};function y(x){let B=v.filter(T=>T.source.id===x.id||T.target.id===x.id).length;return 2+Math.sqrt(B)}let A=[],S=mt.append("circle").attr("class","node").attr("id",x=>x.id).attr("r",y).attr("fill",h).style("cursor","pointer").on("click",(x,B)=>{let T=du(e,B.id);window.spaNavigate(new URL(T,window.location.toString()))}).on("mouseover",function(x,B){let T=B.id,z=at(".link").filter(O=>O.source.id===T||O.target.id===T);g&&(A=z.data().flatMap(O=>[O.source.id,O.target.id]),at(".link").transition().duration(200).style("opacity",.2),at(".node").filter(O=>!A.includes(O.id)).transition().duration(200).style("opacity",.2)),z.transition().duration(200).attr("stroke","var(--gray)").attr("stroke-width",1);let k=c*1.5,H=this.parentNode;$(H).raise().select("text").transition().duration(200).attr("opacityOld",$(H).select("text").style("opacity")).style("opacity",1).style("font-size",k+"em")}).on("mouseleave",function(x,B){g&&(at(".link").transition().duration(200).style("opacity",1),at(".node").transition().duration(200).style("opacity",1));let T=B.id;at(".link").filter(H=>H.source.id===T||H.target.id===T).transition().duration(200).attr("stroke","var(--lightgray)");let k=this.parentNode;$(k).select("text").transition().duration(200).style("opacity",$(k).select("text").attr("opacityOld")).style("font-size",c+"em")}).call(_(I)),M=mt.append("text").attr("dx",0).attr("dy",x=>-y(x)+"px").attr("text-anchor","middle").text(x=>x.text).style("opacity",(p-1)/3.75).style("pointer-events","none").style("font-size",c+"em").raise().call(_(I));i&&Y.call(Ke().extent([[0,0],[P,R]]).scaleExtent([.25,4]).on("zoom",({transform:x})=>{pt.attr("transform",x),S.attr("transform",x);let B=x.k*p,T=Math.max((B-1)/3.75,0);M.attr("transform",x).style("opacity",T)})),I.on("tick",()=>{pt.attr("x1",x=>x.source.x).attr("y1",x=>x.source.y).attr("x2",x=>x.target.x).attr("y2",x=>x.target.y),S.attr("cx",x=>x.x).attr("cy",x=>x.y),M.attr("x",x=>x.x).attr("y",x=>x.y)})}function Du(){let t=mu(window),e=document.getElementById("global-graph-outer"),n=e?.closest(".sidebar");e?.classList.add("active"),n&&(n.style.zIndex="1"),Fu("global-graph-container",t);function r(){e?.classList.remove("active");let u=document.getElementById("global-graph-container");n&&(n.style.zIndex="unset"),u&&Qe(u)}fu(e,r)}document.addEventListener("nav",async t=>{let e=t.detail.url;na(e),await Fu("graph-container",e);let n=document.getElementById("global-graph-icon");n?.addEventListener("click",Du),window.addCleanup(()=>n?.removeEventListener("click",Du))});\n';var graph_default=`.graph > h3 { - font-size: 1rem; - margin: 0; -} -.graph > .graph-outer { - border-radius: 5px; - border: 1px solid var(--lightgray); - box-sizing: border-box; - height: 250px; - margin: 0.5em 0; - position: relative; - overflow: hidden; -} -.graph > .graph-outer > #global-graph-icon { - color: var(--dark); - opacity: 0.5; - width: 18px; - height: 18px; - position: absolute; - padding: 0.2rem; - margin: 0.3rem; - top: 0; - right: 0; - border-radius: 4px; - background-color: transparent; - transition: background-color 0.5s ease; - cursor: pointer; -} -.graph > .graph-outer > #global-graph-icon:hover { - background-color: var(--lightgray); -} -.graph > #global-graph-outer { - position: fixed; - z-index: 9999; - left: 0; - top: 0; - width: 100vw; - height: 100%; - backdrop-filter: blur(4px); - display: none; - overflow: hidden; -} -.graph > #global-graph-outer.active { - display: inline-block; -} -.graph > #global-graph-outer > #global-graph-container { - border: 1px solid var(--lightgray); - background-color: var(--light); - border-radius: 5px; - box-sizing: border-box; - position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - height: 60vh; - width: 50vw; -} -@media all and (max-width: 1510px) { - .graph > #global-graph-outer > #global-graph-container { - width: 90%; - } -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJncmFwaC5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdFO0VBQ0U7RUFDQTs7QUFHRjtFQUNFO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUN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BhZ2VXaWR0aCkge1xuICAgICAgICB3aWR0aDogOTAlO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19 */`;import{jsx as jsx23,jsxs as jsxs12}from"preact/jsx-runtime";var defaultOptions13={localGraph:{drag:!0,zoom:!0,depth:1,scale:1.1,repelForce:.5,centerForce:.3,linkDistance:30,fontSize:.6,opacityScale:1,showTags:!0,removeTags:[],focusOnHover:!1},globalGraph:{drag:!0,zoom:!0,depth:-1,scale:.9,repelForce:.5,centerForce:.3,linkDistance:30,fontSize:.6,opacityScale:1,showTags:!0,removeTags:[],focusOnHover:!0}},Graph_default=__name(opts=>{let Graph=__name(({displayClass,cfg})=>{let localGraph={...defaultOptions13.localGraph,...opts?.localGraph},globalGraph={...defaultOptions13.globalGraph,...opts?.globalGraph};return jsxs12("div",{class:classNames(displayClass,"graph"),children:[jsx23("h3",{children:i18n(cfg.locale).components.graph.title}),jsxs12("div",{class:"graph-outer",children:[jsx23("div",{id:"graph-container","data-cfg":JSON.stringify(localGraph)}),jsx23("svg",{version:"1.1",id:"global-graph-icon",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 55 55",fill:"currentColor",xmlSpace:"preserve",children:jsx23("path",{d:`M49,0c-3.309,0-6,2.691-6,6c0,1.035,0.263,2.009,0.726,2.86l-9.829,9.829C32.542,17.634,30.846,17,29,17 - s-3.542,0.634-4.898,1.688l-7.669-7.669C16.785,10.424,17,9.74,17,9c0-2.206-1.794-4-4-4S9,6.794,9,9s1.794,4,4,4 - c0.74,0,1.424-0.215,2.019-0.567l7.669,7.669C21.634,21.458,21,23.154,21,25s0.634,3.542,1.688,4.897L10.024,42.562 - C8.958,41.595,7.549,41,6,41c-3.309,0-6,2.691-6,6s2.691,6,6,6s6-2.691,6-6c0-1.035-0.263-2.009-0.726-2.86l12.829-12.829 - c1.106,0.86,2.44,1.436,3.898,1.619v10.16c-2.833,0.478-5,2.942-5,5.91c0,3.309,2.691,6,6,6s6-2.691,6-6c0-2.967-2.167-5.431-5-5.91 - v-10.16c1.458-0.183,2.792-0.759,3.898-1.619l7.669,7.669C41.215,39.576,41,40.26,41,41c0,2.206,1.794,4,4,4s4-1.794,4-4 - s-1.794-4-4-4c-0.74,0-1.424,0.215-2.019,0.567l-7.669-7.669C36.366,28.542,37,26.846,37,25s-0.634-3.542-1.688-4.897l9.665-9.665 - C46.042,11.405,47.451,12,49,12c3.309,0,6-2.691,6-6S52.309,0,49,0z M11,9c0-1.103,0.897-2,2-2s2,0.897,2,2s-0.897,2-2,2 - S11,10.103,11,9z M6,51c-2.206,0-4-1.794-4-4s1.794-4,4-4s4,1.794,4,4S8.206,51,6,51z M33,49c0,2.206-1.794,4-4,4s-4-1.794-4-4 - s1.794-4,4-4S33,46.794,33,49z M29,31c-3.309,0-6-2.691-6-6s2.691-6,6-6s6,2.691,6,6S32.309,31,29,31z M47,41c0,1.103-0.897,2-2,2 - s-2-0.897-2-2s0.897-2,2-2S47,39.897,47,41z M49,10c-2.206,0-4-1.794-4-4s1.794-4,4-4s4,1.794,4,4S51.206,10,49,10z`})})]}),jsx23("div",{id:"global-graph-outer",children:jsx23("div",{id:"global-graph-container","data-cfg":JSON.stringify(globalGraph)})})]})},"Graph");return Graph.css=graph_default,Graph.afterDOMLoaded=graph_inline_default,Graph},"default");var backlinks_default=`.backlinks { - position: relative; -} -.backlinks > h3 { - font-size: 1rem; - margin: 0; -} -.backlinks > ul { - list-style: none; - padding: 0; - margin: 0.5rem 0; -} -.backlinks > ul > li > a { - background-color: transparent; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJiYWNrbGlua3Muc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFOztBQUVBO0VBQ0U7RUFDQTs7QUFHRjtFQUNFO0VBQ0E7RUFDQTs7QUFHRTtFQUNFIiwic291cmNlc0NvbnRlbnQiOlsiLmJhY2tsaW5rcyB7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICAmID4gaDMge1xuICAgIGZvbnQtc2l6ZTogMXJlbTtcbiAgICBtYXJnaW46IDA7XG4gIH1cblxuICAmID4gdWwge1xuICAgIGxpc3Qtc3R5bGU6IG5vbmU7XG4gICAgcGFkZGluZzogMDtcbiAgICBtYXJnaW46IDAuNXJlbSAwO1xuXG4gICAgJiA+IGxpIHtcbiAgICAgICYgPiBhIHtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0= */`;import{jsx as jsx24,jsxs as jsxs13}from"preact/jsx-runtime";var Backlinks=__name(({fileData,allFiles,displayClass,cfg})=>{let slug=simplifySlug(fileData.slug),backlinkFiles=allFiles.filter(file=>file.links?.includes(slug));return jsxs13("div",{class:classNames(displayClass,"backlinks"),children:[jsx24("h3",{children:i18n(cfg.locale).components.backlinks.title}),jsx24("ul",{class:"overflow",children:backlinkFiles.length>0?backlinkFiles.map(f=>jsx24("li",{children:jsx24("a",{href:resolveRelative(fileData.slug,f.slug),class:"internal",children:f.frontmatter?.title})})):jsx24("li",{children:i18n(cfg.locale).components.backlinks.noBacklinksFound})})]})},"Backlinks");Backlinks.css=backlinks_default;var Backlinks_default=__name(()=>Backlinks,"default");var search_default=`.search { - min-width: fit-content; - max-width: 14rem; - flex-grow: 0.3; -} -.search > #search-icon { - background-color: var(--lightgray); - border-radius: 4px; - height: 2rem; - display: flex; - align-items: center; - cursor: pointer; - white-space: nowrap; -} -.search > #search-icon > div { - flex-grow: 1; -} -.search > #search-icon > p { - display: inline; - padding: 0 1rem; -} -.search > #search-icon svg { - cursor: pointer; - width: 18px; - min-width: 18px; - margin: 0 0.5rem; -} -.search > #search-icon svg .search-path { - stroke: var(--darkgray); - stroke-width: 2px; - transition: stroke 0.5s ease; -} -.search > #search-container { - position: fixed; - contain: layout; - z-index: 999; - left: 0; - top: 0; - width: 100vw; - height: 100vh; - overflow-y: auto; - display: none; - backdrop-filter: blur(4px); -} -.search > #search-container.active { - display: inline-block; -} -.search > #search-container > #search-space { - width: 65%; - margin-top: 12vh; - margin-left: auto; - margin-right: auto; -} -@media all and (max-width: 1510px) { - .search > #search-container > #search-space { - width: 90%; - } -} -.search > #search-container > #search-space > * { - width: 100%; - border-radius: 7px; - background: var(--light); - box-shadow: 0 14px 50px rgba(27, 33, 48, 0.12), 0 10px 30px rgba(27, 33, 48, 0.16); - margin-bottom: 2em; -} -.search > #search-container > #search-space > input { - box-sizing: border-box; - padding: 0.5em 1em; - font-family: var(--bodyFont); - color: var(--dark); - font-size: 1.1em; - border: 1px solid var(--lightgray); -} -.search > #search-container > #search-space > input:focus { - outline: none; -} -.search > #search-container > #search-space > #search-layout { - display: none; - flex-direction: row; - border: 1px solid var(--lightgray); - flex: 0 0 100%; - box-sizing: border-box; -} -.search > #search-container > #search-space > #search-layout.display-results { - display: flex; -} -.search > #search-container > #search-space > #search-layout[data-preview] > #results-container { - flex: 0 0 min(30%, 450px); -} -@media all and (min-width: 1000px) { - .search > #search-container > #search-space > #search-layout[data-preview] .result-card > p.preview { - display: none; - } - .search > #search-container > #search-space > #search-layout[data-preview] > div:first-child { - border-right: 1px solid var(--lightgray); - border-top-right-radius: unset; - border-bottom-right-radius: unset; - } - .search > #search-container > #search-space > #search-layout[data-preview] > div:last-child { - border-top-left-radius: unset; - border-bottom-left-radius: unset; - } -} -.search > #search-container > #search-space > #search-layout > div { - height: 63vh; - border-radius: 5px; -} -@media all and (max-width: 1000px) { - .search > #search-container > #search-space > #search-layout > #preview-container { - display: none !important; - } - .search > #search-container > #search-space > #search-layout[data-preview] > #results-container { - width: 100%; - height: auto; - flex: 0 0 100%; - } -} -.search > #search-container > #search-space > #search-layout .highlight { - background: color-mix(in srgb, var(--tertiary) 60%, rgba(255, 255, 255, 0)); - border-radius: 5px; - scroll-margin-top: 2rem; -} -.search > #search-container > #search-space > #search-layout > #preview-container { - display: block; - overflow: hidden; - font-family: inherit; - color: var(--dark); - line-height: 1.5em; - font-weight: 400; - overflow-y: auto; - padding: 0 2rem; -} -.search > #search-container > #search-space > #search-layout > #preview-container .preview-inner { - margin: 0 auto; - width: min(750px, 100%); -} -.search > #search-container > #search-space > #search-layout > #preview-container a[role=anchor] { - background-color: transparent; -} -.search > #search-container > #search-space > #search-layout > #results-container { - overflow-y: auto; -} -.search > #search-container > #search-space > #search-layout > #results-container .result-card { - overflow: hidden; - padding: 1em; - cursor: pointer; - transition: background 0.2s ease; - border-bottom: 1px solid var(--lightgray); - width: 100%; - display: block; - box-sizing: border-box; - font-family: inherit; - font-size: 100%; - line-height: 1.15; - margin: 0; - text-transform: none; - text-align: left; - outline: none; - font-weight: inherit; -} -.search > #search-container > #search-space > #search-layout > #results-container .result-card:hover, .search > #search-container > #search-space > #search-layout > #results-container .result-card:focus, .search > #search-container > #search-space > #search-layout > #results-container .result-card.focus { - background: var(--lightgray); -} -.search > #search-container > #search-space > #search-layout > #results-container .result-card > h3 { - margin: 0; -} -.search > #search-container > #search-space > #search-layout > #results-container .result-card > ul.tags { - margin-top: 0.45rem; - margin-bottom: 0; -} -.search > #search-container > #search-space > #search-layout > #results-container .result-card > ul > li > p { - border-radius: 8px; - background-color: var(--highlight); - padding: 0.2rem 0.4rem; - margin: 0 0.1rem; - line-height: 1.4rem; - font-weight: 700; - color: var(--secondary); -} -.search > #search-container > #search-space > #search-layout > #results-container .result-card > ul > li > p.match-tag { - color: var(--tertiary); -} -.search > #search-container > #search-space > #search-layout > #results-container .result-card > p { - margin-bottom: 0; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcX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gIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG4gICAgICAgIHBhZGRpbmc6IDAuNWVtIDFlbTtcbiAgICAgICAgZm9udC1mYW1pbHk6IHZhcigtLWJvZHlGb250KTtcbiAgICAgICAgY29sb3I6IHZhcigtLWRhcmspO1xuICAgICAgICBmb250LXNpemU6IDEuMWVtO1xuICAgICAgICBib3JkZXI6IDFweCBzb2xpZCB2YXIoLS1saWdodGdyYXkpO1xuXG4gICAgICAgICY6Zm9jdXMge1xuICAgICAgICAgIG91dGxpbmU6IG5vbmU7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgJiA+ICNzZWFyY2gtbGF5b3V0IHtcbiAgICAgICAgZGlzcGxheTogbm9uZTtcbiAgICAgICAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgICAgICAgYm9yZGVyOiAxcHggc29saWQgdmFyKC0tbGlnaHRncmF5KTtcbiAgICAgICAgZmxleDogMCAwIDEwMCU7XG4gICAgICAgIGJveC1zaXppbmc6IGJvcmRlci1ib3g7XG5cbiAgICAgICAgJi5kaXNwbGF5LXJlc3VsdHMge1xuICAgICAgICAgIGRpc3BsYXk6IGZsZXg7XG4gICAgICAgIH1cblxuICAgICAgICAmW2RhdGEtcHJldmlld10gPiAjcmVzdWx0cy1jb250YWluZXIge1xuICAgICAgICAgIGZsZXg6IDAgMCBtaW4oMzAlLCA0NTBweCk7XG4gICAgICAgIH1cblxuICAgICAgICBAbWVkaWEgYWxsIGFuZCAobWluLXdpZHRoOiAkdGFibGV0QnJlYWtwb2ludCkge1xuICAgICAgICAgICZbZGF0YS1wcmV2aWV3XSB7XG4gICAgICAgICAgICAmIC5yZXN1bHQtY2FyZCA+IHAucHJldmlldyB7XG4gICAgICAgICAgICAgIGRpc3BsYXk6IG5vbmU7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYgPiBkaXYge1xuICAgICAgICAgICAgICAmOmZpcnN0LWNoaWxkIHtcbiAgICAgICAgICAgICAgICBib3JkZXItcmlnaHQ6IDFweCBzb2xpZCB2YXIoLS1saWdodGdyYXkpO1xuICAgICAgICAgICAgICAgIGJvcmRlci10b3AtcmlnaHQtcmFkaXVzOiB1bnNldDtcbiAgICAgICAgICAgICAgICBib3JkZXItYm90dG9tLXJpZ2h0LXJhZGl1czogdW5zZXQ7XG4gICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAmOmxhc3QtY2hpbGQge1xuICAgICAgICAgICAgICAgIGJvcmRlci10b3AtbGVmdC1yYWRpdXM6IHVuc2V0O1xuICAgICAgICAgICAgICAgIGJvcmRlci1ib3R0b20tbGVmdC1yYWRpdXM6IHVuc2V0O1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJiA+IGRpdiB7XG4gICAgICAgICAgaGVpZ2h0OiBjYWxjKDc1dmggLSAxMnZoKTtcbiAgICAgICAgICBib3JkZXItcmFkaXVzOiA1cHg7XG4gICAgICAgIH1cblxuICAgICAgICBAbWVkaWEgYWxsIGFuZCAobWF4LXdpZHRoOiAkdGFibGV0QnJlYWtwb2ludCkge1xuICAgICAgICAgICYgPiAjcHJldmlldy1jb250YWluZXIge1xuICAgICAgICAgICAgZGlzcGxheTogbm9uZSAhaW1wb3J0YW50O1xuICAgICAgICAgIH1cblxuICAgICAgICAgICZbZGF0YS1wcmV2aWV3XSA+ICNyZXN1bHRzLWNvbnRhaW5lciB7XG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICAgIGhlaWdodDogYXV0bztcbiAgICAgICAgICAgIGZsZXg6IDAgMCAxMDAlO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICYgLmhpZ2hsaWdodCB7XG4gICAgICAgICAgYmFja2dyb3VuZDogY29sb3ItbWl4KGluIHNyZ2IsIHZhcigtLXRlcnRpYXJ5KSA2MCUsIHJnYmEoMjU1LCAyNTUsIDI1NSwgMCkpO1xuICAgICAgICAgIGJvcmRlci1yYWRpdXM6IDVweDtcbiAgICAgICAgICBzY3JvbGwtbWFyZ2luLXRvcDogMnJlbTtcbiAgICAgICAgfVxuXG4gICAgICAgICYgPiAjcHJldmlldy1jb250YWluZXIge1xuICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgICAgICAgZm9udC1mYW1pbHk6IGluaGVyaXQ7XG4gICAgICAgICAgY29sb3I6IHZhcigtLWRhcmspO1xuICAgICAgICAgIGxpbmUtaGVpZ2h0OiAxLjVlbTtcbiAgICAgICAgICBmb250LXdlaWdodDogJG5vcm1hbFdlaWdodDtcbiAgICAgICAgICBvdmVyZmxvdy15OiBhdXRvO1xuICAgICAgICAgIHBhZGRpbmc6IDAgMnJlbTtcblxuICAgICAgICAgICYgLnByZXZpZXctaW5uZXIge1xuICAgICAgICAgICAgbWFyZ2luOiAwIGF1dG87XG4gICAgICAgICAgICB3aWR0aDogbWluKCRwYWdlV2lkdGgsIDEwMCUpO1xuICAgICAgICAgIH1cblxuICAgICAgICAgIGFbcm9sZT1cImFuY2hvclwiXSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB0cmFuc3BhcmVudDtcbiAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAmID4gI3Jlc3VsdHMtY29udGFpbmVyIHtcbiAgICAgICAgICBvdmVyZmxvdy15OiBhdXRvO1xuXG4gICAgICAgICAgJiAucmVzdWx0LWNhcmQge1xuICAgICAgICAgICAgb3ZlcmZsb3c6IGhpZGRlbjtcbiAgICAgICAgICAgIHBhZGRpbmc6IDFlbTtcbiAgICAgICAgICAgIGN1cnNvcjogcG9pbnRlcjtcbiAgICAgICAgICAgIHRyYW5zaXRpb246IGJhY2tncm91bmQgMC4ycyBlYXNlO1xuICAgICAgICAgICAgYm9yZGVyLWJvdHRvbTogMXB4IHNvbGlkIHZhcigtLWxpZ2h0Z3JheSk7XG4gICAgICAgICAgICB3aWR0aDogMTAwJTtcbiAgICAgICAgICAgIGRpc3BsYXk6IGJsb2NrO1xuICAgICAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcblxuICAgICAgICAgICAgLy8gbm9ybWFsaXplIGNhcmQgcHJvcHNcbiAgICAgICAgICAgIGZvbnQtZmFtaWx5OiBpbmhlcml0O1xuICAgICAgICAgICAgZm9udC1zaXplOiAxMDAlO1xuICAgICAgICAgICAgbGluZS1oZWlnaHQ6IDEuMTU7XG4gICAgICAgICAgICBtYXJnaW46IDA7XG4gICAgICAgICAgICB0ZXh0LXRyYW5zZm9ybTogbm9uZTtcbiAgICAgICAgICAgIHRleHQtYWxpZ246IGxlZnQ7XG4gICAgICAgICAgICBvdXRsaW5lOiBub25lO1xuICAgICAgICAgICAgZm9udC13ZWlnaHQ6IGluaGVyaXQ7XG5cbiAgICAgICAgICAgICY6aG92ZXIsXG4gICAgICAgICAgICAmOmZvY3VzLFxuICAgICAgICAgICAgJi5mb2N1cyB7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQ6IHZhcigtLWxpZ2h0Z3JheSk7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYgPiBoMyB7XG4gICAgICAgICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJiA+IHVsLnRhZ3Mge1xuICAgICAgICAgICAgICBtYXJnaW4tdG9wOiAwLjQ1cmVtO1xuICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAmID4gdWwgPiBsaSA+IHAge1xuICAgICAgICAgICAgICBib3JkZXItcmFkaXVzOiA4cHg7XG4gICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLWhpZ2hsaWdodCk7XG4gICAgICAgICAgICAgIHBhZGRpbmc6IDAuMnJlbSAwLjRyZW07XG4gICAgICAgICAgICAgIG1hcmdpbjogMCAwLjFyZW07XG4gICAgICAgICAgICAgIGxpbmUtaGVpZ2h0OiAxLjRyZW07XG4gICAgICAgICAgICAgIGZvbnQtd2VpZ2h0OiAkYm9sZFdlaWdodDtcbiAgICAgICAgICAgICAgY29sb3I6IHZhcigtLXNlY29uZGFyeSk7XG5cbiAgICAgICAgICAgICAgJi5tYXRjaC10YWcge1xuICAgICAgICAgICAgICAgIGNvbG9yOiB2YXIoLS10ZXJ0aWFyeSk7XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJiA+IHAge1xuICAgICAgICAgICAgICBtYXJnaW4tYm90dG9tOiAwO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIiwiJHBhZ2VXaWR0aDogNzUwcHg7XG4kbW9iaWxlQnJlYWtwb2ludDogNjAwcHg7XG4kdGFibGV0QnJlYWtwb2ludDogMTAwMHB4O1xuJHNpZGVQYW5lbFdpZHRoOiAzODBweDtcbiR0b3BTcGFjaW5nOiA2cmVtO1xuJGZ1bGxQYWdlV2lkdGg6ICRwYWdlV2lkdGggKyAyICogJHNpZGVQYW5lbFdpZHRoO1xuJGJvbGRXZWlnaHQ6IDcwMDtcbiRzZW1pQm9sZFdlaWdodDogNjAwO1xuJG5vcm1hbFdlaWdodDogNDAwO1xuIl19 */`;var search_inline_default='var Ke=Object.create;var ce=Object.defineProperty;var $e=Object.getOwnPropertyDescriptor;var Ge=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,Ve=Object.prototype.hasOwnProperty;var fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ze=(e,t,u,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ge(t))!Ve.call(e,n)&&n!==u&&ce(e,n,{get:()=>t[n],enumerable:!(i=$e(t,n))||i.enumerable});return e};var Qe=(e,t,u)=>(u=e!=null?Ke(Je(e)):{},Ze(t||!e||!e.__esModule?ce(u,"default",{value:e,enumerable:!0}):u,e));var ae=fe(()=>{});var Oe=fe((Ut,Ie)=>{"use strict";Ie.exports=Et;function q(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function Et(e){if(e=e||{},e.circles)return gt(e);return e.proto?i:u;function t(n,s){for(var l=Object.keys(n),r=new Array(l.length),D=0;D=this.B&&(E||!F[c])){var s=X(f,i,a),l="";switch(this.G){case"full":if(2s;r--)if(r-s>=this.B){var D=X(f,i,a,n,s);l=c.substring(s,r),$(this,F,l,D,e,u)}break}case"reverse":if(1=this.B&&$(this,F,l,X(f,i,a,n,r),e,u);l=""}case"forward":if(1=this.B&&$(this,F,l,s,e,u);break}default:if(this.C&&(s=Math.min(s/this.C(t,c,a)|0,f-1)),$(this,F,c,s,e,u),E&&1=this.B&&!n[c]){n[c]=1;let g=this.l&&c>s;$(this,o,g?s:c,X(l+(i/2>l?0:1),i,a,r-1,D-1),e,u,g?c:s)}}}}}this.m||(this.register[e]=1)}}return this};function X(e,t,u,i,n){return u&&1=this.B&&!u[f])if(this.s||s||this.map[f])D[E++]=f,u[f]=1;else return i;e=D,n=e.length}if(!n)return i;t||(t=100),r=this.depth&&1=i))));f++);if(F){if(s)return Le(D,i,0);t[t.length]=D;return}}return!u&&D}function Le(e,t,u){return e=e.length===1?e[0]:[].concat.apply([],e),u||e.length>t?e.slice(u,u+t):e}function Ae(e,t,u,i){return u?(i=i&&t>u,e=(e=e[i?t:u])&&e[i?u:t]):e=e[t],e}B.contain=function(e){return!!this.register[e]};B.update=function(e,t){return this.remove(e).add(e,t)};B.remove=function(e,t){let u=this.register[e];if(u){if(this.m)for(let i=0,n;i"u"&&(l=new Promise(o=>{s=o}));let r,D;switch(n||(n=0)){case 0:if(r="reg",this.m){D=p();for(let o in this.register)D[o]=1}else D=this.register;break;case 1:r="cfg",D={doc:0,opt:this.s?1:0};break;case 2:r="map",D=this.map;break;case 3:r="ctx",D=this.h;break;default:typeof u>"u"&&s&&s();return}return Se(e,t||this,u,r,i,n,D,s),l};B.import=function(e,t){if(t)switch(v(t)&&(t=JSON.parse(t)),e){case"cfg":this.s=!!t.opt;break;case"reg":this.m=!1,this.register=t;break;case"map":this.map=t;break;case"ctx":this.h=t}};we(P.prototype);function nt(e){e=e.data;var t=self._index;let u=e.args;var i=e.task;switch(i){case"init":i=e.options||{},e=e.factory,t=i.encode,i.cache=!1,t&&t.indexOf("function")===0&&(i.encode=Function("return "+t)()),e?(Function("return "+e)()(self),self._index=new self.FlexSearch.Index(i),delete self.FlexSearch):self._index=new P(i);break;default:e=e.id,t=t[i].apply(t,u),postMessage(i==="search"?{id:e,msg:t}:{id:e})}}var Ce=0;function N(e){if(!(this instanceof N))return new N(e);var t;e?De(t=e.encode)&&(e.encode=t.toString()):e={},(t=(self||window)._factory)&&(t=t.toString());let u=typeof window>"u"&&self.exports,i=this;this.o=it(t,u,e.worker),this.h=p(),this.o&&(u?this.o.on("message",function(n){i.h[n.id](n.msg),delete i.h[n.id]}):this.o.onmessage=function(n){n=n.data,i.h[n.id](n.msg),delete i.h[n.id]},this.o.postMessage({task:"init",factory:t,options:e}))}J("add");J("append");J("search");J("update");J("remove");function J(e){N.prototype[e]=N.prototype[e+"Async"]=function(){let t=this,u=[].slice.call(arguments);var i=u[u.length-1];let n;return De(i)&&(n=i,u.splice(u.length-1,1)),i=new Promise(function(s){setTimeout(function(){t.h[++Ce]=s,t.o.postMessage({task:e,id:Ce,args:u})})}),n?(i.then(n),this):i}}function it(e,t,u){let i;try{i=t?new(ae()).Worker(__dirname+"/node/node.js"):e?new Worker(URL.createObjectURL(new Blob(["onmessage="+nt.toString()],{type:"text/javascript"}))):new Worker(v(u)?u:"worker/worker.js",{type:"module"})}catch{}return i}function G(e){if(!(this instanceof G))return new G(e);var t=e.document||e.doc||e,u;this.K=[],this.h=[],this.A=[],this.register=p(),this.key=(u=t.key||t.id)&&Y(u,this.A)||"id",this.m=b(e.fastupdate),this.C=(u=t.store)&&u!==!0&&[],this.store=u&&p(),this.I=(u=t.tag)&&Y(u,this.A),this.l=u&&p(),this.cache=(u=e.cache)&&new ue(u),e.cache=!1,this.o=e.worker,this.async=!1,u=p();let i=t.index||t.field||t;v(i)&&(i=[i]);for(let n=0,s,l;nt||u)&&(n=n.slice(u,u+t)),i&&(n=Me.call(this,n)),{tag:e,result:n}}function Me(e){let t=Array(e.length);for(let u=0,i;u"u"&&(l=new Promise(r=>{s=r})),n||(n=0),i||(i=0),ie?.removeEventListener("click",u)),document.addEventListener("keydown",i),window.addCleanup(()=>document.removeEventListener("keydown",i))}function V(e){for(;e.firstChild;)e.removeChild(e.firstChild)}var Ot=Object.hasOwnProperty;var Ue=Qe(Oe(),1),Nt=(0,Ue.default)();function At(e){let t=Bt(mt(e,"index"),!0);return t.length===0?"/":t}var Pe=(e,t,u)=>{let i=new URL(e.getAttribute(t),u);e.setAttribute(t,i.pathname+i.hash)};function ze(e,t){e.querySelectorAll(\'[href^="./"], [href^="../"]\').forEach(u=>Pe(u,"href",t)),e.querySelectorAll(\'[src^="./"], [src^="../"]\').forEach(u=>Pe(u,"src",t))}function Ct(e){let t=e.split("/").filter(u=>u!=="").slice(0,-1).map(u=>"..").join("/");return t.length===0&&(t="."),t}function We(e,t){return dt(Ct(e),At(t))}function dt(...e){return e.filter(t=>t!=="").join("/").replace(/\\/\\/+/g,"/")}function pt(e,t){return e===t||e.endsWith("/"+t)}function mt(e,t){return pt(e,t)&&(e=e.slice(0,-t.length)),e}function Bt(e,t){return e.startsWith("/")&&(e=e.substring(1)),!t&&e.endsWith("/")&&(e=e.slice(0,-1)),e}var j="basic",L="",yt=e=>e.toLowerCase().split(/([^a-z]|[^\\x00-\\x7F])/),Z=new He.Document({charset:"latin:extra",encode:yt,document:{id:"id",tag:"tags",index:[{field:"title",tokenize:"forward"},{field:"content",tokenize:"forward"},{field:"tags",tokenize:"forward"}]}}),wt=new DOMParser,oe=new Map,ne=30,ie=8,vt=5,qe=e=>{let t=e.split(/\\s+/).filter(i=>i.trim()!==""),u=t.length;if(u>1)for(let i=1;in.length-i.length)};function Ne(e,t,u){let i=qe(e),n=t.split(/\\s+/).filter(D=>D!==""),s=0,l=n.length-1;if(u){let D=f=>i.some(a=>f.toLowerCase().startsWith(a.toLowerCase())),o=n.map(D),F=0,E=0;for(let f=0;fg+(d?1:0),0);c>=F&&(F=c,E=f)}s=Math.max(E-ne,0),l=Math.min(s+2*ne,n.length-1),n=n.slice(s,l)}let r=n.map(D=>{for(let o of i)if(D.toLowerCase().includes(o.toLowerCase())){let F=new RegExp(o.toLowerCase(),"gi");return D.replace(F,\'$&\')}return D}).join(" ");return`${s===0?"":"..."}${r}${l===n.length-1?"":"..."}`}function xt(e,t){let u=new DOMParser,i=qe(e),n=u.parseFromString(t.innerHTML,"text/html"),s=r=>{let D=document.createElement("span");return D.className="highlight",D.textContent=r,D},l=(r,D)=>{if(r.nodeType===Node.TEXT_NODE){let o=r.nodeValue??"",F=new RegExp(D.toLowerCase(),"gi"),E=o.match(F);if(!E||E.length===0)return;let f=document.createElement("span"),a=0;for(let c of E){let g=o.indexOf(c,a);f.appendChild(document.createTextNode(o.slice(a,g))),f.appendChild(s(c)),a=g+c.length}f.appendChild(document.createTextNode(o.slice(a))),r.parentNode?.replaceChild(f,r)}else if(r.nodeType===Node.ELEMENT_NODE){if(r.classList.contains("highlight"))return;Array.from(r.childNodes).forEach(o=>l(o,D))}};for(let r of i)l(n.body,r);return n.body}document.addEventListener("nav",async e=>{let t=e.detail.url,u=await fetchData,i=document.getElementById("search-container"),n=i?.closest(".sidebar"),s=document.getElementById("search-icon"),l=document.getElementById("search-bar"),r=document.getElementById("search-layout"),D=Object.keys(u),o=h=>{r?.querySelector(`#${h.id}`)===null&&r?.appendChild(h)},F=r?.dataset?.preview==="true",E,f,a=document.createElement("div");a.id="results-container",o(a),F&&(E=document.createElement("div"),E.id="preview-container",o(E));function c(){i?.classList.remove("active"),l&&(l.value=""),n&&(n.style.zIndex="unset"),a&&V(a),E&&V(E),r&&r.classList.remove("display-results"),j="basic"}function g(h){j=h,n&&(n.style.zIndex="1"),i?.classList.add("active"),l?.focus()}let d=null;async function M(h){if(h.key==="k"&&(h.ctrlKey||h.metaKey)&&!h.shiftKey){h.preventDefault(),i?.classList.contains("active")?c():g("basic");return}else if(h.shiftKey&&(h.ctrlKey||h.metaKey)&&h.key.toLowerCase()==="k"){h.preventDefault(),i?.classList.contains("active")?c():g("tags"),l&&(l.value="#");return}if(d&&d.classList.remove("focus"),!!i?.classList.contains("active")){if(h.key==="Enter")if(a?.contains(document.activeElement)){let A=document.activeElement;if(A.classList.contains("no-match"))return;await W(A),A.click()}else{let A=document.getElementsByClassName("result-card")[0];if(!A||A?.classList.contains("no-match"))return;await W(A),A.click()}else if(h.key==="ArrowUp"||h.shiftKey&&h.key==="Tab"){if(h.preventDefault(),a?.contains(document.activeElement)){let A=d||document.activeElement,C=A?.previousElementSibling;A?.classList.remove("focus"),C?.focus(),C&&(d=C),await W(C)}}else if((h.key==="ArrowDown"||h.key==="Tab")&&(h.preventDefault(),document.activeElement===l||d!==null)){let A=d||document.getElementsByClassName("result-card")[0],C=A?.nextElementSibling;A?.classList.remove("focus"),C?.focus(),C&&(d=C),await W(C)}}}let x=(h,A)=>{let C=D[A];return{id:A,slug:C,title:j==="tags"?u[C].title:Ne(h,u[C].title??""),content:Ne(h,u[C].content??"",!0),tags:w(h.substring(1),u[C].tags)}};function w(h,A){return!A||j!=="tags"?[]:A.map(C=>C.toLowerCase().includes(h.toLowerCase())?`
  • #${C}

  • `:`
  • #${C}

  • `).slice(0,vt)}function k(h){return new URL(We(t,h),location.toString())}let _=({slug:h,title:A,content:C,tags:R})=>{let T=R.length>0?`
      ${R.join("")}
    `:"",m=document.createElement("a");m.classList.add("result-card"),m.id=h,m.href=k(h).toString(),m.innerHTML=`

    ${A}

    ${T}${F&&window.innerWidth>600?"":`

    ${C}

    `}`,m.addEventListener("click",S=>{S.altKey||S.ctrlKey||S.metaKey||S.shiftKey||c()});let I=S=>{S.altKey||S.ctrlKey||S.metaKey||S.shiftKey||c()};async function O(S){if(!S.target)return;let _e=S.target;await W(_e)}return m.addEventListener("mouseenter",O),window.addCleanup(()=>m.removeEventListener("mouseenter",O)),m.addEventListener("click",I),window.addCleanup(()=>m.removeEventListener("click",I)),m};async function Q(h){if(a)if(V(a),h.length===0?a.innerHTML=`\n

    No results.

    \n

    Try another search term?

    \n
    `:a.append(...h.map(_)),h.length===0&&E)V(E);else{let A=a.firstElementChild;A.classList.add("focus"),d=A,await W(A)}}async function z(h){if(oe.has(h))return oe.get(h);let A=k(h).toString(),C=await fetch(A).then(R=>R.text()).then(R=>{if(R===void 0)throw new Error(`Could not fetch ${A}`);let T=wt.parseFromString(R??"","text/html");return ze(T,A),[...T.getElementsByClassName("popover-hint")]});return oe.set(h,C),C}async function W(h){if(!r||!F||!h||!E)return;let A=h.id,C=await z(A).then(T=>T.flatMap(m=>[...xt(L,m).children]));f=document.createElement("div"),f.classList.add("preview-inner"),f.append(...C),E.replaceChildren(f),[...E.querySelectorAll(".highlight")].sort((T,m)=>m.innerHTML.length-T.innerHTML.length)[0]?.scrollIntoView({block:"start"})}async function Fe(h){if(!r||!Z)return;L=h.target.value,r.classList.toggle("display-results",L!==""),j=L.startsWith("#")?"tags":"basic";let A;if(j==="tags"){L=L.substring(1).trim();let m=L.indexOf(" ");if(m!=-1){let I=L.substring(0,m),O=L.substring(m+1).trim();A=await Z.searchAsync({query:O,limit:Math.max(ie,1e4),index:["title","content"],tag:I});for(let S of A)S.result=S.result.slice(0,ie);j="basic",L=O}else A=await Z.searchAsync({query:L,limit:ie,index:["tags"]})}else j==="basic"&&(A=await Z.searchAsync({query:L,limit:ie,index:["title","content"]}));let C=m=>{let I=A.filter(O=>O.field===m);return I.length===0?[]:[...I[0].result]},T=[...new Set([...C("title"),...C("content"),...C("tags")])].map(m=>x(L,m));await Q(T)}document.addEventListener("keydown",M),window.addCleanup(()=>document.removeEventListener("keydown",M)),s?.addEventListener("click",()=>g("basic")),window.addCleanup(()=>s?.removeEventListener("click",()=>g("basic"))),l?.addEventListener("input",Fe),window.addCleanup(()=>l?.removeEventListener("input",Fe)),je(i,c),await St(u)});async function St(e){let t=0,u=[];for(let[i,n]of Object.entries(e))u.push(Z.addAsync(t++,{id:t,slug:i,title:n.title,content:n.content,tags:n.tags}));return await Promise.all(u)}\n';import{jsx as jsx25,jsxs as jsxs14}from"preact/jsx-runtime";var defaultOptions14={enablePreview:!0},Search_default=__name(userOpts=>{let Search=__name(({displayClass,cfg})=>{let opts={...defaultOptions14,...userOpts},searchPlaceholder=i18n(cfg.locale).components.search.searchBarPlaceholder;return jsxs14("div",{class:classNames(displayClass,"search"),children:[jsxs14("div",{id:"search-icon",children:[jsx25("p",{children:i18n(cfg.locale).components.search.title}),jsx25("div",{}),jsxs14("svg",{tabIndex:0,"aria-labelledby":"title desc",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 19.9 19.7",children:[jsx25("title",{id:"title",children:"Search"}),jsx25("desc",{id:"desc",children:"Search"}),jsxs14("g",{class:"search-path",fill:"none",children:[jsx25("path",{"stroke-linecap":"square",d:"M18.5 18.3l-5.4-5.4"}),jsx25("circle",{cx:"8",cy:"8",r:"7"})]})]})]}),jsx25("div",{id:"search-container",children:jsxs14("div",{id:"search-space",children:[jsx25("input",{autocomplete:"off",id:"search-bar",name:"search",type:"text","aria-label":searchPlaceholder,placeholder:searchPlaceholder}),jsx25("div",{id:"search-layout","data-preview":opts.enablePreview})]})})]})},"Search");return Search.afterDOMLoaded=search_inline_default,Search.css=search_default,Search},"default");var footer_default=`footer { - text-align: left; - margin-bottom: 4rem; - opacity: 0.7; -} -footer ul { - list-style: none; - margin: 0; - padding: 0; - display: flex; - flex-direction: row; - gap: 1rem; - margin-top: -1rem; -} - -.rings { - display: flex; - flex-direction: column; -} - -.ring { - display: flex; - flex-flow: row wrap; - justify-content: center; - align-items: center; -} - -.ringbtn { - font-size: 0.9rem !important; - border-radius: 16px !important; - border: none !important; - background-color: rgba(100, 100, 100, 0.3) !important; - padding: 0.4rem 0.8rem !important; - margin: 0.2rem 0.4rem !important; - text-decoration: none !important; - width: fit-content !important; - height: fit-content !important; - cursor: pointer !important; -} - -.ringbtn:hover { - background-color: rgba(100, 100, 100, 0.5) !important; -} - -.ring svg { - display: none !important; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJmb290ZXIuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFO0VBQ0E7RUFDQTs7QUFFQTtFQUNFO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBOzs7QUFJSjtFQUNFO0VBQ0E7OztBQUVGO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7OztBQUdGO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7OztBQUdGO0VBQ0U7OztBQUdGO0VBQ0UiLCJzb3VyY2VzQ29udGVudCI6WyJmb290ZXIge1xuICB0ZXh0LWFsaWduOiBsZWZ0O1xuICBtYXJnaW4tYm90dG9tOiA0cmVtO1xuICBvcGFjaXR5OiAwLjc7XG5cbiAgJiB1bCB7XG4gICAgbGlzdC1zdHlsZTogbm9uZTtcbiAgICBtYXJnaW46IDA7XG4gICAgcGFkZGluZzogMDtcbiAgICBkaXNwbGF5OiBmbGV4O1xuICAgIGZsZXgtZGlyZWN0aW9uOiByb3c7XG4gICAgZ2FwOiAxcmVtO1xuICAgIG1hcmdpbi10b3A6IC0xcmVtO1xuICB9XG59XG5cbi5yaW5ncyB7XG4gIGRpc3BsYXk6ZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IGNvbHVtbjtcbn1cbi5yaW5nIHtcbiAgZGlzcGxheTpmbGV4O1xuICBmbGV4LWZsb3c6IHJvdyB3cmFwO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgYWxpZ24taXRlbXM6IGNlbnRlcjtcbn1cblxuLnJpbmdidG4ge1xuICBmb250LXNpemU6IDAuOXJlbSAhaW1wb3J0YW50O1xuICBib3JkZXItcmFkaXVzOiAxNnB4ICFpbXBvcnRhbnQ7XG4gIGJvcmRlcjpub25lICFpbXBvcnRhbnQ7XG4gIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMTAwLDEwMCwxMDAsIDAuMykgIWltcG9ydGFudDtcbiAgcGFkZGluZzogMC40cmVtIDAuOHJlbSAhaW1wb3J0YW50O1xuICBtYXJnaW46IDAuMnJlbSAwLjRyZW0gIWltcG9ydGFudDtcbiAgdGV4dC1kZWNvcmF0aW9uOiBub25lICFpbXBvcnRhbnQ7XG4gIHdpZHRoOiBmaXQtY29udGVudCAhaW1wb3J0YW50O1xuICBoZWlnaHQ6IGZpdC1jb250ZW50ICFpbXBvcnRhbnQ7XG4gIGN1cnNvcjpwb2ludGVyICFpbXBvcnRhbnQ7XG59XG5cbi5yaW5nYnRuOmhvdmVye1xuICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDEwMCwxMDAsMTAwLCAwLjUpICFpbXBvcnRhbnQ7XG59XG5cbi5yaW5nIHN2ZyB7XG4gIGRpc3BsYXk6bm9uZSAhaW1wb3J0YW50O1xufSJdfQ== */`;import{jsx as jsx26,jsxs as jsxs15}from"preact/jsx-runtime";import{Fragment as Fragment6,jsx as jsx27}from"preact/jsx-runtime";var DesktopOnly_default=__name(component=>{if(component){let Component=component,DesktopOnly=__name(props=>jsx27(Component,{displayClass:"desktop-only",...props}),"DesktopOnly");return DesktopOnly.displayName=component.displayName,DesktopOnly.afterDOMLoaded=component?.afterDOMLoaded,DesktopOnly.beforeDOMLoaded=component?.beforeDOMLoaded,DesktopOnly.css=component?.css,DesktopOnly}else return()=>jsx27(Fragment6,{})},"default");import{Fragment as Fragment7,jsx as jsx28}from"preact/jsx-runtime";var MobileOnly_default=__name(component=>{if(component){let Component=component,MobileOnly=__name(props=>jsx28(Component,{displayClass:"mobile-only",...props}),"MobileOnly");return MobileOnly.displayName=component.displayName,MobileOnly.afterDOMLoaded=component?.afterDOMLoaded,MobileOnly.beforeDOMLoaded=component?.beforeDOMLoaded,MobileOnly.css=component?.css,MobileOnly}else return()=>jsx28(Fragment7,{})},"default");import{jsx as jsx29,jsxs as jsxs16}from"preact/jsx-runtime";var breadcrumbs_default=`.breadcrumb-container { - margin: 0; - margin-top: 0.75rem; - padding: 0; - display: flex; - flex-direction: row; - flex-wrap: wrap; - gap: 0.5rem; -} - -.breadcrumb-element { - display: flex; - flex-direction: row; - align-items: center; - justify-content: center; -} -.breadcrumb-element p { - margin: 0; - margin-left: 0.5rem; - padding: 0; - line-height: normal; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJicmVhZGNydW1icy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7OztBQUdGO0VBT0U7RUFDQTtFQUNBO0VBQ0E7O0FBVEE7RUFDRTtFQUNBO0VBQ0E7RUFDQSIsInNvdXJjZXNDb250ZW50IjpbIi5icmVhZGNydW1iLWNvbnRhaW5lciB7XG4gIG1hcmdpbjogMDtcbiAgbWFyZ2luLXRvcDogMC43NXJlbTtcbiAgcGFkZGluZzogMDtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC1kaXJlY3Rpb246IHJvdztcbiAgZmxleC13cmFwOiB3cmFwO1xuICBnYXA6IDAuNXJlbTtcbn1cblxuLmJyZWFkY3J1bWItZWxlbWVudCB7XG4gIHAge1xuICAgIG1hcmdpbjogMDtcbiAgICBtYXJnaW4tbGVmdDogMC41cmVtO1xuICAgIHBhZGRpbmc6IDA7XG4gICAgbGluZS1oZWlnaHQ6IG5vcm1hbDtcbiAgfVxuICBkaXNwbGF5OiBmbGV4O1xuICBmbGV4LWRpcmVjdGlvbjogcm93O1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbn1cbiJdfQ== */`;import{Fragment as Fragment8,jsx as jsx30,jsxs as jsxs17}from"preact/jsx-runtime";var defaultOptions15={spacerSymbol:"\u276F",rootName:"Home",resolveFrontmatterTitle:!0,hideOnRoot:!0,showCurrentPage:!0};function formatCrumb(displayName,baseSlug,currentSlug){return{displayName:displayName.replaceAll("-"," "),path:resolveRelative(baseSlug,currentSlug)}}__name(formatCrumb,"formatCrumb");var Breadcrumbs_default=__name(opts=>{let options2={...defaultOptions15,...opts},folderIndex,Breadcrumbs=__name(({fileData,allFiles,displayClass})=>{if(options2.hideOnRoot&&fileData.slug==="index")return jsx30(Fragment8,{});let crumbs=[formatCrumb(options2.rootName,fileData.slug,"/")];if(!folderIndex&&options2.resolveFrontmatterTitle){folderIndex=new Map;for(let file of allFiles){let folderParts=file.slug?.split("/");folderParts?.at(-1)==="index"&&folderIndex.set(folderParts.slice(0,-1).join("/"),file)}}let slugParts=fileData.slug?.split("/");if(slugParts){let isTagPath=slugParts[0]==="tags",currentPath="";for(let i=0;ijsxs17("div",{class:"breadcrumb-element",children:[jsx30("a",{href:crumb.path,children:crumb.displayName}),index!==crumbs.length-1&&jsx30("p",{children:` ${options2.spacerSymbol} `})]}))})},"Breadcrumbs");return Breadcrumbs.css=breadcrumbs_default,Breadcrumbs},"default");import{jsx as jsx31}from"preact/jsx-runtime";var PageImage=__name(({fileData,cfg,displayClass})=>{let title=cfg?.pageTitle??i18n(cfg.locale).propertyDefaults.title,baseDir=pathToRoot(fileData.slug);return jsx31("a",{href:baseDir,children:jsx31("img",{width:"100px",height:"100px",src:"https://assets.nexie.net/profileimage.webp",style:"width:100px; height:100px"})})},"PageImage");PageImage.css=` -.page-title { - margin: 0; -} -`;var PageImage_default=__name(()=>PageImage,"default");import{jsx as jsx32,jsxs as jsxs18}from"preact/jsx-runtime";var Homebar=__name(({fileData,cfg,displayClass})=>{let title=cfg?.pageTitle??i18n(cfg.locale).propertyDefaults.title,baseDir=pathToRoot(fileData.slug);return jsxs18("div",{class:"homebar",children:[jsx32("a",{class:"hb-button",href:"/",children:"Home"}),jsx32("a",{class:"hb-button",href:"/Characters",children:"Characters"}),jsx32("a",{class:"hb-button",href:"/Links",children:"Where you can find me"}),jsx32("a",{class:"hb-button",href:"/Projects",children:"Projects"}),jsx32("a",{class:"hb-button",href:"/Articles",children:"Articles"})]})},"Homebar");Homebar.css=` -.homebar { - margin: 0; - display: flex; - flex-direction: row; - flex-wrap: wrap; -} -.hb-button { - font-size: 0.9rem; - border-radius: 16px; - border:none; - background-color: rgba(100,100,100, 0.3); - padding: 0.4rem 0.8rem; - margin: 0.2rem 0.4rem; - text-decoration: none; - width: fit-content; - height: fit-content; - cursor:pointer; -} -.hb-button:hover { - background-color: rgba(100,100,100, 0.5); -} -`;var Homebar_default=__name(()=>Homebar,"default");import{jsx as jsx33,jsxs as jsxs19}from"preact/jsx-runtime";var Footer_links_default=__name(opts=>{let FooterLinks=__name(({displayClass,cfg})=>{let year=new Date().getFullYear(),links=opts?.links??[],rings=opts?.rings??[];return jsxs19("div",{children:[jsx33("hr",{}),jsx33("ul",{children:Object.entries(links).map(([text,link])=>jsx33("li",{children:jsx33("a",{href:link,children:text})}))}),jsx33("div",{class:"rings",children:Object.entries(rings).map(([text,link])=>jsxs19("div",{class:"ring",children:[jsx33("a",{class:"ringbtn",href:link+"previous?host=derg.cz",children:"\u25C4"}),jsx33("a",{class:"ringbtn",href:link,children:text}),jsx33("a",{class:"ringbtn",href:link+"random",children:"Random"}),jsx33("a",{class:"ringbtn",href:link+"next?host=derg.cz",children:"\u25BA"})]}))})]})},"FooterLinks");return FooterLinks.css=footer_default,FooterLinks},"default");var customfooter_default=`footer { - text-align: left; - margin-bottom: 4rem; -} -footer > * { - opacity: 0.7; -} -footer ul { - list-style: none; - margin: 0; - padding: 0; - display: flex; - flex-direction: row; - gap: 1rem; - margin-top: -1rem; -} - -.rings { - display: flex; - flex-direction: column; -} - -.ring { - display: flex; - flex-flow: row wrap; - justify-content: center; - align-items: center; -} - -.ringbtn { - font-size: 0.9rem !important; - border-radius: 16px !important; - border: none !important; - background-color: rgba(100, 100, 100, 0.3) !important; - padding: 0.4rem 0.8rem !important; - margin: 0.2rem 0.4rem !important; - text-decoration: none !important; - width: fit-content !important; - height: fit-content !important; - cursor: pointer !important; -} - -.ringbtn:hover { - background-color: rgba(100, 100, 100, 0.5) !important; -} - -.ring svg { - display: none !important; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJjdXN0b21mb290ZXIuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFO0VBQ0E7O0FBRUE7RUFDRTs7QUFHRjtFQUNFO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBOzs7QUFJSjtFQUNFO0VBQ0E7OztBQUVGO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7OztBQUdGO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7OztBQUdGO0VBQ0U7OztBQUdGO0VBQ0UiLCJzb3VyY2VzQ29udGVudCI6WyJmb290ZXIge1xuICB0ZXh0LWFsaWduOiBsZWZ0O1xuICBtYXJnaW4tYm90dG9tOiA0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kgIWltcG9ydGFudDtcbn1cblxuLnJpbmcgc3ZnIHtcbiAgZGlzcGxheTpub25lICFpbXBvcnRhbnQ7XG59Il19 */`;var buttons8831_default=`.btn8831-container { - display: flex; - flex-direction: column; - flex-wrap: wrap; - justify-content: center; - max-width: 60%; - margin: 0 auto; - margin-top: 10px; - opacity: 1; -} - -.button-item { - margin: 5px; - opacity: 1; - display: flex; -} - -.button-group a, .button-group iframe { - width: 88px; - height: 31px; -} - -.button-group img { - width: 88px; - height: 31px; - opacity: 1; - margin: 0; -} - -.button-group { - display: flex; - flex-wrap: wrap; - justify-content: center; - margin-bottom: 10px; /* Space between groups */ -} - -.btn8831-container hr { - width: 100%; - border: 0; - border-top: 1px solid #ccc; - margin: 10px 0; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3R5bGVzIiwic291cmNlcyI6WyJidXR0b25zODgzMS5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQ0U7RUFDQTtFQUNBO0VBQ0E7RUFDQTtFQUNBO0VBQ0E7RUFDQTs7O0FBRUY7RUFDRTtFQUNBO0VBQ0E7OztBQUVGO0VBQ0U7RUFDQTs7O0FBRUY7RUFDRTtFQUNBO0VBQ0E7RUFDQTs7O0FBR0Y7RUFDRTtFQUNBO0VBQ0E7RUFDQTs7O0FBR0Y7RUFDRTtFQUNBO0VBQ0E7RUFDQSIsInNvdXJjZXNDb250ZW50IjpbIi5idG44ODMxLWNvbnRhaW5lciB7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XG4gIGZsZXgtd3JhcDogd3JhcDtcbiAganVzdGlmeS1jb250ZW50OiBjZW50ZXI7XG4gIG1heC13aWR0aDogNjAlO1xuICBtYXJnaW46IDAgYXV0bztcbiAgbWFyZ2luLXRvcDogMTBweDtcbiAgb3BhY2l0eTogMS4wO1xufVxuLmJ1dHRvbi1pdGVtIHtcbiAgbWFyZ2luOiA1cHg7XG4gIG9wYWNpdHk6IDE7XG4gIGRpc3BsYXk6IGZsZXg7XG59XG4uYnV0dG9uLWdyb3VwIGEsIC5idXR0b24tZ3JvdXAgaWZyYW1lIHtcbiAgd2lkdGg6IDg4cHg7XG4gIGhlaWdodDogMzFweDtcbn1cbi5idXR0b24tZ3JvdXAgaW1nIHtcbiAgd2lkdGg6IDg4cHg7XG4gIGhlaWdodDogMzFweDtcbiAgb3BhY2l0eTogMTtcbiAgbWFyZ2luOiAwO1xufVxuXG4uYnV0dG9uLWdyb3VwIHtcbiAgZGlzcGxheTogZmxleDtcbiAgZmxleC13cmFwOiB3cmFwO1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgbWFyZ2luLWJvdHRvbTogMTBweDsgLyogU3BhY2UgYmV0d2VlbiBncm91cHMgKi9cbn1cblxuLmJ0bjg4MzEtY29udGFpbmVyIGhyIHtcbiAgd2lkdGg6IDEwMCU7XG4gIGJvcmRlcjogMDtcbiAgYm9yZGVyLXRvcDogMXB4IHNvbGlkICNjY2M7XG4gIG1hcmdpbjogMTBweCAwO1xufVxuIl19 */`;var buttons_default=[{image:"https://assets.derg.cz/buttons/theysosmall_by_liah.png",url:"https://smolderg.xyz",alt:'"They so small!" in large letters accompanied by an arrow pointing at a tiny dragon in the corner of the image, surrounded by the smaller bits of text "Wow!" "Look!" and "Pet them!"',title:'"They so small!" in large letters accompanied by an arrow pointing at a tiny dragon in the corner of the image, surrounded by the smaller bits of text "Wow!" "Look!" and "Pet them!"',type:"friend",contentType:"image"},{url:"//incr.easrng.net/badge?key=dergcz",alt:"Increment Badge",title:"Increment Badge",type:"misc",contentType:"iframe",iframeAttributes:{style:"background: url(//incr.easrng.net/bg.gif)",width:"88",height:"31",frameborder:"0"}},{image:"https://assets.derg.cz/buttons/sirlan.png",url:"https://dragon-vi.be",alt:"Button with the text Sirlan which points to dragon-vi.be",title:"Sirlan, the adorable eastern derg",type:"friend",contentType:"image"},{image:"https://assets.derg.cz/buttons/say-no-to-web3.gif",url:"https://assets.derg.cz/buttons/say-no-to-web3.gif",alt:"Say no to web3! Keep the web free!",title:"Say no to web3! Keep the web free!",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/queerpride.gif",url:"https://assets.derg.cz/buttons/queerpride.gif",alt:"Queer pride!",title:"Queer pride!",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/dragons-now.jpg",url:"https://assets.derg.cz/buttons/dragons-now.jpg",alt:'Button witht the text "dragons now!" and a picture of a flying dragon',title:"DRAGONS NOW!",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/paws.gif",url:"https://assets.derg.cz/buttons/paws.gif",alt:"",title:"",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/new-tab.gif",url:"https://assets.derg.cz/buttons/new-tab.gif",alt:"Don't let this img be lonely",title:"Don't let this img be lonely",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/newlambda.gif",url:"https://assets.derg.cz/buttons/newlambda.gif",alt:"HL:New Lambda research facility",title:"HL:New Lambda research facility",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/phonechump.gif",url:"https://assets.derg.cz/buttons/phonechump.gif",alt:"Don't be a phone chump! Get a computer!",title:"Don't be a phone chump! Get a computer!",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/narrow-head.gif",url:"https://assets.derg.cz/buttons/narrow-head.gif",alt:"Coming soon.",title:"C\u0334\u0357\u033Co\u0336\u0312\u0328m\u0337\u0352\u0353i\u0334\u0304\u0332n\u0337\u0310\u0323g\u0336\u035B\u0339 \u0336\u0357\u0323s\u0338\u0360\u033Bo\u0337\u0304\u0320o\u0335\u0350\u031Dn\u0334\u031A\u0321.\u0337\u0306\u033C",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/screw.gif",url:"http://localhost/",alt:"Screw y'all, I'm going back to my local network",title:"Screw y'all, I'm going back to my local network",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/transnow2.gif",url:"https://assets.derg.cz/buttons/transnow2.gif",alt:"TRANS RIGHTS NOW!",title:"TRANS RIGHTS NOW!",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/linkex.gif",url:"https://assets.derg.cz/buttons/linkex.gif",alt:"Link Exchange, run by people!",title:"Link Exchange, run by people!",type:"misc",contentType:"image"},{image:"https://assets.derg.cz/buttons/button-piracy.gif",url:"https://assets.derg.cz/buttons/button-piracy.gif",alt:"Piracy Now!",title:"Piracy Now!",type:"misc",contentType:"image"}];import DOMPurify from"dompurify";import{jsx as jsx34,jsxs as jsxs20}from"preact/jsx-runtime";var Btn8831_default=__name(()=>{let Btn8831=__name(props=>{let{displayClass}=props,groupedButtons=groupButtonsByType(buttons_default),typeOrder=["friend","standard","misc"];return jsx34("div",{class:`btn8831-container ${displayClass??""}`,children:typeOrder.map((type,index)=>{let buttons=groupedButtons[type];return buttons&&buttons.length>0?jsxs20("div",{children:[jsx34("div",{class:"button-group",children:buttons.map((button,idx)=>jsx34("div",{class:"button-item",children:renderButtonContent(button)},idx))}),index{let type=button.type?.toLowerCase()||"standard";type==="fren"&&(type="friend"),groups[type]||(type="standard"),groups[type].push(button)}),groups}__name(groupButtonsByType,"groupButtonsByType");function renderButtonContent(button){let contentType=button.contentType?.toLowerCase()||"image",content=null;if(contentType!=="image"){if(contentType!=="iframe"){if(contentType==="text"){let borderColors=button.border||["#000","#000"],textContent=button.text||"",textColor=button.textColor||"#000",sanitizedTextContent=DOMPurify.sanitize(textContent),divStyle={width:"88px",height:"31px",boxSizing:"border-box",borderStyle:"solid",borderWidth:"2px",borderTopColor:borderColors[0],borderRightColor:borderColors[0],borderBottomColor:borderColors[1],borderLeftColor:borderColors[1],display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",overflow:"hidden",color:textColor},textElement=jsx34("div",{style:divStyle,dangerouslySetInnerHTML:{__html:sanitizedTextContent}});button.url?content=jsx34("a",{href:button.url,children:textElement}):content=textElement}else if(contentType!=="custom")return null}}return content}__name(renderButtonContent,"renderButtonContent");import{jsx as jsx35,jsxs as jsxs21}from"preact/jsx-runtime";var CustomFooter_default=__name(opts=>{let FooterLinks=Footer_links_default(opts),Btn8831=Btn8831_default(),CustomFooter=__name(props=>jsxs21("footer",{class:`${props.displayClass??""}`,children:[jsx35(FooterLinks,{...props}),jsx35(Btn8831,{...props})]}),"CustomFooter");return CustomFooter.css=customfooter_default+buttons8831_default,CustomFooter},"default");var sharedPageComponents={head:Head_default(),header:[DesktopOnly_default(PageImage_default()),Homebar_default()],footer:CustomFooter_default({links:{"Main social profile":"https://derg.social/@ulysia"},rings:{Fediring:"https://fediring.net/"}})},defaultContentPageLayout={beforeBody:[MobileOnly_default(Explorer_default()),Breadcrumbs_default(),ArticleTitle_default(),ContentMeta_default(),TagList_default()],left:[PageTitle_default(),MobileOnly_default(Spacer_default()),Search_default(),Darkmode_default(),DesktopOnly_default(Explorer_default())],right:[Graph_default(),DesktopOnly_default(TableOfContents_default()),Backlinks_default()]},defaultListPageLayout={beforeBody:[MobileOnly_default(Explorer_default()),Breadcrumbs_default(),ArticleTitle_default(),ContentMeta_default()],left:[PageTitle_default(),MobileOnly_default(Spacer_default()),Search_default(),Darkmode_default(),DesktopOnly_default(Explorer_default())],right:[Graph_default({localGraph:{depth:-1},globalGraph:{depth:-1}}),DesktopOnly_default(TableOfContents_default()),Backlinks_default()]};import chalk4 from"chalk";import path6 from"path";import fs2 from"fs";var write=__name(async({ctx,slug,ext,content})=>{let pathToPage=joinSegments(ctx.argv.output,slug+ext),dir=path6.dirname(pathToPage);return await fs2.promises.mkdir(dir,{recursive:!0}),await fs2.promises.writeFile(pathToPage,content),pathToPage},"write");var DepGraph=class{static{__name(this,"DepGraph")}_graph=new Map;constructor(){this._graph=new Map}export(){return{nodes:this.nodes,edges:this.edges}}toString(){return JSON.stringify(this.export(),null,2)}get nodes(){return Array.from(this._graph.keys())}get edges(){let edges=[];return this.forEachEdge(edge=>edges.push(edge)),edges}hasNode(node){return this._graph.has(node)}addNode(node){this._graph.has(node)||this._graph.set(node,{incoming:new Set,outgoing:new Set})}removeNode(node){if(this._graph.has(node)){for(let target of this._graph.get(node).outgoing)this.removeEdge(node,target);for(let source of this._graph.get(node).incoming)this.removeEdge(source,node);this._graph.delete(node)}}forEachNode(callback){for(let node of this._graph.keys())callback(node)}hasEdge(from,to){return!!this._graph.get(from)?.outgoing.has(to)}addEdge(from,to){this.addNode(from),this.addNode(to),this._graph.get(from).outgoing.add(to),this._graph.get(to).incoming.add(from)}removeEdge(from,to){this._graph.has(from)&&this._graph.has(to)&&(this._graph.get(from).outgoing.delete(to),this._graph.get(to).incoming.delete(from))}outDegree(node){return this.hasNode(node)?this._graph.get(node).outgoing.size:-1}inDegree(node){return this.hasNode(node)?this._graph.get(node).incoming.size:-1}forEachOutNeighbor(node,callback){this._graph.get(node)?.outgoing.forEach(callback)}forEachInNeighbor(node,callback){this._graph.get(node)?.incoming.forEach(callback)}forEachEdge(callback){for(let[source,{outgoing}]of this._graph.entries())for(let target of outgoing)callback([source,target])}mergeGraph(other){other.forEachEdge(([source,target])=>{this.addNode(source),this.addNode(target),this.addEdge(source,target)})}updateIncomingEdgesForNode(other,node){this.addNode(node),other.forEachInNeighbor(node,neighbor=>{this.addEdge(neighbor,node)}),this.forEachEdge(([source,target])=>{target===node&&!other.hasEdge(source,target)&&this.removeEdge(source,target)})}removeOrphanNodes(){let orphanNodes=new Set;return this.forEachNode(node=>{this.inDegree(node)===0&&this.outDegree(node)===0&&orphanNodes.add(node)}),orphanNodes.forEach(node=>{this.removeNode(node)}),orphanNodes}getLeafNodes(node){let stack=[node],visited=new Set,leafNodes=new Set;for(;stack.length>0;){let node2=stack.pop();visited.has(node2)||(visited.add(node2),this.outDegree(node2)===0&&leafNodes.add(node2),this.forEachOutNeighbor(node2,neighbor=>{visited.has(neighbor)||stack.push(neighbor)}))}return leafNodes}getLeafNodeAncestors(node){let leafNodes=this.getLeafNodes(node),visited=new Set,upstreamNodes=new Set;return leafNodes.forEach(leafNode=>{let stack=[leafNode];for(;stack.length>0;){let node2=stack.pop();visited.has(node2)||(visited.add(node2),this.outDegree(node2)!==0&&upstreamNodes.add(node2),this.forEachInNeighbor(node2,parentNode=>{visited.has(parentNode)||stack.push(parentNode)}))}}),upstreamNodes}};var parseDependencies=__name((argv,hast,file)=>{let dependencies=[];return visit6(hast,"element",elem=>{let ref=null;if(["script","img","audio","video","source","iframe"].includes(elem.tagName)&&elem?.properties?.src?ref=elem.properties.src.toString():["a","link"].includes(elem.tagName)&&elem?.properties?.href&&(ref=elem.properties.href.toString()),ref===null||!isRelativeURL(ref))return;let fp=path7.join(file.data.filePath,path7.relative(argv.directory,ref)).replace(/\\/g,"/");fp.split("/").pop()?.includes(".")||(fp+=".md"),dependencies.push(fp)}),dependencies},"parseDependencies"),ContentPage=__name(userOpts=>{let opts={...sharedPageComponents,...defaultContentPageLayout,pageBody:Content_default(),...userOpts},{head:Head,header,beforeBody,pageBody,left,right,footer:Footer}=opts,Header2=Header_default(),Body2=Body_default();return{name:"ContentPage",getQuartzComponents(){return[Head,Header2,Body2,...header,...beforeBody,pageBody,...left,...right,Footer]},async getDependencyGraph(ctx,content,_resources){let graph=new DepGraph;for(let[tree,file]of content){let sourcePath=file.data.filePath,slug=file.data.slug;graph.addEdge(sourcePath,joinSegments(ctx.argv.output,slug+".html")),parseDependencies(ctx.argv,tree,file).forEach(dep=>{graph.addEdge(dep,sourcePath)})}return graph},async emit(ctx,content,resources){let cfg=ctx.cfg.configuration,fps=[],allFiles=content.map(c=>c[1].data),containsIndex=!1;for(let[tree,file]of content){let slug=file.data.slug;slug==="index"&&(containsIndex=!0);let externalResources=pageResources(pathToRoot(slug),resources),componentData={ctx,fileData:file.data,externalResources,cfg,children:[],tree,allFiles},content2=renderPage(cfg,slug,componentData,opts,externalResources),fp=await write({ctx,content:content2,slug,ext:".html"});fps.push(fp)}return!containsIndex&&!ctx.argv.fastRebuild&&console.log(chalk4.yellow(` -Warning: you seem to be missing an \`index.md\` home page file at the root of your \`${ctx.argv.directory}\` folder. This may cause errors when deploying.`)),fps}}},"ContentPage");import{VFile}from"vfile";function defaultProcessedContent(vfileData){let root={type:"root",children:[]},vfile=new VFile("");return vfile.data=vfileData,[root,vfile]}__name(defaultProcessedContent,"defaultProcessedContent");var TagPage=__name(userOpts=>{let opts={...sharedPageComponents,...defaultListPageLayout,pageBody:TagContent_default(),...userOpts},{head:Head,header,beforeBody,pageBody,left,right,footer:Footer}=opts,Header2=Header_default(),Body2=Body_default();return{name:"TagPage",getQuartzComponents(){return[Head,Header2,Body2,...header,...beforeBody,pageBody,...left,...right,Footer]},async getDependencyGraph(ctx,content,_resources){let graph=new DepGraph;for(let[_tree,file]of content){let sourcePath=file.data.filePath,tags=(file.data.frontmatter?.tags??[]).flatMap(getAllSegmentPrefixes);tags.length>0&&tags.push("index");for(let tag of tags)graph.addEdge(sourcePath,joinSegments(ctx.argv.output,"tags",tag+".html"))}return graph},async emit(ctx,content,resources){let fps=[],allFiles=content.map(c=>c[1].data),cfg=ctx.cfg.configuration,tags=new Set(allFiles.flatMap(data=>data.frontmatter?.tags??[]).flatMap(getAllSegmentPrefixes));tags.add("index");let tagDescriptions=Object.fromEntries([...tags].map(tag=>{let title=tag==="index"?i18n(cfg.locale).pages.tagContent.tagIndex:`${i18n(cfg.locale).pages.tagContent.tag}: ${tag}`;return[tag,defaultProcessedContent({slug:joinSegments("tags",tag),frontmatter:{title,tags:[]}})]}));for(let[tree,file]of content){let slug=file.data.slug;if(slug.startsWith("tags/")){let tag=slug.slice(5);tags.has(tag)&&(tagDescriptions[tag]=[tree,file])}}for(let tag of tags){let slug=joinSegments("tags",tag),externalResources=pageResources(pathToRoot(slug),resources),[tree,file]=tagDescriptions[tag],componentData={ctx,fileData:file.data,externalResources,cfg,children:[],tree,allFiles},content2=renderPage(cfg,slug,componentData,opts,externalResources),fp=await write({ctx,content:content2,slug:file.data.slug,ext:".html"});fps.push(fp)}return fps}}},"TagPage");import path8 from"path";var FolderPage=__name(userOpts=>{let opts={...sharedPageComponents,...defaultListPageLayout,pageBody:FolderContent_default(),...userOpts},{head:Head,header,beforeBody,pageBody,left,right,footer:Footer}=opts,Header2=Header_default(),Body2=Body_default();return{name:"FolderPage",getQuartzComponents(){return[Head,Header2,Body2,...header,...beforeBody,pageBody,...left,...right,Footer]},async getDependencyGraph(_ctx,content,_resources){let graph=new DepGraph;return content.map(([_tree,vfile])=>{let slug=vfile.data.slug,folderName=path8.dirname(slug??"");slug&&folderName!=="."&&folderName!=="tags"&&graph.addEdge(vfile.data.filePath,joinSegments(folderName,"index.html"))}),graph},async emit(ctx,content,resources){let fps=[],allFiles=content.map(c=>c[1].data),cfg=ctx.cfg.configuration,folders=new Set(allFiles.flatMap(data=>{let slug=data.slug,folderName=path8.dirname(slug??"");return slug&&folderName!=="."&&folderName!=="tags"?[folderName]:[]})),folderDescriptions=Object.fromEntries([...folders].map(folder=>[folder,defaultProcessedContent({slug:joinSegments(folder,"index"),frontmatter:{title:`${i18n(cfg.locale).pages.folderContent.folder}: ${folder}`,tags:[]}})]));for(let[tree,file]of content){let slug=stripSlashes(simplifySlug(file.data.slug));folders.has(slug)&&(folderDescriptions[slug]=[tree,file])}for(let folder of folders){let slug=joinSegments(folder,"index"),externalResources=pageResources(pathToRoot(slug),resources),[tree,file]=folderDescriptions[folder],componentData={ctx,fileData:file.data,externalResources,cfg,children:[],tree,allFiles},content2=renderPage(cfg,slug,componentData,opts,externalResources),fp=await write({ctx,content:content2,slug,ext:".html"});fps.push(fp)}return fps}}},"FolderPage");import{toHtml as toHtml2}from"hast-util-to-html";var defaultOptions16={enableSiteMap:!0,enableRSS:!0,rssLimit:10,rssFullHtml:!1,includeEmptyFiles:!0};function generateSiteMap(cfg,idx){let base=cfg.baseUrl??"",createURLEntry=__name((slug,content)=>` - https://${joinSegments(base,encodeURI(slug))} - ${content.date&&`${content.date.toISOString()}`} - `,"createURLEntry");return`${Array.from(idx).map(([slug,content])=>createURLEntry(simplifySlug(slug),content)).join("")}`}__name(generateSiteMap,"generateSiteMap");function generateRSSFeed(cfg,idx,limit){let base=cfg.baseUrl??"",createURLEntry=__name((slug,content)=>` - ${escapeHTML(content.title)} - https://${joinSegments(base,encodeURI(slug))} - https://${joinSegments(base,encodeURI(slug))} - ${content.richContent??content.description} - ${content.date?.toUTCString()} - `,"createURLEntry"),items=Array.from(idx).sort(([_,f1],[__,f2])=>f1.date&&f2.date?f2.date.getTime()-f1.date.getTime():f1.date&&!f2.date?-1:!f1.date&&f2.date?1:f1.title.localeCompare(f2.title)).map(([slug,content])=>createURLEntry(simplifySlug(slug),content)).slice(0,limit??idx.size).join("");return` - - - ${escapeHTML(cfg.pageTitle)} - https://${base} - ${limit?i18n(cfg.locale).pages.rss.lastFewNotes({count:limit}):i18n(cfg.locale).pages.rss.recentNotes} on ${escapeHTML(cfg.pageTitle)} - Quartz -- quartz.jzhao.xyz - ${items} - - `}__name(generateRSSFeed,"generateRSSFeed");var ContentIndex=__name(opts=>(opts={...defaultOptions16,...opts},{name:"ContentIndex",async getDependencyGraph(ctx,content,_resources){let graph=new DepGraph;for(let[_tree,file]of content){let sourcePath=file.data.filePath;graph.addEdge(sourcePath,joinSegments(ctx.argv.output,"static/contentIndex.json")),opts?.enableSiteMap&&graph.addEdge(sourcePath,joinSegments(ctx.argv.output,"sitemap.xml")),opts?.enableRSS&&graph.addEdge(sourcePath,joinSegments(ctx.argv.output,"index.xml"))}return graph},async emit(ctx,content,_resources){let cfg=ctx.cfg.configuration,emitted=[],linkIndex=new Map;for(let[tree,file]of content){let slug=file.data.slug,date=getDate(ctx.cfg.configuration,file.data)??new Date;(opts?.includeEmptyFiles||file.data.text&&file.data.text!=="")&&linkIndex.set(slug,{title:file.data.frontmatter?.title,links:file.data.links??[],tags:file.data.frontmatter?.tags??[],content:file.data.text??"",richContent:opts?.rssFullHtml?escapeHTML(toHtml2(tree,{allowDangerousHtml:!0})):void 0,date,description:file.data.description??""})}opts?.enableSiteMap&&emitted.push(await write({ctx,content:generateSiteMap(cfg,linkIndex),slug:"sitemap",ext:".xml"})),opts?.enableRSS&&emitted.push(await write({ctx,content:generateRSSFeed(cfg,linkIndex,opts.rssLimit),slug:"index",ext:".xml"}));let fp=joinSegments("static","contentIndex"),simplifiedIndex=Object.fromEntries(Array.from(linkIndex).map(([slug,content2])=>(delete content2.description,delete content2.date,[slug,content2])));return emitted.push(await write({ctx,content:JSON.stringify(simplifiedIndex),slug:fp,ext:".json"})),emitted},getQuartzComponents:()=>[]}),"ContentIndex");import path9 from"path";var AliasRedirects=__name(()=>({name:"AliasRedirects",getQuartzComponents(){return[]},async getDependencyGraph(ctx,content,_resources){let graph=new DepGraph,{argv}=ctx;for(let[_tree,file]of content){let dir=path9.posix.relative(argv.directory,path9.dirname(file.data.filePath)),slugs=(file.data.frontmatter?.aliases??[]).map(alias=>path9.posix.join(dir,alias)),permalink=file.data.frontmatter?.permalink;typeof permalink=="string"&&slugs.push(permalink);for(let slug of slugs)slug.endsWith("/")&&(slug=joinSegments(slug,"index")),graph.addEdge(file.data.filePath,joinSegments(argv.output,slug+".html"))}return graph},async emit(ctx,content,_resources){let{argv}=ctx,fps=[];for(let[_tree,file]of content){let ogSlug=simplifySlug(file.data.slug),dir=path9.posix.relative(argv.directory,path9.dirname(file.data.filePath)),slugs=(file.data.frontmatter?.aliases??[]).map(alias=>path9.posix.join(dir,alias)),permalink=file.data.frontmatter?.permalink;typeof permalink=="string"&&slugs.push(permalink);for(let slug of slugs){slug.endsWith("/")&&(slug=joinSegments(slug,"index"));let redirUrl=resolveRelative(slug,file.data.slug),fp=await write({ctx,content:` - - - - ${ogSlug} - - - - - - - `,slug,ext:".html"});fps.push(fp)}}return fps}}),"AliasRedirects");import path11 from"path";import fs3 from"fs";import path10 from"path";import{globby}from"globby";function toPosixPath(fp){return fp.split(path10.sep).join("/")}__name(toPosixPath,"toPosixPath");async function glob(pattern,cwd,ignorePatterns){return(await globby(pattern,{cwd,ignore:ignorePatterns,gitignore:!0})).map(toPosixPath)}__name(glob,"glob");var filesToCopy=__name(async(argv,cfg)=>await glob("**",argv.directory,["**/*.md",...cfg.configuration.ignorePatterns]),"filesToCopy"),Assets=__name(()=>({name:"Assets",getQuartzComponents(){return[]},async getDependencyGraph(ctx,_content,_resources){let{argv,cfg}=ctx,graph=new DepGraph,fps=await filesToCopy(argv,cfg);for(let fp of fps){let ext=path11.extname(fp),src=joinSegments(argv.directory,fp),name=slugifyFilePath(fp,!0)+ext,dest=joinSegments(argv.output,name);graph.addEdge(src,dest)}return graph},async emit({argv,cfg},_content,_resources){let assetsPath=argv.output,fps=await filesToCopy(argv,cfg),res=[];for(let fp of fps){let ext=path11.extname(fp),src=joinSegments(argv.directory,fp),name=slugifyFilePath(fp,!0)+ext,dest=joinSegments(assetsPath,name),dir=path11.dirname(dest);await fs3.promises.mkdir(dir,{recursive:!0}),await fs3.promises.copyFile(src,dest),res.push(dest)}return res}}),"Assets");import fs4 from"fs";var Static=__name(()=>({name:"Static",getQuartzComponents(){return[]},async getDependencyGraph({argv,cfg},_content,_resources){let graph=new DepGraph,staticPath=joinSegments(QUARTZ,"static"),fps=await glob("**",staticPath,cfg.configuration.ignorePatterns);for(let fp of fps)graph.addEdge(joinSegments("static",fp),joinSegments(argv.output,"static",fp));return graph},async emit({argv,cfg},_content,_resources){let staticPath=joinSegments(QUARTZ,"static"),fps=await glob("**",staticPath,cfg.configuration.ignorePatterns);return await fs4.promises.cp(staticPath,joinSegments(argv.output,"static"),{recursive:!0,dereference:!0}),fps.map(fp=>joinSegments(argv.output,"static",fp))}}),"Static");var spa_inline_default='var O=Object.create;var b=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var W=Object.getOwnPropertyNames;var I=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty;var _=(u,e)=>()=>(e||u((e={exports:{}}).exports,e),e.exports);var H=(u,e,D,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let F of W(e))!V.call(u,F)&&F!==D&&b(u,F,{get:()=>e[F],enumerable:!(r=$(e,F))||r.enumerable});return u};var q=(u,e,D)=>(D=u!=null?O(I(u)):{},H(e||!u||!u.__esModule?b(D,"default",{value:u,enumerable:!0}):D,u));var T=_((Eu,L)=>{"use strict";L.exports=J;function f(u){return u instanceof Buffer?Buffer.from(u):new u.constructor(u.buffer.slice(),u.byteOffset,u.length)}function J(u){if(u=u||{},u.circles)return X(u);return u.proto?r:D;function e(F,i){for(var t=Object.keys(F),n=new Array(t.length),a=0;a(e,D)=>e[`node${u}`]===D[`node${u}`],z=g("Name"),K=g("Type"),Z=g("Value");function x(u,e){if(u.attributes.length===0&&e.attributes.length===0)return[];let D=[],r=new Map,F=new Map;for(let i of u.attributes)r.set(i.name,i.value);for(let i of e.attributes){let t=r.get(i.name);i.value===t?r.delete(i.name):(typeof t<"u"&&r.delete(i.name),F.set(i.name,i.value))}for(let i of r.keys())D.push({type:5,name:i});for(let[i,t]of F.entries())D.push({type:4,name:i,value:t});return D}function d(u,e=!0){let D=`${u.localName}`;for(let{name:r,value:F}of u.attributes)e&&r.startsWith("data-")||(D+=`[${r}=${F}]`);return D+=u.innerHTML,D}function p(u){switch(u.tagName){case"BASE":case"TITLE":return u.localName;case"META":{if(u.hasAttribute("name"))return`meta[name="${u.getAttribute("name")}"]`;if(u.hasAttribute("property"))return`meta[name="${u.getAttribute("property")}"]`;break}case"LINK":{if(u.hasAttribute("rel")&&u.hasAttribute("href"))return`link[rel="${u.getAttribute("rel")}"][href="${u.getAttribute("href")}"]`;if(u.hasAttribute("href"))return`link[href="${u.getAttribute("href")}"]`;break}}return d(u)}function Q(u){let[e,D=""]=u.split("?");return`${e}?t=${Date.now()}&${D.replace(/t=\\d+/g,"")}`}function E(u){if(u.nodeType===1&&u.hasAttribute("data-persist"))return u;if(u.nodeType===1&&u.localName==="script"){let e=document.createElement("script");for(let{name:D,value:r}of u.attributes)D==="src"&&(r=Q(r)),e.setAttribute(D,r);return e.innerHTML=u.innerHTML,e}return u.cloneNode(!0)}function Y(u,e){if(u.children.length===0&&e.children.length===0)return[];let D=[],r=new Map,F=new Map,i=new Map;for(let t of u.children)r.set(p(t),t);for(let t of e.children){let n=p(t),a=r.get(n);a?d(t,!1)!==d(a,!1)&&F.set(n,E(t)):i.set(n,E(t)),r.delete(n)}for(let t of u.childNodes){if(t.nodeType===1){let n=p(t);if(r.has(n)){D.push({type:1});continue}else if(F.has(n)){let a=F.get(n);D.push({type:3,attributes:x(t,a),children:R(t,a)});continue}}D.push(void 0)}for(let t of i.values())D.push({type:0,node:E(t)});return D}function R(u,e){let D=[],r=Math.max(u.childNodes.length,e.childNodes.length);for(let F=0;Fh(r,n,t[a])));return}}}function m(u,e){let D=c(u,e);return h(u,D)}var su=Object.hasOwnProperty;var U=q(T(),1),cu=(0,U.default)();function y(u){return u.document.body.dataset.slug}var M=(u,e,D)=>{let r=new URL(u.getAttribute(e),D);u.setAttribute(e,r.pathname+r.hash)};function j(u,e){u.querySelectorAll(\'[href^="./"], [href^="../"]\').forEach(D=>M(D,"href",e)),u.querySelectorAll(\'[src^="./"], [src^="../"]\').forEach(D=>M(D,"src",e))}var k=1,C=document.createElement("route-announcer"),uu=u=>u?.nodeType===k,eu=u=>{try{let e=new URL(u);if(window.location.origin===e.origin)return!0}catch{}return!1},tu=u=>{let e=u.origin===window.location.origin,D=u.pathname===window.location.pathname;return e&&D},N=({target:u})=>{if(!uu(u)||u.attributes.getNamedItem("target")?.value==="_blank")return;let e=u.closest("a");if(!e||"routerIgnore"in e.dataset)return;let{href:D}=e;if(eu(D))return{url:new URL(D),scroll:"routerNoscroll"in e.dataset?!1:void 0}};function P(u){let e=new CustomEvent("nav",{detail:{url:u}});document.dispatchEvent(e)}var v=new Set;window.addCleanup=u=>v.add(u);var w;async function B(u,e=!1){w=w||new DOMParser;let D=await fetch(`${u}`).then(n=>{if(n.headers.get("content-type")?.startsWith("text/html"))return n.text();window.location.assign(u)}).catch(()=>{window.location.assign(u)});if(!D)return;v.forEach(n=>n()),v.clear();let r=w.parseFromString(D,"text/html");j(r,u);let F=r.querySelector("title")?.textContent;if(F)document.title=F;else{let n=document.querySelector("h1");F=n?.innerText??n?.textContent??u.pathname}C.textContent!==F&&(C.textContent=F),C.dataset.persist="",r.body.appendChild(C),m(document.body,r.body),e||(u.hash?document.getElementById(decodeURIComponent(u.hash.substring(1)))?.scrollIntoView():window.scrollTo({top:0})),document.head.querySelectorAll(":not([spa-preserve])").forEach(n=>n.remove()),r.head.querySelectorAll(":not([spa-preserve])").forEach(n=>document.head.appendChild(n)),e||history.pushState({},"",u),P(y(window)),delete C.dataset.persist}window.spaNavigate=B;function Du(){return typeof window<"u"&&(window.addEventListener("click",async u=>{let{url:e}=N(u)??{};if(!(!e||u.ctrlKey||u.metaKey)){if(u.preventDefault(),tu(e)&&e.hash){document.getElementById(decodeURIComponent(e.hash.substring(1)))?.scrollIntoView(),history.pushState({},"",e);return}try{B(e,!1)}catch{window.location.assign(e)}}}),window.addEventListener("popstate",u=>{let{url:e}=N(u)??{};if(!(window.location.hash&&window.location.pathname===e?.pathname))try{B(new URL(window.location.toString()),!0)}catch{window.location.reload()}})),new class{go(e){let D=new URL(e,window.location.toString());return B(D,!1)}back(){return window.history.back()}forward(){return window.history.forward()}}}Du();P(y(window));if(!customElements.get("route-announcer")){let u={"aria-live":"assertive","aria-atomic":"true",style:"position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"};customElements.define("route-announcer",class extends HTMLElement{constructor(){super()}connectedCallback(){for(let[D,r]of Object.entries(u))this.setAttribute(D,r)}})}\n';var popover_inline_default='var Kt=Object.create;var gt=Object.defineProperty;var Zt=Object.getOwnPropertyDescriptor;var Qt=Object.getOwnPropertyNames;var Gt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var te=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var ee=(t,e,i,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of Qt(e))!Jt.call(t,u)&&u!==i&>(t,u,{get:()=>e[u],enumerable:!(n=Zt(e,u))||n.enumerable});return t};var ne=(t,e,i)=>(i=t!=null?Kt(Gt(t)):{},ee(e||!t||!t.__esModule?gt(i,"default",{value:t,enumerable:!0}):i,t));var It=te((Ze,zt)=>{"use strict";zt.exports=xe;function q(t){return t instanceof Buffer?Buffer.from(t):new t.constructor(t.buffer.slice(),t.byteOffset,t.length)}function xe(t){if(t=t||{},t.circles)return we(t);return t.proto?n:i;function e(u,r){for(var o=Object.keys(u),s=new Array(o.length),c=0;c({x:t,y:t}),ue={left:"right",right:"left",bottom:"top",top:"bottom"},ie={start:"end",end:"start"};function lt(t,e,i){return y(t,j(e,i))}function Q(t,e){return typeof t=="function"?t(e):t}function P(t){return t.split("-")[0]}function ut(t){return t.split("-")[1]}function ct(t){return t==="x"?"y":"x"}function Dt(t){return t==="y"?"height":"width"}function G(t){return["top","bottom"].includes(P(t))?"y":"x"}function at(t){return ct(G(t))}function At(t,e,i){i===void 0&&(i=!1);let n=ut(t),u=at(t),r=Dt(u),o=u==="x"?n===(i?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(o=K(o)),[o,K(o)]}function pt(t){let e=K(t);return[nt(t),e,nt(e)]}function nt(t){return t.replace(/start|end/g,e=>ie[e])}function oe(t,e,i){let n=["left","right"],u=["right","left"],r=["top","bottom"],o=["bottom","top"];switch(t){case"top":case"bottom":return i?e?u:n:e?n:u;case"left":case"right":return e?r:o;default:return[]}}function Et(t,e,i,n){let u=ut(t),r=oe(P(t),i==="start",n);return u&&(r=r.map(o=>o+"-"+u),e&&(r=r.concat(r.map(nt)))),r}function K(t){return t.replace(/left|right|bottom|top/g,e=>ue[e])}function re(t){return{top:0,right:0,bottom:0,left:0,...t}}function ft(t){return typeof t!="number"?re(t):{top:t,right:t,bottom:t,left:t}}function T(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Ct(t,e,i){let{reference:n,floating:u}=t,r=G(e),o=at(e),s=Dt(o),c=P(e),l=r==="y",D=n.x+n.width/2-u.width/2,a=n.y+n.height/2-u.height/2,F=n[s]/2-u[s]/2,f;switch(c){case"top":f={x:D,y:n.y-u.height};break;case"bottom":f={x:D,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:a};break;case"left":f={x:n.x-u.width,y:a};break;default:f={x:n.x,y:n.y}}switch(ut(e)){case"start":f[o]-=F*(i&&l?-1:1);break;case"end":f[o]+=F*(i&&l?-1:1);break}return f}var ht=async(t,e,i)=>{let{placement:n="bottom",strategy:u="absolute",middleware:r=[],platform:o}=i,s=r.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(e)),l=await o.getElementRects({reference:t,floating:e,strategy:u}),{x:D,y:a}=Ct(l,n,c),F=n,f={},d=0;for(let g=0;gS<=0)){var et,x;let S=(((et=r.flip)==null?void 0:et.index)||0)+1,k=C[S];if(k)return{data:{index:S,overflows:U},reset:{placement:k}};let H=(x=U.filter(R=>R.overflows[0]<=0).sort((R,O)=>R.overflows[1]-O.overflows[1])[0])==null?void 0:x.placement;if(!H)switch(f){case"bestFit":{var I;let R=(I=U.map(O=>[O.placement,O.overflows.filter(V=>V>0).reduce((V,st)=>V+st,0)]).sort((O,V)=>O[1]-V[1])[0])==null?void 0:I[0];R&&(H=R);break}case"initialPlacement":H=s;break}if(u!==H)return{reset:{placement:H}}}return{}}}};function xt(t){let e=j(...t.map(r=>r.left)),i=j(...t.map(r=>r.top)),n=y(...t.map(r=>r.right)),u=y(...t.map(r=>r.bottom));return{x:e,y:i,width:n-e,height:u-i}}function se(t){let e=t.slice().sort((u,r)=>u.y-r.y),i=[],n=null;for(let u=0;un.height/2?i.push([r]):i[i.length-1].push(r),n=r}return i.map(u=>T(xt(u)))}var wt=function(t){return t===void 0&&(t={}),{name:"inline",options:t,async fn(e){let{placement:i,elements:n,rects:u,platform:r,strategy:o}=e,{padding:s=2,x:c,y:l}=Q(t,e),D=Array.from(await(r.getClientRects==null?void 0:r.getClientRects(n.reference))||[]),a=se(D),F=T(xt(D)),f=ft(s);function d(){if(a.length===2&&a[0].left>a[1].right&&c!=null&&l!=null)return a.find(m=>c>m.left-f.left&&cm.top-f.top&&l=2){if(G(i)==="y"){let x=a[0],I=a[a.length-1],S=P(i)==="top",k=x.top,H=I.bottom,R=S?x.left:I.left,O=S?x.right:I.right,V=O-R,st=H-k;return{top:k,bottom:H,left:R,right:O,width:V,height:st,x:R,y:k}}let m=P(i)==="left",p=y(...a.map(x=>x.right)),A=j(...a.map(x=>x.left)),E=a.filter(x=>m?x.left===A:x.right===p),h=E[0].top,C=E[E.length-1].bottom,N=A,$=p,U=$-N,et=C-h;return{top:h,bottom:C,left:N,right:$,width:U,height:et,x:N,y:h}}return F}let g=await r.getElementRects({reference:{getBoundingClientRect:d},floating:n.floating,strategy:o});return u.reference.x!==g.reference.x||u.reference.y!==g.reference.y||u.reference.width!==g.reference.width||u.reference.height!==g.reference.height?{reset:{rects:g}}:{}}}};var yt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:i,y:n,placement:u}=e,{mainAxis:r=!0,crossAxis:o=!1,limiter:s={fn:m=>{let{x:p,y:A}=m;return{x:p,y:A}}},...c}=Q(t,e),l={x:i,y:n},D=await Ft(e,c),a=G(P(u)),F=ct(a),f=l[F],d=l[a];if(r){let m=F==="y"?"top":"left",p=F==="y"?"bottom":"right",A=f+D[m],E=f-D[p];f=lt(A,f,E)}if(o){let m=a==="y"?"top":"left",p=a==="y"?"bottom":"right",A=d+D[m],E=d-D[p];d=lt(A,d,E)}let g=s.fn({...e,[F]:f,[a]:d});return{...g,data:{x:g.x-i,y:g.y-n}}}}};function _(t){return bt(t)?(t.nodeName||"").toLowerCase():"#document"}function B(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function W(t){var e;return(e=(bt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function bt(t){return t instanceof Node||t instanceof B(t).Node}function v(t){return t instanceof Element||t instanceof B(t).Element}function b(t){return t instanceof HTMLElement||t instanceof B(t).HTMLElement}function vt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof B(t).ShadowRoot}function Y(t){let{overflow:e,overflowX:i,overflowY:n,display:u}=w(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+i)&&!["inline","contents"].includes(u)}function St(t){return["table","td","th"].includes(_(t))}function ot(t){let e=rt(),i=w(t);return i.transform!=="none"||i.perspective!=="none"||(i.containerType?i.containerType!=="normal":!1)||!e&&(i.backdropFilter?i.backdropFilter!=="none":!1)||!e&&(i.filter?i.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(i.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(i.contain||"").includes(n))}function Rt(t){let e=M(t);for(;b(e)&&!z(e);){if(ot(e))return e;e=M(e)}return null}function rt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function z(t){return["html","body","#document"].includes(_(t))}function w(t){return B(t).getComputedStyle(t)}function J(t){return v(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function M(t){if(_(t)==="html")return t;let e=t.assignedSlot||t.parentNode||vt(t)&&t.host||W(t);return vt(e)?e.host:e}function Ot(t){let e=M(t);return z(e)?t.ownerDocument?t.ownerDocument.body:t.body:b(e)&&Y(e)?e:Ot(e)}function it(t,e,i){var n;e===void 0&&(e=[]),i===void 0&&(i=!0);let u=Ot(t),r=u===((n=t.ownerDocument)==null?void 0:n.body),o=B(u);return r?e.concat(o,o.visualViewport||[],Y(u)?u:[],o.frameElement&&i?it(o.frameElement):[]):e.concat(u,it(u,[],i))}function Tt(t){let e=w(t),i=parseFloat(e.width)||0,n=parseFloat(e.height)||0,u=b(t),r=u?t.offsetWidth:i,o=u?t.offsetHeight:n,s=Z(i)!==r||Z(n)!==o;return s&&(i=r,n=o),{width:i,height:n,$:s}}function Mt(t){return v(t)?t:t.contextElement}function X(t){let e=Mt(t);if(!b(e))return L(1);let i=e.getBoundingClientRect(),{width:n,height:u,$:r}=Tt(e),o=(r?Z(i.width):i.width)/n,s=(r?Z(i.height):i.height)/u;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var le=L(0);function Wt(t){let e=B(t);return!rt()||!e.visualViewport?le:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function ce(t,e,i){return e===void 0&&(e=!1),!i||e&&i!==B(t)?!1:e}function tt(t,e,i,n){e===void 0&&(e=!1),i===void 0&&(i=!1);let u=t.getBoundingClientRect(),r=Mt(t),o=L(1);e&&(n?v(n)&&(o=X(n)):o=X(t));let s=ce(r,i,n)?Wt(r):L(0),c=(u.left+s.x)/o.x,l=(u.top+s.y)/o.y,D=u.width/o.x,a=u.height/o.y;if(r){let F=B(r),f=n&&v(n)?B(n):n,d=F,g=d.frameElement;for(;g&&n&&f!==d;){let m=X(g),p=g.getBoundingClientRect(),A=w(g),E=p.left+(g.clientLeft+parseFloat(A.paddingLeft))*m.x,h=p.top+(g.clientTop+parseFloat(A.paddingTop))*m.y;c*=m.x,l*=m.y,D*=m.x,a*=m.y,c+=E,l+=h,d=B(g),g=d.frameElement}}return T({width:D,height:a,x:c,y:l})}var De=[":popover-open",":modal"];function mt(t){return De.some(e=>{try{return t.matches(e)}catch{return!1}})}function ae(t){let{elements:e,rect:i,offsetParent:n,strategy:u}=t,r=u==="fixed",o=W(n),s=e?mt(e.floating):!1;if(n===o||s&&r)return i;let c={scrollLeft:0,scrollTop:0},l=L(1),D=L(0),a=b(n);if((a||!a&&!r)&&((_(n)!=="body"||Y(o))&&(c=J(n)),b(n))){let F=tt(n);l=X(n),D.x=F.x+n.clientLeft,D.y=F.y+n.clientTop}return{width:i.width*l.x,height:i.height*l.y,x:i.x*l.x-c.scrollLeft*l.x+D.x,y:i.y*l.y-c.scrollTop*l.y+D.y}}function fe(t){return Array.from(t.getClientRects())}function Ht(t){return tt(W(t)).left+J(t).scrollLeft}function Fe(t){let e=W(t),i=J(t),n=t.ownerDocument.body,u=y(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=y(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight),o=-i.scrollLeft+Ht(t),s=-i.scrollTop;return w(n).direction==="rtl"&&(o+=y(e.clientWidth,n.clientWidth)-u),{width:u,height:r,x:o,y:s}}function de(t,e){let i=B(t),n=W(t),u=i.visualViewport,r=n.clientWidth,o=n.clientHeight,s=0,c=0;if(u){r=u.width,o=u.height;let l=rt();(!l||l&&e==="fixed")&&(s=u.offsetLeft,c=u.offsetTop)}return{width:r,height:o,x:s,y:c}}function me(t,e){let i=tt(t,!0,e==="fixed"),n=i.top+t.clientTop,u=i.left+t.clientLeft,r=b(t)?X(t):L(1),o=t.clientWidth*r.x,s=t.clientHeight*r.y,c=u*r.x,l=n*r.y;return{width:o,height:s,x:c,y:l}}function Lt(t,e,i){let n;if(e==="viewport")n=de(t,i);else if(e==="document")n=Fe(W(t));else if(v(e))n=me(e,i);else{let u=Wt(t);n={...e,x:e.x-u.x,y:e.y-u.y}}return T(n)}function jt(t,e){let i=M(t);return i===e||!v(i)||z(i)?!1:w(i).position==="fixed"||jt(i,e)}function ge(t,e){let i=e.get(t);if(i)return i;let n=it(t,[],!1).filter(s=>v(s)&&_(s)!=="body"),u=null,r=w(t).position==="fixed",o=r?M(t):t;for(;v(o)&&!z(o);){let s=w(o),c=ot(o);!c&&s.position==="fixed"&&(u=null),(r?!c&&!u:!c&&s.position==="static"&&!!u&&["absolute","fixed"].includes(u.position)||Y(o)&&!c&&jt(t,o))?n=n.filter(D=>D!==o):u=s,o=M(o)}return e.set(t,n),n}function Ae(t){let{element:e,boundary:i,rootBoundary:n,strategy:u}=t,o=[...i==="clippingAncestors"?mt(e)?[]:ge(e,this._c):[].concat(i),n],s=o[0],c=o.reduce((l,D)=>{let a=Lt(e,D,u);return l.top=y(a.top,l.top),l.right=j(a.right,l.right),l.bottom=j(a.bottom,l.bottom),l.left=y(a.left,l.left),l},Lt(e,s,u));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function pe(t){let{width:e,height:i}=Tt(t);return{width:e,height:i}}function Ee(t,e,i){let n=b(e),u=W(e),r=i==="fixed",o=tt(t,!0,r,e),s={scrollLeft:0,scrollTop:0},c=L(0);if(n||!n&&!r)if((_(e)!=="body"||Y(u))&&(s=J(e)),n){let a=tt(e,!0,r,e);c.x=a.x+e.clientLeft,c.y=a.y+e.clientTop}else u&&(c.x=Ht(u));let l=o.left+s.scrollLeft-c.x,D=o.top+s.scrollTop-c.y;return{x:l,y:D,width:o.width,height:o.height}}function dt(t){return w(t).position==="static"}function Pt(t,e){return!b(t)||w(t).position==="fixed"?null:e?e(t):t.offsetParent}function Nt(t,e){let i=B(t);if(mt(t))return i;if(!b(t)){let u=M(t);for(;u&&!z(u);){if(v(u)&&!dt(u))return u;u=M(u)}return i}let n=Pt(t,e);for(;n&&St(n)&&dt(n);)n=Pt(n,e);return n&&z(n)&&dt(n)&&!ot(n)?i:n||Rt(t)||i}var Ce=async function(t){let e=this.getOffsetParent||Nt,i=this.getDimensions,n=await i(t.floating);return{reference:Ee(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function he(t){return w(t).direction==="rtl"}var Be={convertOffsetParentRelativeRectToViewportRelativeRect:ae,getDocumentElement:W,getClippingRect:Ae,getOffsetParent:Nt,getElementRects:Ce,getClientRects:fe,getDimensions:pe,getScale:X,isElement:v,isRTL:he};var $t=yt,Ut=Bt;var Vt=wt;var _t=(t,e,i)=>{let n=new Map,u={platform:Be,...i},r={...u.platform,_c:n};return ht(t,e,{...u,platform:r})};var qe=Object.hasOwnProperty;var Yt=ne(It(),1),Je=(0,Yt.default)();var kt=(t,e,i)=>{let n=new URL(t.getAttribute(e),i);t.setAttribute(e,n.pathname+n.hash)};function Xt(t,e){t.querySelectorAll(\'[href^="./"], [href^="../"]\').forEach(i=>kt(i,"href",e)),t.querySelectorAll(\'[src^="./"], [src^="../"]\').forEach(i=>kt(i,"src",e))}var ye=new DOMParser;async function qt({clientX:t,clientY:e}){let i=this;if(i.dataset.noPopover==="true")return;async function n(d){let{x:g,y:m}=await _t(i,d,{middleware:[Vt({x:t,y:e}),$t(),Ut()]});Object.assign(d.style,{left:`${g}px`,top:`${m}px`})}let u=()=>[...i.children].some(d=>d.classList.contains("popover"));if(u())return n(i.lastChild);let r=new URL(document.location.href);r.hash="",r.search="";let o=new URL(i.href),s=o.hash;o.hash="",o.search="";let c=await fetch(`${o}`).catch(d=>{console.error(d)});if(u()||!c)return;let[l]=c.headers.get("Content-Type").split(";"),[D,a]=l.split("/"),F=document.createElement("div");F.classList.add("popover");let f=document.createElement("div");switch(f.classList.add("popover-inner"),F.appendChild(f),f.dataset.contentType=l??void 0,D){case"image":let d=document.createElement("img");d.src=o.toString(),d.alt=o.pathname,f.appendChild(d);break;case"application":switch(a){case"pdf":let A=document.createElement("iframe");A.src=o.toString(),f.appendChild(A);break;default:break}break;default:let g=await c.text(),m=ye.parseFromString(g,"text/html");Xt(m,o);let p=[...m.getElementsByClassName("popover-hint")];if(p.length===0)return;p.forEach(A=>f.appendChild(A))}if(n(F),i.appendChild(F),s!==""){let d=f.querySelector(s);d&&f.scroll({top:d.offsetTop-12,behavior:"instant"})}}document.addEventListener("nav",()=>{let t=[...document.getElementsByClassName("internal")];for(let e of t)e.addEventListener("mouseenter",qt),window.addCleanup(()=>e.removeEventListener("mouseenter",qt))});\n';var custom_default=`code[data-theme*=" "] { - color: var(--shiki-light); - background-color: var(--shiki-light-bg); -} - -code[data-theme*=" "] span { - color: var(--shiki-light); -} - -[saved-theme=dark] code[data-theme*=" "] { - color: var(--shiki-dark); - background-color: var(--shiki-dark-bg); -} - -[saved-theme=dark] code[data-theme*=" "] span { - color: var(--shiki-dark); -} - -.callout { - border: 1px solid var(--border); - background-color: var(--bg); - border-radius: 5px; - padding: 0 1rem; - overflow-y: hidden; - transition: max-height 0.3s ease; - box-sizing: border-box; - --callout-icon-note: url('data:image/svg+xml; utf8, '); - --callout-icon-abstract: url('data:image/svg+xml; utf8, '); - --callout-icon-info: url('data:image/svg+xml; utf8, '); - --callout-icon-todo: url('data:image/svg+xml; utf8, '); - --callout-icon-tip: url('data:image/svg+xml; utf8, '); - --callout-icon-success: url('data:image/svg+xml; utf8, '); - --callout-icon-question: url('data:image/svg+xml; utf8, '); - --callout-icon-warning: url('data:image/svg+xml; utf8, '); - --callout-icon-failure: url('data:image/svg+xml; utf8, '); - --callout-icon-danger: url('data:image/svg+xml; utf8, '); - --callout-icon-bug: url('data:image/svg+xml; utf8, '); - --callout-icon-example: url('data:image/svg+xml; utf8, '); - --callout-icon-quote: url('data:image/svg+xml; utf8, '); - --callout-icon-fold: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpolyline points="6 9 12 15 18 9"%3E%3C/polyline%3E%3C/svg%3E'); -} -.callout > *:nth-child(2) { - margin-top: 0; -} -.callout[data-callout] { - --color: #448aff; - --border: #448aff44; - --bg: #448aff10; - --callout-icon: var(--callout-icon-note); -} -.callout[data-callout=abstract] { - --color: #00b0ff; - --border: #00b0ff44; - --bg: #00b0ff10; - --callout-icon: var(--callout-icon-abstract); -} -.callout[data-callout=info], .callout[data-callout=todo] { - --color: #00b8d4; - --border: #00b8d444; - --bg: #00b8d410; - --callout-icon: var(--callout-icon-info); -} -.callout[data-callout=todo] { - --callout-icon: var(--callout-icon-todo); -} -.callout[data-callout=tip] { - --color: #00bfa5; - --border: #00bfa544; - --bg: #00bfa510; - --callout-icon: var(--callout-icon-tip); -} -.callout[data-callout=success] { - --color: #09ad7a; - --border: #09ad7144; - --bg: #09ad7110; - --callout-icon: var(--callout-icon-success); -} -.callout[data-callout=question] { - --color: #dba642; - --border: #dba64244; - --bg: #dba64210; - --callout-icon: var(--callout-icon-question); -} -.callout[data-callout=warning] { - --color: #db8942; - --border: #db894244; - --bg: #db894210; - --callout-icon: var(--callout-icon-warning); -} -.callout[data-callout=failure], .callout[data-callout=danger], .callout[data-callout=bug] { - --color: #db4242; - --border: #db424244; - --bg: #db424210; - --callout-icon: var(--callout-icon-failure); -} -.callout[data-callout=bug] { - --callout-icon: var(--callout-icon-bug); -} -.callout[data-callout=danger] { - --callout-icon: var(--callout-icon-danger); -} -.callout[data-callout=example] { - --color: #7a43b5; - --border: #7a43b544; - --bg: #7a43b510; - --callout-icon: var(--callout-icon-example); -} -.callout[data-callout=quote] { - --color: var(--secondary); - --border: var(--lightgray); - --callout-icon: var(--callout-icon-quote); -} -.callout.is-collapsed > .callout-title > .fold-callout-icon { - transform: rotateZ(-90deg); -} - -.callout-title { - display: flex; - align-items: flex-start; - gap: 5px; - padding: 1rem 0; - color: var(--color); - --icon-size: 18px; -} -.callout-title .fold-callout-icon { - transition: transform 0.15s ease; - opacity: 0.8; - cursor: pointer; - --callout-icon: var(--callout-icon-fold); -} -.callout-title > .callout-title-inner > p { - color: var(--color); - margin: 0; -} -.callout-title .callout-icon, .callout-title .fold-callout-icon { - width: var(--icon-size); - height: var(--icon-size); - flex: 0 0 var(--icon-size); - background-size: var(--icon-size) var(--icon-size); - background-position: center; - background-color: var(--color); - mask-image: var(--callout-icon); - mask-size: var(--icon-size) var(--icon-size); - mask-position: center; - mask-repeat: no-repeat; - padding: 0.2rem 0; -} -.callout-title .callout-title-inner { - font-weight: 600; -} - -html { - scroll-behavior: smooth; - text-size-adjust: none; - overflow-x: hidden; - width: 100vw; -} - -body, -section { - margin: 0; - max-width: 100%; - box-sizing: border-box; - background-color: var(--light); - font-family: var(--bodyFont); - color: var(--darkgray); -} - -.text-highlight { - background-color: rgba(255, 242, 54, 0.5333333333); - padding: 0 0.1rem; - border-radius: 5px; -} - -::selection { - background: color-mix(in srgb, var(--tertiary) 60%, rgba(255, 255, 255, 0)); - color: var(--darkgray); -} - -p, -ul, -text, -a, -tr, -td, -li, -ol, -ul, -.katex, -.math { - color: var(--darkgray); - fill: var(--darkgray); - overflow-wrap: anywhere; - hyphens: auto; -} - -.math.math-display { - text-align: center; -} - -strong { - font-weight: 600; -} - -a { - font-weight: 600; - text-decoration: none; - transition: color 0.2s ease; - color: var(--secondary); -} -a:hover { - color: var(--tertiary) !important; -} -a.internal { - text-decoration: none; - background-color: var(--highlight); - padding: 0 0.1rem; - border-radius: 5px; - line-height: 1.4rem; -} -a.internal:has(> img) { - background-color: none; - border-radius: 0; - padding: 0; -} -a.internal.tag-link::before { - content: "#"; -} -a.external .external-icon { - height: 1ex; - margin: 0 0.15em; -} -a.external .external-icon > path { - fill: var(--dark); -} - -.desktop-only { - display: initial; -} -@media all and (max-width: 1510px) { - .desktop-only { - display: none; - } -} - -.mobile-only { - display: none; -} -@media all and (max-width: 1510px) { - .mobile-only { - display: initial; - } -} - -@media all and (max-width: 1510px) { - .page { - margin: 0 auto; - padding: 0 1rem; - max-width: 750px; - } -} -.page article > h1 { - font-size: 2rem; -} -.page article li:has(> input[type=checkbox]) { - list-style-type: none; - padding-left: 0; -} -.page article li:has(> input[type=checkbox]:checked) { - text-decoration: line-through; - text-decoration-color: var(--gray); - color: var(--gray); -} -.page article li > * { - margin-top: 0; - margin-bottom: 0; -} -.page article p > strong { - color: var(--dark); -} -.page > #quartz-body { - width: 100%; - display: flex; -} -@media all and (max-width: 1510px) { - .page > #quartz-body { - flex-direction: column; - } -} -.page > #quartz-body .sidebar { - flex: 1; - display: flex; - flex-direction: column; - gap: 2rem; - top: 0; - width: 380px; - margin-top: 6rem; - box-sizing: border-box; - padding: 0 4rem; - position: fixed; -} -@media all and (max-width: 1510px) { - .page > #quartz-body .sidebar { - position: initial; - flex-direction: row; - padding: 0; - width: initial; - margin-top: 2rem; - } -} -.page > #quartz-body .sidebar.left { - left: calc((100vw - 750px) / 2 - 380px); -} -@media all and (max-width: 1510px) { - .page > #quartz-body .sidebar.left { - gap: 0; - align-items: center; - } -} -.page > #quartz-body .sidebar.right { - right: calc((100vw - 750px) / 2 - 380px); - flex-wrap: wrap; -} -@media all and (max-width: 1510px) { - .page > #quartz-body .sidebar.right > * { - flex: 1; - min-width: 140px; - } -} -.page .page-header { - width: 750px; - margin: 6rem auto 0 auto; -} -@media all and (max-width: 1510px) { - .page .page-header { - width: initial; - margin-top: 2rem; - } -} -.page .center, .page footer { - margin-left: auto; - margin-right: auto; - width: 750px; -} -@media all and (max-width: 1510px) { - .page .center, .page footer { - width: initial; - margin-left: 0; - margin-right: 0; - } -} - -.footnotes { - margin-top: 2rem; - border-top: 1px solid var(--lightgray); -} - -input[type=checkbox] { - transform: translateY(2px); - color: var(--secondary); - border: 1px solid var(--lightgray); - border-radius: 3px; - background-color: var(--light); - position: relative; - margin-inline-end: 0.2rem; - margin-inline-start: -1.4rem; - appearance: none; - width: 16px; - height: 16px; -} -input[type=checkbox]:checked { - border-color: var(--secondary); - background-color: var(--secondary); -} -input[type=checkbox]:checked::after { - content: ""; - position: absolute; - left: 4px; - top: 1px; - width: 4px; - height: 8px; - display: block; - border: solid var(--light); - border-width: 0 2px 2px 0; - transform: rotate(45deg); -} - -blockquote { - margin: 1rem 0; - border-left: 3px solid var(--secondary); - padding-left: 1rem; - transition: border-color 0.2s ease; -} - -h1, -h2, -h3, -h4, -h5, -h6, -thead { - font-family: var(--headerFont); - color: var(--dark); - font-weight: revert; - margin-bottom: 0; -} -article > h1 > a[role=anchor], -article > h2 > a[role=anchor], -article > h3 > a[role=anchor], -article > h4 > a[role=anchor], -article > h5 > a[role=anchor], -article > h6 > a[role=anchor], -article > thead > a[role=anchor] { - color: var(--dark); - background-color: transparent; -} - -h1[id] > a[href^="#"], -h2[id] > a[href^="#"], -h3[id] > a[href^="#"], -h4[id] > a[href^="#"], -h5[id] > a[href^="#"], -h6[id] > a[href^="#"] { - margin: 0 0.5rem; - opacity: 0; - transition: opacity 0.2s ease; - transform: translateY(-0.1rem); - font-family: var(--codeFont); - user-select: none; -} -h1[id]:hover > a, -h2[id]:hover > a, -h3[id]:hover > a, -h4[id]:hover > a, -h5[id]:hover > a, -h6[id]:hover > a { - opacity: 1; -} - -h1 { - font-size: 1.75rem; - margin-top: 2.25rem; - margin-bottom: 1rem; -} - -h2 { - font-size: 1.4rem; - margin-top: 1.9rem; - margin-bottom: 1rem; -} - -h3 { - font-size: 1.12rem; - margin-top: 1.62rem; - margin-bottom: 1rem; -} - -h4, -h5, -h6 { - font-size: 1rem; - margin-top: 1.5rem; - margin-bottom: 1rem; -} - -figure[data-rehype-pretty-code-figure] { - margin: 0; - position: relative; - line-height: 1.6rem; - position: relative; -} -figure[data-rehype-pretty-code-figure] > [data-rehype-pretty-code-title] { - font-family: var(--codeFont); - font-size: 0.9rem; - padding: 0.1rem 0.5rem; - border: 1px solid var(--lightgray); - width: max-content; - border-radius: 5px; - margin-bottom: -0.5rem; - color: var(--darkgray); -} -figure[data-rehype-pretty-code-figure] > pre { - padding: 0; -} - -pre { - font-family: var(--codeFont); - padding: 0 0.5rem; - border-radius: 5px; - overflow-x: auto; - border: 1px solid var(--lightgray); - position: relative; -} -pre:has(> code.mermaid) { - border: none; -} -pre > code { - background: none; - padding: 0; - font-size: 0.85rem; - counter-reset: line; - counter-increment: line 0; - display: grid; - padding: 0.5rem 0; - overflow-x: scroll; -} -pre > code [data-highlighted-chars] { - background-color: var(--highlight); - border-radius: 5px; -} -pre > code > [data-line] { - padding: 0 0.25rem; - box-sizing: border-box; - border-left: 3px solid transparent; -} -pre > code > [data-line][data-highlighted-line] { - background-color: var(--highlight); - border-left: 3px solid var(--secondary); -} -pre > code > [data-line]::before { - content: counter(line); - counter-increment: line; - width: 1rem; - margin-right: 1rem; - display: inline-block; - text-align: right; - color: rgba(115, 138, 148, 0.6); -} -pre > code[data-line-numbers-max-digits="2"] > [data-line]::before { - width: 2rem; -} -pre > code[data-line-numbers-max-digits="3"] > [data-line]::before { - width: 3rem; -} - -code { - font-size: 0.9em; - color: var(--dark); - font-family: var(--codeFont); - border-radius: 5px; - padding: 0.1rem 0.2rem; - background: var(--lightgray); -} - -tbody, -li, -p { - line-height: 1.6rem; -} - -.table-container { - overflow-x: auto; -} -.table-container > table { - margin: 1rem; - padding: 1.5rem; - border-collapse: collapse; -} -.table-container > table th, -.table-container > table td { - min-width: 75px; -} -.table-container > table > * { - line-height: 2rem; -} - -th { - text-align: left; - padding: 0.4rem 0.7rem; - border-bottom: 2px solid var(--gray); -} - -td { - padding: 0.2rem 0.7rem; -} - -tr { - border-bottom: 1px solid var(--lightgray); -} -tr:last-child { - border-bottom: none; -} - -img { - max-width: 100%; - border-radius: 5px; - margin: 1rem 0; -} - -p > img + em { - display: block; - transform: translateY(-1rem); -} - -hr { - width: 100%; - margin: 2rem auto; - height: 1px; - border: none; - background-color: var(--lightgray); -} - -audio, -video { - width: 100%; - border-radius: 5px; -} - -.spacer { - flex: 1 1 auto; -} - -ul.overflow, -ol.overflow { - max-height: 400; - overflow-y: auto; - content: ""; - clear: both; -} -ul.overflow > li:last-of-type, -ol.overflow > li:last-of-type { - margin-bottom: 30px; -} -ul.overflow:after, -ol.overflow:after { - pointer-events: none; - content: ""; - width: 100%; - height: 50px; - position: absolute; - left: 0; - bottom: 0; - opacity: 1; - transition: opacity 0.3s ease; - background: linear-gradient(transparent 0px, var(--light)); -} - -.transclude ul { - padding-left: 1rem; -} - -.katex-display { - overflow-x: auto; - overflow-y: hidden; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcc3R5bGVzIiwic291cmNlcyI6WyJzeW50YXguc2NzcyIsImNhbGxvdXRzLnNjc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gIGJhY2tncm91bmQ6IGxpbmVhci1ncmFkaWVudCh0cmFuc3BhcmVudCAwcHgsIHZhcigtLWxpZ2h0KSk7XG4gIH1cbn1cblxuLnRyYW5zY2x1ZGUge1xuICB1bCB7XG4gICAgcGFkZGluZy1sZWZ0OiAxcmVtO1xuICB9XG59XG5cbi5rYXRleC1kaXNwbGF5IHtcbiAgb3ZlcmZsb3cteDogYXV0bztcbiAgb3ZlcmZsb3cteTogaGlkZGVuO1xufVxuIl19 */`;var popover_default=`@keyframes dropin { - 0% { - opacity: 0; - visibility: hidden; - } - 1% { - opacity: 0; - } - 100% { - opacity: 1; - visibility: visible; - } -} -.popover { - z-index: 999; - position: absolute; - overflow: visible; - padding: 1rem; - visibility: hidden; - opacity: 0; - transition: opacity 0.3s ease, visibility 0.3s ease; -} -.popover > .popover-inner { - position: relative; - width: 30rem; - max-height: 20rem; - padding: 0 1rem 1rem 1rem; - font-weight: initial; - font-style: initial; - line-height: normal; - font-size: initial; - font-family: var(--bodyFont); - border: 1px solid var(--lightgray); - background-color: var(--light); - border-radius: 5px; - box-shadow: 6px 6px 36px 0 rgba(0, 0, 0, 0.25); - overflow: auto; - white-space: normal; -} -.popover > .popover-inner[data-content-type][data-content-type*=pdf], .popover > .popover-inner[data-content-type][data-content-type*=image] { - padding: 0; - max-height: 100%; -} -.popover > .popover-inner[data-content-type][data-content-type*=image] img { - margin: 0; - border-radius: 0; - display: block; -} -.popover > .popover-inner[data-content-type][data-content-type*=pdf] iframe { - width: 100%; -} -.popover h1 { - font-size: 1.5rem; -} -@media all and (max-width: 600px) { - .popover { - display: none !important; - } -} - -a:hover .popover, -.popover:hover { - animation: dropin 0.3s ease; - animation-fill-mode: forwards; - animation-delay: 0.2s; -} -/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiQzpcXFVzZXJzXFxtYXJlcyB2YWNsYXZcXHNpdGVcXHF1YXJ0elxcY29tcG9uZW50c1xcc3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AgdHJhbnNpdGlvbjpcbiAgICBvcGFjaXR5IDAuM3MgZWFzZSxcbiAgICB2aXNpYmlsaXR5IDAuM3MgZWFzZTtcblxuICBAbWVkaWEgYWxsIGFuZCAobWF4LXdpZHRoOiAkbW9iaWxlQnJlYWtwb2ludCkge1xuICAgIGRpc3BsYXk6IG5vbmUgIWltcG9ydGFudDtcbiAgfVxufVxuXG5hOmhvdmVyIC5wb3BvdmVyLFxuLnBvcG92ZXI6aG92ZXIge1xuICBhbmltYXRpb246IGRyb3BpbiAwLjNzIGVhc2U7XG4gIGFuaW1hdGlvbi1maWxsLW1vZGU6IGZvcndhcmRzO1xuICBhbmltYXRpb24tZGVsYXk6IDAuMnM7XG59XG4iXX0= */`;import{Features,transform}from"lightningcss";import{transform as transpile}from"esbuild";function getComponentResources(ctx){let allComponents=new Set;for(let emitter of ctx.cfg.plugins.emitters){let components=emitter.getQuartzComponents(ctx);for(let component of components)allComponents.add(component)}let componentResources={css:new Set,beforeDOMLoaded:new Set,afterDOMLoaded:new Set};for(let component of allComponents){let{css,beforeDOMLoaded,afterDOMLoaded}=component;css&&componentResources.css.add(css),beforeDOMLoaded&&componentResources.beforeDOMLoaded.add(beforeDOMLoaded),afterDOMLoaded&&componentResources.afterDOMLoaded.add(afterDOMLoaded)}return{css:[...componentResources.css],beforeDOMLoaded:[...componentResources.beforeDOMLoaded],afterDOMLoaded:[...componentResources.afterDOMLoaded]}}__name(getComponentResources,"getComponentResources");async function joinScripts(scripts){let script=scripts.map(script2=>`(function () {${script2}})();`).join(` -`);return(await transpile(script,{minify:!0})).code}__name(joinScripts,"joinScripts");function addGlobalPageResources(ctx,componentResources){let cfg=ctx.cfg.configuration;if(cfg.enablePopovers&&(componentResources.afterDOMLoaded.push(popover_inline_default),componentResources.css.push(popover_default)),cfg.analytics?.provider==="google"){let tagId=cfg.analytics.tagId;componentResources.afterDOMLoaded.push(` - const gtagScript = document.createElement("script") - gtagScript.src = "https://www.googletagmanager.com/gtag/js?id=${tagId}" - gtagScript.async = true - document.head.appendChild(gtagScript) - - window.dataLayer = window.dataLayer || []; - function gtag() { dataLayer.push(arguments); } - gtag("js", new Date()); - gtag("config", "${tagId}", { send_page_view: false }); - - document.addEventListener("nav", () => { - gtag("event", "page_view", { - page_title: document.title, - page_location: location.href, - }); - });`)}else if(cfg.analytics?.provider==="plausible"){let plausibleHost=cfg.analytics.host??"https://plausible.io";componentResources.afterDOMLoaded.push(` - const plausibleScript = document.createElement("script") - plausibleScript.src = "${plausibleHost}/js/script.manual.js" - plausibleScript.setAttribute("data-domain", location.hostname) - plausibleScript.defer = true - document.head.appendChild(plausibleScript) - - window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) } - - document.addEventListener("nav", () => { - plausible("pageview") - }) - `)}else cfg.analytics?.provider==="umami"?componentResources.afterDOMLoaded.push(` - const umamiScript = document.createElement("script") - umamiScript.src = "${cfg.analytics.host??"https://analytics.umami.is"}/script.js" - umamiScript.setAttribute("data-website-id", "${cfg.analytics.websiteId}") - umamiScript.async = true - - document.head.appendChild(umamiScript) - `):cfg.analytics?.provider==="goatcounter"&&componentResources.afterDOMLoaded.push(` - const goatcounterScript = document.createElement("script") - goatcounterScript.src = "${cfg.analytics.scriptSrc??"https://gc.zgo.at/count.js"}" - goatcounterScript.async = true - goatcounterScript.setAttribute("data-goatcounter", - "https://${cfg.analytics.websiteId}.${cfg.analytics.host??"goatcounter.com"}/count") - document.head.appendChild(goatcounterScript) - `);cfg.enableSPA?componentResources.afterDOMLoaded.push(spa_inline_default):componentResources.afterDOMLoaded.push(` - window.spaNavigate = (url, _) => window.location.assign(url) - window.addCleanup = () => {} - const event = new CustomEvent("nav", { detail: { url: document.body.dataset.slug } }) - document.dispatchEvent(event) - `)}__name(addGlobalPageResources,"addGlobalPageResources");var ComponentResources=__name(()=>({name:"ComponentResources",getQuartzComponents(){return[]},async getDependencyGraph(_ctx,_content,_resources){return new DepGraph},async emit(ctx,_content,_resources){let promises=[],cfg=ctx.cfg.configuration,componentResources=getComponentResources(ctx),googleFontsStyleSheet="";if(cfg.theme.fontOrigin!=="local"){if(cfg.theme.fontOrigin==="googleFonts"&&!cfg.theme.cdnCaching){let match,fontSourceRegex=/url\((https:\/\/fonts.gstatic.com\/s\/[^)]+\.(woff2|ttf))\)/g;for(googleFontsStyleSheet=await(await fetch(googleFontHref(ctx.cfg.configuration.theme))).text();(match=fontSourceRegex.exec(googleFontsStyleSheet))!==null;){let url=match[1],[filename,ext]=url.split("/").pop().split(".");googleFontsStyleSheet=googleFontsStyleSheet.replace(url,`https://${cfg.baseUrl}/static/fonts/${filename}.ttf`),promises.push(fetch(url).then(res=>{if(!res.ok)throw new Error("Failed to fetch font");return res.arrayBuffer()}).then(buf=>write({ctx,slug:joinSegments("static","fonts",filename),ext:`.${ext}`,content:Buffer.from(buf)})))}}}addGlobalPageResources(ctx,componentResources);let stylesheet=joinStyles(ctx.cfg.configuration.theme,googleFontsStyleSheet,...componentResources.css,custom_default),[prescript,postscript]=await Promise.all([joinScripts(componentResources.beforeDOMLoaded),joinScripts(componentResources.afterDOMLoaded)]);return promises.push(write({ctx,slug:"index",ext:".css",content:transform({filename:"index.css",code:Buffer.from(stylesheet),minify:!0,targets:{safari:984576,ios_saf:984576,edge:7536640,firefox:6684672,chrome:7143424},include:Features.MediaQueries}).code.toString()}),write({ctx,slug:"prescript",ext:".js",content:prescript}),write({ctx,slug:"postscript",ext:".js",content:postscript})),await Promise.all(promises)}}),"ComponentResources");var NotFoundPage=__name(()=>{let opts={...sharedPageComponents,pageBody:__default(),beforeBody:[],left:[],right:[]},{head:Head,pageBody,footer:Footer}=opts,Body2=Body_default();return{name:"404Page",getQuartzComponents(){return[Head,Body2,pageBody,Footer]},async getDependencyGraph(_ctx,_content,_resources){return new DepGraph},async emit(ctx,_content,resources){let cfg=ctx.cfg.configuration,slug="404",path13=new URL(`https://${cfg.baseUrl??"example.com"}`).pathname,externalResources=pageResources(path13,resources),notFound=i18n(cfg.locale).pages.error.title,[tree,vfile]=defaultProcessedContent({slug,text:notFound,description:notFound,frontmatter:{title:notFound,tags:[]}}),componentData={ctx,fileData:vfile.data,externalResources,cfg,children:[],tree,allFiles:[]};return[await write({ctx,content:renderPage(cfg,slug,componentData,opts,externalResources),slug,ext:".html"})]}}},"NotFoundPage");import chalk5 from"chalk";function getStaticResourcesFromPlugins(ctx){let staticResources={css:[],js:[]};for(let transformer of ctx.cfg.plugins.transformers){let res=transformer.externalResources?transformer.externalResources(ctx):{};res?.js&&staticResources.js.push(...res.js),res?.css&&staticResources.css.push(...res.css)}if(ctx.argv.serve){let wsUrl=ctx.argv.remoteDevHost?`wss://${ctx.argv.remoteDevHost}:${ctx.argv.wsPort}`:`ws://localhost:${ctx.argv.wsPort}`;staticResources.js.push({loadTime:"afterDOMReady",contentType:"inline",script:` - const socket = new WebSocket('${wsUrl}') - // reload(true) ensures resources like images and scripts are fetched again in firefox - socket.addEventListener('message', () => document.location.reload(true)) - `})}return staticResources}__name(getStaticResourcesFromPlugins,"getStaticResourcesFromPlugins");async function emitContent(ctx,content){let{argv,cfg}=ctx,perf=new PerfTimer,log=new QuartzLogger(ctx.argv.verbose);log.start("Emitting output files");let emittedFiles=0,staticResources=getStaticResourcesFromPlugins(ctx);for(let emitter of cfg.plugins.emitters)try{let emitted=await emitter.emit(ctx,content,staticResources);if(emittedFiles+=emitted.length,ctx.argv.verbose)for(let file of emitted)console.log(`[emit:${emitter.name}] ${file}`)}catch(err){trace(`Failed to emit from plugin \`${emitter.name}\``,err)}log.end(`Emitted ${emittedFiles} files to \`${argv.output}\` in ${perf.timeSince()}`)}__name(emitContent,"emitContent");var config={configuration:{pageTitle:"\u{1F303} Ulysia",enableSPA:!0,enablePopovers:!0,analytics:{provider:"plausible",host:"plausible.nexae.net"},locale:"en-US",baseUrl:"derg.cz",ignorePatterns:["private","templates",".obsidian"],defaultDateType:"created",theme:{fontOrigin:"googleFonts",cdnCaching:!0,typography:{header:"Schibsted Grotesk",body:"Source Sans Pro",code:"IBM Plex Mono"},colors:{lightMode:{light:"#faf8f8",lightgray:"#e5e5e5",gray:"#b8b8b8",darkgray:"#4e4e4e",dark:"#2b2b2b",secondary:"#064673",tertiary:"#e83a7d",highlight:"rgba(143, 159, 169, 0.15)"},darkMode:{light:"#161618",lightgray:"#393639",gray:"#646464",darkgray:"#d4d4d4",dark:"#ebebec",secondary:"#439fde",tertiary:"#e83a7d",highlight:"rgba(143, 159, 169, 0.15)"}}}},plugins:{transformers:[FrontMatter(),CreatedModifiedDate({priority:["frontmatter","filesystem"]}),Latex({renderEngine:"katex"}),SyntaxHighlighting({theme:{light:"github-light",dark:"github-dark"},keepBackground:!1}),ObsidianFlavoredMarkdown({enableInHtmlEmbed:!1}),GitHubFlavoredMarkdown(),TableOfContents(),CrawlLinks({markdownLinkResolution:"shortest"}),Description()],filters:[RemoveDrafts()],emitters:[AliasRedirects(),ComponentResources(),ContentPage(),FolderPage(),TagPage(),ContentIndex({enableSiteMap:!0,enableRSS:!0}),Assets(),Static(),NotFoundPage()]}},quartz_config_default=config;import chokidar from"chokidar";import fs5 from"fs";import{fileURLToPath}from"url";var options={retrieveSourceMap(source){if(source.includes(".quartz-cache")){let realSource=fileURLToPath(source.split("?",2)[0]+".map");return{map:fs5.readFileSync(realSource,"utf8")}}else return null}};sourceMapSupport.install(options);async function buildQuartz(argv,mut,clientRefresh){let ctx={argv,cfg:quartz_config_default,allSlugs:[]},perf=new PerfTimer,output=argv.output,pluginCount=Object.values(quartz_config_default.plugins).flat().length,pluginNames=__name(key=>quartz_config_default.plugins[key].map(plugin=>plugin.name),"pluginNames");argv.verbose&&(console.log(`Loaded ${pluginCount} plugins`),console.log(` Transformers: ${pluginNames("transformers").join(", ")}`),console.log(` Filters: ${pluginNames("filters").join(", ")}`),console.log(` Emitters: ${pluginNames("emitters").join(", ")}`));let release=await mut.acquire();perf.addEvent("clean"),await rimraf(path12.join(output,"*"),{glob:!0}),console.log(`Cleaned output directory \`${output}\` in ${perf.timeSince("clean")}`),perf.addEvent("glob");let allFiles=await glob("**/*.*",argv.directory,quartz_config_default.configuration.ignorePatterns),fps=allFiles.filter(fp=>fp.endsWith(".md")).sort();console.log(`Found ${fps.length} input files from \`${argv.directory}\` in ${perf.timeSince("glob")}`);let filePaths=fps.map(fp=>joinSegments(argv.directory,fp));ctx.allSlugs=allFiles.map(fp=>slugifyFilePath(fp));let parsedFiles=await parseMarkdown(ctx,filePaths),filteredContent=filterContent(ctx,parsedFiles),dependencies={};if(argv.fastRebuild){let staticResources=getStaticResourcesFromPlugins(ctx);for(let emitter of quartz_config_default.plugins.emitters)dependencies[emitter.name]=await emitter.getDependencyGraph?.(ctx,filteredContent,staticResources)??null}if(await emitContent(ctx,filteredContent),console.log(chalk6.green(`Done processing ${fps.length} files in ${perf.timeSince()}`)),release(),argv.serve)return startServing(ctx,mut,parsedFiles,clientRefresh,dependencies)}__name(buildQuartz,"buildQuartz");async function startServing(ctx,mut,initialContent,clientRefresh,dependencies){let{argv}=ctx,contentMap=new Map;for(let content of initialContent){let[_tree,vfile]=content;contentMap.set(vfile.data.filePath,content)}let buildData={ctx,mut,dependencies,contentMap,ignored:await isGitIgnored(),initialSlugs:ctx.allSlugs,toRebuild:new Set,toRemove:new Set,trackedAssets:new Set,lastBuildMs:0},watcher=chokidar.watch(".",{persistent:!0,cwd:argv.directory,ignoreInitial:!0}),buildFromEntry=argv.fastRebuild?partialRebuildFromEntrypoint:rebuildFromEntrypoint;return watcher.on("add",fp=>buildFromEntry(fp,"add",clientRefresh,buildData)).on("change",fp=>buildFromEntry(fp,"change",clientRefresh,buildData)).on("unlink",fp=>buildFromEntry(fp,"delete",clientRefresh,buildData)),async()=>{await watcher.close()}}__name(startServing,"startServing");async function partialRebuildFromEntrypoint(filepath,action,clientRefresh,buildData){let{ctx,ignored,dependencies,contentMap,mut,toRemove}=buildData,{argv,cfg}=ctx;if(ignored(filepath))return;let buildStart=new Date().getTime();buildData.lastBuildMs=buildStart;let release=await mut.acquire();if(buildData.lastBuildMs>buildStart){release();return}let perf=new PerfTimer;console.log(chalk6.yellow("Detected change, rebuilding..."));let fp=joinSegments(argv.directory,toPosixPath(filepath)),staticResources=getStaticResourcesFromPlugins(ctx),processedFiles=[];switch(action){case"add":processedFiles=await parseMarkdown(ctx,[fp]),processedFiles.forEach(([tree,vfile])=>contentMap.set(vfile.data.filePath,[tree,vfile]));for(let emitter of cfg.plugins.emitters){let emitterGraph=await emitter.getDependencyGraph?.(ctx,processedFiles,staticResources)??null;if(emitterGraph){let existingGraph=dependencies[emitter.name];existingGraph!==null?existingGraph.mergeGraph(emitterGraph):dependencies[emitter.name]=emitterGraph}}break;case"change":if(processedFiles=await parseMarkdown(ctx,[fp]),processedFiles.forEach(([tree,vfile])=>contentMap.set(vfile.data.filePath,[tree,vfile])),path12.extname(fp)===".md")for(let emitter of cfg.plugins.emitters){let emitterGraph=await emitter.getDependencyGraph?.(ctx,processedFiles,staticResources)??null;emitterGraph?.hasNode(fp)&&dependencies[emitter.name]?.updateIncomingEdgesForNode(emitterGraph,fp)}break;case"delete":toRemove.add(fp);break}argv.verbose&&console.log(`Updated dependency graphs in ${perf.timeSince()}`),perf.addEvent("rebuild");let emittedFiles=0;for(let emitter of cfg.plugins.emitters){let depGraph=dependencies[emitter.name];if(depGraph===null){argv.verbose&&console.log(`Emitter ${emitter.name} doesn't define a dependency graph. Calling it with all files...`);let files=[...contentMap.values()].filter(([_node,vfile])=>!toRemove.has(vfile.data.filePath)),emittedFps=await emitter.emit(ctx,files,staticResources);if(ctx.argv.verbose)for(let file of emittedFps)console.log(`[emit:${emitter.name}] ${file}`);emittedFiles+=emittedFps.length;continue}if(depGraph.hasNode(fp)){let upstreamContent=[...depGraph.getLeafNodeAncestors(fp)].filter(file=>contentMap.has(file)).filter(file=>!toRemove.has(file)).map(file=>contentMap.get(file)),emittedFps=await emitter.emit(ctx,upstreamContent,staticResources);if(ctx.argv.verbose)for(let file of emittedFps)console.log(`[emit:${emitter.name}] ${file}`);emittedFiles+=emittedFps.length}}console.log(`Emitted ${emittedFiles} files to \`${argv.output}\` in ${perf.timeSince("rebuild")}`);let destinationsToDelete=new Set;for(let file of toRemove)contentMap.delete(file),Object.values(dependencies).forEach(depGraph=>{depGraph?.removeNode(file),depGraph?.removeOrphanNodes()?.forEach(node=>{node.startsWith(argv.output)&&destinationsToDelete.add(node)})});await rimraf([...destinationsToDelete]),console.log(chalk6.green(`Done rebuilding in ${perf.timeSince()}`)),toRemove.clear(),release(),clientRefresh()}__name(partialRebuildFromEntrypoint,"partialRebuildFromEntrypoint");async function rebuildFromEntrypoint(fp,action,clientRefresh,buildData){let{ctx,ignored,mut,initialSlugs,contentMap,toRebuild,toRemove,trackedAssets}=buildData,{argv}=ctx;if(ignored(fp))return;fp=toPosixPath(fp);let filePath=joinSegments(argv.directory,fp);if(path12.extname(fp)!==".md"){action==="add"||action==="change"?trackedAssets.add(filePath):action==="delete"&&trackedAssets.delete(filePath),clientRefresh();return}action==="add"||action==="change"?toRebuild.add(filePath):action==="delete"&&toRemove.add(filePath);let buildStart=new Date().getTime();buildData.lastBuildMs=buildStart;let release=await mut.acquire();if(buildData.lastBuildMs>buildStart){release();return}let perf=new PerfTimer;console.log(chalk6.yellow("Detected change, rebuilding..."));try{let filesToRebuild=[...toRebuild].filter(fp2=>!toRemove.has(fp2)),trackedSlugs=[...new Set([...contentMap.keys(),...toRebuild,...trackedAssets])].filter(fp2=>!toRemove.has(fp2)).map(fp2=>slugifyFilePath(path12.posix.relative(argv.directory,fp2)));ctx.allSlugs=[...new Set([...initialSlugs,...trackedSlugs])];let parsedContent=await parseMarkdown(ctx,filesToRebuild);for(let content of parsedContent){let[_tree,vfile]=content;contentMap.set(vfile.data.filePath,content)}for(let fp2 of toRemove)contentMap.delete(fp2);let parsedFiles=[...contentMap.values()],filteredContent=filterContent(ctx,parsedFiles);await rimraf(path12.join(argv.output,".*"),{glob:!0}),await emitContent(ctx,filteredContent),console.log(chalk6.green(`Done rebuilding in ${perf.timeSince()}`))}catch(err){console.log(chalk6.yellow("Rebuild failed. Waiting on a change to fix the error...")),argv.verbose&&console.log(chalk6.red(err))}release(),clientRefresh(),toRebuild.clear(),toRemove.clear()}__name(rebuildFromEntrypoint,"rebuildFromEntrypoint");var build_default=__name(async(argv,mut,clientRefresh)=>{try{return await buildQuartz(argv,mut,clientRefresh)}catch(err){trace(` -Exiting Quartz due to a fatal error`,err)}},"default");export{build_default as default}; -//# sourceMappingURL=transpiled-build.mjs.map diff --git a/quartz/.quartz-cache/transpiled-build.mjs.map b/quartz/.quartz-cache/transpiled-build.mjs.map deleted file mode 100644 index b639725..0000000 --- a/quartz/.quartz-cache/transpiled-build.mjs.map +++ /dev/null @@ -1,6 +0,0 @@ -{ - "version": 3, - "sources": ["../build.ts", "../util/perf.ts", "../processors/parse.ts", "../util/path.ts", "../util/log.ts", "../util/trace.ts", "../processors/filter.ts", "../plugins/transformers/frontmatter.ts", "../i18n/locales/en-US.ts", "../i18n/locales/fr-FR.ts", "../i18n/locales/it-IT.ts", "../i18n/locales/ja-JP.ts", "../i18n/locales/de-DE.ts", "../i18n/locales/nl-NL.ts", "../i18n/locales/ro-RO.ts", "../i18n/locales/es-ES.ts", "../i18n/locales/ar-SA.ts", "../i18n/locales/uk-UA.ts", "../i18n/locales/ru-RU.ts", "../i18n/locales/ko-KR.ts", "../i18n/locales/zh-CN.ts", "../i18n/locales/vi-VN.ts", "../i18n/locales/pt-BR.ts", "../i18n/locales/hu-HU.ts", "../i18n/index.ts", "../plugins/transformers/gfm.ts", "../plugins/transformers/citations.ts", "../plugins/transformers/lastmod.ts", "../plugins/transformers/latex.ts", "../plugins/transformers/description.ts", "../util/escape.ts", "../plugins/transformers/links.ts", "../plugins/transformers/ofm.ts", "../components/scripts/callout.inline.ts", "../components/scripts/checkbox.inline.ts", "../util/lang.ts", "../plugins/transformers/oxhugofm.ts", "../plugins/transformers/syntax.ts", "../plugins/transformers/toc.ts", "../plugins/transformers/linebreaks.ts", "../plugins/filters/draft.ts", "../plugins/emitters/contentPage.tsx", "../components/Header.tsx", "../components/scripts/clipboard.inline.ts", "../components/styles/clipboard.scss", "../components/Body.tsx", "../components/renderPage.tsx", "../util/resources.tsx", "../util/jsx.tsx", "../components/pages/Content.tsx", "../components/styles/listPage.scss", "../components/Date.tsx", "../components/PageList.tsx", "../components/pages/TagContent.tsx", "../components/pages/FolderContent.tsx", "../components/pages/404.tsx", "../components/ArticleTitle.tsx", "../components/scripts/darkmode.inline.ts", "../components/styles/darkmode.scss", "../components/Darkmode.tsx", "../util/theme.ts", "../components/Head.tsx", "../components/PageTitle.tsx", "../components/ContentMeta.tsx", "../components/styles/contentMeta.scss", "../components/Spacer.tsx", "../components/styles/legacyToc.scss", "../components/styles/toc.scss", "../components/scripts/toc.inline.ts", "../components/TableOfContents.tsx", "../components/styles/explorer.scss", "../components/scripts/explorer.inline.ts", "../components/ExplorerNode.tsx", "../components/Explorer.tsx", "../components/TagList.tsx", "../components/scripts/graph.inline.ts", "../components/styles/graph.scss", "../components/Graph.tsx", "../components/styles/backlinks.scss", "../components/Backlinks.tsx", "../components/styles/search.scss", "../components/scripts/search.inline.ts", "../components/Search.tsx", "../components/styles/footer.scss", "../components/Footer.tsx", "../components/DesktopOnly.tsx", "../components/MobileOnly.tsx", "../components/RecentNotes.tsx", "../components/styles/breadcrumbs.scss", "../components/Breadcrumbs.tsx", "../components/PageImage.tsx", "../components/Homebar.tsx", "../components/Footer_links.tsx", "../components/styles/customfooter.scss", "../components/styles/buttons8831.scss", "../components/buttons.json", "../components/Btn8831.tsx", "../components/CustomFooter.tsx", "../../quartz.layout.ts", "../plugins/emitters/helpers.ts", "../depgraph.ts", "../plugins/vfile.ts", "../plugins/emitters/tagPage.tsx", "../plugins/emitters/folderPage.tsx", "../plugins/emitters/contentIndex.ts", "../plugins/emitters/aliases.ts", "../plugins/emitters/assets.ts", "../util/glob.ts", "../plugins/emitters/static.ts", "../components/scripts/spa.inline.ts", "../components/scripts/popover.inline.ts", "../styles/custom.scss", "../components/styles/popover.scss", "../plugins/emitters/componentResources.ts", "../plugins/emitters/404.tsx", "../plugins/emitters/cname.ts", "../plugins/index.ts", "../processors/emit.ts", "../../quartz.config.ts", "../util/sourcemap.ts"], - "mappings": "gHAAA,OAAO,qBAAsB,qBAE7B,OAAOA,WAAU,OCFjB,OAAO,UAAW,QAClB,OAAO,WAAY,cAEZ,IAAM,UAAN,KAAgB,CAHvB,MAGuB,0BACrB,KAEA,aAAc,CACZ,KAAK,KAAO,CAAC,EACb,KAAK,SAAS,OAAO,CACvB,CAEA,SAAS,QAAiB,CACxB,KAAK,KAAK,OAAO,EAAI,QAAQ,OAAO,CACtC,CAEA,UAAU,QAA0B,CAClC,OAAO,MAAM,OAAO,OAAO,QAAQ,OAAO,KAAK,KAAK,SAAW,OAAO,CAAC,CAAC,CAAC,CAC3E,CACF,EDdA,OAAS,WAAc,SACvB,OAA+B,iBAAoB,SACnD,OAAOC,WAAW,QENlB,OAAO,YAAa,UACpB,OAAO,gBAAiB,eACxB,OAAO,iBAAkB,gBACzB,OAAoB,YAAe,UAKnC,OAAS,SAAY,WCRrB,OAAS,QAAQ,eAAkB,iBAEnC,OAAO,SAAU,OAEV,IAAM,MAAQ,KAAK,EAIb,OAAS,SA8Bf,SAAS,cAAc,EAA6B,CACzD,IAAM,WAAa,WAAW,KAAK,CAAC,EAC9B,YAAc,CAAC,SAAS,EAAG,OAAO,EACxC,OAAO,YAAc,aAAe,CAAC,CAAC,MAAO,OAAO,EAAE,SAAS,kBAAkB,CAAC,GAAK,EAAE,CAC3F,CAJgB,sCAWhB,SAAS,SAAS,EAAmB,CACnC,OAAO,EACJ,MAAM,GAAG,EACT,IAAK,SACJ,QACG,QAAQ,MAAO,GAAG,EAClB,QAAQ,KAAM,OAAO,EACrB,QAAQ,KAAM,UAAU,EACxB,QAAQ,MAAO,EAAE,EACjB,QAAQ,KAAM,EAAE,CACrB,EACC,KAAK,GAAG,EACR,QAAQ,MAAO,EAAE,CACtB,CAbS,4BAeF,SAAS,gBAAg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AAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;63CCAf,qBACE,CACE,MAAS,yDACT,IAAO,uBACP,IAAO,wLACP,MAAS,wLACT,KAAQ,SACR,YAAe,OACjB,EACA,CACE,IAAO,qCACP,IAAO,kBACP,MAAS,kBACT,KAAQ,OACR,YAAe,SACf,iBAAoB,CAClB,MAAS,4CACT,MAAS,KACT,OAAU,KACV,YAAe,GACjB,CACF,EACA,CACE,MAAS,4CACT,IAAO,uBACP,IAAO,2DACP,MAAS,oCACT,KAAQ,SACR,YAAe,OACjB,EACA,CACE,MAAS,oDACT,IAAO,oDACP,IAAO,qCACP,MAAS,qCACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,gDACT,IAAO,gDACP,IAAO,eACP,MAAS,eACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,iDACT,IAAO,iDACP,IAAO,wEACP,MAAS,eACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,0CACT,IAAO,0CACP,IAAO,GACP,MAAS,GACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,6CACT,IAAO,6CACP,IAAO,+BACP,MAAS,+BACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,+CACT,IAAO,+CACP,IAAO,kCACP,MAAS,kCACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,gDACT,IAAO,gDACP,IAAO,0CACP,MAAS,0CACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,iDACT,IAAO,iDACP,IAAO,eACP,MAAS,uOACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,2CACT,IAAO,oBACP,IAAO,kDACP,MAAS,kDACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,+CACT,IAAO,+CACP,IAAO,oBACP,MAAS,oBACT,KAAQ,OACR,YAAe,OACjB,EACA,CACE,MAAS,4CACT,IAAO,4CACP,IAAO,gCACP,MAAS,gCACT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AAK,CACZ,MAAM;AAAA,qCAAyC,GAAY,CAC7D,CACF,EANe", - "names": ["path", "chalk", "targetSlug", "chalk", "process", "chalk", "process", "defaultOptions", "path", "chalk", "defaultOptions", "chalk", "path", "defaultOptions", "path", "visit", "defaultOptions", "visit", "path", "slugAnchor", "visit", "path", "defaultOptions", "value", "slugAnchor", "path", "url", "visit", "classNames", "defaultOptions", "visit", "toString", "defaultOptions", "slugAnchor", "visit", "toString", "path", "visit", "jsx", "jsx", "visit", "jsx", "pageResources", "visit", "Content", "Header", "Body", "jsx", "jsxs", "jsx", "jsxs", "jsx", "Fragment", "jsx", "Date", "jsx", "jsxs", "Date", "Fragment", "jsx", "jsxs", "tag", "content", "path", "jsx", "jsxs", "defaultOptions", "options", "path", "jsx", "jsxs", "jsx", "jsx", "jsxs", "Fragment", "jsx", "jsxs", "path", "jsx", "jsx", "defaultOptions", "options", "jsx", "jsx", "jsxs", "defaultOptions", "TableOfContents", "Fragment", "jsx", "jsxs", "jsx", "jsxs", "defaultOptions", "jsx", "jsx", "jsxs", "defaultOptions", "jsx", "jsxs", "jsx", "jsxs", "defaultOptions", "jsx", "jsxs", "Fragment", "jsx", "Fragment", "jsx", "jsx", "jsxs", "Fragment", "jsx", "jsxs", "defaultOptions", "options", "jsx", "jsx", "jsxs", "jsx", "jsxs", "jsx", "jsxs", "jsx", "jsxs", "chalk", "path", "fs", "path", "fs", "node", "visit", "path", "Header", "Body", "content", "chalk", "Header", "Body", "content", "path", "Header", "Body", "path", "content", "toHtml", "defaultOptions", "toHtml", "content", "path", "path", "path", "fs", "path", "path", "path", "fs", "fs", "fs", "script", "Body", "path", "chalk", "fs", "path", "chalk", "fp"] -} diff --git a/quartz/components/Btn8831.tsx b/quartz/components/Btn8831.tsx index 1439d4e..6561d5c 100644 --- a/quartz/components/Btn8831.tsx +++ b/quartz/components/Btn8831.tsx @@ -1,27 +1,10 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types" -import style from "./styles/buttons8831.scss" -import rawButtonsData from "./buttons.json" -import DOMPurify from "dompurify" - -interface ButtonData { - url?: string - image?: string - alt?: string - title?: string - type?: string - contentType?: "image" | "iframe" | "text" | "custom" - iframeAttributes?: { [key: string]: string } - border?: [string, string] // Array of two colors for the border - text?: string // For "text" contentType - customContent?: string // For "custom" contentType - textColor?: string // For specifying text color in "text" contentType -} +// Import the JSON data +import buttonsData from "./buttons.json" export default (() => { - const Btn8831: QuartzComponent = (props: QuartzComponentProps) => { - const { displayClass } = props - - const buttonsData = rawButtonsData as ButtonData[] + // Define the component + const Btn8831: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => { // Group buttons by type const groupedButtons = groupButtonsByType(buttonsData) @@ -54,78 +37,47 @@ export default (() => { ) } - Btn8831.css = style + // Function to group buttons by type + function groupButtonsByType(buttons: any[]) { + const groups: { [key: string]: any[] } = { + misc: [], + friend: [], + standard: [], + } + + buttons.forEach((button: any) => { + let type = button.type?.toLowerCase() || "standard" + if (type === "fren") type = "friend" + if (!groups[type]) type = "standard" // Default to 'standard' if type is unrecognized + groups[type].push(button) + }) + + return groups + } + + // Function to render button content based on contentType + function renderButtonContent(button: any): preact.VNode | null { + const contentType = button.contentType || "image" // Default to 'image' + + if (contentType === "image") { + return ( + + {button.alt} + + ) + } else if (contentType === "iframe") { + const iframeAttrs = button.iframeAttributes || {} + return + } else { + // Handle other content types if necessary + return null + } + } return Btn8831 }) satisfies QuartzComponentConstructor - -function groupButtonsByType(buttons: ButtonData[]) { - const groups: { [key: string]: ButtonData[] } = { - misc: [], - friend: [], - standard: [], - } - - buttons.forEach((button) => { - let type = button.type?.toLowerCase() || "standard" - if (type === "fren") type = "friend" - if (!groups[type]) type = "standard" // Default to 'standard' if type is unrecognized - groups[type].push(button) - }) - - return groups -} - -function renderButtonContent(button: ButtonData): preact.VNode | null { - const contentType = button.contentType?.toLowerCase() || "image" - - let content: preact.VNode | null = null - - if (contentType === "image") { - // ... existing code for image ... - } else if (contentType === "iframe") { - // ... existing code for iframe ... - } else if (contentType === "text") { - const borderColors = button.border || ["#000", "#000"] - const textContent = button.text || "" - const textColor = button.textColor || "#000" - - // **Important:** Sanitize the text content to prevent XSS attacks. - // Install DOMPurify: npm install dompurify - const sanitizedTextContent = DOMPurify.sanitize(textContent) - - const divStyle = { - width: "88px", - height: "31px", - boxSizing: "border-box", - borderStyle: "solid", - borderWidth: "2px", - borderTopColor: borderColors[0], - borderRightColor: borderColors[0], - borderBottomColor: borderColors[1], - borderLeftColor: borderColors[1], - display: "flex", - alignItems: "center", - justifyContent: "center", - fontSize: "12px", - overflow: "hidden", - color: textColor, - } - - const textElement = ( -
    - ) - - if (button.url) { - content = {textElement} - } else { - content = textElement - } - } else if (contentType === "custom") { - // ... existing code for custom ... - } else { - return null - } - - return content -} -