#!/usr/bin/env node
import { fileURLToPath as ___fileURLToPath } from "node:url";
import { dirname as ___dirname } from "node:path";
import { createRequire as ___createRequire} from "node:module";
const __filename = ___fileURLToPath(import.meta.url);
const __dirname = ___dirname(__filename);
const require = ___createRequire(import.meta.url);
/*! @kayahr/typedoc v0.28.19-bundle.1 | MIT */
import{cpSync as g}from"fs";import{dirname as f,resolve as l}from"path";import{DefaultTheme as d,JSX as s,RendererEvent as b}from"@kayahr/typedoc";import{fileURLToPath as y}from"url";import{DefaultThemeRenderContext as c}from"@kayahr/typedoc";import{JSX as t}from"@kayahr/typedoc";function a(e){return t.createElement("footer",null,e.hook("footer.begin",e),u(e),p(e),e.hook("footer.end",e))}function u(e){return e.options.getValue("hideGenerator")?t.createElement(t.Fragment,null):t.createElement("p",{class:"tsd-generator"},"Generated using ",t.createElement("a",{href:"https://typedoc.org/",target:"_blank"},"TypeDoc")," with ",t.createElement("a",{href:"https://github.com/JulianWowra/typedoc-github-theme",target:"_blank"},"typedoc-github-theme"))}function p(e){let o=e.options.getValue("customFooterHtml");return o?e.options.getValue("customFooterHtmlDisableWrapper")?t.createElement(t.Raw,{html:o}):t.createElement("p",null,t.createElement(t.Raw,{html:o})):t.createElement(t.Fragment,null)}var r=class extends c{footer=()=>a(this)};var i=class extends d{constructor(o){super(o),o.on(b.END,n=>{let h=l(f(y(import.meta.url)),"./assets/"),m=l(n.outputDirectory,"assets/");g(h,m,{recursive:!0})}),o.hooks.on("head.end",n=>s.createElement(s.Fragment,null,s.createElement("link",{rel:"stylesheet",href:n.relativeURL("assets/typedoc-github-style.css")}))),o.application.on("bootstrapEnd",()=>{this.application.options.isSet("lightHighlightTheme")||this.application.options.setValue("lightHighlightTheme","github-light-default"),this.application.options.isSet("darkHighlightTheme")||this.application.options.setValue("darkHighlightTheme","github-dark-default")})}getRenderContext(o){return new r(this.router,this,o,this.application.options)}};function x(e){e.renderer.defineTheme("typedoc-github-theme",i),e.on("bootstrapEnd",()=>{if(e.options.isSet("theme")&&e.options.getValue("theme")!=="typedoc-github-theme")return e.logger.warn(`The theme 'typedoc-github-theme' is not used because another theme (${e.options.getValue("theme")}) was specified!`);e.options.setValue("theme","typedoc-github-theme")})}export{x as load};
