!function(){"use strict";var e={730:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(948),r=n(284);const c={pageTop(){const e=c.pageTop,t=window.pageYOffset;window.scrollTo(0,Math.floor(.8*t)),0{t.querySelector('[name="s"]').focus()}),250))},toggleSubmenu(e){e.preventDefault();const t=e.currentTarget,n=t.parentNode.nextElementSibling;t.classList.toggle("is-opened"),n.classList.toggle("is-opened"),e.stopPropagation()}};function l(e){const t=e.querySelectorAll("[data-onclick]");for(let e=0;e{const t=document.getElementById("footer");if(null!==t)if(r.Ro)t.style.paddingBottom="0";else{const n=e.offsetHeight;t.style.paddingBottom=n+"px"}})(o.Z.fixBottomMenu)}},948:function(e,t){t.Z={header:null,gnav:null,fixBar:null,mainContent:null,sidebar:null,drawerMenu:null,pageTopBtn:null,searchModal:null,fixBottomMenu:null,wpadminbar:null,lastFocusedElem:null,drawerToggleBtn:null}},284:function(e,t,n){n.d(t,{Ro:function(){return c},gP:function(){return a},Z8:function(){return d},ua:function(){return s},IW:function(){return m}});let o=0,r=0,c=!1,l=!1,i=!1,u=!1,a=!1,d=0;const s=navigator.userAgent.toLowerCase(),m={mediaSize:()=>{c=999window.innerWidth,l=!c,u=!i},headH:e=>{null!==e&&(o=e.offsetHeight,document.documentElement.style.setProperty("--ark-header_height",o+"px"))},adminbarH:e=>{null!==e&&(r=e.offsetHeight)},modalOpen:e=>{a=e},smoothOffset:()=>{d=0;const e=window.arkheVars;if(void 0!==e){if(c&&e.isFixHeadPC&&(d+=o),c&&e.fixGnav){const e=document.querySelector(".l-headerUnder");null!==e&&(d+=e.offsetHeight)}l&&e.isFixHeadSP&&(d+=o),0{const e=window.innerWidth-document.body.clientWidth;document.documentElement.style.setProperty("--ark-scrollbar_width",e+"px")}}},982:function(e,t,n){function o(e){e.header=document.getElementById("header"),e.gnav=document.getElementById("gnav"),e.drawerMenu=document.getElementById("drawer_menu"),e.wpadminbar=document.getElementById("wpadminbar"),e.mainContent=document.getElementById("main_content"),e.sidebar=document.getElementById("sidebar"),e.fixBottomMenu=document.getElementById("fix_bottom_menu"),e.pageTopBtn=document.getElementById("pagetop"),e.searchModal=document.getElementById("search_modal")}n.d(t,{Z:function(){return o}})},549:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(948),r=n(284);function c(){document.addEventListener("keydown",(function(e){27===e.keyCode&&r.gP&&(e.preventDefault(),document.documentElement.setAttribute("data-drawer","closed"),document.querySelectorAll(".c-modal.is-open").forEach((function(e){e.classList.remove("is-open")})),o.Z.lastFocusedElem&&(o.Z.lastFocusedElem.focus(),o.Z.lastFocusedElem=null),r.IW.modalOpen(!1))}))}},829:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(948);function r(){const e=o.Z.gnav;if(null===e)return;(e=>{const t=e.querySelector("li.-current");t&&t.classList.remove("-current");const n=window.arkheVars.homeUrl||"",o=window.location.origin+window.location.pathname;if(n===o)return;const r=e.querySelectorAll(".c-gnav > li");for(let e=0;e{e.forEach((e=>{e.isIntersecting?document.documentElement.setAttribute("data-scrolled","false"):document.documentElement.setAttribute("data-scrolled","true")}))}),{root:null,rootMargin:"0px",threshold:0}),t=document.querySelector(".l-scrollObserver");e.observe(t)}n.d(t,{Z:function(){return o}})},41:function(e,t,n){n.d(t,{l:function(){return r},B:function(){return c}});var o=n(284);function r(e,t,n){let o;n=n||12;let r=window.pageYOffset;const c=n/2+1,l=e.getBoundingClientRect().top+r-t,i=()=>{o=r+Math.round((l-r)/n),window.scrollTo(0,o),r=o,document.body.clientHeight-window.innerHeight=l+c||o<=l-c?window.setTimeout(i,10):window.scrollTo(0,l)};i()}function c(e){const t=(e||document).querySelectorAll('a[href*="#"]');for(let e=0;ewindow.innerHeight&&location.reload(),o.IW.mediaSize();const s=location.hash;o.IW.scrollbarW(),document.addEventListener("DOMContentLoaded",(function(){(0,t.Z)(e.Z),o.IW.headH(e.Z.header),o.IW.adminbarH(e.Z.wpadminbar),o.IW.smoothOffset(e.Z.wpadminbar),window.objectFitImages&&window.objectFitImages(),(0,l.Z)(),(0,c.Z)(),(0,i.Z)(document),(0,r.Z)(),(0,a.Z)(),(0,u.Z)()})),window.addEventListener("load",(function(){const t=window.arkheVars;if(document.documentElement.setAttribute("data-loaded","true"),o.IW.headH(e.Z.header),o.IW.smoothOffset(e.Z.wpadminbar),"on"===t.smoothScroll&&(0,d.B)(),s){const e=s.replace("#",""),t=document.getElementById(e);null!==t&&(0,d.l)(t,o.Z8)}})),window.addEventListener("orientationchange",(function(){setTimeout((()=>{o.IW.mediaSize(),o.IW.headH(e.Z.header),o.IW.smoothOffset(e.Z.wpadminbar),(0,l.Z)()}),5)})),window.addEventListener("resize",(function(){setTimeout((()=>{o.IW.scrollbarW(),o.IW.mediaSize(),o.IW.headH(e.Z.header),o.IW.smoothOffset(e.Z.wpadminbar),(0,l.Z)()}),5)}))}()}();