kcc-gem-theme-original 1.3.1 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/breadcrumbs.html +49 -13
- data/_includes/hash/theme_hash.yml +1 -1
- data/_includes/nav-global.html +1 -1
- data/_includes/nav-local.html +2 -2
- data/_includes/nav-sub.html +4 -2
- data/_includes/tabbed-content.html +3 -3
- data/assets/js/alerts/addAccordionOrTabHistoryStates.js +2 -3
- data/assets/js/alerts/contentHashLink.js +2 -2
- data/assets/js/dist/{143.ab025e563a6c9c2f21ad.bundle.js → 143.6c4c890998bdbb41efbf.bundle.js} +1 -1
- data/assets/js/dist/{183.ab025e563a6c9c2f21ad.bundle.js → 183.6c4c890998bdbb41efbf.bundle.js} +1 -1
- data/assets/js/dist/{3.ab025e563a6c9c2f21ad.bundle.js → 3.6c4c890998bdbb41efbf.bundle.js} +1 -1
- data/assets/js/dist/303.6c4c890998bdbb41efbf.bundle.js +1 -0
- data/assets/js/dist/453.6c4c890998bdbb41efbf.bundle.js +2 -0
- data/assets/js/dist/453.6c4c890998bdbb41efbf.bundle.js.LICENSE.txt +5 -0
- data/assets/js/dist/604.6c4c890998bdbb41efbf.bundle.js +1 -0
- data/assets/js/dist/635.6c4c890998bdbb41efbf.bundle.js +2 -0
- data/assets/js/dist/{635.ab025e563a6c9c2f21ad.bundle.js.LICENSE.txt → 635.6c4c890998bdbb41efbf.bundle.js.LICENSE.txt} +10 -10
- data/assets/js/dist/695.6c4c890998bdbb41efbf.bundle.js +2 -0
- data/assets/js/dist/{695.ab025e563a6c9c2f21ad.bundle.js.LICENSE.txt → 695.6c4c890998bdbb41efbf.bundle.js.LICENSE.txt} +2 -2
- data/assets/js/dist/723.6c4c890998bdbb41efbf.bundle.js +1 -0
- data/assets/js/dist/965.6c4c890998bdbb41efbf.bundle.js +1 -0
- data/assets/js/dist/{977.ab025e563a6c9c2f21ad.bundle.js → 977.6c4c890998bdbb41efbf.bundle.js} +1 -1
- data/assets/js/dist/bootstrap.6c4c890998bdbb41efbf.css +1 -0
- data/assets/js/dist/theme.6c4c890998bdbb41efbf.bundle.js +2 -0
- data/assets/js/dist/{theme.ab025e563a6c9c2f21ad.bundle.js.LICENSE.txt → theme.6c4c890998bdbb41efbf.bundle.js.LICENSE.txt} +16 -16
- data/assets/js/nav/highlightCurrentNav.js +9 -7
- metadata +25 -25
- data/assets/js/dist/303.ab025e563a6c9c2f21ad.bundle.js +0 -1
- data/assets/js/dist/453.ab025e563a6c9c2f21ad.bundle.js +0 -2
- data/assets/js/dist/453.ab025e563a6c9c2f21ad.bundle.js.LICENSE.txt +0 -5
- data/assets/js/dist/604.ab025e563a6c9c2f21ad.bundle.js +0 -1
- data/assets/js/dist/635.ab025e563a6c9c2f21ad.bundle.js +0 -2
- data/assets/js/dist/695.ab025e563a6c9c2f21ad.bundle.js +0 -2
- data/assets/js/dist/723.ab025e563a6c9c2f21ad.bundle.js +0 -1
- data/assets/js/dist/965.ab025e563a6c9c2f21ad.bundle.js +0 -1
- data/assets/js/dist/bootstrap.ab025e563a6c9c2f21ad.css +0 -1
- data/assets/js/dist/theme.ab025e563a6c9c2f21ad.bundle.js +0 -2
- /data/assets/js/dist/{102.ab025e563a6c9c2f21ad.bundle.js → 102.6c4c890998bdbb41efbf.bundle.js} +0 -0
- /data/assets/js/dist/{354.ab025e563a6c9c2f21ad.bundle.js → 354.6c4c890998bdbb41efbf.bundle.js} +0 -0
- /data/assets/js/dist/{384.ab025e563a6c9c2f21ad.bundle.js → 384.6c4c890998bdbb41efbf.bundle.js} +0 -0
- /data/assets/js/dist/{384.ab025e563a6c9c2f21ad.css → 384.6c4c890998bdbb41efbf.css} +0 -0
- /data/assets/js/dist/{bootstrap.ab025e563a6c9c2f21ad.bundle.js → bootstrap.6c4c890998bdbb41efbf.bundle.js} +0 -0
- /data/assets/js/dist/{theme.ab025e563a6c9c2f21ad.css → theme.6c4c890998bdbb41efbf.css} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c1ea35aeabc0959b0d0197bae0ac57834581ce6a1d346390d76151ce800f50c
|
4
|
+
data.tar.gz: 8b7d786a3e4ef976aa854864cacbb4557757ad6e67d80ded68e662ce95d83bf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c759d10c77ff4d8560129733821dd8315b1b468eaedec94a24ebd9864c0a44be66d3fe6bf2e6735f992a088c2aa644eaa223e7da17e84877d746d28ef4d84a3
|
7
|
+
data.tar.gz: bb94aeb2e7b9f06dbf9cb8e1305a0f56e9177e6aad50e2213d059d045e69248dc7f0d180dbacd08eb89a30ba01885c5d64f4fb257ddde2b7a9efdddc8cd3d230
|
data/_includes/breadcrumbs.html
CHANGED
@@ -1,13 +1,41 @@
|
|
1
|
-
|
2
|
-
<nav aria-label="breadcrumb">
|
1
|
+
<nav aria-label="Breadcrumb">
|
3
2
|
<ol class="breadcrumb breadcrumbs">
|
4
|
-
{% if site.core_root == true %}
|
5
|
-
|
3
|
+
{% if site.core_root == true %}
|
4
|
+
{% comment %}
|
5
|
+
<!-- core_root: true is for the core project (project containing the kcc.edu homepage) -->
|
6
|
+
{% endcomment %}
|
7
|
+
{% if page.title != '404' and page.title != 'Settings' %}
|
8
|
+
<li class="breadcrumb-item">
|
9
|
+
<a href="./" aria-current="page">
|
10
|
+
<svg id="home-icon" role="img" class="breadcrumbs--home" height="24px" width="24px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-labelledby="home-icon-title">
|
11
|
+
<title lang="en" id="home-icon-title">Home</title>
|
12
|
+
<path class="breadcrumbs--home--border" d="M0,0h24v24H0V0z"/>
|
13
|
+
<polygon class="breadcrumbs--home--house" points="14.5,19.5 14.5,13.5 9.5,13.5
|
14
|
+
9.5,19.5 5.5,19.5 5.5,11.5 3.3,11.5 12,3.7 20.7,11.5 18.5,11.5 18.5,19.5 "/>
|
15
|
+
</svg>
|
16
|
+
</a>
|
17
|
+
</li>
|
18
|
+
{% else if page.title == '404' or page.title == 'Settings' %}
|
19
|
+
<li class="breadcrumb-item">
|
20
|
+
<a href="../">
|
21
|
+
<svg id="home-icon" role="img" class="breadcrumbs--home" height="24px" width="24px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-labelledby="home-icon-title">
|
22
|
+
<title lang="en" id="home-icon-title">Home</title>
|
23
|
+
<path class="breadcrumbs--home--border" d="M0,0h24v24H0V0z"/>
|
24
|
+
<polygon class="breadcrumbs--home--house" points="14.5,19.5 14.5,13.5 9.5,13.5
|
25
|
+
9.5,19.5 5.5,19.5 5.5,11.5 3.3,11.5 12,3.7 20.7,11.5 18.5,11.5 18.5,19.5 "/>
|
26
|
+
</svg>
|
27
|
+
</a>
|
28
|
+
</li>
|
29
|
+
<li class="breadcrumb-item active"><a href="./" aria-current="page">{{ page.title }}</a></li>
|
30
|
+
{% endif %}
|
6
31
|
{% else %}
|
32
|
+
{% comment %}
|
33
|
+
<!-- Non-core_root=true is for the other core sites -->
|
34
|
+
{% endcomment %}
|
7
35
|
{% if page.url == "/" %}
|
8
36
|
<li class="breadcrumb-item">
|
9
37
|
<a href="../">
|
10
|
-
<svg id="home-icon" role="
|
38
|
+
<svg id="home-icon" role="img" class="breadcrumbs--home" height="24px" width="24px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-labelledby="home-icon-title">
|
11
39
|
<title lang="en" id="home-icon-title">Home</title>
|
12
40
|
<path class="breadcrumbs--home--border" d="M0,0h24v24H0V0z"/>
|
13
41
|
<polygon class="breadcrumbs--home--house" points="14.5,19.5 14.5,13.5 9.5,13.5
|
@@ -15,12 +43,12 @@
|
|
15
43
|
</svg>
|
16
44
|
</a>
|
17
45
|
</li>
|
18
|
-
<li class="breadcrumb-item active" aria-current="page">{{ page.title }}</li>
|
46
|
+
<li class="breadcrumb-item active"><a href="./" aria-current="page">{{ page.title }}</a></li>
|
19
47
|
{% else %}
|
20
|
-
{% assign url_arr = page.url | split: "/" %}
|
48
|
+
{% assign url_arr = page.url | split: "/" | where_exp: "item", "item != ''" %}
|
21
49
|
<li class="breadcrumb-item">
|
22
50
|
<a href="../{{ page.baseurl }}">
|
23
|
-
<svg id="home-icon" role="
|
51
|
+
<svg id="home-icon" role="img" class="breadcrumbs--home" height="24px" width="24px" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-labelledby="home-icon-title">
|
24
52
|
<title lang="en" id="home-icon-title">Home</title>
|
25
53
|
<path class="breadcrumbs--home--border" d="M0,0h24v24H0V0z"/>
|
26
54
|
<polygon class="breadcrumbs--home--house" points="14.5,19.5 14.5,13.5 9.5,13.5
|
@@ -30,15 +58,23 @@
|
|
30
58
|
</li>
|
31
59
|
<li class="breadcrumb-item"><a href="{{ page.baseurl }}">{{ site.site_name }}</a></li>
|
32
60
|
{% for item in url_arr %}
|
33
|
-
{%
|
61
|
+
{% assign depth = url_arr.size | minus: forloop.index %}
|
62
|
+
{% if depth == 4 %}
|
63
|
+
{% assign back_link = '../../../../' %}
|
64
|
+
{% elsif depth == 3 %}
|
65
|
+
{% assign back_link = '../../../' %}
|
66
|
+
{% elsif depth == 2 %}
|
67
|
+
{% assign back_link = '../../' %}
|
68
|
+
{% elsif depth == 1 %}
|
69
|
+
{% assign back_link = '../' %}
|
70
|
+
{% endif %}
|
34
71
|
{% if forloop.last %}
|
35
|
-
<li class="breadcrumb-item active" aria-current="page">{{ page.title }}</li>
|
72
|
+
<li class="breadcrumb-item active"><a href="./" aria-current="page">{{ page.title }}</a></li>
|
36
73
|
{% else %}
|
37
|
-
<li class="breadcrumb-item"><a href="
|
74
|
+
<li class="breadcrumb-item"><a href="{{ back_link }}">{{ item | split: '-' | join: ' ' | capitalize }}</a></li>
|
38
75
|
{% endif %}
|
39
|
-
{% endif %}
|
40
76
|
{% endfor %}
|
41
77
|
{% endif %}
|
42
78
|
{% endif %}
|
43
79
|
</ol>
|
44
|
-
</nav>
|
80
|
+
</nav>
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
6c4c890998bdbb41efbf
|
data/_includes/nav-global.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<nav
|
1
|
+
<nav aria-label="Main" id="globalNav" class="navbar nav-global fixed-top navbar-fixed-top">
|
2
2
|
<a
|
3
3
|
class="clickable navbar-brand nav-global__navbar-brand"
|
4
4
|
href="https://www.kcc.edu"
|
data/_includes/nav-local.html
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
<nav
|
1
|
+
<nav aria-labelledby="nav-local-heading" id="mainNav" class="navbar navbar-expand-lg navbar-light bg-light nav-local fixed-top">
|
2
2
|
<a href="{{ page.baseurl }}" class="links__no-underline navbar-brand">
|
3
|
-
<
|
3
|
+
<h2 id="nav-local-heading" class="typography__nav-heading{% if site.nav_config.smaller_brand == true %} typography__nav-heading--smaller{% endif %}">{{ site.site_name }}</h2>
|
4
4
|
</a>
|
5
5
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mainNavContent" aria-controls="mainNavContent" aria-expanded="false" aria-label="Toggle navigation">
|
6
6
|
<span class="navbar-toggler-icon"></span>
|
data/_includes/nav-sub.html
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
<div class="container mb-3">
|
2
2
|
<div class="row">
|
3
3
|
<div class="col">
|
4
|
-
<nav class="navbar navbar-light bg-light sub-nav__navbar">
|
5
|
-
<a class="navbar-brand" href="{% if page.sub-nav_section_link == false %}#{% else %}{{ page.baseurl }}{{ page.sub-nav_section | downcase }}{% endif %}"
|
4
|
+
<nav class="navbar navbar-light bg-light sub-nav__navbar" aria-labelledby="sub-nav-heading">
|
5
|
+
<a class="navbar-brand" href="{% if page.sub-nav_section_link == false %}#{% else %}{{ page.baseurl }}{{ page.sub-nav_section | downcase }}{% endif %}">
|
6
|
+
<h2 id="sub-nav-heading" class="typography__sub-nav--red-h2 mb-0">{{ page.sub-nav_section | capitalize | replace: "-", " " }}</h2>
|
7
|
+
</a>
|
6
8
|
<ul id="subNavNav" class="nav ms-auto">
|
7
9
|
{% assign section = page.sub-nav_section | downcase | append: "/" %}
|
8
10
|
{% for nav in site.sub-nav_links %}
|
@@ -8,15 +8,15 @@
|
|
8
8
|
{% assign tab_collection = site.tabs | where: "tabs_page", page_title | sort: "order" %}
|
9
9
|
{% for tab in tab_collection %}
|
10
10
|
{% assign tab_id = tab.name | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | replace: "/", "-" | remove: '’' | remove: '0' | remove: '1' | remove: '2' | remove: '3' | remove: '4' | remove: '5' | remove: '6' | remove: '7' | remove: '8' | remove: '9' | remove: '?' | remove: '!' | remove: '#' | remove: '$' | remove: '.' | remove: ',' | remove: '(' | remove: ')' | remove: '®' | remove: '©' %}
|
11
|
-
<li class="nav-item">
|
12
|
-
<
|
11
|
+
<li class="nav-item" role="presentation">
|
12
|
+
<button class="nav-link{% if forloop.first == true %} active{% endif %}" id="{{ tab_id }}-label" data-bs-toggle="tab" data-bs-target="#{{ tab_id }}" type="button" role="tab" aria-controls="{{ tab_id }}" aria-selected="{% if forloop.first == true %}true{% else %}false{% endif %}">{{ tab.name }}</button>
|
13
13
|
</li>
|
14
14
|
{% endfor %}
|
15
15
|
</ul>
|
16
16
|
<div class="tab-content mt-3 px-1" id="{{ page.title | replace: ' ', '-' | downcase }}-content">
|
17
17
|
{% for tab in tab_collection %}
|
18
18
|
{% assign tab_id = tab.name | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | replace: "/", "-" | remove: '’' | remove: '0' | remove: '1' | remove: '2' | remove: '3' | remove: '4' | remove: '5' | remove: '6' | remove: '7' | remove: '8' | remove: '9' | remove: '?' | remove: '!' | remove: '#' | remove: '$' | remove: '.' | remove: ',' | remove: '(' | remove: ')' | remove: '®' | remove: '©' %}
|
19
|
-
<div class="tab-pane fade links__offset{% if forloop.first == true %} show active{% endif %}" id="{{ tab_id }}" role="tabpanel" aria-labelledby="{{ tab_id }}-label">
|
19
|
+
<div class="tab-pane fade links__offset{% if forloop.first == true %} show active{% endif %}" id="{{ tab_id }}" role="tabpanel" aria-labelledby="{{ tab_id }}-label" tabindex="0">
|
20
20
|
{{ tab.content }}
|
21
21
|
</div>
|
22
22
|
{% endfor %}
|
@@ -22,10 +22,9 @@ function accordionHandler(e) {
|
|
22
22
|
}
|
23
23
|
|
24
24
|
function tabHandler(e) {
|
25
|
-
let
|
26
|
-
let targetHref = target.hash;
|
25
|
+
let tabTarget = e.target.dataset.bsTarget;
|
27
26
|
|
28
|
-
addHistoryState(e.target,
|
27
|
+
addHistoryState(e.target, tabTarget);
|
29
28
|
}
|
30
29
|
|
31
30
|
function addAccordionOrTabHistoryStates() {
|
@@ -51,8 +51,8 @@ function findContentTarget(hash) {
|
|
51
51
|
}
|
52
52
|
|
53
53
|
function checkForMatchingTabOrAccordion(hash, Collapse) {
|
54
|
-
if ( document.querySelector(`.nav-tabs
|
55
|
-
const tab = document.querySelector(`.nav-tabs
|
54
|
+
if ( document.querySelector(`.nav-tabs [data-bs-target="${hash}"]`) ) { // Looks for a matching BS4 tab element
|
55
|
+
const tab = document.querySelector(`.nav-tabs [data-bs-target="${hash}"]`);
|
56
56
|
const bsTab = new Tab(tab);
|
57
57
|
|
58
58
|
tab.addEventListener('shown.bs.tab', _e => {
|
data/assets/js/dist/{143.ab025e563a6c9c2f21ad.bundle.js → 143.6c4c890998bdbb41efbf.bundle.js}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[143],{143:function(t,e,c){c.r(e),e.default=function(){[...document.querySelectorAll("img[data-src]")].forEach(
|
1
|
+
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[143],{143:function(t,e,c){c.r(e),e.default=function(){[...document.querySelectorAll("img[data-src]")].forEach(t=>{t.setAttribute("src",t.getAttribute("data-src")),t.onload=function(){t.removeAttribute("data-src")}})}}}]);
|
data/assets/js/dist/{183.ab025e563a6c9c2f21ad.bundle.js → 183.6c4c890998bdbb41efbf.bundle.js}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[183],{183:function(e,t,c){c.r(t);const n=/\\?---?/g,o=/---/;function r(e){return-1===e.search(o)?"—":e}t.default=function(e){let t;const c=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,
|
1
|
+
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[183],{183:function(e,t,c){c.r(t);const n=/\\?---?/g,o=/---/;function r(e){return-1===e.search(o)?"—":e}t.default=function(e){let t;const c=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,e=>-1!==e.nodeValue.search(n)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT);for(;t=c.nextNode();)t.data=t.data.replace(n,r)}}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[3],{3:function(e,c,n){n.r(c);const r=document.querySelectorAll(".hero-slider__slider--slide-heading"),s=/\*\*([^\*]+)\*\*/g;c.default=function(){[...r].forEach(
|
1
|
+
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[3],{3:function(e,c,n){n.r(c);const r=document.querySelectorAll(".hero-slider__slider--slide-heading"),s=/\*\*([^\*]+)\*\*/g;c.default=function(){[...r].forEach(e=>{e.innerHTML=e.innerHTML.replace(s,'<span class="typography__power-text">$1</span>')})}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[303],{303:function(t,e,l){l.r(e);const n=".hero-slider__slider",s="Pause";function o(t,e,l){const o=l===s;$(n).slick(e),function(t,e,l){t.setAttribute("aria-label",l)}(t,0,l),t.classList.toggle("hero-slider__button--play"),t.innerHTML=l,o&&$(n).slick("slickNext")}e.default=function(){$(n).on("init",function(t,e){!function(){const t=function(t){const e=document.createElement("button");return e.setAttribute("role","button"),e.setAttribute("type","button"),e.setAttribute("aria-label","Pause"),e.setAttribute("style","display: block;"),e.innerHTML="Pause",e.classList.add("hero-slider__button--toggle"),t.appendChild(e),e}(document.querySelector(n));t.addEventListener("click",e=>{"Pause"===t.innerHTML?o(t,"slickPause","Play"):o(t,"slickPlay",s)})}()}),$(n).slick({dots:!0,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:4e3,prevArrow:'<button type="button" data-role="none" class="prev slick-prev" aria-label="Previous" role="button" style="display: block;">Previous</button>',nextArrow:'<button type="button" data-role="none" class="next slick-next" aria-label="Next" role="button" style="display: block;">Next</button>'})}}}]);
|
@@ -0,0 +1,2 @@
|
|
1
|
+
/*! For license information please see 453.6c4c890998bdbb41efbf.bundle.js.LICENSE.txt */
|
2
|
+
(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[453],{170:function(e,t,n){"use strict";n.r(t),n.d(t,{afterMain:function(){return O},afterRead:function(){return b},afterWrite:function(){return E},applyStyles:function(){return C},arrow:function(){return J},auto:function(){return s},basePlacements:function(){return f},beforeMain:function(){return w},beforeRead:function(){return v},beforeWrite:function(){return _},bottom:function(){return o},clippingParents:function(){return p},computeStyles:function(){return ne},createPopper:function(){return Te},createPopperBase:function(){return ke},createPopperLite:function(){return Ce},detectOverflow:function(){return ve},end:function(){return u},eventListeners:function(){return oe},flip:function(){return ye},hide:function(){return xe},left:function(){return a},main:function(){return x},modifierPhases:function(){return P},offset:function(){return Oe},placements:function(){return g},popper:function(){return d},popperGenerator:function(){return Le},popperOffsets:function(){return _e},preventOverflow:function(){return je},read:function(){return y},reference:function(){return h},right:function(){return i},start:function(){return c},top:function(){return r},variationPlacements:function(){return m},viewport:function(){return l},write:function(){return j}});var r="top",o="bottom",i="right",a="left",s="auto",f=[r,o,i,a],c="start",u="end",p="clippingParents",l="viewport",d="popper",h="reference",m=f.reduce(function(e,t){return e.concat([t+"-"+c,t+"-"+u])},[]),g=[].concat(f,[s]).reduce(function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])},[]),v="beforeRead",y="read",b="afterRead",w="beforeMain",x="main",O="afterMain",_="beforeWrite",j="write",E="afterWrite",P=[v,y,b,w,x,O,_,j,E];function D(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function L(e){return e instanceof A(e).Element||e instanceof Element}function k(e){return e instanceof A(e).HTMLElement||e instanceof HTMLElement}function T(e){return"undefined"!=typeof ShadowRoot&&(e instanceof A(e).ShadowRoot||e instanceof ShadowRoot)}var C={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];k(o)&&D(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});k(r)&&D(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function M(e){return e.split("-")[0]}var R=Math.max,H=Math.min,S=Math.round;function W(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function B(){return!/^((?!chrome|android).)*safari/i.test(W())}function N(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&k(e)&&(o=e.offsetWidth>0&&S(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&S(r.height)/e.offsetHeight||1);var a=(L(e)?A(e):window).visualViewport,s=!B()&&n,f=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,p=r.height/i;return{width:u,height:p,top:c,right:f+u,bottom:c+p,left:f,x:f,y:c}}function $(e){var t=N(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function I(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&T(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function V(e){return A(e).getComputedStyle(e)}function q(e){return["table","td","th"].indexOf(D(e))>=0}function U(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function z(e){return"html"===D(e)?e:e.assignedSlot||e.parentNode||(T(e)?e.host:null)||U(e)}function F(e){return k(e)&&"fixed"!==V(e).position?e.offsetParent:null}function K(e){for(var t=A(e),n=F(e);n&&q(n)&&"static"===V(n).position;)n=F(n);return n&&("html"===D(n)||"body"===D(n)&&"static"===V(n).position)?t:n||function(e){var t=/firefox/i.test(W());if(/Trident/i.test(W())&&k(e)&&"fixed"===V(e).position)return null;var n=z(e);for(T(n)&&(n=n.host);k(n)&&["html","body"].indexOf(D(n))<0;){var r=V(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function X(e,t,n){return R(e,H(t,n))}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function G(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var J={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,s=e.name,c=e.options,u=n.elements.arrow,p=n.modifiersData.popperOffsets,l=M(n.placement),d=Q(l),h=[a,i].indexOf(l)>=0?"height":"width";if(u&&p){var m=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:G(e,f))}(c.padding,n),g=$(u),v="y"===d?r:a,y="y"===d?o:i,b=n.rects.reference[h]+n.rects.reference[d]-p[d]-n.rects.popper[h],w=p[d]-n.rects.reference[d],x=K(u),O=x?"y"===d?x.clientHeight||0:x.clientWidth||0:0,_=b/2-w/2,j=m[v],E=O-g[h]-m[y],P=O/2-g[h]/2+_,D=X(j,P,E),A=d;n.modifiersData[s]=((t={})[A]=D,t.centerOffset=D-P,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&I(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(e){return e.split("-")[1]}var ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(e){var t,n=e.popper,s=e.popperRect,f=e.placement,c=e.variation,p=e.offsets,l=e.position,d=e.gpuAcceleration,h=e.adaptive,m=e.roundOffsets,g=e.isFixed,v=p.x,y=void 0===v?0:v,b=p.y,w=void 0===b?0:b,x="function"==typeof m?m({x:y,y:w}):{x:y,y:w};y=x.x,w=x.y;var O=p.hasOwnProperty("x"),_=p.hasOwnProperty("y"),j=a,E=r,P=window;if(h){var D=K(n),L="clientHeight",k="clientWidth";D===A(n)&&"static"!==V(D=U(n)).position&&"absolute"===l&&(L="scrollHeight",k="scrollWidth"),(f===r||(f===a||f===i)&&c===u)&&(E=o,w-=(g&&D===P&&P.visualViewport?P.visualViewport.height:D[L])-s.height,w*=d?1:-1),f!==a&&(f!==r&&f!==o||c!==u)||(j=i,y-=(g&&D===P&&P.visualViewport?P.visualViewport.width:D[k])-s.width,y*=d?1:-1)}var T,C=Object.assign({position:l},h&&ee),M=!0===m?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:S(n*o)/o||0,y:S(r*o)/o||0}}({x:y,y:w},A(n)):{x:y,y:w};return y=M.x,w=M.y,d?Object.assign({},C,((T={})[E]=_?"0":"",T[j]=O?"0":"",T.transform=(P.devicePixelRatio||1)<=1?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",T)):Object.assign({},C,((t={})[E]=_?w+"px":"",t[j]=O?y+"px":"",t.transform="",t))}var ne={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,f=void 0===s||s,c={placement:M(t.placement),variation:Z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,te(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,te(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},re={passive:!0},oe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,f=A(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",n.update,re)}),s&&f.addEventListener("resize",n.update,re),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",n.update,re)}),s&&f.removeEventListener("resize",n.update,re)}},data:{}},ie={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,function(e){return ie[e]})}var se={start:"end",end:"start"};function fe(e){return e.replace(/start|end/g,function(e){return se[e]})}function ce(e){var t=A(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ue(e){return N(U(e)).left+ce(e).scrollLeft}function pe(e){var t=V(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function le(e){return["html","body","#document"].indexOf(D(e))>=0?e.ownerDocument.body:k(e)&&pe(e)?e:le(z(e))}function de(e,t){var n;void 0===t&&(t=[]);var r=le(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=A(r),a=o?[i].concat(i.visualViewport||[],pe(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(de(z(a)))}function he(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function me(e,t,n){return t===l?he(function(e,t){var n=A(e),r=U(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,f=0;if(o){i=o.width,a=o.height;var c=B();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,f=o.offsetTop)}return{width:i,height:a,x:s+ue(e),y:f}}(e,n)):L(t)?function(e,t){var n=N(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):he(function(e){var t,n=U(e),r=ce(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=R(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=R(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+ue(e),f=-r.scrollTop;return"rtl"===V(o||n).direction&&(s+=R(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:f}}(U(e)))}function ge(e){var t,n=e.reference,s=e.element,f=e.placement,p=f?M(f):null,l=f?Z(f):null,d=n.x+n.width/2-s.width/2,h=n.y+n.height/2-s.height/2;switch(p){case r:t={x:d,y:n.y-s.height};break;case o:t={x:d,y:n.y+n.height};break;case i:t={x:n.x+n.width,y:h};break;case a:t={x:n.x-s.width,y:h};break;default:t={x:n.x,y:n.y}}var m=p?Q(p):null;if(null!=m){var g="y"===m?"height":"width";switch(l){case c:t[m]=t[m]-(n[g]/2-s[g]/2);break;case u:t[m]=t[m]+(n[g]/2-s[g]/2)}}return t}function ve(e,t){void 0===t&&(t={});var n=t,a=n.placement,s=void 0===a?e.placement:a,c=n.strategy,u=void 0===c?e.strategy:c,m=n.boundary,g=void 0===m?p:m,v=n.rootBoundary,y=void 0===v?l:v,b=n.elementContext,w=void 0===b?d:b,x=n.altBoundary,O=void 0!==x&&x,_=n.padding,j=void 0===_?0:_,E=Y("number"!=typeof j?j:G(j,f)),P=w===d?h:d,A=e.rects.popper,T=e.elements[O?P:w],C=function(e,t,n,r){var o="clippingParents"===t?function(e){var t=de(z(e)),n=["absolute","fixed"].indexOf(V(e).position)>=0&&k(e)?K(e):e;return L(n)?t.filter(function(e){return L(e)&&I(e,n)&&"body"!==D(e)}):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce(function(t,n){var o=me(e,n,r);return t.top=R(o.top,t.top),t.right=H(o.right,t.right),t.bottom=H(o.bottom,t.bottom),t.left=R(o.left,t.left),t},me(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(L(T)?T:T.contextElement||U(e.elements.popper),g,y,u),M=N(e.elements.reference),S=ge({reference:M,element:A,strategy:"absolute",placement:s}),W=he(Object.assign({},A,S)),B=w===d?W:M,$={top:C.top-B.top+E.top,bottom:B.bottom-C.bottom+E.bottom,left:C.left-B.left+E.left,right:B.right-C.right+E.right},q=e.modifiersData.offset;if(w===d&&q){var F=q[s];Object.keys($).forEach(function(e){var t=[i,o].indexOf(e)>=0?1:-1,n=[r,o].indexOf(e)>=0?"y":"x";$[e]+=F[n]*t})}return $}var ye={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var p=n.mainAxis,l=void 0===p||p,d=n.altAxis,h=void 0===d||d,v=n.fallbackPlacements,y=n.padding,b=n.boundary,w=n.rootBoundary,x=n.altBoundary,O=n.flipVariations,_=void 0===O||O,j=n.allowedAutoPlacements,E=t.options.placement,P=M(E),D=v||(P!==E&&_?function(e){if(M(e)===s)return[];var t=ae(e);return[fe(e),t,fe(t)]}(E):[ae(E)]),A=[E].concat(D).reduce(function(e,n){return e.concat(M(n)===s?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?g:c,p=Z(r),l=p?s?m:m.filter(function(e){return Z(e)===p}):f,d=l.filter(function(e){return u.indexOf(e)>=0});0===d.length&&(d=l);var h=d.reduce(function(t,n){return t[n]=ve(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[M(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:n,boundary:b,rootBoundary:w,padding:y,flipVariations:_,allowedAutoPlacements:j}):n)},[]),L=t.rects.reference,k=t.rects.popper,T=new Map,C=!0,R=A[0],H=0;H<A.length;H++){var S=A[H],W=M(S),B=Z(S)===c,N=[r,o].indexOf(W)>=0,$=N?"width":"height",I=ve(t,{placement:S,boundary:b,rootBoundary:w,altBoundary:x,padding:y}),V=N?B?i:a:B?o:r;L[$]>k[$]&&(V=ae(V));var q=ae(V),U=[];if(l&&U.push(I[W]<=0),h&&U.push(I[V]<=0,I[q]<=0),U.every(function(e){return e})){R=S,C=!1;break}T.set(S,U)}if(C)for(var z=function(e){var t=A.find(function(t){var n=T.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return R=t,"break"},F=_?3:1;F>0&&"break"!==z(F);F--);t.placement!==R&&(t.modifiersData[u]._skip=!0,t.placement=R,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[r,i,o,a].some(function(t){return e[t]>=0})}var xe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ve(t,{elementContext:"reference"}),s=ve(t,{altBoundary:!0}),f=be(a,r),c=be(s,o,i),u=we(f),p=we(c);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}},Oe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,s=n.offset,f=void 0===s?[0,0]:s,c=g.reduce(function(e,n){return e[n]=function(e,t,n){var o=M(e),s=[a,r].indexOf(o)>=0?-1:1,f="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=f[0],u=f[1];return c=c||0,u=(u||0)*s,[a,i].indexOf(o)>=0?{x:u,y:c}:{x:c,y:u}}(n,t.rects,f),e},{}),u=c[t.placement],p=u.x,l=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=l),t.modifiersData[o]=c}},_e={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ge({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},je={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,s=e.name,f=n.mainAxis,u=void 0===f||f,p=n.altAxis,l=void 0!==p&&p,d=n.boundary,h=n.rootBoundary,m=n.altBoundary,g=n.padding,v=n.tether,y=void 0===v||v,b=n.tetherOffset,w=void 0===b?0:b,x=ve(t,{boundary:d,rootBoundary:h,padding:g,altBoundary:m}),O=M(t.placement),_=Z(t.placement),j=!_,E=Q(O),P="x"===E?"y":"x",D=t.modifiersData.popperOffsets,A=t.rects.reference,L=t.rects.popper,k="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,T="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(D){if(u){var W,B="y"===E?r:a,N="y"===E?o:i,I="y"===E?"height":"width",V=D[E],q=V+x[B],U=V-x[N],z=y?-L[I]/2:0,F=_===c?A[I]:L[I],Y=_===c?-L[I]:-A[I],G=t.elements.arrow,J=y&&G?$(G):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[B],ne=ee[N],re=X(0,A[I],J[I]),oe=j?A[I]/2-z-re-te-T.mainAxis:F-re-te-T.mainAxis,ie=j?-A[I]/2+z+re+ne+T.mainAxis:Y+re+ne+T.mainAxis,ae=t.elements.arrow&&K(t.elements.arrow),se=ae?"y"===E?ae.clientTop||0:ae.clientLeft||0:0,fe=null!=(W=null==C?void 0:C[E])?W:0,ce=V+ie-fe,ue=X(y?H(q,V+oe-fe-se):q,V,y?R(U,ce):U);D[E]=ue,S[E]=ue-V}if(l){var pe,le="x"===E?r:a,de="x"===E?o:i,he=D[P],me="y"===P?"height":"width",ge=he+x[le],ye=he-x[de],be=-1!==[r,a].indexOf(O),we=null!=(pe=null==C?void 0:C[P])?pe:0,xe=be?ge:he-A[me]-L[me]-we+T.altAxis,Oe=be?he+A[me]+L[me]-we-T.altAxis:ye,_e=y&&be?function(e,t,n){var r=X(e,t,n);return r>n?n:r}(xe,he,Oe):X(y?xe:ge,he,y?Oe:ye);D[P]=_e,S[P]=_e-he}t.modifiersData[s]=S}},requiresIfExists:["offset"]};function Ee(e,t,n){void 0===n&&(n=!1);var r,o,i=k(t),a=k(t)&&function(e){var t=e.getBoundingClientRect(),n=S(t.width)/e.offsetWidth||1,r=S(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=U(t),f=N(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==D(t)||pe(s))&&(c=(r=t)!==A(r)&&k(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:ce(r)),k(t)?((u=N(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=ue(s))),{x:f.left+c.scrollLeft-u.x,y:f.top+c.scrollTop-u.y,width:f.width,height:f.height}}function Pe(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||o(e)}),r}var De={placement:"bottom",modifiers:[],strategy:"absolute"};function Ae(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function Le(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?De:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},De,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},f=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;p(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:L(e)?de(e):e.contextElement?de(e.contextElement):[],popper:de(t)};var a,c,l=function(e){var t=Pe(e);return P.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((a=[].concat(r,s.options.modifiers),c=a.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=l.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r});f.push(i||function(){})}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Ae(t,n)){s.rects={reference:Ee(t,K(n),"fixed"===s.options.strategy),popper:$(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,f=void 0===a?{}:a,p=o.name;"function"==typeof i&&(s=i({state:s,options:f,name:p,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){p(),c=!0}};if(!Ae(e,t))return u;function p(){f.forEach(function(e){return e()}),f=[]}return u.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}var ke=Le(),Te=Le({defaultModifiers:[oe,_e,ne,C,Oe,ye,je,J,xe]}),Ce=Le({defaultModifiers:[oe,_e,ne,C]})},453:function(e,t,n){e.exports=function(e,t,n,r,o,i){"use strict";function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const s=a(e),f="dropdown",c=".bs.dropdown",u=".data-api",p="ArrowUp",l="ArrowDown",d=`hide${c}`,h=`hidden${c}`,m=`show${c}`,g=`shown${c}`,v=`click${c}${u}`,y=`keydown${c}${u}`,b=`keyup${c}${u}`,w="show",x='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',O=`${x}.${w}`,_=".dropdown-menu",j=i.isRTL()?"top-end":"top-start",E=i.isRTL()?"top-start":"top-end",P=i.isRTL()?"bottom-end":"bottom-start",D=i.isRTL()?"bottom-start":"bottom-end",A=i.isRTL()?"left-start":"right-start",L=i.isRTL()?"right-start":"left-start",k={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},T={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class C extends t{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=o.next(this._element,_)[0]||o.prev(this._element,_)[0]||o.findOne(_,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return k}static get DefaultType(){return T}static get NAME(){return f}toggle(){return this._isShown()?this.hide():this.show()}show(){if(i.isDisabled(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!n.trigger(this._element,m,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const e of[].concat(...document.body.children))n.on(e,"mouseover",i.noop);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(w),this._element.classList.add(w),n.trigger(this._element,g,e)}}hide(){if(i.isDisabled(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!n.trigger(this._element,d,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))n.off(e,"mouseover",i.noop);this._popper&&this._popper.destroy(),this._menu.classList.remove(w),this._element.classList.remove(w),this._element.setAttribute("aria-expanded","false"),r.removeDataAttribute(this._menu,"popper"),n.trigger(this._element,h,e),this._element.focus()}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!i.isElement(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${f.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===s)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let e=this._element;"parent"===this._config.reference?e=this._parent:i.isElement(this._config.reference)?e=i.getElement(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=s.createPopper(e,this._menu,t)}_isShown(){return this._menu.classList.contains(w)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return A;if(e.classList.contains("dropstart"))return L;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?E:j:t?D:P}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map(e=>Number.parseInt(e,10)):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(r.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...i.execute(this._config.popperConfig,[void 0,e])}}_selectMenuItem({key:e,target:t}){const n=o.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(e=>i.isVisible(e));n.length&&i.getNextActiveElement(n,t,e===l,!n.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=C.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=o.find(O);for(const n of t){const t=C.getInstance(n);if(!t||!1===t._config.autoClose)continue;const r=e.composedPath(),o=r.includes(t._menu);if(r.includes(t._element)||"inside"===t._config.autoClose&&!o||"outside"===t._config.autoClose&&o)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const i={relatedTarget:t._element};"click"===e.type&&(i.clickEvent=e),t._completeHide(i)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,r=[p,l].includes(e.key);if(!r&&!n)return;if(t&&!n)return;e.preventDefault();const i=this.matches(x)?this:o.prev(this,x)[0]||o.next(this,x)[0]||o.findOne(x,e.delegateTarget.parentNode),a=C.getOrCreateInstance(i);if(r)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),i.focus())}}return n.on(document,y,x,C.dataApiKeydownHandler),n.on(document,y,_,C.dataApiKeydownHandler),n.on(document,v,C.clearMenus),n.on(document,b,C.clearMenus),n.on(document,v,x,function(e){e.preventDefault(),C.getOrCreateInstance(this).toggle()}),i.defineJQueryPlugin(C),C}(n(170),n(11),n(956),n(333),n(411),n(35))}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[604],{239:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l}});var r=n(942),o=n(874);const s="emergencyAlerts",a={spreadsheetId:"1plXBiZY5pVbhNT-mszxEuqCl4zy8wMnz9gXXbbT_yLs",range:"Alerts"},c={apiKey:"AIzaSyCEBsbXfFcdbkASlg-PodD1rT_Fe3Nw62A",discoveryDocs:["https://www.googleapis.com/discovery/v1/apis/sheets/v4/rest"]},i=!(!document.querySelector("#accordion")&&!document.querySelector(".navTabs"));function l(e){if((0,o.default)(),!document.getElementById(s)&&i)return n.e(695).then(n.bind(n,695)).then(({default:t})=>t(e));new Promise((e,t)=>{gapi.load("client",()=>{gapi.client.init(c).then(()=>gapi.client.sheets.spreadsheets.values.get(a)).then(t=>{(0,r.default)(t),e()},e=>{console.error("Error trying to fetch the alert from gapi:",e)})})}).then(()=>{window.setTimeout(()=>{i&&n.e(695).then(n.bind(n,695)).then(({default:t})=>t(e))},100)})}},416:function(e,t,n){var r={"./addAccordionOrTabHistoryStates":[977,977],"./addAccordionOrTabHistoryStates.js":[977,977],"./alerts":[239],"./alerts.js":[239],"./checkForPrefersReducedMotion":[874],"./checkForPrefersReducedMotion.js":[874],"./contentHashLink":[695,695],"./contentHashLink.js":[695,695],"./createAlertsHtml":[942],"./createAlertsHtml.js":[942],"./parseMarkdownToHTML":[820],"./parseMarkdownToHTML.js":[820]};function o(e){if(!n.o(r,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=r[e],o=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n(o)})}o.keys=function(){return Object.keys(r)},o.id=416,e.exports=o},820:function(e,t){"use strict";const n={strong:/\*\*([^\*]*)\*\*/g,em:/_([^_]*)_/g};function r(e,t,n){return e.replace(t,n)}function o(e,t){const n={"\\*":"__asterisk__","\\_":"__underscore__","\\[":"__openBracket__","\\]":"__closeBracket__","\\(":"__openParenthesis__","\\)":"__closeParenthesis__"};for(let o in n)n.hasOwnProperty(o)&&(!0===t?e=r(e,o,n[o]):!1===t&&(e=r(e,n[o],o.replace(/^\\/g,""))));return e}function s(e,t){if(""===t)return e;for(var r in n)n.hasOwnProperty(r)&&(e=e.replace(n[r],"<"+r+">$1</"+r+">"));return e}function a(e,t){return""===t?e:e.replace(/^(.*)$/gm,'<p class="typography__alert">$1</p>')}t.default=function(e){const t=function(e){return e.replace(/\[(?<linkText>[^\]]*)\]\((?<linkHref>[^\)]*)\)/g,'<a href="$<linkHref>" target="_blank" rel="noopener noreferrer">$<linkText></a>')}(function(e){for(var t in n)n.hasOwnProperty(t)&&(e=e.replace(n[t],s));return e}(o(e,!0)));return o(function(e){return e.replace(/^(.*)$/gm,a)}(t),!1)}},874:function(e,t){"use strict";t.default=function(){const e=window.matchMedia("(prefers-reduced-motion: reduce)");let t=!!e.matches;localStorage.setItem("userPrefersReducedMotion",t),e.addEventListener("change",n=>{t=!!e.matches,localStorage.setItem("userPrefersReducedMotion",t)})}},942:function(e,t,n){"use strict";var r=n(820);const o=document.getElementById("emergencyAlerts");t.default=function(e){let[t,n,s,a,c,i,l]=e.result.values[2];if("FALSE"===t)return;const u=new Date,d=new Date(c),f=new Date(i),p=function(e){return"SCHOOL EMERGENCY/CLOSURE - red"==e?"danger":"SCHOOL INFO - blue"==e?"primary":"SCHOOL INFO - cyan"==e?"info":"warning"}(l),_="FALSE"===a||"TRUE"===a&&d.getTime()<=u.getTime()&&f.getTime()>u.getTime(),m="TRUE"===n||"FALSE"===n&&"/"==window.location.pathname;let h=`\n<div class="container">\n <div class="row">\n <div class="col">\n <div role="alert" class="alert alert-${p} d-lg-flex align-items-center">\n <div class="typography__last-p--mb0">\n ${(0,r.default)(s)}\n </div>\n </div>\n </div>\n </div>\n</div>`;return[u,d,f].map(e=>e.setHours(0,0,0,0)),_&&m?function(e,t){return e.innerHTML=t,e.classList.add("position__offset-alert--visible")}(o,h):null}}}]);
|
@@ -0,0 +1,2 @@
|
|
1
|
+
/*! For license information please see 635.6c4c890998bdbb41efbf.bundle.js.LICENSE.txt */
|
2
|
+
(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[635],{248:function(t,e,i){!function(t,e,i,s){"use strict";t.enableDismissTrigger=(t,n="hide")=>{const o=`click.dismiss${t.EVENT_KEY}`,a=t.NAME;e.on(document,o,`[data-bs-dismiss="${a}"]`,function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),s.isDisabled(this))return;const o=i.getElementFromSelector(this)||this.closest(`.${a}`);t.getOrCreateInstance(o)[n]()})},Object.defineProperty(t,Symbol.toStringTag,{value:"Module"})}(e,i(956),i(411),i(35))},635:function(t,e,i){t.exports=function(t,e,i,s,n,o,a,l){"use strict";const r=".bs.modal",h=`hide${r}`,c=`hidePrevented${r}`,d=`hidden${r}`,_=`show${r}`,u=`shown${r}`,m=`resize${r}`,g=`click.dismiss${r}`,f=`mousedown.dismiss${r}`,p=`keydown.dismiss${r}`,b=`click${r}.data-api`,A="modal-open",w="show",y="modal-static",k={backdrop:!0,focus:!0,keyboard:!0},v={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class E extends t{constructor(t,e){super(t,e),this._dialog=i.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new l,this._addEventListeners()}static get Default(){return k}static get DefaultType(){return v}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||e.trigger(this._element,_,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(A),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){this._isShown&&!this._isTransitioning&&(e.trigger(this._element,h).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(w),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated())))}dispose(){e.off(window,r),e.off(this._dialog,r),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new s({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new o({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const s=i.findOne(".modal-body",this._dialog);s&&(s.scrollTop=0),a.reflow(this._element),this._element.classList.add(w);this._queueCallback(()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,e.trigger(this._element,u,{relatedTarget:t})},this._dialog,this._isAnimated())}_addEventListeners(){e.on(this._element,p,t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())}),e.on(window,m,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),e.on(this._element,f,t=>{e.one(this._element,g,e=>{this._element===t.target&&this._element===e.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(A),this._resetAdjustments(),this._scrollBar.reset(),e.trigger(this._element,d)})}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(e.trigger(this._element,c).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,i=this._element.style.overflowY;"hidden"===i||this._element.classList.contains(y)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(y),this._queueCallback(()=>{this._element.classList.remove(y),this._queueCallback(()=>{this._element.style.overflowY=i},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),i=e>0;if(i&&!t){const t=a.isRTL()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!i&&t){const t=a.isRTL()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each(function(){const i=E.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===i[t])throw new TypeError(`No method named "${t}"`);i[t](e)}})}}return e.on(document,b,'[data-bs-toggle="modal"]',function(t){const s=i.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),e.one(s,_,t=>{t.defaultPrevented||e.one(s,d,()=>{a.isVisible(this)&&this.focus()})});const n=i.findOne(".modal.show");n&&E.getInstance(n).hide(),E.getOrCreateInstance(s).toggle(this)}),n.enableDismissTrigger(E),a.defineJQueryPlugin(E),E}(i(11),i(956),i(411),i(877),i(248),i(936),i(35),i(673))},673:function(t,e,i){t.exports=function(t,e,i){"use strict";const s=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",n=".sticky-top",o="padding-right",a="margin-right";return class{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,o,e=>e+t),this._setElementAttributes(s,o,e=>e+t),this._setElementAttributes(n,a,e=>e-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,o),this._resetElementAttributes(s,o),this._resetElementAttributes(n,a)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,i){const s=this.getWidth();this._applyManipulationCallback(t,t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+s)return;this._saveInitialAttribute(t,e);const n=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${i(Number.parseFloat(n))}px`)})}_saveInitialAttribute(e,i){const s=e.style.getPropertyValue(i);s&&t.setDataAttribute(e,i,s)}_resetElementAttributes(e,i){this._applyManipulationCallback(e,e=>{const s=t.getDataAttribute(e,i);null!==s?(t.removeDataAttribute(e,i),e.style.setProperty(i,s)):e.style.removeProperty(i)})}_applyManipulationCallback(t,s){if(i.isElement(t))s(t);else for(const i of e.find(t,this._element))s(i)}}}(i(333),i(411),i(35))},877:function(t,e,i){t.exports=function(t,e,i){"use strict";const s="backdrop",n="show",o=`mousedown.bs.${s}`,a={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},l={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};return class extends e{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return a}static get DefaultType(){return l}static get NAME(){return s}show(t){if(!this._config.isVisible)return void i.execute(t);this._append();const e=this._getElement();this._config.isAnimated&&i.reflow(e),e.classList.add(n),this._emulateAnimation(()=>{i.execute(t)})}hide(t){this._config.isVisible?(this._getElement().classList.remove(n),this._emulateAnimation(()=>{this.dispose(),i.execute(t)})):i.execute(t)}dispose(){this._isAppended&&(t.off(this._element,o),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=i.getElement(t.rootElement),t}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),t.on(e,o,()=>{i.execute(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){i.executeAfterTransition(t,this._getElement(),this._config.isAnimated)}}}(i(956),i(105),i(35))},936:function(t,e,i){t.exports=function(t,e,i){"use strict";const s=".bs.focustrap",n=`focusin${s}`,o=`keydown.tab${s}`,a="backward",l={autofocus:!0,trapElement:null},r={autofocus:"boolean",trapElement:"element"};return class extends i{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return l}static get DefaultType(){return r}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),t.off(document,s),t.on(document,n,t=>this._handleFocusin(t)),t.on(document,o,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,t.off(document,s))}_handleFocusin(t){const{trapElement:i}=this._config;if(t.target===document||t.target===i||i.contains(t.target))return;const s=e.focusableChildren(i);0===s.length?i.focus():this._lastTabNavDirection===a?s[s.length-1].focus():s[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?a:"forward")}}}(i(956),i(411),i(105))}}]);
|
@@ -1,29 +1,29 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap backdrop.js v5.3.
|
3
|
-
* Copyright 2011-
|
2
|
+
* Bootstrap backdrop.js v5.3.7 (https://getbootstrap.com/)
|
3
|
+
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5
5
|
*/
|
6
6
|
|
7
7
|
/*!
|
8
|
-
* Bootstrap component-functions.js v5.3.
|
9
|
-
* Copyright 2011-
|
8
|
+
* Bootstrap component-functions.js v5.3.7 (https://getbootstrap.com/)
|
9
|
+
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
10
10
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
11
11
|
*/
|
12
12
|
|
13
13
|
/*!
|
14
|
-
* Bootstrap focustrap.js v5.3.
|
15
|
-
* Copyright 2011-
|
14
|
+
* Bootstrap focustrap.js v5.3.7 (https://getbootstrap.com/)
|
15
|
+
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
16
16
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
17
17
|
*/
|
18
18
|
|
19
19
|
/*!
|
20
|
-
* Bootstrap modal.js v5.3.
|
21
|
-
* Copyright 2011-
|
20
|
+
* Bootstrap modal.js v5.3.7 (https://getbootstrap.com/)
|
21
|
+
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
22
22
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
23
23
|
*/
|
24
24
|
|
25
25
|
/*!
|
26
|
-
* Bootstrap scrollbar.js v5.3.
|
27
|
-
* Copyright 2011-
|
26
|
+
* Bootstrap scrollbar.js v5.3.7 (https://getbootstrap.com/)
|
27
|
+
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
28
28
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
29
29
|
*/
|
@@ -0,0 +1,2 @@
|
|
1
|
+
/*! For license information please see 695.6c4c890998bdbb41efbf.bundle.js.LICENSE.txt */
|
2
|
+
(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[695],{13:function(t,e,s){t.exports=function(t,e,s,i){"use strict";const n=".bs.tab",r=`hide${n}`,o=`hidden${n}`,a=`show${n}`,l=`shown${n}`,c=`click${n}`,u=`keydown${n}`,d=`load${n}`,h="ArrowLeft",g="ArrowRight",b="ArrowUp",f="ArrowDown",_="Home",w="End",m="active",A="fade",p="show",v=".dropdown-toggle",I=`:not(${v})`,$='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',E=`.nav-link${I}, .list-group-item${I}, [role="tab"]${I}, ${$}`,k=`.${m}[data-bs-toggle="tab"], .${m}[data-bs-toggle="pill"], .${m}[data-bs-toggle="list"]`;class y extends t{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),e.on(this._element,u,t=>this._keydown(t)))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const s=this._getActiveElem(),i=s?e.trigger(s,r,{relatedTarget:t}):null;e.trigger(t,a,{relatedTarget:s}).defaultPrevented||i&&i.defaultPrevented||(this._deactivate(s,t),this._activate(t,s))}_activate(t,i){if(!t)return;t.classList.add(m),this._activate(s.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),e.trigger(t,l,{relatedTarget:i})):t.classList.add(p)},t,t.classList.contains(A))}_deactivate(t,i){if(!t)return;t.classList.remove(m),t.blur(),this._deactivate(s.getElementFromSelector(t));this._queueCallback(()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),e.trigger(t,o,{relatedTarget:i})):t.classList.remove(p)},t,t.classList.contains(A))}_keydown(t){if(![h,g,b,f,_,w].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter(t=>!i.isDisabled(t));let s;if([_,w].includes(t.key))s=e[t.key===_?0:e.length-1];else{const n=[g,f].includes(t.key);s=i.getNextActiveElement(e,t.target,n,!0)}s&&(s.focus({preventScroll:!0}),y.getOrCreateInstance(s).show())}_getChildren(){return s.find(E,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),s=this._getOuterElement(t);t.setAttribute("aria-selected",e),s!==t&&this._setAttributeIfNotExists(s,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=s.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const i=this._getOuterElement(t);if(!i.classList.contains("dropdown"))return;const n=(t,n)=>{const r=s.findOne(t,i);r&&r.classList.toggle(n,e)};n(v,m),n(".dropdown-menu",p),i.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,s){t.hasAttribute(e)||t.setAttribute(e,s)}_elemIsActive(t){return t.classList.contains(m)}_getInnerElement(t){return t.matches(E)?t:s.findOne(E,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each(function(){const e=y.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}})}}return e.on(document,c,$,function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),i.isDisabled(this)||y.getOrCreateInstance(this).show()}),e.on(window,d,()=>{for(const t of s.find(k))y.getOrCreateInstance(t)}),i.defineJQueryPlugin(y),y}(s(11),s(956),s(411),s(35))},695:function(t,e,s){"use strict";s.r(e);var i=s(13),n=s.n(i);const r=/.*[\?&]id=([^&]+).*$/,o=/\/$/g,a={behavior:"smooth",block:"center"},l={block:"center"};function c(t){return"true"==window.localStorage.getItem("userPrefersReducedMotion")?t.scrollIntoView(l):t.scrollIntoView(a),t.focus()}function u(t,e){-1!==t.search(r)&&function(t,e){let s=t.replace(r,"$1");c(document.querySelector(e).querySelector(`#${s}`))}(t,e)}function d(t){c(document.querySelector(t))}function h(t){window.location.hash&&function(t,e){if(document.querySelector(`.nav-tabs [data-bs-target="${t}"]`)){const e=document.querySelector(`.nav-tabs [data-bs-target="${t}"]`),s=new(n())(e);e.addEventListener("shown.bs.tab",e=>{window.location.search?u(window.location.search,t):d(`${t}-label`)}),s.show()}else if(document.querySelector(`${t}.collapse`)){const s=document.querySelector(t),i=new e(s,{toggle:!1});s.addEventListener("shown.bs.collapse",e=>{window.location.search?u(window.location.search,t):d(`button[data-bs-target="${t}"]`)}),i.show()}}(window.location.hash.replace(o,""),t)}e.default=function(t){h(t),window.addEventListener("hashchange",e=>{h(t)},!1),s.e(977).then(s.bind(s,977)).then(({default:t})=>{t()})}}}]);
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Bootstrap tab.js v5.3.
|
3
|
-
* Copyright 2011-
|
2
|
+
* Bootstrap tab.js v5.3.7 (https://getbootstrap.com/)
|
3
|
+
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
5
5
|
*/
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[723],{723:function(e,t,o){o.r(t);const n=document.getElementById("google_translate_element"),d={"div.VIpgJd-ZVi9od-vH1Gmf *":'color: #544F4B; font-family: "Roboto", sans-serif; width: 100%;',"span.indicator":"display: none;","div.VIpgJd-ZVi9od-vH1Gmf":"overflow-y: scroll; padding: 0px;","div.VIpgJd-ZVi9od-vH1Gmf a div":"padding: 20px; width: 100%;",".goog-te-menu2-item":"width: 100%;",td:"width: 100%; display: block;","td.VIpgJd-ZVi9od-vH1Gmf-KrhPNb":"display: none;",".goog-te-menu2-colpad":"display: none;","div.VIpgJd-ZVi9od-vH1Gmf":"border: none;",body:"background-color: #fff; box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);"};t.default=function(){n.addEventListener("click",e=>{const t=document.querySelector('iframe[title="Language Translate Widget"]');[...t.contentWindow.document.body.querySelectorAll(".VIpgJd-ZVi9od-vH1Gmf a")].forEach(e=>{e.addEventListener("mouseenter",()=>{"Select Language"!==e.querySelector("span.text").innerHTML&&(e.querySelector("span.text").style="color: #fff;")}),e.addEventListener("mouseleave",()=>{"Select Language"!==e.querySelector("span.text").innerHTML&&(e.querySelector("span.text").style="color: #544F4B;")})}),function(e){const t=e.style.cssText+" height: 100%; width: 100%; top: 0px; box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);";e.style=t}(t),Object.keys(d).forEach(e=>{!function(e,t,o){[...o.contentWindow.document.querySelectorAll(e)].forEach(e=>e.style=t)}(e,d[e],t)})},!1)}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[965],{965:function(e,t,n){function c(e,t){e.parentNode.classList.add("active"),e.setAttribute("aria-current",t)}function s(e,t){const n=window.location.pathname,s="#contact"===window.location.hash,o="/"===window.location.pathname,a=t?"page":"true";[...e].forEach(e=>{const t=e.querySelector("a"),r=t.getAttribute("href").replace(/^\/?\.\.\/(\.\.\/)?(\.\.\/)?/g,"/"),l="home"===t.textContent.toLowerCase(),i=-1!==n.indexOf(r);o||s?l&&c(t,a):i&&!l&&c(t,a)})}n.r(t),n.d(t,{default:function(){return h}});var o=function(){const e=document.querySelectorAll(".js-nav-item");document.getElementById("subNavNav")&&s(document.querySelectorAll(".js-sub-nav-item"),!0),s(e,!1)};const a=document.getElementById("mainNav"),r=document.getElementById("globalNav");var l=function(){if(!document.getElementById("searchIcon"))return;const e=document.getElementById("searchIcon");document.addEventListener("click",function(t){if(!t.target.closest("#searchIcon"))return;t.preventDefault();const n=document.getElementById("searchImg"),c=document.getElementById("searchCollapse");var s,o;-1!=n.style.backgroundImage.indexOf("assets/img/search.svg")?(o=e,(s=n).style.backgroundImage='url("/assets/img/x.svg")',s.setAttribute("alt","Close icon"),o.setAttribute("aria-label","Close search"),c.setAttribute("aria-hidden","false")):(function(e,t){e.style.backgroundImage='url("/assets/img/search.svg")',e.setAttribute("alt","Search icon"),t.setAttribute("aria-label","Open search")}(n,e),c.setAttribute("aria-hidden","true")),c.classList.toggle("nav-global__search-collapse--visible"),a.classList.toggle("nav-local__search-toggle"),r.classList.toggle("nav-global__search-toggle")},!1)};function i(e,t){document.querySelector(".gsst_a").id="xIcon",e.disconnect(),t()}function u(){"display: none;"===document.getElementById("xIcon").getAttribute("style")?document.querySelector("button.gsc-search-button-v2").classList.remove("gsc-overrides__clear-x"):document.querySelector("button.gsc-search-button-v2").classList.add("gsc-overrides__clear-x")}var d=function(){document.getElementById("searchCollapse")&&new Promise((e,t)=>{!function(e){const t=document.createElement("script"),n=document.getElementsByTagName("script")[0];t.type="text/javascript",t.async=!0,t.src="https://cse.google.com/cse.js?cx=006320264078644364913:sy48bet-lr8",t.onload=t=>e(),n.parentNode.insertBefore(t,n)}(e)}).then(()=>new Promise((e,t)=>{const n=document.getElementById("searchCollapse");new MutationObserver(function(t,n){for(const c of t)"childList"==c.type&&i(n,e)}).observe(n,{attributes:!0,childList:!0,subtree:!0})})).then(()=>{u();const e=document.getElementById("xIcon");new MutationObserver(function(e,t){for(const t of e)"attributes"==t.type&&u()}).observe(e,{attributes:!0,childList:!0,subtree:!0})})};function g(e,t){e.classList.contains(t)&&function(e,t){e.classList.remove(t)}(e,t)}function m(){if(window.innerWidth>=992){const e=document.getElementById("searchCollapse"),t=document.getElementById("globalNav"),n=document.getElementById("mainNav"),c=document.getElementById("searchIcon");g(e,"nav-global__search-collapse--visible"),g(t,"nav-global__search-toggle"),g(n,"nav-local__search-toggle"),function(e){"Toggle Close"!==!e.getAttribute("aria-label")&&function(e){const t=e.querySelector("#searchImg");e.setAttribute("aria-label","Toggle Search"),t.setAttribute("alt","Open icon"),t.setAttribute("style",'background-image: url("/assets/img/search.svg")')}(e)}(c)}}var b=function(){window.addEventListener("resize",m)};function h(){o(),l(),d(),b()}}}]);
|
data/assets/js/dist/{977.ab025e563a6c9c2f21ad.bundle.js → 977.6c4c890998bdbb41efbf.bundle.js}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[977],{977:function(e,t,n){function a(e,t){let n=new URL(window.location),a={page:document.title,accordion:e.innerText.trim()};n.search="",n.hash=t,window.history.pushState(a,"",n)}function c(e){e.target.matches(".accordion__button")&&Boolean(JSON.parse(e.target.getAttribute("aria-expanded")))&&a(e.target,e.target.dataset.bsTarget)}function o(e){let t=e.target.
|
1
|
+
"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[977],{977:function(e,t,n){function a(e,t){let n=new URL(window.location),a={page:document.title,accordion:e.innerText.trim()};n.search="",n.hash=t,window.history.pushState(a,"",n)}function c(e){e.target.matches(".accordion__button")&&Boolean(JSON.parse(e.target.getAttribute("aria-expanded")))&&a(e.target,e.target.dataset.bsTarget)}function o(e){let t=e.target.dataset.bsTarget;a(e.target,t)}n.r(t),t.default=function(){document.getElementById("accordion")&&document.getElementById("accordion").addEventListener("click",c),document.querySelector(".navTabs")&&document.querySelector(".navTabs").addEventListener("click",o)}}}]);
|