"use strict";(self.webpackChunkkcc_gem_theme=self.webpackChunkkcc_gem_theme||[]).push([[695],{695:function(e,o,t){const n=/.*[\?&]id=([^&]+).*$/,c=/\/$/g,a="userPrefersReducedMotion",l={behavior:"smooth",block:"center"},r={block:"center"};function s(e){return"true"==window.localStorage.getItem(a)?e.scrollIntoView(r):e.scrollIntoView(l),e.focus()}function i(e,o){-1!==e.search(n)&&function(e,o){let t=e.replace(n,"$1");s(document.querySelector(o).querySelector(`#${t}`))}(e,o)}function u(e){s(document.querySelector(e))}function h(){var e;window.location.hash&&(e=window.location.hash.replace(c,""),document.querySelector(`.nav-tabs a[href="${e}"]`)?$(`.nav-tabs a[href="${e}"]`).on("shown.bs.tab",(()=>{window.location.search?i(window.location.search,e):u(`${e}-label`)})).tab("show"):document.querySelector(`${e}.collapse`)&&$(e).on("shown.bs.collapse",(()=>{window.location.search?i(window.location.search,e):u(`button[data-target="${e}"]`)})).collapse("show"))}o.default=function(){h(),window.addEventListener("hashchange",h,!1),t.e(977).then(t.bind(t,977)).then((e=>{let{default:o}=e;o()}))}}}]);