From 570abd6f3ab5a10c13baa8c1d73da67ca3c7d2a7 Mon Sep 17 00:00:00 2001
From: Manuel Kaufmann
Date: Thu, 6 Jun 2024 13:34:20 +0200
Subject: [PATCH 01/10] Add project: show more `yaml` examples
I used tabs to show different examples of YAML files, as suggested in #184.
It looks great for an initial interactive approach.
I like the tabs over the dropdown because it gives the user a clear idea there
are more than Sphinx and MkDocs tools supported, which is a good marketing
strategy, in my opinion.
It also adds an "Others" option that's more generic and shows how to use
`build.commands` in a generic way: install dependencies, build, copy assets
under `$READTHDOCS_OUTPUT` directory.
---
.../templates/projects/import_config.html | 265 +++++++++++++++---
1 file changed, 225 insertions(+), 40 deletions(-)
diff --git a/readthedocsext/theme/templates/projects/import_config.html b/readthedocsext/theme/templates/projects/import_config.html
index acc68dc9..47e53256 100644
--- a/readthedocsext/theme/templates/projects/import_config.html
+++ b/readthedocsext/theme/templates/projects/import_config.html
@@ -1,9 +1,9 @@
{% extends "projects/import_base.html" %}
{% load i18n %}
-{% block project_add_content_subheader %}
+{% block project_add_subheader %}
{% trans "Add a configuration file to your project" %}
-{% endblock project_add_content_subheader %}
+{% endblock project_add_subheader %}
{% block project_add_content_classes %}ui fourteen wide tablet twelve wide computer column{% endblock %}
@@ -12,43 +12,33 @@
{% blocktrans trimmed %}
A .readthedocs.yaml configuration file is required at the root of your repository in order to build your documentation.
{% endblocktrans %}
-
-
- {% trans "Learn how to add a configuration file to your project." %}
-
-
- {% trans "Example configuration for:" %}
-
-
- Sphinx
-
-
-
Sphinx
-
- {% comment %}
- Adding a second option here will require a bit of JS or FUI:
- https://github.com/readthedocs/ext-theme/issues/184
- {% endcomment %}
-
- {# The `actionable` class here prevents the select from selecting the text #}
-
- {% trans "See more examples" %}
-
-
+ Here you have some simple examples for the most common documentation tools.
+ If you are using a different tool, you can read our documentation to
+ learn how to write your own.
+
+
+
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required
+version: 2
+
+# Set the OS, Python version, and other tools you might need
+build:
+ os: ubuntu-22.04
+ tools:
+ python: "3.12"
+ # You can also specify other tool versions:
+ # nodejs: "19"
+ # rust: "1.64"
+ # golang: "1.19"
+
+ commands:
+ # Install Pelican and its dependencies
+ - pip install "pelican[markdown]"
+ # Build the site and save generated files into Read the Docs directory
+ - pelican --settings docs/pelicanconf.py --output $READTHEDOCS_OUTPUT/html
+
+# Read the Docs configuration file
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
+
+# Required
+version: 2
+
+# Set the OS, Python version, and other tools you might need
+build:
+ os: ubuntu-22.04
+ tools:
+ # Specify the language and version your project requires,
+ # by uncommenting one of the following tools.
+ #
+ # python: "3.12"
+ # ruby: "3.3"
+ # nodejs: "19"
+ # rust: "1.64"
+ # golang: "1.19"
+
+ commands:
+ # Write down your commands here to:
+ #
+ # - Install the dependencies of your project
+ # - Build the documentation
+ # - Save the generated files in $READTHEDOCS_OUTPUT/html
+
+
+
- {# Show the base form #}
+ {# Show the base form #}
{{ block.super }}
{% endblock project_add_content_form %}
From b7c120965e7985c9af501af5815bd05741d8ed1a Mon Sep 17 00:00:00 2001
From: Manuel Kaufmann
Date: Thu, 6 Jun 2024 14:04:00 +0200
Subject: [PATCH 02/10] Add project: highlight yaml examples
I used `highlight.js` to highlight the examples when importing a project.
It requires importing a CSS file that I'm not sure where to put it yet.
https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/dark.min.css
Besides, I need to know where to place the small chunk of JS code that I added
to make this work.
Based on #368
---
package-lock.json | 16 +++++
package.json | 3 +
.../static/readthedocsext/theme/js/site.js | 2 +-
.../static/readthedocsext/theme/js/vendor.js | 60 +++++++++----------
.../templates/projects/import_config.html | 4 +-
src/js/application/index.js | 6 ++
6 files changed, 58 insertions(+), 33 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 81463c9d..a2d739a8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,6 +8,9 @@
"name": "readthedocsext-theme",
"version": "1.0.0",
"license": "ISC",
+ "dependencies": {
+ "highlight.js": "^11.9.0"
+ },
"devDependencies": {
"@babel/core": "^7.23.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
@@ -6812,6 +6815,14 @@
"node": ">= 0.4"
}
},
+ "node_modules/highlight.js": {
+ "version": "11.9.0",
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.9.0.tgz",
+ "integrity": "sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
"node_modules/homedir-polyfill": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
@@ -18051,6 +18062,11 @@
"function-bind": "^1.1.2"
}
},
+ "highlight.js": {
+ "version": "11.9.0",
+ "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.9.0.tgz",
+ "integrity": "sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw=="
+ },
"homedir-polyfill": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",
diff --git a/package.json b/package.json
index 715a8a1b..e91befe0 100644
--- a/package.json
+++ b/package.json
@@ -101,5 +101,8 @@
}
}
]
+ },
+ "dependencies": {
+ "highlight.js": "^11.9.0"
}
}
diff --git a/readthedocsext/theme/static/readthedocsext/theme/js/site.js b/readthedocsext/theme/static/readthedocsext/theme/js/site.js
index 890d14e8..ca00d6b0 100644
--- a/readthedocsext/theme/static/readthedocsext/theme/js/site.js
+++ b/readthedocsext/theme/static/readthedocsext/theme/js/site.js
@@ -1 +1 @@
-(()=>{"use strict";var e,t,n,r,o,i={286:()=>{},8488:e=>{if("undefined"==typeof moment){var t=new Error("Cannot find module 'moment'");throw t.code="MODULE_NOT_FOUND",t}e.exports=moment},8234:(e,t,n)=>{var r=n(9755),o=n(8527),i=n(2152);function a(e){return a="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},a(e)}function u(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"body";console.debug("Attaching application to selector:",e),o.applyBindings(this,r(e)[0])}},{key:"show_modal",value:function(e){return function(t,n){var o="[data-modal-id="+e+"]";console.debug("Showing modal:",o),0===r(o).modal("show").length&&console.debug("Modal not found:",o)}}},{key:"post_child_form",value:function(e,t){var n=t.currentTarget.querySelector(":scope > form");return n&&n.submit(),!1}}],n&&u(t.prototype,n),i&&u(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}();globalThis.jQuery=r;var l=n(2876),f=(n(4238),n(7239),n(8105),n(7030),n(83),n(4567),n(1714),n(5082),n(8225),n(4696),n(5812),n(2208),n(3441),n(4671),n(9610),n(4115),n(2445),n(6426),n(3150),n(8329),n(1307),n(8182),n(9755));function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||b(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){if(e){if("string"==typeof e)return p(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)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?o-1:0),a=1;a1&&void 0!==arguments[1]&&arguments[1])&&(t.trackLocalhost=!0);var n=(0,l.Z)(t).trackEvent;return(0,(0,l.Z)(t).trackPageview)(),this.each((function(e,t){function r(e){var r=t.getAttribute("data-analytics").split(/,(.+)/),o=null!=t.tagName&&"a"==t.tagName.toLowerCase(),i="auxclick"==e.type&&2==e.which,a="click"==e.type,u=o&&a&&!t.target&&!(e.ctrlKey||e.metaKey||e.shiftKey);if(i||a){var c,s=function(){u&&t.href&&"#"!=t.href&&(console.debug("Plausible: resuming redirect to",t.href),location.href=t.href)},l=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=b(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(r);try{var f=function(){var e=c.value;n(e,{callback:function(){console.debug("Plausible: tracked event",e),s()}}),setTimeout((function(){console.debug("Plausible: didn't receive response, continuing anyways"),s()}),150)};for(l.s();!(c=l.n()).done;)f()}catch(e){l.e(e)}finally{l.f()}}u&&e.preventDefault()}t.addEventListener("click",r),t.addEventListener("auxclick",r)}))}function k(e){return this.each((function(t,n){f(n).find(".item").tab(e)}))}function T(e){return T="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},T(e)}function x(e,t,n){return x=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}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&E(o,n.prototype),o},x.apply(null,arguments)}function E(e,t){return E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},E(e,t)}function C(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&n.is_expanded(!0)})),this.output=o.observable(),this.output_lines=o.computed((function(){return n.output().split(/\n/).map((function(e,t){return new Z({command:n,output:e,line_number:t+1})}))}),null,{deferEvaluation:!0}),this.output(t.output)}return K(e,[{key:"color_output",value:function(e){return Promise.all([n.e("ansi_up").then(n.t.bind(n,4431,19)).then((function(e){return e.default})),n.e("sanitize-html").then(n.t.bind(n,1036,19)).then((function(e){return e.default}))]).then((function(t){var n,r,o=z(t,2);n=o[0],r=o[1];var i=new n;return i.use_classes=!0,e=r(e=i.ansi_to_html(e),{allowedTags:["span"],allowedAttributes:{span:["class"]}})}))}},{key:"toggle_expanded",value:function(){return this.is_expanded(!this.is_expanded()),!1}}]),e}(),Y=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;X(this,e),this.id=n.id,this.url_api_build=i,this.url_api_notifications=a,this.success=o.observable(n.success),this.error=o.observable(n.error),this.notifications=o.observableArray(),this.has_notifications=o.computed((function(){return t.notifications().length>0})),this.state=o.observable(n.state),this.state_display=o.observable(n.state_display),this.is_finished=o.observable(!1),this.is_loading=o.observable(!0),this.can_cancel=o.observable(!1),this.can_retry=o.observable(!1),this.can_view_docs=o.observable(!1),this.state.subscribe((function(e){t.update_state(e)})),this.progress_config=o.computed((function(){var e=t.state(),n=["triggered","queued","cloning","installing","building","uploading","finished"];if(o.computedContext.isInitial())return{autoSuccess:!1,value:n.indexOf(e),total:n.length-1,label:t.state_display()};if(t.is_finished()){var r="cancelled"===e,i=t.error()||!1===t.success();return r?function(e){e("set warning","Build cancelled")}:i?function(e){e("set error","Build failed")}:function(e){e("set success","Build succeeded")}}return function(r){r("set progress",n.indexOf(e)),r("set label",t.state_display())}})).extend({deferred:!0}),this.date=o.observable(n.date),this.length=o.observable(n.length),this.date_display=o.observable(),this.date_display_since=o.observable(),this.length_display=o.observable(),U.extend(D),U.extend(H),U.extend(q),this.date.subscribe((function(e){var n=U(e);t.date_display(n.format("llll")),t.date_display_since(n.fromNow())})),this.length.subscribe((function(e){t.length_display(U.duration(e,"seconds").humanize())})),this.config=o.observable(),this.builder=o.observable(n.builder),this.commands=o.observableArray(n.commands),this.commit=o.observable(n.commit),this.commit_short=o.computed((function(){var e=t.commit();if(e)return e.substring(0,8)})),this.docs_url=o.observable(n.docs_url),this.commit_url=o.observable(n.commit_url),this.legacy_output=o.observable(!1),this.selected_hash=o.observable(r(location).attr("hash")),this.selected_hash.subscribe((function(e){r(location).attr("hash",e)})),this.selected_line=o.observable(),this.selected_line.subscribe((function(e){e&&e.is_selected(!1)}),this,"beforeChange"),this.selected_line.subscribe((function(e){e.command.is_expanded(!0),e.is_selected(!0),t.selected_hash(e.anchor_id())})),this.show_debug=o.observable(!1),this.is_polling=o.observable(!0),this.is_polling.subscribe((function(e){e||t.set_selected_line_from_hash(t.selected_hash())})),this.url_api_build&&this.poll_api_build(),this.url_api_notifications&&this.poll_api_notifications()}return K(e,[{key:"poll_api_build",value:function(){var e=this;r.getJSON(this.url_api_build).then((function(t){e.date(t.date),e.success(t.success),e.error(t.error),e.length(t.length),e.commit(t.commit),e.docs_url(t.docs_url),e.commit_url(t.commit_url),e.builder(t.builder),e.config(t.config),e.state(t.state),e.state_display(t.state_display),e.add_command({id:0,command:"readthedocs-build --show-config",output:JSON.stringify(t.config,null," "),exit_code:0,run_time:0,is_debug:!0});var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=J(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(t.commands);try{for(r.s();!(n=r.n()).done;){var o=n.value;e.add_command(o)}}catch(e){r.e(e)}finally{r.f()}e.is_loading(!1)})).then((function(){e.is_finished()?e.is_polling(!1):setTimeout((function(){e.poll_api_build(),e.poll_api_notifications()}),2e3)}))}},{key:"poll_api_notifications",value:function(){var e=this;r.getJSON(this.url_api_notifications,{state__in:"read,unread"}).then((function(t){t.results&&e.notifications(t.results)}))}},{key:"add_command",value:function(e){o.utils.arrayFirst(this.commands(),(function(t){return t.id()===e.id}))||this.commands.push(new Q(e))}},{key:"set_selected_line",value:function(e){this.selected_line(e);var t=document.querySelector("[data-selected=true]");return t&&(t.scrollIntoView?t.scrollIntoView({behavior:"auto",block:"center",inline:"center"}):r(t).focus()),!1}},{key:"set_selected_line_from_hash",value:function(e){if(e){var t=e.match(/^#(\d+)--(\d+)$/);if(!t)return;var n=o.utils.arrayFirst(this.commands(),(function(e){return e.id()==t[1]}));if(n){var r=o.utils.arrayFirst(n.output_lines(),(function(e){return e.line_number()==t[2]}));r&&this.set_selected_line(r)}}}},{key:"show_legacy_output",value:function(){this.legacy_output(!0)}},{key:"toggle_debug",value:function(){var e=this.show_debug();this.show_debug(!e)}},{key:"update_state",value:function(e){["finished","cancelled"].includes(e)?(this.is_finished(!0),this.can_cancel(!1),this.can_retry(!0),this.success()&&this.can_view_docs(!0)):this.can_cancel(!0)}}]),e}();function G(e){return G="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},G(e)}function ee(e,t){for(var n=0;n=oe[o];t.device[o](i)}}));var n=r(window),i=function(){t.viewport_width(n.width())};n.on("resize",i),i()})),ae=function(){function e(t){re(this,e),this.id=t.id,this.url=t.url,this.loaded=o.observable(!1),this.loading=o.observable(!1),this.promise=null,this.data=o.observable()}return te(e,[{key:"fetch",value:function(){var e=this;if(this.promise)return this.promise;this.promise=new Promise((function(t,n){if(e.loaded())return t(e.data());e.loading(!0),r.getJSON(e.url).then((function(n){return e.data(n),e.loaded(!0),e.loading(!1),t(n)}))}))}}]),e}(),ue=te((function e(){var t=this;re(this,e),this.config=o.observable(),this.search_project_config=o.observable(),this.config.subscribe((function(e){if(void 0!==e){var n=new URL(e.api_projects_list_url,window.location.origin);n.search="?name={query}",t.search_project_config({type:"category",apiSettings:{url:n.href,onResponse:function(e){return{results:{"category-projects":{name:"Projects",results:e.results.map((function(e,t){var n=e.slug;e.subproject_of?n="Subproject of "+e.subproject_of.name:e.translation_of&&(n=e.language.name+" translation of "+e.translation_of.name);var r=new URL(e.urls.home),o=new URL(window.location.href);return r.hostname!=o.hostname&&(r.hostname=o.hostname),{title:e.name,description:n,url:r.toString()}}))}}}}},minCharacters:2})}}))}));function ce(e){return ce="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},ce(e)}function se(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return le(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0])||arguments[0];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.is_collapsed=o.observable(n),this.dropdown_class=o.computed((function(){return t.is_collapsed()?"fa-caret-down":"fa-caret-up"}))}var t,n,r;return t=e,n=[{key:"toggle_collapsed",value:function(){var e=this.is_collapsed();this.is_collapsed(!e)}}],n&&Te(t.prototype,n),r&&Te(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Ce(e){return Ce="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},Ce(e)}function Ae(e,t){for(var n=0;n\n ','\n
\n \n ',"\n
\n
","
\n
\n "])),(0,Ue.$)(t),(0,Ve.g)(this.notification.dismissable,(function(){return(0,Le.dy)(We||(We=Qe(['\n \n "])),e.dismiss)})),this.notification.message.icon_classes,(0,De.A)(this.notification.message.header),(0,De.A)(this.notification.message.body))}},{key:"dismiss",value:function(){var e=this;console.debug("Dismissing notification:",this.notification.id);var t={method:"PATCH",headers:{"Content-Type":"application/json","X-CSRFToken":this.csrfToken},body:JSON.stringify({state:"dismissed"})};fetch(this.notification._links._self,t).then((function(t){if(!t.ok)throw new Error("Invalid API request");r(e).transition({animation:"fade",onComplete:function(){e.parentElement.removeChild(e)}})})).catch((function(e){console.error("Error dismissing notification",e)}))}}]),n}(Xe);it(ut,"properties",{csrfToken:{type:String,attribute:"csrf-token"},notification:{state:!0},inverted:{type:Boolean}});var ct=function(e){tt(n,e);var t=rt(n);function n(){var e;return Ye(this,n),(e=t.call(this)).state="read,unread",e}return et(n,[{key:"fetchNotifications",value:function(){var e=this;if(this.url&&void 0===this.request){var t=new URLSearchParams({state__in:this.state});this.request=fetch("".concat(this.url,"?").concat(t)).then((function(e){if(!e.ok)throw new Error("Request failed");return e.json()})).then((function(e){if(void 0===(null==e?void 0:e.results))throw new Error("Invalid notification API response");return e.results})).then((function(t){t&&(e.notifications=t)})).catch((function(t){console.error("Error fetching notifications from ".concat(e.url),t)}))}}},{key:"render",value:function(){var e=this;return this.fetchNotifications(),this.notifications&&this.notifications.length>0?(0,Be.r)(this.notifications,(function(e){return e.id}),(function(t,n){var r=document.createElement("readthedocs-notification");return r.notification=t,r.csrfToken=e.csrfToken,r.inverted=e.inverted,r.className="item",r})):Le.Ld}}]),n}(Xe);function st(e){return st="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},st(e)}function lt(e,t){for(var n=0;n0)setTimeout(o,2e3);else{var r=e.statusText;e.responseJSON&&(r=e.responseJSON.detail),t.reject({message:r})}}))}),2e3),t})(e).then((function(){t.resolve()})).fail((function(e){t.reject(e)}))},error:function(e){var n=e.responseJSON.detail||e.statusText;t.reject({message:n})}}),t}function Ct(e){return Ct="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},Ct(e)}function At(e,t){return At=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},At(e,t)}function Rt(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=Nt(e);if(t){var o=Nt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===Ct(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)}(this,n)}}function Nt(e){return Nt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nt(e)}function It(e,t){for(var n=0;n0}))})),$t=function(e){!function(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&&At(e,t)}(n,e);var t=Rt(n);function n(){var e;return Vt(this,n),(e=t.call(this)).config=o.observable(),e.search_config=o.observable(),e.selected=o.observable(),e.is_loading=o.observable(!1),e.is_syncing=o.observable(!1),e.is_selected=o.computed((function(){return void 0!==e.selected()})),e.allow_private_repos=o.observable(!1),e.error=o.observable(),e.config.subscribe((function(t){void 0!==t&&(e.allow_private_repos(t.allow_private_repos),e.init_search())})),e}return Lt(n,[{key:"sync_remote_repos",value:function(){var e=this,t=this.config(),n={url:t.urls.api_sync_remote_repositories,token:t.csrf_token};return this.is_syncing(!0),this.is_loading(!0),Et(n).fail((function(t){console.error("Error syncing remote repositories:",t.message),e.error(t.message)})).always((function(){e.is_syncing(!1),e.is_loading(!1)}))}},{key:"init_search",value:function(){var e=this,t=this.config().urls.remoterepository_list+"?expand=projects&full_name={query}";this.search_config({type:"knockout",templates:{knockout:function(e){var t=r("
"}},formatter:{date:function(e){return Intl.DateTimeFormat("en-GB").format(e)},datetime:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},time:function(e){return Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},month:function(e){return Intl.DateTimeFormat("en-GB",{month:"2-digit",year:"numeric"}).format(e)},year:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric"}).format(e)}},rules:{empty:function(e){return!(void 0===e||""===e||Array.isArray(e)&&0===e.length)},checked:function(){return e(this).filter(":checked").length>0},email:function(t){return e.fn.form.settings.regExp.email.test(t)},url:function(t){return e.fn.form.settings.regExp.url.test(t)},regExp:function(t,n){if(n instanceof RegExp)return t.match(n);var i,o=n.match(e.fn.form.settings.regExp.flags);return o&&(n=o.length>=2?o[1]:n,i=o.length>=3?o[2]:""),t.match(new RegExp(n,i))},minValue:function(t,n){return e.fn.form.settings.rules.range(t,n+"..","number")},maxValue:function(t,n){return e.fn.form.settings.rules.range(t,".."+n,"number")},integer:function(t,n){return e.fn.form.settings.rules.range(t,n,"integer")},range:function(t,n,i,o){var r,a,s;return"string"==typeof i&&(i=e.fn.form.settings.regExp[i]),i instanceof RegExp||(i=e.fn.form.settings.regExp.integer),n&&-1===["",".."].indexOf(n)&&(-1===n.indexOf("..")?i.test(n)&&(a=r=n-0):(s=n.split("..",2),i.test(s[0])&&(r=s[0]-0),i.test(s[1])&&(a=s[1]-0))),o&&(t=t.length),i.test(t)&&(void 0===r||t>=r)&&(void 0===a||t<=a)},decimal:function(t,n){return e.fn.form.settings.rules.range(t,n,"decimal")},number:function(t,n){return e.fn.form.settings.rules.range(t,n,"number")},is:function(e,t){return t="string"==typeof t?t.toLowerCase():t,(e="string"==typeof e?e.toLowerCase():e)==t},isExactly:function(e,t){return e==t},not:function(e,t){return(e="string"==typeof e?e.toLowerCase():e)!=(t="string"==typeof t?t.toLowerCase():t)},notExactly:function(e,t){return e!=t},contains:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1!==t.search(new RegExp(n,"i"))},containsExactly:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1!==t.search(new RegExp(n))},doesntContain:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1===t.search(new RegExp(n,"i"))},doesntContainExactly:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1===t.search(new RegExp(n))},minLength:function(t,n){return e.fn.form.settings.rules.range(t,n+"..","integer",!0)},exactLength:function(t,n){return e.fn.form.settings.rules.range(t,n+".."+n,"integer",!0)},maxLength:function(t,n){return e.fn.form.settings.rules.range(t,".."+n,"integer",!0)},size:function(t,n){return e.fn.form.settings.rules.range(t,n,"integer",!0)},match:function(e,t,n){var i=n.get.value(t,!0);return void 0!==i&&e.toString()===i.toString()},different:function(e,t,n){var i=n.get.value(t,!0);return void 0!==i&&e.toString()!==i.toString()},creditCard:function(t,n){var i,o,r={visa:{pattern:/^4/,length:[16]},amex:{pattern:/^3[47]/,length:[15]},mastercard:{pattern:/^5[1-5]/,length:[16]},discover:{pattern:/^(6011|622(12[6-9]|1[3-9]\d|[2-8]\d{2}|9[01]\d|92[0-5]|64[4-9])|65)/,length:[16]},unionPay:{pattern:/^(62|88)/,length:[16,17,18,19]},jcb:{pattern:/^35(2[89]|[3-8]\d)/,length:[16]},maestro:{pattern:/^(5018|5020|5038|6304|6759|676[1-3])/,length:[12,13,14,15,16,17,18,19]},dinersClub:{pattern:/^(30[0-5]|^36)/,length:[14]},laser:{pattern:/^(6304|670[69]|6771)/,length:[16,17,18,19]},visaElectron:{pattern:/^(4026|417500|4508|4844|491(3|7))/,length:[16]}},a={},s=!1,c="string"==typeof n&&n.split(",");if("string"==typeof t&&0!==t.length){if(t=t.replace(/[\s-]/g,""),c&&(e.each(c,(function(n,i){(o=r[i])&&(a={length:-1!==e.inArray(t.length,o.length),pattern:-1!==t.search(o.pattern)}).length>0&&a.pattern&&(s=!0)})),!s))return!1;if((i={number:-1!==e.inArray(t.length,r.unionPay.length),pattern:-1!==t.search(r.unionPay.pattern)}).number&&i.pattern)return!0;for(var l=t.length,u=0,d=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],f=0;l--;)f+=d[u][parseInt(t.charAt(l),10)],u^=1;return f%10==0&&f>0}},minCount:function(e,t){return 0===(t=Number(t))||(1===t?""!==e:e.split(",").length>=t)},exactCount:function(e,t){return 0===(t=Number(t))?""===e:1===t?""!==e&&-1===e.search(","):e.split(",").length===t},maxCount:function(e,t){return 0!==(t=Number(t))&&(1===t?-1===e.search(","):e.split(",").length<=t)}}}}(n(9755),window,document)},7030:(e,t,n)=>{
+!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.form=function(o){var r,a=e(this),s=e(t),c=Date.now(),l=[],u=arguments[0],d="string"==typeof u,f=[].slice.call(arguments,1);return a.each((function(){var p,h,g,m,v,b,y,x,w,C,S,k,T,E,A,D,O,R,P=e(this),M=this,N=[],L=!1,j=!1,$=!1,_=["clean","clean"];R={initialize:function(){R.get.settings(),P.addClass(w.initial),d?(void 0===O&&R.instantiate(),R.invoke(u)):(void 0!==O&&(O.invoke("destroy"),R.refresh()),R.verbose("Initializing form validation",P,v),R.bindEvents(),R.set.defaults(),v.autoCheckRequired&&R.set.autoCheck(),R.instantiate())},instantiate:function(){R.verbose("Storing instance of module",R),O=R,P.data(T,R)},destroy:function(){R.verbose("Destroying previous module",O),R.removeEvents(),P.removeData(T)},refresh:function(){R.verbose("Refreshing selector cache"),p=P.find(x.field),h=P.find(x.group),g=P.find(x.message),P.find(x.prompt),m=P.find(x.submit),P.find(x.clear),P.find(x.reset)},refreshEvents:function(){R.removeEvents(),R.bindEvents()},submit:function(e){R.verbose("Submitting form",P),j=!0,P.trigger("submit"),e&&e.preventDefault()},attachEvents:function(t,n){n||(n="submit"),e(t).on("click"+E,(function(e){R[n](),e.preventDefault()})),A=t,D=n},bindEvents:function(){R.verbose("Attaching form events"),P.on("submit"+E,R.validate.form).on("blur"+E,x.field,R.event.field.blur).on("click"+E,x.submit,R.submit).on("click"+E,x.reset,R.reset).on("click"+E,x.clear,R.clear),p.on("invalid"+E,R.event.field.invalid),v.keyboardShortcuts&&P.on("keydown"+E,x.field,R.event.field.keydown),p.each((function(t,n){var i=e(n),o=i.prop("type"),r=R.get.changeEvent(o,i);i.on(r+E,R.event.field.change)})),v.preventLeaving&&s.on("beforeunload"+E,R.event.beforeUnload),p.on("change"+E+" click"+E+" keyup"+E+" keydown"+E+" blur"+E,(function(e){R.determine.isDirty()})),P.on("dirty"+E,(function(e){v.onDirty.call()})),P.on("clean"+E,(function(e){v.onClean.call()})),A&&R.attachEvents(A,D)},clear:function(){p.each((function(t,n){var i=e(n),o=i.parent(),r=i.closest(h),a=r.find(x.prompt),s=i.closest(x.uiCalendar),c=i.data(y.defaultValue)||"",l=i.is(x.checkbox),u=o.is(x.uiDropdown)&&R.can.useElement("dropdown"),d=s.length>0&&R.can.useElement("calendar");r.hasClass(w.error)&&(R.verbose("Resetting error on field",r),r.removeClass(w.error),a.remove()),u?(R.verbose("Resetting dropdown value",o,c),o.dropdown("clear",!0)):l?i.prop("checked",!1):d?s.calendar("clear"):(R.verbose("Resetting field value",i,c),i.val(""))})),R.remove.states()},reset:function(){p.each((function(t,n){var i=e(n),o=i.parent(),r=i.closest(h),a=i.closest(x.uiCalendar),s=r.find(x.prompt),c=i.data(y.defaultValue),l=i.is(x.checkbox),u=o.is(x.uiDropdown)&&R.can.useElement("dropdown"),d=a.length>0&&R.can.useElement("calendar"),f=i.is(x.file),p=r.hasClass(w.error);void 0!==c&&(p&&(R.verbose("Resetting error on field",r),r.removeClass(w.error),s.remove()),u?(R.verbose("Resetting dropdown value",o,c),o.dropdown("restore defaults",!0)):l?(R.verbose("Resetting checkbox value",i,c),i.prop("checked",c)):d?a.calendar("set date",c):(R.verbose("Resetting field value",i,c),i.val(f?"":c)))})),R.remove.states()},determine:{isValid:function(){var t=!0;return p.each((function(n,i){var o=e(i),r=R.get.validation(o)||{},a=R.get.identifier(r,o);R.validate.field(r,a,!0)||(t=!1)})),t},isDirty:function(t){var n=!1;p.each((function(t,i){var o,r=e(i);o=r.filter(x.checkbox).length>0?R.is.checkboxDirty(r):R.is.fieldDirty(r),r.data(v.metadata.isDirty,o),n=n||o})),n?R.set.dirty():R.set.clean()}},is:{bracketedRule:function(e){return e.type&&e.type.match(v.regExp.bracket)},shorthandRules:function(e){return"string"==typeof e||Array.isArray(e)},empty:function(e){return!e||0===e.length||(e.is(x.checkbox)?!e.is(":checked"):R.is.blank(e))},blank:function(e){return""===String(e.val()).trim()},valid:function(t,n){var i=!0;return t?(R.verbose("Checking if field is valid",t),R.validate.field(b[t],t,!!n)):(R.verbose("Checking if form is valid"),e.each(b,(function(e,t){R.is.valid(e,n)||(i=!1)})),i)},dirty:function(){return $},clean:function(){return!$},fieldDirty:function(e){var t=e.data(y.defaultValue);null==t?t="":Array.isArray(t)&&(t=t.toString());var n=e.val();null==n?n="":Array.isArray(n)&&(n=n.toString());var i=/^(true|false)$/i;return i.test(t)&&i.test(n)?!new RegExp("^"+t+"$","i").test(n):n!==t},checkboxDirty:function(e){return e.data(y.defaultValue)!==e.is(":checked")},justDirty:function(){return"dirty"===_[0]},justClean:function(){return"clean"===_[0]}},removeEvents:function(){P.off(E),p.off(E),m.off(E),v.preventLeaving&&s.off(E),A&&(e(A).off(E),A=void 0)},event:{field:{keydown:function(t){var n=e(this),i=t.which,o=n.is(x.input),r=n.is(x.checkbox),a=n.closest(x.uiDropdown).length>0,s=13;i===27&&(R.verbose("Escape key pressed blurring field"),n[0].blur()),t.ctrlKey||i!==s||!o||a||r||(L||(n.one("keyup"+E,R.event.field.keyup),R.submit(t),R.debug("Enter pressed on input submitting form")),L=!0)},keyup:function(){L=!1},invalid:function(e){e.preventDefault()},blur:function(t){var n=e(this),i=R.get.validation(n)||{},o=R.get.identifier(i,n);("blur"===v.on||!P.hasClass(w.initial)&&v.revalidate)&&(R.debug("Revalidating field",n,i),R.validate.field(i,o),v.inline||R.validate.form(!1,!0))},change:function(t){var n=e(this),i=R.get.validation(n)||{},o=R.get.identifier(i,n);("change"===v.on||!P.hasClass(w.initial)&&v.revalidate)&&(clearTimeout(R.timer),R.timer=setTimeout((function(){R.debug("Revalidating field",n,i),R.validate.field(i,o),v.inline||R.validate.form(!1,!0)}),v.delay))}},beforeUnload:function(e){if(R.is.dirty()&&!j)return(e=e||t.event)&&(e.returnValue=v.text.leavingMessage),v.text.leavingMessage}},get:{ancillaryValue:function(e){return!(!e.type||!e.value&&!R.is.bracketedRule(e))&&(void 0!==e.value?e.value:e.type.match(v.regExp.bracket)[1]+"")},ruleName:function(e){return R.is.bracketedRule(e)?e.type.replace(e.type.match(v.regExp.bracket)[0],""):e.type},changeEvent:function(e,t){return["file","checkbox","radio","hidden"].indexOf(e)>=0||t.is("select")?"change":"input"},fieldsFromShorthand:function(t){var n={};return e.each(t,(function(t,i){Array.isArray(i)||"object"!=typeof i?("string"==typeof i&&(i=[i]),n[t]={rules:[]},e.each(i,(function(e,i){n[t].rules.push({type:i})}))):n[t]=i})),n},identifier:function(e,t){return e.identifier||t.attr("id")||t.attr("name")||t.data(y.validate)},prompt:function(e,t){var n,o=R.get.ruleName(e),r=R.get.ancillaryValue(e),a=R.get.field(t.identifier),s=a.val(),c=i(e.prompt)?e.prompt(s):e.prompt||v.prompt[o]||v.text.unspecifiedRule,l=-1!==c.search("{value}"),u=-1!==c.search("{name}");return r&&["integer","decimal","number","size"].indexOf(o)>=0&&r.indexOf("..")>=0&&(n=r.split("..",2),e.prompt||"size"===o||(c+=(""===n[0]?v.prompt.maxValue.replace(/{ruleValue}/g,"{max}"):""===n[1]?v.prompt.minValue.replace(/{ruleValue}/g,"{min}"):v.prompt.range).replace(/{name}/g," "+v.text.and)),c=(c=c.replace(/{min}/g,n[0])).replace(/{max}/g,n[1])),r&&["match","different"].indexOf(o)>=0&&(c=c.replace(/{ruleValue}/g,R.get.fieldLabel(r,!0))),l&&(c=c.replace(/{value}/g,a.val())),u&&(c=c.replace(/{name}/g,R.get.fieldLabel(a))),c=(c=c.replace(/{identifier}/g,t.identifier)).replace(/{ruleValue}/g,r),e.prompt||R.verbose("Using default validation prompt for type",c,o),c},settings:function(){e.isPlainObject(o)?(o.fields&&(o.fields=R.get.fieldsFromShorthand(o.fields)),v=e.extend(!0,{},e.fn.form.settings,o),b=e.extend(!0,{},e.fn.form.settings.defaults,v.fields),R.verbose("Extending settings",b,v)):(v=e.extend(!0,{},e.fn.form.settings),b=e.extend(!0,{},e.fn.form.settings.defaults),R.verbose("Using default form validation",b,v)),k=v.namespace,y=v.metadata,x=v.selector,w=v.className,C=v.regExp,S=v.error,T="module-"+k,E="."+k,((O=P.data(T))||R).refresh()},field:function(t,n){var i;return R.verbose("Finding field with identifier",t),t=R.escape.string(t),(i=p.filter("#"+t)).length>0||(i=p.filter('[name="'+t+'"]')).length>0||(i=p.filter('[name="'+t+'[]"]')).length>0||(i=p.filter("[data-"+y.validate+'="'+t+'"]')).length>0?i:(R.error(S.noField.replace("{identifier}",t)),n?e():e(""))},fields:function(t,n){var i=e();return e.each(t,(function(e,t){i=i.add(R.get.field(t,n))})),i},fieldLabel:function(e,t){var n="string"==typeof e?R.get.field(e):e,i=n.closest(x.group).find("label:not(:empty)").eq(0);return 1===i.length?i.text():n.prop("placeholder")||(t?e:v.text.unspecifiedField)},validation:function(t){var n,i;return!!b&&(e.each(b,(function(o,r){i=r.identifier||o,e.each(R.get.field(i),(function(e,o){if(o==t[0])return r.identifier=i,n=r,!1}))})),n||!1)},value:function(e,t){var n,i,o=[];return o.push(e),n=R.get.values.call(M,o,t),(i=Object.keys(n)).length>0?n[i[0]]:void 0},values:function(t,n){var i=Array.isArray(t)&&t.length>0?R.get.fields(t,n):p,o={};return i.each((function(t,n){var i=e(n),r=i.closest(x.uiCalendar),a=i.prop("name"),s=i.val(),c=i.is(x.checkbox),l=i.is(x.radio),u=-1!==a.indexOf("[]"),d=r.length>0&&R.can.useElement("calendar"),f=!!c&&i.is(":checked");if(a)if(u)a=a.replace("[]",""),o[a]||(o[a]=[]),c?f?o[a].push(s||!0):o[a].push(!1):o[a].push(s);else if(l)void 0!==o[a]&&!1!==o[a]||(o[a]=!!f&&(s||!0));else if(c)o[a]=!!f&&(s||!0);else if(d){var p=r.calendar("get date");if(null!==p)switch(v.dateHandling){case"date":o[a]=p;break;case"input":o[a]=r.calendar("get input date");break;case"formatter":var h=r.calendar("setting","type");switch(h){case"date":o[a]=v.formatter.date(p);break;case"datetime":o[a]=v.formatter.datetime(p);break;case"time":o[a]=v.formatter.time(p);break;case"month":o[a]=v.formatter.month(p);break;case"year":o[a]=v.formatter.year(p);break;default:R.debug("Wrong calendar mode",r,h),o[a]=""}}else o[a]=""}else o[a]=s})),o},dirtyFields:function(){return p.filter((function(t,n){return e(n).data(y.isDirty)}))}},has:{field:function(e){return R.verbose("Checking for existence of a field with identifier",e),R.get.field(e,!0).length>0}},can:{useElement:function(t){return void 0!==e.fn[t]||(R.error(S.noElement.replace("{element}",t)),!1)}},escape:{string:function(e){return(e=String(e)).replace(C.escape,"\\$&")}},checkErrors:function(e,t){return e&&0!==e.length?(t||(e="string"==typeof e?[e]:e),e):(t||R.error(v.error.noErrorMessage),!1)},add:{rule:function(e,t){R.add.field(e,t)},field:function(t,n){void 0!==b[t]&&void 0!==b[t].rules||(b[t]={rules:[]});var i={rules:[]};R.is.shorthandRules(n)?(n=Array.isArray(n)?n:[n],e.each(n,(function(e,t){i.rules.push({type:t})}))):i.rules=n.rules,e.each(i.rules,(function(n,i){0===e.grep(b[t].rules,(function(e){return e.type===i.type})).length&&b[t].rules.push(i)})),R.debug("Adding rules",i.rules,b),R.refreshEvents()},fields:function(t){b=e.extend(!0,{},b,R.get.fieldsFromShorthand(t)),R.refreshEvents()},prompt:function(t,n,i){if(!1!==(n=R.checkErrors(n))){var o=R.get.field(t).closest(h),r=o.children(x.prompt),a=r.length>0,s=v.transition&&R.can.useElement("transition");R.verbose("Adding field error state",t),i||o.addClass(w.error),v.inline?(a&&(s?r.transition("is animating")&&r.transition("stop all"):r.is(":animated")&&r.stop(!0,!0),a=(r=o.children(x.prompt)).length>0),a||(r=e("").addClass(w.label),s||r.css("display","none"),r.appendTo(o)),r.html(v.templates.prompt(n)),a||(s?(R.verbose("Displaying error with css transition",v.transition),r.transition(v.transition+" in",v.duration)):(R.verbose("Displaying error with fallback javascript animation"),r.fadeIn(v.duration)))):R.verbose("Inline errors are disabled, no inline error added",t)}},errors:function(t){if(!1!==(t=R.checkErrors(t))){R.debug("Adding form error messages",t),R.set.error();var n,i=[];e.isPlainObject(t)?e.each(Object.keys(t),(function(o,r){!1!==R.checkErrors(t[r],!0)&&(v.inline?R.add.prompt(r,t[r]):!1!==(n=R.checkErrors(t[r]))&&e.each(n,(function(e,t){i.push(v.prompt.addErrors.replace(/{name}/g,R.get.fieldLabel(r)).replace(/{error}/g,t))})))})):i=t,i.length>0&&g.html(v.templates.error(i))}}},remove:{errors:function(){R.debug("Removing form error messages"),g.empty()},states:function(){P.removeClass(w.error).removeClass(w.success).addClass(w.initial),v.inline||R.remove.errors(),R.determine.isDirty()},rule:function(t,n){var i=Array.isArray(n)?n:[n];if(void 0!==b[t]&&Array.isArray(b[t].rules))return void 0===n?(R.debug("Removed all rules"),void(R.has.field(t)?b[t].rules=[]:delete b[t])):void e.each(b[t].rules,(function(e,n){n&&-1!==i.indexOf(n.type)&&(R.debug("Removed rule",n.type),b[t].rules.splice(e,1))}))},field:function(t){var n=Array.isArray(t)?t:[t];e.each(n,(function(e,t){R.remove.rule(t)})),R.refreshEvents()},rules:function(t,n){Array.isArray(t)?e.each(t,(function(e,t){R.remove.rule(t,n)})):R.remove.rule(t,n)},fields:function(e){R.remove.field(e)},prompt:function(e){var t=R.get.field(e).closest(h),n=t.children(x.prompt);t.removeClass(w.error),v.inline&&n.is(":visible")&&(R.verbose("Removing prompt for field",e),v.transition&&R.can.useElement("transition")?n.transition(v.transition+" out",v.duration,(function(){n.remove()})):n.fadeOut(v.duration,(function(){n.remove()})))}},set:{success:function(){P.removeClass(w.error).addClass(w.success)},defaults:function(){p.each((function(t,n){var i=e(n),o=i.parent(),r=i.filter(x.checkbox).length>0,a=(o.is(x.uiDropdown)||i.is(x.uiDropdown))&&R.can.useElement("dropdown"),s=i.closest(x.uiCalendar),c=s.length>0&&R.can.useElement("calendar"),l=r?i.is(":checked"):i.val();a?o.is(x.uiDropdown)?o.dropdown("save defaults"):i.dropdown("save defaults"):c&&s.calendar("refresh"),i.data(y.defaultValue,l),i.data(y.isDirty,!1)}))},error:function(){P.removeClass(w.success).addClass(w.error)},value:function(e,t){var n={};return n[e]=t,R.set.values.call(M,n)},values:function(t){e.isEmptyObject(t)||e.each(t,(function(t,n){var i,o=R.get.field(t),r=o.parent(),a=o.closest(x.uiCalendar),s=o.is(x.file),c=Array.isArray(n),l=r.is(x.uiCheckbox)&&R.can.useElement("checkbox"),u=r.is(x.uiDropdown)&&R.can.useElement("dropdown"),d=o.is(x.radio)&&l,f=a.length>0&&R.can.useElement("calendar");o.length>0&&(c&&l?(R.verbose("Selecting multiple",n,o),r.checkbox("uncheck"),e.each(n,(function(e,t){i=o.filter('[value="'+t+'"]'),r=i.parent(),i.length>0&&r.checkbox("check")}))):d?(R.verbose("Selecting radio value",n,o),o.filter('[value="'+n+'"]').parent(x.uiCheckbox).checkbox("check")):l?(R.verbose("Setting checkbox value",n,r),!0===n||1===n||"on"===n?r.checkbox("check"):r.checkbox("uncheck"),"string"==typeof n&&o.val(n)):u?(R.verbose("Setting dropdown value",n,r),r.dropdown("set selected",n)):f?a.calendar("set date",n):(R.verbose("Setting field value",n,o),o.val(s?"":n)))}))},dirty:function(){R.verbose("Setting state dirty"),$=!0,_[0]=_[1],_[1]="dirty",R.is.justClean()&&P.trigger("dirty")},clean:function(){R.verbose("Setting state clean"),$=!1,_[0]=_[1],_[1]="clean",R.is.justDirty()&&P.trigger("clean")},asClean:function(){R.set.defaults(),R.set.clean()},asDirty:function(){R.set.defaults(),R.set.dirty()},autoCheck:function(){R.debug("Enabling auto check on required fields"),b&&e.each(b,(function(e){R.has.field(e)||(R.verbose("Field not found, removing from validation",e),R.remove.field(e))})),p.each((function(t,n){var i=e(n),o=i.closest(h),r=i.filter(x.checkbox).length>0,a=i.prop("required")||o.hasClass(w.required)||o.parent().hasClass(w.required),s=i.is(":disabled")||o.hasClass(w.disabled)||o.parent().hasClass(w.disabled),c=R.get.validation(i),l=!!c&&0!==e.grep(c.rules,(function(e){return"empty"===e.type})),u=R.get.identifier(c,i);!a||s||l||void 0===u||(r?(R.verbose("Adding 'checked' rule on field",u),R.add.rule(u,"checked")):(R.verbose("Adding 'empty' rule on field",u),R.add.rule(u,"empty")))}))},optional:function(t,n){n=!1!==n,e.each(b,(function(e,i){t!==e&&t!==i.identifier||(i.optional=n)}))}},validate:{form:function(t,i){var o=R.get.values();if(L)return!1;if(P.removeClass(w.initial),N=[],R.determine.isValid()){if(R.debug("Form has no validation errors, submitting"),R.set.success(),v.inline||R.remove.errors(),!0!==i)return v.onSuccess.call(M,t,o)}else{if(R.debug("Form has errors"),j=!1,R.set.error(),v.inline||R.add.errors(N),t&&void 0!==P.data("moduleApi")&&t.stopImmediatePropagation(),v.errorFocus&&!0!==i){var r,a=!0;"string"==typeof v.errorFocus?(a=(r=e(n).find(v.errorFocus)).is("[tabindex]"))||r.attr("tabindex",-1):r=h.filter("."+w.error).first().find(x.field),r.trigger("focus"),a||r.removeAttr("tabindex")}if(!0!==i)return v.onFailure.call(M,N,o)}},field:function(t,n,i){if(i=void 0===i||i,"string"==typeof t&&(R.verbose("Validating field",t),n=t,t=b[t]),!t)return R.debug("Unable to find field validation. Skipping",n),!0;var o,r=t.identifier||n,a=R.get.field(r),s=!!t.depends&&R.get.field(t.depends),c=!0,l=[],u=0===a.filter(":not(:disabled)").length,d=a[0].validationMessage;return t.identifier||(R.debug("Using field name as identifier",r),t.identifier=r),d?(R.debug("Field is natively invalid",r),l.push(d),c=!1,i&&a.closest(h).addClass(w.error)):i&&a.closest(h).removeClass(w.error),u?R.debug("Field is disabled. Skipping",r):t.optional&&R.is.blank(a)?R.debug("Field is optional and blank. Skipping",r):t.depends&&R.is.empty(s)?R.debug("Field depends on another value that is not present or empty. Skipping",s):void 0!==t.rules&&(o=t.errorLimit||v.errorLimit,e.each(t.rules,(function(n,a){if(R.has.field(r)&&(!o||l.length0&&(R.debug("Field is invalid",r,a.type),l.push(R.get.prompt(a,t)),c=!1,i&&e(s).closest(h).addClass(w.error))}}))),c?(i&&(R.remove.prompt(r),v.onValid.call(a)),!0):(i&&(N=N.concat(l),R.add.prompt(r,l,!0),v.onInvalid.call(a,l)),!1)},rule:function(t,n,o){var r=R.get.field(t.identifier),a=R.get.ancillaryValue(n),s=R.get.ruleName(n),c=v.rules[s],l=[],u=r.is(x.checkbox),d=function(t){var i=u?e(t).filter(":checked").val():e(t).val();return i=void 0===i||""===i||null===i?"":v.shouldTrim&&!1!==n.shouldTrim||n.shouldTrim?String(i+"").trim():String(i+""),c.call(t,i,a,R)};if(i(c))return u?d(r)||(l=r):e.each(r,(function(e,t){d(t)||l.push(t)})),o?l:0===l.length;R.error(S.noRule,s)}},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,v,t);else{if(void 0===n)return v[t];v[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,R,t);else{if(void 0===n)return R[t];R[t]=n}},debug:function(){!v.silent&&v.debug&&(v.performance?R.performance.log(arguments):(R.debug=Function.prototype.bind.call(console.info,console,v.name+":"),R.debug.apply(console,arguments)))},verbose:function(){!v.silent&&v.verbose&&v.debug&&(v.performance?R.performance.log(arguments):(R.verbose=Function.prototype.bind.call(console.info,console,v.name+":"),R.verbose.apply(console,arguments)))},error:function(){v.silent||(R.error=Function.prototype.bind.call(console.error,console,v.name+":"),R.error.apply(console,arguments))},performance:{log:function(e){var t,n;v.performance&&(n=(t=Date.now())-(c||t),c=t,l.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:M,"Execution Time":n})),clearTimeout(R.performance.timer),R.performance.timer=setTimeout((function(){R.performance.display()}),500)},display:function(){var t=v.name+":",n=0;c=!1,clearTimeout(R.performance.timer),e.each(l,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a.length>1&&(t+=" ("+a.length+")"),l.length>0&&(console.groupCollapsed(t),console.table?console.table(l):e.each(l,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),l=[]}},invoke:function(t,n,o){var a,s,c,l=O;return n=n||f,o=o||M,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(R.error(S.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},R.initialize()})),void 0!==r?r:this},e.fn.form.settings={name:"Form",namespace:"form",debug:!1,verbose:!1,performance:!0,fields:!1,keyboardShortcuts:!0,on:"submit",inline:!1,delay:200,revalidate:!0,shouldTrim:!0,transition:"scale",duration:200,autoCheckRequired:!1,preventLeaving:!1,errorFocus:!0,dateHandling:"date",errorLimit:0,onValid:function(){},onInvalid:function(){},onSuccess:function(){return!0},onFailure:function(){return!1},onDirty:function(){},onClean:function(){},metadata:{defaultValue:"default",validate:"validate",isDirty:"isDirty"},regExp:{htmlID:/^[A-Za-z][\w.:-]*$/g,bracket:/\[(.*)]/i,decimal:/^\d+\.?\d*$/,email:/^[\w!#$%&'*+./=?^`{|}~-]+@[\da-z]([\da-z-]*[\da-z])?(\.[\da-z]([\da-z-]*[\da-z])?)*$/i,escape:/[$()*+,./:=?@[\\\]^{|}-]/g,flags:/^\/(.*)\/(.*)?/,integer:/^-?\d+$/,number:/^-?\d*(\.\d+)?$/,url:/(https?:\/\/(?:www\.|(?!www))[^\s.]+\.\S{2,}|www\.\S+\.\S{2,})/i},text:{and:"and",unspecifiedRule:"Please enter a valid value",unspecifiedField:"This field",leavingMessage:"There are unsaved changes on this page which will be discarded if you continue."},prompt:{range:"{name} must be in a range from {min} to {max}",maxValue:"{name} must have a maximum value of {ruleValue}",minValue:"{name} must have a minimum value of {ruleValue}",empty:"{name} must have a value",checked:"{name} must be checked",email:"{name} must be a valid e-mail",url:"{name} must be a valid url",regExp:"{name} is not formatted correctly",integer:"{name} must be an integer",decimal:"{name} must be a decimal number",number:"{name} must be set to a number",is:'{name} must be "{ruleValue}"',isExactly:'{name} must be exactly "{ruleValue}"',not:'{name} cannot be set to "{ruleValue}"',notExactly:'{name} cannot be set to exactly "{ruleValue}"',contains:'{name} must contain "{ruleValue}"',containsExactly:'{name} must contain exactly "{ruleValue}"',doesntContain:'{name} cannot contain "{ruleValue}"',doesntContainExactly:'{name} cannot contain exactly "{ruleValue}"',minLength:"{name} must be at least {ruleValue} characters",exactLength:"{name} must be exactly {ruleValue} characters",maxLength:"{name} cannot be longer than {ruleValue} characters",size:"{name} must have a length between {min} and {max} characters",match:"{name} must match {ruleValue} field",different:"{name} must have a different value than {ruleValue} field",creditCard:"{name} must be a valid credit card number",minCount:"{name} must have at least {ruleValue} choices",exactCount:"{name} must have exactly {ruleValue} choices",maxCount:"{name} must have {ruleValue} or less choices",addErrors:"{name}: {error}"},selector:{checkbox:'input[type="checkbox"], input[type="radio"]',clear:".clear",field:'input:not(.search):not([type="reset"]):not([type="button"]):not([type="submit"]), textarea, select',file:'input[type="file"]',group:".field",input:"input",message:".error.message",prompt:".prompt.label",radio:'input[type="radio"]',reset:'.reset:not([type="reset"])',submit:'.submit:not([type="submit"])',uiCheckbox:".ui.checkbox",uiDropdown:".ui.dropdown",uiCalendar:".ui.calendar"},className:{initial:"initial",error:"error",label:"ui basic red pointing prompt label",pressed:"down",success:"success",required:"required",disabled:"disabled"},error:{method:"The method you called is not defined.",noRule:"There is no rule matching the one you specified",noField:"Field identifier {identifier} not found",noElement:"This module requires ui {element}",noErrorMessage:"No error message provided"},templates:{error:function(t){var n='
"}},formatter:{date:function(e){return Intl.DateTimeFormat("en-GB").format(e)},datetime:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},time:function(e){return Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(e)},month:function(e){return Intl.DateTimeFormat("en-GB",{month:"2-digit",year:"numeric"}).format(e)},year:function(e){return Intl.DateTimeFormat("en-GB",{year:"numeric"}).format(e)}},rules:{empty:function(e){return!(void 0===e||""===e||Array.isArray(e)&&0===e.length)},checked:function(){return e(this).filter(":checked").length>0},email:function(t){return e.fn.form.settings.regExp.email.test(t)},url:function(t){return e.fn.form.settings.regExp.url.test(t)},regExp:function(t,n){if(n instanceof RegExp)return t.match(n);var i,o=n.match(e.fn.form.settings.regExp.flags);return o&&(n=o.length>=2?o[1]:n,i=o.length>=3?o[2]:""),t.match(new RegExp(n,i))},minValue:function(t,n){return e.fn.form.settings.rules.range(t,n+"..","number")},maxValue:function(t,n){return e.fn.form.settings.rules.range(t,".."+n,"number")},integer:function(t,n){return e.fn.form.settings.rules.range(t,n,"integer")},range:function(t,n,i,o){var r,a,s;return"string"==typeof i&&(i=e.fn.form.settings.regExp[i]),i instanceof RegExp||(i=e.fn.form.settings.regExp.integer),n&&-1===["",".."].indexOf(n)&&(-1===n.indexOf("..")?i.test(n)&&(a=r=n-0):(s=n.split("..",2),i.test(s[0])&&(r=s[0]-0),i.test(s[1])&&(a=s[1]-0))),o&&(t=t.length),i.test(t)&&(void 0===r||t>=r)&&(void 0===a||t<=a)},decimal:function(t,n){return e.fn.form.settings.rules.range(t,n,"decimal")},number:function(t,n){return e.fn.form.settings.rules.range(t,n,"number")},is:function(e,t){return t="string"==typeof t?t.toLowerCase():t,(e="string"==typeof e?e.toLowerCase():e)==t},isExactly:function(e,t){return e==t},not:function(e,t){return(e="string"==typeof e?e.toLowerCase():e)!=(t="string"==typeof t?t.toLowerCase():t)},notExactly:function(e,t){return e!=t},contains:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1!==t.search(new RegExp(n,"i"))},containsExactly:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1!==t.search(new RegExp(n))},doesntContain:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1===t.search(new RegExp(n,"i"))},doesntContainExactly:function(t,n){return n=n.replace(e.fn.form.settings.regExp.escape,"\\$&"),-1===t.search(new RegExp(n))},minLength:function(t,n){return e.fn.form.settings.rules.range(t,n+"..","integer",!0)},exactLength:function(t,n){return e.fn.form.settings.rules.range(t,n+".."+n,"integer",!0)},maxLength:function(t,n){return e.fn.form.settings.rules.range(t,".."+n,"integer",!0)},size:function(t,n){return e.fn.form.settings.rules.range(t,n,"integer",!0)},match:function(e,t,n){var i=n.get.value(t,!0);return void 0!==i&&e.toString()===i.toString()},different:function(e,t,n){var i=n.get.value(t,!0);return void 0!==i&&e.toString()!==i.toString()},creditCard:function(t,n){var i,o,r={visa:{pattern:/^4/,length:[16]},amex:{pattern:/^3[47]/,length:[15]},mastercard:{pattern:/^5[1-5]/,length:[16]},discover:{pattern:/^(6011|622(12[6-9]|1[3-9]\d|[2-8]\d{2}|9[01]\d|92[0-5]|64[4-9])|65)/,length:[16]},unionPay:{pattern:/^(62|88)/,length:[16,17,18,19]},jcb:{pattern:/^35(2[89]|[3-8]\d)/,length:[16]},maestro:{pattern:/^(5018|5020|5038|6304|6759|676[1-3])/,length:[12,13,14,15,16,17,18,19]},dinersClub:{pattern:/^(30[0-5]|^36)/,length:[14]},laser:{pattern:/^(6304|670[69]|6771)/,length:[16,17,18,19]},visaElectron:{pattern:/^(4026|417500|4508|4844|491(3|7))/,length:[16]}},a={},s=!1,c="string"==typeof n&&n.split(",");if("string"==typeof t&&0!==t.length){if(t=t.replace(/[\s-]/g,""),c&&(e.each(c,(function(n,i){(o=r[i])&&(a={length:-1!==e.inArray(t.length,o.length),pattern:-1!==t.search(o.pattern)}).length>0&&a.pattern&&(s=!0)})),!s))return!1;if((i={number:-1!==e.inArray(t.length,r.unionPay.length),pattern:-1!==t.search(r.unionPay.pattern)}).number&&i.pattern)return!0;for(var l=t.length,u=0,d=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],f=0;l--;)f+=d[u][parseInt(t.charAt(l),10)],u^=1;return f%10==0&&f>0}},minCount:function(e,t){return 0===(t=Number(t))||(1===t?""!==e:e.split(",").length>=t)},exactCount:function(e,t){return 0===(t=Number(t))?""===e:1===t?""!==e&&-1===e.search(","):e.split(",").length===t},maxCount:function(e,t){return 0!==(t=Number(t))&&(1===t?-1===e.search(","):e.split(",").length<=t)}}}}(n(9755),window,document)},7030:(e,t,n)=>{
/*!
* # Fomantic-UI - State
* https://github.com/fomantic/Fomantic-UI/
@@ -35,7 +35,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.state=function(i){var o,r=e(this),a=Date.now(),s=[],c=arguments[0],l="string"==typeof c,u=[].slice.call(arguments,1),d=function(i,o){var r;return[t,n].indexOf(i)>=0?r=e(i):0===(r=e(o.document).find(i)).length&&(r=o.frameElement?d(i,o.parent):t),r};return r.each((function(){var n,f=e.isPlainObject(i)?e.extend(!0,{},e.fn.state.settings,i):e.extend({},e.fn.state.settings),p=f.error,h=f.metadata,m=f.className,g=f.namespace,v=f.states,b=f.text,y="."+g,x=g+"-module",w=e(this),C=f.context?d(f.context,t):w,S=this,k=w.data(x);n={initialize:function(){n.verbose("Initializing module"),f.automatic&&n.add.defaults(),C.on("mouseenter"+y,n.change.text).on("mouseleave"+y,n.reset.text).on("click"+y,n.toggle.state),n.instantiate()},instantiate:function(){n.verbose("Storing instance of module",n),k=n,w.data(x,n)},destroy:function(){n.verbose("Destroying previous module",k),C.off(y),w.removeData(h.storedText).removeData(x)},refresh:function(){n.verbose("Refreshing selector cache"),w=e(S)},add:{defaults:function(){var t=i&&e.isPlainObject(i.states)?i.states:{};e.each(f.defaults,(function(i,o){void 0!==n.is[i]&&n.is[i]()&&(n.verbose("Adding default states",i,S),e.extend(f.states,o,t))}))}},is:{active:function(){return w.hasClass(m.active)},loading:function(){return w.hasClass(m.loading)},inactive:function(){return!w.hasClass(m.active)},state:function(e){return void 0!==m[e]&&w.hasClass(m[e])},enabled:function(){return!w.is(f.filter.active)},disabled:function(){return w.is(f.filter.active)},textEnabled:function(){return!w.is(f.filter.text)},button:function(){return w.is(".button:not(a, .submit)")},input:function(){return w.is("input")},progress:function(){return w.is(".ui.progress")}},allow:function(e){n.debug("Now allowing state",e),v[e]=!0},disallow:function(e){n.debug("No longer allowing",e),v[e]=!1},allows:function(e){return v[e]||!1},enable:function(){w.removeClass(m.disabled)},disable:function(){w.addClass(m.disabled)},setState:function(e){n.allows(e)&&w.addClass(m[e])},removeState:function(e){n.allows(e)&&w.removeClass(m[e])},toggle:{state:function(){var t;if(n.allows("active")&&n.is.enabled()){if(n.refresh(),void 0!==e.fn.api)if(t=w.api("get request"),w.api("was cancelled"))n.debug("API Request cancelled by beforesend"),f.activateTest=function(){return!1},f.deactivateTest=function(){return!1};else if(t)return void n.listenTo(t);n.change.state()}}},listenTo:function(t){n.debug("API request detected, waiting for state signal",t),t&&(b.loading&&n.update.text(b.loading),e.when(t).then((function(){"resolved"===t.state()?(n.debug("API request succeeded"),f.activateTest=function(){return!0},f.deactivateTest=function(){return!0}):(n.debug("API request failed"),f.activateTest=function(){return!1},f.deactivateTest=function(){return!1}),n.change.state()})))},change:{state:function(){n.debug("Determining state change direction"),n.is.inactive()?n.activate():n.deactivate(),f.sync&&n.sync(),f.onChange.call(S)},text:function(){n.is.textEnabled()&&(n.is.disabled()?(n.verbose("Changing text to disabled text",b.hover),n.update.text(b.disabled)):n.is.active()?b.hover?(n.verbose("Changing text to hover text",b.hover),n.update.text(b.hover)):b.deactivate&&(n.verbose("Changing text to deactivating text",b.deactivate),n.update.text(b.deactivate)):b.hover?(n.verbose("Changing text to hover text",b.hover),n.update.text(b.hover)):b.activate&&(n.verbose("Changing text to activating text",b.activate),n.update.text(b.activate)))}},activate:function(){f.activateTest.call(S)&&(n.debug("Setting state to active"),w.addClass(m.active),n.update.text(b.active),f.onActivate.call(S))},deactivate:function(){f.deactivateTest.call(S)&&(n.debug("Setting state to inactive"),w.removeClass(m.active),n.update.text(b.inactive),f.onDeactivate.call(S))},sync:function(){n.verbose("Syncing other buttons to current state"),n.is.active()?r.not(w).state("activate"):r.not(w).state("deactivate")},get:{text:function(){return f.selector.text?w.find(f.selector.text).text():w.html()},textFor:function(e){return b[e]||!1}},flash:{text:function(e,t,i){var o=n.get.text();n.debug("Flashing text message",e,t),e=e||f.text.flash,t=t||f.flashDuration,i=i||function(){},n.update.text(e),setTimeout((function(){n.update.text(o),i.call(S)}),t)}},reset:{text:function(){var e=b.active||w.data(h.storedText),t=b.inactive||w.data(h.storedText);n.is.textEnabled()&&(n.is.active()&&e?(n.verbose("Resetting active text",e),n.update.text(e)):t&&(n.verbose("Resetting inactive text",e),n.update.text(t)))}},update:{text:function(e){var t=n.get.text();e&&e!==t?(n.debug("Updating text",e),f.selector.text?w.data(h.storedText,e).find(f.selector.text).text(e):w.data(h.storedText,e).html(e)):n.debug("Text is already set, ignoring update",e)}},setting:function(t,i){if(n.debug("Changing setting",t,i),e.isPlainObject(t))e.extend(!0,f,t);else{if(void 0===i)return f[t];e.isPlainObject(f[t])?e.extend(!0,f[t],i):f[t]=i}},internal:function(t,i){if(e.isPlainObject(t))e.extend(!0,n,t);else{if(void 0===i)return n[t];n[t]=i}},debug:function(){!f.silent&&f.debug&&(f.performance?n.performance.log(arguments):(n.debug=Function.prototype.bind.call(console.info,console,f.name+":"),n.debug.apply(console,arguments)))},verbose:function(){!f.silent&&f.verbose&&f.debug&&(f.performance?n.performance.log(arguments):(n.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),n.verbose.apply(console,arguments)))},error:function(){f.silent||(n.error=Function.prototype.bind.call(console.error,console,f.name+":"),n.error.apply(console,arguments))},performance:{log:function(e){var t,i;f.performance&&(i=(t=Date.now())-(a||t),a=t,s.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:S,"Execution Time":i})),clearTimeout(n.performance.timer),n.performance.timer=setTimeout((function(){n.performance.display()}),500)},display:function(){var t=f.name+":",i=0;a=!1,clearTimeout(n.performance.timer),e.each(s,(function(e,t){i+=t["Execution Time"]})),t+=" "+i+"ms",s.length>0&&(console.groupCollapsed(t),console.table?console.table(s):e.each(s,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),s=[]}},invoke:function(t,i,r){var a,s,c,l,d=k;return i=i||u,r=r||S,"string"==typeof t&&void 0!==d&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(i,o){var r=i!==a?o+t[i+1].charAt(0).toUpperCase()+t[i+1].slice(1):t;if(e.isPlainObject(d[r])&&i!==a)d=d[r];else{if(void 0!==d[r])return s=d[r],!1;if(!e.isPlainObject(d[o])||i===a)return void 0!==d[o]?(s=d[o],!1):(n.error(p.method,t),!1);d=d[o]}}))),"function"==typeof(l=s)&&"number"!=typeof l.nodeType?c=s.apply(r,i):void 0!==s&&(c=s),Array.isArray(o)?o.push(c):void 0!==o?o=[o,c]:void 0!==c&&(o=c),s}},l?(void 0===k&&n.initialize(),n.invoke(c)):(void 0!==k&&k.invoke("destroy"),n.initialize())})),void 0!==o?o:this},e.fn.state.settings={name:"State",debug:!1,verbose:!1,namespace:"state",performance:!0,onActivate:function(){},onDeactivate:function(){},onChange:function(){},activateTest:function(){return!0},deactivateTest:function(){return!0},automatic:!0,sync:!1,flashDuration:1e3,filter:{text:".loading, .disabled",active:".disabled"},context:!1,error:{method:"The method you called is not defined."},metadata:{promise:"promise",storedText:"stored-text"},className:{active:"active",disabled:"disabled",error:"error",loading:"loading",success:"success",warning:"warning"},selector:{text:!1},defaults:{input:{disabled:!0,loading:!0,active:!0},button:{disabled:!0,loading:!0,active:!0},progress:{active:!0,success:!0,warning:!0,error:!0}},states:{active:!0,disabled:!0,error:!0,loading:!0,success:!0,warning:!0},text:{disabled:!1,flash:!1,hover:!1,active:!1,inactive:!1,activate:!1,deactivate:!1}}}(n(9755),window,document)},7239:(e,t,n)=>{
+!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.state=function(i){var o,r=e(this),a=Date.now(),s=[],c=arguments[0],l="string"==typeof c,u=[].slice.call(arguments,1),d=function(i,o){var r;return[t,n].indexOf(i)>=0?r=e(i):0===(r=e(o.document).find(i)).length&&(r=o.frameElement?d(i,o.parent):t),r};return r.each((function(){var n,f=e.isPlainObject(i)?e.extend(!0,{},e.fn.state.settings,i):e.extend({},e.fn.state.settings),p=f.error,h=f.metadata,g=f.className,m=f.namespace,v=f.states,b=f.text,y="."+m,x=m+"-module",w=e(this),C=f.context?d(f.context,t):w,S=this,k=w.data(x);n={initialize:function(){n.verbose("Initializing module"),f.automatic&&n.add.defaults(),C.on("mouseenter"+y,n.change.text).on("mouseleave"+y,n.reset.text).on("click"+y,n.toggle.state),n.instantiate()},instantiate:function(){n.verbose("Storing instance of module",n),k=n,w.data(x,n)},destroy:function(){n.verbose("Destroying previous module",k),C.off(y),w.removeData(h.storedText).removeData(x)},refresh:function(){n.verbose("Refreshing selector cache"),w=e(S)},add:{defaults:function(){var t=i&&e.isPlainObject(i.states)?i.states:{};e.each(f.defaults,(function(i,o){void 0!==n.is[i]&&n.is[i]()&&(n.verbose("Adding default states",i,S),e.extend(f.states,o,t))}))}},is:{active:function(){return w.hasClass(g.active)},loading:function(){return w.hasClass(g.loading)},inactive:function(){return!w.hasClass(g.active)},state:function(e){return void 0!==g[e]&&w.hasClass(g[e])},enabled:function(){return!w.is(f.filter.active)},disabled:function(){return w.is(f.filter.active)},textEnabled:function(){return!w.is(f.filter.text)},button:function(){return w.is(".button:not(a, .submit)")},input:function(){return w.is("input")},progress:function(){return w.is(".ui.progress")}},allow:function(e){n.debug("Now allowing state",e),v[e]=!0},disallow:function(e){n.debug("No longer allowing",e),v[e]=!1},allows:function(e){return v[e]||!1},enable:function(){w.removeClass(g.disabled)},disable:function(){w.addClass(g.disabled)},setState:function(e){n.allows(e)&&w.addClass(g[e])},removeState:function(e){n.allows(e)&&w.removeClass(g[e])},toggle:{state:function(){var t;if(n.allows("active")&&n.is.enabled()){if(n.refresh(),void 0!==e.fn.api)if(t=w.api("get request"),w.api("was cancelled"))n.debug("API Request cancelled by beforesend"),f.activateTest=function(){return!1},f.deactivateTest=function(){return!1};else if(t)return void n.listenTo(t);n.change.state()}}},listenTo:function(t){n.debug("API request detected, waiting for state signal",t),t&&(b.loading&&n.update.text(b.loading),e.when(t).then((function(){"resolved"===t.state()?(n.debug("API request succeeded"),f.activateTest=function(){return!0},f.deactivateTest=function(){return!0}):(n.debug("API request failed"),f.activateTest=function(){return!1},f.deactivateTest=function(){return!1}),n.change.state()})))},change:{state:function(){n.debug("Determining state change direction"),n.is.inactive()?n.activate():n.deactivate(),f.sync&&n.sync(),f.onChange.call(S)},text:function(){n.is.textEnabled()&&(n.is.disabled()?(n.verbose("Changing text to disabled text",b.hover),n.update.text(b.disabled)):n.is.active()?b.hover?(n.verbose("Changing text to hover text",b.hover),n.update.text(b.hover)):b.deactivate&&(n.verbose("Changing text to deactivating text",b.deactivate),n.update.text(b.deactivate)):b.hover?(n.verbose("Changing text to hover text",b.hover),n.update.text(b.hover)):b.activate&&(n.verbose("Changing text to activating text",b.activate),n.update.text(b.activate)))}},activate:function(){f.activateTest.call(S)&&(n.debug("Setting state to active"),w.addClass(g.active),n.update.text(b.active),f.onActivate.call(S))},deactivate:function(){f.deactivateTest.call(S)&&(n.debug("Setting state to inactive"),w.removeClass(g.active),n.update.text(b.inactive),f.onDeactivate.call(S))},sync:function(){n.verbose("Syncing other buttons to current state"),n.is.active()?r.not(w).state("activate"):r.not(w).state("deactivate")},get:{text:function(){return f.selector.text?w.find(f.selector.text).text():w.html()},textFor:function(e){return b[e]||!1}},flash:{text:function(e,t,i){var o=n.get.text();n.debug("Flashing text message",e,t),e=e||f.text.flash,t=t||f.flashDuration,i=i||function(){},n.update.text(e),setTimeout((function(){n.update.text(o),i.call(S)}),t)}},reset:{text:function(){var e=b.active||w.data(h.storedText),t=b.inactive||w.data(h.storedText);n.is.textEnabled()&&(n.is.active()&&e?(n.verbose("Resetting active text",e),n.update.text(e)):t&&(n.verbose("Resetting inactive text",e),n.update.text(t)))}},update:{text:function(e){var t=n.get.text();e&&e!==t?(n.debug("Updating text",e),f.selector.text?w.data(h.storedText,e).find(f.selector.text).text(e):w.data(h.storedText,e).html(e)):n.debug("Text is already set, ignoring update",e)}},setting:function(t,i){if(n.debug("Changing setting",t,i),e.isPlainObject(t))e.extend(!0,f,t);else{if(void 0===i)return f[t];e.isPlainObject(f[t])?e.extend(!0,f[t],i):f[t]=i}},internal:function(t,i){if(e.isPlainObject(t))e.extend(!0,n,t);else{if(void 0===i)return n[t];n[t]=i}},debug:function(){!f.silent&&f.debug&&(f.performance?n.performance.log(arguments):(n.debug=Function.prototype.bind.call(console.info,console,f.name+":"),n.debug.apply(console,arguments)))},verbose:function(){!f.silent&&f.verbose&&f.debug&&(f.performance?n.performance.log(arguments):(n.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),n.verbose.apply(console,arguments)))},error:function(){f.silent||(n.error=Function.prototype.bind.call(console.error,console,f.name+":"),n.error.apply(console,arguments))},performance:{log:function(e){var t,i;f.performance&&(i=(t=Date.now())-(a||t),a=t,s.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:S,"Execution Time":i})),clearTimeout(n.performance.timer),n.performance.timer=setTimeout((function(){n.performance.display()}),500)},display:function(){var t=f.name+":",i=0;a=!1,clearTimeout(n.performance.timer),e.each(s,(function(e,t){i+=t["Execution Time"]})),t+=" "+i+"ms",s.length>0&&(console.groupCollapsed(t),console.table?console.table(s):e.each(s,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),s=[]}},invoke:function(t,i,r){var a,s,c,l,d=k;return i=i||u,r=r||S,"string"==typeof t&&void 0!==d&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(i,o){var r=i!==a?o+t[i+1].charAt(0).toUpperCase()+t[i+1].slice(1):t;if(e.isPlainObject(d[r])&&i!==a)d=d[r];else{if(void 0!==d[r])return s=d[r],!1;if(!e.isPlainObject(d[o])||i===a)return void 0!==d[o]?(s=d[o],!1):(n.error(p.method,t),!1);d=d[o]}}))),"function"==typeof(l=s)&&"number"!=typeof l.nodeType?c=s.apply(r,i):void 0!==s&&(c=s),Array.isArray(o)?o.push(c):void 0!==o?o=[o,c]:void 0!==c&&(o=c),s}},l?(void 0===k&&n.initialize(),n.invoke(c)):(void 0!==k&&k.invoke("destroy"),n.initialize())})),void 0!==o?o:this},e.fn.state.settings={name:"State",debug:!1,verbose:!1,namespace:"state",performance:!0,onActivate:function(){},onDeactivate:function(){},onChange:function(){},activateTest:function(){return!0},deactivateTest:function(){return!0},automatic:!0,sync:!1,flashDuration:1e3,filter:{text:".loading, .disabled",active:".disabled"},context:!1,error:{method:"The method you called is not defined."},metadata:{promise:"promise",storedText:"stored-text"},className:{active:"active",disabled:"disabled",error:"error",loading:"loading",success:"success",warning:"warning"},selector:{text:!1},defaults:{input:{disabled:!0,loading:!0,active:!0},button:{disabled:!0,loading:!0,active:!0},progress:{active:!0,success:!0,warning:!0,error:!0}},states:{active:!0,disabled:!0,error:!0,loading:!0,success:!0,warning:!0},text:{disabled:!1,flash:!1,hover:!1,active:!1,inactive:!1,activate:!1,deactivate:!1}}}(n(9755),window,document)},7239:(e,t,n)=>{
/*!
* # Fomantic-UI - Visibility
* https://github.com/fomantic/Fomantic-UI/
@@ -45,7 +45,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.visibility=function(o){var r,a=e(this),s=Date.now(),c=[],l=arguments[0],u="string"==typeof l,d=[].slice.call(arguments,1),f=function(i,o){var r;return[t,n].indexOf(i)>=0?r=e(i):0===(r=e(o.document).find(i)).length&&(r=o.frameElement?f(i,o.parent):t),r},p=a.length,h=0;return a.each((function(){var a,m,g,v,b=e.isPlainObject(o)?e.extend(!0,{},e.fn.visibility.settings,o):e.extend({},e.fn.visibility.settings),y=b.className,x=b.namespace,w=b.error,C=b.metadata,S="."+x,k="module-"+x,T=e(t),A=e(this),E=f(b.context,t),D=A.data(k),O=this,P=!1;v={initialize:function(){v.debug("Initializing",b),v.setup.cache(),v.should.trackChanges()&&("image"===b.type&&v.setup.image(),"fixed"===b.type&&v.setup.fixed(),b.observeChanges&&v.observeChanges(),v.bind.events()),v.save.position(),v.is.visible()||v.error(w.visible,A),b.initialCheck&&v.checkVisibility(),v.instantiate()},instantiate:function(){v.debug("Storing instance",v),A.data(k,v),D=v},destroy:function(){v.verbose("Destroying previous module"),g&&g.disconnect(),m&&m.disconnect(),T.off("load"+S,v.event.load).off("resize"+S,v.event.resize),E.off("scroll"+S,v.event.scroll).off("scrollchange"+S,v.event.scrollchange),"fixed"===b.type&&(v.resetFixed(),v.remove.placeholder()),A.off(S).removeData(k)},observeChanges:function(){"MutationObserver"in t&&(m=new MutationObserver(v.event.contextChanged),g=new MutationObserver(v.event.changed),m.observe(n,{childList:!0,subtree:!0}),g.observe(O,{childList:!0,subtree:!0}),v.debug("Setting up mutation observer",g))},bind:{events:function(){v.verbose("Binding visibility events to scroll and resize"),b.refreshOnLoad&&T.on("load"+S,v.event.load),T.on("resize"+S,v.event.resize),E.off("scroll"+S).on("scroll"+S,v.event.scroll).on("scrollchange"+S,v.event.scrollchange)}},event:{changed:function(e){v.verbose("DOM tree modified, updating visibility calculations"),v.timer=setTimeout((function(){v.verbose("DOM tree modified, updating sticky menu"),v.refresh()}),100)},contextChanged:function(t){[].forEach.call(t,(function(t){t.removedNodes&&[].forEach.call(t.removedNodes,(function(t){(t===O||e(t).find(O).length>0)&&(v.debug("Element removed from DOM, tearing down events"),v.destroy())}))}))},resize:function(){v.debug("Window resized"),b.refreshOnResize&&requestAnimationFrame(v.refresh)},load:function(){v.debug("Page finished loading"),requestAnimationFrame(v.refresh)},scroll:function(){b.throttle?(clearTimeout(v.timer),v.timer=setTimeout((function(){E.triggerHandler("scrollchange"+S,[E.scrollTop()])}),b.throttle)):requestAnimationFrame((function(){E.triggerHandler("scrollchange"+S,[E.scrollTop()])}))},scrollchange:function(e,t){v.checkVisibility(t)}},precache:function(e,t){Array.isArray(e)||(e=[e]);for(var o=e.length,r=0,a=[],s=n.createElement("img"),c=function(){++r>=e.length&&i(t)&&t()};o--;)(s=n.createElement("img")).addEventListener("load",c),s.addEventListener("error",c),s.src=e[o],a.push(s)},enableCallbacks:function(){v.debug("Allowing callbacks to occur"),P=!1},disableCallbacks:function(){v.debug("Disabling all callbacks temporarily"),P=!0},should:{trackChanges:function(){return u?(v.debug("One time query, no need to bind events"),!1):(v.debug("Callbacks being attached"),!0)}},setup:{cache:function(){v.cache={occurred:{},screen:{},element:{}}},image:function(){var e=A.data(C.src);e&&(v.verbose("Lazy loading image",e),b.once=!0,b.observeChanges=!1,b.onOnScreen=function(){v.debug("Image on screen",O),v.precache(e,(function(){v.set.image(e,(function(){++h===p&&b.onAllLoaded.call(this),b.onLoad.call(this)}))}))})},fixed:function(){v.debug("Setting up fixed"),b.once=!1,b.observeChanges=!1,b.initialCheck=!0,b.refreshOnLoad=!0,o.transition||(b.transition=!1),v.create.placeholder(),v.debug("Added placeholder",a),b.onTopPassed=function(){v.debug("Element passed, adding fixed position",A),v.show.placeholder(),v.set.fixed(),b.transition&&void 0!==e.fn.transition&&A.transition(b.transition,b.duration)},b.onTopPassedReverse=function(){v.debug("Element returned to position, removing fixed",A),v.hide.placeholder(),v.remove.fixed()}}},create:{placeholder:function(){v.verbose("Creating fixed position placeholder"),a=A.clone(!1).css("display","none").addClass(y.placeholder).insertAfter(A)}},show:{placeholder:function(){v.verbose("Showing placeholder"),a.css("display","block").css("visibility","hidden")}},hide:{placeholder:function(){v.verbose("Hiding placeholder"),a.css("display","none").css("visibility","")}},set:{fixed:function(){v.verbose("Setting element to fixed position"),A.addClass(y.fixed).css({position:"fixed",top:b.offset+"px",left:"auto",zIndex:b.zIndex}),b.onFixed.call(O)},image:function(t,n){if(A.attr("src",t),b.transition)if(void 0!==e.fn.transition){if(A.hasClass(y.visible))return void v.debug("Transition already occurred on this image, skipping animation");A.transition(b.transition,b.duration,n)}else A.fadeIn(b.duration,n);else A.show()}},is:{onScreen:function(){return v.get.elementCalculations().onScreen},offScreen:function(){return v.get.elementCalculations().offScreen},visible:function(){return!(!v.cache||!v.cache.element)&&!(0===v.cache.element.width&&0===v.cache.element.offset.top)},verticallyScrollableContext:function(){var e=E[0]!==t&&E.css("overflow-y");return"auto"===e||"scroll"===e},horizontallyScrollableContext:function(){var e=E[0]!==t&&E.css("overflow-x");return"auto"===e||"scroll"===e}},refresh:function(){v.debug("Refreshing constants (width/height)"),"fixed"===b.type&&v.resetFixed(),v.reset(),v.save.position(),b.checkOnRefresh&&v.checkVisibility(),b.onRefresh.call(O)},resetFixed:function(){v.remove.fixed(),v.remove.occurred()},reset:function(){v.verbose("Resetting all cached values"),e.isPlainObject(v.cache)&&(v.cache.screen={},v.cache.element={})},checkVisibility:function(e){v.verbose("Checking visibility of element",v.cache.element),!P&&v.is.visible()&&(v.save.scroll(e),v.save.calculations(),v.passed(),v.passingReverse(),v.topVisibleReverse(),v.bottomVisibleReverse(),v.topPassedReverse(),v.bottomPassedReverse(),v.onScreen(),v.offScreen(),v.passing(),v.topVisible(),v.bottomVisible(),v.topPassed(),v.bottomPassed(),b.onUpdate&&b.onUpdate.call(O,v.get.elementCalculations()))},passed:function(t,n){var i=v.get.elementCalculations();if(t&&n)b.onPassed[t]=n;else{if(void 0!==t)return v.get.pixelsPassed(t)>i.pixelsPassed;i.passing&&e.each(b.onPassed,(function(e,t){i.bottomVisible||i.pixelsPassed>v.get.pixelsPassed(e)?v.execute(t,e):b.once||v.remove.occurred(t)}))}},onScreen:function(e){var t=v.get.elementCalculations(),n=e||b.onOnScreen,i="onScreen";if(e&&(v.debug("Adding callback for onScreen",e),b.onOnScreen=e),t.onScreen?v.execute(n,i):b.once||v.remove.occurred(i),void 0!==e)return t.onOnScreen},offScreen:function(e){var t=v.get.elementCalculations(),n=e||b.onOffScreen,i="offScreen";if(e&&(v.debug("Adding callback for offScreen",e),b.onOffScreen=e),t.offScreen?v.execute(n,i):b.once||v.remove.occurred(i),void 0!==e)return t.onOffScreen},passing:function(e){var t=v.get.elementCalculations(),n=e||b.onPassing,i="passing";if(e&&(v.debug("Adding callback for passing",e),b.onPassing=e),t.passing?v.execute(n,i):b.once||v.remove.occurred(i),void 0!==e)return t.passing},topVisible:function(e){var t=v.get.elementCalculations(),n=e||b.onTopVisible,i="topVisible";if(e&&(v.debug("Adding callback for top visible",e),b.onTopVisible=e),t.topVisible?v.execute(n,i):b.once||v.remove.occurred(i),void 0===e)return t.topVisible},bottomVisible:function(e){var t=v.get.elementCalculations(),n=e||b.onBottomVisible,i="bottomVisible";if(e&&(v.debug("Adding callback for bottom visible",e),b.onBottomVisible=e),t.bottomVisible?v.execute(n,i):b.once||v.remove.occurred(i),void 0===e)return t.bottomVisible},topPassed:function(e){var t=v.get.elementCalculations(),n=e||b.onTopPassed,i="topPassed";if(e&&(v.debug("Adding callback for top passed",e),b.onTopPassed=e),t.topPassed?v.execute(n,i):b.once||v.remove.occurred(i),void 0===e)return t.topPassed},bottomPassed:function(e){var t=v.get.elementCalculations(),n=e||b.onBottomPassed,i="bottomPassed";if(e&&(v.debug("Adding callback for bottom passed",e),b.onBottomPassed=e),t.bottomPassed?v.execute(n,i):b.once||v.remove.occurred(i),void 0===e)return t.bottomPassed},passingReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onPassingReverse,i="passingReverse";if(e&&(v.debug("Adding callback for passing reverse",e),b.onPassingReverse=e),t.passing?b.once||v.remove.occurred(i):v.get.occurred("passing")&&v.execute(n,i),void 0!==e)return!t.passing},topVisibleReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onTopVisibleReverse,i="topVisibleReverse";if(e&&(v.debug("Adding callback for top visible reverse",e),b.onTopVisibleReverse=e),t.topVisible?b.once||v.remove.occurred(i):v.get.occurred("topVisible")&&v.execute(n,i),void 0===e)return!t.topVisible},bottomVisibleReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onBottomVisibleReverse,i="bottomVisibleReverse";if(e&&(v.debug("Adding callback for bottom visible reverse",e),b.onBottomVisibleReverse=e),t.bottomVisible?b.once||v.remove.occurred(i):v.get.occurred("bottomVisible")&&v.execute(n,i),void 0===e)return!t.bottomVisible},topPassedReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onTopPassedReverse,i="topPassedReverse";if(e&&(v.debug("Adding callback for top passed reverse",e),b.onTopPassedReverse=e),t.topPassed?b.once||v.remove.occurred(i):v.get.occurred("topPassed")&&v.execute(n,i),void 0===e)return!t.onTopPassed},bottomPassedReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onBottomPassedReverse,i="bottomPassedReverse";if(e&&(v.debug("Adding callback for bottom passed reverse",e),b.onBottomPassedReverse=e),t.bottomPassed?b.once||v.remove.occurred(i):v.get.occurred("bottomPassed")&&v.execute(n,i),void 0===e)return!t.bottomPassed},execute:function(e,t){var n=v.get.elementCalculations(),i=v.get.screenCalculations();(e=e||!1)&&(b.continuous?(v.debug("Callback being called continuously",t,n),e.call(O,n,i)):v.get.occurred(t)||(v.debug("Conditions met",t,n),e.call(O,n,i))),v.save.occurred(t)},remove:{fixed:function(){v.debug("Removing fixed position"),A.removeClass(y.fixed).css({position:"",top:"",left:"",zIndex:""}),b.onUnfixed.call(O)},placeholder:function(){v.debug("Removing placeholder content"),a&&a.remove()},occurred:function(e){if(e){var t=v.cache.occurred;void 0!==t[e]&&!0===t[e]&&(v.debug("Callback can now be called again",e),v.cache.occurred[e]=!1)}else v.cache.occurred={}}},save:{calculations:function(){v.verbose("Saving all calculations necessary to determine positioning"),v.save.direction(),v.save.screenCalculations(),v.save.elementCalculations()},occurred:function(e){e&&(void 0!==v.cache.occurred[e]&&!0===v.cache.occurred[e]||(v.verbose("Saving callback occurred",e),v.cache.occurred[e]=!0))},scroll:function(e){e=e+b.offset||E.scrollTop()+b.offset,v.cache.scroll=e},direction:function(){var e,t=v.get.scroll(),n=v.get.lastScroll();return e=t>n&&n?"down":t=t.top,t.bottomPassed=e.top>=t.bottom,t.topVisible=e.bottom>=t.top&&!t.topPassed,t.bottomVisible=e.bottom>=t.bottom&&!t.bottomPassed,t.pixelsPassed=0,t.percentagePassed=0,t.onScreen=(t.topVisible||t.passing)&&!t.bottomPassed,t.passing=t.topPassed&&!t.bottomPassed,t.offScreen=!t.onScreen,t.passing&&(t.pixelsPassed=e.top-t.top,t.percentagePassed=(e.top-t.top)/t.height),v.cache.element=t,v.verbose("Updated element calculations",t),t},screenCalculations:function(){var e=v.get.scroll();return v.save.direction(),v.cache.screen.top=e,v.cache.screen.bottom=e+v.cache.screen.height,v.cache.screen},screenSize:function(){v.verbose("Saving window position"),v.cache.screen={height:E.height()}},position:function(){v.save.screenSize(),v.save.elementPosition()}},get:{pixelsPassed:function(e){var t=v.get.elementCalculations();return e.search("%")>-1?t.height*(parseInt(e,10)/100):parseInt(e,10)},occurred:function(e){return void 0!==v.cache.occurred&&v.cache.occurred[e]||!1},direction:function(){return void 0===v.cache.direction&&v.save.direction(),v.cache.direction},elementPosition:function(){return void 0===v.cache.element&&v.save.elementPosition(),v.cache.element},elementCalculations:function(){return void 0===v.cache.element&&v.save.elementCalculations(),v.cache.element},screenCalculations:function(){return void 0===v.cache.screen&&v.save.screenCalculations(),v.cache.screen},screenSize:function(){return void 0===v.cache.screen&&v.save.screenSize(),v.cache.screen},scroll:function(){return void 0===v.cache.scroll&&v.save.scroll(),v.cache.scroll},lastScroll:function(){return void 0===v.cache.screen?(v.debug("First scroll event, no last scroll could be found"),!1):v.cache.screen.top}},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,b,t);else{if(void 0===n)return b[t];b[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,v,t);else{if(void 0===n)return v[t];v[t]=n}},debug:function(){!b.silent&&b.debug&&(b.performance?v.performance.log(arguments):(v.debug=Function.prototype.bind.call(console.info,console,b.name+":"),v.debug.apply(console,arguments)))},verbose:function(){!b.silent&&b.verbose&&b.debug&&(b.performance?v.performance.log(arguments):(v.verbose=Function.prototype.bind.call(console.info,console,b.name+":"),v.verbose.apply(console,arguments)))},error:function(){b.silent||(v.error=Function.prototype.bind.call(console.error,console,b.name+":"),v.error.apply(console,arguments))},performance:{log:function(e){var t,n;b.performance&&(n=(t=Date.now())-(s||t),s=t,c.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:O,"Execution Time":n})),clearTimeout(v.performance.timer),v.performance.timer=setTimeout((function(){v.performance.display()}),500)},display:function(){var t=b.name+":",n=0;s=!1,clearTimeout(v.performance.timer),e.each(c,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",c.length>0&&(console.groupCollapsed(t),console.table?console.table(c):e.each(c,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),c=[]}},invoke:function(t,n,o){var a,s,c,l=D;return n=n||d,o=o||O,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(v.error(w.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},u?(void 0===D&&v.initialize(),D.save.scroll(),D.save.calculations(),v.invoke(l)):(void 0!==D&&D.invoke("destroy"),v.initialize())})),void 0!==r?r:this},e.fn.visibility.settings={name:"Visibility",namespace:"visibility",debug:!1,verbose:!1,performance:!0,observeChanges:!0,initialCheck:!0,refreshOnLoad:!0,refreshOnResize:!0,checkOnRefresh:!0,once:!0,continuous:!1,offset:0,includeMargin:!1,context:t,throttle:!1,type:!1,zIndex:"10",transition:"fade in",duration:1e3,onPassed:{},onOnScreen:!1,onOffScreen:!1,onPassing:!1,onTopVisible:!1,onBottomVisible:!1,onTopPassed:!1,onBottomPassed:!1,onPassingReverse:!1,onTopVisibleReverse:!1,onBottomVisibleReverse:!1,onTopPassedReverse:!1,onBottomPassedReverse:!1,onLoad:function(){},onAllLoaded:function(){},onFixed:function(){},onUnfixed:function(){},onUpdate:!1,onRefresh:function(){},metadata:{src:"src"},className:{fixed:"fixed",placeholder:"constraint",visible:"visible"},error:{method:"The method you called is not defined.",visible:"Element is hidden, you must call refresh after element becomes visible"}}}(n(9755),window,document)},8182:(e,t,n)=>{
+!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.visibility=function(o){var r,a=e(this),s=Date.now(),c=[],l=arguments[0],u="string"==typeof l,d=[].slice.call(arguments,1),f=function(i,o){var r;return[t,n].indexOf(i)>=0?r=e(i):0===(r=e(o.document).find(i)).length&&(r=o.frameElement?f(i,o.parent):t),r},p=a.length,h=0;return a.each((function(){var a,g,m,v,b=e.isPlainObject(o)?e.extend(!0,{},e.fn.visibility.settings,o):e.extend({},e.fn.visibility.settings),y=b.className,x=b.namespace,w=b.error,C=b.metadata,S="."+x,k="module-"+x,T=e(t),E=e(this),A=f(b.context,t),D=E.data(k),O=this,R=!1;v={initialize:function(){v.debug("Initializing",b),v.setup.cache(),v.should.trackChanges()&&("image"===b.type&&v.setup.image(),"fixed"===b.type&&v.setup.fixed(),b.observeChanges&&v.observeChanges(),v.bind.events()),v.save.position(),v.is.visible()||v.error(w.visible,E),b.initialCheck&&v.checkVisibility(),v.instantiate()},instantiate:function(){v.debug("Storing instance",v),E.data(k,v),D=v},destroy:function(){v.verbose("Destroying previous module"),m&&m.disconnect(),g&&g.disconnect(),T.off("load"+S,v.event.load).off("resize"+S,v.event.resize),A.off("scroll"+S,v.event.scroll).off("scrollchange"+S,v.event.scrollchange),"fixed"===b.type&&(v.resetFixed(),v.remove.placeholder()),E.off(S).removeData(k)},observeChanges:function(){"MutationObserver"in t&&(g=new MutationObserver(v.event.contextChanged),m=new MutationObserver(v.event.changed),g.observe(n,{childList:!0,subtree:!0}),m.observe(O,{childList:!0,subtree:!0}),v.debug("Setting up mutation observer",m))},bind:{events:function(){v.verbose("Binding visibility events to scroll and resize"),b.refreshOnLoad&&T.on("load"+S,v.event.load),T.on("resize"+S,v.event.resize),A.off("scroll"+S).on("scroll"+S,v.event.scroll).on("scrollchange"+S,v.event.scrollchange)}},event:{changed:function(e){v.verbose("DOM tree modified, updating visibility calculations"),v.timer=setTimeout((function(){v.verbose("DOM tree modified, updating sticky menu"),v.refresh()}),100)},contextChanged:function(t){[].forEach.call(t,(function(t){t.removedNodes&&[].forEach.call(t.removedNodes,(function(t){(t===O||e(t).find(O).length>0)&&(v.debug("Element removed from DOM, tearing down events"),v.destroy())}))}))},resize:function(){v.debug("Window resized"),b.refreshOnResize&&requestAnimationFrame(v.refresh)},load:function(){v.debug("Page finished loading"),requestAnimationFrame(v.refresh)},scroll:function(){b.throttle?(clearTimeout(v.timer),v.timer=setTimeout((function(){A.triggerHandler("scrollchange"+S,[A.scrollTop()])}),b.throttle)):requestAnimationFrame((function(){A.triggerHandler("scrollchange"+S,[A.scrollTop()])}))},scrollchange:function(e,t){v.checkVisibility(t)}},precache:function(e,t){Array.isArray(e)||(e=[e]);for(var o=e.length,r=0,a=[],s=n.createElement("img"),c=function(){++r>=e.length&&i(t)&&t()};o--;)(s=n.createElement("img")).addEventListener("load",c),s.addEventListener("error",c),s.src=e[o],a.push(s)},enableCallbacks:function(){v.debug("Allowing callbacks to occur"),R=!1},disableCallbacks:function(){v.debug("Disabling all callbacks temporarily"),R=!0},should:{trackChanges:function(){return u?(v.debug("One time query, no need to bind events"),!1):(v.debug("Callbacks being attached"),!0)}},setup:{cache:function(){v.cache={occurred:{},screen:{},element:{}}},image:function(){var e=E.data(C.src);e&&(v.verbose("Lazy loading image",e),b.once=!0,b.observeChanges=!1,b.onOnScreen=function(){v.debug("Image on screen",O),v.precache(e,(function(){v.set.image(e,(function(){++h===p&&b.onAllLoaded.call(this),b.onLoad.call(this)}))}))})},fixed:function(){v.debug("Setting up fixed"),b.once=!1,b.observeChanges=!1,b.initialCheck=!0,b.refreshOnLoad=!0,o.transition||(b.transition=!1),v.create.placeholder(),v.debug("Added placeholder",a),b.onTopPassed=function(){v.debug("Element passed, adding fixed position",E),v.show.placeholder(),v.set.fixed(),b.transition&&void 0!==e.fn.transition&&E.transition(b.transition,b.duration)},b.onTopPassedReverse=function(){v.debug("Element returned to position, removing fixed",E),v.hide.placeholder(),v.remove.fixed()}}},create:{placeholder:function(){v.verbose("Creating fixed position placeholder"),a=E.clone(!1).css("display","none").addClass(y.placeholder).insertAfter(E)}},show:{placeholder:function(){v.verbose("Showing placeholder"),a.css("display","block").css("visibility","hidden")}},hide:{placeholder:function(){v.verbose("Hiding placeholder"),a.css("display","none").css("visibility","")}},set:{fixed:function(){v.verbose("Setting element to fixed position"),E.addClass(y.fixed).css({position:"fixed",top:b.offset+"px",left:"auto",zIndex:b.zIndex}),b.onFixed.call(O)},image:function(t,n){if(E.attr("src",t),b.transition)if(void 0!==e.fn.transition){if(E.hasClass(y.visible))return void v.debug("Transition already occurred on this image, skipping animation");E.transition(b.transition,b.duration,n)}else E.fadeIn(b.duration,n);else E.show()}},is:{onScreen:function(){return v.get.elementCalculations().onScreen},offScreen:function(){return v.get.elementCalculations().offScreen},visible:function(){return!(!v.cache||!v.cache.element)&&!(0===v.cache.element.width&&0===v.cache.element.offset.top)},verticallyScrollableContext:function(){var e=A[0]!==t&&A.css("overflow-y");return"auto"===e||"scroll"===e},horizontallyScrollableContext:function(){var e=A[0]!==t&&A.css("overflow-x");return"auto"===e||"scroll"===e}},refresh:function(){v.debug("Refreshing constants (width/height)"),"fixed"===b.type&&v.resetFixed(),v.reset(),v.save.position(),b.checkOnRefresh&&v.checkVisibility(),b.onRefresh.call(O)},resetFixed:function(){v.remove.fixed(),v.remove.occurred()},reset:function(){v.verbose("Resetting all cached values"),e.isPlainObject(v.cache)&&(v.cache.screen={},v.cache.element={})},checkVisibility:function(e){v.verbose("Checking visibility of element",v.cache.element),!R&&v.is.visible()&&(v.save.scroll(e),v.save.calculations(),v.passed(),v.passingReverse(),v.topVisibleReverse(),v.bottomVisibleReverse(),v.topPassedReverse(),v.bottomPassedReverse(),v.onScreen(),v.offScreen(),v.passing(),v.topVisible(),v.bottomVisible(),v.topPassed(),v.bottomPassed(),b.onUpdate&&b.onUpdate.call(O,v.get.elementCalculations()))},passed:function(t,n){var i=v.get.elementCalculations();if(t&&n)b.onPassed[t]=n;else{if(void 0!==t)return v.get.pixelsPassed(t)>i.pixelsPassed;i.passing&&e.each(b.onPassed,(function(e,t){i.bottomVisible||i.pixelsPassed>v.get.pixelsPassed(e)?v.execute(t,e):b.once||v.remove.occurred(t)}))}},onScreen:function(e){var t=v.get.elementCalculations(),n=e||b.onOnScreen,i="onScreen";if(e&&(v.debug("Adding callback for onScreen",e),b.onOnScreen=e),t.onScreen?v.execute(n,i):b.once||v.remove.occurred(i),void 0!==e)return t.onOnScreen},offScreen:function(e){var t=v.get.elementCalculations(),n=e||b.onOffScreen,i="offScreen";if(e&&(v.debug("Adding callback for offScreen",e),b.onOffScreen=e),t.offScreen?v.execute(n,i):b.once||v.remove.occurred(i),void 0!==e)return t.onOffScreen},passing:function(e){var t=v.get.elementCalculations(),n=e||b.onPassing,i="passing";if(e&&(v.debug("Adding callback for passing",e),b.onPassing=e),t.passing?v.execute(n,i):b.once||v.remove.occurred(i),void 0!==e)return t.passing},topVisible:function(e){var t=v.get.elementCalculations(),n=e||b.onTopVisible,i="topVisible";if(e&&(v.debug("Adding callback for top visible",e),b.onTopVisible=e),t.topVisible?v.execute(n,i):b.once||v.remove.occurred(i),void 0===e)return t.topVisible},bottomVisible:function(e){var t=v.get.elementCalculations(),n=e||b.onBottomVisible,i="bottomVisible";if(e&&(v.debug("Adding callback for bottom visible",e),b.onBottomVisible=e),t.bottomVisible?v.execute(n,i):b.once||v.remove.occurred(i),void 0===e)return t.bottomVisible},topPassed:function(e){var t=v.get.elementCalculations(),n=e||b.onTopPassed,i="topPassed";if(e&&(v.debug("Adding callback for top passed",e),b.onTopPassed=e),t.topPassed?v.execute(n,i):b.once||v.remove.occurred(i),void 0===e)return t.topPassed},bottomPassed:function(e){var t=v.get.elementCalculations(),n=e||b.onBottomPassed,i="bottomPassed";if(e&&(v.debug("Adding callback for bottom passed",e),b.onBottomPassed=e),t.bottomPassed?v.execute(n,i):b.once||v.remove.occurred(i),void 0===e)return t.bottomPassed},passingReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onPassingReverse,i="passingReverse";if(e&&(v.debug("Adding callback for passing reverse",e),b.onPassingReverse=e),t.passing?b.once||v.remove.occurred(i):v.get.occurred("passing")&&v.execute(n,i),void 0!==e)return!t.passing},topVisibleReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onTopVisibleReverse,i="topVisibleReverse";if(e&&(v.debug("Adding callback for top visible reverse",e),b.onTopVisibleReverse=e),t.topVisible?b.once||v.remove.occurred(i):v.get.occurred("topVisible")&&v.execute(n,i),void 0===e)return!t.topVisible},bottomVisibleReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onBottomVisibleReverse,i="bottomVisibleReverse";if(e&&(v.debug("Adding callback for bottom visible reverse",e),b.onBottomVisibleReverse=e),t.bottomVisible?b.once||v.remove.occurred(i):v.get.occurred("bottomVisible")&&v.execute(n,i),void 0===e)return!t.bottomVisible},topPassedReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onTopPassedReverse,i="topPassedReverse";if(e&&(v.debug("Adding callback for top passed reverse",e),b.onTopPassedReverse=e),t.topPassed?b.once||v.remove.occurred(i):v.get.occurred("topPassed")&&v.execute(n,i),void 0===e)return!t.onTopPassed},bottomPassedReverse:function(e){var t=v.get.elementCalculations(),n=e||b.onBottomPassedReverse,i="bottomPassedReverse";if(e&&(v.debug("Adding callback for bottom passed reverse",e),b.onBottomPassedReverse=e),t.bottomPassed?b.once||v.remove.occurred(i):v.get.occurred("bottomPassed")&&v.execute(n,i),void 0===e)return!t.bottomPassed},execute:function(e,t){var n=v.get.elementCalculations(),i=v.get.screenCalculations();(e=e||!1)&&(b.continuous?(v.debug("Callback being called continuously",t,n),e.call(O,n,i)):v.get.occurred(t)||(v.debug("Conditions met",t,n),e.call(O,n,i))),v.save.occurred(t)},remove:{fixed:function(){v.debug("Removing fixed position"),E.removeClass(y.fixed).css({position:"",top:"",left:"",zIndex:""}),b.onUnfixed.call(O)},placeholder:function(){v.debug("Removing placeholder content"),a&&a.remove()},occurred:function(e){if(e){var t=v.cache.occurred;void 0!==t[e]&&!0===t[e]&&(v.debug("Callback can now be called again",e),v.cache.occurred[e]=!1)}else v.cache.occurred={}}},save:{calculations:function(){v.verbose("Saving all calculations necessary to determine positioning"),v.save.direction(),v.save.screenCalculations(),v.save.elementCalculations()},occurred:function(e){e&&(void 0!==v.cache.occurred[e]&&!0===v.cache.occurred[e]||(v.verbose("Saving callback occurred",e),v.cache.occurred[e]=!0))},scroll:function(e){e=e+b.offset||A.scrollTop()+b.offset,v.cache.scroll=e},direction:function(){var e,t=v.get.scroll(),n=v.get.lastScroll();return e=t>n&&n?"down":t=t.top,t.bottomPassed=e.top>=t.bottom,t.topVisible=e.bottom>=t.top&&!t.topPassed,t.bottomVisible=e.bottom>=t.bottom&&!t.bottomPassed,t.pixelsPassed=0,t.percentagePassed=0,t.onScreen=(t.topVisible||t.passing)&&!t.bottomPassed,t.passing=t.topPassed&&!t.bottomPassed,t.offScreen=!t.onScreen,t.passing&&(t.pixelsPassed=e.top-t.top,t.percentagePassed=(e.top-t.top)/t.height),v.cache.element=t,v.verbose("Updated element calculations",t),t},screenCalculations:function(){var e=v.get.scroll();return v.save.direction(),v.cache.screen.top=e,v.cache.screen.bottom=e+v.cache.screen.height,v.cache.screen},screenSize:function(){v.verbose("Saving window position"),v.cache.screen={height:A.height()}},position:function(){v.save.screenSize(),v.save.elementPosition()}},get:{pixelsPassed:function(e){var t=v.get.elementCalculations();return e.search("%")>-1?t.height*(parseInt(e,10)/100):parseInt(e,10)},occurred:function(e){return void 0!==v.cache.occurred&&v.cache.occurred[e]||!1},direction:function(){return void 0===v.cache.direction&&v.save.direction(),v.cache.direction},elementPosition:function(){return void 0===v.cache.element&&v.save.elementPosition(),v.cache.element},elementCalculations:function(){return void 0===v.cache.element&&v.save.elementCalculations(),v.cache.element},screenCalculations:function(){return void 0===v.cache.screen&&v.save.screenCalculations(),v.cache.screen},screenSize:function(){return void 0===v.cache.screen&&v.save.screenSize(),v.cache.screen},scroll:function(){return void 0===v.cache.scroll&&v.save.scroll(),v.cache.scroll},lastScroll:function(){return void 0===v.cache.screen?(v.debug("First scroll event, no last scroll could be found"),!1):v.cache.screen.top}},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,b,t);else{if(void 0===n)return b[t];b[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,v,t);else{if(void 0===n)return v[t];v[t]=n}},debug:function(){!b.silent&&b.debug&&(b.performance?v.performance.log(arguments):(v.debug=Function.prototype.bind.call(console.info,console,b.name+":"),v.debug.apply(console,arguments)))},verbose:function(){!b.silent&&b.verbose&&b.debug&&(b.performance?v.performance.log(arguments):(v.verbose=Function.prototype.bind.call(console.info,console,b.name+":"),v.verbose.apply(console,arguments)))},error:function(){b.silent||(v.error=Function.prototype.bind.call(console.error,console,b.name+":"),v.error.apply(console,arguments))},performance:{log:function(e){var t,n;b.performance&&(n=(t=Date.now())-(s||t),s=t,c.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:O,"Execution Time":n})),clearTimeout(v.performance.timer),v.performance.timer=setTimeout((function(){v.performance.display()}),500)},display:function(){var t=b.name+":",n=0;s=!1,clearTimeout(v.performance.timer),e.each(c,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",c.length>0&&(console.groupCollapsed(t),console.table?console.table(c):e.each(c,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),c=[]}},invoke:function(t,n,o){var a,s,c,l=D;return n=n||d,o=o||O,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(v.error(w.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},u?(void 0===D&&v.initialize(),D.save.scroll(),D.save.calculations(),v.invoke(l)):(void 0!==D&&D.invoke("destroy"),v.initialize())})),void 0!==r?r:this},e.fn.visibility.settings={name:"Visibility",namespace:"visibility",debug:!1,verbose:!1,performance:!0,observeChanges:!0,initialCheck:!0,refreshOnLoad:!0,refreshOnResize:!0,checkOnRefresh:!0,once:!0,continuous:!1,offset:0,includeMargin:!1,context:t,throttle:!1,type:!1,zIndex:"10",transition:"fade in",duration:1e3,onPassed:{},onOnScreen:!1,onOffScreen:!1,onPassing:!1,onTopVisible:!1,onBottomVisible:!1,onTopPassed:!1,onBottomPassed:!1,onPassingReverse:!1,onTopVisibleReverse:!1,onBottomVisibleReverse:!1,onTopPassedReverse:!1,onBottomPassedReverse:!1,onLoad:function(){},onAllLoaded:function(){},onFixed:function(){},onUnfixed:function(){},onUpdate:!1,onRefresh:function(){},metadata:{src:"src"},className:{fixed:"fixed",placeholder:"constraint",visible:"visible"},error:{method:"The method you called is not defined.",visible:"Element is hidden, you must call refresh after element becomes visible"}}}(n(9755),window,document)},8182:(e,t,n)=>{
/*!
* # Fomantic-UI - Site
* https://github.com/fomantic/Fomantic-UI/
@@ -55,7 +55,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.site=function(i){var o,r,a=Date.now(),s=[],c=arguments[0],l="string"==typeof c,u=[].slice.call(arguments,1),d=e.isPlainObject(i)?e.extend(!0,{},e.site.settings,i):e.extend({},e.site.settings),f=d.namespace,p=d.error,h="module-"+f,m=e(n),g=this,v=m.data(h);return o={initialize:function(){o.instantiate()},instantiate:function(){o.verbose("Storing instance of site",o),v=o,m.data(h,o)},normalize:function(){},fix:{consoleClear:function(){o.debug("Disabling programmatic console clearing"),t.console.clear=function(){}}},moduleExists:function(t){return void 0!==e.fn[t]&&void 0!==e.fn[t].settings},enabled:{modules:function(t){var n=[];return t=t||d.modules,e.each(t,(function(e,t){o.moduleExists(t)&&n.push(t)})),n}},disabled:{modules:function(t){var n=[];return t=t||d.modules,e.each(t,(function(e,t){o.moduleExists(t)||n.push(t)})),n}},change:{setting:function(t,n,i,r){i="string"==typeof i?"all"===i?d.modules:[i]:i||d.modules,r=void 0===r||r,e.each(i,(function(i,a){var s,c=!o.moduleExists(a)||(e.fn[a].settings.namespace||!1);o.moduleExists(a)&&(o.verbose("Changing default setting",t,n,a),e.fn[a].settings[t]=n,r&&c&&(s=e(":data(module-"+c+")")).length>0&&(o.verbose("Modifying existing settings",s),s[a]("setting",t,n)))}))},settings:function(t,n,i){n="string"==typeof n?[n]:n||d.modules,i=void 0===i||i,e.each(n,(function(n,r){var a;o.moduleExists(r)&&(o.verbose("Changing default setting",t,r),e.extend(!0,e.fn[r].settings,t),i&&f&&(a=e(":data(module-"+f+")")).length>0&&(o.verbose("Modifying existing settings",a),a[r]("setting",t)))}))}},enable:{console:function(){o.console(!0)},debug:function(e,t){e=e||d.modules,o.debug("Enabling debug for modules",e),o.change.setting("debug",!0,e,t)},verbose:function(e,t){e=e||d.modules,o.debug("Enabling verbose debug for modules",e),o.change.setting("verbose",!0,e,t)}},disable:{console:function(){o.console(!1)},debug:function(e,t){e=e||d.modules,o.debug("Disabling debug for modules",e),o.change.setting("debug",!1,e,t)},verbose:function(e,t){e=e||d.modules,o.debug("Disabling verbose debug for modules",e),o.change.setting("verbose",!1,e,t)}},console:function(e){if(e){if(void 0===v.cache.console)return void o.error(p.console);o.debug("Restoring console function"),t.console=v.cache.console}else o.debug("Disabling console function"),v.cache.console=t.console,t.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},table:function(){},warn:function(){}}},destroy:function(){o.verbose("Destroying previous site for",m),m.removeData(h)},cache:{},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,d,t);else{if(void 0===n)return d[t];d[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,o,t);else{if(void 0===n)return o[t];o[t]=n}},debug:function(){d.debug&&(d.performance?o.performance.log(arguments):(o.debug=Function.prototype.bind.call(console.info,console,d.name+":"),o.debug.apply(console,arguments)))},verbose:function(){d.verbose&&d.debug&&(d.performance?o.performance.log(arguments):(o.verbose=Function.prototype.bind.call(console.info,console,d.name+":"),o.verbose.apply(console,arguments)))},error:function(){o.error=Function.prototype.bind.call(console.error,console,d.name+":"),o.error.apply(console,arguments)},performance:{log:function(e){var t,n;d.performance&&(n=(t=Date.now())-(a||t),a=t,s.push({Element:g,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":n})),clearTimeout(o.performance.timer),o.performance.timer=setTimeout((function(){o.performance.display()}),500)},display:function(){var t=d.name+":",n=0;a=!1,clearTimeout(o.performance.timer),e.each(s,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",s.length>0&&(console.groupCollapsed(t),console.table?console.table(s):e.each(s,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),s=[]}},invoke:function(t,n,i){var a,s,c,l,d=v;return n=n||u,i=i||g,"string"==typeof t&&void 0!==d&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var r=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(d[r])&&n!==a)d=d[r];else{if(void 0!==d[r])return s=d[r],!1;if(!e.isPlainObject(d[i])||n===a)return void 0!==d[i]?(s=d[i],!1):(o.error(p.method,t),!1);d=d[i]}}))),"function"==typeof(l=s)&&"number"!=typeof l.nodeType?c=s.apply(i,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},l?(void 0===v&&o.initialize(),o.invoke(c)):(void 0!==v&&o.destroy(),o.initialize()),void 0!==r?r:this},e.site=e.fn.site,e.site.settings={name:"Site",namespace:"site",error:{console:"Console cannot be restored, most likely it was overwritten outside of module",method:"The method you called is not defined."},debug:!1,verbose:!1,performance:!0,modules:["accordion","api","calendar","checkbox","dimmer","dropdown","embed","flyout","form","modal","nag","popup","progress","rating","search","shape","sidebar","slider","state","sticky","tab","toast","transition","visibility"],siteNamespace:"site",namespaceStub:{cache:{},config:{},sections:{},section:{},utilities:{}}},e.extend(e.expr.pseudos,{data:e.expr.createPseudo((function(t){return function(n){return!!e.data(n,t)}}))})}(n(9755),window,document)},3441:(e,t,n)=>{
+!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.site=function(i){var o,r,a=Date.now(),s=[],c=arguments[0],l="string"==typeof c,u=[].slice.call(arguments,1),d=e.isPlainObject(i)?e.extend(!0,{},e.site.settings,i):e.extend({},e.site.settings),f=d.namespace,p=d.error,h="module-"+f,g=e(n),m=this,v=g.data(h);return o={initialize:function(){o.instantiate()},instantiate:function(){o.verbose("Storing instance of site",o),v=o,g.data(h,o)},normalize:function(){},fix:{consoleClear:function(){o.debug("Disabling programmatic console clearing"),t.console.clear=function(){}}},moduleExists:function(t){return void 0!==e.fn[t]&&void 0!==e.fn[t].settings},enabled:{modules:function(t){var n=[];return t=t||d.modules,e.each(t,(function(e,t){o.moduleExists(t)&&n.push(t)})),n}},disabled:{modules:function(t){var n=[];return t=t||d.modules,e.each(t,(function(e,t){o.moduleExists(t)||n.push(t)})),n}},change:{setting:function(t,n,i,r){i="string"==typeof i?"all"===i?d.modules:[i]:i||d.modules,r=void 0===r||r,e.each(i,(function(i,a){var s,c=!o.moduleExists(a)||(e.fn[a].settings.namespace||!1);o.moduleExists(a)&&(o.verbose("Changing default setting",t,n,a),e.fn[a].settings[t]=n,r&&c&&(s=e(":data(module-"+c+")")).length>0&&(o.verbose("Modifying existing settings",s),s[a]("setting",t,n)))}))},settings:function(t,n,i){n="string"==typeof n?[n]:n||d.modules,i=void 0===i||i,e.each(n,(function(n,r){var a;o.moduleExists(r)&&(o.verbose("Changing default setting",t,r),e.extend(!0,e.fn[r].settings,t),i&&f&&(a=e(":data(module-"+f+")")).length>0&&(o.verbose("Modifying existing settings",a),a[r]("setting",t)))}))}},enable:{console:function(){o.console(!0)},debug:function(e,t){e=e||d.modules,o.debug("Enabling debug for modules",e),o.change.setting("debug",!0,e,t)},verbose:function(e,t){e=e||d.modules,o.debug("Enabling verbose debug for modules",e),o.change.setting("verbose",!0,e,t)}},disable:{console:function(){o.console(!1)},debug:function(e,t){e=e||d.modules,o.debug("Disabling debug for modules",e),o.change.setting("debug",!1,e,t)},verbose:function(e,t){e=e||d.modules,o.debug("Disabling verbose debug for modules",e),o.change.setting("verbose",!1,e,t)}},console:function(e){if(e){if(void 0===v.cache.console)return void o.error(p.console);o.debug("Restoring console function"),t.console=v.cache.console}else o.debug("Disabling console function"),v.cache.console=t.console,t.console={clear:function(){},error:function(){},group:function(){},groupCollapsed:function(){},groupEnd:function(){},info:function(){},log:function(){},table:function(){},warn:function(){}}},destroy:function(){o.verbose("Destroying previous site for",g),g.removeData(h)},cache:{},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,d,t);else{if(void 0===n)return d[t];d[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,o,t);else{if(void 0===n)return o[t];o[t]=n}},debug:function(){d.debug&&(d.performance?o.performance.log(arguments):(o.debug=Function.prototype.bind.call(console.info,console,d.name+":"),o.debug.apply(console,arguments)))},verbose:function(){d.verbose&&d.debug&&(d.performance?o.performance.log(arguments):(o.verbose=Function.prototype.bind.call(console.info,console,d.name+":"),o.verbose.apply(console,arguments)))},error:function(){o.error=Function.prototype.bind.call(console.error,console,d.name+":"),o.error.apply(console,arguments)},performance:{log:function(e){var t,n;d.performance&&(n=(t=Date.now())-(a||t),a=t,s.push({Element:m,Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":n})),clearTimeout(o.performance.timer),o.performance.timer=setTimeout((function(){o.performance.display()}),500)},display:function(){var t=d.name+":",n=0;a=!1,clearTimeout(o.performance.timer),e.each(s,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",s.length>0&&(console.groupCollapsed(t),console.table?console.table(s):e.each(s,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),s=[]}},invoke:function(t,n,i){var a,s,c,l,d=v;return n=n||u,i=i||m,"string"==typeof t&&void 0!==d&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var r=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(d[r])&&n!==a)d=d[r];else{if(void 0!==d[r])return s=d[r],!1;if(!e.isPlainObject(d[i])||n===a)return void 0!==d[i]?(s=d[i],!1):(o.error(p.method,t),!1);d=d[i]}}))),"function"==typeof(l=s)&&"number"!=typeof l.nodeType?c=s.apply(i,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},l?(void 0===v&&o.initialize(),o.invoke(c)):(void 0!==v&&o.destroy(),o.initialize()),void 0!==r?r:this},e.site=e.fn.site,e.site.settings={name:"Site",namespace:"site",error:{console:"Console cannot be restored, most likely it was overwritten outside of module",method:"The method you called is not defined."},debug:!1,verbose:!1,performance:!0,modules:["accordion","api","calendar","checkbox","dimmer","dropdown","embed","flyout","form","modal","nag","popup","progress","rating","search","shape","sidebar","slider","state","sticky","tab","toast","transition","visibility"],siteNamespace:"site",namespaceStub:{cache:{},config:{},sections:{},section:{},utilities:{}}},e.extend(e.expr.pseudos,{data:e.expr.createPseudo((function(t){return function(n){return!!e.data(n,t)}}))})}(n(9755),window,document)},3441:(e,t,n)=>{
/*!
* # Fomantic-UI - Accordion
* https://github.com/fomantic/Fomantic-UI/
@@ -65,7 +65,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.accordion=function(n){var i,o=e(this),r=Date.now(),a=[],s=arguments[0],c="string"==typeof s,l=[].slice.call(arguments,1);return o.each((function(){var o,u,d=e.isPlainObject(n)?e.extend(!0,{},e.fn.accordion.settings,n):e.extend({},e.fn.accordion.settings),f=d.className,p=d.namespace,h=d.selector,m=d.error,g="."+p,v="module-"+p,b=e(this),y=b.find(h.title),x=b.find(h.content),w=this,C=b.data(v);u={initialize:function(){u.debug("Initializing",b),u.bind.events(),d.observeChanges&&u.observeChanges(),u.instantiate()},instantiate:function(){C=u,b.data(v,u)},destroy:function(){u.debug("Destroying previous instance",b),b.off(g).removeData(v)},refresh:function(){y=b.find(h.title),x=b.find(h.content)},observeChanges:function(){"MutationObserver"in t&&((o=new MutationObserver((function(e){u.debug("DOM tree modified, updating selector cache"),u.refresh()}))).observe(w,{childList:!0,subtree:!0}),u.debug("Setting up mutation observer",o))},bind:{events:function(){u.debug("Binding delegated events"),b.on(d.on+g,h.trigger,u.event.click)}},event:{click:function(t){0===e(t.target).closest(h.ignore).length&&u.toggle.call(this)}},toggle:function(t){var n=void 0!==t?"number"==typeof t?y.eq(t):e(t).closest(h.title):e(this).closest(h.title),i=n.next(x),o=i.hasClass(f.animating),r=i.hasClass(f.active),a=r&&!o,s=!r&&o;u.debug("Toggling visibility of content",n),a||s?d.collapsible?u.close.call(n):u.debug("Cannot close accordion content collapsing is disabled"):u.open.call(n)},open:function(t){var n=void 0!==t?"number"==typeof t?y.eq(t):e(t).closest(h.title):e(this).closest(h.title),i=n.next(x),o=i.hasClass(f.animating);i.hasClass(f.active)||o?u.debug("Accordion already open, skipping",i):(u.debug("Opening accordion content",n),d.onOpening.call(i),d.onChanging.call(i),d.exclusive&&u.closeOthers.call(n),n.addClass(f.active),i.stop(!0,!0).addClass(f.animating),d.animateChildren&&(void 0!==e.fn.transition?i.children().transition({animation:"fade in",queue:!1,useFailSafe:!0,debug:d.debug,verbose:d.verbose,silent:d.silent,duration:d.duration,skipInlineHidden:!0,onComplete:function(){i.children().removeClass(f.transition)}}):i.children().stop(!0,!0).animate({opacity:1},d.duration,u.resetOpacity)),i.slideDown(d.duration,d.easing,(function(){i.removeClass(f.animating).addClass(f.active),u.reset.display.call(this),d.onOpen.call(this),d.onChange.call(this)})))},close:function(t){var n=void 0!==t?"number"==typeof t?y.eq(t):e(t).closest(h.title):e(this).closest(h.title),i=n.next(x),o=i.hasClass(f.animating),r=i.hasClass(f.active);!r&&!(!r&&o)||r&&o||(u.debug("Closing accordion content",i),d.onClosing.call(i),d.onChanging.call(i),n.removeClass(f.active),i.stop(!0,!0).addClass(f.animating),d.animateChildren&&(void 0!==e.fn.transition?i.children().transition({animation:"fade out",queue:!1,useFailSafe:!0,debug:d.debug,verbose:d.verbose,silent:d.silent,duration:d.duration,skipInlineHidden:!0}):i.children().stop(!0,!0).animate({opacity:0},d.duration,u.resetOpacity)),i.slideUp(d.duration,d.easing,(function(){i.removeClass(f.animating).removeClass(f.active),u.reset.display.call(this),d.onClose.call(this),d.onChange.call(this)})))},closeOthers:function(t){var n,i,o,r=void 0!==t?y.eq(t):e(this).closest(h.title),a=r.parents(h.content).prev(h.title),s=r.closest(h.accordion),c=h.title+"."+f.active+":visible",l=h.content+"."+f.active+":visible";d.closeNested?o=(n=s.find(c).not(a)).next(x):(n=s.find(c).not(a),i=s.find(l).find(c).not(a),o=(n=n.not(i)).next(x)),n.length>0&&(u.debug("Exclusive enabled, closing other content",n),n.removeClass(f.active),o.removeClass(f.animating).stop(!0,!0),d.animateChildren&&(void 0!==e.fn.transition?o.children().transition({animation:"fade out",useFailSafe:!0,debug:d.debug,verbose:d.verbose,silent:d.silent,duration:d.duration,skipInlineHidden:!0}):o.children().stop(!0,!0).animate({opacity:0},d.duration,u.resetOpacity)),o.slideUp(d.duration,d.easing,(function(){e(this).removeClass(f.active),u.reset.display.call(this)})))},reset:{display:function(){u.verbose("Removing inline display from element",this);var t=e(this);t.css("display",""),""===t.attr("style")&&t.attr("style","").removeAttr("style")},opacity:function(){u.verbose("Removing inline opacity from element",this);var t=e(this);t.css("opacity",""),""===t.attr("style")&&t.attr("style","").removeAttr("style")}},setting:function(t,n){if(u.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,d,t);else{if(void 0===n)return d[t];e.isPlainObject(d[t])?e.extend(!0,d[t],n):d[t]=n}},internal:function(t,n){if(u.debug("Changing internal",t,n),void 0===n)return u[t];e.isPlainObject(t)?e.extend(!0,u,t):u[t]=n},debug:function(){!d.silent&&d.debug&&(d.performance?u.performance.log(arguments):(u.debug=Function.prototype.bind.call(console.info,console,d.name+":"),u.debug.apply(console,arguments)))},verbose:function(){!d.silent&&d.verbose&&d.debug&&(d.performance?u.performance.log(arguments):(u.verbose=Function.prototype.bind.call(console.info,console,d.name+":"),u.verbose.apply(console,arguments)))},error:function(){d.silent||(u.error=Function.prototype.bind.call(console.error,console,d.name+":"),u.error.apply(console,arguments))},performance:{log:function(e){var t,n;d.performance&&(n=(t=Date.now())-(r||t),r=t,a.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:w,"Execution Time":n})),clearTimeout(u.performance.timer),u.performance.timer=setTimeout((function(){u.performance.display()}),500)},display:function(){var t=d.name+":",n=0;r=!1,clearTimeout(u.performance.timer),e.each(a,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a.length>0&&(console.groupCollapsed(t),console.table?console.table(a):e.each(a,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),a=[]}},invoke:function(t,n,o){var r,a,s,c,d=C;return n=n||l,o=o||w,"string"==typeof t&&void 0!==d&&(t=t.split(/[ .]/),r=t.length-1,e.each(t,(function(n,i){var o=n!==r?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(d[o])&&n!==r)d=d[o];else{if(void 0!==d[o])return a=d[o],!1;if(!e.isPlainObject(d[i])||n===r)return void 0!==d[i]?(a=d[i],!1):(u.error(m.method,t),!1);d=d[i]}}))),"function"==typeof(c=a)&&"number"!=typeof c.nodeType?s=a.apply(o,n):void 0!==a&&(s=a),Array.isArray(i)?i.push(s):void 0!==i?i=[i,s]:void 0!==s&&(i=s),a}},c?(void 0===C&&u.initialize(),u.invoke(s)):(void 0!==C&&C.invoke("destroy"),u.initialize())})),void 0!==i?i:this},e.fn.accordion.settings={name:"Accordion",namespace:"accordion",silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",observeChanges:!0,exclusive:!0,collapsible:!0,closeNested:!1,animateChildren:!0,duration:350,easing:"easeOutQuad",onOpening:function(){},onClosing:function(){},onChanging:function(){},onOpen:function(){},onClose:function(){},onChange:function(){},error:{method:"The method you called is not defined"},className:{active:"active",animating:"animating",transition:"transition"},selector:{accordion:".accordion",title:".title",trigger:".title",ignore:".ui.dropdown",content:".content"}},e.extend(e.easing,{easeOutQuad:function(e){return 1-(1-e)*(1-e)}})}(n(9755),window,document)},4115:(e,t,n)=>{
+!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.accordion=function(n){var i,o=e(this),r=Date.now(),a=[],s=arguments[0],c="string"==typeof s,l=[].slice.call(arguments,1);return o.each((function(){var o,u,d=e.isPlainObject(n)?e.extend(!0,{},e.fn.accordion.settings,n):e.extend({},e.fn.accordion.settings),f=d.className,p=d.namespace,h=d.selector,g=d.error,m="."+p,v="module-"+p,b=e(this),y=b.find(h.title),x=b.find(h.content),w=this,C=b.data(v);u={initialize:function(){u.debug("Initializing",b),u.bind.events(),d.observeChanges&&u.observeChanges(),u.instantiate()},instantiate:function(){C=u,b.data(v,u)},destroy:function(){u.debug("Destroying previous instance",b),b.off(m).removeData(v)},refresh:function(){y=b.find(h.title),x=b.find(h.content)},observeChanges:function(){"MutationObserver"in t&&((o=new MutationObserver((function(e){u.debug("DOM tree modified, updating selector cache"),u.refresh()}))).observe(w,{childList:!0,subtree:!0}),u.debug("Setting up mutation observer",o))},bind:{events:function(){u.debug("Binding delegated events"),b.on(d.on+m,h.trigger,u.event.click)}},event:{click:function(t){0===e(t.target).closest(h.ignore).length&&u.toggle.call(this)}},toggle:function(t){var n=void 0!==t?"number"==typeof t?y.eq(t):e(t).closest(h.title):e(this).closest(h.title),i=n.next(x),o=i.hasClass(f.animating),r=i.hasClass(f.active),a=r&&!o,s=!r&&o;u.debug("Toggling visibility of content",n),a||s?d.collapsible?u.close.call(n):u.debug("Cannot close accordion content collapsing is disabled"):u.open.call(n)},open:function(t){var n=void 0!==t?"number"==typeof t?y.eq(t):e(t).closest(h.title):e(this).closest(h.title),i=n.next(x),o=i.hasClass(f.animating);i.hasClass(f.active)||o?u.debug("Accordion already open, skipping",i):(u.debug("Opening accordion content",n),d.onOpening.call(i),d.onChanging.call(i),d.exclusive&&u.closeOthers.call(n),n.addClass(f.active),i.stop(!0,!0).addClass(f.animating),d.animateChildren&&(void 0!==e.fn.transition?i.children().transition({animation:"fade in",queue:!1,useFailSafe:!0,debug:d.debug,verbose:d.verbose,silent:d.silent,duration:d.duration,skipInlineHidden:!0,onComplete:function(){i.children().removeClass(f.transition)}}):i.children().stop(!0,!0).animate({opacity:1},d.duration,u.resetOpacity)),i.slideDown(d.duration,d.easing,(function(){i.removeClass(f.animating).addClass(f.active),u.reset.display.call(this),d.onOpen.call(this),d.onChange.call(this)})))},close:function(t){var n=void 0!==t?"number"==typeof t?y.eq(t):e(t).closest(h.title):e(this).closest(h.title),i=n.next(x),o=i.hasClass(f.animating),r=i.hasClass(f.active);!r&&!(!r&&o)||r&&o||(u.debug("Closing accordion content",i),d.onClosing.call(i),d.onChanging.call(i),n.removeClass(f.active),i.stop(!0,!0).addClass(f.animating),d.animateChildren&&(void 0!==e.fn.transition?i.children().transition({animation:"fade out",queue:!1,useFailSafe:!0,debug:d.debug,verbose:d.verbose,silent:d.silent,duration:d.duration,skipInlineHidden:!0}):i.children().stop(!0,!0).animate({opacity:0},d.duration,u.resetOpacity)),i.slideUp(d.duration,d.easing,(function(){i.removeClass(f.animating).removeClass(f.active),u.reset.display.call(this),d.onClose.call(this),d.onChange.call(this)})))},closeOthers:function(t){var n,i,o,r=void 0!==t?y.eq(t):e(this).closest(h.title),a=r.parents(h.content).prev(h.title),s=r.closest(h.accordion),c=h.title+"."+f.active+":visible",l=h.content+"."+f.active+":visible";d.closeNested?o=(n=s.find(c).not(a)).next(x):(n=s.find(c).not(a),i=s.find(l).find(c).not(a),o=(n=n.not(i)).next(x)),n.length>0&&(u.debug("Exclusive enabled, closing other content",n),n.removeClass(f.active),o.removeClass(f.animating).stop(!0,!0),d.animateChildren&&(void 0!==e.fn.transition?o.children().transition({animation:"fade out",useFailSafe:!0,debug:d.debug,verbose:d.verbose,silent:d.silent,duration:d.duration,skipInlineHidden:!0}):o.children().stop(!0,!0).animate({opacity:0},d.duration,u.resetOpacity)),o.slideUp(d.duration,d.easing,(function(){e(this).removeClass(f.active),u.reset.display.call(this)})))},reset:{display:function(){u.verbose("Removing inline display from element",this);var t=e(this);t.css("display",""),""===t.attr("style")&&t.attr("style","").removeAttr("style")},opacity:function(){u.verbose("Removing inline opacity from element",this);var t=e(this);t.css("opacity",""),""===t.attr("style")&&t.attr("style","").removeAttr("style")}},setting:function(t,n){if(u.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,d,t);else{if(void 0===n)return d[t];e.isPlainObject(d[t])?e.extend(!0,d[t],n):d[t]=n}},internal:function(t,n){if(u.debug("Changing internal",t,n),void 0===n)return u[t];e.isPlainObject(t)?e.extend(!0,u,t):u[t]=n},debug:function(){!d.silent&&d.debug&&(d.performance?u.performance.log(arguments):(u.debug=Function.prototype.bind.call(console.info,console,d.name+":"),u.debug.apply(console,arguments)))},verbose:function(){!d.silent&&d.verbose&&d.debug&&(d.performance?u.performance.log(arguments):(u.verbose=Function.prototype.bind.call(console.info,console,d.name+":"),u.verbose.apply(console,arguments)))},error:function(){d.silent||(u.error=Function.prototype.bind.call(console.error,console,d.name+":"),u.error.apply(console,arguments))},performance:{log:function(e){var t,n;d.performance&&(n=(t=Date.now())-(r||t),r=t,a.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:w,"Execution Time":n})),clearTimeout(u.performance.timer),u.performance.timer=setTimeout((function(){u.performance.display()}),500)},display:function(){var t=d.name+":",n=0;r=!1,clearTimeout(u.performance.timer),e.each(a,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a.length>0&&(console.groupCollapsed(t),console.table?console.table(a):e.each(a,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),a=[]}},invoke:function(t,n,o){var r,a,s,c,d=C;return n=n||l,o=o||w,"string"==typeof t&&void 0!==d&&(t=t.split(/[ .]/),r=t.length-1,e.each(t,(function(n,i){var o=n!==r?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(d[o])&&n!==r)d=d[o];else{if(void 0!==d[o])return a=d[o],!1;if(!e.isPlainObject(d[i])||n===r)return void 0!==d[i]?(a=d[i],!1):(u.error(g.method,t),!1);d=d[i]}}))),"function"==typeof(c=a)&&"number"!=typeof c.nodeType?s=a.apply(o,n):void 0!==a&&(s=a),Array.isArray(i)?i.push(s):void 0!==i?i=[i,s]:void 0!==s&&(i=s),a}},c?(void 0===C&&u.initialize(),u.invoke(s)):(void 0!==C&&C.invoke("destroy"),u.initialize())})),void 0!==i?i:this},e.fn.accordion.settings={name:"Accordion",namespace:"accordion",silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",observeChanges:!0,exclusive:!0,collapsible:!0,closeNested:!1,animateChildren:!0,duration:350,easing:"easeOutQuad",onOpening:function(){},onClosing:function(){},onChanging:function(){},onOpen:function(){},onClose:function(){},onChange:function(){},error:{method:"The method you called is not defined"},className:{active:"active",animating:"animating",transition:"transition"},selector:{accordion:".accordion",title:".title",trigger:".title",ignore:".ui.dropdown",content:".content"}},e.extend(e.easing,{easeOutQuad:function(e){return 1-(1-e)*(1-e)}})}(n(9755),window,document)},4115:(e,t,n)=>{
/*!
* # Fomantic-UI - Checkbox
* https://github.com/fomantic/Fomantic-UI/
@@ -75,7 +75,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.checkbox=function(o){var r,a=e(this),s=Date.now(),c=[],l=arguments[0],u="string"==typeof l,d=[].slice.call(arguments,1);return a.each((function(){var a,f,p=e.extend(!0,{},e.fn.checkbox.settings,o),h=p.className,m=p.namespace,g=p.selector,v=p.error,b="."+m,y="module-"+m,x=e(this),w=e(this).children(g.label),C=e(this).children(g.input),S=C[0],k=!1,T=!1,A=x.data(y),E=this;f={initialize:function(){f.verbose("Initializing checkbox",p),f.create.label(),f.bind.events(),f.set.tabbable(),f.hide.input(),f.observeChanges(),f.instantiate(),f.setup()},instantiate:function(){f.verbose("Storing instance of module",f),A=f,x.data(y,f)},destroy:function(){f.verbose("Destroying module"),f.unbind.events(),f.show.input(),x.removeData(y)},fix:{reference:function(){x.is(g.input)&&(f.debug("Behavior called on adjusting invoked element"),x=x.closest(g.checkbox),f.refresh())}},setup:function(){f.set.initialLoad(),f.is.indeterminate()?(f.debug("Initial value is indeterminate"),f.indeterminate()):f.is.checked()?(f.debug("Initial value is checked"),f.check()):(f.debug("Initial value is unchecked"),f.uncheck()),f.remove.initialLoad()},refresh:function(){w=x.children(g.label),C=x.children(g.input),S=C[0]},hide:{input:function(){f.verbose("Modifying z-index to be unselectable"),C.addClass(h.hidden)}},show:{input:function(){f.verbose("Modifying z-index to be selectable"),C.removeClass(h.hidden)}},observeChanges:function(){"MutationObserver"in t&&((a=new MutationObserver((function(e){f.debug("DOM tree modified, updating selector cache"),f.refresh()}))).observe(E,{childList:!0,subtree:!0}),f.debug("Setting up mutation observer",a))},attachEvents:function(t,n){var o=e(t);n=i(f[n])?f[n]:f.toggle,o.length>0?(f.debug("Attaching checkbox events to element",t,n),o.on("click"+b,n)):f.error(v.notFound)},preventDefaultOnInputTarget:function(){void 0!==event&&null!==event&&e(event.target).is(g.input)&&(f.verbose("Preventing default check action after manual check action"),event.preventDefault())},event:{change:function(e){f.should.ignoreCallbacks()||p.onChange.call(S)},click:function(t){var n=e(t.target);n.is(g.input)?f.verbose("Using default check action on initialized checkbox"):n.is(g.link)?f.debug("Clicking link inside checkbox, skipping toggle"):(f.toggle(),C.trigger("focus"),t.preventDefault())},keydown:function(t){var n=t.which,i=13,o=32,r=27,a=37,s=38,c=39,l=40,u=f.get.radios(),d=u.index(x),h=u.length,m=!1;if(n===a||n===s?m=(0===d?h:d)-1:n!==c&&n!==l||(m=d===h-1?0:d+1),!f.should.ignoreCallbacks()&&!1!==m){if(!1===p.beforeUnchecked.apply(S))return f.verbose("Option not allowed to be unchecked, cancelling key navigation"),!1;if(!1===p.beforeChecked.apply(e(u[m]).children(g.input)[0]))return f.verbose("Next option should not allow check, cancelling key navigation"),!1}T=!1,n===r?(f.verbose("Escape key pressed blurring field"),C.trigger("blur"),T=!0,t.stopPropagation()):f.can.change()?t.ctrlKey||(n===o||n===i&&p.enableEnterKey?(f.verbose("Enter/space key pressed, toggling checkbox"),f.toggle(),T=!0):x.is(".toggle, .slider")&&!f.is.radio()&&(n===a&&f.is.checked()?(f.uncheck(),T=!0):n===c&&f.is.unchecked()&&(f.check(),T=!0))):T=!0},keyup:function(e){T&&e.preventDefault()}},check:function(){f.should.allowCheck()&&(f.debug("Checking checkbox",C),f.set.checked(),f.should.ignoreCallbacks()||(p.onChecked.call(S),f.trigger.change()),f.preventDefaultOnInputTarget())},uncheck:function(){f.should.allowUncheck()&&(f.debug("Unchecking checkbox"),f.set.unchecked(),f.should.ignoreCallbacks()||(p.onUnchecked.call(S),f.trigger.change()),f.preventDefaultOnInputTarget())},indeterminate:function(){f.should.allowIndeterminate()?f.debug("Checkbox is already indeterminate"):(f.debug("Making checkbox indeterminate"),f.set.indeterminate(),f.should.ignoreCallbacks()||(p.onIndeterminate.call(S),f.trigger.change()))},determinate:function(){f.should.allowDeterminate()?f.debug("Checkbox is already determinate"):(f.debug("Making checkbox determinate"),f.set.determinate(),f.should.ignoreCallbacks()||(p.onDeterminate.call(S),f.trigger.change()))},enable:function(){f.is.enabled()?f.debug("Checkbox is already enabled"):(f.debug("Enabling checkbox"),f.set.enabled(),f.should.ignoreCallbacks()||(p.onEnable.call(S),p.onEnabled.call(S)))},disable:function(){f.is.disabled()?f.debug("Checkbox is already disabled"):(f.debug("Disabling checkbox"),f.set.disabled(),f.should.ignoreCallbacks()||(p.onDisable.call(S),p.onDisabled.call(S)))},get:{radios:function(){var t=f.get.name();return e('input[name="'+t+'"]').closest(g.checkbox)},otherRadios:function(){return f.get.radios().not(x)},name:function(){return C.attr("name")}},is:{initialLoad:function(){return k},radio:function(){return C.hasClass(h.radio)||"radio"===C.attr("type")},indeterminate:function(){return void 0!==C.prop("indeterminate")&&C.prop("indeterminate")},checked:function(){return void 0!==C.prop("checked")&&C.prop("checked")},disabled:function(){return void 0!==C.prop("disabled")&&C.prop("disabled")},enabled:function(){return!f.is.disabled()},determinate:function(){return!f.is.indeterminate()},unchecked:function(){return!f.is.checked()}},should:{allowCheck:function(){return f.is.determinate()&&f.is.checked()&&!f.is.initialLoad()?(f.debug("Should not allow check, checkbox is already checked"),!1):!(!f.should.ignoreCallbacks()&&!1===p.beforeChecked.apply(S))||(f.debug("Should not allow check, beforeChecked cancelled"),!1)},allowUncheck:function(){return f.is.determinate()&&f.is.unchecked()&&!f.is.initialLoad()?(f.debug("Should not allow uncheck, checkbox is already unchecked"),!1):!(!f.should.ignoreCallbacks()&&!1===p.beforeUnchecked.apply(S))||(f.debug("Should not allow uncheck, beforeUnchecked cancelled"),!1)},allowIndeterminate:function(){return f.is.indeterminate()&&!f.is.initialLoad()?(f.debug("Should not allow indeterminate, checkbox is already indeterminate"),!1):!(!f.should.ignoreCallbacks()&&!1===p.beforeIndeterminate.apply(S))||(f.debug("Should not allow indeterminate, beforeIndeterminate cancelled"),!1)},allowDeterminate:function(){return f.is.determinate()&&!f.is.initialLoad()?(f.debug("Should not allow determinate, checkbox is already determinate"),!1):!(!f.should.ignoreCallbacks()&&!1===p.beforeDeterminate.apply(S))||(f.debug("Should not allow determinate, beforeDeterminate cancelled"),!1)},ignoreCallbacks:function(){return k&&!p.fireOnInit}},can:{change:function(){return!(x.hasClass(h.disabled)||x.hasClass(h.readOnly)||C.prop("disabled")||C.prop("readonly"))},uncheck:function(){return"boolean"==typeof p.uncheckable?p.uncheckable:!f.is.radio()}},set:{initialLoad:function(){k=!0},checked:function(){f.verbose("Setting class to checked"),x.removeClass(h.indeterminate).addClass(h.checked),f.is.radio()&&f.uncheckOthers(),f.is.indeterminate()||!f.is.checked()?(f.verbose("Setting state to checked",S),C.prop("indeterminate",!1).prop("checked",!0)):f.debug("Input is already checked, skipping input property change")},unchecked:function(){f.verbose("Removing checked class"),x.removeClass(h.indeterminate).removeClass(h.checked),f.is.indeterminate()||!f.is.unchecked()?(f.debug("Setting state to unchecked"),C.prop("indeterminate",!1).prop("checked",!1)):f.debug("Input is already unchecked")},indeterminate:function(){f.verbose("Setting class to indeterminate"),x.addClass(h.indeterminate),f.is.indeterminate()?f.debug("Input is already indeterminate, skipping input property change"):(f.debug("Setting state to indeterminate"),C.prop("indeterminate",!0))},determinate:function(){f.verbose("Removing indeterminate class"),x.removeClass(h.indeterminate),f.is.determinate()?f.debug("Input is already determinate, skipping input property change"):(f.debug("Setting state to determinate"),C.prop("indeterminate",!1))},disabled:function(){f.verbose("Setting class to disabled"),x.addClass(h.disabled),f.is.disabled()?f.debug("Input is already disabled, skipping input property change"):(f.debug("Setting state to disabled"),C.prop("disabled","disabled"))},enabled:function(){f.verbose("Removing disabled class"),x.removeClass(h.disabled),f.is.enabled()?f.debug("Input is already enabled, skipping input property change"):(f.debug("Setting state to enabled"),C.prop("disabled",!1))},tabbable:function(){f.verbose("Adding tabindex to checkbox"),void 0===C.attr("tabindex")&&C.attr("tabindex",0)}},remove:{initialLoad:function(){k=!1}},trigger:{change:function(){var e=C[0];if(e){var t=n.createEvent("HTMLEvents");f.verbose("Triggering native change event"),t.initEvent("change",!0,!1),e.dispatchEvent(t)}}},create:{label:function(){C.prevAll(g.label).length>0?(C.prev(g.label).detach().insertAfter(C),f.debug("Moving existing label",w)):f.has.label()||(w=e("
'),{title:i.title,content:i.content,onApprove:o,onDeny:r,actions:[{text:n.text.ok,class:n.className.ok,click:o},{text:n.text.cancel,class:n.className.cancel,click:r}]}}}}(n(9755),window,document)},6426:(e,t,n)=>{
+!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.modal=function(o){var r,a=e(this),s=e(t),c=e(n),l=e("body"),u=Date.now(),d=[],f=arguments[0],p="string"==typeof f,h=[].slice.call(arguments,1),g=function(i,o){var r;return[t,n].indexOf(i)>=0?r=l:0===(r=e(o.document).find(i)).length&&(r=o.frameElement?g(i,o.parent):l),r};return a.each((function(){var a,m,v,b,y,x,w,C,S,k,T,E,A=e.isPlainObject(o)?e.extend(!0,{},e.fn.modal.settings,o):e.extend({},e.fn.modal.settings),D=A.selector,O=A.className,R=A.namespace,P=A.fields,M=A.error,N="."+R,L="module-"+R,j=e(this),$=g(A.context,t),_=$[0]===l[0],I=j.find(D.closeIcon),H=j.hasClass("modal"),F=this,q=H?j.data(L):void 0,V=!1,z="",B="",U=!1,W=!1,Y=!1,X=!1;E={initialize:function(){if(E.create.id(),H||(E.create.modal(),i(A.onHidden)||(A.onHidden=function(){E.destroy(),j.remove()})),j.addClass(A.class),""!==A.title&&j.find(D.title).html(E.helpers.escape(A.title,A.preserveHTML)).addClass(A.classTitle),""!==A.content&&j.find(D.content).html(E.helpers.escape(A.content,A.preserveHTML)).addClass(A.classContent),E.has.configActions()){var t=j.find(D.actions).addClass(A.classActions);0===t.length?t=e("",{class:O.actions+" "+(A.classActions||"")}).appendTo(j):t.empty(),A.actions.forEach((function(n){var o=n[P.icon]?"':"",r=E.helpers.escape(n[P.text]||"",A.preserveHTML),a=E.helpers.deQuote(n[P.class]||""),s=n[P.click]&&i(n[P.click])?n[P.click]:function(){};t.append(e("",{html:o+r,"aria-label":(n[P.text]||n[P.icon]||"").replace(/<[^>]+(>|$)/g,""),class:O.button+" "+a,on:{click:function(){var t=e(this);t.is(D.approve)||t.is(D.deny)||!1===s.call(F,j)||E.hide()}}}))}))}E.cache={},E.verbose("Initializing dimmer",$),E.create.dimmer(),A.allowMultiple&&E.create.innerDimmer(),A.centered||j.addClass("top aligned"),E.refreshModals(),E.bind.events(),E.observeChanges(),E.instantiate(),A.autoShow&&E.show()},instantiate:function(){E.verbose("Storing instance of modal"),q=E,j.data(L,q)},create:{modal:function(){if(j=e("",{class:O.modal,role:"dialog","aria-modal":!0}),A.closeIcon&&(I=e("",{class:O.close,role:"button",tabindex:0,"aria-label":A.text.close}),j.append(I)),""!==A.title){var t="_"+E.get.id()+"title";j.attr("aria-labelledby",t),e("",{class:O.title,id:t}).appendTo(j)}if(""!==A.content){var n="_"+E.get.id()+"desc";j.attr("aria-describedby",n),e("",{class:O.content,id:n}).appendTo(j)}E.has.configActions()&&e("",{class:O.actions}).appendTo(j),$.append(j),F=j[0]},dimmer:function(){var t={debug:A.debug,dimmerName:"modals"},n=e.extend(!0,t,A.dimmerSettings);void 0!==e.fn.dimmer?(E.debug("Creating dimmer"),y=$.dimmer(n),U=E.is.scrolling(),A.detachable?(E.verbose("Modal is detachable, moving content into dimmer"),y.dimmer("add content",j)):E.set.undetached(),x=y.dimmer("get dimmer")):E.error(M.dimmer)},id:function(){k=(Math.random().toString(16)+"000000000").slice(2,10),S="."+k,E.verbose("Creating unique id for element",k)},innerDimmer:function(){0===j.find(D.dimmer).length&&e("",{class:O.innerDimmer}).prependTo(j)}},destroy:function(){T&&T.disconnect(),E.verbose("Destroying previous modal"),j.removeData(L).off(N),s.off(S),$.off(S),x.off(S),I.off(S),a&&a.off(S),$.dimmer("destroy")},observeChanges:function(){"MutationObserver"in t&&((T=new MutationObserver((function(t){var n=function(e){for(var t=[],i=0,o=e.length;i0)&&(o=!0);else{i=!0;var a=e(n(t.addedNodes)).filter("a[href], [tabindex], :input:enabled").filter(":visible"),s=e(n(t.removedNodes)).filter("a[href], [tabindex], :input");(a.length>0||s.length>0)&&(o=!0,(a.filter(":input").length>0||s.filter(":input").length>0)&&(r=!1))}return!o})),i&&A.observeChanges&&(E.debug("DOM tree modified, refreshing"),E.refresh()),o&&E.refreshInputs(r)}))).observe(F,{attributeFilter:["class","disabled"],attributes:!0,childList:!0,subtree:!0}),E.debug("Setting up mutation observer",T))},refresh:function(){E.remove.scrolling(),E.cacheSizes(),E.can.useFlex()||E.set.modalOffset(),E.set.screenHeight(),E.set.type()},refreshModals:function(){v=j.siblings(D.modal),m=v.add(j)},refreshInputs:function(t){a&&a.off("keydown"+S),0===(a=j.find("a[href], [tabindex], :input:enabled").filter(":visible").filter((function(){return 0===e(this).closest(".disabled").length}))).filter(":input").length?(a=j.add(a),j.attr("tabindex",-1)):j.removeAttr("tabindex"),a.first().on("keydown"+S,E.event.inputKeyDown.first),a.last().on("keydown"+S,E.event.inputKeyDown.last),!t&&A.autofocus&&0===a.filter(":focus").length&&E.set.autofocus()},attachEvents:function(t,n){var o=e(t);n=i(E[n])?E[n]:E.toggle,o.length>0?(E.debug("Attaching modal events to element",t,n),o.off(N).on("click"+N,n)):E.error(M.notFound,t)},bind:{events:function(){E.verbose("Attaching events"),j.on("click"+N,D.close,E.event.close).on("click"+N,D.approve,E.event.approve).on("click"+N,D.deny,E.event.deny),I.on("keyup"+S,E.event.closeKeyUp),s.on("resize"+S,E.event.resize).on("focus"+S,E.event.focus),$.on("click"+S,E.event.click)},scrollLock:function(){y[0].addEventListener("touchmove",E.event.preventScroll,{passive:!1})}},unbind:{scrollLock:function(){y[0].removeEventListener("touchmove",E.event.preventScroll,{passive:!1})}},get:{id:function(){return k},element:function(){return j},settings:function(){return A}},event:{approve:function(){V||!1===A.onApprove.call(F,e(this))?E.verbose("Approve callback returned false cancelling hide"):(V=!0,E.hide((function(){V=!1})))},preventScroll:function(e){-1!==e.target.className.indexOf("dimmer")&&e.preventDefault()},deny:function(){V||!1===A.onDeny.call(F,e(this))?E.verbose("Deny callback returned false cancelling hide"):(V=!0,E.hide((function(){V=!1})))},close:function(){E.hide()},closeKeyUp:function(e){var t=e.which;t!==A.keys.enter&&t!==A.keys.space||!j.hasClass(O.front)||E.hide()},inputKeyDown:{first:function(e){e.which===A.keys.tab&&e.shiftKey&&(a.last().trigger("focus"),e.preventDefault())},last:function(e){e.which!==A.keys.tab||e.shiftKey||(a.first().trigger("focus"),e.preventDefault())}},mousedown:function(t){var n=e(t.target),i=E.is.rtl();(w=n.closest(D.modal).length>0)&&E.verbose("Mouse down event registered inside the modal"),(C=E.is.scrolling()&&(!i&&s.outerWidth()-A.scrollbarWidth<=t.clientX||i&&A.scrollbarWidth>=t.clientX))&&E.verbose("Mouse down event registered inside the scrollbar")},mouseup:function(t){if(A.closable)if(w)E.debug("Dimmer clicked but mouse down was initially registered inside the modal");else if(C)E.debug("Dimmer clicked but mouse down was initially registered inside the scrollbar");else{var i=e(t.target).closest(D.modal).length>0,o=e.contains(n.documentElement,t.target);if(!i&&o&&E.is.active()&&j.hasClass(O.front)){if(E.debug("Dimmer clicked, hiding all modals"),A.allowMultiple){if(!E.hideAll())return}else if(!E.hide())return;E.remove.clickaway()}}else E.verbose("Dimmer clicked but closable setting is disabled")},debounce:function(e,t){clearTimeout(E.timer),E.timer=setTimeout((function(){e()}),t)},keyboard:function(e){e.which===A.keys.escape&&(A.closable?(E.debug("Escape key pressed hiding modal"),j.hasClass(O.front)&&E.hide()):E.debug("Escape key pressed, but closable is set to false"),e.preventDefault())},resize:function(){y.dimmer("is active")&&(E.is.animating()||E.is.active())&&requestAnimationFrame(E.refresh)},focus:function(){Y=!0},click:function(t){Y&&n.activeElement!==t.target&&y.dimmer("is active")&&E.is.active()&&A.autofocus&&0===e(n.activeElement).closest(D.modal).length&&requestAnimationFrame(E.set.autofocus),Y=!1}},toggle:function(){E.is.active()||E.is.animating()?E.hide():E.show()},show:function(e){e=i(e)?e:function(){},E.refreshModals(),E.set.dimmerSettings(),E.set.dimmerStyles(),E.showModal(e)},hide:function(e){return e=i(e)?e:function(){},E.refreshModals(),E.hideModal(e)},showModal:function(t){if(t=i(t)?t:function(){},E.is.animating()||!E.is.active()){if(!1===A.onShow.call(F))return void E.verbose("Show callback returned false cancelling show");W=E.has.scrollbar(),E.showDimmer(),E.cacheSizes(),W&&E.set.bodyMargin(),E.can.useFlex()?E.remove.legacy():(E.set.legacy(),E.set.modalOffset(),E.debug("Using non-flex legacy modal positioning.")),E.set.screenHeight(),E.set.type(),E.set.clickaway(),!A.allowMultiple&&E.others.active()?E.hideOthers(E.showModal):(V=!1,A.allowMultiple&&(E.others.active()&&v.filter("."+O.active).find(D.dimmer).removeClass("out").addClass("transition fade in active"),A.detachable&&j.detach().appendTo(x)),A.transition&&void 0!==e.fn.transition?(E.debug("Showing modal with css animations"),E.set.observeAttributes(!1),j.transition({debug:A.debug,verbose:A.verbose,silent:A.silent,animation:(A.transition.showMethod||A.transition)+" in",queue:A.queue,duration:A.transition.showDuration||A.duration,useFailSafe:!0,onComplete:function(){A.onVisible.apply(F),A.keyboardShortcuts&&E.add.keyboardShortcuts(),E.save.focus(),E.set.active(),E.refreshInputs(),requestAnimationFrame(E.set.observeAttributes),t()}})):E.error(M.noTransition))}else E.debug("Modal is already visible")},hideModal:function(t,n,o){var r=v.filter("."+O.active).last();if(t=i(t)?t:function(){},!1===A.onHide.call(F,e(this)))return E.verbose("Hide callback returned false cancelling hide"),V=!1,!1;(E.is.animating()||E.is.active())&&(E.debug("Hiding modal"),A.transition&&void 0!==e.fn.transition?(E.remove.active(),E.set.observeAttributes(!1),j.transition({debug:A.debug,verbose:A.verbose,silent:A.silent,animation:(A.transition.hideMethod||A.transition)+" out",queue:A.queue,duration:A.transition.hideDuration||A.duration,useFailSafe:!0,onStart:function(){E.others.active()||E.others.animating()||n?A.allowMultiple&&(o?m:r).find(D.dimmer).removeClass("in").addClass("out"):E.hideDimmer(),A.keyboardShortcuts&&!E.others.active()&&E.remove.keyboardShortcuts()},onComplete:function(){E.unbind.scrollLock(),E.remove.active(),A.allowMultiple&&(r.addClass(O.front),j.removeClass(O.front),(o?m:r).find(D.dimmer).removeClass("active")),i(A.onHidden)&&A.onHidden.call(F),E.remove.dimmerStyles(),E.restore.focus(),t()}})):E.error(M.noTransition))},showDimmer:function(){y.dimmer("is animating")||!y.dimmer("is active")?(W&&(_||x.css("top",y.scrollTop()),E.save.bodyMargin()),E.debug("Showing dimmer"),y.dimmer("show")):E.debug("Dimmer already visible")},hideDimmer:function(){y.dimmer("is animating")||y.dimmer("is active")?(E.unbind.scrollLock(),y.dimmer("hide",(function(){W&&E.restore.bodyMargin(),E.remove.clickaway(),E.remove.screenHeight()}))):E.debug("Dimmer is not visible cannot hide")},hideAll:function(t){var n=m.filter("."+O.active+", ."+O.animating);if(t=i(t)?t:function(){},n.length>0){E.debug("Hiding all visible modals");var o=!0;return e(n.get().reverse()).each((function(n,i){o&&(o=e(i).modal("hide modal",t,!1,!0))})),o&&E.hideDimmer(),o}},hideOthers:function(e){var t=v.filter("."+O.active+", ."+O.animating);e=i(e)?e:function(){},t.length>0&&(E.debug("Hiding other modals",v),t.modal("hide modal",e,!0))},others:{active:function(){return v.filter("."+O.active).length>0},animating:function(){return v.filter("."+O.animating).length>0}},add:{keyboardShortcuts:function(){E.verbose("Adding keyboard shortcuts"),c.on("keydown"+N,E.event.keyboard)}},save:{focus:function(){e(n.activeElement).closest(j).length>0||(b=e(n.activeElement).trigger("blur"))},bodyMargin:function(){z=$.css((_?"margin-":"padding-")+(E.can.leftBodyScrollbar()?"left":"right"));var e=parseInt(z.replace(/[^\d.]/g,""),10),i=_?t.innerWidth-n.documentElement.clientWidth:$[0].offsetWidth-$[0].clientWidth;B=e+i}},restore:{focus:function(){b&&b.length>0&&A.restoreFocus&&b.trigger("focus")},bodyMargin:function(){var t=E.can.leftBodyScrollbar()?"left":"right";$.css((_?"margin-":"padding-")+t,z),$.find(D.bodyFixed.replace("right",t)).each((function(){var n=e(this),i="fixed"===n.css("position")?"padding-"+t:t;n.css(i,"")}))}},remove:{active:function(){j.removeClass(O.active)},legacy:function(){j.removeClass(O.legacy)},clickaway:function(){A.detachable||j.off("mousedown"+S),x.off("mousedown"+S),x.off("mouseup"+S)},dimmerStyles:function(){x.removeClass(O.inverted),y.removeClass(O.blurring)},bodyStyle:function(){""===$.attr("style")&&(E.verbose("Removing style attribute"),$.removeAttr("style"))},screenHeight:function(){E.debug("Removing page height"),$.css("height",""),E.remove.bodyStyle()},keyboardShortcuts:function(){E.verbose("Removing keyboard shortcuts"),c.off("keydown"+N)},scrolling:function(){U||y.removeClass(O.scrolling),j.removeClass(O.scrolling)}},cacheSizes:function(){j.addClass(O.loading);var t=j.prop("scrollHeight"),n=j.outerWidth(),i=j.outerHeight();void 0!==E.cache.pageHeight&&0===i||(e.extend(E.cache,{pageHeight:c.outerHeight(),width:n,height:i+A.offset,scrollHeight:t+A.offset,contextHeight:_?s.height():y.height()}),E.cache.topOffset=-E.cache.height/2),j.removeClass(O.loading),E.debug("Caching modal and container sizes",E.cache)},helpers:{deQuote:function(e){return String(e).replace(/"/g,"")},escape:function(e,t){if(t)return e;var n={"<":"<",">":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,(function(e){return n[e]})):e}},can:{leftBodyScrollbar:function(){return void 0===E.cache.leftBodyScrollbar&&(E.cache.leftBodyScrollbar=E.is.rtl()&&(E.is.iframe&&!E.is.firefox()||E.is.safari()||E.is.edge()||E.is.ie())),E.cache.leftBodyScrollbar},useFlex:function(){return"auto"===A.useFlex?A.detachable&&!E.is.ie():(A.useFlex&&E.is.ie()?E.debug("useFlex true is not supported in IE"):A.useFlex&&!A.detachable&&E.debug("useFlex true in combination with detachable false is not supported"),A.useFlex)},fit:function(){var e=E.cache.contextHeight,t=E.cache.contextHeight/2,n=E.cache.topOffset,i=E.cache.scrollHeight,o=E.cache.height,r=A.padding;return i>o?t+n+i+r0},scrollbar:function(){return _||"hidden"!==$.css("overflow-y")}},is:{active:function(){return j.hasClass(O.active)},ie:function(){if(void 0===E.cache.isIE){var e=!t.ActiveXObject&&"ActiveXObject"in t,n="ActiveXObject"in t;E.cache.isIE=e||n}return E.cache.isIE},animating:function(){return j.transition("is animating")},scrolling:function(){return y.hasClass(O.scrolling)},modernBrowser:function(){return!(t.ActiveXObject||"ActiveXObject"in t)},rtl:function(){return void 0===E.cache.isRTL&&(E.cache.isRTL="rtl"===j.attr("dir")||"rtl"===j.css("direction")||"rtl"===l.attr("dir")||"rtl"===l.css("direction")||"rtl"===$.attr("dir")||"rtl"===$.css("direction")),E.cache.isRTL},safari:function(){return void 0===E.cache.isSafari&&(E.cache.isSafari=/constructor/i.test(t.HTMLElement)||!!t.ApplePaySession),E.cache.isSafari},edge:function(){return void 0===E.cache.isEdge&&(E.cache.isEdge=!!t.setImmediate&&!E.is.ie()),E.cache.isEdge},firefox:function(){return void 0===E.cache.isFirefox&&(E.cache.isFirefox=!!t.InstallTrigger),E.cache.isFirefox},iframe:function(){return!(self===top)}},set:{observeAttributes:function(e){X=!1!==e},autofocus:function(){var e=a.filter("[autofocus]"),t=a.filter(":input");(e.length>0?e:t.length>0?t:j).first().trigger("focus")},bodyMargin:function(){var t=E.can.leftBodyScrollbar()?"left":"right";(A.detachable||E.can.fit())&&$.css((_?"margin-":"padding-")+t,B+"px"),$.find(D.bodyFixed.replace("right",t)).each((function(){var n=e(this),i="fixed"===n.css("position")?"padding-"+t:t;n.css(i,"calc("+n.css(i)+" + "+B+"px)")}))},clickaway:function(){A.detachable||j.on("mousedown"+S,E.event.mousedown),x.on("mousedown"+S,E.event.mousedown),x.on("mouseup"+S,E.event.mouseup)},dimmerSettings:function(){if(void 0!==e.fn.dimmer){var t={debug:A.debug,dimmerName:"modals",closable:"auto",useFlex:E.can.useFlex(),duration:{show:A.transition.showDuration||A.duration,hide:A.transition.hideDuration||A.duration}},n=e.extend(!0,t,A.dimmerSettings);A.inverted&&(n.variation=void 0!==n.variation?n.variation+" inverted":"inverted"),$.dimmer("setting",n)}else E.error(M.dimmer)},dimmerStyles:function(){A.inverted?x.addClass(O.inverted):x.removeClass(O.inverted),A.blurring?y.addClass(O.blurring):y.removeClass(O.blurring)},modalOffset:function(){if(A.detachable)j.css({marginTop:!j.hasClass("aligned")&&E.can.fit()?-E.cache.height/2:A.padding/2,marginLeft:-E.cache.width/2});else{var e=E.can.fit();j.css({top:!j.hasClass("aligned")&&e?c.scrollTop()+(E.cache.contextHeight-E.cache.height)/2:!e||j.hasClass("top")?c.scrollTop()+A.padding:c.scrollTop()+(E.cache.contextHeight-E.cache.height-A.padding),marginLeft:-E.cache.width/2})}E.verbose("Setting modal offset for legacy mode")},screenHeight:function(){E.can.fit()?$.css("height",""):j.hasClass("bottom")||(E.debug("Modal is taller than page content, resizing page height"),$.css("height",E.cache.height+2*A.padding+"px"))},active:function(){j.addClass(O.active+" "+O.front),v.filter("."+O.active).removeClass(O.front)},scrolling:function(){y.addClass(O.scrolling),j.addClass(O.scrolling),E.unbind.scrollLock()},legacy:function(){j.addClass(O.legacy)},type:function(){E.can.fit()?(E.verbose("Modal fits on screen"),E.others.active()||E.others.animating()||(E.remove.scrolling(),E.bind.scrollLock())):j.hasClass("bottom")?E.verbose("Bottom aligned modal not fitting on screen is unsupported for scrolling"):(E.verbose("Modal cannot fit on screen setting to scrolling"),E.set.scrolling())},undetached:function(){y.addClass(O.undetached)}},setting:function(t,n){if(E.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,A,t);else{if(void 0===n)return A[t];e.isPlainObject(A[t])?e.extend(!0,A[t],n):A[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,E,t);else{if(void 0===n)return E[t];E[t]=n}},debug:function(){!A.silent&&A.debug&&(A.performance?E.performance.log(arguments):(E.debug=Function.prototype.bind.call(console.info,console,A.name+":"),E.debug.apply(console,arguments)))},verbose:function(){!A.silent&&A.verbose&&A.debug&&(A.performance?E.performance.log(arguments):(E.verbose=Function.prototype.bind.call(console.info,console,A.name+":"),E.verbose.apply(console,arguments)))},error:function(){A.silent||(E.error=Function.prototype.bind.call(console.error,console,A.name+":"),E.error.apply(console,arguments))},performance:{log:function(e){var t,n;A.performance&&(n=(t=Date.now())-(u||t),u=t,d.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:F,"Execution Time":n})),clearTimeout(E.performance.timer),E.performance.timer=setTimeout((function(){E.performance.display()}),500)},display:function(){var t=A.name+":",n=0;u=!1,clearTimeout(E.performance.timer),e.each(d,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",d.length>0&&(console.groupCollapsed(t),console.table?console.table(d):e.each(d,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),d=[]}},invoke:function(t,n,o){var a,s,c,l=q;return n=n||h,o=o||F,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(E.error(M.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},p?(void 0===q&&(i(A.templates[f])&&(A.autoShow=!0,A.className.modal=A.className.template,A=e.extend(!0,{},A,A.templates[f].apply(E,h)),O=A.className,R=A.namespace,P=A.fields,M=A.error),E.initialize()),i(A.templates[f])||E.invoke(f)):(void 0!==q&&q.invoke("destroy"),E.initialize(),r=j)})),void 0!==r?r:this},e.modal=e.fn.modal,e.fn.modal.settings={name:"Modal",namespace:"modal",useFlex:"auto",offset:0,silent:!1,debug:!1,verbose:!1,performance:!0,observeChanges:!1,allowMultiple:!1,detachable:!0,closable:!0,autofocus:!0,restoreFocus:!0,autoShow:!1,inverted:!1,blurring:!1,centered:!0,dimmerSettings:{closable:!1,useCSS:!0},keyboardShortcuts:!0,context:"body",queue:!1,duration:500,transition:"scale",padding:50,scrollbarWidth:10,title:"",content:"",class:"",classTitle:"",classContent:"",classActions:"",closeIcon:!1,actions:!1,preserveHTML:!0,fields:{class:"class",text:"text",icon:"icon",click:"click"},onShow:function(){},onVisible:function(){},onHide:function(){return!0},onHidden:!1,onApprove:function(){return!0},onDeny:function(){return!0},keys:{space:32,enter:13,escape:27,tab:9},selector:{title:"> .header",content:"> .content",actions:"> .actions",close:"> .close",closeIcon:"> .close",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal",dimmer:"> .ui.dimmer",bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",prompt:".ui.input > input"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",blurring:"blurring",inverted:"inverted",legacy:"legacy",loading:"loading",scrolling:"scrolling",undetached:"undetached",front:"front",close:"close icon",button:"ui button",modal:"ui modal",title:"header",content:"content",actions:"actions",template:"ui tiny modal",ok:"positive",cancel:"negative",prompt:"ui fluid input",innerDimmer:"ui inverted dimmer"},text:{ok:"Ok",cancel:"Cancel",close:"Close"}},e.fn.modal.settings.templates={getArguments:function(t){var n=[].slice.call(t);return e.isPlainObject(n[0])?e.extend({handler:function(){},content:"",title:""},n[0]):(i(n[n.length-1])||n.push((function(){})),{handler:n.pop(),content:n.pop()||"",title:n.pop()||""})},alert:function(){var e=this.get.settings(),t=e.templates.getArguments(arguments),n=t.handler;return{title:t.title,content:t.content,onApprove:n,actions:[{text:e.text.ok,class:e.className.ok,click:n}]}},confirm:function(){var e=this.get.settings(),t=e.templates.getArguments(arguments),n=function(){t.handler(!0)},i=function(){t.handler(!1)};return{title:t.title,content:t.content,onApprove:n,onDeny:i,actions:[{text:e.text.ok,class:e.className.ok,click:n},{text:e.text.cancel,class:e.className.cancel,click:i}]}},prompt:function(){var t=this,n=this.get.settings(),i=n.templates.getArguments(arguments),o=function(){var n=t.get.settings(),o=t.get.element().find(n.selector.prompt)[0];i.handler(e(o).val())},r=function(){i.handler(null)};return 0===e(e.parseHTML(i.content)).filter(".ui.input").length&&(i.content+=''),{title:i.title,content:i.content,onApprove:o,onDeny:r,actions:[{text:n.text.ok,class:n.className.ok,click:o},{text:n.text.cancel,class:n.className.cancel,click:r}]}}}}(n(9755),window,document)},6426:(e,t,n)=>{
/*!
* # Fomantic-UI - Popup
* https://github.com/fomantic/Fomantic-UI/
@@ -125,7 +125,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.popup=function(o){var r,a=e(this),s=e(n),c=e(t),l=e("body"),u="ontouchstart"in n.documentElement?"touchstart":"click",d=Date.now(),f=[],p=arguments[0],h="string"==typeof p,m=[].slice.call(arguments,1),g=function(i,o){var r;return[t,n].indexOf(i)>=0?r=e(i):0===(r=e(o.document).find(i)).length&&(r=o.frameElement?g(i,o.parent):l),r};return a.each((function(){var a,v,b,y,x,w,C=e.isPlainObject(o)?e.extend(!0,{},e.fn.popup.settings,o):e.extend({},e.fn.popup.settings),S=C.selector,k=C.className,T=C.error,A=C.metadata,E=C.namespace,D="."+C.namespace,O="module-"+E,P=e(this),R=g(C.context,t),M=g(C.scrollContext,t),L=g(C.boundary,t),N=C.target?g(C.target,t):P,$=0,j=!1,I=!1,F=this,q=P.data(O);w={initialize:function(){w.debug("Initializing",P),w.createID(),w.bind.events(),!w.exists()&&C.preserve&&w.create(),C.observeChanges&&w.observeChanges(),w.instantiate()},instantiate:function(){w.verbose("Storing instance",w),q=w,P.data(O,q)},observeChanges:function(){"MutationObserver"in t&&((b=new MutationObserver(w.event.documentChanged)).observe(n,{childList:!0,subtree:!0}),w.debug("Setting up mutation observer",b))},refresh:function(){C.popup?a=s.find(C.popup).eq(0):C.inline&&(a=N.nextAll(S.popup).eq(0),C.popup=a),C.popup?(w.set.invisible(),v=w.get.offsetParent(),w.remove.invisible(),C.movePopup&&w.has.popup()&&w.get.offsetParent(a)[0]!==v[0]&&(w.debug("Moving popup to the same offset parent as target"),a.detach().appendTo(v))):v=C.inline?w.get.offsetParent(N):w.has.popup()?w.get.offsetParent(a):l,v.is("html")&&v[0]!==l[0]&&(w.debug("Setting page as offset parent"),v=l),w.get.variation()&&w.set.variation()},reposition:function(){w.refresh(),w.set.position()},destroy:function(){w.debug("Destroying previous module"),b&&b.disconnect(),a&&!C.preserve&&w.removePopup(),clearTimeout(w.hideTimer),clearTimeout(w.showTimer),w.unbind.close(),w.unbind.events(),P.removeData(O)},event:{start:function(t){var n=e.isPlainObject(C.delay)?C.delay.show:C.delay;clearTimeout(w.hideTimer),(!I||I&&C.addTouchEvents)&&(w.showTimer=setTimeout((function(){w.show()}),n))},end:function(){var t=e.isPlainObject(C.delay)?C.delay.hide:C.delay;clearTimeout(w.showTimer),w.hideTimer=setTimeout((function(){w.hide()}),t)},touchstart:function(e){I=!0,C.addTouchEvents&&w.show()},resize:function(){w.is.visible()&&w.set.position()},documentChanged:function(t){[].forEach.call(t,(function(t){t.removedNodes&&[].forEach.call(t.removedNodes,(function(t){(t===F||e(t).find(F).length>0)&&(w.debug("Element removed from DOM, tearing down events"),w.destroy())}))}))},hideGracefully:function(t){var i=e(t.target),o=e.contains(n.documentElement,t.target),r=i.closest(S.popup).length>0;t&&!r&&o?(w.debug("Click occurred outside popup hiding popup"),w.hide()):w.debug("Click was inside popup, keeping popup open")}},create:function(){var t=N.next(S.popup),n=!C.popup&&0===t.length&&P.attr("title"),i=w.get.html(),o=w.get.title(),r=w.get.content(n);i||r||o?(w.debug("Creating pop-up html"),i||(i=C.templates.popup({title:o,content:r})),a=e("").addClass(k.popup).data(A.activator,P).html(i),C.inline?(w.verbose("Inserting popup element inline",a),a.insertAfter(P)):(w.verbose("Appending popup element to body",a),a.appendTo(R)),w.refresh(),w.set.variation(),C.hoverable&&w.bind.popup(),C.onCreate.call(a,F)):C.popup?(s.find(C.popup).data(A.activator,P),w.verbose("Used popup specified in settings"),w.refresh(),C.hoverable&&w.bind.popup()):t.length>0?(w.verbose("Pre-existing popup found"),C.inline=!0,C.popup=t.data(A.activator,P),w.refresh(),C.hoverable&&w.bind.popup()):w.debug("No content specified skipping display",F)},createID:function(){x=(Math.random().toString(16)+"000000000").slice(2,10),y="."+x,w.verbose("Creating unique id for element",x)},toggle:function(){w.debug("Toggling pop-up"),w.is.hidden()?(w.debug("Popup is hidden, showing pop-up"),w.unbind.close(),w.show()):(w.debug("Popup is visible, hiding pop-up"),w.hide())},show:function(e){if(e=e||function(){},w.debug("Showing pop-up",C.transition),w.is.hidden()&&(!w.is.active()||!w.is.dropdown())){if(w.exists()||w.create(),!1===C.onShow.call(a,F))return void w.debug("onShow callback returned false, cancelling popup animation");C.preserve||C.popup||w.refresh(),a&&w.set.position()&&(w.save.conditions(),C.exclusive&&w.hideAll(),w.animate.show(e))}},hide:function(e){if(e=e||function(){},w.is.visible()||w.is.animating()){if(!1===C.onHide.call(a,F))return void w.debug("onHide callback returned false, cancelling popup animation");w.remove.visible(),w.unbind.close(),w.restore.conditions(),w.animate.hide(e)}},hideAll:function(){s.find(S.popup).filter("."+k.popupVisible).each((function(){e(this).data(A.activator).popup("hide")}))},exists:function(){return!!a&&(C.inline||C.popup?w.has.popup():a.closest(R).length>0)},removePopup:function(){w.has.popup()&&!C.popup&&(w.debug("Removing popup",a),a.remove(),a=void 0,C.onRemove.call(a,F))},save:{conditions:function(){w.cache={title:P.attr("title")},w.cache.title&&P.removeAttr("title"),w.verbose("Saving original attributes",w.cache.title)}},restore:{conditions:function(){return w.cache&&w.cache.title&&(P.attr("title",w.cache.title),w.verbose("Restoring original attributes",w.cache.title)),!0}},supports:{svg:function(){return"undefined"!=typeof SVGGraphicsElement}},animate:{show:function(e){e=i(e)?e:function(){},C.transition&&w.can.useElement("transition")&&(w.set.visible(),a.transition({animation:(C.transition.showMethod||C.transition)+" in",queue:!1,debug:C.debug,verbose:C.verbose,silent:C.silent,duration:C.transition.showDuration||C.duration,onComplete:function(){w.bind.close(),e.call(a,F),C.onVisible.call(a,F)}}))},hide:function(t){t=i(t)?t:function(){},w.debug("Hiding pop-up"),C.transition&&void 0!==e.fn.transition?a.transition({animation:(C.transition.hideMethod||C.transition)+" out",queue:!1,duration:C.transition.hideDuration||C.duration,debug:C.debug,verbose:C.verbose,silent:C.silent,onComplete:function(){w.reset(),t.call(a,F),C.onHidden.call(a,F)}}):w.error(T.noTransition)}},change:{content:function(e){a.html(e)}},get:{html:function(){return P.removeData(A.html),P.data(A.html)||C.html},title:function(){return P.removeData(A.title),P.data(A.title)||C.title},content:function(e){return P.removeData(A.content),P.data(A.content)||C.content||e},variation:function(){return P.removeData(A.variation),P.data(A.variation)||C.variation},popup:function(){return a},popupOffset:function(){return a.offset()},calculations:function(){var e,n=w.get.offsetParent(a),i=N[0],o=L[0]===t,r=N.offset(),s=C.inline||C.popup&&C.movePopup?N.offsetParent().offset():{top:0,left:0},l=o?{top:0,left:0}:L.offset(),u={},d=o?{top:c.scrollTop(),left:c.scrollLeft()}:{top:0,left:0};if(u={target:{element:N[0],width:N.outerWidth(),height:N.outerHeight(),top:r.top-s.top,left:r.left-s.left,margin:{}},popup:{width:a.outerWidth(),height:a.outerHeight()},parent:{width:v.outerWidth(),height:v.outerHeight()},screen:{top:l.top,left:l.left,scroll:{top:d.top,left:d.left},width:L.width(),height:L.height()}},n[0]!==v[0]){var f=n.offset();u.target.top-=f.top,u.target.left-=f.left,u.parent.width=n.outerWidth(),u.parent.height=n.outerHeight()}return C.setFluidWidth&&w.is.fluid()&&(u.container={width:a.parent().outerWidth()},u.popup.width=u.container.width),u.target.margin.top=C.inline?parseInt(t.getComputedStyle(i).getPropertyValue("margin-top"),10):0,u.target.margin.left=C.inline?w.is.rtl()?parseInt(t.getComputedStyle(i).getPropertyValue("margin-right"),10):parseInt(t.getComputedStyle(i).getPropertyValue("margin-left"),10):0,e=u.screen,u.boundary={top:e.top+e.scroll.top,bottom:e.top+e.scroll.top+e.height,left:e.left+e.scroll.left,right:e.left+e.scroll.left+e.width},u},id:function(){return x},startEvent:function(){return"hover"===C.on?"mouseenter":"focus"===C.on&&"focus"},scrollEvent:function(){return"scroll"},endEvent:function(){return"hover"===C.on?"mouseleave":"focus"===C.on&&"blur"},distanceFromBoundary:function(e,t){var n,i,o={};return n=(t=t||w.get.calculations()).popup,i=t.boundary,e&&(o={top:e.top-i.top,left:e.left-i.left,right:i.right-(e.left+n.width),bottom:i.bottom-(e.top+n.height)},w.verbose("Distance from boundaries determined",e,o)),o},offsetParent:function(t){var n=(void 0!==t?t[0]:N[0]).parentNode,i=e(n);if(n)for(var o="none"===i.css("transform"),r="static"===i.css("position"),a=i.is("body");n&&!a&&r&&o;)n=n.parentNode,o="none"===(i=e(n)).css("transform"),r="static"===i.css("position"),a=i.is("body");return i&&i.length>0?i:e()},positions:function(){return{"top left":!1,"top center":!1,"top right":!1,"bottom left":!1,"bottom center":!1,"bottom right":!1,"left center":!1,"right center":!1}},nextPosition:function(e){var t=e.split(" "),n=t[0],i=t[1],o="top"===n||"bottom"===n,r=!1,a=!1,s=!1;return j||(w.verbose("All available positions available"),j=w.get.positions()),w.debug("Recording last position tried",e),j[e]=!0,"opposite"===C.prefer&&(s=(s=[{top:"bottom",bottom:"top",left:"right",right:"left"}[n],i]).join(" "),r=!0===j[s],w.debug("Trying opposite strategy",s)),"adjacent"===C.prefer&&o&&(s=(s=[n,{left:"center",center:"right",right:"left"}[i]]).join(" "),a=!0===j[s],w.debug("Trying adjacent strategy",s)),(a||r)&&(w.debug("Using backup position",s),s={"top left":"top center","top center":"top right","top right":"right center","right center":"bottom right","bottom right":"bottom center","bottom center":"bottom left","bottom left":"left center","left center":"top left"}[e]),s}},set:{position:function(e,t){if(0!==N.length&&0!==a.length){var n,i,o,r,s,c,l,u;if(t=t||w.get.calculations(),e=e||P.data(A.position)||C.position,n=P.data(A.offset)||C.offset,i=C.distanceAway,o=t.target,r=t.popup,s=t.parent,w.should.centerArrow(t)&&(w.verbose("Adjusting offset to center arrow on small target element"),"top left"!==e&&"bottom left"!==e||(n+=o.width/2,n-=C.arrowPixelsFromEdge),"top right"!==e&&"bottom right"!==e||(n-=o.width/2,n+=C.arrowPixelsFromEdge)),0===o.width&&0===o.height&&!w.is.svg(o.element))return w.debug("Popup target is hidden, no action taken"),!1;switch(C.inline&&(w.debug("Adding margin to calculation",o.margin),"left center"===e||"right center"===e?(n+=o.margin.top,i+=-o.margin.left):"top left"===e||"top center"===e||"top right"===e?(n+=o.margin.left,i-=o.margin.top):(n+=o.margin.left,i+=o.margin.top)),w.debug("Determining popup position from calculations",e,t),w.is.rtl()&&(e=e.replace(/left|right/g,(function(e){return"left"===e?"right":"left"})),w.debug("RTL: Popup position updated",e)),$===C.maxSearchDepth&&"string"==typeof C.lastResort&&(e=C.lastResort),e){case"top left":c={top:"auto",bottom:s.height-o.top+i,left:o.left+n,right:"auto"};break;case"top center":c={bottom:s.height-o.top+i,left:o.left+o.width/2-r.width/2+n,top:"auto",right:"auto"};break;case"top right":c={bottom:s.height-o.top+i,right:s.width-o.left-o.width-n,top:"auto",left:"auto"};break;case"left center":c={top:o.top+o.height/2-r.height/2+n,right:s.width-o.left+i,left:"auto",bottom:"auto"};break;case"right center":c={top:o.top+o.height/2-r.height/2+n,left:o.left+o.width+i,bottom:"auto",right:"auto"};break;case"bottom left":c={top:o.top+o.height+i,left:o.left+n,bottom:"auto",right:"auto"};break;case"bottom center":c={top:o.top+o.height+i,left:o.left+o.width/2-r.width/2+n,bottom:"auto",right:"auto"};break;case"bottom right":c={top:o.top+o.height+i,right:s.width-o.left-o.width-n,left:"auto",bottom:"auto"}}if(void 0===c&&w.error(T.invalidPosition,e),w.debug("Calculated popup positioning values",c),a.css(c).removeClass(k.position).addClass(e),w.set.invisible(),l=w.get.popupOffset(),u=w.get.distanceFromBoundary(l,t),!C.forcePosition&&w.is.offstage(u,e)){if(w.debug("Position is outside viewport",e),$0}},should:{centerArrow:function(e){return!w.is.basic()&&e.target.width<=2*C.arrowPixelsFromEdge}},is:{closable:function(){return"auto"===C.closable?"hover"!==C.on:C.closable},offstage:function(t,n){var i=[];return e.each(t,(function(e,t){t<-C.jitter&&(w.debug("Position exceeds allowable distance from edge",e,t,n),i.push(e))})),i.length>0},svg:function(e){return w.supports.svg()&&e instanceof SVGGraphicsElement},basic:function(){return P.hasClass(k.basic)},active:function(){return P.hasClass(k.active)},animating:function(){return void 0!==a&&a.hasClass(k.animating)},fluid:function(){return void 0!==a&&a.hasClass(k.fluid)},visible:function(){return void 0!==a&&a.hasClass(k.popupVisible)},dropdown:function(){return P.hasClass(k.dropdown)},hidden:function(){return!w.is.visible()},rtl:function(){return"rtl"===P.attr("dir")||"rtl"===P.css("direction")||"rtl"===l.attr("dir")||"rtl"===l.css("direction")||"rtl"===R.attr("dir")||"rtl"===R.css("direction")}},reset:function(){w.remove.visible(),C.preserve?void 0!==e.fn.transition&&a.transition("remove transition"):w.removePopup()},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,C,t);else{if(void 0===n)return C[t];C[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,w,t);else{if(void 0===n)return w[t];w[t]=n}},debug:function(){!C.silent&&C.debug&&(C.performance?w.performance.log(arguments):(w.debug=Function.prototype.bind.call(console.info,console,C.name+":"),w.debug.apply(console,arguments)))},verbose:function(){!C.silent&&C.verbose&&C.debug&&(C.performance?w.performance.log(arguments):(w.verbose=Function.prototype.bind.call(console.info,console,C.name+":"),w.verbose.apply(console,arguments)))},error:function(){C.silent||(w.error=Function.prototype.bind.call(console.error,console,C.name+":"),w.error.apply(console,arguments))},performance:{log:function(e){var t,n;C.performance&&(n=(t=Date.now())-(d||t),d=t,f.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:F,"Execution Time":n})),clearTimeout(w.performance.timer),w.performance.timer=setTimeout((function(){w.performance.display()}),500)},display:function(){var t=C.name+":",n=0;d=!1,clearTimeout(w.performance.timer),e.each(f,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",f.length>0&&(console.groupCollapsed(t),console.table?console.table(f):e.each(f,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),f=[]}},invoke:function(t,n,o){var a,s,c,l=q;return n=n||m,o=o||F,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(w.error(T.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},h?(void 0===q&&w.initialize(),w.invoke(p)):(void 0!==q&&q.invoke("destroy"),w.initialize())})),void 0!==r?r:this},e.fn.popup.settings={name:"Popup",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"popup",observeChanges:!0,onCreate:function(){},onRemove:function(){},onShow:function(){},onVisible:function(){},onHide:function(){},onUnplaceable:function(){},onHidden:function(){},on:"hover",boundary:t,addTouchEvents:!0,position:"top left",forcePosition:!1,variation:"",movePopup:!0,target:!1,popup:!1,inline:!1,preserve:!1,hoverable:!1,content:!1,html:!1,title:!1,closable:!0,hideOnScroll:"auto",exclusive:!1,context:"body",scrollContext:t,prefer:"opposite",lastResort:!1,arrowPixelsFromEdge:20,delay:{show:50,hide:70},setFluidWidth:!0,duration:200,transition:"scale",distanceAway:0,jitter:2,offset:0,maxSearchDepth:15,error:{invalidPosition:"The position you specified is not a valid position",cannotPlace:"Popup does not fit within the boundaries of the viewport",method:"The method you called is not defined.",noElement:"This module requires ui {element}",notFound:"The target or popup you specified does not exist on the page"},metadata:{activator:"activator",content:"content",html:"html",offset:"offset",position:"position",title:"title",variation:"variation"},className:{active:"active",basic:"basic",animating:"animating",dropdown:"dropdown",invisible:"invisible",fluid:"fluid",loading:"loading",popup:"ui popup",position:"top left center bottom right",visible:"visible",popupVisible:"visible"},selector:{popup:".ui.popup"},templates:{escape:function(e){var t={"<":"<",">":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,(function(e){return t[e]})):e},popup:function(t){var n="",i=e.fn.popup.settings.templates.escape;return void 0!==t&&(t.title&&(t.title=i(t.title),n+='
'+t.title+"
"),t.content&&(t.content=i(t.content),n+='
'+t.content+"
")),n}}}}(n(9755),window,document)},8329:(e,t,n)=>{
+!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.popup=function(o){var r,a=e(this),s=e(n),c=e(t),l=e("body"),u="ontouchstart"in n.documentElement?"touchstart":"click",d=Date.now(),f=[],p=arguments[0],h="string"==typeof p,g=[].slice.call(arguments,1),m=function(i,o){var r;return[t,n].indexOf(i)>=0?r=e(i):0===(r=e(o.document).find(i)).length&&(r=o.frameElement?m(i,o.parent):l),r};return a.each((function(){var a,v,b,y,x,w,C=e.isPlainObject(o)?e.extend(!0,{},e.fn.popup.settings,o):e.extend({},e.fn.popup.settings),S=C.selector,k=C.className,T=C.error,E=C.metadata,A=C.namespace,D="."+C.namespace,O="module-"+A,R=e(this),P=m(C.context,t),M=m(C.scrollContext,t),N=m(C.boundary,t),L=C.target?m(C.target,t):R,j=0,$=!1,_=!1,I=this,H=R.data(O);w={initialize:function(){w.debug("Initializing",R),w.createID(),w.bind.events(),!w.exists()&&C.preserve&&w.create(),C.observeChanges&&w.observeChanges(),w.instantiate()},instantiate:function(){w.verbose("Storing instance",w),H=w,R.data(O,H)},observeChanges:function(){"MutationObserver"in t&&((b=new MutationObserver(w.event.documentChanged)).observe(n,{childList:!0,subtree:!0}),w.debug("Setting up mutation observer",b))},refresh:function(){C.popup?a=s.find(C.popup).eq(0):C.inline&&(a=L.nextAll(S.popup).eq(0),C.popup=a),C.popup?(w.set.invisible(),v=w.get.offsetParent(),w.remove.invisible(),C.movePopup&&w.has.popup()&&w.get.offsetParent(a)[0]!==v[0]&&(w.debug("Moving popup to the same offset parent as target"),a.detach().appendTo(v))):v=C.inline?w.get.offsetParent(L):w.has.popup()?w.get.offsetParent(a):l,v.is("html")&&v[0]!==l[0]&&(w.debug("Setting page as offset parent"),v=l),w.get.variation()&&w.set.variation()},reposition:function(){w.refresh(),w.set.position()},destroy:function(){w.debug("Destroying previous module"),b&&b.disconnect(),a&&!C.preserve&&w.removePopup(),clearTimeout(w.hideTimer),clearTimeout(w.showTimer),w.unbind.close(),w.unbind.events(),R.removeData(O)},event:{start:function(t){var n=e.isPlainObject(C.delay)?C.delay.show:C.delay;clearTimeout(w.hideTimer),(!_||_&&C.addTouchEvents)&&(w.showTimer=setTimeout((function(){w.show()}),n))},end:function(){var t=e.isPlainObject(C.delay)?C.delay.hide:C.delay;clearTimeout(w.showTimer),w.hideTimer=setTimeout((function(){w.hide()}),t)},touchstart:function(e){_=!0,C.addTouchEvents&&w.show()},resize:function(){w.is.visible()&&w.set.position()},documentChanged:function(t){[].forEach.call(t,(function(t){t.removedNodes&&[].forEach.call(t.removedNodes,(function(t){(t===I||e(t).find(I).length>0)&&(w.debug("Element removed from DOM, tearing down events"),w.destroy())}))}))},hideGracefully:function(t){var i=e(t.target),o=e.contains(n.documentElement,t.target),r=i.closest(S.popup).length>0;t&&!r&&o?(w.debug("Click occurred outside popup hiding popup"),w.hide()):w.debug("Click was inside popup, keeping popup open")}},create:function(){var t=L.next(S.popup),n=!C.popup&&0===t.length&&R.attr("title"),i=w.get.html(),o=w.get.title(),r=w.get.content(n);i||r||o?(w.debug("Creating pop-up html"),i||(i=C.templates.popup({title:o,content:r})),a=e("").addClass(k.popup).data(E.activator,R).html(i),C.inline?(w.verbose("Inserting popup element inline",a),a.insertAfter(R)):(w.verbose("Appending popup element to body",a),a.appendTo(P)),w.refresh(),w.set.variation(),C.hoverable&&w.bind.popup(),C.onCreate.call(a,I)):C.popup?(s.find(C.popup).data(E.activator,R),w.verbose("Used popup specified in settings"),w.refresh(),C.hoverable&&w.bind.popup()):t.length>0?(w.verbose("Pre-existing popup found"),C.inline=!0,C.popup=t.data(E.activator,R),w.refresh(),C.hoverable&&w.bind.popup()):w.debug("No content specified skipping display",I)},createID:function(){x=(Math.random().toString(16)+"000000000").slice(2,10),y="."+x,w.verbose("Creating unique id for element",x)},toggle:function(){w.debug("Toggling pop-up"),w.is.hidden()?(w.debug("Popup is hidden, showing pop-up"),w.unbind.close(),w.show()):(w.debug("Popup is visible, hiding pop-up"),w.hide())},show:function(e){if(e=e||function(){},w.debug("Showing pop-up",C.transition),w.is.hidden()&&(!w.is.active()||!w.is.dropdown())){if(w.exists()||w.create(),!1===C.onShow.call(a,I))return void w.debug("onShow callback returned false, cancelling popup animation");C.preserve||C.popup||w.refresh(),a&&w.set.position()&&(w.save.conditions(),C.exclusive&&w.hideAll(),w.animate.show(e))}},hide:function(e){if(e=e||function(){},w.is.visible()||w.is.animating()){if(!1===C.onHide.call(a,I))return void w.debug("onHide callback returned false, cancelling popup animation");w.remove.visible(),w.unbind.close(),w.restore.conditions(),w.animate.hide(e)}},hideAll:function(){s.find(S.popup).filter("."+k.popupVisible).each((function(){e(this).data(E.activator).popup("hide")}))},exists:function(){return!!a&&(C.inline||C.popup?w.has.popup():a.closest(P).length>0)},removePopup:function(){w.has.popup()&&!C.popup&&(w.debug("Removing popup",a),a.remove(),a=void 0,C.onRemove.call(a,I))},save:{conditions:function(){w.cache={title:R.attr("title")},w.cache.title&&R.removeAttr("title"),w.verbose("Saving original attributes",w.cache.title)}},restore:{conditions:function(){return w.cache&&w.cache.title&&(R.attr("title",w.cache.title),w.verbose("Restoring original attributes",w.cache.title)),!0}},supports:{svg:function(){return"undefined"!=typeof SVGGraphicsElement}},animate:{show:function(e){e=i(e)?e:function(){},C.transition&&w.can.useElement("transition")&&(w.set.visible(),a.transition({animation:(C.transition.showMethod||C.transition)+" in",queue:!1,debug:C.debug,verbose:C.verbose,silent:C.silent,duration:C.transition.showDuration||C.duration,onComplete:function(){w.bind.close(),e.call(a,I),C.onVisible.call(a,I)}}))},hide:function(t){t=i(t)?t:function(){},w.debug("Hiding pop-up"),C.transition&&void 0!==e.fn.transition?a.transition({animation:(C.transition.hideMethod||C.transition)+" out",queue:!1,duration:C.transition.hideDuration||C.duration,debug:C.debug,verbose:C.verbose,silent:C.silent,onComplete:function(){w.reset(),t.call(a,I),C.onHidden.call(a,I)}}):w.error(T.noTransition)}},change:{content:function(e){a.html(e)}},get:{html:function(){return R.removeData(E.html),R.data(E.html)||C.html},title:function(){return R.removeData(E.title),R.data(E.title)||C.title},content:function(e){return R.removeData(E.content),R.data(E.content)||C.content||e},variation:function(){return R.removeData(E.variation),R.data(E.variation)||C.variation},popup:function(){return a},popupOffset:function(){return a.offset()},calculations:function(){var e,n=w.get.offsetParent(a),i=L[0],o=N[0]===t,r=L.offset(),s=C.inline||C.popup&&C.movePopup?L.offsetParent().offset():{top:0,left:0},l=o?{top:0,left:0}:N.offset(),u={},d=o?{top:c.scrollTop(),left:c.scrollLeft()}:{top:0,left:0};if(u={target:{element:L[0],width:L.outerWidth(),height:L.outerHeight(),top:r.top-s.top,left:r.left-s.left,margin:{}},popup:{width:a.outerWidth(),height:a.outerHeight()},parent:{width:v.outerWidth(),height:v.outerHeight()},screen:{top:l.top,left:l.left,scroll:{top:d.top,left:d.left},width:N.width(),height:N.height()}},n[0]!==v[0]){var f=n.offset();u.target.top-=f.top,u.target.left-=f.left,u.parent.width=n.outerWidth(),u.parent.height=n.outerHeight()}return C.setFluidWidth&&w.is.fluid()&&(u.container={width:a.parent().outerWidth()},u.popup.width=u.container.width),u.target.margin.top=C.inline?parseInt(t.getComputedStyle(i).getPropertyValue("margin-top"),10):0,u.target.margin.left=C.inline?w.is.rtl()?parseInt(t.getComputedStyle(i).getPropertyValue("margin-right"),10):parseInt(t.getComputedStyle(i).getPropertyValue("margin-left"),10):0,e=u.screen,u.boundary={top:e.top+e.scroll.top,bottom:e.top+e.scroll.top+e.height,left:e.left+e.scroll.left,right:e.left+e.scroll.left+e.width},u},id:function(){return x},startEvent:function(){return"hover"===C.on?"mouseenter":"focus"===C.on&&"focus"},scrollEvent:function(){return"scroll"},endEvent:function(){return"hover"===C.on?"mouseleave":"focus"===C.on&&"blur"},distanceFromBoundary:function(e,t){var n,i,o={};return n=(t=t||w.get.calculations()).popup,i=t.boundary,e&&(o={top:e.top-i.top,left:e.left-i.left,right:i.right-(e.left+n.width),bottom:i.bottom-(e.top+n.height)},w.verbose("Distance from boundaries determined",e,o)),o},offsetParent:function(t){var n=(void 0!==t?t[0]:L[0]).parentNode,i=e(n);if(n)for(var o="none"===i.css("transform"),r="static"===i.css("position"),a=i.is("body");n&&!a&&r&&o;)n=n.parentNode,o="none"===(i=e(n)).css("transform"),r="static"===i.css("position"),a=i.is("body");return i&&i.length>0?i:e()},positions:function(){return{"top left":!1,"top center":!1,"top right":!1,"bottom left":!1,"bottom center":!1,"bottom right":!1,"left center":!1,"right center":!1}},nextPosition:function(e){var t=e.split(" "),n=t[0],i=t[1],o="top"===n||"bottom"===n,r=!1,a=!1,s=!1;return $||(w.verbose("All available positions available"),$=w.get.positions()),w.debug("Recording last position tried",e),$[e]=!0,"opposite"===C.prefer&&(s=(s=[{top:"bottom",bottom:"top",left:"right",right:"left"}[n],i]).join(" "),r=!0===$[s],w.debug("Trying opposite strategy",s)),"adjacent"===C.prefer&&o&&(s=(s=[n,{left:"center",center:"right",right:"left"}[i]]).join(" "),a=!0===$[s],w.debug("Trying adjacent strategy",s)),(a||r)&&(w.debug("Using backup position",s),s={"top left":"top center","top center":"top right","top right":"right center","right center":"bottom right","bottom right":"bottom center","bottom center":"bottom left","bottom left":"left center","left center":"top left"}[e]),s}},set:{position:function(e,t){if(0!==L.length&&0!==a.length){var n,i,o,r,s,c,l,u;if(t=t||w.get.calculations(),e=e||R.data(E.position)||C.position,n=R.data(E.offset)||C.offset,i=C.distanceAway,o=t.target,r=t.popup,s=t.parent,w.should.centerArrow(t)&&(w.verbose("Adjusting offset to center arrow on small target element"),"top left"!==e&&"bottom left"!==e||(n+=o.width/2,n-=C.arrowPixelsFromEdge),"top right"!==e&&"bottom right"!==e||(n-=o.width/2,n+=C.arrowPixelsFromEdge)),0===o.width&&0===o.height&&!w.is.svg(o.element))return w.debug("Popup target is hidden, no action taken"),!1;switch(C.inline&&(w.debug("Adding margin to calculation",o.margin),"left center"===e||"right center"===e?(n+=o.margin.top,i+=-o.margin.left):"top left"===e||"top center"===e||"top right"===e?(n+=o.margin.left,i-=o.margin.top):(n+=o.margin.left,i+=o.margin.top)),w.debug("Determining popup position from calculations",e,t),w.is.rtl()&&(e=e.replace(/left|right/g,(function(e){return"left"===e?"right":"left"})),w.debug("RTL: Popup position updated",e)),j===C.maxSearchDepth&&"string"==typeof C.lastResort&&(e=C.lastResort),e){case"top left":c={top:"auto",bottom:s.height-o.top+i,left:o.left+n,right:"auto"};break;case"top center":c={bottom:s.height-o.top+i,left:o.left+o.width/2-r.width/2+n,top:"auto",right:"auto"};break;case"top right":c={bottom:s.height-o.top+i,right:s.width-o.left-o.width-n,top:"auto",left:"auto"};break;case"left center":c={top:o.top+o.height/2-r.height/2+n,right:s.width-o.left+i,left:"auto",bottom:"auto"};break;case"right center":c={top:o.top+o.height/2-r.height/2+n,left:o.left+o.width+i,bottom:"auto",right:"auto"};break;case"bottom left":c={top:o.top+o.height+i,left:o.left+n,bottom:"auto",right:"auto"};break;case"bottom center":c={top:o.top+o.height+i,left:o.left+o.width/2-r.width/2+n,bottom:"auto",right:"auto"};break;case"bottom right":c={top:o.top+o.height+i,right:s.width-o.left-o.width-n,left:"auto",bottom:"auto"}}if(void 0===c&&w.error(T.invalidPosition,e),w.debug("Calculated popup positioning values",c),a.css(c).removeClass(k.position).addClass(e),w.set.invisible(),l=w.get.popupOffset(),u=w.get.distanceFromBoundary(l,t),!C.forcePosition&&w.is.offstage(u,e)){if(w.debug("Position is outside viewport",e),j0}},should:{centerArrow:function(e){return!w.is.basic()&&e.target.width<=2*C.arrowPixelsFromEdge}},is:{closable:function(){return"auto"===C.closable?"hover"!==C.on:C.closable},offstage:function(t,n){var i=[];return e.each(t,(function(e,t){t<-C.jitter&&(w.debug("Position exceeds allowable distance from edge",e,t,n),i.push(e))})),i.length>0},svg:function(e){return w.supports.svg()&&e instanceof SVGGraphicsElement},basic:function(){return R.hasClass(k.basic)},active:function(){return R.hasClass(k.active)},animating:function(){return void 0!==a&&a.hasClass(k.animating)},fluid:function(){return void 0!==a&&a.hasClass(k.fluid)},visible:function(){return void 0!==a&&a.hasClass(k.popupVisible)},dropdown:function(){return R.hasClass(k.dropdown)},hidden:function(){return!w.is.visible()},rtl:function(){return"rtl"===R.attr("dir")||"rtl"===R.css("direction")||"rtl"===l.attr("dir")||"rtl"===l.css("direction")||"rtl"===P.attr("dir")||"rtl"===P.css("direction")}},reset:function(){w.remove.visible(),C.preserve?void 0!==e.fn.transition&&a.transition("remove transition"):w.removePopup()},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,C,t);else{if(void 0===n)return C[t];C[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,w,t);else{if(void 0===n)return w[t];w[t]=n}},debug:function(){!C.silent&&C.debug&&(C.performance?w.performance.log(arguments):(w.debug=Function.prototype.bind.call(console.info,console,C.name+":"),w.debug.apply(console,arguments)))},verbose:function(){!C.silent&&C.verbose&&C.debug&&(C.performance?w.performance.log(arguments):(w.verbose=Function.prototype.bind.call(console.info,console,C.name+":"),w.verbose.apply(console,arguments)))},error:function(){C.silent||(w.error=Function.prototype.bind.call(console.error,console,C.name+":"),w.error.apply(console,arguments))},performance:{log:function(e){var t,n;C.performance&&(n=(t=Date.now())-(d||t),d=t,f.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:I,"Execution Time":n})),clearTimeout(w.performance.timer),w.performance.timer=setTimeout((function(){w.performance.display()}),500)},display:function(){var t=C.name+":",n=0;d=!1,clearTimeout(w.performance.timer),e.each(f,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",f.length>0&&(console.groupCollapsed(t),console.table?console.table(f):e.each(f,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),f=[]}},invoke:function(t,n,o){var a,s,c,l=H;return n=n||g,o=o||I,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(w.error(T.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},h?(void 0===H&&w.initialize(),w.invoke(p)):(void 0!==H&&H.invoke("destroy"),w.initialize())})),void 0!==r?r:this},e.fn.popup.settings={name:"Popup",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"popup",observeChanges:!0,onCreate:function(){},onRemove:function(){},onShow:function(){},onVisible:function(){},onHide:function(){},onUnplaceable:function(){},onHidden:function(){},on:"hover",boundary:t,addTouchEvents:!0,position:"top left",forcePosition:!1,variation:"",movePopup:!0,target:!1,popup:!1,inline:!1,preserve:!1,hoverable:!1,content:!1,html:!1,title:!1,closable:!0,hideOnScroll:"auto",exclusive:!1,context:"body",scrollContext:t,prefer:"opposite",lastResort:!1,arrowPixelsFromEdge:20,delay:{show:50,hide:70},setFluidWidth:!0,duration:200,transition:"scale",distanceAway:0,jitter:2,offset:0,maxSearchDepth:15,error:{invalidPosition:"The position you specified is not a valid position",cannotPlace:"Popup does not fit within the boundaries of the viewport",method:"The method you called is not defined.",noElement:"This module requires ui {element}",notFound:"The target or popup you specified does not exist on the page"},metadata:{activator:"activator",content:"content",html:"html",offset:"offset",position:"position",title:"title",variation:"variation"},className:{active:"active",basic:"basic",animating:"animating",dropdown:"dropdown",invisible:"invisible",fluid:"fluid",loading:"loading",popup:"ui popup",position:"top left center bottom right",visible:"visible",popupVisible:"visible"},selector:{popup:".ui.popup"},templates:{escape:function(e){var t={"<":"<",">":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,(function(e){return t[e]})):e},popup:function(t){var n="",i=e.fn.popup.settings.templates.escape;return void 0!==t&&(t.title&&(t.title=i(t.title),n+='
'+t.title+"
"),t.content&&(t.content=i(t.content),n+='
'+t.content+"
")),n}}}}(n(9755),window,document)},8329:(e,t,n)=>{
/*!
* # Fomantic-UI - Progress
* https://github.com/fomantic/Fomantic-UI/
@@ -135,7 +135,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.progress=function(t){var i,o=e(this),r=Date.now(),a=[],s=arguments[0],c="string"==typeof s,l=[].slice.call(arguments,1);return o.each((function(){var o,u=e.isPlainObject(t)?e.extend(!0,{},e.fn.progress.settings,t):e.extend({},e.fn.progress.settings),d=u.className,f=u.metadata,p=u.namespace,h=u.selector,m=u.error,g="."+p,v="module-"+p,b=e(this),y=e(this).find(h.bar),x=e(this).find(h.progress),w=e(this).find(h.label),C=this,S=b.data(v),k=!1;o={helper:{sum:function(e){return Array.isArray(e)?e.reduce((function(e,t){return e+Number(t)}),0):0},derivePrecision:function(e,t){for(var n=0,i=1,o=e/t;n<10&&!((o*=i)>1);)i=Math.pow(10,n++);return i},forceArray:function(e){return Array.isArray(e)?e:isNaN(e)?"string"==typeof e?e.split(","):[]:[e]}},initialize:function(){o.set.duration(),o.debug(C),o.read.metadata(),o.read.settings(),o.instantiate()},instantiate:function(){o.verbose("Storing instance of progress",o),S=o,b.data(v,o)},destroy:function(){o.verbose("Destroying previous progress for",b),clearInterval(S.interval),o.remove.state(),b.removeData(v),S=void 0},reset:function(){o.remove.nextValue(),o.update.progress(0)},complete:function(e){(void 0===o.percent||o.percent<100)&&(o.remove.progressPoll(),!0!==e&&o.set.percent(100))},read:{metadata:function(){var e={percent:o.helper.forceArray(b.data(f.percent)),total:b.data(f.total),value:o.helper.forceArray(b.data(f.value))};void 0!==e.total&&(o.debug("Total value set from metadata",e.total),o.set.total(e.total)),e.value.length>0&&(o.debug("Current value set from metadata",e.value),o.set.value(e.value),o.set.progress(e.value)),e.percent.length>0&&(o.debug("Current percent value set from metadata",e.percent),o.set.percent(e.percent))},settings:function(){!1!==u.total&&(o.debug("Current total set in settings",u.total),o.set.total(u.total)),!1!==u.value&&(o.debug("Current value set in settings",u.value),o.set.value(u.value),o.set.progress(o.value)),!1!==u.percent&&(o.debug("Current percent set in settings",u.percent),o.set.percent(u.percent))}},bind:{transitionEnd:function(e){y.one("transitionend"+g,(function(t){clearTimeout(o.failSafeTimer),e.call(this,t)})),o.failSafeTimer=setTimeout((function(){y.triggerHandler("transitionend")}),u.duration+u.failSafeDelay),o.verbose("Adding fail safe timer",o.timer)}},increment:function(e){var t,n;o.has.total()?(t=o.get.value(),e=e||1):(t=o.get.percent(),e=e||o.get.randomValue()),n=t+e,o.debug("Incrementing percentage by",t,n,e),n=o.get.normalizedValue(n),o.set.progress(n)},decrement:function(e){var t,n;o.get.total()?(n=(t=o.get.value())-(e=e||1),o.debug("Decrementing value by",e,t)):(n=(t=o.get.percent())-(e=e||o.get.randomValue()),o.debug("Decrementing percentage by",e,t)),n=o.get.normalizedValue(n),o.set.progress(n)},has:{progressPoll:function(){return o.progressPoll},total:function(){return!1!==o.get.total()}},get:{text:function(e,t){t||(t=0);var n=o.get.value(t),i=o.get.total(),r=k?o.get.displayPercent(t):o.get.percent(t),a=!1!==i?Math.max(0,i-n):100-r;return e=(e=e||"").replace("{value}",n).replace("{total}",i||0).replace("{left}",a).replace("{percent}",r).replace("{bar}",u.text.bars[t]||""),o.verbose("Adding variables to progress bar text",e),e},normalizedValue:function(e){if(e<0)return o.debug("Value cannot decrement below 0"),0;if(o.has.total()){if(e>o.total)return o.debug("Value cannot increment above total",o.total),o.total}else if(e>100)return o.debug("Value cannot increment above 100 percent"),100;return e},updateInterval:function(){return"auto"===u.updateInterval?u.duration:u.updateInterval},randomValue:function(){return o.debug("Generating random increment percentage"),Math.floor(Math.random()*u.random.max+u.random.min)},numericValue:function(e){return"string"==typeof e?""!==e.replace(/[^\d.]/g,"")&&+e.replace(/[^\d.]/g,""):e},displayPercent:function(t){var n=e(y[t]),i=n.width(),r=b.width(),a=i>parseInt(n.css("min-width"),10)?i/r*100:o.percent;return u.precision>0?Math.round(a*(10*u.precision))/(10*u.precision):Math.round(a)},percent:function(e){return o.percent&&o.percent[e||0]||0},value:function(e){return o.nextValue||o.value&&o.value[e||0]||0},total:function(){return void 0!==o.total&&o.total}},create:{progressPoll:function(){o.progressPoll=setTimeout((function(){o.update.toNextValue(),o.remove.progressPoll()}),o.get.updateInterval())}},is:{complete:function(){return o.is.success()||o.is.warning()||o.is.error()},success:function(){return b.hasClass(d.success)},warning:function(){return b.hasClass(d.warning)},error:function(){return b.hasClass(d.error)},active:function(){return b.hasClass(d.active)},visible:function(){return b.is(":visible")}},remove:{progressPoll:function(){o.verbose("Removing progress poll timer"),o.progressPoll&&(clearTimeout(o.progressPoll),delete o.progressPoll)},nextValue:function(){o.verbose("Removing progress value stored for next update"),delete o.nextValue},state:function(){o.verbose("Removing stored state"),delete o.total,delete o.percent,delete o.value},active:function(){o.verbose("Removing active state"),b.removeClass(d.active)},success:function(){o.verbose("Removing success state"),b.removeClass(d.success)},warning:function(){o.verbose("Removing warning state"),b.removeClass(d.warning)},error:function(){o.verbose("Removing error state"),b.removeClass(d.error)}},set:{barWidth:function(t){o.debug("set bar width with ",t),t=o.helper.forceArray(t);var n=-1,i=-1,r=o.helper.sum(t),a=y.length,s=a>1,c=t.map((function(t,o){var c=o===a-1&&0===r,l=e(y[o]);return 0===t&&s&&!c?l.css("display","none"):(s&&c&&l.css("background","transparent"),-1===n&&(n=o),i=o,l.css({display:"block",width:t+"%"})),parseFloat(t)}));t.forEach((function(t,o){e(y[o]).css({borderTopLeftRadius:o===n?"":"0",borderBottomLeftRadius:o===n?"":"0",borderTopRightRadius:o===i?"":"0",borderBottomRightRadius:o===i?"":"0"})})),b.attr("data-percent",c)},duration:function(e){e="number"==typeof(e=e||u.duration)?e+"ms":e,o.verbose("Setting progress bar transition duration",e),y.css({"transition-duration":e})},percent:function(e){e=o.helper.forceArray(e).map((function(e){return e="string"==typeof e?+e.replace("%",""):e,u.limitValues?Math.max(0,Math.min(100,e)):e}));var t=o.has.total(),n=o.helper.sum(e),i=e.length>1&&t,r=o.helper.sum(o.helper.forceArray(o.value));if(i&&r>o.total)o.error(m.sumExceedsTotal,r,o.total);else if(!i&&n>100)o.error(m.tooHigh,n);else if(n<0)o.error(m.tooLow,n);else{var a=u.precision>0?u.precision:i?o.helper.derivePrecision(Math.min.apply(null,o.value),o.total):0,s=e.map((function(e){return a>0?Math.round(e*(10*a))/(10*a):Math.round(e)}));o.percent=s,t&&(o.value=e.map((function(e){return a>0?Math.round(e/100*o.total*(10*a))/(10*a):Math.round(e/100*o.total*10)/10}))),o.set.barWidth(e),o.set.labelInterval()}u.onChange.call(C,e,o.value,o.total)},labelInterval:function(){clearInterval(o.interval),o.bind.transitionEnd((function(){o.verbose("Bar finished animating, removing continuous label updates"),clearInterval(o.interval),k=!1,o.set.labels()})),k=!0,o.interval=setInterval((function(){e.contains(n.documentElement,C)||(clearInterval(o.interval),k=!1),o.set.labels()}),u.framerate)},labels:function(){o.verbose("Setting both bar progress and outer label text"),o.set.barLabel(),o.set.state()},label:function(e){e&&(e=o.get.text(e),o.verbose("Setting label to text",e),w.text(e))},state:function(e){100===(e=void 0!==e?e:o.helper.sum(o.percent))?u.autoSuccess&&1===y.length&&!(o.is.warning()||o.is.error()||o.is.success())?(o.set.success(),o.debug("Automatically triggering success at 100%")):(o.verbose("Reached 100% removing active state"),o.remove.active(),o.remove.progressPoll()):e>0?(o.verbose("Adjusting active progress bar label",e),o.set.active()):(o.remove.active(),o.remove.warning(),o.remove.error(),o.remove.success(),o.set.label(u.text.active))},barLabel:function(t){x.each((function(n,i){var r=e(i);void 0!==t?r.text(o.get.text(t,n)):"ratio"===u.label&&o.has.total()?(o.verbose("Adding ratio to bar label"),r.text(o.get.text(u.text.ratio,n))):"percent"===u.label&&(o.verbose("Adding percentage to bar label"),r.text(o.get.text(u.text.percent,n)))}))},active:function(e){e=e||u.text.active,o.debug("Setting active state"),u.showActivity&&!o.is.active()&&b.addClass(d.active),o.remove.warning(),o.remove.error(),o.remove.success(),(e=u.onLabelUpdate("active",e,o.value,o.total))&&o.set.label(e),o.bind.transitionEnd((function(){u.onActive.call(C,o.value,o.total)}))},success:function(e,t){e=e||u.text.success||u.text.active,o.debug("Setting success state"),b.addClass(d.success),o.remove.active(),o.remove.warning(),o.remove.error(),o.complete(t),u.text.success?(e=u.onLabelUpdate("success",e,o.value,o.total),o.set.label(e)):(e=u.onLabelUpdate("active",e,o.value,o.total),o.set.label(e)),o.bind.transitionEnd((function(){u.onSuccess.call(C,o.total)}))},warning:function(e,t){e=e||u.text.warning,o.debug("Setting warning state"),b.addClass(d.warning),o.remove.active(),o.remove.success(),o.remove.error(),o.complete(t),(e=u.onLabelUpdate("warning",e,o.value,o.total))&&o.set.label(e),o.bind.transitionEnd((function(){u.onWarning.call(C,o.value,o.total)}))},error:function(e,t){e=e||u.text.error,o.debug("Setting error state"),b.addClass(d.error),o.remove.active(),o.remove.success(),o.remove.warning(),o.complete(t),(e=u.onLabelUpdate("error",e,o.value,o.total))&&o.set.label(e),o.bind.transitionEnd((function(){u.onError.call(C,o.value,o.total)}))},total:function(e){o.total=e},value:function(e){o.value=o.helper.forceArray(e)},progress:function(e){o.has.progressPoll()?(o.debug("Updated within interval, setting next update to use new value",e),o.set.nextValue(e)):(o.debug("First update in progress update interval, immediately updating",e),o.update.progress(e),o.create.progressPoll())},nextValue:function(e){o.nextValue=e}},update:{toNextValue:function(){var e=o.nextValue;e&&(o.debug("Update interval complete using last updated value",e),o.update.progress(e),o.remove.nextValue())},progress:function(e){var t=o.has.total();t&&o.set.value(e);var n=o.helper.forceArray(e).map((function(e){var n;return!1===(e=o.get.numericValue(e))&&o.error(m.nonNumeric,e),e=o.get.normalizedValue(e),t?(n=o.total>0?e/o.total*100:100,o.debug("Calculating percent complete from total",n)):(n=e,o.debug("Setting value to exact percentage value",n)),n}));o.set.percent(n)}},setting:function(t,n){if(o.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,u,t);else{if(void 0===n)return u[t];e.isPlainObject(u[t])?e.extend(!0,u[t],n):u[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,o,t);else{if(void 0===n)return o[t];o[t]=n}},debug:function(){!u.silent&&u.debug&&(u.performance?o.performance.log(arguments):(o.debug=Function.prototype.bind.call(console.info,console,u.name+":"),o.debug.apply(console,arguments)))},verbose:function(){!u.silent&&u.verbose&&u.debug&&(u.performance?o.performance.log(arguments):(o.verbose=Function.prototype.bind.call(console.info,console,u.name+":"),o.verbose.apply(console,arguments)))},error:function(){u.silent||(o.error=Function.prototype.bind.call(console.error,console,u.name+":"),o.error.apply(console,arguments))},performance:{log:function(e){var t,n;u.performance&&(n=(t=Date.now())-(r||t),r=t,a.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:C,"Execution Time":n})),clearTimeout(o.performance.timer),o.performance.timer=setTimeout((function(){o.performance.display()}),500)},display:function(){var t=u.name+":",n=0;r=!1,clearTimeout(o.performance.timer),e.each(a,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a.length>0&&(console.groupCollapsed(t),console.table?console.table(a):e.each(a,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),a=[]}},invoke:function(t,n,r){var a,s,c,u,d=S;return n=n||l,r=r||C,"string"==typeof t&&void 0!==d&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var r=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(d[r])&&n!==a)d=d[r];else{if(void 0!==d[r])return s=d[r],!1;if(!e.isPlainObject(d[i])||n===a)return void 0!==d[i]?(s=d[i],!1):(o.error(m.method,t),!1);d=d[i]}}))),"function"==typeof(u=s)&&"number"!=typeof u.nodeType?c=s.apply(r,n):void 0!==s&&(c=s),Array.isArray(i)?i.push(c):void 0!==i?i=[i,c]:void 0!==c&&(i=c),s}},c?(void 0===S&&o.initialize(),o.invoke(s)):(void 0!==S&&S.invoke("destroy"),o.initialize())})),void 0!==i?i:this},e.fn.progress.settings={name:"Progress",namespace:"progress",silent:!1,debug:!1,verbose:!1,performance:!0,random:{min:2,max:5},duration:300,updateInterval:"auto",autoSuccess:!0,showActivity:!0,limitValues:!0,label:"percent",precision:0,framerate:1e3/30,percent:!1,total:!1,value:!1,failSafeDelay:100,onLabelUpdate:function(e,t,n,i){return t},onChange:function(e,t,n){},onSuccess:function(e){},onActive:function(e,t){},onError:function(e,t){},onWarning:function(e,t){},error:{method:"The method you called is not defined.",nonNumeric:"Progress value is non numeric",tooHigh:"Value specified is above 100%",tooLow:"Value specified is below 0%",sumExceedsTotal:"Sum of multiple values exceed total"},regExp:{variable:/{\$*[\da-z]+}/gi},metadata:{percent:"percent",total:"total",value:"value"},selector:{bar:"> .bar",label:"> .label",progress:".bar > .progress"},text:{active:!1,error:!1,success:!1,warning:!1,percent:"{percent}%",ratio:"{value} of {total}",bars:[""]},className:{active:"active",error:"error",success:"success",warning:"warning"}}}(n(9755),window,document)},4696:(e,t,n)=>{
+!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.progress=function(t){var i,o=e(this),r=Date.now(),a=[],s=arguments[0],c="string"==typeof s,l=[].slice.call(arguments,1);return o.each((function(){var o,u=e.isPlainObject(t)?e.extend(!0,{},e.fn.progress.settings,t):e.extend({},e.fn.progress.settings),d=u.className,f=u.metadata,p=u.namespace,h=u.selector,g=u.error,m="."+p,v="module-"+p,b=e(this),y=e(this).find(h.bar),x=e(this).find(h.progress),w=e(this).find(h.label),C=this,S=b.data(v),k=!1;o={helper:{sum:function(e){return Array.isArray(e)?e.reduce((function(e,t){return e+Number(t)}),0):0},derivePrecision:function(e,t){for(var n=0,i=1,o=e/t;n<10&&!((o*=i)>1);)i=Math.pow(10,n++);return i},forceArray:function(e){return Array.isArray(e)?e:isNaN(e)?"string"==typeof e?e.split(","):[]:[e]}},initialize:function(){o.set.duration(),o.debug(C),o.read.metadata(),o.read.settings(),o.instantiate()},instantiate:function(){o.verbose("Storing instance of progress",o),S=o,b.data(v,o)},destroy:function(){o.verbose("Destroying previous progress for",b),clearInterval(S.interval),o.remove.state(),b.removeData(v),S=void 0},reset:function(){o.remove.nextValue(),o.update.progress(0)},complete:function(e){(void 0===o.percent||o.percent<100)&&(o.remove.progressPoll(),!0!==e&&o.set.percent(100))},read:{metadata:function(){var e={percent:o.helper.forceArray(b.data(f.percent)),total:b.data(f.total),value:o.helper.forceArray(b.data(f.value))};void 0!==e.total&&(o.debug("Total value set from metadata",e.total),o.set.total(e.total)),e.value.length>0&&(o.debug("Current value set from metadata",e.value),o.set.value(e.value),o.set.progress(e.value)),e.percent.length>0&&(o.debug("Current percent value set from metadata",e.percent),o.set.percent(e.percent))},settings:function(){!1!==u.total&&(o.debug("Current total set in settings",u.total),o.set.total(u.total)),!1!==u.value&&(o.debug("Current value set in settings",u.value),o.set.value(u.value),o.set.progress(o.value)),!1!==u.percent&&(o.debug("Current percent set in settings",u.percent),o.set.percent(u.percent))}},bind:{transitionEnd:function(e){y.one("transitionend"+m,(function(t){clearTimeout(o.failSafeTimer),e.call(this,t)})),o.failSafeTimer=setTimeout((function(){y.triggerHandler("transitionend")}),u.duration+u.failSafeDelay),o.verbose("Adding fail safe timer",o.timer)}},increment:function(e){var t,n;o.has.total()?(t=o.get.value(),e=e||1):(t=o.get.percent(),e=e||o.get.randomValue()),n=t+e,o.debug("Incrementing percentage by",t,n,e),n=o.get.normalizedValue(n),o.set.progress(n)},decrement:function(e){var t,n;o.get.total()?(n=(t=o.get.value())-(e=e||1),o.debug("Decrementing value by",e,t)):(n=(t=o.get.percent())-(e=e||o.get.randomValue()),o.debug("Decrementing percentage by",e,t)),n=o.get.normalizedValue(n),o.set.progress(n)},has:{progressPoll:function(){return o.progressPoll},total:function(){return!1!==o.get.total()}},get:{text:function(e,t){t||(t=0);var n=o.get.value(t),i=o.get.total(),r=k?o.get.displayPercent(t):o.get.percent(t),a=!1!==i?Math.max(0,i-n):100-r;return e=(e=e||"").replace("{value}",n).replace("{total}",i||0).replace("{left}",a).replace("{percent}",r).replace("{bar}",u.text.bars[t]||""),o.verbose("Adding variables to progress bar text",e),e},normalizedValue:function(e){if(e<0)return o.debug("Value cannot decrement below 0"),0;if(o.has.total()){if(e>o.total)return o.debug("Value cannot increment above total",o.total),o.total}else if(e>100)return o.debug("Value cannot increment above 100 percent"),100;return e},updateInterval:function(){return"auto"===u.updateInterval?u.duration:u.updateInterval},randomValue:function(){return o.debug("Generating random increment percentage"),Math.floor(Math.random()*u.random.max+u.random.min)},numericValue:function(e){return"string"==typeof e?""!==e.replace(/[^\d.]/g,"")&&+e.replace(/[^\d.]/g,""):e},displayPercent:function(t){var n=e(y[t]),i=n.width(),r=b.width(),a=i>parseInt(n.css("min-width"),10)?i/r*100:o.percent;return u.precision>0?Math.round(a*(10*u.precision))/(10*u.precision):Math.round(a)},percent:function(e){return o.percent&&o.percent[e||0]||0},value:function(e){return o.nextValue||o.value&&o.value[e||0]||0},total:function(){return void 0!==o.total&&o.total}},create:{progressPoll:function(){o.progressPoll=setTimeout((function(){o.update.toNextValue(),o.remove.progressPoll()}),o.get.updateInterval())}},is:{complete:function(){return o.is.success()||o.is.warning()||o.is.error()},success:function(){return b.hasClass(d.success)},warning:function(){return b.hasClass(d.warning)},error:function(){return b.hasClass(d.error)},active:function(){return b.hasClass(d.active)},visible:function(){return b.is(":visible")}},remove:{progressPoll:function(){o.verbose("Removing progress poll timer"),o.progressPoll&&(clearTimeout(o.progressPoll),delete o.progressPoll)},nextValue:function(){o.verbose("Removing progress value stored for next update"),delete o.nextValue},state:function(){o.verbose("Removing stored state"),delete o.total,delete o.percent,delete o.value},active:function(){o.verbose("Removing active state"),b.removeClass(d.active)},success:function(){o.verbose("Removing success state"),b.removeClass(d.success)},warning:function(){o.verbose("Removing warning state"),b.removeClass(d.warning)},error:function(){o.verbose("Removing error state"),b.removeClass(d.error)}},set:{barWidth:function(t){o.debug("set bar width with ",t),t=o.helper.forceArray(t);var n=-1,i=-1,r=o.helper.sum(t),a=y.length,s=a>1,c=t.map((function(t,o){var c=o===a-1&&0===r,l=e(y[o]);return 0===t&&s&&!c?l.css("display","none"):(s&&c&&l.css("background","transparent"),-1===n&&(n=o),i=o,l.css({display:"block",width:t+"%"})),parseFloat(t)}));t.forEach((function(t,o){e(y[o]).css({borderTopLeftRadius:o===n?"":"0",borderBottomLeftRadius:o===n?"":"0",borderTopRightRadius:o===i?"":"0",borderBottomRightRadius:o===i?"":"0"})})),b.attr("data-percent",c)},duration:function(e){e="number"==typeof(e=e||u.duration)?e+"ms":e,o.verbose("Setting progress bar transition duration",e),y.css({"transition-duration":e})},percent:function(e){e=o.helper.forceArray(e).map((function(e){return e="string"==typeof e?+e.replace("%",""):e,u.limitValues?Math.max(0,Math.min(100,e)):e}));var t=o.has.total(),n=o.helper.sum(e),i=e.length>1&&t,r=o.helper.sum(o.helper.forceArray(o.value));if(i&&r>o.total)o.error(g.sumExceedsTotal,r,o.total);else if(!i&&n>100)o.error(g.tooHigh,n);else if(n<0)o.error(g.tooLow,n);else{var a=u.precision>0?u.precision:i?o.helper.derivePrecision(Math.min.apply(null,o.value),o.total):0,s=e.map((function(e){return a>0?Math.round(e*(10*a))/(10*a):Math.round(e)}));o.percent=s,t&&(o.value=e.map((function(e){return a>0?Math.round(e/100*o.total*(10*a))/(10*a):Math.round(e/100*o.total*10)/10}))),o.set.barWidth(e),o.set.labelInterval()}u.onChange.call(C,e,o.value,o.total)},labelInterval:function(){clearInterval(o.interval),o.bind.transitionEnd((function(){o.verbose("Bar finished animating, removing continuous label updates"),clearInterval(o.interval),k=!1,o.set.labels()})),k=!0,o.interval=setInterval((function(){e.contains(n.documentElement,C)||(clearInterval(o.interval),k=!1),o.set.labels()}),u.framerate)},labels:function(){o.verbose("Setting both bar progress and outer label text"),o.set.barLabel(),o.set.state()},label:function(e){e&&(e=o.get.text(e),o.verbose("Setting label to text",e),w.text(e))},state:function(e){100===(e=void 0!==e?e:o.helper.sum(o.percent))?u.autoSuccess&&1===y.length&&!(o.is.warning()||o.is.error()||o.is.success())?(o.set.success(),o.debug("Automatically triggering success at 100%")):(o.verbose("Reached 100% removing active state"),o.remove.active(),o.remove.progressPoll()):e>0?(o.verbose("Adjusting active progress bar label",e),o.set.active()):(o.remove.active(),o.remove.warning(),o.remove.error(),o.remove.success(),o.set.label(u.text.active))},barLabel:function(t){x.each((function(n,i){var r=e(i);void 0!==t?r.text(o.get.text(t,n)):"ratio"===u.label&&o.has.total()?(o.verbose("Adding ratio to bar label"),r.text(o.get.text(u.text.ratio,n))):"percent"===u.label&&(o.verbose("Adding percentage to bar label"),r.text(o.get.text(u.text.percent,n)))}))},active:function(e){e=e||u.text.active,o.debug("Setting active state"),u.showActivity&&!o.is.active()&&b.addClass(d.active),o.remove.warning(),o.remove.error(),o.remove.success(),(e=u.onLabelUpdate("active",e,o.value,o.total))&&o.set.label(e),o.bind.transitionEnd((function(){u.onActive.call(C,o.value,o.total)}))},success:function(e,t){e=e||u.text.success||u.text.active,o.debug("Setting success state"),b.addClass(d.success),o.remove.active(),o.remove.warning(),o.remove.error(),o.complete(t),u.text.success?(e=u.onLabelUpdate("success",e,o.value,o.total),o.set.label(e)):(e=u.onLabelUpdate("active",e,o.value,o.total),o.set.label(e)),o.bind.transitionEnd((function(){u.onSuccess.call(C,o.total)}))},warning:function(e,t){e=e||u.text.warning,o.debug("Setting warning state"),b.addClass(d.warning),o.remove.active(),o.remove.success(),o.remove.error(),o.complete(t),(e=u.onLabelUpdate("warning",e,o.value,o.total))&&o.set.label(e),o.bind.transitionEnd((function(){u.onWarning.call(C,o.value,o.total)}))},error:function(e,t){e=e||u.text.error,o.debug("Setting error state"),b.addClass(d.error),o.remove.active(),o.remove.success(),o.remove.warning(),o.complete(t),(e=u.onLabelUpdate("error",e,o.value,o.total))&&o.set.label(e),o.bind.transitionEnd((function(){u.onError.call(C,o.value,o.total)}))},total:function(e){o.total=e},value:function(e){o.value=o.helper.forceArray(e)},progress:function(e){o.has.progressPoll()?(o.debug("Updated within interval, setting next update to use new value",e),o.set.nextValue(e)):(o.debug("First update in progress update interval, immediately updating",e),o.update.progress(e),o.create.progressPoll())},nextValue:function(e){o.nextValue=e}},update:{toNextValue:function(){var e=o.nextValue;e&&(o.debug("Update interval complete using last updated value",e),o.update.progress(e),o.remove.nextValue())},progress:function(e){var t=o.has.total();t&&o.set.value(e);var n=o.helper.forceArray(e).map((function(e){var n;return!1===(e=o.get.numericValue(e))&&o.error(g.nonNumeric,e),e=o.get.normalizedValue(e),t?(n=o.total>0?e/o.total*100:100,o.debug("Calculating percent complete from total",n)):(n=e,o.debug("Setting value to exact percentage value",n)),n}));o.set.percent(n)}},setting:function(t,n){if(o.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,u,t);else{if(void 0===n)return u[t];e.isPlainObject(u[t])?e.extend(!0,u[t],n):u[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,o,t);else{if(void 0===n)return o[t];o[t]=n}},debug:function(){!u.silent&&u.debug&&(u.performance?o.performance.log(arguments):(o.debug=Function.prototype.bind.call(console.info,console,u.name+":"),o.debug.apply(console,arguments)))},verbose:function(){!u.silent&&u.verbose&&u.debug&&(u.performance?o.performance.log(arguments):(o.verbose=Function.prototype.bind.call(console.info,console,u.name+":"),o.verbose.apply(console,arguments)))},error:function(){u.silent||(o.error=Function.prototype.bind.call(console.error,console,u.name+":"),o.error.apply(console,arguments))},performance:{log:function(e){var t,n;u.performance&&(n=(t=Date.now())-(r||t),r=t,a.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:C,"Execution Time":n})),clearTimeout(o.performance.timer),o.performance.timer=setTimeout((function(){o.performance.display()}),500)},display:function(){var t=u.name+":",n=0;r=!1,clearTimeout(o.performance.timer),e.each(a,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a.length>0&&(console.groupCollapsed(t),console.table?console.table(a):e.each(a,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),a=[]}},invoke:function(t,n,r){var a,s,c,u,d=S;return n=n||l,r=r||C,"string"==typeof t&&void 0!==d&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var r=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(d[r])&&n!==a)d=d[r];else{if(void 0!==d[r])return s=d[r],!1;if(!e.isPlainObject(d[i])||n===a)return void 0!==d[i]?(s=d[i],!1):(o.error(g.method,t),!1);d=d[i]}}))),"function"==typeof(u=s)&&"number"!=typeof u.nodeType?c=s.apply(r,n):void 0!==s&&(c=s),Array.isArray(i)?i.push(c):void 0!==i?i=[i,c]:void 0!==c&&(i=c),s}},c?(void 0===S&&o.initialize(),o.invoke(s)):(void 0!==S&&S.invoke("destroy"),o.initialize())})),void 0!==i?i:this},e.fn.progress.settings={name:"Progress",namespace:"progress",silent:!1,debug:!1,verbose:!1,performance:!0,random:{min:2,max:5},duration:300,updateInterval:"auto",autoSuccess:!0,showActivity:!0,limitValues:!0,label:"percent",precision:0,framerate:1e3/30,percent:!1,total:!1,value:!1,failSafeDelay:100,onLabelUpdate:function(e,t,n,i){return t},onChange:function(e,t,n){},onSuccess:function(e){},onActive:function(e,t){},onError:function(e,t){},onWarning:function(e,t){},error:{method:"The method you called is not defined.",nonNumeric:"Progress value is non numeric",tooHigh:"Value specified is above 100%",tooLow:"Value specified is below 0%",sumExceedsTotal:"Sum of multiple values exceed total"},regExp:{variable:/{\$*[\da-z]+}/gi},metadata:{percent:"percent",total:"total",value:"value"},selector:{bar:"> .bar",label:"> .label",progress:".bar > .progress"},text:{active:!1,error:!1,success:!1,warning:!1,percent:"{percent}%",ratio:"{value} of {total}",bars:[""]},className:{active:"active",error:"error",success:"success",warning:"warning"}}}(n(9755),window,document)},4696:(e,t,n)=>{
/*!
* # Fomantic-UI - Search
* https://github.com/fomantic/Fomantic-UI/
@@ -145,7 +145,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.search=function(o){var r,a=e(this),s=Date.now(),c=[],l=arguments[0],u="string"==typeof l,d=[].slice.call(arguments,1);return a.each((function(){var f,p=e.isPlainObject(o)?e.extend(!0,{},e.fn.search.settings,o):e.extend({},e.fn.search.settings),h=p.className,m=p.metadata,g=p.regExp,v=p.fields,b=p.selector,y=p.error,x=p.namespace,w="."+x,C=x+"-module",S=e(this),k=S.find(b.prompt),T=S.find(b.searchButton),A=S.find(b.results),E=S.find(b.result),D=(S.find(b.category),this),O=S.data(C),P=!1,R=!1;f={initialize:function(){f.verbose("Initializing module"),f.get.settings(),f.determine.searchFields(),f.bind.events(),f.set.type(),f.create.results(),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),O=f,S.data(C,f)},destroy:function(){f.verbose("Destroying instance"),S.off(w).removeData(C)},refresh:function(){f.debug("Refreshing selector cache"),k=S.find(b.prompt),T=S.find(b.searchButton),S.find(b.category),A=S.find(b.results),E=S.find(b.result)},refreshResults:function(){A=S.find(b.results),E=S.find(b.result)},bind:{events:function(){f.verbose("Binding events to search"),p.automatic&&(S.on(f.get.inputEvent()+w,b.prompt,f.event.input),k.attr("autocomplete",f.is.chrome()?"fomantic-search":"off")),S.on("focus"+w,b.prompt,f.event.focus).on("blur"+w,b.prompt,f.event.blur).on("keydown"+w,b.prompt,f.handleKeyboard).on("click"+w,b.searchButton,f.query).on("mousedown"+w,b.results,f.event.result.mousedown).on("mouseup"+w,b.results,f.event.result.mouseup).on("click"+w,b.result,f.event.result.click)}},determine:{searchFields:function(){o&&void 0!==o.searchFields&&(p.searchFields=o.searchFields)}},event:{input:function(){p.searchDelay?(clearTimeout(f.timer),f.timer=setTimeout((function(){f.is.focused()&&f.query()}),p.searchDelay)):f.query()},focus:function(){f.set.focus(),p.searchOnFocus&&f.has.minimumCharacters()&&f.query((function(){f.can.show()&&f.showResults()}))},blur:function(e){var t=n.activeElement===this,i=function(){f.cancel.query(),f.remove.focus(),f.timer=setTimeout((function(){f.hideResults()}),p.hideDelay)};t||(R=!1,f.resultsClicked?(f.debug("Determining if user action caused search to close"),S.one("click.close"+w,b.results,(function(e){f.is.inMessage(e)||P?k.trigger("focus"):(P=!1,f.is.animating()||f.is.hidden()||i())}))):(f.debug("Input blurred without user action, closing results"),i()))},result:{mousedown:function(){f.resultsClicked=!0},mouseup:function(){f.resultsClicked=!1},click:function(n){f.debug("Search result selected");var o=e(this),r=o.find(b.title).eq(0),a=o.is("a[href]")?o:o.find("a[href]").eq(0),s=a.attr("href")||!1,c=a.attr("target")||!1,l=r.length>0&&r.text(),u=f.get.results(),d=o.data(m.result)||f.get.result(l,u),h=f.get.value();if(i(p.onSelect)&&!1===p.onSelect.call(D,d,u))return f.debug("Custom onSelect callback cancelled default select action"),void(P=!0);f.hideResults(),l&&f.get.value()===h&&f.set.value(l),s&&(n.preventDefault(),f.verbose("Opening search link found in result",a),"_blank"===c||n.ctrlKey?t.open(s):t.location.href=s)}}},ensureVisible:function(e){var t,n,i,o;0!==e.length&&(n=(t=e.position().top)+e.outerHeight(!0),i=A.scrollTop(),o=A.height(),t<0?A.scrollTop(i+t):o0,c=e.which,l=13,u=38,d=40;if(c===27&&(f.is.visible()?f.hideResults():(f.verbose("Escape key pressed, blurring search field"),k.trigger("blur")),e.stopPropagation(),R=!0),f.is.visible())if(c===l){if(f.verbose("Enter key pressed, selecting active result"),n.filter("."+h.active).length>0)return f.event.result.click.call(n.filter("."+h.active),e),e.preventDefault(),!1}else c===u&&s?(f.verbose("Up key pressed, changing active result"),t=r-1<0?r:r-1,i.removeClass(h.active),n.removeClass(h.active).eq(t).addClass(h.active).closest(i).addClass(h.active),f.ensureVisible(n.eq(t)),e.preventDefault()):c===d&&(f.verbose("Down key pressed, changing active result"),t=r+1>=a?r:r+1,i.removeClass(h.active),n.removeClass(h.active).eq(t).addClass(h.active).closest(i).addClass(h.active),f.ensureVisible(n.eq(t)),e.preventDefault());else c===l&&(f.verbose("Enter key pressed, executing query"),f.query(),f.set.buttonPressed(),k.one("keyup",f.remove.buttonFocus))},setup:{api:function(t,n){var i={debug:p.debug,on:!1,cache:p.cache,action:"search",urlData:{query:t}},o={onSuccess:function(e,i,o){f.parse.response.call(D,e,t),n(),p.apiSettings&&"function"==typeof p.apiSettings.onSuccess&&p.apiSettings.onSuccess.call(this,e,i,o)},onFailure:function(e,t,i){f.displayMessage(y.serverError),n(),p.apiSettings&&"function"==typeof p.apiSettings.onFailure&&p.apiSettings.onFailure.call(this,e,t,i)},onAbort:function(e,t,n){p.apiSettings&&"function"==typeof p.apiSettings.onAbort&&p.apiSettings.onAbort.call(this,e,t,n)},onError:function(e,t,n){f.error(),p.apiSettings&&"function"==typeof p.apiSettings.onError&&p.apiSettings.onError.call(this,e,t,n)}};e.extend(!0,i,p.apiSettings,o),f.verbose("Setting up API request",i),S.api(i)}},can:{useAPI:function(){return void 0!==e.fn.api},show:function(){return f.is.focused()&&!f.is.visible()&&!f.is.empty()},transition:function(){return p.transition&&void 0!==e.fn.transition}},is:{animating:function(){return A.hasClass(h.animating)},chrome:function(){return!!t.chrome&&!t.StyleMedia},hidden:function(){return A.hasClass(h.hidden)},inMessage:function(t){if(t.target){var i=e(t.target);return e.contains(n.documentElement,t.target)&&i.closest(b.message).length>0}},empty:function(){return""===A.html()},visible:function(){return A.filter(":visible").length>0},focused:function(){return k.filter(":focus").length>0}},get:{settings:function(){e.isPlainObject(o)&&o.searchFullText&&(p.fullTextSearch=o.searchFullText,f.error(p.error.oldSearchSyntax,D)),p.ignoreDiacritics&&!String.prototype.normalize&&(p.ignoreDiacritics=!1,f.error(y.noNormalize,D))},inputEvent:function(){var e=k[0];return void 0!==e&&void 0!==e.oninput?"input":void 0!==e&&void 0!==e.onpropertychange?"propertychange":"keyup"},value:function(){return k.val()},results:function(){return S.data(m.results)},result:function(t,n){var i=!1;return t=void 0!==t?t:f.get.value(),n=void 0!==n?n:f.get.results(),"category"===p.type?(f.debug("Finding result that matches",t),e.each(n,(function(e,n){if(Array.isArray(n.results)&&(i=f.search.object(t,n.results)[0]))return!1}))):(f.debug("Finding result in results object",t),i=f.search.object(t,n)[0]),i||!1}},select:{firstResult:function(){f.verbose("Selecting first result"),E.first().addClass(h.active)}},set:{focus:function(){S.addClass(h.focus)},loading:function(){S.addClass(h.loading)},value:function(e){f.verbose("Setting search input value",e),k.val(e)},type:function(e){e=e||p.type,h[e]&&S.addClass(h[e])},buttonPressed:function(){T.addClass(h.pressed)}},remove:{loading:function(){S.removeClass(h.loading)},focus:function(){S.removeClass(h.focus)},buttonPressed:function(){T.removeClass(h.pressed)},diacritics:function(e){return p.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036F]/g,""):e}},query:function(t){t=i(t)?t:function(){};var n=f.get.value(),o=f.read.cache(n);t=t||function(){},f.has.minimumCharacters()?(o?(f.debug("Reading result from cache",n),f.save.results(o.results),p.onResults.call(D,o.results,!0),f.addResults(o.html),f.inject.id(o.results),t()):(f.debug("Querying for",n),e.isPlainObject(p.source)||Array.isArray(p.source)?(f.search.local(n),t()):f.can.useAPI()?f.search.remote(n,t):(f.error(y.source),t())),p.onSearchQuery.call(D,n)):f.hideResults()},search:{local:function(e){var t,n=f.search.object(e,p.source);f.set.loading(),f.save.results(n),f.debug("Returned full local search results",n),p.maxResults>0&&(f.debug("Using specified max results",n),n=n.slice(0,p.maxResults)),"category"===p.type&&(n=f.create.categoryResults(n)),t=f.generateResults({results:n}),f.remove.loading(),f.addResults(t),f.inject.id(n),f.write.cache(e,{html:t,results:n})},remote:function(e,t){t=i(t)?t:function(){},S.api("is loading")&&S.api("abort"),f.setup.api(e,t),S.api("query")},object:function(t,n,i){t=f.remove.diacritics(String(t));var o=[],r=[],a=[],s=t.replace(g.escape,"\\$&"),c=new RegExp(g.beginsWith+s,"i"),l=function(t,n){var i=-1===e.inArray(n,o),s=-1===e.inArray(n,a),c=-1===e.inArray(n,r);i&&s&&c&&t.push(n)};if(n=n||p.source,i=void 0!==i?i:p.searchFields,Array.isArray(i)||(i=[i]),void 0===n||!1===n)return f.error(y.source),[];var u=i.length-1;return e.each(n,(function(n,s){var d=[];e.each(i,(function(e,n){if("string"==typeof s[n]||"number"==typeof s[n]){var i;if(i="string"==typeof s[n]?f.remove.diacritics(s[n]):s[n].toString(),"all"===p.fullTextSearch){if(d.push(i),e-1},wordSearch:function(e,t,n){var i,o=e.split(/\s+/),r=o.length,a=!1;for(i=0;in)return!1;if(i===n)return e===t;for(var o=0,r=0;o=p.minCharacters},results:function(){return 0!==A.length&&""!==A.html()}},clear:{cache:function(e){var t=S.data(m.cache);e?e&&t&&t[e]&&(f.debug("Removing value from cache",e),delete t[e],S.data(m.cache,t)):(f.debug("Clearing cache",e),S.removeData(m.cache))}},read:{cache:function(e){var t=S.data(m.cache);return!!p.cache&&(f.verbose("Checking cache for generated html for query",e),"object"==typeof t&&void 0!==t[e]&&t[e])}},create:{categoryResults:function(t){var n={};return e.each(t,(function(e,t){t.category&&(void 0===n[t.category]?(f.verbose("Creating new category of results",t.category),n[t.category]={name:t.category,results:[t]}):n[t.category].results.push(t))})),n},id:function(e,t){var n,i=e+1;return void 0!==t?(n=String.fromCharCode(97+t)+i,f.verbose("Creating category result id",n)):(n=i,f.verbose("Creating result id",n)),n},results:function(){0===A.length&&(A=e("").addClass(h.results).appendTo(S))}},inject:{result:function(e,t,n){f.verbose("Injecting result into results");var i=void 0!==n?A.children().eq(n).children(b.results).first().children(b.result).eq(t):A.children(b.result).eq(t);f.verbose("Injecting results metadata",i),i.data(m.result,e)},id:function(t){f.debug("Injecting unique ids into results");var n=0,i=0;return"category"===p.type?e.each(t,(function(t,o){o.results.length>0&&(i=0,e.each(o.results,(function(e,t){void 0===t.id&&(t.id=f.create.id(i,n)),f.inject.result(t,i,n),i++})),n++)})):e.each(t,(function(e,t){void 0===t.id&&(t.id=f.create.id(i)),f.inject.result(t,i),i++})),t}},save:{results:function(e){f.verbose("Saving current search results to metadata",e),S.data(m.results,e)}},write:{cache:function(e,t){var n=void 0!==S.data(m.cache)?S.data(m.cache):{};p.cache&&(f.verbose("Writing generated html to cache",e,t),n[e]=t,S.data(m.cache,n))}},addResults:function(e){if(i(p.onResultsAdd)&&!1===p.onResultsAdd.call(A,e))return f.debug("onResultsAdd callback cancelled default action"),!1;e?(A.html(e),f.refreshResults(),p.selectFirstResult&&f.select.firstResult(),f.showResults()):f.hideResults((function(){A.empty()}))},showResults:function(e){e=i(e)?e:function(){},R||!f.is.visible()&&f.has.results()&&(f.can.transition()?(f.debug("Showing results with css animations"),A.transition({animation:p.transition+" in",debug:p.debug,verbose:p.verbose,silent:p.silent,duration:p.duration,onShow:function(){var e=S.find(b.result).eq(0);f.ensureVisible(e)},onComplete:function(){e()},queue:!0})):(f.debug("Showing results with javascript"),A.stop().fadeIn(p.duration,p.easing)),p.onResultsOpen.call(A))},hideResults:function(e){e=i(e)?e:function(){},f.is.visible()&&(f.can.transition()?(f.debug("Hiding results with css animations"),A.transition({animation:p.transition+" out",debug:p.debug,verbose:p.verbose,silent:p.silent,duration:p.duration,onComplete:function(){e()},queue:!0})):(f.debug("Hiding results with javascript"),A.stop().fadeOut(p.duration,p.easing)),p.onResultsClose.call(A))},generateResults:function(t){f.debug("Generating html from response",t);var n=p.templates[p.type],o=e.isPlainObject(t[v.results])&&!e.isEmptyObject(t[v.results]),r=Array.isArray(t[v.results])&&t[v.results].length>0,a="";return o||r?(p.maxResults>0&&(o?"standard"===p.type&&f.error(y.maxResults):t[v.results]=t[v.results].slice(0,p.maxResults)),i(n)?a=n(t,v,p.preserveHTML):f.error(y.noTemplate,!1)):p.showNoResults&&(a=f.displayMessage(y.noResults,"empty",y.noResultsHeader)),p.onResults.call(D,t),a},displayMessage:function(e,t,n){return t=t||"standard",f.debug("Displaying message",e,t,n),f.addResults(p.templates.message(e,t,n)),p.templates.message(e,t,n)},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,p,t);else{if(void 0===n)return p[t];p[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,f,t);else{if(void 0===n)return f[t];f[t]=n}},debug:function(){!p.silent&&p.debug&&(p.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,p.name+":"),f.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),f.verbose.apply(console,arguments)))},error:function(){p.silent||(f.error=Function.prototype.bind.call(console.error,console,p.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var t,n;p.performance&&(n=(t=Date.now())-(s||t),s=t,c.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:D,"Execution Time":n})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout((function(){f.performance.display()}),500)},display:function(){var t=p.name+":",n=0;s=!1,clearTimeout(f.performance.timer),e.each(c,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a.length>1&&(t+=" ("+a.length+")"),c.length>0&&(console.groupCollapsed(t),console.table?console.table(c):e.each(c,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),c=[]}},invoke:function(t,n,o){var a,s,c,l=O;return n=n||d,o=o||D,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(f.error(y.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},u?(void 0===O&&f.initialize(),f.invoke(l)):(void 0!==O&&O.invoke("destroy"),f.initialize())})),void 0!==r?r:this},e.fn.search.settings={name:"Search",namespace:"search",silent:!1,debug:!1,verbose:!1,performance:!0,type:"standard",minCharacters:1,selectFirstResult:!1,apiSettings:!1,source:!1,searchOnFocus:!0,searchFields:["id","title","description"],displayField:"",fullTextSearch:"exact",ignoreDiacritics:!1,automatic:!0,hideDelay:0,searchDelay:200,maxResults:7,cache:!0,showNoResults:!0,preserveHTML:!0,transition:"scale",duration:200,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(e){},onResults:function(e,t){},onResultsOpen:function(){},onResultsClose:function(){},className:{animating:"animating",active:"active",category:"category",empty:"empty",focus:"focus",hidden:"hidden",loading:"loading",results:"results",pressed:"down"},error:{source:"Cannot search. No source used, and Fomantic API module was not included",noResultsHeader:"No Results",noResults:"Your search returned no results",noTemplate:"A valid template name was not specified.",oldSearchSyntax:"searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.",serverError:"There was an issue querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined.",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[$()*+./?[\\\]^{|}-]/g,beginsWith:"(?:\\s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(e,t){if(t)return e;var n={"<":"<",">":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,(function(e){return n[e]})):e},message:function(e,t,n){var i="";return void 0!==e&&void 0!==t&&(i+='
":''+r(t[n.action][n.actionText],i)+""),o)}}},e.extend(e.easing,{easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)}})}(n(9755),window,document)},2208:(e,t,n)=>{
+!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.search=function(o){var r,a=e(this),s=Date.now(),c=[],l=arguments[0],u="string"==typeof l,d=[].slice.call(arguments,1);return a.each((function(){var f,p=e.isPlainObject(o)?e.extend(!0,{},e.fn.search.settings,o):e.extend({},e.fn.search.settings),h=p.className,g=p.metadata,m=p.regExp,v=p.fields,b=p.selector,y=p.error,x=p.namespace,w="."+x,C=x+"-module",S=e(this),k=S.find(b.prompt),T=S.find(b.searchButton),E=S.find(b.results),A=S.find(b.result),D=(S.find(b.category),this),O=S.data(C),R=!1,P=!1;f={initialize:function(){f.verbose("Initializing module"),f.get.settings(),f.determine.searchFields(),f.bind.events(),f.set.type(),f.create.results(),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),O=f,S.data(C,f)},destroy:function(){f.verbose("Destroying instance"),S.off(w).removeData(C)},refresh:function(){f.debug("Refreshing selector cache"),k=S.find(b.prompt),T=S.find(b.searchButton),S.find(b.category),E=S.find(b.results),A=S.find(b.result)},refreshResults:function(){E=S.find(b.results),A=S.find(b.result)},bind:{events:function(){f.verbose("Binding events to search"),p.automatic&&(S.on(f.get.inputEvent()+w,b.prompt,f.event.input),k.attr("autocomplete",f.is.chrome()?"fomantic-search":"off")),S.on("focus"+w,b.prompt,f.event.focus).on("blur"+w,b.prompt,f.event.blur).on("keydown"+w,b.prompt,f.handleKeyboard).on("click"+w,b.searchButton,f.query).on("mousedown"+w,b.results,f.event.result.mousedown).on("mouseup"+w,b.results,f.event.result.mouseup).on("click"+w,b.result,f.event.result.click)}},determine:{searchFields:function(){o&&void 0!==o.searchFields&&(p.searchFields=o.searchFields)}},event:{input:function(){p.searchDelay?(clearTimeout(f.timer),f.timer=setTimeout((function(){f.is.focused()&&f.query()}),p.searchDelay)):f.query()},focus:function(){f.set.focus(),p.searchOnFocus&&f.has.minimumCharacters()&&f.query((function(){f.can.show()&&f.showResults()}))},blur:function(e){var t=n.activeElement===this,i=function(){f.cancel.query(),f.remove.focus(),f.timer=setTimeout((function(){f.hideResults()}),p.hideDelay)};t||(P=!1,f.resultsClicked?(f.debug("Determining if user action caused search to close"),S.one("click.close"+w,b.results,(function(e){f.is.inMessage(e)||R?k.trigger("focus"):(R=!1,f.is.animating()||f.is.hidden()||i())}))):(f.debug("Input blurred without user action, closing results"),i()))},result:{mousedown:function(){f.resultsClicked=!0},mouseup:function(){f.resultsClicked=!1},click:function(n){f.debug("Search result selected");var o=e(this),r=o.find(b.title).eq(0),a=o.is("a[href]")?o:o.find("a[href]").eq(0),s=a.attr("href")||!1,c=a.attr("target")||!1,l=r.length>0&&r.text(),u=f.get.results(),d=o.data(g.result)||f.get.result(l,u),h=f.get.value();if(i(p.onSelect)&&!1===p.onSelect.call(D,d,u))return f.debug("Custom onSelect callback cancelled default select action"),void(R=!0);f.hideResults(),l&&f.get.value()===h&&f.set.value(l),s&&(n.preventDefault(),f.verbose("Opening search link found in result",a),"_blank"===c||n.ctrlKey?t.open(s):t.location.href=s)}}},ensureVisible:function(e){var t,n,i,o;0!==e.length&&(n=(t=e.position().top)+e.outerHeight(!0),i=E.scrollTop(),o=E.height(),t<0?E.scrollTop(i+t):o0,c=e.which,l=13,u=38,d=40;if(c===27&&(f.is.visible()?f.hideResults():(f.verbose("Escape key pressed, blurring search field"),k.trigger("blur")),e.stopPropagation(),P=!0),f.is.visible())if(c===l){if(f.verbose("Enter key pressed, selecting active result"),n.filter("."+h.active).length>0)return f.event.result.click.call(n.filter("."+h.active),e),e.preventDefault(),!1}else c===u&&s?(f.verbose("Up key pressed, changing active result"),t=r-1<0?r:r-1,i.removeClass(h.active),n.removeClass(h.active).eq(t).addClass(h.active).closest(i).addClass(h.active),f.ensureVisible(n.eq(t)),e.preventDefault()):c===d&&(f.verbose("Down key pressed, changing active result"),t=r+1>=a?r:r+1,i.removeClass(h.active),n.removeClass(h.active).eq(t).addClass(h.active).closest(i).addClass(h.active),f.ensureVisible(n.eq(t)),e.preventDefault());else c===l&&(f.verbose("Enter key pressed, executing query"),f.query(),f.set.buttonPressed(),k.one("keyup",f.remove.buttonFocus))},setup:{api:function(t,n){var i={debug:p.debug,on:!1,cache:p.cache,action:"search",urlData:{query:t}},o={onSuccess:function(e,i,o){f.parse.response.call(D,e,t),n(),p.apiSettings&&"function"==typeof p.apiSettings.onSuccess&&p.apiSettings.onSuccess.call(this,e,i,o)},onFailure:function(e,t,i){f.displayMessage(y.serverError),n(),p.apiSettings&&"function"==typeof p.apiSettings.onFailure&&p.apiSettings.onFailure.call(this,e,t,i)},onAbort:function(e,t,n){p.apiSettings&&"function"==typeof p.apiSettings.onAbort&&p.apiSettings.onAbort.call(this,e,t,n)},onError:function(e,t,n){f.error(),p.apiSettings&&"function"==typeof p.apiSettings.onError&&p.apiSettings.onError.call(this,e,t,n)}};e.extend(!0,i,p.apiSettings,o),f.verbose("Setting up API request",i),S.api(i)}},can:{useAPI:function(){return void 0!==e.fn.api},show:function(){return f.is.focused()&&!f.is.visible()&&!f.is.empty()},transition:function(){return p.transition&&void 0!==e.fn.transition}},is:{animating:function(){return E.hasClass(h.animating)},chrome:function(){return!!t.chrome&&!t.StyleMedia},hidden:function(){return E.hasClass(h.hidden)},inMessage:function(t){if(t.target){var i=e(t.target);return e.contains(n.documentElement,t.target)&&i.closest(b.message).length>0}},empty:function(){return""===E.html()},visible:function(){return E.filter(":visible").length>0},focused:function(){return k.filter(":focus").length>0}},get:{settings:function(){e.isPlainObject(o)&&o.searchFullText&&(p.fullTextSearch=o.searchFullText,f.error(p.error.oldSearchSyntax,D)),p.ignoreDiacritics&&!String.prototype.normalize&&(p.ignoreDiacritics=!1,f.error(y.noNormalize,D))},inputEvent:function(){var e=k[0];return void 0!==e&&void 0!==e.oninput?"input":void 0!==e&&void 0!==e.onpropertychange?"propertychange":"keyup"},value:function(){return k.val()},results:function(){return S.data(g.results)},result:function(t,n){var i=!1;return t=void 0!==t?t:f.get.value(),n=void 0!==n?n:f.get.results(),"category"===p.type?(f.debug("Finding result that matches",t),e.each(n,(function(e,n){if(Array.isArray(n.results)&&(i=f.search.object(t,n.results)[0]))return!1}))):(f.debug("Finding result in results object",t),i=f.search.object(t,n)[0]),i||!1}},select:{firstResult:function(){f.verbose("Selecting first result"),A.first().addClass(h.active)}},set:{focus:function(){S.addClass(h.focus)},loading:function(){S.addClass(h.loading)},value:function(e){f.verbose("Setting search input value",e),k.val(e)},type:function(e){e=e||p.type,h[e]&&S.addClass(h[e])},buttonPressed:function(){T.addClass(h.pressed)}},remove:{loading:function(){S.removeClass(h.loading)},focus:function(){S.removeClass(h.focus)},buttonPressed:function(){T.removeClass(h.pressed)},diacritics:function(e){return p.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036F]/g,""):e}},query:function(t){t=i(t)?t:function(){};var n=f.get.value(),o=f.read.cache(n);t=t||function(){},f.has.minimumCharacters()?(o?(f.debug("Reading result from cache",n),f.save.results(o.results),p.onResults.call(D,o.results,!0),f.addResults(o.html),f.inject.id(o.results),t()):(f.debug("Querying for",n),e.isPlainObject(p.source)||Array.isArray(p.source)?(f.search.local(n),t()):f.can.useAPI()?f.search.remote(n,t):(f.error(y.source),t())),p.onSearchQuery.call(D,n)):f.hideResults()},search:{local:function(e){var t,n=f.search.object(e,p.source);f.set.loading(),f.save.results(n),f.debug("Returned full local search results",n),p.maxResults>0&&(f.debug("Using specified max results",n),n=n.slice(0,p.maxResults)),"category"===p.type&&(n=f.create.categoryResults(n)),t=f.generateResults({results:n}),f.remove.loading(),f.addResults(t),f.inject.id(n),f.write.cache(e,{html:t,results:n})},remote:function(e,t){t=i(t)?t:function(){},S.api("is loading")&&S.api("abort"),f.setup.api(e,t),S.api("query")},object:function(t,n,i){t=f.remove.diacritics(String(t));var o=[],r=[],a=[],s=t.replace(m.escape,"\\$&"),c=new RegExp(m.beginsWith+s,"i"),l=function(t,n){var i=-1===e.inArray(n,o),s=-1===e.inArray(n,a),c=-1===e.inArray(n,r);i&&s&&c&&t.push(n)};if(n=n||p.source,i=void 0!==i?i:p.searchFields,Array.isArray(i)||(i=[i]),void 0===n||!1===n)return f.error(y.source),[];var u=i.length-1;return e.each(n,(function(n,s){var d=[];e.each(i,(function(e,n){if("string"==typeof s[n]||"number"==typeof s[n]){var i;if(i="string"==typeof s[n]?f.remove.diacritics(s[n]):s[n].toString(),"all"===p.fullTextSearch){if(d.push(i),e-1},wordSearch:function(e,t,n){var i,o=e.split(/\s+/),r=o.length,a=!1;for(i=0;in)return!1;if(i===n)return e===t;for(var o=0,r=0;o=p.minCharacters},results:function(){return 0!==E.length&&""!==E.html()}},clear:{cache:function(e){var t=S.data(g.cache);e?e&&t&&t[e]&&(f.debug("Removing value from cache",e),delete t[e],S.data(g.cache,t)):(f.debug("Clearing cache",e),S.removeData(g.cache))}},read:{cache:function(e){var t=S.data(g.cache);return!!p.cache&&(f.verbose("Checking cache for generated html for query",e),"object"==typeof t&&void 0!==t[e]&&t[e])}},create:{categoryResults:function(t){var n={};return e.each(t,(function(e,t){t.category&&(void 0===n[t.category]?(f.verbose("Creating new category of results",t.category),n[t.category]={name:t.category,results:[t]}):n[t.category].results.push(t))})),n},id:function(e,t){var n,i=e+1;return void 0!==t?(n=String.fromCharCode(97+t)+i,f.verbose("Creating category result id",n)):(n=i,f.verbose("Creating result id",n)),n},results:function(){0===E.length&&(E=e("").addClass(h.results).appendTo(S))}},inject:{result:function(e,t,n){f.verbose("Injecting result into results");var i=void 0!==n?E.children().eq(n).children(b.results).first().children(b.result).eq(t):E.children(b.result).eq(t);f.verbose("Injecting results metadata",i),i.data(g.result,e)},id:function(t){f.debug("Injecting unique ids into results");var n=0,i=0;return"category"===p.type?e.each(t,(function(t,o){o.results.length>0&&(i=0,e.each(o.results,(function(e,t){void 0===t.id&&(t.id=f.create.id(i,n)),f.inject.result(t,i,n),i++})),n++)})):e.each(t,(function(e,t){void 0===t.id&&(t.id=f.create.id(i)),f.inject.result(t,i),i++})),t}},save:{results:function(e){f.verbose("Saving current search results to metadata",e),S.data(g.results,e)}},write:{cache:function(e,t){var n=void 0!==S.data(g.cache)?S.data(g.cache):{};p.cache&&(f.verbose("Writing generated html to cache",e,t),n[e]=t,S.data(g.cache,n))}},addResults:function(e){if(i(p.onResultsAdd)&&!1===p.onResultsAdd.call(E,e))return f.debug("onResultsAdd callback cancelled default action"),!1;e?(E.html(e),f.refreshResults(),p.selectFirstResult&&f.select.firstResult(),f.showResults()):f.hideResults((function(){E.empty()}))},showResults:function(e){e=i(e)?e:function(){},P||!f.is.visible()&&f.has.results()&&(f.can.transition()?(f.debug("Showing results with css animations"),E.transition({animation:p.transition+" in",debug:p.debug,verbose:p.verbose,silent:p.silent,duration:p.duration,onShow:function(){var e=S.find(b.result).eq(0);f.ensureVisible(e)},onComplete:function(){e()},queue:!0})):(f.debug("Showing results with javascript"),E.stop().fadeIn(p.duration,p.easing)),p.onResultsOpen.call(E))},hideResults:function(e){e=i(e)?e:function(){},f.is.visible()&&(f.can.transition()?(f.debug("Hiding results with css animations"),E.transition({animation:p.transition+" out",debug:p.debug,verbose:p.verbose,silent:p.silent,duration:p.duration,onComplete:function(){e()},queue:!0})):(f.debug("Hiding results with javascript"),E.stop().fadeOut(p.duration,p.easing)),p.onResultsClose.call(E))},generateResults:function(t){f.debug("Generating html from response",t);var n=p.templates[p.type],o=e.isPlainObject(t[v.results])&&!e.isEmptyObject(t[v.results]),r=Array.isArray(t[v.results])&&t[v.results].length>0,a="";return o||r?(p.maxResults>0&&(o?"standard"===p.type&&f.error(y.maxResults):t[v.results]=t[v.results].slice(0,p.maxResults)),i(n)?a=n(t,v,p.preserveHTML):f.error(y.noTemplate,!1)):p.showNoResults&&(a=f.displayMessage(y.noResults,"empty",y.noResultsHeader)),p.onResults.call(D,t),a},displayMessage:function(e,t,n){return t=t||"standard",f.debug("Displaying message",e,t,n),f.addResults(p.templates.message(e,t,n)),p.templates.message(e,t,n)},setting:function(t,n){if(e.isPlainObject(t))e.extend(!0,p,t);else{if(void 0===n)return p[t];p[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,f,t);else{if(void 0===n)return f[t];f[t]=n}},debug:function(){!p.silent&&p.debug&&(p.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,p.name+":"),f.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),f.verbose.apply(console,arguments)))},error:function(){p.silent||(f.error=Function.prototype.bind.call(console.error,console,p.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var t,n;p.performance&&(n=(t=Date.now())-(s||t),s=t,c.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:D,"Execution Time":n})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout((function(){f.performance.display()}),500)},display:function(){var t=p.name+":",n=0;s=!1,clearTimeout(f.performance.timer),e.each(c,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",a.length>1&&(t+=" ("+a.length+")"),c.length>0&&(console.groupCollapsed(t),console.table?console.table(c):e.each(c,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),c=[]}},invoke:function(t,n,o){var a,s,c,l=O;return n=n||d,o=o||D,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(f.error(y.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},u?(void 0===O&&f.initialize(),f.invoke(l)):(void 0!==O&&O.invoke("destroy"),f.initialize())})),void 0!==r?r:this},e.fn.search.settings={name:"Search",namespace:"search",silent:!1,debug:!1,verbose:!1,performance:!0,type:"standard",minCharacters:1,selectFirstResult:!1,apiSettings:!1,source:!1,searchOnFocus:!0,searchFields:["id","title","description"],displayField:"",fullTextSearch:"exact",ignoreDiacritics:!1,automatic:!0,hideDelay:0,searchDelay:200,maxResults:7,cache:!0,showNoResults:!0,preserveHTML:!0,transition:"scale",duration:200,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(e){},onResults:function(e,t){},onResultsOpen:function(){},onResultsClose:function(){},className:{animating:"animating",active:"active",category:"category",empty:"empty",focus:"focus",hidden:"hidden",loading:"loading",results:"results",pressed:"down"},error:{source:"Cannot search. No source used, and Fomantic API module was not included",noResultsHeader:"No Results",noResults:"Your search returned no results",noTemplate:"A valid template name was not specified.",oldSearchSyntax:"searchFullText setting has been renamed fullTextSearch for consistency, please adjust your settings.",serverError:"There was an issue querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined.",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including as a polyfill.'},metadata:{cache:"cache",results:"results",result:"result"},regExp:{escape:/[$()*+./?[\\\]^{|}-]/g,beginsWith:"(?:\\s|^)"},fields:{categories:"results",categoryName:"name",categoryResults:"results",description:"description",image:"image",price:"price",results:"results",title:"title",url:"url",action:"action",actionText:"text",actionURL:"url"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",message:".results > .message",category:".category",result:".result",title:".title, .name"},templates:{escape:function(e,t){if(t)return e;var n={"<":"<",">":">",'"':""","'":"'","`":"`"};return/["&'<>`]/.test(e)?(e=e.replace(/&(?![\d#a-z]{1,12};)/gi,"&")).replace(/["'<>`]/g,(function(e){return n[e]})):e},message:function(e,t,n){var i="";return void 0!==e&&void 0!==t&&(i+='
":''+r(t[n.action][n.actionText],i)+""),o)}}},e.extend(e.easing,{easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)}})}(n(9755),window,document)},2208:(e,t,n)=>{
/*!
* # Fomantic-UI - Shape
* https://github.com/fomantic/Fomantic-UI/
@@ -155,7 +155,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.shape=function(t){var i,o=e(this),r=Date.now(),a=[],s=arguments[0],c="string"==typeof s,l=[].slice.call(arguments,1);return o.each((function(){var u,d,f,p=e.isPlainObject(t)?e.extend(!0,{},e.fn.shape.settings,t):e.extend({},e.fn.shape.settings),h=p.namespace,m=p.selector,g=p.error,v=p.className,b="."+h,y="module-"+h,x=e(this),w=x.find(">"+m.sides),C=w.find(">"+m.side),S=!1,k=this,T=x.data(y);if(f={initialize:function(){f.verbose("Initializing module for",k),f.set.defaultSide(),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),T=f,x.data(y,T)},destroy:function(){f.verbose("Destroying previous module for",k),x.removeData(y).off(b)},refresh:function(){f.verbose("Refreshing selector cache for",k),x=e(k),w=e(this).find(m.sides),C=e(this).find(m.side)},repaint:function(){f.verbose("Forcing repaint event");(w[0]||n.createElement("div")).offsetWidth},animate:function(e,t){f.verbose("Animating box with properties",e),t=t||function(e){f.verbose("Executing animation callback"),void 0!==e&&e.stopPropagation(),f.reset(),f.set.active()},p.onBeforeChange.call(d[0]),f.verbose("Starting CSS animation"),x.addClass(v.animating),w.css(e).one("transitionend",t),f.set.duration(p.duration),requestAnimationFrame((function(){x.addClass(v.animating),u.addClass(v.hidden)}))},queue:function(e){f.debug("Queueing animation of",e),w.one("transitionend",(function(){f.debug("Executing queued animation"),setTimeout((function(){x.shape(e)}),0)}))},reset:function(){f.verbose("Animating states reset"),x.removeClass(v.animating).attr("style","").removeAttr("style"),w.attr("style","").removeAttr("style"),C.attr("style","").removeAttr("style").removeClass(v.hidden),d.removeClass(v.animating).attr("style","").removeAttr("style")},is:{complete:function(){return C.filter("."+v.active)[0]===d[0]},animating:function(){return x.hasClass(v.animating)},hidden:function(){return x.closest(":hidden").length>0}},set:{defaultSide:function(){u=C.filter("."+p.className.active),d=u.next(m.side).length>0?u.next(m.side):C.first(),S=!1,f.verbose("Active side set to",u),f.verbose("Next side set to",d)},duration:function(e){e="number"==typeof(e=e||p.duration)?e+"ms":e,f.verbose("Setting animation duration",e),(p.duration||0===p.duration)&&w.add(C).css({"transition-duration":e})},currentStageSize:function(){var e=C.filter("."+p.className.active),t=e.outerWidth(!0),n=e.outerHeight(!0);x.css({width:t,height:n})},stageSize:function(){var e=x.clone().addClass(v.loading),t=e.find(">"+m.sides+">"+m.side),n=t.filter("."+p.className.active),i=S?t.eq(S):n.next(m.side).length>0?n.next(m.side):t.first(),o="next"===p.width?i.outerWidth(!0):"initial"===p.width?x.width():p.width,r="next"===p.height?i.outerHeight(!0):"initial"===p.height?x.height():p.height;n.removeClass(v.active),i.addClass(v.active),e.insertAfter(x),e.remove(),"auto"!==p.width&&(x.css("width",o+p.jitter),f.verbose("Specifying width during animation",o)),"auto"!==p.height&&(x.css("height",r+p.jitter),f.verbose("Specifying height during animation",r))},nextSide:function(e){S=e,d=C.filter(e),S=C.index(d),0===d.length&&(f.set.defaultSide(),f.error(g.side)),f.verbose("Next side manually set to",d)},active:function(){f.verbose("Setting new side to active",d),C.removeClass(v.active),d.addClass(v.active),p.onChange.call(d[0]),f.set.defaultSide()}},flip:{to:function(e,t){if(f.is.hidden())f.debug("Module not visible",d);else if(!f.is.complete()||f.is.animating()||p.allowRepeats){var n=f.get.transform[e]();f.is.animating()?f.queue("flip "+e):(f.debug("Flipping "+e,d),f.set.stageSize(),f.stage[t](),f.animate(n))}else f.debug("Side already visible",d)},up:function(){f.flip.to("up","above")},down:function(){f.flip.to("down","below")},left:function(){f.flip.to("left","left")},right:function(){f.flip.to("right","right")},over:function(){f.flip.to("over","behind")},back:function(){f.flip.to("back","behind")}},get:{transform:{up:function(){var e=u.outerHeight(!0)/2;return{transform:"translateY("+(d.outerHeight(!0)-e)+"px) translateZ(-"+e+"px) rotateX(-90deg)"}},down:function(){var e=u.outerHeight(!0)/2;return{transform:"translateY(-"+e+"px) translateZ(-"+e+"px) rotateX(90deg)"}},left:function(){var e=u.outerWidth(!0)/2;return{transform:"translateX("+(d.outerWidth(!0)-e)+"px) translateZ(-"+e+"px) rotateY(90deg)"}},right:function(){var e=u.outerWidth(!0)/2;return{transform:"translateX(-"+e+"px) translateZ(-"+e+"px) rotateY(-90deg)"}},over:function(){return{transform:"translateX("+-(u.outerWidth(!0)-d.outerWidth(!0))/2+"px) rotateY(180deg)"}},back:function(){return{transform:"translateX("+-(u.outerWidth(!0)-d.outerWidth(!0))/2+"px) rotateY(-180deg)"}}},nextSide:function(){return u.next(m.side).length>0?u.next(m.side):C.first()}},stage:{above:function(){var e={origin:(u.outerHeight(!0)-d.outerHeight(!0))/2,depth:{active:d.outerHeight(!0)/2,next:u.outerHeight(!0)/2}};f.verbose("Setting the initial animation position as above",d,e),u.css({transform:"rotateX(0deg)"}),d.addClass(v.animating).css({top:e.origin+"px",transform:"rotateX(90deg) translateZ("+e.depth.next+"px) translateY(-"+e.depth.active+"px)"})},below:function(){var e={origin:(u.outerHeight(!0)-d.outerHeight(!0))/2,depth:{active:d.outerHeight(!0)/2,next:u.outerHeight(!0)/2}};f.verbose("Setting the initial animation position as below",d,e),u.css({transform:"rotateX(0deg)"}),d.addClass(v.animating).css({top:e.origin+"px",transform:"rotateX(-90deg) translateZ("+e.depth.next+"px) translateY("+e.depth.active+"px)"})},left:function(){var e=u.outerWidth(!0),t=d.outerWidth(!0),n={origin:(e-t)/2,depth:{active:t/2,next:e/2}};f.verbose("Setting the initial animation position as left",d,n),u.css({transform:"rotateY(0deg)"}),d.addClass(v.animating).css({left:n.origin+"px",transform:"rotateY(-90deg) translateZ("+n.depth.next+"px) translateX(-"+n.depth.active+"px)"})},right:function(){var e=u.outerWidth(!0),t=d.outerWidth(!0),n={origin:(e-t)/2,depth:{active:t/2,next:e/2}};f.verbose("Setting the initial animation position as right",d,n),u.css({transform:"rotateY(0deg)"}),d.addClass(v.animating).css({left:n.origin+"px",transform:"rotateY(90deg) translateZ("+n.depth.next+"px) translateX("+n.depth.active+"px)"})},behind:function(){var e=u.outerWidth(!0),t=d.outerWidth(!0),n={origin:(e-t)/2,depth:{active:t/2,next:e/2}};f.verbose("Setting the initial animation position as behind",d,n),u.css({transform:"rotateY(0deg)"}),d.addClass(v.animating).css({left:n.origin+"px",transform:"rotateY(-180deg)"})}},setting:function(t,n){if(f.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,p,t);else{if(void 0===n)return p[t];e.isPlainObject(p[t])?e.extend(!0,p[t],n):p[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,f,t);else{if(void 0===n)return f[t];f[t]=n}},debug:function(){!p.silent&&p.debug&&(p.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,p.name+":"),f.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),f.verbose.apply(console,arguments)))},error:function(){p.silent||(f.error=Function.prototype.bind.call(console.error,console,p.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var t,n;p.performance&&(n=(t=Date.now())-(r||t),r=t,a.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:k,"Execution Time":n})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout((function(){f.performance.display()}),500)},display:function(){var t=p.name+":",n=0;r=!1,clearTimeout(f.performance.timer),e.each(a,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",o.length>1&&(t+=" ("+o.length+")"),a.length>0&&(console.groupCollapsed(t),console.table?console.table(a):e.each(a,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),a=[]}},invoke:function(t,n,o){var r,a,s,c,u=T;return n=n||l,o=o||k,"string"==typeof t&&void 0!==u&&(t=t.split(/[ .]/),r=t.length-1,e.each(t,(function(n,i){var o=n!==r?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(u[o])&&n!==r)u=u[o];else{if(void 0!==u[o])return a=u[o],!1;if(!e.isPlainObject(u[i])||n===r)return void 0!==u[i]?(a=u[i],!1):(f.error(g.method,t),!1);u=u[i]}}))),"function"==typeof(c=a)&&"number"!=typeof c.nodeType?s=a.apply(o,n):void 0!==a&&(s=a),Array.isArray(i)?i.push(s):void 0!==i?i=[i,s]:void 0!==s&&(i=s),a}},c){void 0===T&&f.initialize();var A=x.find("input");A.length>0?(A.trigger("blur"),setTimeout((function(){f.invoke(s)}),150)):f.invoke(s)}else void 0!==T&&T.invoke("destroy"),f.initialize()})),void 0!==i?i:this},e.fn.shape.settings={name:"Shape",silent:!1,debug:!1,verbose:!1,jitter:0,performance:!0,namespace:"shape",width:"initial",height:"initial",onBeforeChange:function(){},onChange:function(){},allowRepeats:!1,duration:!1,error:{side:"You tried to switch to a side that does not exist.",method:"The method you called is not defined"},className:{animating:"animating",hidden:"hidden",loading:"loading",active:"active"},selector:{sides:".sides",side:".side"}}}(n(9755),window,document)},4671:(e,t,n)=>{
+!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.shape=function(t){var i,o=e(this),r=Date.now(),a=[],s=arguments[0],c="string"==typeof s,l=[].slice.call(arguments,1);return o.each((function(){var u,d,f,p=e.isPlainObject(t)?e.extend(!0,{},e.fn.shape.settings,t):e.extend({},e.fn.shape.settings),h=p.namespace,g=p.selector,m=p.error,v=p.className,b="."+h,y="module-"+h,x=e(this),w=x.find(">"+g.sides),C=w.find(">"+g.side),S=!1,k=this,T=x.data(y);if(f={initialize:function(){f.verbose("Initializing module for",k),f.set.defaultSide(),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),T=f,x.data(y,T)},destroy:function(){f.verbose("Destroying previous module for",k),x.removeData(y).off(b)},refresh:function(){f.verbose("Refreshing selector cache for",k),x=e(k),w=e(this).find(g.sides),C=e(this).find(g.side)},repaint:function(){f.verbose("Forcing repaint event");(w[0]||n.createElement("div")).offsetWidth},animate:function(e,t){f.verbose("Animating box with properties",e),t=t||function(e){f.verbose("Executing animation callback"),void 0!==e&&e.stopPropagation(),f.reset(),f.set.active()},p.onBeforeChange.call(d[0]),f.verbose("Starting CSS animation"),x.addClass(v.animating),w.css(e).one("transitionend",t),f.set.duration(p.duration),requestAnimationFrame((function(){x.addClass(v.animating),u.addClass(v.hidden)}))},queue:function(e){f.debug("Queueing animation of",e),w.one("transitionend",(function(){f.debug("Executing queued animation"),setTimeout((function(){x.shape(e)}),0)}))},reset:function(){f.verbose("Animating states reset"),x.removeClass(v.animating).attr("style","").removeAttr("style"),w.attr("style","").removeAttr("style"),C.attr("style","").removeAttr("style").removeClass(v.hidden),d.removeClass(v.animating).attr("style","").removeAttr("style")},is:{complete:function(){return C.filter("."+v.active)[0]===d[0]},animating:function(){return x.hasClass(v.animating)},hidden:function(){return x.closest(":hidden").length>0}},set:{defaultSide:function(){u=C.filter("."+p.className.active),d=u.next(g.side).length>0?u.next(g.side):C.first(),S=!1,f.verbose("Active side set to",u),f.verbose("Next side set to",d)},duration:function(e){e="number"==typeof(e=e||p.duration)?e+"ms":e,f.verbose("Setting animation duration",e),(p.duration||0===p.duration)&&w.add(C).css({"transition-duration":e})},currentStageSize:function(){var e=C.filter("."+p.className.active),t=e.outerWidth(!0),n=e.outerHeight(!0);x.css({width:t,height:n})},stageSize:function(){var e=x.clone().addClass(v.loading),t=e.find(">"+g.sides+">"+g.side),n=t.filter("."+p.className.active),i=S?t.eq(S):n.next(g.side).length>0?n.next(g.side):t.first(),o="next"===p.width?i.outerWidth(!0):"initial"===p.width?x.width():p.width,r="next"===p.height?i.outerHeight(!0):"initial"===p.height?x.height():p.height;n.removeClass(v.active),i.addClass(v.active),e.insertAfter(x),e.remove(),"auto"!==p.width&&(x.css("width",o+p.jitter),f.verbose("Specifying width during animation",o)),"auto"!==p.height&&(x.css("height",r+p.jitter),f.verbose("Specifying height during animation",r))},nextSide:function(e){S=e,d=C.filter(e),S=C.index(d),0===d.length&&(f.set.defaultSide(),f.error(m.side)),f.verbose("Next side manually set to",d)},active:function(){f.verbose("Setting new side to active",d),C.removeClass(v.active),d.addClass(v.active),p.onChange.call(d[0]),f.set.defaultSide()}},flip:{to:function(e,t){if(f.is.hidden())f.debug("Module not visible",d);else if(!f.is.complete()||f.is.animating()||p.allowRepeats){var n=f.get.transform[e]();f.is.animating()?f.queue("flip "+e):(f.debug("Flipping "+e,d),f.set.stageSize(),f.stage[t](),f.animate(n))}else f.debug("Side already visible",d)},up:function(){f.flip.to("up","above")},down:function(){f.flip.to("down","below")},left:function(){f.flip.to("left","left")},right:function(){f.flip.to("right","right")},over:function(){f.flip.to("over","behind")},back:function(){f.flip.to("back","behind")}},get:{transform:{up:function(){var e=u.outerHeight(!0)/2;return{transform:"translateY("+(d.outerHeight(!0)-e)+"px) translateZ(-"+e+"px) rotateX(-90deg)"}},down:function(){var e=u.outerHeight(!0)/2;return{transform:"translateY(-"+e+"px) translateZ(-"+e+"px) rotateX(90deg)"}},left:function(){var e=u.outerWidth(!0)/2;return{transform:"translateX("+(d.outerWidth(!0)-e)+"px) translateZ(-"+e+"px) rotateY(90deg)"}},right:function(){var e=u.outerWidth(!0)/2;return{transform:"translateX(-"+e+"px) translateZ(-"+e+"px) rotateY(-90deg)"}},over:function(){return{transform:"translateX("+-(u.outerWidth(!0)-d.outerWidth(!0))/2+"px) rotateY(180deg)"}},back:function(){return{transform:"translateX("+-(u.outerWidth(!0)-d.outerWidth(!0))/2+"px) rotateY(-180deg)"}}},nextSide:function(){return u.next(g.side).length>0?u.next(g.side):C.first()}},stage:{above:function(){var e={origin:(u.outerHeight(!0)-d.outerHeight(!0))/2,depth:{active:d.outerHeight(!0)/2,next:u.outerHeight(!0)/2}};f.verbose("Setting the initial animation position as above",d,e),u.css({transform:"rotateX(0deg)"}),d.addClass(v.animating).css({top:e.origin+"px",transform:"rotateX(90deg) translateZ("+e.depth.next+"px) translateY(-"+e.depth.active+"px)"})},below:function(){var e={origin:(u.outerHeight(!0)-d.outerHeight(!0))/2,depth:{active:d.outerHeight(!0)/2,next:u.outerHeight(!0)/2}};f.verbose("Setting the initial animation position as below",d,e),u.css({transform:"rotateX(0deg)"}),d.addClass(v.animating).css({top:e.origin+"px",transform:"rotateX(-90deg) translateZ("+e.depth.next+"px) translateY("+e.depth.active+"px)"})},left:function(){var e=u.outerWidth(!0),t=d.outerWidth(!0),n={origin:(e-t)/2,depth:{active:t/2,next:e/2}};f.verbose("Setting the initial animation position as left",d,n),u.css({transform:"rotateY(0deg)"}),d.addClass(v.animating).css({left:n.origin+"px",transform:"rotateY(-90deg) translateZ("+n.depth.next+"px) translateX(-"+n.depth.active+"px)"})},right:function(){var e=u.outerWidth(!0),t=d.outerWidth(!0),n={origin:(e-t)/2,depth:{active:t/2,next:e/2}};f.verbose("Setting the initial animation position as right",d,n),u.css({transform:"rotateY(0deg)"}),d.addClass(v.animating).css({left:n.origin+"px",transform:"rotateY(90deg) translateZ("+n.depth.next+"px) translateX("+n.depth.active+"px)"})},behind:function(){var e=u.outerWidth(!0),t=d.outerWidth(!0),n={origin:(e-t)/2,depth:{active:t/2,next:e/2}};f.verbose("Setting the initial animation position as behind",d,n),u.css({transform:"rotateY(0deg)"}),d.addClass(v.animating).css({left:n.origin+"px",transform:"rotateY(-180deg)"})}},setting:function(t,n){if(f.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,p,t);else{if(void 0===n)return p[t];e.isPlainObject(p[t])?e.extend(!0,p[t],n):p[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,f,t);else{if(void 0===n)return f[t];f[t]=n}},debug:function(){!p.silent&&p.debug&&(p.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,p.name+":"),f.debug.apply(console,arguments)))},verbose:function(){!p.silent&&p.verbose&&p.debug&&(p.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),f.verbose.apply(console,arguments)))},error:function(){p.silent||(f.error=Function.prototype.bind.call(console.error,console,p.name+":"),f.error.apply(console,arguments))},performance:{log:function(e){var t,n;p.performance&&(n=(t=Date.now())-(r||t),r=t,a.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:k,"Execution Time":n})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout((function(){f.performance.display()}),500)},display:function(){var t=p.name+":",n=0;r=!1,clearTimeout(f.performance.timer),e.each(a,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",o.length>1&&(t+=" ("+o.length+")"),a.length>0&&(console.groupCollapsed(t),console.table?console.table(a):e.each(a,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),a=[]}},invoke:function(t,n,o){var r,a,s,c,u=T;return n=n||l,o=o||k,"string"==typeof t&&void 0!==u&&(t=t.split(/[ .]/),r=t.length-1,e.each(t,(function(n,i){var o=n!==r?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(u[o])&&n!==r)u=u[o];else{if(void 0!==u[o])return a=u[o],!1;if(!e.isPlainObject(u[i])||n===r)return void 0!==u[i]?(a=u[i],!1):(f.error(m.method,t),!1);u=u[i]}}))),"function"==typeof(c=a)&&"number"!=typeof c.nodeType?s=a.apply(o,n):void 0!==a&&(s=a),Array.isArray(i)?i.push(s):void 0!==i?i=[i,s]:void 0!==s&&(i=s),a}},c){void 0===T&&f.initialize();var E=x.find("input");E.length>0?(E.trigger("blur"),setTimeout((function(){f.invoke(s)}),150)):f.invoke(s)}else void 0!==T&&T.invoke("destroy"),f.initialize()})),void 0!==i?i:this},e.fn.shape.settings={name:"Shape",silent:!1,debug:!1,verbose:!1,jitter:0,performance:!0,namespace:"shape",width:"initial",height:"initial",onBeforeChange:function(){},onChange:function(){},allowRepeats:!1,duration:!1,error:{side:"You tried to switch to a side that does not exist.",method:"The method you called is not defined"},className:{animating:"animating",hidden:"hidden",loading:"loading",active:"active"},selector:{sides:".sides",side:".side"}}}(n(9755),window,document)},4671:(e,t,n)=>{
/*!
* # Fomantic-UI - Sidebar
* https://github.com/fomantic/Fomantic-UI/
@@ -165,7 +165,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.sidebar=function(o){var r,a=e(this),s=e(t),c=e(n),l=e("body"),u=(e("html"),e("head")),d=Date.now(),f=[],p=arguments[0],h="string"==typeof p,m=[].slice.call(arguments,1),g=function(i,o){var r;return[t,n].indexOf(i)>=0?r=l:0===(r=e(o.document).find(i)).length&&(r=o.frameElement?g(i,o.parent):l),r};return a.each((function(){var a,v,b,y,x,w=e.isPlainObject(o)?e.extend(!0,{},e.fn.sidebar.settings,o):e.extend({},e.fn.sidebar.settings),C=w.selector,S=w.className,k=w.namespace,T=w.regExp,A=w.error,E="."+k,D="module-"+k,O=e(this),P=g(w.context,t),R=P[0]===l[0],M=O.children(C.sidebar),L=(P.children(C.fixed),P.children(C.pusher)),N=this,$=O.data(D),j="",I="",F=!1;x={initialize:function(){x.debug("Initializing sidebar",o),x.create.id(),w.delaySetup?requestAnimationFrame(x.setup.layout):x.setup.layout(),requestAnimationFrame((function(){x.setup.cache()})),x.instantiate()},instantiate:function(){x.verbose("Storing instance of module",x),$=x,O.data(D,x)},create:{id:function(){b=(Math.random().toString(16)+"000000000").slice(2,10),v="."+b,x.verbose("Creating unique id for element",b)}},destroy:function(){x.verbose("Destroying previous module for",O),O.off(E).removeData(D),P.off(v),s.off(v),c.off(v)},event:{clickaway:function(e){if(w.closable){var t=L.find(e.target).length>0||L.is(e.target),n=P.is(e.target);t&&(x.verbose("User clicked on dimmed page"),x.hide()),n&&(x.verbose("User clicked on dimmable context (scaled out page)"),x.hide())}},touch:function(e){},containScroll:function(e){N.scrollTop<=0&&(N.scrollTop=1),N.scrollTop+N.offsetHeight>=N.scrollHeight&&(N.scrollTop=N.scrollHeight-N.offsetHeight-1)},scroll:function(t){0===e(t.target).closest(C.sidebar).length&&t.preventDefault()}},bind:{clickaway:function(){x.verbose("Adding clickaway events to context",P),P.on("click"+v,x.event.clickaway).on("touchend"+v,x.event.clickaway)},scrollLock:function(){w.scrollLock&&(x.debug("Disabling page scroll"),(F=x.has.scrollbar())&&(x.save.bodyMargin(),x.set.bodyMargin()),P.addClass(S.locked)),x.verbose("Adding events to contain sidebar scroll"),c.on("touchmove"+v,x.event.touch),O.on("scroll"+E,x.event.containScroll)}},unbind:{clickaway:function(){x.verbose("Removing clickaway events from context",P),P.off(v)},scrollLock:function(){x.verbose("Removing scroll lock from page"),F&&x.restore.bodyMargin(),P.removeClass(S.locked),c.off(v),O.off("scroll"+E)}},add:{inlineCSS:function(){var t,n=x.cache.width||O.outerWidth(),i=x.cache.height||O.outerHeight(),o=x.is.rtl(),r=x.get.direction(),s={left:n,right:-n,top:i,bottom:-i};o&&(x.verbose("RTL detected, flipping widths"),s.left=-n,s.right=n),t="").appendTo(u),x.debug("Adding sizing css to head",a)}},refresh:function(){x.verbose("Refreshing selector cache"),P=g(w.context,t),x.refreshSidebars(),L=P.children(C.pusher),P.children(C.fixed),x.clear.cache()},refreshSidebars:function(){x.verbose("Refreshing other sidebars"),M=P.children(C.sidebar)},repaint:function(){x.verbose("Forcing repaint event"),N.style.display="none";N.offsetHeight;N.scrollTop=N.scrollTop,N.style.display=""},setup:{cache:function(){x.cache={width:O.outerWidth(),height:O.outerHeight()}},layout:function(){0===P.children(C.pusher).length&&(x.debug("Adding wrapper element for sidebar"),x.error(A.pusher),L=e(''),P.children().not(C.omitted).not(M).wrapAll(L),x.refresh()),0!==O.nextAll(C.pusher).length&&O.nextAll(C.pusher)[0]===L[0]||(x.debug("Moved sidebar to correct parent element"),x.error(A.movedSidebar,N),O.detach().prependTo(P),x.refresh()),x.clear.cache(),x.set.pushable(),x.set.direction()}},attachEvents:function(t,n){var o=e(t);n=i(x[n])?x[n]:x.toggle,o.length>0?(x.debug("Attaching sidebar events to element",t,n),o.on("click"+E,n)):x.error(A.notFound,t)},can:{leftBodyScrollbar:function(){return void 0===x.cache.leftBodyScrollbar&&(x.cache.leftBodyScrollbar=x.is.rtl()&&(x.is.iframe&&!x.is.firefox()||x.is.safari()||x.is.edge()||x.is.ie())),x.cache.leftBodyScrollbar}},save:{bodyMargin:function(){j=P.css((R?"margin-":"padding-")+(x.can.leftBodyScrollbar()?"left":"right"));var e=parseInt(j.replace(/[^\d.]/g,""),10),i=R?t.innerWidth-n.documentElement.clientWidth:P[0].offsetWidth-P[0].clientWidth;I=e+i}},show:function(e){if(e=i(e)?e:function(){},x.is.hidden()){if(!1===w.onShow.call(N))return void x.verbose("Show callback returned false cancelling show");if(w.overlay&&(x.error(A.overlay),w.transition="overlay"),x.refresh(),x.othersActive())if(x.debug("Other sidebars currently visible"),w.exclusive){if("overlay"!==w.transition)return void x.hideOthers(x.show);x.hideOthers()}else w.transition="overlay";x.set.dimmerStyles(),x.pushPage((function(){e.call(N),w.onVisible.call(N)})),w.onChange.call(N)}else x.debug("Sidebar is already visible")},hide:function(e){e=i(e)?e:function(){},(x.is.visible()||x.is.animating())&&!1!==w.onHide.call(N)&&(x.debug("Hiding sidebar",e),x.refreshSidebars(),x.pullPage((function(){e.call(N),w.onHidden.call(N)})),w.onChange.call(N))},othersAnimating:function(){return M.not(O).filter("."+S.animating).length>0},othersVisible:function(){return M.not(O).filter("."+S.visible).length>0},othersActive:function(){return x.othersVisible()||x.othersAnimating()},hideOthers:function(e){var t=M.not(O).filter("."+S.visible),n=t.length,i=0;e=e||function(){},t.sidebar("hide",(function(){++i===n&&e()}))},toggle:function(){x.verbose("Determining toggled direction"),x.is.hidden()?x.show():x.hide()},pushPage:function(e){var t,n,o,r=x.get.transition(),a="overlay"===r||x.othersActive()?O:L;e=i(e)?e:function(){},w.returnScroll&&(y=(R?s:P).scrollTop()),"scale down"===w.transition&&x.scrollToTop(),x.bind.scrollLock(),x.set.transition(r),x.repaint(),t=function(){x.bind.clickaway(),x.add.inlineCSS(),x.set.animating(),x.set.visible()},n=function(){x.set.dimmed()},o=function(t){t.target===a[0]&&(a.off("transitionend"+v,o),x.remove.animating(),e.call(N))},a.off("transitionend"+v),a.on("transitionend"+v,o),requestAnimationFrame(t),w.dimPage&&!x.othersVisible()&&requestAnimationFrame(n)},pullPage:function(e){var t,n,o=x.get.transition(),r="overlay"===o||x.othersActive()?O:L;e=i(e)?e:function(){},x.verbose("Removing context push state",x.get.direction()),x.unbind.clickaway(),x.unbind.scrollLock(),t=function(){x.set.transition(o),x.set.animating(),w.dimPage&&!x.othersVisible()&&x.set.closing(),x.remove.visible()},n=function(t){t.target===r[0]&&(r.off("transitionend"+v,n),x.remove.animating(),x.remove.closing(),x.remove.transition(),x.remove.inlineCSS(),("scale down"===o||w.returnScroll)&&x.scrollBack(),w.dimPage&&!x.othersVisible()&&L.removeClass(S.dimmed),e.call(N))},r.off("transitionend"+v),r.on("transitionend"+v,n),requestAnimationFrame(t)},scrollToTop:function(){x.verbose("Scrolling to top of page to avoid animation issues"),O.scrollTop(0),(R?s:P)[0].scrollTo(0,0)},scrollBack:function(){x.verbose("Scrolling back to original page position"),(R?s:P)[0].scrollTo(0,y)},clear:{cache:function(){x.verbose("Clearing cached dimensions"),x.cache={}}},set:{bodyMargin:function(){var t=x.can.leftBodyScrollbar()?"left":"right";P.css((R?"margin-":"padding-")+t,I+"px"),P.find(C.bodyFixed.replace("right",t)).each((function(){var n=e(this),i="fixed"===n.css("position")?"padding-"+t:t;n.css(i,"calc("+n.css(i)+" + "+I+"px)")}))},dimmerStyles:function(){w.blurring?L.addClass(S.blurring):L.removeClass(S.blurring)},pushed:function(){P.addClass(S.pushed)},pushable:function(){P.addClass(S.pushable)},dimmed:function(){L.addClass(S.dimmed)},active:function(){O.addClass(S.active)},animating:function(){O.addClass(S.animating)},closing:function(){L.addClass(S.closing)},transition:function(e){e=e||x.get.transition(),O.addClass(e)},direction:function(e){e=e||x.get.direction(),O.addClass(S[e])},visible:function(){O.addClass(S.visible)},overlay:function(){O.addClass(S.overlay)}},remove:{inlineCSS:function(){x.debug("Removing inline css styles",a),a&&a.length>0&&a.remove()},pushed:function(){P.removeClass(S.pushed)},pushable:function(){P.removeClass(S.pushable)},active:function(){O.removeClass(S.active)},animating:function(){O.removeClass(S.animating)},closing:function(){L.removeClass(S.closing)},transition:function(e){e=e||x.get.transition(),O.removeClass(e)},direction:function(e){e=e||x.get.direction(),O.removeClass(S[e])},visible:function(){O.removeClass(S.visible)},overlay:function(){O.removeClass(S.overlay)}},restore:{bodyMargin:function(){var t=x.can.leftBodyScrollbar()?"left":"right";P.css((R?"margin-":"padding-")+t,j),P.find(C.bodyFixed.replace("right",t)).each((function(){var n=e(this),i="fixed"===n.css("position")?"padding-"+t:t;n.css(i,"")}))}},get:{direction:function(){return O.hasClass(S.top)?S.top:O.hasClass(S.right)?S.right:O.hasClass(S.bottom)?S.bottom:S.left},transition:function(){var e,t=x.get.direction();return e=x.is.mobile()?"auto"===w.mobileTransition?w.defaultTransition.mobile[t]:w.mobileTransition:"auto"===w.transition?w.defaultTransition.computer[t]:w.transition,x.verbose("Determined transition",e),e}},has:{scrollbar:function(){return R||"hidden"!==P.css("overflow-y")}},is:{safari:function(){return void 0===x.cache.isSafari&&(x.cache.isSafari=/constructor/i.test(t.HTMLElement)||!!t.ApplePaySession),x.cache.isSafari},edge:function(){return void 0===x.cache.isEdge&&(x.cache.isEdge=!!t.setImmediate&&!x.is.ie()),x.cache.isEdge},firefox:function(){return void 0===x.cache.isFirefox&&(x.cache.isFirefox=!!t.InstallTrigger),x.cache.isFirefox},iframe:function(){return!(self===top)},ie:function(){if(void 0===x.cache.isIE){var e=!t.ActiveXObject&&"ActiveXObject"in t,n="ActiveXObject"in t;x.cache.isIE=e||n}return x.cache.isIE},mobile:function(){var e=navigator.userAgent;return e.match(T.mobile)?(x.verbose("Browser was found to be mobile",e),!0):(x.verbose("Browser is not mobile, using regular transition",e),!1)},hidden:function(){return!x.is.visible()},visible:function(){return O.hasClass(S.visible)},open:function(){return x.is.visible()},closed:function(){return x.is.hidden()},vertical:function(){return O.hasClass(S.top)},animating:function(){return P.hasClass(S.animating)},rtl:function(){return void 0===x.cache.isRTL&&(x.cache.isRTL="rtl"===O.attr("dir")||"rtl"===O.css("direction")||"rtl"===l.attr("dir")||"rtl"===l.css("direction")||"rtl"===P.attr("dir")||"rtl"===P.css("direction")),x.cache.isRTL}},setting:function(t,n){if(x.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,w,t);else{if(void 0===n)return w[t];e.isPlainObject(w[t])?e.extend(!0,w[t],n):w[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,x,t);else{if(void 0===n)return x[t];x[t]=n}},debug:function(){!w.silent&&w.debug&&(w.performance?x.performance.log(arguments):(x.debug=Function.prototype.bind.call(console.info,console,w.name+":"),x.debug.apply(console,arguments)))},verbose:function(){!w.silent&&w.verbose&&w.debug&&(w.performance?x.performance.log(arguments):(x.verbose=Function.prototype.bind.call(console.info,console,w.name+":"),x.verbose.apply(console,arguments)))},error:function(){w.silent||(x.error=Function.prototype.bind.call(console.error,console,w.name+":"),x.error.apply(console,arguments))},performance:{log:function(e){var t,n;w.performance&&(n=(t=Date.now())-(d||t),d=t,f.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:N,"Execution Time":n})),clearTimeout(x.performance.timer),x.performance.timer=setTimeout((function(){x.performance.display()}),500)},display:function(){var t=w.name+":",n=0;d=!1,clearTimeout(x.performance.timer),e.each(f,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",f.length>0&&(console.groupCollapsed(t),console.table?console.table(f):e.each(f,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),f=[]}},invoke:function(t,n,o){var a,s,c,l=$;return n=n||m,o=o||N,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(x.error(A.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},h?(void 0===$&&x.initialize(),x.invoke(p)):(void 0!==$&&x.invoke("destroy"),x.initialize())})),void 0!==r?r:this},e.fn.sidebar.settings={name:"Sidebar",namespace:"sidebar",silent:!1,debug:!1,verbose:!1,performance:!0,transition:"auto",mobileTransition:"auto",defaultTransition:{computer:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"},mobile:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"}},context:"body",exclusive:!1,closable:!0,dimPage:!0,scrollLock:!1,returnScroll:!1,delaySetup:!1,onChange:function(){},onShow:function(){},onHide:function(){},onHidden:function(){},onVisible:function(){},className:{active:"active",animating:"animating",blurring:"blurring",closing:"closing",dimmed:"dimmed",locked:"locked",pushable:"pushable",pushed:"pushed",right:"right",top:"top",left:"left",bottom:"bottom",visible:"visible"},selector:{bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",sidebar:".ui.sidebar"},regExp:{mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedSidebar:"Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag",overlay:"The overlay setting is no longer supported, use animation: overlay",notFound:"There were no elements that matched the specified selector"}}}(n(9755),window,document)},2445:(e,t,n)=>{
+!function(e,t,n){"use strict";function i(e){return"function"==typeof e&&"number"!=typeof e.nodeType}t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.sidebar=function(o){var r,a=e(this),s=e(t),c=e(n),l=e("body"),u=(e("html"),e("head")),d=Date.now(),f=[],p=arguments[0],h="string"==typeof p,g=[].slice.call(arguments,1),m=function(i,o){var r;return[t,n].indexOf(i)>=0?r=l:0===(r=e(o.document).find(i)).length&&(r=o.frameElement?m(i,o.parent):l),r};return a.each((function(){var a,v,b,y,x,w=e.isPlainObject(o)?e.extend(!0,{},e.fn.sidebar.settings,o):e.extend({},e.fn.sidebar.settings),C=w.selector,S=w.className,k=w.namespace,T=w.regExp,E=w.error,A="."+k,D="module-"+k,O=e(this),R=m(w.context,t),P=R[0]===l[0],M=O.children(C.sidebar),N=(R.children(C.fixed),R.children(C.pusher)),L=this,j=O.data(D),$="",_="",I=!1;x={initialize:function(){x.debug("Initializing sidebar",o),x.create.id(),w.delaySetup?requestAnimationFrame(x.setup.layout):x.setup.layout(),requestAnimationFrame((function(){x.setup.cache()})),x.instantiate()},instantiate:function(){x.verbose("Storing instance of module",x),j=x,O.data(D,x)},create:{id:function(){b=(Math.random().toString(16)+"000000000").slice(2,10),v="."+b,x.verbose("Creating unique id for element",b)}},destroy:function(){x.verbose("Destroying previous module for",O),O.off(A).removeData(D),R.off(v),s.off(v),c.off(v)},event:{clickaway:function(e){if(w.closable){var t=N.find(e.target).length>0||N.is(e.target),n=R.is(e.target);t&&(x.verbose("User clicked on dimmed page"),x.hide()),n&&(x.verbose("User clicked on dimmable context (scaled out page)"),x.hide())}},touch:function(e){},containScroll:function(e){L.scrollTop<=0&&(L.scrollTop=1),L.scrollTop+L.offsetHeight>=L.scrollHeight&&(L.scrollTop=L.scrollHeight-L.offsetHeight-1)},scroll:function(t){0===e(t.target).closest(C.sidebar).length&&t.preventDefault()}},bind:{clickaway:function(){x.verbose("Adding clickaway events to context",R),R.on("click"+v,x.event.clickaway).on("touchend"+v,x.event.clickaway)},scrollLock:function(){w.scrollLock&&(x.debug("Disabling page scroll"),(I=x.has.scrollbar())&&(x.save.bodyMargin(),x.set.bodyMargin()),R.addClass(S.locked)),x.verbose("Adding events to contain sidebar scroll"),c.on("touchmove"+v,x.event.touch),O.on("scroll"+A,x.event.containScroll)}},unbind:{clickaway:function(){x.verbose("Removing clickaway events from context",R),R.off(v)},scrollLock:function(){x.verbose("Removing scroll lock from page"),I&&x.restore.bodyMargin(),R.removeClass(S.locked),c.off(v),O.off("scroll"+A)}},add:{inlineCSS:function(){var t,n=x.cache.width||O.outerWidth(),i=x.cache.height||O.outerHeight(),o=x.is.rtl(),r=x.get.direction(),s={left:n,right:-n,top:i,bottom:-i};o&&(x.verbose("RTL detected, flipping widths"),s.left=-n,s.right=n),t="").appendTo(u),x.debug("Adding sizing css to head",a)}},refresh:function(){x.verbose("Refreshing selector cache"),R=m(w.context,t),x.refreshSidebars(),N=R.children(C.pusher),R.children(C.fixed),x.clear.cache()},refreshSidebars:function(){x.verbose("Refreshing other sidebars"),M=R.children(C.sidebar)},repaint:function(){x.verbose("Forcing repaint event"),L.style.display="none";L.offsetHeight;L.scrollTop=L.scrollTop,L.style.display=""},setup:{cache:function(){x.cache={width:O.outerWidth(),height:O.outerHeight()}},layout:function(){0===R.children(C.pusher).length&&(x.debug("Adding wrapper element for sidebar"),x.error(E.pusher),N=e(''),R.children().not(C.omitted).not(M).wrapAll(N),x.refresh()),0!==O.nextAll(C.pusher).length&&O.nextAll(C.pusher)[0]===N[0]||(x.debug("Moved sidebar to correct parent element"),x.error(E.movedSidebar,L),O.detach().prependTo(R),x.refresh()),x.clear.cache(),x.set.pushable(),x.set.direction()}},attachEvents:function(t,n){var o=e(t);n=i(x[n])?x[n]:x.toggle,o.length>0?(x.debug("Attaching sidebar events to element",t,n),o.on("click"+A,n)):x.error(E.notFound,t)},can:{leftBodyScrollbar:function(){return void 0===x.cache.leftBodyScrollbar&&(x.cache.leftBodyScrollbar=x.is.rtl()&&(x.is.iframe&&!x.is.firefox()||x.is.safari()||x.is.edge()||x.is.ie())),x.cache.leftBodyScrollbar}},save:{bodyMargin:function(){$=R.css((P?"margin-":"padding-")+(x.can.leftBodyScrollbar()?"left":"right"));var e=parseInt($.replace(/[^\d.]/g,""),10),i=P?t.innerWidth-n.documentElement.clientWidth:R[0].offsetWidth-R[0].clientWidth;_=e+i}},show:function(e){if(e=i(e)?e:function(){},x.is.hidden()){if(!1===w.onShow.call(L))return void x.verbose("Show callback returned false cancelling show");if(w.overlay&&(x.error(E.overlay),w.transition="overlay"),x.refresh(),x.othersActive())if(x.debug("Other sidebars currently visible"),w.exclusive){if("overlay"!==w.transition)return void x.hideOthers(x.show);x.hideOthers()}else w.transition="overlay";x.set.dimmerStyles(),x.pushPage((function(){e.call(L),w.onVisible.call(L)})),w.onChange.call(L)}else x.debug("Sidebar is already visible")},hide:function(e){e=i(e)?e:function(){},(x.is.visible()||x.is.animating())&&!1!==w.onHide.call(L)&&(x.debug("Hiding sidebar",e),x.refreshSidebars(),x.pullPage((function(){e.call(L),w.onHidden.call(L)})),w.onChange.call(L))},othersAnimating:function(){return M.not(O).filter("."+S.animating).length>0},othersVisible:function(){return M.not(O).filter("."+S.visible).length>0},othersActive:function(){return x.othersVisible()||x.othersAnimating()},hideOthers:function(e){var t=M.not(O).filter("."+S.visible),n=t.length,i=0;e=e||function(){},t.sidebar("hide",(function(){++i===n&&e()}))},toggle:function(){x.verbose("Determining toggled direction"),x.is.hidden()?x.show():x.hide()},pushPage:function(e){var t,n,o,r=x.get.transition(),a="overlay"===r||x.othersActive()?O:N;e=i(e)?e:function(){},w.returnScroll&&(y=(P?s:R).scrollTop()),"scale down"===w.transition&&x.scrollToTop(),x.bind.scrollLock(),x.set.transition(r),x.repaint(),t=function(){x.bind.clickaway(),x.add.inlineCSS(),x.set.animating(),x.set.visible()},n=function(){x.set.dimmed()},o=function(t){t.target===a[0]&&(a.off("transitionend"+v,o),x.remove.animating(),e.call(L))},a.off("transitionend"+v),a.on("transitionend"+v,o),requestAnimationFrame(t),w.dimPage&&!x.othersVisible()&&requestAnimationFrame(n)},pullPage:function(e){var t,n,o=x.get.transition(),r="overlay"===o||x.othersActive()?O:N;e=i(e)?e:function(){},x.verbose("Removing context push state",x.get.direction()),x.unbind.clickaway(),x.unbind.scrollLock(),t=function(){x.set.transition(o),x.set.animating(),w.dimPage&&!x.othersVisible()&&x.set.closing(),x.remove.visible()},n=function(t){t.target===r[0]&&(r.off("transitionend"+v,n),x.remove.animating(),x.remove.closing(),x.remove.transition(),x.remove.inlineCSS(),("scale down"===o||w.returnScroll)&&x.scrollBack(),w.dimPage&&!x.othersVisible()&&N.removeClass(S.dimmed),e.call(L))},r.off("transitionend"+v),r.on("transitionend"+v,n),requestAnimationFrame(t)},scrollToTop:function(){x.verbose("Scrolling to top of page to avoid animation issues"),O.scrollTop(0),(P?s:R)[0].scrollTo(0,0)},scrollBack:function(){x.verbose("Scrolling back to original page position"),(P?s:R)[0].scrollTo(0,y)},clear:{cache:function(){x.verbose("Clearing cached dimensions"),x.cache={}}},set:{bodyMargin:function(){var t=x.can.leftBodyScrollbar()?"left":"right";R.css((P?"margin-":"padding-")+t,_+"px"),R.find(C.bodyFixed.replace("right",t)).each((function(){var n=e(this),i="fixed"===n.css("position")?"padding-"+t:t;n.css(i,"calc("+n.css(i)+" + "+_+"px)")}))},dimmerStyles:function(){w.blurring?N.addClass(S.blurring):N.removeClass(S.blurring)},pushed:function(){R.addClass(S.pushed)},pushable:function(){R.addClass(S.pushable)},dimmed:function(){N.addClass(S.dimmed)},active:function(){O.addClass(S.active)},animating:function(){O.addClass(S.animating)},closing:function(){N.addClass(S.closing)},transition:function(e){e=e||x.get.transition(),O.addClass(e)},direction:function(e){e=e||x.get.direction(),O.addClass(S[e])},visible:function(){O.addClass(S.visible)},overlay:function(){O.addClass(S.overlay)}},remove:{inlineCSS:function(){x.debug("Removing inline css styles",a),a&&a.length>0&&a.remove()},pushed:function(){R.removeClass(S.pushed)},pushable:function(){R.removeClass(S.pushable)},active:function(){O.removeClass(S.active)},animating:function(){O.removeClass(S.animating)},closing:function(){N.removeClass(S.closing)},transition:function(e){e=e||x.get.transition(),O.removeClass(e)},direction:function(e){e=e||x.get.direction(),O.removeClass(S[e])},visible:function(){O.removeClass(S.visible)},overlay:function(){O.removeClass(S.overlay)}},restore:{bodyMargin:function(){var t=x.can.leftBodyScrollbar()?"left":"right";R.css((P?"margin-":"padding-")+t,$),R.find(C.bodyFixed.replace("right",t)).each((function(){var n=e(this),i="fixed"===n.css("position")?"padding-"+t:t;n.css(i,"")}))}},get:{direction:function(){return O.hasClass(S.top)?S.top:O.hasClass(S.right)?S.right:O.hasClass(S.bottom)?S.bottom:S.left},transition:function(){var e,t=x.get.direction();return e=x.is.mobile()?"auto"===w.mobileTransition?w.defaultTransition.mobile[t]:w.mobileTransition:"auto"===w.transition?w.defaultTransition.computer[t]:w.transition,x.verbose("Determined transition",e),e}},has:{scrollbar:function(){return P||"hidden"!==R.css("overflow-y")}},is:{safari:function(){return void 0===x.cache.isSafari&&(x.cache.isSafari=/constructor/i.test(t.HTMLElement)||!!t.ApplePaySession),x.cache.isSafari},edge:function(){return void 0===x.cache.isEdge&&(x.cache.isEdge=!!t.setImmediate&&!x.is.ie()),x.cache.isEdge},firefox:function(){return void 0===x.cache.isFirefox&&(x.cache.isFirefox=!!t.InstallTrigger),x.cache.isFirefox},iframe:function(){return!(self===top)},ie:function(){if(void 0===x.cache.isIE){var e=!t.ActiveXObject&&"ActiveXObject"in t,n="ActiveXObject"in t;x.cache.isIE=e||n}return x.cache.isIE},mobile:function(){var e=navigator.userAgent;return e.match(T.mobile)?(x.verbose("Browser was found to be mobile",e),!0):(x.verbose("Browser is not mobile, using regular transition",e),!1)},hidden:function(){return!x.is.visible()},visible:function(){return O.hasClass(S.visible)},open:function(){return x.is.visible()},closed:function(){return x.is.hidden()},vertical:function(){return O.hasClass(S.top)},animating:function(){return R.hasClass(S.animating)},rtl:function(){return void 0===x.cache.isRTL&&(x.cache.isRTL="rtl"===O.attr("dir")||"rtl"===O.css("direction")||"rtl"===l.attr("dir")||"rtl"===l.css("direction")||"rtl"===R.attr("dir")||"rtl"===R.css("direction")),x.cache.isRTL}},setting:function(t,n){if(x.debug("Changing setting",t,n),e.isPlainObject(t))e.extend(!0,w,t);else{if(void 0===n)return w[t];e.isPlainObject(w[t])?e.extend(!0,w[t],n):w[t]=n}},internal:function(t,n){if(e.isPlainObject(t))e.extend(!0,x,t);else{if(void 0===n)return x[t];x[t]=n}},debug:function(){!w.silent&&w.debug&&(w.performance?x.performance.log(arguments):(x.debug=Function.prototype.bind.call(console.info,console,w.name+":"),x.debug.apply(console,arguments)))},verbose:function(){!w.silent&&w.verbose&&w.debug&&(w.performance?x.performance.log(arguments):(x.verbose=Function.prototype.bind.call(console.info,console,w.name+":"),x.verbose.apply(console,arguments)))},error:function(){w.silent||(x.error=Function.prototype.bind.call(console.error,console,w.name+":"),x.error.apply(console,arguments))},performance:{log:function(e){var t,n;w.performance&&(n=(t=Date.now())-(d||t),d=t,f.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:L,"Execution Time":n})),clearTimeout(x.performance.timer),x.performance.timer=setTimeout((function(){x.performance.display()}),500)},display:function(){var t=w.name+":",n=0;d=!1,clearTimeout(x.performance.timer),e.each(f,(function(e,t){n+=t["Execution Time"]})),t+=" "+n+"ms",f.length>0&&(console.groupCollapsed(t),console.table?console.table(f):e.each(f,(function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")})),console.groupEnd()),f=[]}},invoke:function(t,n,o){var a,s,c,l=j;return n=n||g,o=o||L,"string"==typeof t&&void 0!==l&&(t=t.split(/[ .]/),a=t.length-1,e.each(t,(function(n,i){var o=n!==a?i+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(e.isPlainObject(l[o])&&n!==a)l=l[o];else{if(void 0!==l[o])return s=l[o],!1;if(!e.isPlainObject(l[i])||n===a)return void 0!==l[i]?(s=l[i],!1):(x.error(E.method,t),!1);l=l[i]}}))),i(s)?c=s.apply(o,n):void 0!==s&&(c=s),Array.isArray(r)?r.push(c):void 0!==r?r=[r,c]:void 0!==c&&(r=c),s}},h?(void 0===j&&x.initialize(),x.invoke(p)):(void 0!==j&&x.invoke("destroy"),x.initialize())})),void 0!==r?r:this},e.fn.sidebar.settings={name:"Sidebar",namespace:"sidebar",silent:!1,debug:!1,verbose:!1,performance:!0,transition:"auto",mobileTransition:"auto",defaultTransition:{computer:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"},mobile:{left:"uncover",right:"uncover",top:"overlay",bottom:"overlay"}},context:"body",exclusive:!1,closable:!0,dimPage:!0,scrollLock:!1,returnScroll:!1,delaySetup:!1,onChange:function(){},onShow:function(){},onHide:function(){},onHidden:function(){},onVisible:function(){},className:{active:"active",animating:"animating",blurring:"blurring",closing:"closing",dimmed:"dimmed",locked:"locked",pushable:"pushable",pushed:"pushed",right:"right",top:"top",left:"left",bottom:"bottom",visible:"visible"},selector:{bodyFixed:"> .ui.fixed.menu, > .ui.right.toast-container, > .ui.right.sidebar, > .ui.fixed.nag, > .ui.fixed.nag > .close",fixed:".fixed",omitted:"script, link, style, .ui.modal, .ui.dimmer, .ui.nag, .ui.fixed",pusher:".pusher",sidebar:".ui.sidebar"},regExp:{mobile:/Mobile|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk-Accelerated|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune/g},error:{method:"The method you called is not defined.",pusher:"Had to add pusher element. For optimal performance make sure body content is inside a pusher element",movedSidebar:"Had to move sidebar. For optimal performance make sure sidebar and pusher are direct children of your body tag",overlay:"The overlay setting is no longer supported, use animation: overlay",notFound:"There were no elements that matched the specified selector"}}}(n(9755),window,document)},2445:(e,t,n)=>{
/*!
* # Fomantic-UI - Slider
* https://github.com/fomantic/Fomantic-UI/
@@ -175,7 +175,7 @@ var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d
* https://opensource.org/licenses/MIT
*
*/
-!function(e,t,n){"use strict";t=void 0!==t&&t.Math===Math?t:globalThis,e.fn.slider=function(i){var o,r=e(this),a=e(n),s=e(t),c=Date.now(),l=[],u=arguments[0],d="string"==typeof u,f=[].slice.call(arguments,1),p=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],h=0;return r.each((function(){var t,n,r,m,g,v,b,y,x,w,C,S,k,T,A,E,D,O=e.isPlainObject(i)?e.extend(!0,{},e.fn.slider.settings,i):e.extend({},e.fn.slider.settings),P=O.className,R=O.metadata,M=O.namespace,L=O.error,N=O.keys,$=O.interpretLabel,j=!1,I="."+M,F="module-"+M,q=e(this),_=this,H=q.data(F),V=1;D={initialize:function(){D.debug("Initializing slider",O),E=!0,y=h+=1,D.setup.layout(),D.setup.labels(),D.bind.events(),D.read.metadata(),D.read.settings(),E=!1,D.instantiate()},instantiate:function(){D.verbose("Storing instance of slider",D),H=D,q.data(F,D)},destroy:function(){D.verbose("Destroying previous slider for",q),clearInterval(H.interval),D.unbind.events(),D.unbind.slidingEvents(),q.removeData(F),H=void 0},setup:{layout:function(){void 0===q.attr("tabindex")&&q.attr("tabindex",0),0===q.find(".inner").length&&q.append('