diff --git a/.eslintrc.yml b/.eslintrc.yml
index d6c937d..58ea9e6 100644
--- a/.eslintrc.yml
+++ b/.eslintrc.yml
@@ -44,12 +44,6 @@ rules:
no-unused-vars:
- 2
- argsIgnorePattern: "^_"
- # jsx a11y
- jsx-a11y/no-static-element-interactions: 0
- jsx-a11y/anchor-is-valid:
- - 2
- - specialLink:
- - to
globals:
document: true
diff --git a/.gitignore b/.gitignore
index b512c09..36170a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
-node_modules
\ No newline at end of file
+node_modules
+public
diff --git a/.prettierrc b/.prettierrc
index 4c3e10d..dacd6a2 100644
--- a/.prettierrc
+++ b/.prettierrc
@@ -1,5 +1,11 @@
{
"parser": "babel",
"printWidth": 100,
- "trailingComma": "all"
+ "trailingComma": "all",
+ "overrides": [{
+ "files": ".html",
+ "options": {
+ "parser": "html"
+ }
+ }]
}
diff --git a/COMMUNITY-FEATURES.md b/COMMUNITY-FEATURES.md
new file mode 100644
index 0000000..8bda059
--- /dev/null
+++ b/COMMUNITY-FEATURES.md
@@ -0,0 +1,17 @@
+# Community features
+
+
diff --git a/README.md b/README.md
index fa0454d..9af3fa4 100644
--- a/README.md
+++ b/README.md
@@ -2,27 +2,28 @@
![Hello Friend](https://github.com/panr/hugo-theme-hello-friend/blob/master/images/screenshot.png?raw=true)
-### DEMO - https://hugo-hello-friend.now.sh/
+### DEMO - https://hugo-hello-friend.now.sh/
---
- [Hello Friend](#hello-friend)
- - [DEMO - https://hugo-hello-friend.now.sh/](#demo---httpshugo-hello-friendnowsh)
+ - [DEMO - https://hugo-hello-friend.now.sh/](#demo)
- [Features](#features)
- [Built-in shortcodes](#built-in-shortcodes)
- [Code highlighting](#code-highlighting)
- [Improved RSS Feed](#improved-rss-feed)
- [How to start](#how-to-start)
+ - [How to run your site](#how-to-run-your-site)
- [How to configure](#how-to-configure)
- [How to add a cover image to your posts](#how-to-add-a-cover-image-to-your-posts)
- [How to display the Last Modified Date in your posts](#how-to-display-the-last-modified-date-in-your-posts)
- [How to hide "Read more" button](#how-to-hide-read-more-button)
- [Add-ons](#add-ons)
- - [How to run your site](#how-to-run-your-site)
- - [How to edit the theme](#how-to-edit-the-theme)
- - [How to contribute](#how-to-contribute)
+ - [How to (safely) edit the theme](#how-to-edit)
+ - [Found a bug?](#bug)
+ - [New cool idea or feature](#feature)
- [`Hello Friend` theme user?](#hello-friend-theme-user)
- [Sponsoring](#sponsoring)
- [License](#license)
@@ -107,6 +108,18 @@ If you don't want to make any radical changes, it's the best option, because you
$ git submodule add https://github.com/panr/hugo-theme-hello-friend.git themes/hello-friend
```
+⚠️ **The theme needs at least Hugo version 0.74.x**.
+
+## How to run your site
+
+From your Hugo root directory run:
+
+```
+$ hugo server -t hello-friend
+```
+
+and go to `localhost:1313` in your browser. From now on all the changes you make will go live, so you don't need to refresh your browser every single time.
+
## How to configure
The theme doesn't require any advanced configuration. Just copy:
@@ -210,37 +223,60 @@ In a post's front matter you have to add `hideReadMore` param set to `true`. Thi
- **Extended `
`** — if you need to add something inside `` element, after all of all of the theme's `
+
{{- partial "extended_footer.html" . }}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 89e1aa4..afc0596 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -10,7 +10,6 @@
-
diff --git a/package.json b/package.json
index 02202a4..13a2d1e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "hello-friend",
- "version": "1.0.0",
+ "version": "2.0.0",
"main": "index.js",
"author": "Radosław Kozieł <@panr> ",
"license": "MIT",
@@ -19,35 +19,36 @@
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.3.1",
"@babel/preset-stage-2": "^7.0.0",
- "babel-eslint": "^8.2.1",
+ "babel-eslint": "^10.1.0",
"babel-loader": "^8.0.5",
"browserslist": "^4.0.1",
- "clean-webpack-plugin": "^0.1.19",
+ "clean-webpack-plugin": "^3.0.0",
"clipboard": "^2.0.4",
- "css-loader": "^1.0.1",
+ "css-loader": "^4.2.2",
"cssnano": "^4.1.8",
- "eslint-config-airbnb": "^17.1.0",
- "eslint-config-prettier": "^2.10.0",
+ "eslint-config-airbnb": "^18.2.0",
+ "eslint-config-prettier": "^6.11.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
- "file-loader": "^1.1.11",
- "html-webpack-plugin": "^3.2.0",
+ "file-loader": "^6.1.0",
+ "html-webpack-plugin": "^4.4.1",
"husky": "^4.2.5",
+ "mini-css-extract-plugin": "^0.11.0",
"postcss": "^7.0.0",
- "postcss-browser-reporter": "^0.5.0",
- "postcss-cli": "^6.1.1",
- "postcss-import": "^11.1.0",
- "postcss-loader": "^2.1.6",
+ "postcss-browser-reporter": "^0.6.0",
+ "postcss-cli": "^7.1.2",
+ "postcss-import": "^12.0.1",
+ "postcss-loader": "^3.0.0",
"postcss-mixins": "^6.2.1",
- "postcss-nested": "^3.0.0",
- "postcss-preset-env": "^5.3.0",
- "postcss-reporter": "^5.0.0",
- "postcss-url": "^7.3.2",
- "prettier-eslint-cli": "^4.7.1",
- "ramda": "^0.25.0",
- "style-loader": "^0.21.0",
- "uglifyjs-webpack-plugin": "^1.3.0",
- "url-loader": "^1.1.2",
+ "postcss-nested": "^4.2.3",
+ "postcss-preset-env": "^6.7.0",
+ "postcss-reporter": "^6.0.1",
+ "postcss-url": "^8.0.0",
+ "prettier-eslint-cli": "^5.0.0",
+ "ramda": "^0.27.1",
+ "style-loader": "^1.2.1",
+ "uglifyjs-webpack-plugin": "^2.2.0",
+ "url-loader": "^4.1.0",
"webpack": "^4.29.3",
"webpack-cli": "^3.2.3"
},
diff --git a/source/css/style.css b/source/css/style.css
deleted file mode 100644
index 5032e62..0000000
--- a/source/css/style.css
+++ /dev/null
@@ -1,17 +0,0 @@
-@import 'variables';
-@import 'fonts';
-@import 'buttons';
-
-@import 'header';
-@import 'logo';
-@import 'menu';
-@import 'main';
-@import 'post';
-@import 'pagination';
-@import 'footer';
-
-@import 'terms';
-@import 'archive';
-
-@import 'prism';
-@import 'code';
diff --git a/source/fonts/Inter-Bold.woff b/source/fonts/Inter-Bold.woff
deleted file mode 100644
index 43dfb67..0000000
Binary files a/source/fonts/Inter-Bold.woff and /dev/null differ
diff --git a/source/fonts/Inter-Bold.woff2 b/source/fonts/Inter-Bold.woff2
deleted file mode 100644
index b26180b..0000000
Binary files a/source/fonts/Inter-Bold.woff2 and /dev/null differ
diff --git a/source/fonts/Inter-BoldItalic.woff b/source/fonts/Inter-BoldItalic.woff
deleted file mode 100644
index 0aa33d0..0000000
Binary files a/source/fonts/Inter-BoldItalic.woff and /dev/null differ
diff --git a/source/fonts/Inter-BoldItalic.woff2 b/source/fonts/Inter-BoldItalic.woff2
deleted file mode 100644
index 07ad99d..0000000
Binary files a/source/fonts/Inter-BoldItalic.woff2 and /dev/null differ
diff --git a/source/fonts/Inter-Italic.woff b/source/fonts/Inter-Italic.woff
deleted file mode 100644
index 7e07d71..0000000
Binary files a/source/fonts/Inter-Italic.woff and /dev/null differ
diff --git a/source/fonts/Inter-Italic.woff2 b/source/fonts/Inter-Italic.woff2
deleted file mode 100644
index 435fe82..0000000
Binary files a/source/fonts/Inter-Italic.woff2 and /dev/null differ
diff --git a/source/fonts/Inter-Medium.woff b/source/fonts/Inter-Medium.woff
deleted file mode 100644
index 15079dc..0000000
Binary files a/source/fonts/Inter-Medium.woff and /dev/null differ
diff --git a/source/fonts/Inter-Medium.woff2 b/source/fonts/Inter-Medium.woff2
deleted file mode 100644
index 7d0fbe9..0000000
Binary files a/source/fonts/Inter-Medium.woff2 and /dev/null differ
diff --git a/source/fonts/Inter-MediumItalic.woff b/source/fonts/Inter-MediumItalic.woff
deleted file mode 100644
index 7d8c122..0000000
Binary files a/source/fonts/Inter-MediumItalic.woff and /dev/null differ
diff --git a/source/fonts/Inter-MediumItalic.woff2 b/source/fonts/Inter-MediumItalic.woff2
deleted file mode 100644
index fa86742..0000000
Binary files a/source/fonts/Inter-MediumItalic.woff2 and /dev/null differ
diff --git a/source/fonts/Inter-Regular.woff b/source/fonts/Inter-Regular.woff
deleted file mode 100644
index e8587fd..0000000
Binary files a/source/fonts/Inter-Regular.woff and /dev/null differ
diff --git a/source/fonts/Inter-Regular.woff2 b/source/fonts/Inter-Regular.woff2
deleted file mode 100644
index 46568fd..0000000
Binary files a/source/fonts/Inter-Regular.woff2 and /dev/null differ
diff --git a/source/js/index.js b/source/js/index.js
deleted file mode 100644
index c9c38d0..0000000
--- a/source/js/index.js
+++ /dev/null
@@ -1 +0,0 @@
-// Add your script here
diff --git a/static/assets/1b084c69c69a1b3a2618caed68164471.woff2 b/static/assets/1b084c69c69a1b3a2618caed68164471.woff2
new file mode 100644
index 0000000..8559dfd
Binary files /dev/null and b/static/assets/1b084c69c69a1b3a2618caed68164471.woff2 differ
diff --git a/static/assets/2505c0d4b34ffca98f8f8852e24928eb.woff2 b/static/assets/2505c0d4b34ffca98f8f8852e24928eb.woff2
new file mode 100644
index 0000000..d5ffd2a
Binary files /dev/null and b/static/assets/2505c0d4b34ffca98f8f8852e24928eb.woff2 differ
diff --git a/static/assets/2e5e0884f40cc3929881d89710fa432e.woff2 b/static/assets/2e5e0884f40cc3929881d89710fa432e.woff2
deleted file mode 100644
index 7d0fbe9..0000000
Binary files a/static/assets/2e5e0884f40cc3929881d89710fa432e.woff2 and /dev/null differ
diff --git a/static/assets/34356f6bf3d0f6de82656cca908803cf.woff2 b/static/assets/34356f6bf3d0f6de82656cca908803cf.woff2
deleted file mode 100644
index b26180b..0000000
Binary files a/static/assets/34356f6bf3d0f6de82656cca908803cf.woff2 and /dev/null differ
diff --git a/static/assets/35cf8109301be9e5b147a09c9f103bc4.woff b/static/assets/35cf8109301be9e5b147a09c9f103bc4.woff
deleted file mode 100644
index 7e07d71..0000000
Binary files a/static/assets/35cf8109301be9e5b147a09c9f103bc4.woff and /dev/null differ
diff --git a/static/assets/381444ec5c7d26b672bebaca791d0640.woff2 b/static/assets/381444ec5c7d26b672bebaca791d0640.woff2
deleted file mode 100644
index 435fe82..0000000
Binary files a/static/assets/381444ec5c7d26b672bebaca791d0640.woff2 and /dev/null differ
diff --git a/static/assets/3c747ac4004be3a30e9807662caebaa0.woff2 b/static/assets/3c747ac4004be3a30e9807662caebaa0.woff2
new file mode 100644
index 0000000..6c401bb
Binary files /dev/null and b/static/assets/3c747ac4004be3a30e9807662caebaa0.woff2 differ
diff --git a/static/assets/57acb4797f14814f3f3d8b5ff0dc92f5.woff2 b/static/assets/57acb4797f14814f3f3d8b5ff0dc92f5.woff2
deleted file mode 100644
index 07ad99d..0000000
Binary files a/static/assets/57acb4797f14814f3f3d8b5ff0dc92f5.woff2 and /dev/null differ
diff --git a/static/assets/5b53c519b3184a74a98ca6125f513c9d.woff2 b/static/assets/5b53c519b3184a74a98ca6125f513c9d.woff2
new file mode 100644
index 0000000..3b31d33
Binary files /dev/null and b/static/assets/5b53c519b3184a74a98ca6125f513c9d.woff2 differ
diff --git a/static/assets/61c493e3af34ba077777c6bb54862837.woff b/static/assets/61c493e3af34ba077777c6bb54862837.woff
deleted file mode 100644
index 43dfb67..0000000
Binary files a/static/assets/61c493e3af34ba077777c6bb54862837.woff and /dev/null differ
diff --git a/static/assets/642b4659478701575989a8926822356b.woff b/static/assets/642b4659478701575989a8926822356b.woff
new file mode 100644
index 0000000..fb79e91
Binary files /dev/null and b/static/assets/642b4659478701575989a8926822356b.woff differ
diff --git a/static/assets/6fbcf86a8d4a8411d22ed510f1d72be8.woff b/static/assets/6fbcf86a8d4a8411d22ed510f1d72be8.woff
deleted file mode 100644
index 0aa33d0..0000000
Binary files a/static/assets/6fbcf86a8d4a8411d22ed510f1d72be8.woff and /dev/null differ
diff --git a/static/assets/7a7fd73559e43715c0db3f6ff13fa108.woff2 b/static/assets/7a7fd73559e43715c0db3f6ff13fa108.woff2
deleted file mode 100644
index fa86742..0000000
Binary files a/static/assets/7a7fd73559e43715c0db3f6ff13fa108.woff2 and /dev/null differ
diff --git a/static/assets/86b501b4ef9d20d70996b196b69dc1e7.woff2 b/static/assets/86b501b4ef9d20d70996b196b69dc1e7.woff2
new file mode 100644
index 0000000..80efd48
Binary files /dev/null and b/static/assets/86b501b4ef9d20d70996b196b69dc1e7.woff2 differ
diff --git a/static/assets/aa42f3d22ea9fae2b945f33b94d180ea.woff b/static/assets/aa42f3d22ea9fae2b945f33b94d180ea.woff
new file mode 100644
index 0000000..2de403e
Binary files /dev/null and b/static/assets/aa42f3d22ea9fae2b945f33b94d180ea.woff differ
diff --git a/static/assets/ad6e093cdbdede112459e8a6a1ad9563.woff b/static/assets/ad6e093cdbdede112459e8a6a1ad9563.woff
deleted file mode 100644
index 7d8c122..0000000
Binary files a/static/assets/ad6e093cdbdede112459e8a6a1ad9563.woff and /dev/null differ
diff --git a/static/assets/aebfbb3c9c7d49053fce8cadbc6e6735.woff b/static/assets/aebfbb3c9c7d49053fce8cadbc6e6735.woff
deleted file mode 100644
index e8587fd..0000000
Binary files a/static/assets/aebfbb3c9c7d49053fce8cadbc6e6735.woff and /dev/null differ
diff --git a/static/assets/bffaed793493dc46bf0789e2275909ac.woff2 b/static/assets/bffaed793493dc46bf0789e2275909ac.woff2
deleted file mode 100644
index 46568fd..0000000
Binary files a/static/assets/bffaed793493dc46bf0789e2275909ac.woff2 and /dev/null differ
diff --git a/static/assets/c09fb3891c96d467a92d9d898e4a931a.woff b/static/assets/c09fb3891c96d467a92d9d898e4a931a.woff
deleted file mode 100644
index 15079dc..0000000
Binary files a/static/assets/c09fb3891c96d467a92d9d898e4a931a.woff and /dev/null differ
diff --git a/static/assets/c7c0091f1b2b06064572ec0016f1e142.woff b/static/assets/c7c0091f1b2b06064572ec0016f1e142.woff
new file mode 100644
index 0000000..61e1c25
Binary files /dev/null and b/static/assets/c7c0091f1b2b06064572ec0016f1e142.woff differ
diff --git a/static/assets/cc6a88688869161eb83642d9393a0c2d.woff b/static/assets/cc6a88688869161eb83642d9393a0c2d.woff
new file mode 100644
index 0000000..8c36a63
Binary files /dev/null and b/static/assets/cc6a88688869161eb83642d9393a0c2d.woff differ
diff --git a/static/assets/f25066e37f191178ef56ae1f2f901f92.woff2 b/static/assets/f25066e37f191178ef56ae1f2f901f92.woff2
new file mode 100644
index 0000000..d32c111
Binary files /dev/null and b/static/assets/f25066e37f191178ef56ae1f2f901f92.woff2 differ
diff --git a/static/assets/fa701b4b599a803effc38485e2957ca3.woff b/static/assets/fa701b4b599a803effc38485e2957ca3.woff
new file mode 100644
index 0000000..e7da666
Binary files /dev/null and b/static/assets/fa701b4b599a803effc38485e2957ca3.woff differ
diff --git a/static/assets/fc49d131f795b4d48f261495d4caef09.woff b/static/assets/fc49d131f795b4d48f261495d4caef09.woff
new file mode 100644
index 0000000..7d587c4
Binary files /dev/null and b/static/assets/fc49d131f795b4d48f261495d4caef09.woff differ
diff --git a/static/assets/main.js b/static/assets/main.js
index 1e65c4d..f44b623 100644
--- a/static/assets/main.js
+++ b/static/assets/main.js
@@ -1 +1 @@
-!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){n(1),n(2),e.exports=n(3)},function(e,t){},function(e,t){var n=document.querySelector(".container"),o=document.querySelector(".menu"),r=document.querySelector(".menu-trigger"),i=(document.querySelector(".menu__inner--desktop"),document.querySelector(".menu__sub-inner-more-trigger")),c=document.querySelector(".menu__sub-inner-more"),d=getComputedStyle(document.body).getPropertyValue("--phoneWidth"),u=function(){return window.matchMedia(d).matches},l=function(){r&&r.classList.toggle("hidden",!u()),o&&o.classList.toggle("hidden",u()),c&&c.classList.toggle("hidden",!u())};o&&o.addEventListener("click",function(e){return e.stopPropagation()}),c&&c.addEventListener("click",function(e){return e.stopPropagation()}),l(),document.body.addEventListener("click",function(){u()||!c||c.classList.contains("hidden")?u()&&!o.classList.contains("hidden")&&o.classList.add("hidden"):c.classList.add("hidden")}),window.addEventListener("resize",l),r&&r.addEventListener("click",function(e){e.stopPropagation(),o&&o.classList.toggle("hidden")}),i&&i.addEventListener("click",function(e){e.stopPropagation(),c&&c.classList.toggle("hidden"),c&&c.getBoundingClientRect().right>n.getBoundingClientRect().right&&(c.style.left="auto",c.style.right=0)})},function(e,t){var n=window.localStorage&&window.localStorage.getItem("theme"),o=document.querySelector(".theme-toggle"),r="dark"===n;null!==n&&document.body.classList.toggle("dark-theme",r),o.addEventListener("click",function(){document.body.classList.toggle("dark-theme"),window.localStorage&&window.localStorage.setItem("theme",document.body.classList.contains("dark-theme")?"dark":"light")})}]);
\ No newline at end of file
+!function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=o,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,n){n(1),e.exports=n(2)},function(e,t){function n(){return window.matchMedia(l).matches}function o(){c&&c.classList.toggle("hidden",!n()),i&&i.classList.toggle("hidden",n()),u&&u.classList.toggle("hidden",!n())}var r=document.querySelector(".container"),i=document.querySelector(".menu"),c=document.querySelector(".menu-trigger"),d=(document.querySelector(".menu__inner--desktop"),document.querySelector(".menu__sub-inner-more-trigger")),u=document.querySelector(".menu__sub-inner-more"),l=getComputedStyle(document.body).getPropertyValue("--phoneWidth");i&&i.addEventListener("click",function(e){return e.stopPropagation()}),u&&u.addEventListener("click",function(e){return e.stopPropagation()}),o(),document.body.addEventListener("click",function(){n()||!u||u.classList.contains("hidden")?n()&&!i.classList.contains("hidden")&&i.classList.add("hidden"):u.classList.add("hidden")}),window.addEventListener("resize",o),c&&c.addEventListener("click",function(e){e.stopPropagation(),i&&i.classList.toggle("hidden")}),d&&d.addEventListener("click",function(e){e.stopPropagation(),u&&u.classList.toggle("hidden"),u&&u.getBoundingClientRect().right>r.getBoundingClientRect().right&&(u.style.left="auto",u.style.right=0)})},function(e,t){var n=window.localStorage&&window.localStorage.getItem("theme"),o=document.querySelector(".theme-toggle"),r="dark"===n;null!==n&&document.body.classList.toggle("dark-theme",r),o.addEventListener("click",function(){document.body.classList.toggle("dark-theme"),window.localStorage&&window.localStorage.setItem("theme",document.body.classList.contains("dark-theme")?"dark":"light")})}]);
\ No newline at end of file
diff --git a/static/assets/prism.js b/static/assets/prism.js
index aa7badc..36a67a8 100644
--- a/static/assets/prism.js
+++ b/static/assets/prism.js
@@ -1,8 +1,8 @@
-!function(e){var t={};function n(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(a,i,function(t){return e[t]}.bind(null,i));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}([,,,,function(e,t,n){(function(t){var a="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},i=function(){var e=/\blang(?:uage)?-([\w-]+)\b/i,t=0,n=a.Prism={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function(e){return e instanceof i?new i(e.type,n.util.encode(e.content),e.alias):"Array"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,"&").replace(/e.length)return;if(!(k instanceof l)){if(f&&v!=t.length-1){if(p.lastIndex=w,!(C=p.exec(e)))break;for(var S=C.index+(m?C[1].length:0),x=C.index+C[0].length,A=v,E=w,L=t.length;L>A&&(x>E||!t[A].type&&!t[A-1].greedy);++A)S>=(E+=t[A].length)&&(++v,w=E);if(t[v]instanceof l)continue;_=A-v,k=e.slice(w,E),C.index-=w}else{p.lastIndex=0;var C=p.exec(k),_=1}if(C){m&&(b=C[1]?C[1].length:0);x=(S=C.index+b)+(C=C[0].slice(b)).length;var T=k.slice(0,S),I=k.slice(x),R=[v,_];T&&(++v,w+=T.length,R.push(T));var P=new l(c,g?n.tokenize(C,g):C,h,C,f);if(R.push(P),I&&R.push(I),Array.prototype.splice.apply(t,R),1!=_&&n.matchGrammar(e,t,a,v,w,!0,c),o)break}else if(o)break}}}}},tokenize:function(e,t){var a=[e],i=t.rest;if(i){for(var r in i)t[r]=i[r];delete t.rest}return n.matchGrammar(e,a,t,0,0,!1),a},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var i,r=0;i=a[r++];)i(t)}}},i=n.Token=function(e,t,n,a,i){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length,this.greedy=!!i};if(i.stringify=function(e,t,a){if("string"==typeof e)return e;if("Array"===n.util.type(e))return e.map(function(n){return i.stringify(n,t,e)}).join("");var r={type:e.type,content:i.stringify(e.content,t,a),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:a};if(e.alias){var o="Array"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(r.classes,o)}n.hooks.run("wrap",r);var s=Object.keys(r.attributes).map(function(e){return e+'="'+(r.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+(s?" "+s:"")+">"+r.content+""+r.tag+">"},!a.document)return a.addEventListener?(n.disableWorkerMessageHandler||a.addEventListener("message",function(e){var t=JSON.parse(e.data),i=t.language,r=t.code,o=t.immediateClose;a.postMessage(n.highlight(r,n.languages[i],i)),o&&a.close()},!1),a.Prism):a.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return r&&(n.filename=r.src,n.manual||r.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener("DOMContentLoaded",n.highlightAll))),a.Prism}();e.exports&&(e.exports=i),void 0!==t&&(t.Prism=i),i.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/?[\da-z]{1,8};/i},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),i.languages.xml=i.languages.markup,i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?[\s\S]*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},i.languages.css.atrule.inside.rest=i.languages.css,i.languages.markup&&(i.languages.insertBefore("markup","tag",{style:{pattern:/(