/*! For license information please see 695.ba8f5a5b54d8724101b3.bundle.js.LICENSE.txt */ (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={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 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?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((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))}}]);