!function(){"use strict";var e={730:function(e,t,n){n.d(t,{Z:function(){return a}});var o=n(948),r=n(284),c=n(41);const l={pageTop(){(0,c.l)(0,0)},toggleMenu(e){if(e.preventDefault(),null===o.Z.drawerMenu)return!1;const t=0!==e.screenX&&0!==e.screenY,n=e.currentTarget;o.Z.drawerToggleBtn=n,"opened"!==document.documentElement.getAttribute("data-drawer")?(document.documentElement.setAttribute("data-drawer","opened"),r.IW.modalOpen(!0),o.Z.lastFocusedElem=n):(document.documentElement.setAttribute("data-drawer","closed"),!t&&o.Z.lastFocusedElem&&(o.Z.lastFocusedElem.focus(),o.Z.lastFocusedElem=null,r.IW.modalOpen(!1)))},toggleSearch(e){e.preventDefault();const t=o.Z.searchModal;if(null===t)return!1;const n=0!==e.screenX&&0!==e.screenY,c=e.currentTarget;t.classList.contains("is-open")?(t.classList.remove("is-open"),!n&&o.Z.lastFocusedElem&&(o.Z.lastFocusedElem.focus(),o.Z.lastFocusedElem=null,r.IW.modalOpen(!1))):(t.classList.add("is-open"),r.IW.modalOpen(!0),o.Z.lastFocusedElem=c,setTimeout((()=>{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 a(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,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 u},Z8:function(){return d},ua:function(){return s},IW:function(){return m}});let o=0,r=0,c=!1,l=!1,a=!1,i=!1,u=!1,d=0;const s=navigator.userAgent.toLowerCase(),m={mediaSize:()=>{c=999window.innerWidth,l=!c,i=!a},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=>{u=e},smoothOffset:()=>{let e=0;const t=window.arkheVars;if(void 0!==t){if(c){if(t.isFixHeadPC&&(e+=o),t.fixGnav){const t=document.querySelector(".l-headerUnder");null!==t&&(e+=t.offsetHeight)}}else t.isFixHeadSP&&(e+=o);document.documentElement.style.setProperty("--ark-header_height--fixed",e+"px"),d=8+e+r}},scrollbarW:()=>{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.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){const n=window.scrollY;let o=0;if(Number.isInteger(e))o=e;else{const r=e.getBoundingClientRect();o=r.top+n-t,o<0&&(o=0)}let r=null,c=500;const l=Math.abs(o-n);1e4{const t=e-r,l=Math.min(1,t/c),i=n+(o-n)*(u=l,1-Math.pow(1-u,3));var u;window.scrollTo(0,i),l<1&&requestAnimationFrame(a)};r=performance.now(),a(r)}function c(e){(e||document).querySelectorAll('a[href*="#"]').forEach((e=>{const t=e.getAttribute("href").split("#");if(t.length>2)return;const n=t[0],c=t[1],l=""===n,a=window.location.origin+window.location.pathname;(l||n===a)&&e.addEventListener("click",(function(e){const t=document.getElementById(c);if(!t)return!0;e.preventDefault(),r(t,o.Z8),document.documentElement.setAttribute("data-drawer","closed")}))}))}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var c=t[o]={exports:{}};return e[o](c,c.exports,n),c.exports}n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e=n(948),t=n(982),o=n(284),r=n(378),c=n(829),l=n(987),a=n(730),i=n(549),u=n(188),d=n(41);-1!==o.ua.indexOf("fb")&&300>window.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,a.Z)(document),(0,r.Z)(),(0,u.Z)(),(0,i.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)}))}()}();