aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/projects/games/bubblebreaker.md2
-rw-r--r--content/projects/games/bubblebreaker.p8.pngbin0 -> 9840 bytes
-rw-r--r--content/projects/games/bubblebreaker.p8.png.webpbin11992 -> 0 bytes
-rw-r--r--content/projects/games/gameof15.md2
-rw-r--r--content/projects/games/gameof15.p8.pngbin0 -> 5799 bytes
-rw-r--r--content/projects/games/gameof15.p8.png.webpbin8198 -> 0 bytes
-rw-r--r--content/projects/games/lines.md2
-rw-r--r--content/projects/games/lines.p8.pngbin0 -> 6651 bytes
-rw-r--r--content/projects/games/lines.p8.png.webpbin6970 -> 0 bytes
-rw-r--r--content/projects/games/snake.md2
-rw-r--r--content/projects/games/snake.p8.pngbin0 -> 6229 bytes
-rw-r--r--content/projects/games/snake.p8.png.webpbin8516 -> 0 bytes
-rw-r--r--layouts/partials/comments.html32
-rw-r--r--layouts/partials/head/js.html2
-rw-r--r--layouts/partials/header.html3
-rw-r--r--static/js/fuse.min.js9
-rw-r--r--static/js/mermaid.esm.min.mjs14
-rw-r--r--static/js/search.js27
18 files changed, 10 insertions, 85 deletions
diff --git a/content/projects/games/bubblebreaker.md b/content/projects/games/bubblebreaker.md
index 05a8c8a..4546b35 100644
--- a/content/projects/games/bubblebreaker.md
+++ b/content/projects/games/bubblebreaker.md
@@ -1,5 +1,5 @@
---
-Game: /projects/games/bubblebreaker.p8.webp
+Game: /projects/games/bubblebreaker.p8.png
Title: Шарики
Type: pico8
---
diff --git a/content/projects/games/bubblebreaker.p8.png b/content/projects/games/bubblebreaker.p8.png
new file mode 100644
index 0000000..9bcf747
--- /dev/null
+++ b/content/projects/games/bubblebreaker.p8.png
Binary files differ
diff --git a/content/projects/games/bubblebreaker.p8.png.webp b/content/projects/games/bubblebreaker.p8.png.webp
deleted file mode 100644
index a2687a2..0000000
--- a/content/projects/games/bubblebreaker.p8.png.webp
+++ /dev/null
Binary files differ
diff --git a/content/projects/games/gameof15.md b/content/projects/games/gameof15.md
index b110ee8..b040dc8 100644
--- a/content/projects/games/gameof15.md
+++ b/content/projects/games/gameof15.md
@@ -1,5 +1,5 @@
---
-Game: /projects/games/gameof15.p8.webp
+Game: /projects/games/gameof15.p8.png
Title: Пятнашки
Type: pico8
---
diff --git a/content/projects/games/gameof15.p8.png b/content/projects/games/gameof15.p8.png
new file mode 100644
index 0000000..5c9dfa0
--- /dev/null
+++ b/content/projects/games/gameof15.p8.png
Binary files differ
diff --git a/content/projects/games/gameof15.p8.png.webp b/content/projects/games/gameof15.p8.png.webp
deleted file mode 100644
index f05c615..0000000
--- a/content/projects/games/gameof15.p8.png.webp
+++ /dev/null
Binary files differ
diff --git a/content/projects/games/lines.md b/content/projects/games/lines.md
index b16a354..bcce02b 100644
--- a/content/projects/games/lines.md
+++ b/content/projects/games/lines.md
@@ -1,5 +1,5 @@
---
-Game: /projects/games/lines.p8.webp
+Game: /projects/games/lines.p8.png
Title: Цветные линии
Type: pico8
---
diff --git a/content/projects/games/lines.p8.png b/content/projects/games/lines.p8.png
new file mode 100644
index 0000000..aa5ea39
--- /dev/null
+++ b/content/projects/games/lines.p8.png
Binary files differ
diff --git a/content/projects/games/lines.p8.png.webp b/content/projects/games/lines.p8.png.webp
deleted file mode 100644
index 08e3705..0000000
--- a/content/projects/games/lines.p8.png.webp
+++ /dev/null
Binary files differ
diff --git a/content/projects/games/snake.md b/content/projects/games/snake.md
index 140c99e..f847b03 100644
--- a/content/projects/games/snake.md
+++ b/content/projects/games/snake.md
@@ -1,5 +1,5 @@
---
-Game: /projects/games/snake.p8.webp
+Game: /projects/games/snake.p8.png
Title: Змейка
Type: pico8
---
diff --git a/content/projects/games/snake.p8.png b/content/projects/games/snake.p8.png
new file mode 100644
index 0000000..14831dc
--- /dev/null
+++ b/content/projects/games/snake.p8.png
Binary files differ
diff --git a/content/projects/games/snake.p8.png.webp b/content/projects/games/snake.p8.png.webp
deleted file mode 100644
index eaedfe7..0000000
--- a/content/projects/games/snake.p8.png.webp
+++ /dev/null
Binary files differ
diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html
index 72f8828..26b4952 100644
--- a/layouts/partials/comments.html
+++ b/layouts/partials/comments.html
@@ -1,27 +1,7 @@
{{- with .Site.Params.comments -}}
-<h1 class="post-title fw-semibold">Комментарии</h1>
-<div id="remark42"></div>
-<script defer="true">
- var remark_config = {
- host: '{{ .host }}',
- site_id: '{{ .site }}',
- components: ['embed'],
- url: '{{ $.Permalink }}',
- max_shown_comments: {{ default 15 .max_shown_comments }},
- theme: 'light',
- page_title: '{{ $.Title }}',
- locale: '{{ default "en" .locale }}',
- show_email_subscription: {{ default true .show_email_subscription }}
- };
-
- !function(e, n) {
- for (var o = 0; o < e.length; o++) {
- var r = n.createElement('script'),
- c = '.js',
- d = n.head || n.body;
- 'noModule' in r ? (r.type = 'module', c = '.mjs') : r.async = !0, r.defer = !0, r.src = remark_config.host + '/web/' + e[o] + c, d.appendChild(r)
- }
- }(remark_config.components || ['embed'], document);
-
-</script>
-{{- end -}} \ No newline at end of file
+<a
+ href="mailto:i@neonxp.ru?subject=Re: {{ $.Title }}"
+ title="Откомментировать на почту">
+ ✉ Комментировать
+</a>
+{{- end -}}
diff --git a/layouts/partials/head/js.html b/layouts/partials/head/js.html
index 0c234aa..1e8bfc5 100644
--- a/layouts/partials/head/js.html
+++ b/layouts/partials/head/js.html
@@ -11,5 +11,3 @@
{{- end }}
{{- end }}
<script src="/js/bootstrap.bundle.min.js" defer="true"></script>
-<script src="/js/fuse.min.js" defer="true"></script>
-<script src="/js/search.js" defer="true"></script> \ No newline at end of file
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 0c951c5..a773809 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -9,9 +9,6 @@
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
{{ partial "hmenu.html" (dict "menuID" "main" "page" .) }}
- <div class="d-flex">
- <input class="form-control me-2" id="search-input" type="search" placeholder="Поиск по сайту" aria-label="Поиск по сайту">
- </div>
</div>
</div>
</nav>
diff --git a/static/js/fuse.min.js b/static/js/fuse.min.js
deleted file mode 100644
index 1f534ad..0000000
--- a/static/js/fuse.min.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * Fuse.js v7.0.0 - Lightweight fuzzy-search (http://fusejs.io)
- *
- * Copyright (c) 2023 Kiro Risk (http://kiro.me)
- * All Rights Reserved. Apache Software License 2.0
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- */
-var e,t;e=this,t=function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,v(r.key),r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t,n){return(t=v(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function h(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return h(this,n)}}function f(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function v(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function g(e){return Array.isArray?Array.isArray(e):"[object Array]"===S(e)}var y=1/0;function p(e){return null==e?"":function(e){if("string"==typeof e)return e;var t=e+"";return"0"==t&&1/e==-y?"-0":t}(e)}function m(e){return"string"==typeof e}function k(e){return"number"==typeof e}function M(e){return!0===e||!1===e||function(e){return b(e)&&null!==e}(e)&&"[object Boolean]"==S(e)}function b(e){return"object"===n(e)}function x(e){return null!=e}function w(e){return!e.trim().length}function S(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var L=function(e){return"Missing ".concat(e," property in key")},_=function(e){return"Property 'weight' in key '".concat(e,"' must be a positive integer")},O=Object.prototype.hasOwnProperty,j=function(){function e(t){var n=this;r(this,e),this._keys=[],this._keyMap={};var i=0;t.forEach((function(e){var t=A(e);n._keys.push(t),n._keyMap[t.id]=t,i+=t.weight})),this._keys.forEach((function(e){e.weight/=i}))}return o(e,[{key:"get",value:function(e){return this._keyMap[e]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),e}();function A(e){var t=null,n=null,r=null,i=1,o=null;if(m(e)||g(e))r=e,t=I(e),n=C(e);else{if(!O.call(e,"name"))throw new Error(L("name"));var c=e.name;if(r=c,O.call(e,"weight")&&(i=e.weight)<=0)throw new Error(_(c));t=I(c),n=C(c),o=e.getFn}return{path:t,id:n,weight:i,src:r,getFn:o}}function I(e){return g(e)?e:e.split(".")}function C(e){return g(e)?e.join("."):e}var E={useExtendedSearch:!1,getFn:function(e,t){var n=[],r=!1;return function e(t,i,o){if(x(t))if(i[o]){var c=t[i[o]];if(!x(c))return;if(o===i.length-1&&(m(c)||k(c)||M(c)))n.push(p(c));else if(g(c)){r=!0;for(var a=0,s=c.length;a<s;a+=1)e(c[a],i,o+1)}else i.length&&e(c,i,o+1)}else n.push(t)}(e,m(t)?t.split("."):t,0),r?n:n[0]},ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1},$=t(t(t(t({},{isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(e,t){return 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}),E),F=/[^ ]+/g,R=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getFn,i=void 0===n?$.getFn:n,o=t.fieldNormWeight,c=void 0===o?$.fieldNormWeight:o;r(this,e),this.norm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=new Map,r=Math.pow(10,t);return{get:function(t){var i=t.match(F).length;if(n.has(i))return n.get(i);var o=1/Math.pow(i,.5*e),c=parseFloat(Math.round(o*r)/r);return n.set(i,c),c},clear:function(){n.clear()}}}(c,3),this.getFn=i,this.isCreated=!1,this.setIndexRecords()}return o(e,[{key:"setSources",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.docs=e}},{key:"setIndexRecords",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.records=e}},{key:"setKeys",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.keys=t,this._keysMap={},t.forEach((function(t,n){e._keysMap[t.id]=n}))}},{key:"create",value:function(){var e=this;!this.isCreated&&this.docs.length&&(this.isCreated=!0,m(this.docs[0])?this.docs.forEach((function(t,n){e._addString(t,n)})):this.docs.forEach((function(t,n){e._addObject(t,n)})),this.norm.clear())}},{key:"add",value:function(e){var t=this.size();m(e)?this._addString(e,t):this._addObject(e,t)}},{key:"removeAt",value:function(e){this.records.splice(e,1);for(var t=e,n=this.size();t<n;t+=1)this.records[t].i-=1}},{key:"getValueForItemAtKeyId",value:function(e,t){return e[this._keysMap[t]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(e,t){if(x(e)&&!w(e)){var n={v:e,i:t,n:this.norm.get(e)};this.records.push(n)}}},{key:"_addObject",value:function(e,t){var n=this,r={i:t,$:{}};this.keys.forEach((function(t,i){var o=t.getFn?t.getFn(e):n.getFn(e,t.path);if(x(o))if(g(o)){for(var c=[],a=[{nestedArrIndex:-1,value:o}];a.length;){var s=a.pop(),u=s.nestedArrIndex,h=s.value;if(x(h))if(m(h)&&!w(h)){var l={v:h,i:u,n:n.norm.get(h)};c.push(l)}else g(h)&&h.forEach((function(e,t){a.push({nestedArrIndex:t,value:e})}))}r.$[i]=c}else if(m(o)&&!w(o)){var f={v:o,n:n.norm.get(o)};r.$[i]=f}})),this.records.push(r)}},{key:"toJSON",value:function(){return{keys:this.keys,records:this.records}}}]),e}();function P(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.getFn,i=void 0===r?$.getFn:r,o=n.fieldNormWeight,c=void 0===o?$.fieldNormWeight:o,a=new R({getFn:i,fieldNormWeight:c});return a.setKeys(e.map(A)),a.setSources(t),a.create(),a}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.errors,r=void 0===n?0:n,i=t.currentLocation,o=void 0===i?0:i,c=t.expectedLocation,a=void 0===c?0:c,s=t.distance,u=void 0===s?$.distance:s,h=t.ignoreLocation,l=void 0===h?$.ignoreLocation:h,f=r/e.length;if(l)return f;var d=Math.abs(a-o);return u?f+d/u:d?1:f}var W=32;function T(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.location,o=void 0===i?$.location:i,c=r.distance,a=void 0===c?$.distance:c,s=r.threshold,u=void 0===s?$.threshold:s,h=r.findAllMatches,l=void 0===h?$.findAllMatches:h,f=r.minMatchCharLength,d=void 0===f?$.minMatchCharLength:f,v=r.includeMatches,g=void 0===v?$.includeMatches:v,y=r.ignoreLocation,p=void 0===y?$.ignoreLocation:y;if(t.length>W)throw new Error("Pattern length exceeds max of ".concat(W,"."));for(var m,k=t.length,M=e.length,b=Math.max(0,Math.min(o,M)),x=u,w=b,S=d>1||g,L=S?Array(M):[];(m=e.indexOf(t,w))>-1;){var _=N(t,{currentLocation:m,expectedLocation:b,distance:a,ignoreLocation:p});if(x=Math.min(_,x),w=m+k,S)for(var O=0;O<k;)L[m+O]=1,O+=1}w=-1;for(var j=[],A=1,I=k+M,C=1<<k-1,E=0;E<k;E+=1){for(var F=0,R=I;F<R;)N(t,{errors:E,currentLocation:b+R,expectedLocation:b,distance:a,ignoreLocation:p})<=x?F=R:I=R,R=Math.floor((I-F)/2+F);I=R;var P=Math.max(1,b-R+1),T=l?M:Math.min(b+R,M)+k,z=Array(T+2);z[T+1]=(1<<E)-1;for(var D=T;D>=P;D-=1){var K=D-1,q=n[e.charAt(K)];if(S&&(L[K]=+!!q),z[D]=(z[D+1]<<1|1)&q,E&&(z[D]|=(j[D+1]|j[D])<<1|1|j[D+1]),z[D]&C&&(A=N(t,{errors:E,currentLocation:K,expectedLocation:b,distance:a,ignoreLocation:p}))<=x){if(x=A,(w=K)<=b)break;P=Math.max(1,2*b-w)}}if(N(t,{errors:E+1,currentLocation:b,expectedLocation:b,distance:a,ignoreLocation:p})>x)break;j=z}var B={isMatch:w>=0,score:Math.max(.001,A)};if(S){var J=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:$.minMatchCharLength,n=[],r=-1,i=-1,o=0,c=e.length;o<c;o+=1){var a=e[o];a&&-1===r?r=o:a||-1===r||((i=o-1)-r+1>=t&&n.push([r,i]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}(L,d);J.length?g&&(B.indices=J):B.isMatch=!1}return B}function z(e){for(var t={},n=0,r=e.length;n<r;n+=1){var i=e.charAt(n);t[i]=(t[i]||0)|1<<r-n-1}return t}var D=function(){function e(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.location,c=void 0===o?$.location:o,a=i.threshold,s=void 0===a?$.threshold:a,u=i.distance,h=void 0===u?$.distance:u,l=i.includeMatches,f=void 0===l?$.includeMatches:l,d=i.findAllMatches,v=void 0===d?$.findAllMatches:d,g=i.minMatchCharLength,y=void 0===g?$.minMatchCharLength:g,p=i.isCaseSensitive,m=void 0===p?$.isCaseSensitive:p,k=i.ignoreLocation,M=void 0===k?$.ignoreLocation:k;if(r(this,e),this.options={location:c,threshold:s,distance:h,includeMatches:f,findAllMatches:v,minMatchCharLength:y,isCaseSensitive:m,ignoreLocation:M},this.pattern=m?t:t.toLowerCase(),this.chunks=[],this.pattern.length){var b=function(e,t){n.chunks.push({pattern:e,alphabet:z(e),startIndex:t})},x=this.pattern.length;if(x>W){for(var w=0,S=x%W,L=x-S;w<L;)b(this.pattern.substr(w,W),w),w+=W;if(S){var _=x-W;b(this.pattern.substr(_),_)}}else b(this.pattern,0)}}return o(e,[{key:"searchIn",value:function(e){var t=this.options,n=t.isCaseSensitive,r=t.includeMatches;if(n||(e=e.toLowerCase()),this.pattern===e){var i={isMatch:!0,score:0};return r&&(i.indices=[[0,e.length-1]]),i}var o=this.options,c=o.location,a=o.distance,s=o.threshold,u=o.findAllMatches,h=o.minMatchCharLength,l=o.ignoreLocation,d=[],v=0,g=!1;this.chunks.forEach((function(t){var n=t.pattern,i=t.alphabet,o=t.startIndex,y=T(e,n,i,{location:c+o,distance:a,threshold:s,findAllMatches:u,minMatchCharLength:h,includeMatches:r,ignoreLocation:l}),p=y.isMatch,m=y.score,k=y.indices;p&&(g=!0),v+=m,p&&k&&(d=[].concat(f(d),f(k)))}));var y={isMatch:g,score:g?v/this.chunks.length:1};return g&&r&&(y.indices=d),y}}]),e}(),K=function(){function e(t){r(this,e),this.pattern=t}return o(e,[{key:"search",value:function(){}}],[{key:"isMultiMatch",value:function(e){return q(e,this.multiRegex)}},{key:"isSingleMatch",value:function(e){return q(e,this.singleRegex)}}]),e}();function q(e,t){var n=e.match(t);return n?n[1]:null}var B=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"exact"}},{key:"multiRegex",get:function(){return/^="(.*)"$/}},{key:"singleRegex",get:function(){return/^=(.*)$/}}]),n}(K),J=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=-1===e.indexOf(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"$/}},{key:"singleRegex",get:function(){return/^!(.*)$/}}]),n}(K),U=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}],[{key:"type",get:function(){return"prefix-exact"}},{key:"multiRegex",get:function(){return/^\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^\^(.*)$/}}]),n}(K),V=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-prefix-exact"}},{key:"multiRegex",get:function(){return/^!\^"(.*)"$/}},{key:"singleRegex",get:function(){return/^!\^(.*)$/}}]),n}(K),G=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}],[{key:"type",get:function(){return"suffix-exact"}},{key:"multiRegex",get:function(){return/^"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^(.*)\$$/}}]),n}(K),H=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){var t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}],[{key:"type",get:function(){return"inverse-suffix-exact"}},{key:"multiRegex",get:function(){return/^!"(.*)"\$$/}},{key:"singleRegex",get:function(){return/^!(.*)\$$/}}]),n}(K),Q=function(e){a(n,e);var t=l(n);function n(e){var i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=o.location,a=void 0===c?$.location:c,s=o.threshold,u=void 0===s?$.threshold:s,h=o.distance,l=void 0===h?$.distance:h,f=o.includeMatches,d=void 0===f?$.includeMatches:f,v=o.findAllMatches,g=void 0===v?$.findAllMatches:v,y=o.minMatchCharLength,p=void 0===y?$.minMatchCharLength:y,m=o.isCaseSensitive,k=void 0===m?$.isCaseSensitive:m,M=o.ignoreLocation,b=void 0===M?$.ignoreLocation:M;return r(this,n),(i=t.call(this,e))._bitapSearch=new D(e,{location:a,threshold:u,distance:l,includeMatches:d,findAllMatches:g,minMatchCharLength:p,isCaseSensitive:k,ignoreLocation:b}),i}return o(n,[{key:"search",value:function(e){return this._bitapSearch.searchIn(e)}}],[{key:"type",get:function(){return"fuzzy"}},{key:"multiRegex",get:function(){return/^"(.*)"$/}},{key:"singleRegex",get:function(){return/^(.*)$/}}]),n}(K),X=function(e){a(n,e);var t=l(n);function n(e){return r(this,n),t.call(this,e)}return o(n,[{key:"search",value:function(e){for(var t,n=0,r=[],i=this.pattern.length;(t=e.indexOf(this.pattern,n))>-1;)n=t+i,r.push([t,n-1]);var o=!!r.length;return{isMatch:o,score:o?0:1,indices:r}}}],[{key:"type",get:function(){return"include"}},{key:"multiRegex",get:function(){return/^'"(.*)"$/}},{key:"singleRegex",get:function(){return/^'(.*)$/}}]),n}(K),Y=[B,X,U,V,H,G,J,Q],Z=Y.length,ee=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,te=new Set([Q.type,X.type]),ne=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.isCaseSensitive,o=void 0===i?$.isCaseSensitive:i,c=n.includeMatches,a=void 0===c?$.includeMatches:c,s=n.minMatchCharLength,u=void 0===s?$.minMatchCharLength:s,h=n.ignoreLocation,l=void 0===h?$.ignoreLocation:h,f=n.findAllMatches,d=void 0===f?$.findAllMatches:f,v=n.location,g=void 0===v?$.location:v,y=n.threshold,p=void 0===y?$.threshold:y,m=n.distance,k=void 0===m?$.distance:m;r(this,e),this.query=null,this.options={isCaseSensitive:o,includeMatches:a,minMatchCharLength:u,findAllMatches:d,ignoreLocation:l,location:g,threshold:p,distance:k},this.pattern=o?t:t.toLowerCase(),this.query=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.split("|").map((function(e){for(var n=e.trim().split(ee).filter((function(e){return e&&!!e.trim()})),r=[],i=0,o=n.length;i<o;i+=1){for(var c=n[i],a=!1,s=-1;!a&&++s<Z;){var u=Y[s],h=u.isMultiMatch(c);h&&(r.push(new u(h,t)),a=!0)}if(!a)for(s=-1;++s<Z;){var l=Y[s],f=l.isSingleMatch(c);if(f){r.push(new l(f,t));break}}}return r}))}(this.pattern,this.options)}return o(e,[{key:"searchIn",value:function(e){var t=this.query;if(!t)return{isMatch:!1,score:1};var n=this.options,r=n.includeMatches;e=n.isCaseSensitive?e:e.toLowerCase();for(var i=0,o=[],c=0,a=0,s=t.length;a<s;a+=1){var u=t[a];o.length=0,i=0;for(var h=0,l=u.length;h<l;h+=1){var d=u[h],v=d.search(e),g=v.isMatch,y=v.indices,p=v.score;if(!g){c=0,i=0,o.length=0;break}if(i+=1,c+=p,r){var m=d.constructor.type;te.has(m)?o=[].concat(f(o),f(y)):o.push(y)}}if(i){var k={isMatch:!0,score:c/i};return r&&(k.indices=o),k}}return{isMatch:!1,score:1}}}],[{key:"condition",value:function(e,t){return t.useExtendedSearch}}]),e}(),re=[];function ie(e,t){for(var n=0,r=re.length;n<r;n+=1){var i=re[n];if(i.condition(e,t))return new i(e,t)}return new D(e,t)}var oe="$and",ce="$or",ae="$path",se="$val",ue=function(e){return!(!e[oe]&&!e[ce])},he=function(e){return c({},oe,Object.keys(e).map((function(t){return c({},t,e[t])})))};function le(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).auto,r=void 0===n||n;return ue(e)||(e=he(e)),function e(n){var i=Object.keys(n),o=function(e){return!!e[ae]}(n);if(!o&&i.length>1&&!ue(n))return e(he(n));if(function(e){return!g(e)&&b(e)&&!ue(e)}(n)){var c=o?n[ae]:i[0],a=o?n[se]:n[c];if(!m(a))throw new Error(function(e){return"Invalid value for key ".concat(e)}(c));var s={keyId:C(c),pattern:a};return r&&(s.searcher=ie(a,t)),s}var u={children:[],operator:i[0]};return i.forEach((function(t){var r=n[t];g(r)&&r.forEach((function(t){u.children.push(e(t))}))})),u}(e)}function fe(e,t){var n=e.matches;t.matches=[],x(n)&&n.forEach((function(e){if(x(e.indices)&&e.indices.length){var n={indices:e.indices,value:e.value};e.key&&(n.key=e.key.src),e.idx>-1&&(n.refIndex=e.idx),t.matches.push(n)}}))}function de(e,t){t.score=e.score}var ve=function(){function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0;r(this,e),this.options=t(t({},$),i),this.options.useExtendedSearch,this._keyStore=new j(this.options.keys),this.setCollection(n,o)}return o(e,[{key:"setCollection",value:function(e,t){if(this._docs=e,t&&!(t instanceof R))throw new Error("Incorrect 'index' type");this._myIndex=t||P(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}},{key:"add",value:function(e){x(e)&&(this._docs.push(e),this._myIndex.add(e))}},{key:"remove",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return!1},t=[],n=0,r=this._docs.length;n<r;n+=1){var i=this._docs[n];e(i,n)&&(this.removeAt(n),n-=1,r-=1,t.push(i))}return t}},{key:"removeAt",value:function(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}},{key:"getIndex",value:function(){return this._myIndex}},{key:"search",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).limit,n=void 0===t?-1:t,r=this.options,i=r.includeMatches,o=r.includeScore,c=r.shouldSort,a=r.sortFn,s=r.ignoreFieldNorm,u=m(e)?m(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return function(e,t){var n=t.ignoreFieldNorm,r=void 0===n?$.ignoreFieldNorm:n;e.forEach((function(e){var t=1;e.matches.forEach((function(e){var n=e.key,i=e.norm,o=e.score,c=n?n.weight:null;t*=Math.pow(0===o&&c?Number.EPSILON:o,(c||1)*(r?1:i))})),e.score=t}))}(u,{ignoreFieldNorm:s}),c&&u.sort(a),k(n)&&n>-1&&(u=u.slice(0,n)),function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.includeMatches,i=void 0===r?$.includeMatches:r,o=n.includeScore,c=void 0===o?$.includeScore:o,a=[];return i&&a.push(fe),c&&a.push(de),e.map((function(e){var n=e.idx,r={item:t[n],refIndex:n};return a.length&&a.forEach((function(t){t(e,r)})),r}))}(u,this._docs,{includeMatches:i,includeScore:o})}},{key:"_searchStringList",value:function(e){var t=ie(e,this.options),n=this._myIndex.records,r=[];return n.forEach((function(e){var n=e.v,i=e.i,o=e.n;if(x(n)){var c=t.searchIn(n),a=c.isMatch,s=c.score,u=c.indices;a&&r.push({item:n,idx:i,matches:[{score:s,value:n,norm:o,indices:u}]})}})),r}},{key:"_searchLogical",value:function(e){var t=this,n=le(e,this.options),r=function e(n,r,i){if(!n.children){var o=n.keyId,c=n.searcher,a=t._findMatches({key:t._keyStore.get(o),value:t._myIndex.getValueForItemAtKeyId(r,o),searcher:c});return a&&a.length?[{idx:i,item:r,matches:a}]:[]}for(var s=[],u=0,h=n.children.length;u<h;u+=1){var l=e(n.children[u],r,i);if(l.length)s.push.apply(s,f(l));else if(n.operator===oe)return[]}return s},i=this._myIndex.records,o={},c=[];return i.forEach((function(e){var t=e.$,i=e.i;if(x(t)){var a=r(n,t,i);a.length&&(o[i]||(o[i]={idx:i,item:t,matches:[]},c.push(o[i])),a.forEach((function(e){var t,n=e.matches;(t=o[i].matches).push.apply(t,f(n))})))}})),c}},{key:"_searchObjectList",value:function(e){var t=this,n=ie(e,this.options),r=this._myIndex,i=r.keys,o=r.records,c=[];return o.forEach((function(e){var r=e.$,o=e.i;if(x(r)){var a=[];i.forEach((function(e,i){a.push.apply(a,f(t._findMatches({key:e,value:r[i],searcher:n})))})),a.length&&c.push({idx:o,item:r,matches:a})}})),c}},{key:"_findMatches",value:function(e){var t=e.key,n=e.value,r=e.searcher;if(!x(n))return[];var i=[];if(g(n))n.forEach((function(e){var n=e.v,o=e.i,c=e.n;if(x(n)){var a=r.searchIn(n),s=a.isMatch,u=a.score,h=a.indices;s&&i.push({score:u,key:t,value:n,idx:o,norm:c,indices:h})}}));else{var o=n.v,c=n.n,a=r.searchIn(o),s=a.isMatch,u=a.score,h=a.indices;s&&i.push({score:u,key:t,value:o,norm:c,indices:h})}return i}}]),e}();return ve.version="7.0.0",ve.createIndex=P,ve.parseIndex=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getFn,r=void 0===n?$.getFn:n,i=t.fieldNormWeight,o=void 0===i?$.fieldNormWeight:i,c=e.keys,a=e.records,s=new R({getFn:r,fieldNormWeight:o});return s.setKeys(c),s.setIndexRecords(a),s},ve.config=$,function(){re.push.apply(re,arguments)}(ne),ve},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Fuse=t(); \ No newline at end of file
diff --git a/static/js/mermaid.esm.min.mjs b/static/js/mermaid.esm.min.mjs
deleted file mode 100644
index 17d866a..0000000
--- a/static/js/mermaid.esm.min.mjs
+++ /dev/null
@@ -1,14 +0,0 @@
-import{a as ht}from"./chunks/mermaid.esm.min/chunk-6CAUGOKZ.mjs";import{a as Yt}from"./chunks/mermaid.esm.min/chunk-3YFHLAX3.mjs";import{a as Ut,b as qt}from"./chunks/mermaid.esm.min/chunk-7LIB5WBN.mjs";import{a as Bt}from"./chunks/mermaid.esm.min/chunk-54VS5GG6.mjs";import"./chunks/mermaid.esm.min/chunk-ZUCAP7FR.mjs";import"./chunks/mermaid.esm.min/chunk-E7A2AWYO.mjs";import"./chunks/mermaid.esm.min/chunk-S67DUUA5.mjs";import"./chunks/mermaid.esm.min/chunk-LM6QDVU5.mjs";import{b as St}from"./chunks/mermaid.esm.min/chunk-D4BOYBYT.mjs";import{a as Mt}from"./chunks/mermaid.esm.min/chunk-AFC6EC46.mjs";import{b as Vt,j as yt,l as $t,m as z,n as Nt,o as Ht}from"./chunks/mermaid.esm.min/chunk-UENA7NWE.mjs";import"./chunks/mermaid.esm.min/chunk-TI4EEUUG.mjs";import{A as _,B as It,C as Y,D as Ft,G as _t,M as Gt,O as zt,aa as G,b as l,ba as X,c as lt,d as At,f as Tt,g as gt,ga as k,h as Z,i as J,j as Ct,k as Rt,r as tt,u as ut,v as kt,w as Ot,x as Pt,y as Dt,z as jt}from"./chunks/mermaid.esm.min/chunk-OR2G2HG5.mjs";import{d as xt}from"./chunks/mermaid.esm.min/chunk-YPUTD6PB.mjs";import"./chunks/mermaid.esm.min/chunk-6BY5RJGC.mjs";import{a as e}from"./chunks/mermaid.esm.min/chunk-GTKDMUJJ.mjs";var Xt="c4",Oe=e(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),Pe=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/c4Diagram-ET6I6IV7.mjs");return{id:Xt,diagram:t}},"loader"),je={id:Xt,detector:Oe,loader:Pe},Wt=je;var Kt="flowchart",Ie=e((t,r)=>r?.flowchart?.defaultRenderer==="dagre-wrapper"||r?.flowchart?.defaultRenderer==="elk"?!1:/^\s*graph/.test(t),"detector"),Fe=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/flowDiagram-7QVFXBRT.mjs");return{id:Kt,diagram:t}},"loader"),_e={id:Kt,detector:Ie,loader:Fe},Qt=_e;var Zt="flowchart-v2",Ge=e((t,r)=>r?.flowchart?.defaultRenderer==="dagre-d3"?!1:(r?.flowchart?.defaultRenderer==="elk"&&(r.layout="elk"),/^\s*graph/.test(t)&&r?.flowchart?.defaultRenderer==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)),"detector"),ze=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/flowDiagram-7QVFXBRT.mjs");return{id:Zt,diagram:t}},"loader"),Ve={id:Zt,detector:Ge,loader:ze},Jt=Ve;var tr="er",$e=e(t=>/^\s*erDiagram/.test(t),"detector"),Ne=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/erDiagram-YH7IYH2C.mjs");return{id:tr,diagram:t}},"loader"),He={id:tr,detector:$e,loader:Ne},rr=He;var er="gitGraph",Ue=e(t=>/^\s*gitGraph/.test(t),"detector"),qe=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/gitGraphDiagram-H7KF5RUN.mjs");return{id:er,diagram:t}},"loader"),Be={id:er,detector:Ue,loader:qe},ar=Be;var ir="gantt",Ye=e(t=>/^\s*gantt/.test(t),"detector"),Xe=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/ganttDiagram-7KUJEIIK.mjs");return{id:ir,diagram:t}},"loader"),We={id:ir,detector:Ye,loader:Xe},or=We;var nr="info",Ke=e(t=>/^\s*info/.test(t),"detector"),Qe=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/infoDiagram-FIZOUH6F.mjs");return{id:nr,diagram:t}},"loader"),sr={id:nr,detector:Ke,loader:Qe};var cr="pie",Ze=e(t=>/^\s*pie/.test(t),"detector"),Je=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/pieDiagram-AYPHHONI.mjs");return{id:cr,diagram:t}},"loader"),mr={id:cr,detector:Ze,loader:Je};var pr="quadrantChart",ta=e(t=>/^\s*quadrantChart/.test(t),"detector"),ra=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/quadrantDiagram-QXTGSWY2.mjs");return{id:pr,diagram:t}},"loader"),ea={id:pr,detector:ta,loader:ra},dr=ea;var fr="xychart",aa=e(t=>/^\s*xychart-beta/.test(t),"detector"),ia=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/xychartDiagram-A2DIST7P.mjs");return{id:fr,diagram:t}},"loader"),oa={id:fr,detector:aa,loader:ia},lr=oa;var gr="requirement",na=e(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),sa=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/requirementDiagram-5YXTYXBB.mjs");return{id:gr,diagram:t}},"loader"),ca={id:gr,detector:na,loader:sa},ur=ca;var Dr="sequence",ma=e(t=>/^\s*sequenceDiagram/.test(t),"detector"),pa=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/sequenceDiagram-EUUTCHHZ.mjs");return{id:Dr,diagram:t}},"loader"),da={id:Dr,detector:ma,loader:pa},yr=da;var xr="class",fa=e((t,r)=>r?.class?.defaultRenderer==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t),"detector"),la=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/classDiagram-QKCJ6K63.mjs");return{id:xr,diagram:t}},"loader"),ga={id:xr,detector:fa,loader:la},hr=ga;var Er="classDiagram",ua=e((t,r)=>/^\s*classDiagram/.test(t)&&r?.class?.defaultRenderer==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t),"detector"),Da=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/classDiagram-v2-2JHJIACG.mjs");return{id:Er,diagram:t}},"loader"),ya={id:Er,detector:ua,loader:Da},wr=ya;var br="state",xa=e((t,r)=>r?.state?.defaultRenderer==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t),"detector"),ha=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/stateDiagram-U67EPTRE.mjs");return{id:br,diagram:t}},"loader"),Ea={id:br,detector:xa,loader:ha},Lr=Ea;var vr="stateDiagram",wa=e((t,r)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&r?.state?.defaultRenderer==="dagre-wrapper"),"detector"),ba=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/stateDiagram-v2-HMOQ2HEA.mjs");return{id:vr,diagram:t}},"loader"),La={id:vr,detector:wa,loader:ba},Sr=La;var Mr="journey",va=e(t=>/^\s*journey/.test(t),"detector"),Sa=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/journeyDiagram-CDK7QRCM.mjs");return{id:Mr,diagram:t}},"loader"),Ma={id:Mr,detector:va,loader:Sa},Ar=Ma;var Aa=e((t,r,a)=>{l.debug(`rendering svg for syntax error
-`);let i=Yt(r),o=i.append("g");i.attr("viewBox","0 0 2412 512"),Gt(i,100,512,!0),o.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),o.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),o.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),o.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),o.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),o.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),o.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),o.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${a}`)},"draw"),Et={draw:Aa},Tr=Et;var Ta={db:{},renderer:Et,parser:{parse:e(()=>{},"parse")}},Cr=Ta;var Rr="flowchart-elk",Ca=e((t,r={})=>/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&r?.flowchart?.defaultRenderer==="elk"?(r.layout="elk",!0):!1,"detector"),Ra=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/flowDiagram-7QVFXBRT.mjs");return{id:Rr,diagram:t}},"loader"),ka={id:Rr,detector:Ca,loader:Ra},kr=ka;var Or="timeline",Oa=e(t=>/^\s*timeline/.test(t),"detector"),Pa=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/timeline-definition-2YBW2SKD.mjs");return{id:Or,diagram:t}},"loader"),ja={id:Or,detector:Oa,loader:Pa},Pr=ja;var jr="mindmap",Ia=e(t=>/^\s*mindmap/.test(t),"detector"),Fa=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/mindmap-definition-55KDPWGP.mjs");return{id:jr,diagram:t}},"loader"),_a={id:jr,detector:Ia,loader:Fa},Ir=_a;var Fr="kanban",Ga=e(t=>/^\s*kanban/.test(t),"detector"),za=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/kanban-definition-NEOEHSGR.mjs");return{id:Fr,diagram:t}},"loader"),Va={id:Fr,detector:Ga,loader:za},_r=Va;var Gr="sankey",$a=e(t=>/^\s*sankey-beta/.test(t),"detector"),Na=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/sankeyDiagram-T6MWQN27.mjs");return{id:Gr,diagram:t}},"loader"),Ha={id:Gr,detector:$a,loader:Na},zr=Ha;var Vr="packet",Ua=e(t=>/^\s*packet-beta/.test(t),"detector"),qa=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/diagram-D46ISNHH.mjs");return{id:Vr,diagram:t}},"loader"),$r={id:Vr,detector:Ua,loader:qa};var Nr="block",Ba=e(t=>/^\s*block-beta/.test(t),"detector"),Ya=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/blockDiagram-56QMO3LT.mjs");return{id:Nr,diagram:t}},"loader"),Xa={id:Nr,detector:Ba,loader:Ya},Hr=Xa;var Ur="architecture",Wa=e(t=>/^\s*architecture/.test(t),"detector"),Ka=e(async()=>{let{diagram:t}=await import("./chunks/mermaid.esm.min/architectureDiagram-MJF3Q7TB.mjs");return{id:Ur,diagram:t}},"loader"),Qa={id:Ur,detector:Wa,loader:Ka},qr=Qa;var Br=!1,$=e(()=>{Br||(Br=!0,G("error",Cr,t=>t.toLowerCase().trim()==="error"),G("---",{db:{clear:e(()=>{},"clear")},styles:{},renderer:{draw:e(()=>{},"draw")},parser:{parse:e(()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:e(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),J(Wt,_r,wr,hr,rr,or,sr,mr,ur,yr,kr,Jt,Qt,Ir,Pr,ar,Sr,Lr,Ar,dr,zr,$r,lr,Hr,qr))},"addDiagrams");var Yr=e(async()=>{l.debug("Loading registered diagrams");let r=(await Promise.allSettled(Object.entries(gt).map(async([a,{detector:i,loader:o}])=>{if(o)try{X(a)}catch{try{let{diagram:n,id:m}=await o();G(m,n,i)}catch(n){throw l.error(`Failed to load external diagram with key ${a}. Removing from detectors.`),delete gt[a],n}}}))).filter(a=>a.status==="rejected");if(r.length>0){l.error(`Failed to load ${r.length} external diagrams`);for(let a of r)l.error(a);throw new Error(`Failed to load ${r.length} external diagrams`)}},"loadRegisteredDiagrams");var rt="comm",et="rule",at="decl";var Xr="@import";var Wr="@keyframes";var Kr="@layer";var wt=Math.abs,W=String.fromCharCode;function it(t){return t.trim()}e(it,"trim");function K(t,r,a){return t.replace(r,a)}e(K,"replace");function Qr(t,r,a){return t.indexOf(r,a)}e(Qr,"indexof");function V(t,r){return t.charCodeAt(r)|0}e(V,"charat");function j(t,r,a){return t.slice(r,a)}e(j,"substr");function h(t){return t.length}e(h,"strlen");function Zr(t){return t.length}e(Zr,"sizeof");function N(t,r){return r.push(t),t}e(N,"append");var ot=1,H=1,Jr=0,w=0,D=0,q="";function nt(t,r,a,i,o,n,m,s){return{value:t,root:r,parent:a,type:i,props:o,children:n,line:ot,column:H,length:m,return:"",siblings:s}}e(nt,"node");function te(){return D}e(te,"char");function re(){return D=w>0?V(q,--w):0,H--,D===10&&(H=1,ot--),D}e(re,"prev");function b(){return D=w<Jr?V(q,w++):0,H++,D===10&&(H=1,ot++),D}e(b,"next");function O(){return V(q,w)}e(O,"peek");function Q(){return w}e(Q,"caret");function st(t,r){return j(q,t,r)}e(st,"slice");function U(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}e(U,"token");function ee(t){return ot=H=1,Jr=h(q=t),w=0,[]}e(ee,"alloc");function ae(t){return q="",t}e(ae,"dealloc");function ct(t){return it(st(w-1,bt(t===91?t+2:t===40?t+1:t)))}e(ct,"delimit");function ie(t){for(;(D=O())&&D<33;)b();return U(t)>2||U(D)>3?"":" "}e(ie,"whitespace");function oe(t,r){for(;--r&&b()&&!(D<48||D>102||D>57&&D<65||D>70&&D<97););return st(t,Q()+(r<6&&O()==32&&b()==32))}e(oe,"escaping");function bt(t){for(;b();)switch(D){case t:return w;case 34:case 39:t!==34&&t!==39&&bt(D);break;case 40:t===41&&bt(t);break;case 92:b();break}return w}e(bt,"delimiter");function ne(t,r){for(;b()&&t+D!==57;)if(t+D===84&&O()===47)break;return"/*"+st(r,w-1)+"*"+W(t===47?t:b())}e(ne,"commenter");function se(t){for(;!U(O());)b();return st(t,w)}e(se,"identifier");function pe(t){return ae(mt("",null,null,null,[""],t=ee(t),0,[0],t))}e(pe,"compile");function mt(t,r,a,i,o,n,m,s,c){for(var g=0,y=0,p=m,x=0,A=0,L=0,f=1,C=1,v=1,u=0,S="",R=o,T=n,E=i,d=S;C;)switch(L=u,u=b()){case 40:if(L!=108&&V(d,p-1)==58){Qr(d+=K(ct(u),"&","&\f"),"&\f",wt(g?s[g-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:d+=ct(u);break;case 9:case 10:case 13:case 32:d+=ie(L);break;case 92:d+=oe(Q()-1,7);continue;case 47:switch(O()){case 42:case 47:N(Za(ne(b(),Q()),r,a,c),c),(U(L||1)==5||U(O()||1)==5)&&h(d)&&j(d,-1,void 0)!==" "&&(d+=" ");break;default:d+="/"}break;case 123*f:s[g++]=h(d)*v;case 125*f:case 59:case 0:switch(u){case 0:case 125:C=0;case 59+y:v==-1&&(d=K(d,/\f/g,"")),A>0&&(h(d)-p||f===0&&L===47)&&N(A>32?me(d+";",i,a,p-1,c):me(K(d," ","")+";",i,a,p-2,c),c);break;case 59:d+=";";default:if(N(E=ce(d,r,a,g,y,o,s,S,R=[],T=[],p,n),n),u===123)if(y===0)mt(d,r,E,E,R,n,p,s,T);else switch(x===99&&V(d,3)===110?100:x){case 100:case 108:case 109:case 115:mt(t,E,E,i&&N(ce(t,E,E,0,0,o,s,S,o,R=[],p,T),T),o,T,p,s,i?R:T);break;default:mt(d,E,E,E,[""],T,0,s,T)}}g=y=A=0,f=v=1,S=d="",p=m;break;case 58:p=1+h(d),A=L;default:if(f<1){if(u==123)--f;else if(u==125&&f++==0&&re()==125)continue}switch(d+=W(u),u*f){case 38:v=y>0?1:(d+="\f",-1);break;case 44:s[g++]=(h(d)-1)*v,v=1;break;case 64:O()===45&&(d+=ct(b())),x=O(),y=p=h(S=d+=se(Q())),u++;break;case 45:L===45&&h(d)==2&&(f=0)}}return n}e(mt,"parse");function ce(t,r,a,i,o,n,m,s,c,g,y,p){for(var x=o-1,A=o===0?n:[""],L=Zr(A),f=0,C=0,v=0;f<i;++f)for(var u=0,S=j(t,x+1,x=wt(C=m[f])),R=t;u<L;++u)(R=it(C>0?A[u]+" "+S:K(S,/&\f/g,A[u])))&&(c[v++]=R);return nt(t,r,a,o===0?et:s,c,g,y,p)}e(ce,"ruleset");function Za(t,r,a,i){return nt(t,r,a,rt,W(te()),j(t,2,-2),0,i)}e(Za,"comment");function me(t,r,a,i,o){return nt(t,r,a,at,j(t,0,i),j(t,i+1,-1),i,o)}e(me,"declaration");function pt(t,r){for(var a="",i=0;i<t.length;i++)a+=r(t[i],i,t,r)||"";return a}e(pt,"serialize");function de(t,r,a,i){switch(t.type){case Kr:if(t.children.length)break;case Xr:case at:return t.return=t.return||t.value;case rt:return"";case Wr:return t.return=t.value+"{"+pt(t.children,i)+"}";case et:if(!h(t.value=t.props.join(",")))return""}return h(a=pt(t.children,i))?t.return=t.value+"{"+a+"}":""}e(de,"stringify");var Ja="graphics-document document";function fe(t,r){t.attr("role",Ja),r!==""&&t.attr("aria-roledescription",r)}e(fe,"setA11yDiagramInfo");function le(t,r,a,i){if(t.insert!==void 0){if(a){let o=`chart-desc-${i}`;t.attr("aria-describedby",o),t.insert("desc",":first-child").attr("id",o).text(a)}if(r){let o=`chart-title-${i}`;t.attr("aria-labelledby",o),t.insert("title",":first-child").attr("id",o).text(r)}}}e(le,"addSVGa11yTitleDescription");var B=class t{constructor(r,a,i,o,n){this.type=r;this.text=a;this.db=i;this.parser=o;this.renderer=n}static{e(this,"Diagram")}static async fromText(r,a={}){let i=_(),o=Z(r,i);r=Nt(r)+`
-`;try{X(o)}catch{let g=Ct(o);if(!g)throw new Tt(`Diagram ${o} not found.`);let{id:y,diagram:p}=await g();G(y,p)}let{db:n,parser:m,renderer:s,init:c}=X(o);return m.parser&&(m.parser.yy=n),n.clear?.(),c?.(i),a.title&&n.setDiagramTitle?.(a.title),await m.parse(r),new t(o,r,n,m,s)}async render(r,a){await this.renderer.draw(this.text,r,a,this)}getParser(){return this.parser}getType(){return this.type}};var ge=[];var ue=e(()=>{ge.forEach(t=>{t()}),ge=[]},"attachFunctions");var De=e(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function ye(t){let r=t.match(At);if(!r)return{text:t,metadata:{}};let a=qt(r[1],{schema:Ut})??{};a=typeof a=="object"&&!Array.isArray(a)?a:{};let i={};return a.displayMode&&(i.displayMode=a.displayMode.toString()),a.title&&(i.title=a.title.toString()),a.config&&(i.config=a.config),{text:t.slice(r[0].length),metadata:i}}e(ye,"extractFrontMatter");var ri=e(t=>t.replace(/\r\n?/g,`
-`).replace(/<(\w+)([^>]*)>/g,(r,a,i)=>"<"+a+i.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),ei=e(t=>{let{text:r,metadata:a}=ye(t),{displayMode:i,title:o,config:n={}}=a;return i&&(n.gantt||(n.gantt={}),n.gantt.displayMode=i),{title:o,config:n,text:r}},"processFrontmatter"),ai=e(t=>{let r=z.detectInit(t)??{},a=z.detectDirective(t,"wrap");return Array.isArray(a)?r.wrap=a.some(({type:i})=>i==="wrap"):a?.type==="wrap"&&(r.wrap=!0),{text:Vt(t),directive:r}},"processDirectives");function Lt(t){let r=ri(t),a=ei(r),i=ai(a.text),o=$t(a.config,i.directive);return t=De(i.text),{code:t,title:a.title,config:o}}e(Lt,"preprocessDiagram");function xe(t){let r=new TextEncoder().encode(t),a=Array.from(r,i=>String.fromCodePoint(i)).join("");return btoa(a)}e(xe,"toBase64");var ii=5e4,oi="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",ni="sandbox",si="loose",ci="http://www.w3.org/2000/svg",mi="http://www.w3.org/1999/xlink",pi="http://www.w3.org/1999/xhtml",di="100%",fi="100%",li="border:0;margin:0;",gi="margin:0",ui="allow-top-navigation-by-user-activation allow-popups",Di='The "iframe" tag is not supported by your browser.',yi=["foreignobject"],xi=["dominant-baseline"];function be(t){let r=Lt(t);return Y(),It(r.config??{}),r}e(be,"processAndSetConfigs");async function hi(t,r){$();try{let{code:a,config:i}=be(t);return{diagramType:(await Le(a)).type,config:i}}catch(a){if(r?.suppressErrors)return!1;throw a}}e(hi,"parse");var he=e((t,r,a=[])=>`
-.${t} ${r} { ${a.join(" !important; ")} !important; }`,"cssImportantStyles"),Ei=e((t,r=new Map)=>{let a="";if(t.themeCSS!==void 0&&(a+=`
-${t.themeCSS}`),t.fontFamily!==void 0&&(a+=`
-:root { --mermaid-font-family: ${t.fontFamily}}`),t.altFontFamily!==void 0&&(a+=`
-:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),r instanceof Map){let m=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];r.forEach(s=>{xt(s.styles)||m.forEach(c=>{a+=he(s.id,c,s.styles)}),xt(s.textStyles)||(a+=he(s.id,"tspan",(s?.textStyles||[]).map(c=>c.replace("color","fill"))))})}return a},"createCssStyles"),wi=e((t,r,a,i)=>{let o=Ei(t,a),n=zt(r,o,t.themeVariables);return pt(pe(`${i}{${n}}`),de)},"createUserStyles"),bi=e((t="",r,a)=>{let i=t;return!a&&!r&&(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=Ht(i),i=i.replace(/<br>/g,"<br/>"),i},"cleanUpSvgCode"),Li=e((t="",r)=>{let a=r?.viewBox?.baseVal?.height?r.viewBox.baseVal.height+"px":fi,i=xe(`<body style="${gi}">${t}</body>`);return`<iframe style="width:${di};height:${a};${li}" src="data:text/html;charset=UTF-8;base64,${i}" sandbox="${ui}">
- ${Di}
-</iframe>`},"putIntoIFrame"),Ee=e((t,r,a,i,o)=>{let n=t.append("div");n.attr("id",a),i&&n.attr("style",i);let m=n.append("svg").attr("id",r).attr("width","100%").attr("xmlns",ci);return o&&m.attr("xmlns:xlink",o),m.append("g"),t},"appendDivSvgG");function we(t,r){return t.append("iframe").attr("id",r).attr("style","width: 100%; height: 100%;").attr("sandbox","")}e(we,"sandboxedIframe");var vi=e((t,r,a,i)=>{t.getElementById(r)?.remove(),t.getElementById(a)?.remove(),t.getElementById(i)?.remove()},"removeExistingElements"),Si=e(async function(t,r,a){$();let i=be(r);r=i.code;let o=_();l.debug(o),r.length>(o?.maxTextSize??ii)&&(r=oi);let n="#"+t,m="i"+t,s="#"+m,c="d"+t,g="#"+c,y=e(()=>{let ft=k(x?s:g).node();ft&&"remove"in ft&&ft.remove()},"removeTempElements"),p=k("body"),x=o.securityLevel===ni,A=o.securityLevel===si,L=o.fontFamily;if(a!==void 0){if(a&&(a.innerHTML=""),x){let M=we(k(a),m);p=k(M.nodes()[0].contentDocument.body),p.node().style.margin=0}else p=k(a);Ee(p,t,c,`font-family: ${L}`,mi)}else{if(vi(document,t,c,m),x){let M=we(k("body"),m);p=k(M.nodes()[0].contentDocument.body),p.node().style.margin=0}else p=k("body");Ee(p,t,c)}let f,C;try{f=await B.fromText(r,{title:i.title})}catch(M){if(o.suppressErrorRendering)throw y(),M;f=await B.fromText("error"),C=M}let v=p.select(g).node(),u=f.type,S=v.firstChild,R=S.firstChild,T=f.renderer.getClasses?.(r,f),E=wi(o,u,T,n),d=document.createElement("style");d.innerHTML=E,S.insertBefore(d,R);try{await f.renderer.draw(r,t,ht,f)}catch(M){throw o.suppressErrorRendering?y():Tr.draw(r,t,ht),M}let Ce=p.select(`${g} svg`),Re=f.db.getAccTitle?.(),ke=f.db.getAccDescription?.();Ai(u,Ce,Re,ke),p.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",pi);let F=p.select(g).node().innerHTML;if(l.debug("config.arrowMarkerAbsolute",o.arrowMarkerAbsolute),F=bi(F,x,_t(o.arrowMarkerAbsolute)),x){let M=p.select(g+" svg").node();F=Li(F,M)}else A||(F=Ft.sanitize(F,{ADD_TAGS:yi,ADD_ATTR:xi,HTML_INTEGRATION_POINTS:{foreignobject:!0}}));if(ue(),C)throw C;return y(),{diagramType:u,svg:F,bindFunctions:f.db.bindFunctions}},"render");function Mi(t={}){let r=Rt({},t);r?.fontFamily&&!r.themeVariables?.fontFamily&&(r.themeVariables||(r.themeVariables={}),r.themeVariables.fontFamily=r.fontFamily),Ot(r),r?.theme&&r.theme in tt?r.themeVariables=tt[r.theme].getThemeVariables(r.themeVariables):r&&(r.themeVariables=tt.default.getThemeVariables(r.themeVariables));let a=typeof r=="object"?kt(r):Dt();lt(a.logLevel),$()}e(Mi,"initialize");var Le=e((t,r={})=>{let{code:a}=Lt(t);return B.fromText(a,r)},"getDiagramFromText");function Ai(t,r,a,i){fe(r,t),le(r,a,i,r.attr("id"))}e(Ai,"addA11yInfo");var I=Object.freeze({render:Si,parse:hi,getDiagramFromText:Le,initialize:Mi,getConfig:_,setConfig:jt,getSiteConfig:Dt,updateSiteConfig:Pt,reset:e(()=>{Y()},"reset"),globalReset:e(()=>{Y(ut)},"globalReset"),defaultConfig:ut});lt(_().logLevel);Y(_());var Ti=e((t,r,a)=>{l.warn(t),yt(t)?(a&&a(t.str,t.hash),r.push({...t,message:t.str,error:t})):(a&&a(t),t instanceof Error&&r.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),ve=e(async function(t={querySelector:".mermaid"}){try{await Ci(t)}catch(r){if(yt(r)&&l.error(r.str),P.parseError&&P.parseError(r),!t.suppressErrors)throw l.error("Use the suppressErrors option to suppress these errors"),r}},"run"),Ci=e(async function({postRenderCallback:t,querySelector:r,nodes:a}={querySelector:".mermaid"}){let i=I.getConfig();l.debug(`${t?"":"No "}Callback function found`);let o;if(a)o=a;else if(r)o=document.querySelectorAll(r);else throw new Error("Nodes and querySelector are both undefined");l.debug(`Found ${o.length} diagrams`),i?.startOnLoad!==void 0&&(l.debug("Start On Load: "+i?.startOnLoad),I.updateSiteConfig({startOnLoad:i?.startOnLoad}));let n=new z.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed),m,s=[];for(let c of Array.from(o)){l.info("Rendering diagram: "+c.id);if(c.getAttribute("data-processed"))continue;c.setAttribute("data-processed","true");let g=`mermaid-${n.next()}`;m=c.innerHTML,m=Mt(z.entityDecode(m)).trim().replace(/<br\s*\/?>/gi,"<br/>");let y=z.detectInit(m);y&&l.debug("Detected early reinit: ",y);try{let{svg:p,bindFunctions:x}=await Te(g,m,c);c.innerHTML=p,t&&await t(g),x&&x(c)}catch(p){Ti(p,s,P.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),Se=e(function(t){I.initialize(t)},"initialize"),Ri=e(async function(t,r,a){l.warn("mermaid.init is deprecated. Please use run instead."),t&&Se(t);let i={postRenderCallback:a,querySelector:".mermaid"};typeof r=="string"?i.querySelector=r:r&&(r instanceof HTMLElement?i.nodes=[r]:i.nodes=r),await ve(i)},"init"),ki=e(async(t,{lazyLoad:r=!0}={})=>{$(),J(...t),r===!1&&await Yr()},"registerExternalDiagrams"),Me=e(function(){if(P.startOnLoad){let{startOnLoad:t}=I.getConfig();t&&P.run().catch(r=>l.error("Mermaid failed to initialize",r))}},"contentLoaded");if(typeof document<"u"){window.addEventListener("load",Me,!1)}var Oi=e(function(t){P.parseError=t},"setParseErrorHandler"),dt=[],vt=!1,Ae=e(async()=>{if(!vt){for(vt=!0;dt.length>0;){let t=dt.shift();if(t)try{await t()}catch(r){l.error("Error executing queue",r)}}vt=!1}},"executeQueue"),Pi=e(async(t,r)=>new Promise((a,i)=>{let o=e(()=>new Promise((n,m)=>{I.parse(t,r).then(s=>{n(s),a(s)},s=>{l.error("Error parsing",s),P.parseError?.(s),m(s),i(s)})}),"performCall");dt.push(o),Ae().catch(i)}),"parse"),Te=e((t,r,a)=>new Promise((i,o)=>{let n=e(()=>new Promise((m,s)=>{I.render(t,r,a).then(c=>{m(c),i(c)},c=>{l.error("Error parsing",c),P.parseError?.(c),s(c),o(c)})}),"performCall");dt.push(n),Ae().catch(o)}),"render"),P={startOnLoad:!0,mermaidAPI:I,parse:Pi,render:Te,init:Ri,run:ve,registerExternalDiagrams:ki,registerLayoutLoaders:Bt,initialize:Se,parseError:void 0,contentLoaded:Me,setParseErrorHandler:Oi,detectType:Z,registerIconPacks:St},Is=P;export{Is as default};
-/*! Check if previously processed */
-/*!
- * Wait for document loaded before starting the execution
- */
diff --git a/static/js/search.js b/static/js/search.js
deleted file mode 100644
index 62bcbbb..0000000
--- a/static/js/search.js
+++ /dev/null
@@ -1,27 +0,0 @@
-fetch('/index.json')
- .then(response => response.json())
- .then(data => {
- const fuse = new Fuse(data, {
- keys: ['title', 'contents', 'tags'],
- includeScore: true
- });
- document.getElementById('search-input').addEventListener('input', function (e) {
- const results = fuse.search(e.target.value);
- displayResults(results);
- });
- });
-
-function displayResults(results) {
- const searchResults = document.getElementById('search-results');
- searchResults.innerHTML = '';
- if (results.length > 0) {
- searchResults.classList.remove("hidden");
- } else {
- searchResults.classList.add("hidden");
- }
- results.forEach(result => {
- const elem = document.createElement('div');
- elem.innerHTML = `<a class="list-group-item list-group-item-action" href="${result.item.permalink}">${result.item.title}</a></a`;
- searchResults.appendChild(elem);
- });
-}