diff options
-rw-r--r-- | assets/js/search.js | 44 | ||||
-rw-r--r-- | assets/libs/katex@0.15.2/dist/contrib/auto-render.js (renamed from assets/libs/katex@0.15.1/dist/contrib/auto-render.js) | 0 | ||||
-rw-r--r-- | assets/libs/katex@0.15.2/dist/contrib/copy-tex.css (renamed from assets/libs/katex@0.15.1/dist/contrib/copy-tex.css) | 0 | ||||
-rw-r--r-- | assets/libs/katex@0.15.2/dist/contrib/copy-tex.js (renamed from assets/libs/katex@0.15.1/dist/contrib/copy-tex.js) | 0 | ||||
-rw-r--r-- | assets/libs/katex@0.15.2/dist/contrib/mhchem.js (renamed from assets/libs/katex@0.15.1/dist/contrib/mhchem.js) | 0 | ||||
-rw-r--r-- | assets/libs/katex@0.15.2/dist/katex.css (renamed from assets/libs/katex@0.15.1/dist/katex.css) | 2 | ||||
-rw-r--r-- | assets/libs/katex@0.15.2/dist/katex.js (renamed from assets/libs/katex@0.15.1/dist/katex.js) | 8 | ||||
-rw-r--r-- | layouts/partials/katex-font-preload.html | 10 | ||||
-rw-r--r-- | layouts/partials/katex.html | 14 | ||||
-rw-r--r-- | static/libs/fuse.js@6.4.6/dist/fuse.basic.esm.min.js | 9 | ||||
-rw-r--r-- | static/libs/fuse.js@6.5.3/dist/fuse.basic.esm.min.js | 9 | ||||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_AMS-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_AMS-Regular.ttf) | bin | 63632 -> 63632 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_AMS-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_AMS-Regular.woff) | bin | 33516 -> 33516 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_AMS-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_AMS-Regular.woff2) | bin | 28076 -> 28076 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Bold.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Bold.ttf) | bin | 12368 -> 12368 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Bold.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Bold.woff) | bin | 7716 -> 7716 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Bold.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Bold.woff2) | bin | 6912 -> 6912 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Regular.ttf) | bin | 12344 -> 12344 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Regular.woff) | bin | 7656 -> 7656 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Regular.woff2) | bin | 6908 -> 6908 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Bold.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Bold.ttf) | bin | 19584 -> 19584 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Bold.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Bold.woff) | bin | 13296 -> 13296 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Bold.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Bold.woff2) | bin | 11348 -> 11348 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Regular.ttf) | bin | 19572 -> 19572 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Regular.woff) | bin | 13208 -> 13208 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Regular.woff2) | bin | 11316 -> 11316 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Bold.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Bold.ttf) | bin | 51336 -> 51336 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Bold.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Bold.woff) | bin | 29912 -> 29912 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Bold.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Bold.woff2) | bin | 25324 -> 25324 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-BoldItalic.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-BoldItalic.ttf) | bin | 32968 -> 32968 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-BoldItalic.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-BoldItalic.woff) | bin | 19412 -> 19412 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-BoldItalic.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-BoldItalic.woff2) | bin | 16780 -> 16780 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Italic.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Italic.ttf) | bin | 33580 -> 33580 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Italic.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Italic.woff) | bin | 19676 -> 19676 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Italic.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Italic.woff2) | bin | 16988 -> 16988 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.ttf) | bin | 53580 -> 53580 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.woff) | bin | 30772 -> 30772 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.woff2) | bin | 26272 -> 26272 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-BoldItalic.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-BoldItalic.ttf) | bin | 31196 -> 31196 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-BoldItalic.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-BoldItalic.woff) | bin | 18668 -> 18668 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-BoldItalic.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-BoldItalic.woff2) | bin | 16400 -> 16400 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-Italic.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.ttf) | bin | 31308 -> 31308 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-Italic.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.woff) | bin | 18748 -> 18748 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-Italic.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.woff2) | bin | 16440 -> 16440 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Bold.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Bold.ttf) | bin | 24504 -> 24504 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Bold.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Bold.woff) | bin | 14408 -> 14408 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Bold.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Bold.woff2) | bin | 12216 -> 12216 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Italic.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Italic.ttf) | bin | 22364 -> 22364 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Italic.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Italic.woff) | bin | 14112 -> 14112 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Italic.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Italic.woff2) | bin | 12028 -> 12028 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Regular.ttf) | bin | 19436 -> 19436 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Regular.woff) | bin | 12316 -> 12316 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Regular.woff2) | bin | 10344 -> 10344 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Script-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Script-Regular.ttf) | bin | 16648 -> 16648 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Script-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Script-Regular.woff) | bin | 10588 -> 10588 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Script-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Script-Regular.woff2) | bin | 9644 -> 9644 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size1-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size1-Regular.ttf) | bin | 12228 -> 12228 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size1-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size1-Regular.woff) | bin | 6496 -> 6496 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size1-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size1-Regular.woff2) | bin | 5468 -> 5468 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size2-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.ttf) | bin | 11508 -> 11508 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size2-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.woff) | bin | 6188 -> 6188 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size2-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.woff2) | bin | 5208 -> 5208 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size3-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size3-Regular.ttf) | bin | 7588 -> 7588 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size3-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size3-Regular.woff) | bin | 4420 -> 4420 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size3-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size3-Regular.woff2) | bin | 3624 -> 3624 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size4-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.ttf) | bin | 10364 -> 10364 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size4-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.woff) | bin | 5980 -> 5980 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Size4-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.woff2) | bin | 4928 -> 4928 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Typewriter-Regular.ttf (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Typewriter-Regular.ttf) | bin | 27556 -> 27556 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Typewriter-Regular.woff (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Typewriter-Regular.woff) | bin | 16028 -> 16028 bytes | |||
-rw-r--r-- | static/libs/katex@0.15.2/dist/fonts/KaTeX_Typewriter-Regular.woff2 (renamed from static/libs/katex@0.15.1/dist/fonts/KaTeX_Typewriter-Regular.woff2) | bin | 13568 -> 13568 bytes |
71 files changed, 54 insertions, 42 deletions
diff --git a/assets/js/search.js b/assets/js/search.js index 3321c31..81ff8e8 100644 --- a/assets/js/search.js +++ b/assets/js/search.js @@ -31,10 +31,10 @@ function getUrlParameter(name) { const searchQuery = getUrlParameter('q'); // Search info section -const searchInfo = document.getElementById('search-info'); +const searchInfo = document.querySelector('#search-info'); // Show message -function displayMessage(message, type) { +function report(message, type) { const el = document.createElement('p'); el.textContent = message; @@ -54,7 +54,7 @@ if (searchQuery) { executeSearch(searchQuery); } else { - displayMessage('{{ T "searchAwaitingSearch" }}'); + report('{{ T "searchAwaitingSearch" }}'); } @@ -68,27 +68,29 @@ function executeSearch(searchQuery) { // Limit results and throw an error if too many pages are found const limit = {{ .Site.Params.Search.maxResults | default 30 }}; - import('/libs/fuse.js@6.4.6/dist/fuse.basic.esm.min.js') + import('/libs/fuse.js@6.5.3/dist/fuse.basic.esm.min.js') .then((fuseBasic) => { const fuse = new fuseBasic.default(data, fuseOptions); return fuse.search(searchQuery); }) .then((output) => { - displayMessage('{{ T "searchResultsFor" }}: ' + searchQuery); + report('{{ T "searchResultsFor" }}: ' + searchQuery); + + const matches = output.length; - if (output.length > 0) { - if (output.length == 1) { - displayMessage('{{ T "searchOnePageFound" }}.'); - } else if (1 < output.length && output.length < limit + 1) { - displayMessage(output.length + ' {{ T "searchPagesFound" }}.'); + if (matches > 0) { + if (matches == 1) { + report('{{ T "searchOnePageFound" }}.'); + } else if (1 < matches && matches < limit + 1) { + report(matches + ' {{ T "searchPagesFound" }}.'); } else { - displayMessage('{{ T "searchTooMany" }}', 'error'); + report('{{ T "searchTooMany" }}', 'error'); } } else { - displayMessage('{{ T "searchNoPageFound" }}', 'error'); + report('{{ T "searchNoPageFound" }}', 'error'); } - if (0 < output.length && output.length < limit + 1) { + if (0 < matches && matches < limit + 1) { populateResults(output); } }); @@ -98,22 +100,24 @@ function executeSearch(searchQuery) { // Populate results function populateResults(output) { - output.forEach((value, key) => { + output.forEach((value) => { + + const el = value.item; - const postTitle = value.item.title; - const postDate = value.item.date; + const postTitle = el.title; + const postDate = el.date; const htmlPostTitle = document.createElement('p'); htmlPostTitle.textContent = postTitle; // Pull HTML template - const resultsTemplate = document.getElementById('search-results-template') + const resultsTemplate = document.querySelector('#search-results-template') .content.cloneNode(true); const postLink = resultsTemplate.querySelector('.btn'); - + // Replace values - postLink.setAttribute('href', value.item.permalink); + postLink.setAttribute('href', el.permalink); postLink.setAttribute('title', postTitle); if (postDate) { @@ -132,7 +136,7 @@ function populateResults(output) { postLink.appendChild(htmlPostTitle); } - document.getElementById('search-results') + document.querySelector('#search-results') .appendChild(resultsTemplate); }); } diff --git a/assets/libs/katex@0.15.1/dist/contrib/auto-render.js b/assets/libs/katex@0.15.2/dist/contrib/auto-render.js index 6980cdd..6980cdd 100644 --- a/assets/libs/katex@0.15.1/dist/contrib/auto-render.js +++ b/assets/libs/katex@0.15.2/dist/contrib/auto-render.js diff --git a/assets/libs/katex@0.15.1/dist/contrib/copy-tex.css b/assets/libs/katex@0.15.2/dist/contrib/copy-tex.css index f925578..f925578 100644 --- a/assets/libs/katex@0.15.1/dist/contrib/copy-tex.css +++ b/assets/libs/katex@0.15.2/dist/contrib/copy-tex.css diff --git a/assets/libs/katex@0.15.1/dist/contrib/copy-tex.js b/assets/libs/katex@0.15.2/dist/contrib/copy-tex.js index bf54df2..bf54df2 100644 --- a/assets/libs/katex@0.15.1/dist/contrib/copy-tex.js +++ b/assets/libs/katex@0.15.2/dist/contrib/copy-tex.js diff --git a/assets/libs/katex@0.15.1/dist/contrib/mhchem.js b/assets/libs/katex@0.15.2/dist/contrib/mhchem.js index c557b4e..c557b4e 100644 --- a/assets/libs/katex@0.15.1/dist/contrib/mhchem.js +++ b/assets/libs/katex@0.15.2/dist/contrib/mhchem.js diff --git a/assets/libs/katex@0.15.1/dist/katex.css b/assets/libs/katex@0.15.2/dist/katex.css index 40a9ca5..9c3ffae 100644 --- a/assets/libs/katex@0.15.1/dist/katex.css +++ b/assets/libs/katex@0.15.2/dist/katex.css @@ -130,7 +130,7 @@ border-color: currentColor; } .katex .katex-version::after { - content: "0.15.1"; + content: "0.15.2"; } .katex .katex-mathml { /* Accessibility hack to only show to screen readers diff --git a/assets/libs/katex@0.15.1/dist/katex.js b/assets/libs/katex@0.15.2/dist/katex.js index 535d9b8..ab4956b 100644 --- a/assets/libs/katex@0.15.1/dist/katex.js +++ b/assets/libs/katex@0.15.2/dist/katex.js @@ -11419,7 +11419,7 @@ function mclass_mathmlBuilder(group, options) { var inner = buildMathML_buildExpression(group.body, options); if (group.mclass === "minner") { - return mathMLTree.newDocumentFragment(inner); + node = new mathMLTree.MathNode("mpadded", inner); } else if (group.mclass === "mord") { if (group.isCharacterBox) { node = inner[0]; @@ -11447,6 +11447,10 @@ function mclass_mathmlBuilder(group, options) { } else if (group.mclass === "mopen" || group.mclass === "mclose") { node.attributes.lspace = "0em"; node.attributes.rspace = "0em"; + } else if (group.mclass === "minner") { + node.attributes.lspace = "0.0556em"; // 1 mu is the most likely option + + node.attributes.width = "+0.1111em"; } // MathML <mo> default space is 5/18 em, so <mrel> needs no action. // Ref: https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo @@ -18347,7 +18351,7 @@ var renderToHTMLTree = function renderToHTMLTree(expression, options) { /** * Current KaTeX version */ - version: "0.15.1", + version: "0.15.2", /** * Renders the given LaTeX into an HTML+MathML combination, and adds diff --git a/layouts/partials/katex-font-preload.html b/layouts/partials/katex-font-preload.html index 9587396..bbe53e7 100644 --- a/layouts/partials/katex-font-preload.html +++ b/layouts/partials/katex-font-preload.html @@ -4,7 +4,9 @@ Adjust as necessary --> -<link rel="preload" href="/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"> -<link rel="preload" href="/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.woff2" as="font" type="font/woff2" crossorigin="anonymous"> -<link rel="preload" href="/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"> -<link rel="preload" href="/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"> +{{ $katexVersion := "0.15.2" }} + +<link rel="preload" href="/libs/katex@{{ $katexVersion }}/dist/fonts/KaTeX_Main-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"> +<link rel="preload" href="/libs/katex@{{ $katexVersion }}/dist/fonts/KaTeX_Math-Italic.woff2" as="font" type="font/woff2" crossorigin="anonymous"> +<link rel="preload" href="/libs/katex@{{ $katexVersion }}/dist/fonts/KaTeX_Size2-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"> +<link rel="preload" href="/libs/katex@{{ $katexVersion }}/dist/fonts/KaTeX_Size4-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous"> diff --git a/layouts/partials/katex.html b/layouts/partials/katex.html index fbaeb39..e336f80 100644 --- a/layouts/partials/katex.html +++ b/layouts/partials/katex.html @@ -1,15 +1,17 @@ <!-- KaTeX -->
-{{ $katexCSS := resources.Get "libs/katex@0.15.1/dist/katex.css" | minify | fingerprint }}
+{{ $katexVersion := "0.15.2" }}
+
+{{ $katexCSS := resources.Get (printf "libs/katex@%s/dist/katex.css" $katexVersion) | minify | fingerprint }}
<link rel="stylesheet" href="{{ $katexCSS.Permalink }}" integrity="{{ $katexCSS.Data.Integrity }}" crossorigin="anonymous">
-{{ $katexJS := resources.Get "libs/katex@0.15.1/dist/katex.js" | minify | fingerprint }}
+{{ $katexJS := resources.Get (printf "libs/katex@%s/dist/katex.js" $katexVersion) | minify | fingerprint }}
<script defer src="{{ $katexJS.Permalink }}" integrity="{{ $katexJS.Data.Integrity }}" crossorigin="anonymous"></script>
<!-- mhchem extension -->
{{ if or (in .Params.katexExtensions "mhchem") (in .Site.Params.katexExtensions "mhchem") }}
- {{ $mhchem := resources.Get "libs/katex@0.15.1/dist/contrib/mhchem.js" | minify | fingerprint }}
+ {{ $mhchem := resources.Get (printf "libs/katex@%s/dist/contrib/mhchem.js" $katexVersion) | minify | fingerprint }}
<script defer src="{{ $mhchem.Permalink }}" integrity="{{ $mhchem.Data.Integrity }}" crossorigin="anonymous"></script>
{{ end }}
@@ -18,10 +20,10 @@ <!-- copy-tex extension -->
{{ if or (in .Params.katexExtensions "copy-tex") (in .Site.Params.katexExtensions "copy-tex") }}
- {{ $copyTexCSS := resources.Get "libs/katex@0.15.1/dist/contrib/copy-tex.css" | minify | fingerprint }}
+ {{ $copyTexCSS := resources.Get (printf "libs/katex@%s/dist/contrib/copy-tex.css" $katexVersion) | minify | fingerprint }}
<link rel="stylesheet" href="{{ $copyTexCSS.Permalink }}" integrity="{{ $copyTexCSS.Data.Integrity }}" crossorigin="anonymous">
- {{ $copyTexJS := resources.Get "libs/katex@0.15.1/dist/contrib/copy-tex.js" | minify | fingerprint }}
+ {{ $copyTexJS := resources.Get (printf "libs/katex@%s/dist/contrib/copy-tex.js" $katexVersion) | minify | fingerprint }}
<script defer src="{{ $copyTexJS.Permalink }}" integrity="{{ $copyTexJS.Data.Integrity }}" crossorigin="anonymous"></script>
{{ end }}
@@ -36,7 +38,7 @@ The workaround used here is to inject "tabindex=0" after
the auto-render extension work is done
-->
-{{ $autoRender := resources.Get "libs/katex@0.15.1/dist/contrib/auto-render.js" }}
+{{ $autoRender := resources.Get (printf "libs/katex@%s/dist/contrib/auto-render.js" $katexVersion) }}
{{ $katexAutoRenderOptions := resources.Get "js/katex-auto-render-options.js" }}
{{ $katexPostRender := resources.Get "js/katex-post-render.js" | resources.ExecuteAsTemplate "js/katex-post-render.js" . }}
diff --git a/static/libs/fuse.js@6.4.6/dist/fuse.basic.esm.min.js b/static/libs/fuse.js@6.4.6/dist/fuse.basic.esm.min.js deleted file mode 100644 index 4c2646a..0000000 --- a/static/libs/fuse.js@6.4.6/dist/fuse.basic.esm.min.js +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Fuse.js v6.4.6 - Lightweight fuzzy-search (http://fusejs.io) - * - * Copyright (c) 2021 Kiro Risk (http://kiro.me) - * All Rights Reserved. Apache Software License 2.0 - * - * http://www.apache.org/licenses/LICENSE-2.0 - */ -function t(t){return Array.isArray?Array.isArray(t):"[object Array]"===o(t)}function e(t){return"string"==typeof t}function n(t){return"number"==typeof t}function s(t){return!0===t||!1===t||function(t){return function(t){return"object"==typeof t}(t)&&null!==t}(t)&&"[object Boolean]"==o(t)}function i(t){return null!=t}function r(t){return!t.trim().length}function o(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const c=Object.prototype.hasOwnProperty;class h{constructor(t){this._keys=[],this._keyMap={};let e=0;t.forEach(t=>{let n=a(t);e+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,e+=n.weight}),this._keys.forEach(t=>{t.weight/=e})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function a(n){let s=null,i=null,r=null,o=1;if(e(n)||t(n))r=n,s=l(n),i=d(n);else{if(!c.call(n,"name"))throw new Error((t=>`Missing ${t} property in key`)("name"));const t=n.name;if(r=t,c.call(n,"weight")&&(o=n.weight,o<=0))throw new Error((t=>`Property 'weight' in key '${t}' must be a positive integer`)(t));s=l(t),i=d(t)}return{path:s,id:i,weight:o,src:r}}function l(e){return t(e)?e:e.split(".")}function d(e){return t(e)?e.join("."):e}var u={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(r,o){let c=[],h=!1;const a=(r,o,l)=>{if(i(r))if(o[l]){const d=r[o[l]];if(!i(d))return;if(l===o.length-1&&(e(d)||n(d)||s(d)))c.push(function(t){return null==t?"":function(t){if("string"==typeof t)return t;let e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(t)}(d));else if(t(d)){h=!0;for(let t=0,e=d.length;t<e;t+=1)a(d[t],o,l+1)}else o.length&&a(d,o,l+1)}else c.push(r)};return a(r,e(o)?o.split("."):o,0),h?c:c[0]},ignoreLocation:!1,ignoreFieldNorm:!1}};const f=/[^ ]+/g;class g{constructor({getFn:t=u.getFn}={}){this.norm=function(t=3){const e=new Map,n=Math.pow(10,t);return{get(t){const s=t.match(f).length;if(e.has(s))return e.get(s);const i=1/Math.sqrt(s),r=parseFloat(Math.round(i*n)/n);return e.set(s,r),r},clear(){e.clear()}}}(3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((t,e)=>{this._keysMap[t.id]=e})}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,e(this.docs[0])?this.docs.forEach((t,e)=>{this._addString(t,e)}):this.docs.forEach((t,e)=>{this._addObject(t,e)}),this.norm.clear())}add(t){const n=this.size();e(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let e=t,n=this.size();e<n;e+=1)this.records[e].i-=1}getValueForItemAtKeyId(t,e){return t[this._keysMap[e]]}size(){return this.records.length}_addString(t,e){if(!i(t)||r(t))return;let n={v:t,i:e,n:this.norm.get(t)};this.records.push(n)}_addObject(n,s){let o={i:s,$:{}};this.keys.forEach((s,c)=>{let h=this.getFn(n,s.path);if(i(h))if(t(h)){let n=[];const s=[{nestedArrIndex:-1,value:h}];for(;s.length;){const{nestedArrIndex:o,value:c}=s.pop();if(i(c))if(e(c)&&!r(c)){let t={v:c,i:o,n:this.norm.get(c)};n.push(t)}else t(c)&&c.forEach((t,e)=>{s.push({nestedArrIndex:e,value:t})})}o.$[c]=n}else if(!r(h)){let t={v:h,n:this.norm.get(h)};o.$[c]=t}}),this.records.push(o)}toJSON(){return{keys:this.keys,records:this.records}}}function p(t,e,{getFn:n=u.getFn}={}){const s=new g({getFn:n});return s.setKeys(t.map(a)),s.setSources(e),s.create(),s}function m(t,{errors:e=0,currentLocation:n=0,expectedLocation:s=0,distance:i=u.distance,ignoreLocation:r=u.ignoreLocation}={}){const o=e/t.length;if(r)return o;const c=Math.abs(s-n);return i?o+c/i:c?1:o}function y(t,e,n,{location:s=u.location,distance:i=u.distance,threshold:r=u.threshold,findAllMatches:o=u.findAllMatches,minMatchCharLength:c=u.minMatchCharLength,includeMatches:h=u.includeMatches,ignoreLocation:a=u.ignoreLocation}={}){if(e.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const l=e.length,d=t.length,f=Math.max(0,Math.min(s,d));let g=r,p=f;const y=c>1||h,M=y?Array(d):[];let x;for(;(x=t.indexOf(e,p))>-1;){let t=m(e,{currentLocation:x,expectedLocation:f,distance:i,ignoreLocation:a});if(g=Math.min(t,g),p=x+l,y){let t=0;for(;t<l;)M[x+t]=1,t+=1}}p=-1;let L=[],_=1,k=l+d;const v=1<<l-1;for(let s=0;s<l;s+=1){let r=0,c=k;for(;r<c;){m(e,{errors:s,currentLocation:f+c,expectedLocation:f,distance:i,ignoreLocation:a})<=g?r=c:k=c,c=Math.floor((k-r)/2+r)}k=c;let h=Math.max(1,f-c+1),u=o?d:Math.min(f+c,d)+l,x=Array(u+2);x[u+1]=(1<<s)-1;for(let r=u;r>=h;r-=1){let o=r-1,c=n[t.charAt(o)];if(y&&(M[o]=+!!c),x[r]=(x[r+1]<<1|1)&c,s&&(x[r]|=(L[r+1]|L[r])<<1|1|L[r+1]),x[r]&v&&(_=m(e,{errors:s,currentLocation:o,expectedLocation:f,distance:i,ignoreLocation:a}),_<=g)){if(g=_,p=o,p<=f)break;h=Math.max(1,2*f-p)}}if(m(e,{errors:s+1,currentLocation:f,expectedLocation:f,distance:i,ignoreLocation:a})>g)break;L=x}const w={isMatch:p>=0,score:Math.max(.001,_)};if(y){const t=function(t=[],e=u.minMatchCharLength){let n=[],s=-1,i=-1,r=0;for(let o=t.length;r<o;r+=1){let o=t[r];o&&-1===s?s=r:o||-1===s||(i=r-1,i-s+1>=e&&n.push([s,i]),s=-1)}return t[r-1]&&r-s>=e&&n.push([s,r-1]),n}(M,c);t.length?h&&(w.indices=t):w.isMatch=!1}return w}function M(t){let e={};for(let n=0,s=t.length;n<s;n+=1){const i=t.charAt(n);e[i]=(e[i]||0)|1<<s-n-1}return e}class x{constructor(t,{location:e=u.location,threshold:n=u.threshold,distance:s=u.distance,includeMatches:i=u.includeMatches,findAllMatches:r=u.findAllMatches,minMatchCharLength:o=u.minMatchCharLength,isCaseSensitive:c=u.isCaseSensitive,ignoreLocation:h=u.ignoreLocation}={}){if(this.options={location:e,threshold:n,distance:s,includeMatches:i,findAllMatches:r,minMatchCharLength:o,isCaseSensitive:c,ignoreLocation:h},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const a=(t,e)=>{this.chunks.push({pattern:t,alphabet:M(t),startIndex:e})},l=this.pattern.length;if(l>32){let t=0;const e=l%32,n=l-e;for(;t<n;)a(this.pattern.substr(t,32),t),t+=32;if(e){const t=l-32;a(this.pattern.substr(t),t)}}else a(this.pattern,0)}searchIn(t){const{isCaseSensitive:e,includeMatches:n}=this.options;if(e||(t=t.toLowerCase()),this.pattern===t){let e={isMatch:!0,score:0};return n&&(e.indices=[[0,t.length-1]]),e}const{location:s,distance:i,threshold:r,findAllMatches:o,minMatchCharLength:c,ignoreLocation:h}=this.options;let a=[],l=0,d=!1;this.chunks.forEach(({pattern:e,alphabet:u,startIndex:f})=>{const{isMatch:g,score:p,indices:m}=y(t,e,u,{location:s+f,distance:i,threshold:r,findAllMatches:o,minMatchCharLength:c,includeMatches:n,ignoreLocation:h});g&&(d=!0),l+=p,g&&m&&(a=[...a,...m])});let u={isMatch:d,score:d?l/this.chunks.length:1};return d&&n&&(u.indices=a),u}}const L=[];function _(t,e){for(let n=0,s=L.length;n<s;n+=1){let s=L[n];if(s.condition(t,e))return new s(t,e)}return new x(t,e)}function k(t,e){const n=t.matches;e.matches=[],i(n)&&n.forEach(t=>{if(!i(t.indices)||!t.indices.length)return;const{indices:n,value:s}=t;let r={indices:n,value:s};t.key&&(r.key=t.key.src),t.idx>-1&&(r.refIndex=t.idx),e.matches.push(r)})}function v(t,e){e.score=t.score}class w{constructor(t,e={},n){if(this.options={...u,...e},this.options.useExtendedSearch)throw new Error("Extended search is not available");this._keyStore=new h(this.options.keys),this.setCollection(t,n)}setCollection(t,e){if(this._docs=t,e&&!(e instanceof g))throw new Error("Incorrect 'index' type");this._myIndex=e||p(this.options.keys,this._docs,{getFn:this.options.getFn})}add(t){i(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=(()=>!1)){const e=[];for(let n=0,s=this._docs.length;n<s;n+=1){const i=this._docs[n];t(i,n)&&(this.removeAt(n),n-=1,s-=1,e.push(i))}return e}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:s=-1}={}){const{includeMatches:i,includeScore:r,shouldSort:o,sortFn:c,ignoreFieldNorm:h}=this.options;let a=e(t)?e(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return function(t,{ignoreFieldNorm:e=u.ignoreFieldNorm}){t.forEach(t=>{let n=1;t.matches.forEach(({key:t,norm:s,score:i})=>{const r=t?t.weight:null;n*=Math.pow(0===i&&r?Number.EPSILON:i,(r||1)*(e?1:s))}),t.score=n})}(a,{ignoreFieldNorm:h}),o&&a.sort(c),n(s)&&s>-1&&(a=a.slice(0,s)),function(t,e,{includeMatches:n=u.includeMatches,includeScore:s=u.includeScore}={}){const i=[];return n&&i.push(k),s&&i.push(v),t.map(t=>{const{idx:n}=t,s={item:e[n],refIndex:n};return i.length&&i.forEach(e=>{e(t,s)}),s})}(a,this._docs,{includeMatches:i,includeScore:r})}_searchStringList(t){const e=_(t,this.options),{records:n}=this._myIndex,s=[];return n.forEach(({v:t,i:n,n:r})=>{if(!i(t))return;const{isMatch:o,score:c,indices:h}=e.searchIn(t);o&&s.push({item:t,idx:n,matches:[{score:c,value:t,norm:r,indices:h}]})}),s}_searchLogical(t){throw new Error("Logical search is not available")}_searchObjectList(t){const e=_(t,this.options),{keys:n,records:s}=this._myIndex,r=[];return s.forEach(({$:t,i:s})=>{if(!i(t))return;let o=[];n.forEach((n,s)=>{o.push(...this._findMatches({key:n,value:t[s],searcher:e}))}),o.length&&r.push({idx:s,item:t,matches:o})}),r}_findMatches({key:e,value:n,searcher:s}){if(!i(n))return[];let r=[];if(t(n))n.forEach(({v:t,i:n,n:o})=>{if(!i(t))return;const{isMatch:c,score:h,indices:a}=s.searchIn(t);c&&r.push({score:h,key:e,value:t,idx:n,norm:o,indices:a})});else{const{v:t,n:i}=n,{isMatch:o,score:c,indices:h}=s.searchIn(t);o&&r.push({score:c,key:e,value:t,norm:i,indices:h})}return r}}w.version="6.4.6",w.createIndex=p,w.parseIndex=function(t,{getFn:e=u.getFn}={}){const{keys:n,records:s}=t,i=new g({getFn:e});return i.setKeys(n),i.setIndexRecords(s),i},w.config=u;export default w;
\ No newline at end of file diff --git a/static/libs/fuse.js@6.5.3/dist/fuse.basic.esm.min.js b/static/libs/fuse.js@6.5.3/dist/fuse.basic.esm.min.js new file mode 100644 index 0000000..2992efb --- /dev/null +++ b/static/libs/fuse.js@6.5.3/dist/fuse.basic.esm.min.js @@ -0,0 +1,9 @@ +/** + * Fuse.js v6.5.3 - Lightweight fuzzy-search (http://fusejs.io) + * + * Copyright (c) 2021 Kiro Risk (http://kiro.me) + * All Rights Reserved. Apache Software License 2.0 + * + * http://www.apache.org/licenses/LICENSE-2.0 + */ +function e(e){return Array.isArray?Array.isArray(e):"[object Array]"===o(e)}function t(e){return"string"==typeof e}function n(e){return"number"==typeof e}function i(e){return!0===e||!1===e||function(e){return function(e){return"object"==typeof e}(e)&&null!==e}(e)&&"[object Boolean]"==o(e)}function s(e){return null!=e}function r(e){return!e.trim().length}function o(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const c=Object.prototype.hasOwnProperty;class h{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{let n=a(e);t+=n.weight,this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function a(n){let i=null,s=null,r=null,o=1;if(t(n)||e(n))r=n,i=l(n),s=d(n);else{if(!c.call(n,"name"))throw new Error((e=>`Missing ${e} property in key`)("name"));const e=n.name;if(r=e,c.call(n,"weight")&&(o=n.weight,o<=0))throw new Error((e=>`Property 'weight' in key '${e}' must be a positive integer`)(e));i=l(e),s=d(e)}return{path:i,id:s,weight:o,src:r}}function l(t){return e(t)?t:t.split(".")}function d(t){return e(t)?t.join("."):t}var u={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1,includeMatches:!1,findAllMatches:!1,minMatchCharLength:1,location:0,threshold:.6,distance:100,...{useExtendedSearch:!1,getFn:function(r,o){let c=[],h=!1;const a=(r,o,l)=>{if(s(r))if(o[l]){const d=r[o[l]];if(!s(d))return;if(l===o.length-1&&(t(d)||n(d)||i(d)))c.push(function(e){return null==e?"":function(e){if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(e)}(d));else if(e(d)){h=!0;for(let e=0,t=d.length;e<t;e+=1)a(d[e],o,l+1)}else o.length&&a(d,o,l+1)}else c.push(r)};return a(r,t(o)?o.split("."):o,0),h?c:c[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const f=/[^ ]+/g;class g{constructor({getFn:e=u.getFn,fieldNormWeight:t=u.fieldNormWeight}={}){this.norm=function(e=1,t=3){const n=new Map,i=Math.pow(10,t);return{get(t){const s=t.match(f).length;if(n.has(s))return n.get(s);const r=1/Math.pow(s,.5*e),o=parseFloat(Math.round(r*i)/i);return n.set(s,o),o},clear(){n.clear()}}}(t,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach(((e,t)=>{this._keysMap[e.id]=t}))}create(){!this.isCreated&&this.docs.length&&(this.isCreated=!0,t(this.docs[0])?this.docs.forEach(((e,t)=>{this._addString(e,t)})):this.docs.forEach(((e,t)=>{this._addObject(e,t)})),this.norm.clear())}add(e){const n=this.size();t(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){return this.records.length}_addString(e,t){if(!s(e)||r(e))return;let n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(n,i){let o={i:i,$:{}};this.keys.forEach(((i,c)=>{let h=this.getFn(n,i.path);if(s(h))if(e(h)){let n=[];const i=[{nestedArrIndex:-1,value:h}];for(;i.length;){const{nestedArrIndex:o,value:c}=i.pop();if(s(c))if(t(c)&&!r(c)){let e={v:c,i:o,n:this.norm.get(c)};n.push(e)}else e(c)&&c.forEach(((e,t)=>{i.push({nestedArrIndex:t,value:e})}))}o.$[c]=n}else if(!r(h)){let e={v:h,n:this.norm.get(h)};o.$[c]=e}})),this.records.push(o)}toJSON(){return{keys:this.keys,records:this.records}}}function p(e,t,{getFn:n=u.getFn,fieldNormWeight:i=u.fieldNormWeight}={}){const s=new g({getFn:n,fieldNormWeight:i});return s.setKeys(e.map(a)),s.setSources(t),s.create(),s}function m(e,{errors:t=0,currentLocation:n=0,expectedLocation:i=0,distance:s=u.distance,ignoreLocation:r=u.ignoreLocation}={}){const o=t/e.length;if(r)return o;const c=Math.abs(i-n);return s?o+c/s:c?1:o}function y(e,t,n,{location:i=u.location,distance:s=u.distance,threshold:r=u.threshold,findAllMatches:o=u.findAllMatches,minMatchCharLength:c=u.minMatchCharLength,includeMatches:h=u.includeMatches,ignoreLocation:a=u.ignoreLocation}={}){if(t.length>32)throw new Error(`Pattern length exceeds max of ${32}.`);const l=t.length,d=e.length,f=Math.max(0,Math.min(i,d));let g=r,p=f;const y=c>1||h,M=y?Array(d):[];let x;for(;(x=e.indexOf(t,p))>-1;){let e=m(t,{currentLocation:x,expectedLocation:f,distance:s,ignoreLocation:a});if(g=Math.min(e,g),p=x+l,y){let e=0;for(;e<l;)M[x+e]=1,e+=1}}p=-1;let L=[],_=1,k=l+d;const v=1<<l-1;for(let i=0;i<l;i+=1){let r=0,c=k;for(;r<c;){m(t,{errors:i,currentLocation:f+c,expectedLocation:f,distance:s,ignoreLocation:a})<=g?r=c:k=c,c=Math.floor((k-r)/2+r)}k=c;let h=Math.max(1,f-c+1),u=o?d:Math.min(f+c,d)+l,x=Array(u+2);x[u+1]=(1<<i)-1;for(let r=u;r>=h;r-=1){let o=r-1,c=n[e.charAt(o)];if(y&&(M[o]=+!!c),x[r]=(x[r+1]<<1|1)&c,i&&(x[r]|=(L[r+1]|L[r])<<1|1|L[r+1]),x[r]&v&&(_=m(t,{errors:i,currentLocation:o,expectedLocation:f,distance:s,ignoreLocation:a}),_<=g)){if(g=_,p=o,p<=f)break;h=Math.max(1,2*f-p)}}if(m(t,{errors:i+1,currentLocation:f,expectedLocation:f,distance:s,ignoreLocation:a})>g)break;L=x}const w={isMatch:p>=0,score:Math.max(.001,_)};if(y){const e=function(e=[],t=u.minMatchCharLength){let n=[],i=-1,s=-1,r=0;for(let o=e.length;r<o;r+=1){let o=e[r];o&&-1===i?i=r:o||-1===i||(s=r-1,s-i+1>=t&&n.push([i,s]),i=-1)}return e[r-1]&&r-i>=t&&n.push([i,r-1]),n}(M,c);e.length?h&&(w.indices=e):w.isMatch=!1}return w}function M(e){let t={};for(let n=0,i=e.length;n<i;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<i-n-1}return t}class x{constructor(e,{location:t=u.location,threshold:n=u.threshold,distance:i=u.distance,includeMatches:s=u.includeMatches,findAllMatches:r=u.findAllMatches,minMatchCharLength:o=u.minMatchCharLength,isCaseSensitive:c=u.isCaseSensitive,ignoreLocation:h=u.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:i,includeMatches:s,findAllMatches:r,minMatchCharLength:o,isCaseSensitive:c,ignoreLocation:h},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const a=(e,t)=>{this.chunks.push({pattern:e,alphabet:M(e),startIndex:t})},l=this.pattern.length;if(l>32){let e=0;const t=l%32,n=l-t;for(;e<n;)a(this.pattern.substr(e,32),e),e+=32;if(t){const e=l-32;a(this.pattern.substr(e),e)}}else a(this.pattern,0)}searchIn(e){const{isCaseSensitive:t,includeMatches:n}=this.options;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0};return n&&(t.indices=[[0,e.length-1]]),t}const{location:i,distance:s,threshold:r,findAllMatches:o,minMatchCharLength:c,ignoreLocation:h}=this.options;let a=[],l=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:u,startIndex:f})=>{const{isMatch:g,score:p,indices:m}=y(e,t,u,{location:i+f,distance:s,threshold:r,findAllMatches:o,minMatchCharLength:c,includeMatches:n,ignoreLocation:h});g&&(d=!0),l+=p,g&&m&&(a=[...a,...m])}));let u={isMatch:d,score:d?l/this.chunks.length:1};return d&&n&&(u.indices=a),u}}const L=[];function _(e,t){for(let n=0,i=L.length;n<i;n+=1){let i=L[n];if(i.condition(e,t))return new i(e,t)}return new x(e,t)}function k(e,t){const n=e.matches;t.matches=[],s(n)&&n.forEach((e=>{if(!s(e.indices)||!e.indices.length)return;const{indices:n,value:i}=e;let r={indices:n,value:i};e.key&&(r.key=e.key.src),e.idx>-1&&(r.refIndex=e.idx),t.matches.push(r)}))}function v(e,t){t.score=e.score}class w{constructor(e,t={},n){if(this.options={...u,...t},this.options.useExtendedSearch)throw new Error("Extended search is not available");this._keyStore=new h(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof g))throw new Error("Incorrect 'index' type");this._myIndex=t||p(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){s(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=(()=>!1)){const t=[];for(let n=0,i=this._docs.length;n<i;n+=1){const s=this._docs[n];e(s,n)&&(this.removeAt(n),n-=1,i-=1,t.push(s))}return t}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:i=-1}={}){const{includeMatches:s,includeScore:r,shouldSort:o,sortFn:c,ignoreFieldNorm:h}=this.options;let a=t(e)?t(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,{ignoreFieldNorm:t=u.ignoreFieldNorm}){e.forEach((e=>{let n=1;e.matches.forEach((({key:e,norm:i,score:s})=>{const r=e?e.weight:null;n*=Math.pow(0===s&&r?Number.EPSILON:s,(r||1)*(t?1:i))})),e.score=n}))}(a,{ignoreFieldNorm:h}),o&&a.sort(c),n(i)&&i>-1&&(a=a.slice(0,i)),function(e,t,{includeMatches:n=u.includeMatches,includeScore:i=u.includeScore}={}){const s=[];return n&&s.push(k),i&&s.push(v),e.map((e=>{const{idx:n}=e,i={item:t[n],refIndex:n};return s.length&&s.forEach((t=>{t(e,i)})),i}))}(a,this._docs,{includeMatches:s,includeScore:r})}_searchStringList(e){const t=_(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach((({v:e,i:n,n:r})=>{if(!s(e))return;const{isMatch:o,score:c,indices:h}=t.searchIn(e);o&&i.push({item:e,idx:n,matches:[{score:c,value:e,norm:r,indices:h}]})})),i}_searchLogical(e){throw new Error("Logical search is not available")}_searchObjectList(e){const t=_(e,this.options),{keys:n,records:i}=this._myIndex,r=[];return i.forEach((({$:e,i:i})=>{if(!s(e))return;let o=[];n.forEach(((n,i)=>{o.push(...this._findMatches({key:n,value:e[i],searcher:t}))})),o.length&&r.push({idx:i,item:e,matches:o})})),r}_findMatches({key:t,value:n,searcher:i}){if(!s(n))return[];let r=[];if(e(n))n.forEach((({v:e,i:n,n:o})=>{if(!s(e))return;const{isMatch:c,score:h,indices:a}=i.searchIn(e);c&&r.push({score:h,key:t,value:e,idx:n,norm:o,indices:a})}));else{const{v:e,n:s}=n,{isMatch:o,score:c,indices:h}=i.searchIn(e);o&&r.push({score:c,key:t,value:e,norm:s,indices:h})}return r}}w.version="6.5.3",w.createIndex=p,w.parseIndex=function(e,{getFn:t=u.getFn,fieldNormWeight:n=u.fieldNormWeight}={}){const{keys:i,records:s}=e,r=new g({getFn:t,fieldNormWeight:n});return r.setKeys(i),r.setIndexRecords(s),r},w.config=u;export{w as default};
\ No newline at end of file diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_AMS-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_AMS-Regular.ttf Binary files differindex c6f9a5e..c6f9a5e 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_AMS-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_AMS-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_AMS-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_AMS-Regular.woff Binary files differindex b804d7b..b804d7b 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_AMS-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_AMS-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_AMS-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_AMS-Regular.woff2 Binary files differindex 0acaaff..0acaaff 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_AMS-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_AMS-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Bold.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Bold.ttf Binary files differindex 9ff4a5e..9ff4a5e 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Bold.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Bold.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Bold.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Bold.woff Binary files differindex 9759710..9759710 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Bold.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Bold.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Bold.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Bold.woff2 Binary files differindex f390922..f390922 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Bold.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Regular.ttf Binary files differindex f522294..f522294 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Regular.woff Binary files differindex 9bdd534..9bdd534 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Regular.woff2 Binary files differindex 75344a1..75344a1 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Caligraphic-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Bold.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Bold.ttf Binary files differindex 4e98259..4e98259 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Bold.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Bold.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Bold.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Bold.woff Binary files differindex e7730f6..e7730f6 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Bold.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Bold.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Bold.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Bold.woff2 Binary files differindex 395f28b..395f28b 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Bold.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Bold.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Regular.ttf Binary files differindex b8461b2..b8461b2 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Regular.woff Binary files differindex acab069..acab069 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Regular.woff2 Binary files differindex 735f694..735f694 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Fraktur-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Fraktur-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Bold.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Bold.ttf Binary files differindex 4060e62..4060e62 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Bold.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Bold.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Bold.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Bold.woff Binary files differindex f38136a..f38136a 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Bold.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Bold.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Bold.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Bold.woff2 Binary files differindex ab2ad21..ab2ad21 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Bold.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Bold.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-BoldItalic.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-BoldItalic.ttf Binary files differindex dc00797..dc00797 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-BoldItalic.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-BoldItalic.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-BoldItalic.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-BoldItalic.woff Binary files differindex 67807b0..67807b0 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-BoldItalic.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-BoldItalic.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-BoldItalic.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-BoldItalic.woff2 Binary files differindex 5931794..5931794 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-BoldItalic.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-BoldItalic.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Italic.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Italic.ttf Binary files differindex 0e9b0f3..0e9b0f3 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Italic.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Italic.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Italic.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Italic.woff Binary files differindex 6f43b59..6f43b59 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Italic.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Italic.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Italic.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Italic.woff2 Binary files differindex b50920e..b50920e 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Italic.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Italic.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Regular.ttf Binary files differindex dd45e1e..dd45e1e 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Regular.woff Binary files differindex 21f5812..21f5812 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Regular.woff2 Binary files differindex eb24a7b..eb24a7b 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Main-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Main-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-BoldItalic.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-BoldItalic.ttf Binary files differindex 728ce7a..728ce7a 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-BoldItalic.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-BoldItalic.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-BoldItalic.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-BoldItalic.woff Binary files differindex 0ae390d..0ae390d 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-BoldItalic.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-BoldItalic.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-BoldItalic.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-BoldItalic.woff2 Binary files differindex 2965702..2965702 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-BoldItalic.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-BoldItalic.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-Italic.ttf Binary files differindex 70d559b..70d559b 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-Italic.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-Italic.woff Binary files differindex eb5159d..eb5159d 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-Italic.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-Italic.woff2 Binary files differindex 215c143..215c143 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Math-Italic.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Math-Italic.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Bold.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Bold.ttf Binary files differindex 2f65a8a..2f65a8a 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Bold.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Bold.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Bold.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Bold.woff Binary files differindex 8d47c02..8d47c02 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Bold.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Bold.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Bold.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Bold.woff2 Binary files differindex cfaa3bd..cfaa3bd 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Bold.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Bold.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Italic.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Italic.ttf Binary files differindex d5850df..d5850df 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Italic.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Italic.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Italic.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Italic.woff Binary files differindex 7e02df9..7e02df9 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Italic.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Italic.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Italic.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Italic.woff2 Binary files differindex 349c06d..349c06d 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Italic.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Italic.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Regular.ttf Binary files differindex 537279f..537279f 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Regular.woff Binary files differindex 31b8482..31b8482 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Regular.woff2 Binary files differindex a90eea8..a90eea8 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_SansSerif-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_SansSerif-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Script-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Script-Regular.ttf Binary files differindex fd679bf..fd679bf 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Script-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Script-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Script-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Script-Regular.woff Binary files differindex 0e7da82..0e7da82 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Script-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Script-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Script-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Script-Regular.woff2 Binary files differindex b3048fc..b3048fc 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Script-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Script-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size1-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size1-Regular.ttf Binary files differindex 871fd7d..871fd7d 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size1-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size1-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size1-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size1-Regular.woff Binary files differindex 7f292d9..7f292d9 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size1-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size1-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size1-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size1-Regular.woff2 Binary files differindex c5a8462..c5a8462 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size1-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size1-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size2-Regular.ttf Binary files differindex 7a212ca..7a212ca 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size2-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size2-Regular.woff Binary files differindex d241d9b..d241d9b 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size2-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size2-Regular.woff2 Binary files differindex e1bccfe..e1bccfe 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size2-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size2-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size3-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size3-Regular.ttf Binary files differindex 00bff34..00bff34 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size3-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size3-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size3-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size3-Regular.woff Binary files differindex e6e9b65..e6e9b65 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size3-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size3-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size3-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size3-Regular.woff2 Binary files differindex 249a286..249a286 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size3-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size3-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size4-Regular.ttf Binary files differindex 74f0892..74f0892 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size4-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size4-Regular.woff Binary files differindex e1ec545..e1ec545 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size4-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size4-Regular.woff2 Binary files differindex 680c130..680c130 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Size4-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Size4-Regular.woff2 diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Typewriter-Regular.ttf b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Typewriter-Regular.ttf Binary files differindex c83252c..c83252c 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Typewriter-Regular.ttf +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Typewriter-Regular.ttf diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Typewriter-Regular.woff b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Typewriter-Regular.woff Binary files differindex 2432419..2432419 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Typewriter-Regular.woff +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Typewriter-Regular.woff diff --git a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Typewriter-Regular.woff2 b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Typewriter-Regular.woff2 Binary files differindex 771f1af..771f1af 100644 --- a/static/libs/katex@0.15.1/dist/fonts/KaTeX_Typewriter-Regular.woff2 +++ b/static/libs/katex@0.15.2/dist/fonts/KaTeX_Typewriter-Regular.woff2 |