kcc-gem-theme 3.0.7 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +9 -0
  3. data/_includes/body.html +1 -1
  4. data/_includes/hash/theme_hash.yml +1 -1
  5. data/assets/js/alerts/alerts.js +4 -3
  6. data/assets/js/alerts/createAlertsHtml.js +1 -2
  7. data/assets/js/alerts/fetchNewAlert.js +4 -4
  8. data/assets/js/dist/{453.5bfef7d8bd38f8937365.bundle.js → 453.7e54155e2c6fa599e1c0.bundle.js} +1 -1
  9. data/assets/js/dist/604.7e54155e2c6fa599e1c0.bundle.js +1 -0
  10. data/assets/js/dist/{635.5bfef7d8bd38f8937365.bundle.js → 635.7e54155e2c6fa599e1c0.bundle.js} +1 -1
  11. data/assets/js/dist/{695.5bfef7d8bd38f8937365.bundle.js → 695.7e54155e2c6fa599e1c0.bundle.js} +1 -1
  12. data/assets/js/dist/bootstrap.7e54155e2c6fa599e1c0.css +1 -0
  13. data/assets/js/dist/kcc-theme-landing.7e54155e2c6fa599e1c0.bundle.js +1 -0
  14. data/assets/js/dist/kcc-theme.7e54155e2c6fa599e1c0.bundle.js +2 -0
  15. data/assets/js/dist/{kcc-theme.5bfef7d8bd38f8937365.css → kcc-theme.7e54155e2c6fa599e1c0.css} +1 -1
  16. data/assets/scss/2-modules/_hero-slider.scss +20 -0
  17. data/assets/scss/bootstrap.scss +1 -2
  18. metadata +36 -37
  19. data/_layouts/markdown.html +0 -13
  20. data/assets/js/dist/604.5bfef7d8bd38f8937365.bundle.js +0 -1
  21. data/assets/js/dist/bootstrap.5bfef7d8bd38f8937365.css +0 -1
  22. data/assets/js/dist/kcc-theme-landing.5bfef7d8bd38f8937365.bundle.js +0 -1
  23. data/assets/js/dist/kcc-theme.5bfef7d8bd38f8937365.bundle.js +0 -2
  24. /data/assets/js/dist/{102.5bfef7d8bd38f8937365.bundle.js → 102.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  25. /data/assets/js/dist/{143.5bfef7d8bd38f8937365.bundle.js → 143.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  26. /data/assets/js/dist/{172.5bfef7d8bd38f8937365.bundle.js → 172.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  27. /data/assets/js/dist/{183.5bfef7d8bd38f8937365.bundle.js → 183.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  28. /data/assets/js/dist/{3.5bfef7d8bd38f8937365.bundle.js → 3.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  29. /data/assets/js/dist/{303.5bfef7d8bd38f8937365.bundle.js → 303.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  30. /data/assets/js/dist/{354.5bfef7d8bd38f8937365.bundle.js → 354.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  31. /data/assets/js/dist/{404.5bfef7d8bd38f8937365.bundle.js → 404.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  32. /data/assets/js/dist/{404.5bfef7d8bd38f8937365.css → 404.7e54155e2c6fa599e1c0.css} +0 -0
  33. /data/assets/js/dist/{453.5bfef7d8bd38f8937365.bundle.js.LICENSE.txt → 453.7e54155e2c6fa599e1c0.bundle.js.LICENSE.txt} +0 -0
  34. /data/assets/js/dist/{501.5bfef7d8bd38f8937365.bundle.js → 501.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  35. /data/assets/js/dist/{635.5bfef7d8bd38f8937365.bundle.js.LICENSE.txt → 635.7e54155e2c6fa599e1c0.bundle.js.LICENSE.txt} +0 -0
  36. /data/assets/js/dist/{676.5bfef7d8bd38f8937365.bundle.js → 676.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  37. /data/assets/js/dist/{695.5bfef7d8bd38f8937365.bundle.js.LICENSE.txt → 695.7e54155e2c6fa599e1c0.bundle.js.LICENSE.txt} +0 -0
  38. /data/assets/js/dist/{706.5bfef7d8bd38f8937365.bundle.js → 706.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  39. /data/assets/js/dist/{731.5bfef7d8bd38f8937365.bundle.js → 731.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  40. /data/assets/js/dist/{772.5bfef7d8bd38f8937365.bundle.js → 772.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  41. /data/assets/js/dist/{818.5bfef7d8bd38f8937365.bundle.js → 818.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  42. /data/assets/js/dist/{885.5bfef7d8bd38f8937365.bundle.js → 885.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  43. /data/assets/js/dist/{885.5bfef7d8bd38f8937365.css → 885.7e54155e2c6fa599e1c0.css} +0 -0
  44. /data/assets/js/dist/{923.5bfef7d8bd38f8937365.bundle.js → 923.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  45. /data/assets/js/dist/{977.5bfef7d8bd38f8937365.bundle.js → 977.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  46. /data/assets/js/dist/{bootstrap.5bfef7d8bd38f8937365.bundle.js → bootstrap.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  47. /data/assets/js/dist/{kcc-theme.5bfef7d8bd38f8937365.bundle.js.LICENSE.txt → kcc-theme.7e54155e2c6fa599e1c0.bundle.js.LICENSE.txt} +0 -0
  48. /data/assets/js/dist/{translate.5bfef7d8bd38f8937365.bundle.js → translate.7e54155e2c6fa599e1c0.bundle.js} +0 -0
  49. /data/assets/js/dist/{translate.5bfef7d8bd38f8937365.css → translate.7e54155e2c6fa599e1c0.css} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98dd6c0d7cc703cb6a80a83ffb76ba09fe45ca24a2e832f7d9f96961353e8ff0
4
- data.tar.gz: 34bcac81643fd9ec245f788a641f6f2ac1bfb14143ec15d39a06f34afe7398b3
3
+ metadata.gz: fcc66709d86dce9c1a4821c548caedf6cb369ee4d9cd076868886337369167cf
4
+ data.tar.gz: ca91bddd2ea5d0b0c089b49ca877fb7babeec665eb8fb08d8eb9d747b7cf47d3
5
5
  SHA512:
6
- metadata.gz: 010b4507ae8496b31e83677c16d2a5d911030c480b84a9e5c6abcad75489c0718cd44a9846294a3da1227f35c36042ce8f5aa03afd3c0649d69929af013928a6
7
- data.tar.gz: 379a2a1784bf791fdc7ab31578a450ea3410ac7be2877cc3baa2faf91550d8dc23e9bfc1a8a63c918179c09f5204c926f6682f08f0760296257890d1999267d2
6
+ metadata.gz: ab5be9ef177b3e5ae4bb0f8d9dc8d1795b197b1536666e3d058175d4795fdac40d589a1c3cb65ac382d8c0f6696e1c4aa3d6df5de8906b1ec5ee8576fc08891d
7
+ data.tar.gz: 07be03832b595df1e89e94b0c1b546e38686081d17c1e9f637824072b519f040dc596e2eb5db03694014408e153c7b63de2109c984fb4230010fcaabe44398ca
data/_config.yml CHANGED
@@ -53,6 +53,15 @@ exclude:
53
53
  - "look-for-deprecated-bs4-js.mjs"
54
54
  - "look-for-string-in-project-files.mjs"
55
55
 
56
+ compress_html:
57
+ clippings: all
58
+ comments: all
59
+ endings: all
60
+ ignore:
61
+ envs: ['development']
62
+ # startings: [head, body]
63
+ profile: true
64
+
56
65
  uploads_dir: # specifies the default uploads directory for uploads in CloudCannon
57
66
  - "uploads/"
58
67
 
data/_includes/body.html CHANGED
@@ -1,5 +1,5 @@
1
1
  <!-- Custom CSS Stylesheet for CloudCannon -->
2
2
  <link rel="stylesheet" href="{{page.baseurl}}assets/css/content.css">
3
3
  </head>
4
- <body data-bs-no-jquery="true" {% if page.homepage == true %} id="homePage"{% endif %}>
4
+ <body data-bs-no-jquery {% if page.homepage == true %}id="homePage"{% endif %}>
5
5
  <h1 class="visually-hidden">{%- if page.outline_title -%}{{ page.outline_title }}{% else %}{{ page.title }}{%- endif -%}</h1>
@@ -1 +1 @@
1
- 5bfef7d8bd38f8937365
1
+ 7e54155e2c6fa599e1c0
@@ -7,10 +7,11 @@ import cacheResponse from './cacheResponse';
7
7
  import getCachedResponse from './getCachedResponse';
8
8
  import checkForPrefersReducedMotion from './checkForPrefersReducedMotion';
9
9
 
10
- const SHEET_KEY = '1plXBiZY5pVbhNT-mszxEuqCl4zy8wMnz9gXXbbT_yLs'; // Corresponds to the ID of the Google Sheet
11
- const SHEET_TAB = 'Alerts'; // Corresponds to the tab of workbook: either 'Alerts' or 'Alerts Testing' unless you make a new one.
12
10
  const EMERGENCY_ALERT_DIV_ID = 'emergencyAlerts'
13
- const SHEET_PARAMS = {spreadsheetId: SHEET_KEY, range: SHEET_TAB}; // Configures the Object used for `sheets.spreadsheets.values.get()` parameters
11
+ const SHEET_PARAMS = {
12
+ spreadsheetId: '1plXBiZY5pVbhNT-mszxEuqCl4zy8wMnz9gXXbbT_yLs',
13
+ range: 'Alerts'
14
+ }; // Configures the Object used for `sheets.spreadsheets.values.get()` parameters
14
15
  const API_PARAMS = { // This is configuration for API call with spreadsheets that are setup as readonly
15
16
  'apiKey': 'AIzaSyCEBsbXfFcdbkASlg-PodD1rT_Fe3Nw62A',
16
17
  'discoveryDocs': ['https://www.googleapis.com/discovery/v1/apis/sheets/v4/rest']
@@ -32,7 +32,6 @@ function createAlertsHtml(response) { // Incoming response from our Google Shee
32
32
  const d = new Date;
33
33
  const s = new Date(start);
34
34
  const e = new Date(end);
35
- const alertTypeClass = checkAlertType(type);
36
35
  const alertType = checkAlertType(type);
37
36
  const alertIsActive = expire === 'FALSE' || expire === 'TRUE' && s.getTime() <= d.getTime() && e.getTime() > d.getTime();
38
37
  const indexPageOnly = allPages === 'TRUE' || allPages === 'FALSE' && window.location.pathname == '/';
@@ -49,7 +48,7 @@ function createAlertsHtml(response) { // Incoming response from our Google Shee
49
48
  title="Refresh the alert"
50
49
  id="syncAlert"
51
50
  type="button"
52
- class="btn btn-link buttons--sync ml-auto">
51
+ class="btn btn-link buttons--sync ms-auto">
53
52
  <svg xmlns="http://www.w3.org/2000/svg"
54
53
  class="svg__sync"
55
54
  height="24px"
@@ -1,10 +1,10 @@
1
1
  // Custom JS to make a Google API call to the alerts spreadsheet
2
2
  // Then paint the alert into the DOM using module `./createAlertsHtml.js`
3
3
  //
4
- const SHEET_KEY = '1plXBiZY5pVbhNT-mszxEuqCl4zy8wMnz9gXXbbT_yLs'; // Corresponds to the ID of the Google Sheet
5
- const SHEET_TAB = 'Alerts'; // Corresponds to the tab of workbook: either 'Alerts' or 'Alerts Testing' unless you make a new one.
6
- const EMERGENCY_ALERT_DIV_ID = 'emergencyAlerts'
7
- const SHEET_PARAMS = {spreadsheetId: SHEET_KEY, range: SHEET_TAB}; // Configures the Object used for `sheets.spreadsheets.values.get()` parameters
4
+ const SHEET_PARAMS = {
5
+ spreadsheetId: '1plXBiZY5pVbhNT-mszxEuqCl4zy8wMnz9gXXbbT_yLs',
6
+ range: 'Alerts'
7
+ }; // Configures the Object used for `sheets.spreadsheets.values.get()` parameters
8
8
  const API_PARAMS = { // This is configuration for API call with spreadsheets that are setup as readonly
9
9
  'apiKey': 'AIzaSyCEBsbXfFcdbkASlg-PodD1rT_Fe3Nw62A',
10
10
  'discoveryDocs': ['https://www.googleapis.com/discovery/v1/apis/sheets/v4/rest']
@@ -1,2 +1,2 @@
1
- /*! For license information please see 453.5bfef7d8bd38f8937365.bundle.js.LICENSE.txt */
1
+ /*! For license information please see 453.7e54155e2c6fa599e1c0.bundle.js.LICENSE.txt */
2
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)}}_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)");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,[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],{416:function(e,t,n){var r={"./addAccordionOrTabHistoryStates":[977,977],"./addAccordionOrTabHistoryStates.js":[977,977],"./alerts":[239],"./alerts.js":[239],"./cacheResponse":[399],"./cacheResponse.js":[399],"./checkForPrefersReducedMotion":[874],"./checkForPrefersReducedMotion.js":[874],"./contentHashLink":[695,695],"./contentHashLink.js":[695,695],"./createAlertsHtml":[942],"./createAlertsHtml.js":[942],"./fetchNewAlert":[706,706],"./fetchNewAlert.js":[706,706],"./getCachedResponse":[707],"./getCachedResponse.js":[707],"./parseMarkdownToHTML":[820],"./parseMarkdownToHTML.js":[820],"./refreshAlertButton":[923,923],"./refreshAlertButton.js":[923,923]};function s(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],s=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(s)}))}s.keys=function(){return Object.keys(r)},s.id=416,e.exports=s},239:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(942),s=n(399),o=n(707),a=n(874);const c="emergencyAlerts",i={spreadsheetId:"1plXBiZY5pVbhNT-mszxEuqCl4zy8wMnz9gXXbbT_yLs",range:"Alerts"},l={apiKey:"AIzaSyCEBsbXfFcdbkASlg-PodD1rT_Fe3Nw62A",discoveryDocs:["https://www.googleapis.com/discovery/v1/apis/sheets/v4/rest"]},u=!(!document.querySelector("#accordion")&&!document.querySelector(".navTabs"));function d(e){if((0,a.default)(),!document.getElementById(c)&&u)return n.e(695).then(n.bind(n,695)).then((t=>{let{default:n}=t;return n(e)}));new Promise(((e,t)=>{if(window.sessionStorage.getItem("Alert-Content"))return(0,o.default)(),e();gapi.load("client",(()=>{gapi.client.init(l).then((()=>gapi.client.sheets.spreadsheets.values.get(i))).then((e=>((0,r.default)(e),e))).then((t=>{(0,s.default)(t),e()}),(e=>{console.error("Error trying to fetch the alert from gapi:",e)}))}))})).then((()=>{window.setTimeout((()=>{u&&n.e(695).then(n.bind(n,695)).then((t=>{let{default:n}=t;return n(e)}))}),100)})).then((()=>{if(document.getElementById("syncAlert"))return async function(e){const{default:t}=await n(416)("./refreshAlertButton");return t()}()}))}},399:function(e,t,n){"use strict";n.r(t),t.default=function(e){const t=e.result.values,n=t[1],r=t[2];for(let e=0,t=r.length;e<t;e++){const t=r[e],s=n[e];window.sessionStorage.setItem(s.replace(/\s/g,"-"),t)}}},874:function(e,t){"use strict";t.default=function(){const e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=-1!==window.navigator.userAgent.search(/MSIE/g);let n;n=!!e.matches,localStorage.setItem("userPrefersReducedMotion",n),t||e.addEventListener("change",(t=>{n=!!e.matches,localStorage.setItem("userPrefersReducedMotion",n)}))}},942:function(e,t,n){"use strict";n.r(t);var r=n(820);const s=document.getElementById("emergencyAlerts");t.default=function(e){let[t,n,o,a,c,i,l]=e.result.values[2];if("FALSE"===t)return;const u=new Date,d=new Date(c),f=new Date(i),h=function(e){return"SCHOOL EMERGENCY/CLOSURE - red"==e?"danger":"SCHOOL INFO - blue"==e?"primary":"SCHOOL INFO - cyan"==e?"info":"warning"}(l),g="FALSE"===a||"TRUE"===a&&d.getTime()<=u.getTime()&&f.getTime()>u.getTime(),p="TRUE"===n||"FALSE"===n&&"/"==window.location.pathname;let m=`\n<div class="container">\n <div class="row">\n <div class="col">\n <div role="alert" class="alert alert-${h} d-lg-flex align-items-center pr-lg-1">\n <div class="typography__last-p--mb0">\n ${(0,r.default)(o)}\n </div>\n <button\n aria-label="Refresh the alert"\n title="Refresh the alert"\n id="syncAlert"\n type="button"\n class="btn btn-link buttons--sync ms-auto">\n <svg xmlns="http://www.w3.org/2000/svg"\n class="svg__sync"\n height="24px"\n width="24px"\n viewBox="0 0 24 24">\n <path d="M0 0h24v24H0z" fill="none"/>\n <path d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 \n 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 \n 4.42 3.58 8 8 8v3l4-4-4-4v3z"/>\n </svg>\n </button>\n </div>\n </div>\n </div>\n</div>`;return[u,d,f].map((e=>e.setHours(0,0,0,0))),g&&p?function(e,t){return e.innerHTML=t,e.classList.add("position__offset-alert--visible")}(s,m):null}},707:function(e,t,n){"use strict";var r=n(942);const s=window.sessionStorage;t.default=function(){try{!function(){let e={result:{values:[0,0,[s.Visible,s.getItem("All-Pages"),s.getItem("Alert-Content"),s.getItem("Alert-Expiration"),s.Start,s.End,s.getItem("Alert-type/Color-scheme")]]}};(0,r.default)(e)}()}catch(e){console.error(`Error retrieving cached response in sessionStorage:\nName: ${e.name}\nMessage: ${e.message}\n${e}`)}}},820:function(e,t){"use strict";const n={strong:/\*\*([^\*]*)\*\*/g,em:/_([^_]*)_/g};function r(e,t,n){return e.replace(t,n)}function s(e,t){const n={"\\*":"__asterisk__","\\_":"__underscore__","\\[":"__openBracket__","\\]":"__closeBracket__","\\(":"__openParenthesis__","\\)":"__closeParenthesis__"};for(let s in n)n.hasOwnProperty(s)&&(!0===t?e=r(e,s,n[s]):!1===t&&(e=r(e,n[s],s.replace(/^\\/g,""))));return e}function o(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],o));return e}(s(e,!0)));return s(function(e){return e.replace(/^(.*)$/gm,a)}(t),!1)}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see 635.5bfef7d8bd38f8937365.bundle.js.LICENSE.txt */
1
+ /*! For license information please see 635.7e54155e2c6fa599e1c0.bundle.js.LICENSE.txt */
2
2
  (self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[635],{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))},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))},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))},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))},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))}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see 695.5bfef7d8bd38f8937365.bundle.js.LICENSE.txt */
1
+ /*! For license information please see 695.7e54155e2c6fa599e1c0.bundle.js.LICENSE.txt */
2
2
  (self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[695],{695:function(t,e,s){"use strict";s.r(e);var i=s(13),n=s.n(i);const r=/.*[\?&]id=([^&]+).*$/,o=/\/$/g,a="userPrefersReducedMotion",l={behavior:"smooth",block:"center"},c={block:"center"};function u(t){return"true"==window.localStorage.getItem(a)?t.scrollIntoView(c):t.scrollIntoView(l),t.focus()}function d(t,e){-1!==t.search(r)&&function(t,e){let s=t.replace(r,"$1");u(document.querySelector(e).querySelector(`#${s}`))}(t,e)}function h(t){u(document.querySelector(t))}function g(t){window.location.hash&&function(t,e){if(document.querySelector(`.nav-tabs a[href="${t}"]`)){const e=document.querySelector(`.nav-tabs a[href="${t}"]`),s=new(n())(e);e.addEventListener("shown.bs.tab",(e=>{window.location.search?d(window.location.search,t):h(`${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?d(window.location.search,t):h(`button[data-bs-target="${t}"]`)})),i.show()}}(window.location.hash.replace(o,""),t)}e.default=function(t){g(t),window.addEventListener("hashchange",(e=>{g(t)}),!1),s.e(977).then(s.bind(s,977)).then((t=>{let{default:e}=t;e()}))}},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))}}]);