fixed build script
2
.gitignore
vendored
|
@ -15,4 +15,4 @@
|
|||
# vendor/
|
||||
node_modules
|
||||
.DS_Store
|
||||
.hugo_build.lock
|
||||
.hugo_build.lock
|
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 16 KiB |
|
@ -1 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Categories on Blowfish</title><link>https://nunocoracao.github.io/blowfish/categories/</link><description>Recent content in Categories on Blowfish</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="https://nunocoracao.github.io/blowfish/categories/index.xml" rel="self" type="application/rss+xml"/></channel></rss>
|
Before Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 66 KiB |
Before Width: | Height: | Size: 92 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 3.3 MiB |
Before Width: | Height: | Size: 928 KiB |
Before Width: | Height: | Size: 1.5 MiB |
Before Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 394 KiB |
Before Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 598 KiB |
Before Width: | Height: | Size: 1,017 KiB |
Before Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 231 KiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 468 KiB |
Before Width: | Height: | Size: 776 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 197 KiB |
Before Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 72 KiB |
Before Width: | Height: | Size: 94 KiB |
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Documentation on Blowfish</title><link>https://nunocoracao.github.io/blowfish/docs/</link><description>Recent content in Documentation on Blowfish</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 19 Jan 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://nunocoracao.github.io/blowfish/docs/index.xml" rel="self" type="application/rss+xml"/><item><title>Welcome to Blowfish 🐡</title><link>https://nunocoracao.github.io/blowfish/docs/welcome/</link><pubDate>Wed, 19 Jan 2022 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/welcome/</guid><description>Blowfish is packed with tons of features. The original aim of Blowfish was to develop a theme that was simple and lightweight. The theme is a fork of Congo and expands its initial vision.</description></item><item><title>Installation</title><link>https://nunocoracao.github.io/blowfish/docs/installation/</link><pubDate>Sun, 16 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/installation/</guid><description>Simply follow the standard Hugo Quick Start procedure to get up and running quickly.
|
||||
Detailed installation instructions can be found below. Instructions for updating the theme are also available.
|
||||
Installation # These instructions will get you up and running using Hugo and Blowfish from a completely blank state.</description></item><item><title>Getting Started</title><link>https://nunocoracao.github.io/blowfish/docs/getting-started/</link><pubDate>Sat, 15 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/getting-started/</guid><description>This section assumes you have already installed the Blowfish theme. The config files that ship with Blowfish contain all of the possible settings that the theme recognises. By default, many of these are commented out but you can simply uncomment them to activate or change a specific feature.</description></item><item><title>Configuration</title><link>https://nunocoracao.github.io/blowfish/docs/configuration/</link><pubDate>Fri, 14 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/configuration/</guid><description>Blowfish is a highly customisable theme and uses some of the latest Hugo features to simplify how it is configured.
|
||||
The theme ships with a default configuration that gets you up and running with a basic blog or static website.</description></item><item><title>Homepage Layout</title><link>https://nunocoracao.github.io/blowfish/docs/homepage-layout/</link><pubDate>Thu, 13 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/homepage-layout/</guid><description>Blowfish provides a fully flexible homepage layout. There are two main templates to choose from with additional settings to adjust the design. Alternatively, you can also provide your own template and have complete control over the homepage content.</description></item><item><title>Front Matter</title><link>https://nunocoracao.github.io/blowfish/docs/front-matter/</link><pubDate>Wed, 12 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/front-matter/</guid><description>In addition to the default Hugo front matter parameters, Blowfish adds a number of additional options to customise the presentation of individual articles. All the available theme front matter parameters are listed below.</description></item><item><title>Thumbnails</title><link>https://nunocoracao.github.io/blowfish/docs/thumbnails/</link><pubDate>Wed, 12 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/thumbnails/</guid><description>Thumbnails # Blowfish was enhanced in order to make it easy to add visual support to your posts. To do so, you just need to place an image file (almost all formats are supported bue we recommend .</description></item><item><title>Shortcodes</title><link>https://nunocoracao.github.io/blowfish/docs/shortcodes/</link><pubDate>Tue, 11 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/shortcodes/</guid><description>In addition to all the default Hugo shortcodes, Blowfish adds a few extras for additional functionality.
|
||||
Alert # alert outputs its contents as a stylised message box within your article. It&rsquo;s useful for drawing attention to important information that you don&rsquo;t want the reader to miss.</description></item><item><title>Partials</title><link>https://nunocoracao.github.io/blowfish/docs/partials/</link><pubDate>Mon, 10 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/partials/</guid><description>Analytics # Blowfish provides built-in support for Fathom Analytics and Google Analytics. Fathom is a paid alternative to Google Analytics that respects user privacy.
|
||||
Fathom Analytics # To enable Fathom Analytics support, simply provide your Fathom site code in the config/_default/params.</description></item><item><title>Content Examples</title><link>https://nunocoracao.github.io/blowfish/docs/content-examples/</link><pubDate>Sun, 09 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/content-examples/</guid><description>If you&rsquo;ve been reading the documentation in order, you should now know about all the features and configurations available in Blowfish. This page is designed to pull everything together and offer some worked examples that you might like to use in your Hugo project.</description></item><item><title>Advanced Customisation</title><link>https://nunocoracao.github.io/blowfish/docs/advanced-customisation/</link><pubDate>Sat, 08 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/advanced-customisation/</guid><description>There are many ways you can make advanced changes to Blowfish. Read below to learn more about what can be customised and the best way of achieving your desired result.</description></item><item><title>Hosting & Deployment</title><link>https://nunocoracao.github.io/blowfish/docs/hosting-deployment/</link><pubDate>Fri, 07 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/hosting-deployment/</guid><description>There are many ways to deploy your Hugo website built with Blowfish. The theme is designed to be flexible in almost any deployment scenario.
|
||||
Blowfish is built using relative URLs throughout the theme.</description></item><item><title>Firebase: Views & Likes</title><link>https://nunocoracao.github.io/blowfish/docs/firebase-views/</link><pubDate>Mon, 03 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/firebase-views/</guid><description>In order to be able to support dynamic data across your website we&rsquo;ve added the support to integrate Firebase. This will allow you to use the views feature across lists and posts.</description></item></channel></rss>
|
|
@ -1 +0,0 @@
|
|||
<!doctype html><html lang=en><head><title>https://nunocoracao.github.io/blowfish/docs/</title><link rel=canonical href=https://nunocoracao.github.io/blowfish/docs/><meta name=robots content="noindex"><meta charset=utf-8><meta http-equiv=refresh content="0; url=https://nunocoracao.github.io/blowfish/docs/"></head></html>
|
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 247 KiB |
Before Width: | Height: | Size: 70 KiB |
Before Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 737 B |
Before Width: | Height: | Size: 1.8 KiB |
BIN
docs/favicon.ico
Before Width: | Height: | Size: 15 KiB |
BIN
docs/iceland.jpg
Before Width: | Height: | Size: 4.8 MiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 176 KiB |
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Welcome to Blowfish! :tada: on Blowfish</title><link>https://nunocoracao.github.io/blowfish/</link><description>Recent content in Welcome to Blowfish! :tada: on Blowfish</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 26 Sep 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://nunocoracao.github.io/blowfish/index.xml" rel="self" type="application/rss+xml"/><item><title>Thumbnails</title><link>https://nunocoracao.github.io/blowfish/samples/thumbnail_sample/</link><pubDate>Mon, 26 Sep 2022 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/thumbnail_sample/</guid><description>A quick example of how to start using Thumbnails in your artciles.</description></item><item><title>Welcome to Blowfish 🐡</title><link>https://nunocoracao.github.io/blowfish/docs/welcome/</link><pubDate>Wed, 19 Jan 2022 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/welcome/</guid><description>Blowfish is packed with tons of features. The original aim of Blowfish was to develop a theme that was simple and lightweight. The theme is a fork of Congo and expands its initial vision.</description></item><item><title>Installation</title><link>https://nunocoracao.github.io/blowfish/docs/installation/</link><pubDate>Sun, 16 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/installation/</guid><description>Simply follow the standard Hugo Quick Start procedure to get up and running quickly.
|
||||
Detailed installation instructions can be found below. Instructions for updating the theme are also available.
|
||||
Installation # These instructions will get you up and running using Hugo and Blowfish from a completely blank state.</description></item><item><title>Getting Started</title><link>https://nunocoracao.github.io/blowfish/docs/getting-started/</link><pubDate>Sat, 15 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/getting-started/</guid><description>This section assumes you have already installed the Blowfish theme. The config files that ship with Blowfish contain all of the possible settings that the theme recognises. By default, many of these are commented out but you can simply uncomment them to activate or change a specific feature.</description></item><item><title>Configuration</title><link>https://nunocoracao.github.io/blowfish/docs/configuration/</link><pubDate>Fri, 14 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/configuration/</guid><description>Blowfish is a highly customisable theme and uses some of the latest Hugo features to simplify how it is configured.
|
||||
The theme ships with a default configuration that gets you up and running with a basic blog or static website.</description></item><item><title>Icons</title><link>https://nunocoracao.github.io/blowfish/samples/icons/</link><pubDate>Fri, 14 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/icons/</guid><description>Blowfish has built-in support for a number of FontAwesome 6 icons. These can be included in your website through either the icon partial or icon shortcode.
|
||||
Additionally, custom icons are also fully supported.</description></item><item><title>Users</title><link>https://nunocoracao.github.io/blowfish/users/</link><pubDate>Fri, 14 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/users/</guid><description>Real websites that are built with Blowfish. Website Auth Details nunocoracao.com Nuno Personal site - Theme author Blowfish user? To add your site to this list, submit a pull request.</description></item><item><title>Homepage Layout</title><link>https://nunocoracao.github.io/blowfish/docs/homepage-layout/</link><pubDate>Thu, 13 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/homepage-layout/</guid><description>Blowfish provides a fully flexible homepage layout. There are two main templates to choose from with additional settings to adjust the design. Alternatively, you can also provide your own template and have complete control over the homepage content.</description></item><item><title>Front Matter</title><link>https://nunocoracao.github.io/blowfish/docs/front-matter/</link><pubDate>Wed, 12 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/front-matter/</guid><description>In addition to the default Hugo front matter parameters, Blowfish adds a number of additional options to customise the presentation of individual articles. All the available theme front matter parameters are listed below.</description></item><item><title>Thumbnails</title><link>https://nunocoracao.github.io/blowfish/docs/thumbnails/</link><pubDate>Wed, 12 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/thumbnails/</guid><description>Thumbnails # Blowfish was enhanced in order to make it easy to add visual support to your posts. To do so, you just need to place an image file (almost all formats are supported bue we recommend .</description></item><item><title>Shortcodes</title><link>https://nunocoracao.github.io/blowfish/docs/shortcodes/</link><pubDate>Tue, 11 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/shortcodes/</guid><description>In addition to all the default Hugo shortcodes, Blowfish adds a few extras for additional functionality.
|
||||
Alert # alert outputs its contents as a stylised message box within your article. It&rsquo;s useful for drawing attention to important information that you don&rsquo;t want the reader to miss.</description></item><item><title>Partials</title><link>https://nunocoracao.github.io/blowfish/docs/partials/</link><pubDate>Mon, 10 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/partials/</guid><description>Analytics # Blowfish provides built-in support for Fathom Analytics and Google Analytics. Fathom is a paid alternative to Google Analytics that respects user privacy.
|
||||
Fathom Analytics # To enable Fathom Analytics support, simply provide your Fathom site code in the config/_default/params.</description></item><item><title>Content Examples</title><link>https://nunocoracao.github.io/blowfish/docs/content-examples/</link><pubDate>Sun, 09 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/content-examples/</guid><description>If you&rsquo;ve been reading the documentation in order, you should now know about all the features and configurations available in Blowfish. This page is designed to pull everything together and offer some worked examples that you might like to use in your Hugo project.</description></item><item><title>Advanced Customisation</title><link>https://nunocoracao.github.io/blowfish/docs/advanced-customisation/</link><pubDate>Sat, 08 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/advanced-customisation/</guid><description>There are many ways you can make advanced changes to Blowfish. Read below to learn more about what can be customised and the best way of achieving your desired result.</description></item><item><title>Hosting & Deployment</title><link>https://nunocoracao.github.io/blowfish/docs/hosting-deployment/</link><pubDate>Fri, 07 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/hosting-deployment/</guid><description>There are many ways to deploy your Hugo website built with Blowfish. The theme is designed to be flexible in almost any deployment scenario.
|
||||
Blowfish is built using relative URLs throughout the theme.</description></item><item><title>Firebase: Views & Likes</title><link>https://nunocoracao.github.io/blowfish/docs/firebase-views/</link><pubDate>Mon, 03 Aug 2020 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/docs/firebase-views/</guid><description>In order to be able to support dynamic data across your website we&rsquo;ve added the support to integrate Firebase. This will allow you to use the views feature across lists and posts.</description></item><item><title>Markdown</title><link>https://nunocoracao.github.io/blowfish/samples/markdown/</link><pubDate>Mon, 11 Mar 2019 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/markdown/</guid><description><p>This article offers a sample of basic Markdown formatting that can be used in Blowfish, also it shows how some basic HTML elements are decorated.</p></description></item><item><title>Rich Content</title><link>https://nunocoracao.github.io/blowfish/samples/rich-content/</link><pubDate>Sun, 10 Mar 2019 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/rich-content/</guid><description>This is an <em>example</em> of a <strong>rich</strong> content summary.</description></item><item><title>Mathematical notation</title><link>https://nunocoracao.github.io/blowfish/samples/mathematical-notation/</link><pubDate>Fri, 08 Mar 2019 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/mathematical-notation/</guid><description><p>KaTeX can be used to render mathematical notation within articles.</p></description></item><item><title>Charts</title><link>https://nunocoracao.github.io/blowfish/samples/charts/</link><pubDate>Wed, 06 Mar 2019 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/charts/</guid><description>Blowfish includes Chart.js for powerful charts and data visualisations.</description></item><item><title>Diagrams and Flowcharts</title><link>https://nunocoracao.github.io/blowfish/samples/diagrams-flowcharts/</link><pubDate>Wed, 06 Mar 2019 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/diagrams-flowcharts/</guid><description>It&rsquo;s easy to add diagrams and flowcharts to articles using Mermaid.</description></item><item><title>Emoji :parachute:</title><link>https://nunocoracao.github.io/blowfish/samples/emoji/</link><pubDate>Tue, 05 Mar 2019 00:00:00 +0000</pubDate><guid>https://nunocoracao.github.io/blowfish/samples/emoji/</guid><description>📖🏞️🧗🏽🐉🧙🏽♂️🧚🏽👸</description></item></channel></rss>
|
|
@ -1 +0,0 @@
|
|||
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")})),window.addEventListener("DOMContentLoaded",e=>{const t=document.getElementById("appearance-switcher"),n=document.getElementById("appearance-switcher-mobile");t&&(t.addEventListener("click",()=>{document.documentElement.classList.toggle("dark"),localStorage.setItem("appearance",document.documentElement.classList.contains("dark")?"dark":"light")}),t.addEventListener("contextmenu",e=>{e.preventDefault(),localStorage.removeItem("appearance")})),n&&(n.addEventListener("click",()=>{document.documentElement.classList.toggle("dark"),localStorage.setItem("appearance",document.documentElement.classList.contains("dark")?"dark":"light")}),n.addEventListener("contextmenu",e=>{e.preventDefault(),localStorage.removeItem("appearance")}))})
|
|
@ -1 +0,0 @@
|
|||
function switchHomeLayout(){const t=document.getElementById("page"),e=document.getElementById("profile"),n=document.querySelectorAll("code[id=layout]");e.style.display==="none"?(e.style.display="block",t.style.display="none",n.forEach(function(e){e.innerText="profile"})):(e.style.display="none",t.style.display="block",n.forEach(function(e){e.innerText="page"}))}window.addEventListener("DOMContentLoaded",e=>{document.querySelectorAll("#switch-layout-button").forEach(e=>e.addEventListener("click",function(e){e.preventDefault(),switchHomeLayout()}))})
|
|
@ -1 +0,0 @@
|
|||
if(typeof auth!="undefined"){var viewsCollection=db.collection("views"),update_views,update_likes,likesCollection=db.collection("likes");function numberWithCommas(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}update_views=function(e,t){viewsCollection.doc(t).onSnapshot(t=>{var s,n=t.data();n&&(s=document.querySelectorAll("span[id='"+e+"']")[0].innerText.split(" ")[1],document.querySelectorAll("span[id='"+e+"']")[0].innerText=numberWithCommas(n.views)+" "+s)})},update_likes=function(e,t){likesCollection.doc(t).onSnapshot(t=>{var s,n=t.data();n&&(s=document.querySelectorAll("span[id='"+e+"']")[0].innerText.split(" ")[1],document.querySelectorAll("span[id='"+e+"']")[0].innerText=numberWithCommas(n.likes)+" "+s)})},auth.signInAnonymously().then(()=>{var e,t,n,s,o=document.querySelectorAll("span[id^='views_']");for(n in o)e=o[n].id,t=e&&e.replaceAll("/","-"),t&&update_views(e,t);s=document.querySelectorAll("span[id^='likes_']");for(n in s)e=s[n].id,t=e&&e.replaceAll("/","-"),t&&update_likes(e,t)}).catch(e=>{var t=e.code,n=e.message;console.error(t,n)})}
|
1
docs/js/zoom.min.js
vendored
|
@ -1 +0,0 @@
|
|||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.amd?define(["katex"],t):"object"==typeof exports?exports.renderMathInElement=t(require("katex")):e.renderMathInElement=t(e.katex)}("undefined"!=typeof self?self:this,(function(e){return function(){"use strict";var t={771:function(t){t.exports=e}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var i={};return function(){n.d(i,{default:function(){return s}});var e=n(771),t=n.n(e),r=function(e,t,r){for(var n=r,i=0,a=e.length;n<t.length;){var o=t[n];if(i<=0&&t.slice(n,n+a)===e)return n;"\\"===o?n++:"{"===o?i++:"}"===o&&i--,n++}return-1},a=/^\\begin{/,o=function(e,t){for(var n,i=[],o=new RegExp("("+t.map((function(e){return e.left.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")})).join("|")+")");-1!==(n=e.search(o));){n>0&&(i.push({type:"text",data:e.slice(0,n)}),e=e.slice(n));var l=t.findIndex((function(t){return e.startsWith(t.left)}));if(-1===(n=r(t[l].right,e,t[l].left.length)))break;var d=e.slice(0,n+t[l].right.length),s=a.test(d)?d:e.slice(t[l].left.length,n);i.push({type:"math",data:s,rawData:d,display:t[l].display}),e=e.slice(n+t[l].right.length)}return""!==e&&i.push({type:"text",data:e}),i},l=function(e,r){var n=o(e,r.delimiters);if(1===n.length&&"text"===n[0].type)return null;for(var i=document.createDocumentFragment(),a=0;a<n.length;a++)if("text"===n[a].type)i.appendChild(document.createTextNode(n[a].data));else{var l=document.createElement("span"),d=n[a].data;r.displayMode=n[a].display;try{r.preProcess&&(d=r.preProcess(d)),t().render(d,l,r)}catch(e){if(!(e instanceof t().ParseError))throw e;r.errorCallback("KaTeX auto-render: Failed to parse `"+n[a].data+"` with ",e),i.appendChild(document.createTextNode(n[a].rawData));continue}i.appendChild(l)}return i},d=function e(t,r){for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];if(3===i.nodeType){for(var a=i.textContent,o=i.nextSibling,d=0;o&&o.nodeType===Node.TEXT_NODE;)a+=o.textContent,o=o.nextSibling,d++;var s=l(a,r);if(s){for(var f=0;f<d;f++)i.nextSibling.remove();n+=s.childNodes.length-1,t.replaceChild(s,i)}else n+=d}else 1===i.nodeType&&function(){var t=" "+i.className+" ";-1===r.ignoredTags.indexOf(i.nodeName.toLowerCase())&&r.ignoredClasses.every((function(e){return-1===t.indexOf(" "+e+" ")}))&&e(i,r)}()}},s=function(e,t){if(!e)throw new Error("No element provided to render");var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);r.delimiters=r.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}],r.ignoredTags=r.ignoredTags||["script","noscript","style","textarea","pre","code","option"],r.ignoredClasses=r.ignoredClasses||[],r.errorCallback=r.errorCallback||console.error,r.macros=r.macros||{},d(e,r)}}(),i=i.default}()}));
|