Website-Stand vom 14.10.2026 veroeffentlichen

This commit is contained in:
Tim Büning committed 2026-10-14 12:54:19 +02:00
commit 4ae8cea7b1
158 files changed
+46887

No files matched your search

+3105
View File
File diff suppressed because it is too large. Load diff
@@ -0,0 +1 @@
const sitePreference=document.documentElement.getAttribute("data-default-appearance"),userPreference=localStorage.getItem("appearance");(sitePreference==="dark"&&userPreference===null||userPreference==="dark")&&document.documentElement.classList.add("dark"),document.documentElement.getAttribute("data-auto-appearance")==="true"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches&&userPreference!=="light"&&document.documentElement.classList.add("dark"),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e=>{e.matches?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")}));var updateMeta,getTargetAppearance,updateMermaidTheme=()=>{if(typeof mermaid!="undefined"){const e=document.documentElement.classList.contains("dark"),t=document.querySelectorAll("pre.mermaid");t.forEach(e=>{e.getAttribute("data-processed")?(e.removeAttribute("data-processed"),e.innerHTML=e.getAttribute("data-graph")):e.setAttribute("data-graph",e.textContent)}),e?(initMermaidDark(),mermaid.run()):(initMermaidLight(),mermaid.run())}};window.addEventListener("DOMContentLoaded",e=>{const t=document.getElementById("appearance-switcher"),n=document.getElementById("appearance-switcher-mobile"),o="Zum dunklen Erscheinungsbild wechseln",i="Zum hellen Erscheinungsbild wechseln";updateMeta(),this.updateLogo?.(getTargetAppearance()),updateMermaidTheme();const s=e=>{const s=e==="dark"?i:o;t&&(t.setAttribute("aria-label",s),t.setAttribute("title",s)),n&&(n.setAttribute("aria-label",s),n.setAttribute("title",s))};s(getTargetAppearance()),t&&(t.addEventListener("click",()=>{document.documentElement.classList.toggle("dark");var e=getTargetAppearance();localStorage.setItem("appearance",e),updateMeta(),updateMermaidTheme(),s(e),this.updateLogo?.(e)}),t.addEventListener("contextmenu",e=>{e.preventDefault(),localStorage.removeItem("appearance")})),n&&(n.addEventListener("click",()=>{document.documentElement.classList.toggle("dark");var e=getTargetAppearance();localStorage.setItem("appearance",e),updateMeta(),updateMermaidTheme(),s(e),this.updateLogo?.(e)}),n.addEventListener("contextmenu",e=>{e.preventDefault(),localStorage.removeItem("appearance")}))}),updateMeta=()=>{var e=document.querySelector("body"),t=getComputedStyle(e);document.querySelector('meta[name="theme-color"]').setAttribute("content",t.backgroundColor)},getTargetAppearance=()=>document.documentElement.classList.contains("dark")?"dark":"light",window.addEventListener("DOMContentLoaded",e=>{const t=document.getElementById("top-scroller"),n=document.getElementById("site-footer");t&&n&&t.getBoundingClientRect().top>n.getBoundingClientRect().top&&(t.hidden=!0)})
@@ -0,0 +1 @@
function scrollToTop(){const e=document.getElementById("scroll-to-top");window.scrollY>window.innerHeight*.5?(e.classList.remove("translate-y-4","opacity-0"),e.classList.add("translate-y-0","opacity-100")):(e.classList.remove("translate-y-0","opacity-100"),e.classList.add("translate-y-4","opacity-0"))}window.addEventListener("scroll",scrollToTop),window.addEventListener("load",scrollToTop),document.getElementById("katex-render")&&document.getElementById("katex-render").addEventListener("load",()=>{renderMathInElement(document.body)}),function(){"use strict";function e(e){var t=e.checked?"true":"false";document.querySelectorAll('label[role="button"][for="'+e.id+'"]').forEach(function(e){e.setAttribute("aria-expanded",t)})}function n(){var t={};document.querySelectorAll('label[role="button"][for]').forEach(function(n){var s=document.getElementById(n.getAttribute("for"));if(!s||s.type!=="checkbox")return;n.addEventListener("keydown",function(e){(e.key==="Enter"||e.key===" "||e.key==="Spacebar")&&(e.preventDefault(),n.click())}),t[s.id]||(t[s.id]=!0,s.addEventListener("change",function(){e(s)}),e(s))})}function s(){var t=document.getElementById("mobile-menu-toggle");if(!t)return;document.addEventListener("keydown",function(n){if(n.key==="Escape"&&t.checked){t.checked=!1,e(t);var s=document.querySelector('label[role="button"][for="mobile-menu-toggle"]');s&&s.focus()}})}function o(){var t=document.getElementById("mobile-menu-toggle"),n=document.getElementById("mobile-menu-dialog");if(!t||!n)return;document.addEventListener("click",function(s){if(!t.checked||s.target===t)return;if(n.contains(s.target))return;if(s.target.closest('label[for="mobile-menu-toggle"]'))return;t.checked=!1,e(t)})}function i(){document.querySelectorAll(".nested-menu").forEach(function(e){var t,n=e.querySelector("[aria-haspopup]");if(!n)return;t=function(e){n.setAttribute("aria-expanded",e?"true":"false")},e.addEventListener("mouseenter",function(){t(!0)}),e.addEventListener("mouseleave",function(){t(!1)}),e.addEventListener("focusin",function(){t(!0)}),e.addEventListener("focusout",function(n){e.contains(n.relatedTarget)||t(!1)}),e.addEventListener("keydown",function(n){n.key==="Escape"&&(document.activeElement&&e.contains(document.activeElement)&&document.activeElement.blur(),t(!1))})})}function t(){n(),s(),o(),i()}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}(),function(){"use strict";var e=[];window.addEventListener("beforeprint",function(){for(var n=document.querySelectorAll("details:not([open])"),t=0;t<n.length;t++)n[t].open=!0,e.push(n[t])}),window.addEventListener("afterprint",function(){for(var t=0;t<e.length;t++)e[t].open=!1;e=[]})}(),function(){const e=document.querySelectorAll(".email-link");e.forEach(e=>{let t=atob(e.getAttribute("data-email"));const s=e.getAttribute("data-subject");let n=t.startsWith("mailto:")?t:"mailto:"+t;s&&(n+=(n.includes("?")?"&":"?")+"subject="+encodeURIComponent(s)),e.href=n})}()
@@ -0,0 +1,5 @@
mediumZoom(document.querySelectorAll("img:not(.nozoom)"), {
margin: 24,
background: "rgba(0,0,0,0.5)",
scrollOffset: 0,
});
@@ -0,0 +1 @@
function _getDefaultPackeryOptions(){return{percentPosition:!0,gutter:5,resize:!0}}function _getPackeryOptions(e){const{packeryGutter:n,packeryPercentPosition:s,packeryResize:o}=e.dataset,t=_getDefaultPackeryOptions();return{percentPosition:s!==0[0]?s==="true":t.percentPosition,gutter:n!==0[0]?parseInt(n,10):t.gutter,resize:o!==0[0]?o==="true":t.resize}}(function(){window.addEventListener("load",function(){let e=[],t=document.querySelectorAll(".gallery");t.forEach(t=>{let n=new Packery(t,_getPackeryOptions(t));e.push(n)})})})()