var swellVars={"siteUrl":"https:\/\/sifaka-badminton.com\/","restUrl":"https:\/\/sifaka-badminton.com\/wp-json\/wp\/v2\/","ajaxUrl":"https:\/\/sifaka-badminton.com\/wp-admin\/admin-ajax.php","ajaxNonce":"e6f00adb53","isLoggedIn":"","useAjaxAfterPost":"","useAjaxFooter":"","usePvCount":"1","isFixHeadSP":"1","tocListTag":"ol","tocTarget":"h3","tocPrevText":"\u524d\u306e\u30da\u30fc\u30b8\u3078","tocNextText":"\u6b21\u306e\u30da\u30fc\u30b8\u3078","tocCloseText":"\u6298\u308a\u305f\u305f\u3080","tocOpenText":"\u3082\u3063\u3068\u898b\u308b","tocOmitType":"ct","tocOmitNum":"15","tocMinnum":"1","tocAdPosition":"after","offSmoothScroll":""};
!function(){var e={283:function(e,t,n){"use strict";n.d(t,{M:function(){return r},X:function(){return l}});const o=async(e,t,n,o)=>{var l,r;const i=null===(l=window)||void 0===l||null===(r=l.swellVars)||void 0===r?void 0:r.restUrl;void 0!==i&&fetch(i+e,t).then((e=>{if(e.ok)return e.json();throw new TypeError(`Failed callRestApi: ${e.status}`)})).then((e=>{n&&n(e)})).catch((n=>{console.error(n),console.error("route:"+e,t),o&&o()}))},l=async(e,t,n=undefined,l=undefined)=>{const r=new URLSearchParams;Object.keys(t).forEach((e=>{r.append(e,t[e])})),o(e,{method:"POST",body:r},n,l)},r=async(e,t,n=undefined,l=undefined)=>{const r=new URLSearchParams;Object.keys(t).forEach((e=>{r.append(e,t[e])}));const i=r.toString();o(`${e}?${i}`,{method:"GET"},n,l)}},614:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var o=n(507),l=n(354);const r={pageTop(){(0,l.l)(0,0)},toggleMenu(){"opened"===document.documentElement.getAttribute("data-spmenu")?document.documentElement.setAttribute("data-spmenu","closed"):document.documentElement.setAttribute("data-spmenu","opened")},toggleSearch(){const e=document.getElementById("search_modal");if(null===e)return!1;e.classList.contains("is-opened")?e.classList.remove("is-opened"):(e.classList.add("is-opened"),setTimeout((()=>{e.querySelector('[name="s"]').focus()}),250))},toggleIndex(){const e=document.getElementById("index_modal");null!==e&&e.classList.toggle("is-opened")},toggleAccordion(){},toggleSubmenu(e){const t=e.currentTarget,n=t.parentNode.nextElementSibling;t.classList.toggle("is-opened"),n.classList.toggle("is-opened"),e.stopPropagation()},tabControl(e){const t=e.currentTarget,n="true"===t.getAttribute("aria-selected");if(0===e.clientX||t.blur(),n)return;const o=t.getAttribute("aria-controls"),l=document.getElementById(o);if(null===l)return;const r=t.closest('[role="tablist"]').querySelector('.c-tabList__item [aria-selected="true"]'),i=r.getAttribute("aria-controls"),s=document.getElementById(i);t.setAttribute("aria-selected","true"),r.setAttribute("aria-selected","false"),l.setAttribute("aria-hidden","false"),s.setAttribute("aria-hidden","true")},scrollToContent(){const e=document.querySelector("#main_visual + *");e&&(0,l.l)(e,o.Z8-8)},clickLink(e){const t=e.currentTarget.querySelector("a");"mousedown"===e.type?1===e.button&&window.open(t.getAttribute("href")):(t.onclick=e=>(e.stopPropagation(),!0),t.click())}};function i(e){e.querySelectorAll("[data-onclick]").forEach((e=>{const t=e.getAttribute("data-onclick"),n=r[t];e.addEventListener("click",(function(e){e.preventDefault(),n(e)}))})),e.querySelectorAll('[data-onclick="clickLink"]').forEach((e=>{e.addEventListener("mousedown",(e=>r.clickLink(e)))}))}},754:function(e,t){"use strict";t.Z={bodyWrap:null,header:null,gnav:null,fixHeader:null,content:null,mainContent:null,sidebar:null,spMenu:null,mainVisual:null,postSlider:null,fixBottomMenu:null,fixSidebar:null,wpadminbar:null}},507:function(e,t,n){"use strict";n.d(t,{M_:function(){return p},QW:function(){return w},Ro:function(){return i},Z8:function(){return u},ls:function(){return m},tq:function(){return c},ua:function(){return f},wR:function(){return d}});var o=n(754);let l=0,r=0,i=!1,s=!1,c=!1,d=!1,u=0,a=window.swellVars.isFixHeadSP;const f=navigator.userAgent.toLowerCase(),m=()=>{i=959<window.innerWidth,c=600>window.innerWidth,s=!i,d=!c},p=()=>{const e=window.innerWidth-document.body.clientWidth;document.documentElement.style.setProperty("--swl-scrollbar_width",e+"px")},w=()=>{var e,t,n;null!==(e=o.Z.header)&&(l=e.offsetHeight,document.documentElement.style.setProperty("--swl-headerH",l+"px")),null!==(t=o.Z.fixHeader)&&(r=t.offsetHeight,document.documentElement.style.setProperty("--swl-fix_headerH",r+"px")),n=o.Z.wpadminbar,u=0,i?u+=r:!i&&a&&(u+=l),null!==n&&(u+=n.offsetHeight),document.documentElement.style.setProperty("--swl-offset_y",u+"px"),u+=8}},290:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var o=n(754),l=n(614),r=n(354),i=n(283);let s=0,c=0;const d=(e,t)=>{const n=document.getElementById(e);if(!n)return;const d={placement:e};if("post_id"===t){if(null===o.Z.content)return void console.error('Not found "#content".');const e=o.Z.content.getAttribute("data-postid");if(!e)return void console.error('Not found "data-postid".');d.post_id=e}(0,i.M)("swell-lazyload-contents",d,(e=>{const t=document.createDocumentFragment(),o=document.createElement("div");for(o.innerHTML=e;o.firstChild;)t.appendChild(o.firstChild);(e=>{const t=e.querySelectorAll('select[name="cat"]');0<t.length&&t.forEach((e=>{!function(){const t=e.parentNode;if(null===t)return;const n=t.nextElementSibling;null!==n&&t.parentNode.removeChild(n)}()}));const n=e.querySelectorAll('select[name="archive-dropdown"]');0<n.length&&n.forEach((e=>{!function(){const t=e.nextElementSibling;null!==t&&e.parentNode.removeChild(t)}()}))})(t),[].map.call(t.querySelectorAll("script"),(function(e){const n=e.parentElement||t,o=document.createElement("script");e.src?o.src=e.src:o.textContent=e.textContent,n.replaceChild(o,e)})),n.innerHTML="",n.appendChild(t),(e=>{const t=e.querySelectorAll('select[name="cat"]');0<t.length&&t.forEach((e=>{const t="ajaxed-cat-dropdown-"+s++;e.setAttribute("id",t),e.addEventListener("change",(t=>{0<e.options[e.selectedIndex].value&&e.parentNode.submit()}))}));const n=e.querySelectorAll('select[name="archive-dropdown"]');0<n.length&&n.forEach((e=>{const t="ajaxed-archive-dropdown-"+c++;e.setAttribute("id",t),e.addEventListener("change",(t=>{""!==e.options[e.selectedIndex].value&&(document.location.href=e.options[e.selectedIndex].value)}))}))})(n),(0,l.Z)(n),(0,r.B)(n)}))},u=()=>{var e,t;null!==(e=window.swellVars)&&void 0!==e&&e.useAjaxAfterPost&&d("after_article","post_id"),null!==(t=window.swellVars)&&void 0!==t&&t.useAjaxFooter&&(d("before_footer_widget",""),d("footer",""))}},595:function(){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){let t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},853:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var o=n(754),l=n(283);const r=()=>{var e;if(null===o.Z.content)return;if(null===(e=window.swellVars)||void 0===e||!e.usePvCount)return;const t=o.Z.content.getAttribute("data-postid");if(!t)return;if(!o.Z.content.getAttribute("data-pvct"))return;const n={postid:t};(0,l.X)("swell-ct-pv",n)}},41:function(e,t,n){"use strict";function o(e){e.header=document.getElementById("header"),e.bodyWrap=document.getElementById("body_wrap"),e.fixHeader=document.getElementById("fix_header"),e.gnav=document.getElementById("gnav"),e.spMenu=document.getElementById("sp_menu"),e.wpadminbar=document.getElementById("wpadminbar"),e.content=document.getElementById("content")||document.getElementById("lp-content"),e.mainContent=document.getElementById("main_content"),e.sidebar=document.getElementById("sidebar"),e.fixBottomMenu=document.getElementById("fix_bottom_menu"),e.fixSidebar=document.getElementById("fix_sidebar")}n.d(t,{Z:function(){return o}})},581:function(e,t,n){"use strict";function o(e){1<e.querySelectorAll(".c-widget").length&&e.classList.add("-multiple")}n.d(t,{Z:function(){return o}})},703:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var o=n(754);const l=e=>{if(null===e)return;const t=window.location.pathname,n=window.location.origin+t,o=e.querySelectorAll(".c-gnav > li");for(let e=0;e<o.length;e++){var l,r;const t=o[e],i=t.querySelector("a");if(null===i)continue;const s=i.getAttribute("href");t.classList.contains("-current")&&t.classList.remove("-current"),n===s&&(null===(l=window)||void 0===l||null===(r=l.swellVars)||void 0===r?void 0:r.siteUrl)!==s&&t.classList.add("-current")}};function r(){l(o.Z.gnav),l(o.Z.fixHeader)}},548:function(e,t,n){"use strict";n.d(t,{B:function(){return r},D:function(){return l}});var o=n(507);function l(){let e="";o.wR?e="data-tab-style":o.tq&&(e="data-mobile-style");const t=document.querySelectorAll(`[${e}]`);for(let n=0;n<t.length;n++){const o=t[n],l=o.getAttribute(e);o.setAttribute("style",l)}e=o.Ro?"data-pc-style":"data-sp-style";const n=document.querySelectorAll(`[${e}]`);for(let t=0;t<n.length;t++){const o=n[t],l=o.getAttribute(e);o.setAttribute("style",l)}}function r(){document.querySelectorAll('.wp-block-table.td_to_th_, .wp-block-table[data-cell1-fixed], table[style*="--swl-cell1-width"]').forEach((e=>{const t=e.querySelectorAll("tbody tr > :first-child, tbody tr:empty");let n=0;t.forEach((e=>{if("tr"===e.tagName)n>0&&n--;else if(n>0)n--,e.classList.add("-no1");else{const t=e.rowSpan||1;t>1&&(n=t-1)}}))}))}},14:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var o=n(754);function l(e,t){let n=e.innerHTML;const o=t.join("|")||"";n=n.replace(/<noscript>.*<\/noscript>/gim,"");const l=new RegExp("(?!<\\/?("+o+")(>|\\s[^>]*>))<(\"[^\"]*\"|\\'[^\\']*\\'|[^\\'\">])*>","gim");n=n.replace(l,"");const r=e.querySelector(".mininote");if(null!==r){const e=r.textContent;n=n.replace(e,`<span class="mininote">${e}</span>`)}return n}function r(){var e,t,n,r,i,s;if(void 0===window.swellVars)return;const c=o.Z.bodyWrap;if(null===c)return;const d=o.Z.mainContent;if(null===d)return;if(null!==d.querySelector(".p-toc.-called-from-sc")&&c.classList.remove("-index-off"),c.classList.contains("-index-off"))return;const u=document.querySelectorAll(".p-toc");if(1>u.length)return;const a=d.querySelector(".l-mainContent__inner > .post_content")||d.querySelector(".p-termContent > .post_content")||d.querySelector(".p-authorContent > .post_content"),f=(null===(e=window.swellVars)||void 0===e?void 0:e.tocListTag)||"ol",m=(null===(t=window.swellVars)||void 0===t?void 0:t.tocTarget)||"h3";let p=parseInt(null===(n=window.swellVars)||void 0===n?void 0:n.tocMinnum)||2,w=[];null!==a&&("h2"===m?w=a.querySelectorAll("h2"):"h3"===m?w=a.querySelectorAll("h2, h3"):"h4"===m?w=a.querySelectorAll("h2, h3, h4"):"h5"===m&&(w=a.querySelectorAll("h2, h3, h4, h5")));const h=function(e,t=".current"){if(!e)return null;const n=e.querySelector(t);if(!n)return null;const o={},l=n.nextElementSibling;if(l){const e=l.getAttribute("href");o.next=e}const r=n.previousElementSibling;if(r){const e=r.getAttribute("href");o.prev=e}return o}(d.querySelector(".c-pagination.-post"));if(null!==h&&(p-=1),p>w.length)return void function(){const e=o.Z.bodyWrap;if(null===e)return;e.classList.add("-index-off");const t=o.Z.mainContent;if(null===t)return;const n=t.querySelector(".swell-block-fullWide .p-toc");n&&n.parentNode.removeChild(n);const l=t.querySelector(".swell-block-fullWide .w-beforeToc");l&&l.parentNode.removeChild(l)}();const g=(null===(r=window.swellVars)||void 0===r?void 0:r.tocOmitType)||"",v=Number((null===(i=window.swellVars)||void 0===i?void 0:i.tocOmitNum)||0);let y=g&&v+1<w.length;const{listHtml:b,isOmitted:E}=function({hTags:e,ignoreClasses:t,idPrefix:n="toc-",listTag:o="ol",arrowedTags:r=["ruby","rp","rb","rt"],childClass:i="",linkClass:s="",prevLink:c="",nextLink:d="",omitType:u,omitNum:a=5}){let f=!1,m=2,p="";var w;c&&(p+=`<li class="__pn __prev"><a href="${c}" class="__pn__link">${(null===(w=window.swellVars)||void 0===w?void 0:w.tocPrevText)||"前のページへ"}</a></li>`);let h=1,g=1;for(let c=0;c<e.length;c++){const d=e[c];let w="";if(0===d.offsetHeight)continue;d.hasAttribute("id")?w=d.getAttribute("id"):(w=n+c,d.setAttribute("id",w));let v=!1;for(let e=0;e<t.length;e++){const n=t[e];d.classList.contains(n)&&(v=!0)}if(v)continue;const y=l(d,r);let b=0;const E=d.tagName.toLowerCase();if("h2"===E?b=2:"h3"===E?b=3:"h4"===E?b=4:"h5"===E&&(b=5),0===b)continue;if(""===p&&2!==b)continue;if(1<b-m)continue;if(m<b)m++,p=p.slice(0,-5),p+=`<${o} class="${i}" data-level="${m}">`;else if(m>b)for(;m>b;)p+=`</${o}></li>`,m--;let x="";""===u?x="":"nest"===u&&2<m?f=!0:"ct"===u&&a<h?(x=' data-omit="1"',f=!0):"both"===u&&(2===m&&a<g?x=' data-omit="1"':2<m&&g--,a<h&&(f=!0)),p+=`<li${x}><a href="#${w}" class="${s}">${y}</a></li>`,h++,g++}if(!p)return{listHtml:null,isOmitted:!1};for("nest"===u&&a>=h&&(f=!1);m>1;)p+=`</${o}></li>`,m--;var v;d&&(p+=`<li class="__pn __next"><a href="${d}" class="__pn__link">${(null===(v=window.swellVars)||void 0===v?void 0:v.tocNextText)||"次のページへ"}</a></li>`);return{listHtml:p,isOmitted:f}}({hTags:w,ignoreClasses:["p-postList__title","swl-toc-off"],idPrefix:"index_id",listTag:f,childClass:"p-toc__childList",linkClass:"p-toc__link",prevLink:(null==h?void 0:h.prev)||"",nextLink:(null==h?void 0:h.next)||"",omitType:y?g:"",omitNum:v});if(!b)return void c.classList.add("-index-off");y=E;const x=document.createElement(f);x.classList.add("p-toc__list","is-style-index"),x.setAttribute("data-level","2"),x.innerHTML=b;const _=(null===(s=window.swellVars)||void 0===s?void 0:s.tocAdPosition)||"before",A=d.querySelector(".p-toc");y&&A&&(A.setAttribute("data-omit",g),A.classList.add("is-omitted"));for(let e=0;e<u.length;e++){const t=u[e];t.appendChild(x.cloneNode(!0));const n=t.parentNode;if(n.classList.contains("swell-block-fullWide__inner")){const e=n.parentNode;e.parentNode.insertBefore(t,e);const o=e.querySelector(".w-beforeToc");null!==o&&("before"===_?t.parentNode.insertBefore(o,t):t.parentNode.insertBefore(o,t.nextSibling))}}if(y){var S,L;const e=(null===(S=window.swellVars)||void 0===S?void 0:S.tocCloseText)||"Close",t=(null===(L=window.swellVars)||void 0===L?void 0:L.tocOpenText)||"Open",n="nest"===g?A.querySelector(".p-toc__ttl"):A;if(n){const o=document.createElement("button");o.classList.add("p-toc__expandBtn"),o.innerHTML=t,n.appendChild(o),o.addEventListener("click",(()=>{A.classList.contains("is-expanded")?(A.classList.add("is-omitted"),A.classList.remove("is-expanded"),o.innerHTML=t):(A.classList.remove("is-omitted"),A.classList.add("is-expanded"),o.innerHTML=e)}))}}}},354:function(e,t,n){"use strict";n.d(t,{B:function(){return r},l:function(){return l}});var o=n(507);function l(e,t){var n;const o=window.scrollY;let l=0;if(Number.isInteger(e))l=e;else{const n=e.getBoundingClientRect();l=n.top+o-t,l<0&&(l=0)}if(null===(n=window.swellVars)||void 0===n?void 0:n.offSmoothScroll)return void window.scrollTo(0,l);let r=null,i=500;const s=Math.abs(l-o);1e4<s?i=1500:5e3<s?i=1e3:1e3<s&&(i=750);const c=e=>{const t=e-r,n=Math.min(1,t/i),s=o+(l-o)*(d=n,1-Math.pow(1-d,3));var d;window.scrollTo(0,s),n<1&&requestAnimationFrame(c)};r=performance.now(),c(r)}function r(e){(e||document).querySelectorAll('a[href*="#"]').forEach((e=>{if("_blank"===e.getAttribute("target"))return;const t=e.getAttribute("href"),n=t.split("#");if(n.length>2)return;const r=n[0],i=n[1],s=""===r,c=window.location.origin+window.location.pathname;(s||r===c)&&e.addEventListener("click",(function(e){const n=document.getElementById(i);if(!n)return!0;e.preventDefault(),window.history.pushState({},"",t),l(n,o.Z8),document.documentElement.setAttribute("data-spmenu","closed");const r=document.getElementById("index_modal");null!==r&&r.classList.remove("is-opened")}))}))}}},t={};function n(o){var l=t[o];if(void 0!==l)return l.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.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(){"use strict";n(595);var e=n(754),t=n(41),o=n(507);var l=n(14),r=n(581),i=n(703),s=n(548);function c(){null!==e.Z.fixBottomMenu&&(e=>{const t=document.getElementById("footer");if(null!==t)if(o.Ro)t.style.paddingBottom="0";else{const n=e.offsetHeight;t.style.paddingBottom=n+"px"}})(e.Z.fixBottomMenu),(0,s.D)()}var d=n(614),u=n(354),a=n(853),f=n(290);-1!==o.ua.indexOf("fb")&&300>window.innerHeight&&location.reload(),(0,o.ls)();const m=location.hash;window.onpageshow=function(e){e.persisted},document.addEventListener("DOMContentLoaded",(function(){(0,t.Z)(e.Z),(0,o.QW)(),(0,o.M_)(),window.objectFitImages&&window.objectFitImages(),c(),(0,i.Z)(),(0,l.Z)(),(0,d.Z)(document),function(){if(!window.IntersectionObserver||!("isIntersecting"in IntersectionObserverEntry.prototype))return;const e=new IntersectionObserver((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)}(),(0,s.B)()})),window.addEventListener("load",(function(){if(document.documentElement.setAttribute("data-loaded","true"),(0,o.QW)(),null!==e.Z.fixSidebar&&(0,r.Z)(e.Z.fixSidebar),(0,u.B)(),m){const e=m.replace("#",""),t=document.getElementById(e);null!==t&&(0,u.l)(t,o.Z8)}(0,a.J)(),(0,f.F)()})),window.addEventListener("orientationchange",(function(){setTimeout((()=>{(0,o.ls)(),(0,o.QW)(),c()}),10)})),window.addEventListener("resize",(function(){setTimeout((()=>{(0,o.ls)(),(0,o.QW)(),(0,o.M_)(),c()}),5)}))}()}();
!function(){const e=959<window.innerWidth;function t(){const t=document.getElementById("main_visual");if(null===t)return;const i=t.querySelector(".p-mainVisual__inner");t.classList.contains("-height-full")&&function(e){let t=window.innerHeight;if(document.getElementById("header").classList.contains("-transparent"))e.style.setProperty("--swl-headerH","0px");else{const e=document.querySelector(".c-infoBar");e&&(t-=e.offsetHeight)}e.style.setProperty("--swl-mv-height",`${t}px`)}(t),t.classList.contains("-type-slider")?function(t,i){const n=window.swellVars;if(void 0===n)return;const s={loop:!0,preloadImages:!1,lazy:{loadPrevNext:!0},autoplay:{delay:parseInt(n.mvSlideDelay)||1e4,disableOnInteraction:!1},speed:parseInt(n.mvSlideSpeed)||1200,pagination:{el:".p-mainVisual .swiper-pagination",clickable:!0},navigation:{nextEl:".p-mainVisual .swiper-button-next",prevEl:".p-mainVisual .swiper-button-prev"},runCallbacksOnInit:!0};let l=e?n.mvSlideNum:n.mvSlideNumSp;if(l=parseFloat(l),1<l)s.slidesPerView=l,s.effect="slider",s.spaceBetween=8,s.centeredSlides=!0,s.watchSlidesVisibility=!0,t.classList.contains("-margin-on")||(i.style.paddingTop="8px",i.style.paddingBottom="8px");else{const e="slide"===n.mvSlideEffect?"slide":"fade";s.effect=e}const a=new Swiper(i,s);window.swellMvSwiper=a}(t,i):t.classList.contains("-type-movie")&&function(t){const i=t.querySelector(".p-mainVisual__video");if(null===i)return;const n=e?"pc":"sp",s=i.getAttribute(`data-poster-${n}`);s&&i.setAttribute("poster",s);const l=i.querySelector("source"),a=l.getAttribute(`data-src-${n}`);l.setAttribute("src",a),i.load(),i.play(),setTimeout((()=>{i.paused&&i.play()}),1e3)}(t)}t(),window.addEventListener("orientationchange",(()=>{setTimeout((()=>{window.swellMvSwiper&&(window.swellMvSwiper.destroy(),t())}),10)})),window.SWELLHOOK&&window.SWELLHOOK.barbaAfter.add(t)}();
var snowmonkeyforms={"view_json_url":"https:\/\/sifaka-badminton.com\/wp-json\/snow-monkey-form\/v1\/view"};
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=37)}({37:function(e,t,r){"use strict";r.r(t);var n=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];try{r=new CustomEvent(t,{bubbles:a,cancelable:o,detail:n})}catch(e){(r=document.createEvent("CustomEvent")).initCustomEvent(t,a,o,n)}e.dispatchEvent(r)};function a(e){e.preventDefault();var t=e.target,r=t.querySelector(".smf-form"),a=t.querySelector(".smf-action"),o=new FormData(t),i={status:"init",inputs:[].slice.call(t.querySelectorAll("input[name]:not([disabled]), textarea[name]:not([disabled]), select[name]:not([disabled])")).map((function(e){var t;return"checkbox"===e.type||"radio"===e.type?e.checked&&(t=e.value):t=e.value,void 0!==t&&{name:e.getAttribute("name"),value:t}})).filter((function(e){return e})),formData:o},c=function(e){r.innerHTML=e},s=function(e){a.innerHTML=e},l=function(){var e=t.querySelector(".smf-complete-content, .smf-system-error-content");e&&e.focus()},u=t.querySelector(".smf-sending"),f=function(r){if(u.setAttribute("aria-hidden","true"),void 0!==(r=JSON.parse(r)).method){var a,o=r.method;if(t.setAttribute("data-screen",o),s(r.action),[].slice.call(t.querySelectorAll(".smf-placeholder")).forEach((function(e){e.innerHTML=""})),function(e){return""===e||"back"===e||"invalid"===e||"confirm"===e}(o)){!function(e){for(var r in e){var n=e[r];t.querySelector('.smf-placeholder[data-name="'.concat(r,'"]')).innerHTML=n}}(r.controls);var f=[].slice.call(t.querySelectorAll(".smf-error-messages"));0<f.length?function(e){if(0<e.length){var t=function(e,t){for(var r=e;r;r=r.parentElement)if(r.classList.contains(t))return r}(e[0],"smf-placeholder"),r=!!t&&t.querySelector("input, select, textarea, button");r&&r.focus()}}(f):(a=t.querySelector(".smf-item"))&&a.focus()}else!function(e){return"complete"===e||"systemerror"===e}(o)?(c(""),s("")):(c(r.message),l(),s(r.action));switch(i.status=o,i.status){case"back":n(e.target,"smf.back",i);break;case"confirm":n(e.target,"smf.confirm",i);break;case"complete":n(e.target,"smf.complete",i);break;case"invalid":n(e.target,"smf.invalid",i);break;case"systemerror":n(e.target,"smf.systemerror",i)}n(e.target,"smf.submit",i)}else m()},m=function(){t.setAttribute("data-screen","systemerror");var r=document.createElement("div");r.classList.add("smf-system-error-content"),r.setAttribute("tabindex","-1");var a=t.querySelector(".smf-system-error-content-ready");r.textContent=a.textContent,c(r),s(""),l(),i.status="systemerror",n(e.target,"smf.systemerror",i)};n(e.target,"smf.beforesubmit",i);var d=new XMLHttpRequest;d.onreadystatechange=function(){4===d.readyState&&(200===d.status?f(JSON.parse(d.response)):m())},d.open("POST",snowmonkeyforms.view_json_url,!0),d.send(o)}document.addEventListener("change",(function(e){var t=e.target;if(t.classList.contains("smf-file-control__control")){var r=t.parentNode.querySelector(".smf-file-control__filename"),n=t.files;if(0<n.length&&r){var a=n[0];void 0!==a.name&&(r.textContent=a.name)}}}),!1);var o=function(e,t){for(var r=e;r;r=r.parentElement)if(r.classList.contains(t))return r};document.addEventListener("click",(function(e){var t=e.target;if("back"===t.getAttribute("data-action")){var r=o(t,"smf-action");if(r){var n=r.querySelector('[type="hidden"][name="snow-monkey-forms-meta[method]"]');n&&n.setAttribute("value","back")}}}),!1),document.addEventListener("click",(function(e){var t=e.target;if(-1!==[].slice.call(document.querySelectorAll('.smf-action [type="submit"]')).indexOf(t)){var r=t.querySelector(".smf-sending");r&&r.setAttribute("aria-hidden","false")}}),!1),[].slice.call(document.querySelectorAll(".snow-monkey-form")).forEach((function(e){e.addEventListener("submit",a,!1)})),["change","keyup"].forEach((function(e){document.addEventListener(e,(function(e){var t=e.target;if("1"===t.getAttribute("data-invalid")){t.removeAttribute("data-invalid"),[].slice.call(t.querySelectorAll('[data-invalid="1"]')).forEach((function(e){return e.removeAttribute("data-invalid")}));var r=o(t,"smf-placeholder");if(r){var n=r.querySelector(".smf-error-messages");n&&n.parentNode.removeChild(n)}}}),!1)}))}});
/*! 
 * lazysizes - v5.2.2
 * Source: https://github.com/aFarkas/lazysizes/blob/gh-pages/lazysizes.js
 */
!function(e){var t=function(u,k,d){"use strict";var F,D;if(function(){var e;var t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:true,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:true,ricTimeout:0,throttleDelay:125};D=u.lazySizesConfig||u.lazysizesConfig||{};for(e in t){if(!(e in D)){D[e]=t[e]}}}(),!k||!k.getElementsByClassName){return{init:function(){},cfg:D,noSupport:true}}var I=k.documentElement,a=u.HTMLPictureElement,$="addEventListener",O="getAttribute",H=u[$].bind(u),P=u.setTimeout,j=u.requestAnimationFrame||P,s=u.requestIdleCallback,J=/^picture$/i,r=["load","error","lazyincluded","_lazyloaded"],i={},U=Array.prototype.forEach,Q=function(e,t){if(!i[t]){i[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")}return i[t].test(e[O]("class")||"")&&i[t]},Z=function(e,t){if(!Q(e,t)){e.setAttribute("class",(e[O]("class")||"").trim()+" "+t)}},G=function(e,t){var i;if(i=Q(e,t)){e.setAttribute("class",(e[O]("class")||"").replace(i," "))}},K=function(t,i,e){var a=e?$:"removeEventListener";if(e){K(t,i)}r.forEach(function(e){t[a](e,i)})},V=function(e,t,i,a,r){var n=k.createEvent("Event");if(!i){i={}}i.instance=F;n.initEvent(t,!a,!r);n.detail=i;e.dispatchEvent(n);return n},X=function(e,t){var i;if(!a&&(i=u.picturefill||D.pf)){if(t&&t.src&&!e[O]("srcset")){e.setAttribute("srcset",t.src)}i({reevaluate:true,elements:[e]})}else if(t&&t.src){e.src=t.src}},Y=function(e,t){return(getComputedStyle(e,null)||{})[t]},o=function(e,t,i){i=i||e.offsetWidth;while(i<D.minSize&&t&&!e._lazysizesWidth){i=t.offsetWidth;t=t.parentNode}return i},ee=function(){var i,a;var t=[];var r=[];var n=t;var o=function(){var e=n;n=t.length?r:t;i=true;a=false;while(e.length){e.shift()()}i=false};var e=function(e,t){if(i&&!t){e.apply(this,arguments)}else{n.push(e);if(!a){a=true;(k.hidden?P:j)(o)}}};e._lsFlush=o;return e}(),te=function(i,e){return e?function(){ee(i)}:function(){var e=this;var t=arguments;ee(function(){i.apply(e,t)})}},ie=function(e){var i;var a=0;var r=D.throttleDelay;var n=D.ricTimeout;var t=function(){i=false;a=d.now();e()};var o=s&&n>49?function(){s(t,{timeout:n});if(n!==D.ricTimeout){n=D.ricTimeout}}:te(function(){P(t)},true);return function(e){var t;if(e=e===true){n=33}if(i){return}i=true;t=r-(d.now()-a);if(t<0){t=0}if(e||t<9){o()}else{P(o,t)}}},ae=function(e){var t,i;var a=99;var r=function(){t=null;e()};var n=function(){var e=d.now()-i;if(e<a){P(n,a-e)}else{(s||r)(r)}};return function(){i=d.now();if(!t){t=P(n,a)}}},e=function(){var v,m,f,y,e;var g,h,p,z,b,A,E;var n=/^img$/i;var c=/^iframe$/i;var C="onscroll"in u&&!/(gle|ing)bot/.test(navigator.userAgent);var w=0;var _=0;var L=0;var N=-1;var M=function(e){L--;if(!e||L<0||!e.target){L=0}};var R=function(e){if(E==null){E=Y(k.body,"visibility")=="hidden"}return E||!(Y(e.parentNode,"visibility")=="hidden"&&Y(e,"visibility")=="hidden")};var x=function(e,t){var i;var a=e;var r=R(e);p-=t;A+=t;z-=t;b+=t;while(r&&(a=a.offsetParent)&&a!=k.body&&a!=I){r=(Y(a,"opacity")||1)>0;if(r&&Y(a,"overflow")!="visible"){i=a.getBoundingClientRect();r=b>i.left&&z<i.right&&A>i.top-1&&p<i.bottom+1}}return r};var t=function(){var e,t,i,a,r,n,o,s,l,u,d,f;var c=F.elements;if((y=D.loadMode)&&L<8&&(e=c.length)){t=0;N++;for(;t<e;t++){if(!c[t]||c[t]._lazyRace){continue}if(!C||F.prematureUnveil&&F.prematureUnveil(c[t])){q(c[t]);continue}if(!(s=c[t][O]("data-expand"))||!(n=s*1)){n=_}if(!u){u=!D.expand||D.expand<1?I.clientHeight>500&&I.clientWidth>500?500:370:D.expand;F._defEx=u;d=u*D.expFactor;f=D.hFac;E=null;if(_<d&&L<1&&N>2&&y>2&&!k.hidden){_=d;N=0}else if(y>1&&N>1&&L<6){_=u}else{_=w}}if(l!==n){g=innerWidth+n*f;h=innerHeight+n;o=n*-1;l=n}i=c[t].getBoundingClientRect();if((A=i.bottom)>=o&&(p=i.top)<=h&&(b=i.right)>=o*f&&(z=i.left)<=g&&(A||b||z||p)&&(D.loadHidden||R(c[t]))&&(m&&L<3&&!s&&(y<3||N<4)||x(c[t],n))){q(c[t]);r=true;if(L>9){break}}else if(!r&&m&&!a&&L<4&&N<4&&y>2&&(v[0]||D.preloadAfterLoad)&&(v[0]||!s&&(A||b||z||p||c[t][O](D.sizesAttr)!="auto"))){a=v[0]||c[t]}}if(a&&!r){q(a)}}};var i=ie(t);var S=function(e){var t=e.target;if(t._lazyCache){delete t._lazyCache;return}M(e);Z(t,D.loadedClass);G(t,D.loadingClass);K(t,T);V(t,"lazyloaded")};var a=te(S);var T=function(e){a({target:e.target})};var W=function(t,i){try{t.contentWindow.location.replace(i)}catch(e){t.src=i}};var B=function(e){var t;var i=e[O](D.srcsetAttr);if(t=D.customMedia[e[O]("data-media")||e[O]("media")]){e.setAttribute("media",t)}if(i){e.setAttribute("srcset",i)}};var o=te(function(t,e,i,a,r){var n,o,s,l,u,d;if(!(u=V(t,"lazybeforeunveil",e)).defaultPrevented){if(a){if(i){Z(t,D.autosizesClass)}else{t.setAttribute("sizes",a)}}o=t[O](D.srcsetAttr);n=t[O](D.srcAttr);if(r){s=t.parentNode;l=s&&J.test(s.nodeName||"")}d=e.firesLoad||"src"in t&&(o||n||l);u={target:t};Z(t,D.loadingClass);if(d){clearTimeout(f);f=P(M,2500);K(t,T,true)}if(l){U.call(s.getElementsByTagName("source"),B)}if(o){t.setAttribute("srcset",o)}else if(n&&!l){if(c.test(t.nodeName)){W(t,n)}else{t.src=n}}if(r&&(o||l)){X(t,{src:n})}}if(t._lazyRace){delete t._lazyRace}G(t,D.lazyClass);ee(function(){var e=t.complete&&t.naturalWidth>1;if(!d||e){if(e){Z(t,"ls-is-cached")}S(u);t._lazyCache=true;P(function(){if("_lazyCache"in t){delete t._lazyCache}},9)}if(t.loading=="lazy"){L--}},true)});var q=function(e){if(e._lazyRace){return}var t;var i=n.test(e.nodeName);var a=i&&(e[O](D.sizesAttr)||e[O]("sizes"));var r=a=="auto";if((r||!m)&&i&&(e[O]("src")||e.srcset)&&!e.complete&&!Q(e,D.errorClass)&&Q(e,D.lazyClass)){return}t=V(e,"lazyunveilread").detail;if(r){re.updateElem(e,true,e.offsetWidth)}e._lazyRace=true;L++;o(e,t,r,a,i)};var r=ae(function(){D.loadMode=3;i()});var s=function(){if(D.loadMode==3){D.loadMode=2}r()};var l=function(){if(m){return}if(d.now()-e<999){P(l,999);return}m=true;D.loadMode=3;i();H("scroll",s,true)};return{_:function(){e=d.now();F.elements=k.getElementsByClassName(D.lazyClass);v=k.getElementsByClassName(D.lazyClass+" "+D.preloadClass);H("scroll",i,true);H("resize",i,true);H("pageshow",function(e){if(e.persisted){var t=k.querySelectorAll("."+D.loadingClass);if(t.length&&t.forEach){j(function(){t.forEach(function(e){if(e.complete){q(e)}})})}}});if(u.MutationObserver){new MutationObserver(i).observe(I,{childList:true,subtree:true,attributes:true})}else{I[$]("DOMNodeInserted",i,true);I[$]("DOMAttrModified",i,true);setInterval(i,999)}H("hashchange",i,true);["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){k[$](e,i,true)});if(/d$|^c/.test(k.readyState)){l()}else{H("load",l);k[$]("DOMContentLoaded",i);P(l,2e4)}if(F.elements.length){t();ee._lsFlush()}else{i()}},checkElems:i,unveil:q,_aLSL:s}}(),re=function(){var i;var n=te(function(e,t,i,a){var r,n,o;e._lazysizesWidth=a;a+="px";e.setAttribute("sizes",a);if(J.test(t.nodeName||"")){r=t.getElementsByTagName("source");for(n=0,o=r.length;n<o;n++){r[n].setAttribute("sizes",a)}}if(!i.detail.dataAttr){X(e,i.detail)}});var a=function(e,t,i){var a;var r=e.parentNode;if(r){i=o(e,r,i);a=V(e,"lazybeforesizes",{width:i,dataAttr:!!t});if(!a.defaultPrevented){i=a.detail.width;if(i&&i!==e._lazysizesWidth){n(e,r,a,i)}}}};var e=function(){var e;var t=i.length;if(t){e=0;for(;e<t;e++){a(i[e])}}};var t=ae(e);return{_:function(){i=k.getElementsByClassName(D.autosizesClass);H("resize",t)},checkElems:t,updateElem:a}}(),t=function(){if(!t.i&&k.getElementsByClassName){t.i=true;re._();e._()}};return P(function(){D.init&&t()}),F={cfg:D,autoSizer:re,loader:e,init:t,uP:X,aC:Z,rC:G,hC:Q,fire:V,gW:o,rAF:ee}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{}),
/*! 
 * lazysizes - v5.2.2
 * Source: https://github.com/aFarkas/lazysizes/blob/gh-pages/plugins/aspectratio/ls.aspectratio.js
 */
function(e,t){var i=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",i,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?i():e.addEventListener("lazyunveilread",i,!0)}(window,function(n,o,e){"use strict";var s,t,i,a,l,u,r,d,f,c,v,m,y;function g(){this.ratioElems=o.getElementsByClassName("lazyaspectratio"),this._setupEvents(),this.processImages()}n.addEventListener&&(s=Array.prototype.forEach,l=/^picture$/i,r="img["+(u="data-aspectratio")+"]",d=function(e){return n.matchMedia?(d=function(e){return!e||(matchMedia(e)||{}).matches})(e):n.Modernizr&&Modernizr.mq?!e||Modernizr.mq(e):!e},f=e.aC,c=e.rC,v=e.cfg,g.prototype={_setupEvents:function(){function t(e){e.naturalWidth<36?a.addAspectRatio(e,!0):a.removeAspectRatio(e,!0)}function e(){a.processImages()}var i,a=this;function r(){s.call(a.ratioElems,t)}o.addEventListener("load",function(e){e.target.getAttribute&&e.target.getAttribute(u)&&t(e.target)},!0),addEventListener("resize",function(){clearTimeout(i),i=setTimeout(r,99)}),o.addEventListener("DOMContentLoaded",e),addEventListener("load",e)},processImages:function(e){for(var t=("length"in(e=e||o)&&!e.nodeName?e:e.querySelectorAll(r)),i=0;i<t.length;i++)36<t[i].naturalWidth?this.removeAspectRatio(t[i]):this.addAspectRatio(t[i])},getSelectedRatio:function(e){var t,i,a,r,n,o=e.parentNode;if(o&&l.test(o.nodeName||""))for(t=0,i=(a=o.getElementsByTagName("source")).length;t<i;t++)if(r=a[t].getAttribute("data-media")||a[t].getAttribute("media"),v.customMedia[r]&&(r=v.customMedia[r]),d(r)){n=a[t].getAttribute(u);break}return n||e.getAttribute(u)||""},parseRatio:(m=/^\s*([+\d\.]+)(\s*[\/x]\s*([+\d\.]+))?\s*$/,y={},function(e){var t;return!y[e]&&(t=e.match(m))&&(t[3]?y[e]=t[1]/t[3]:y[e]=+t[1]),y[e]}),addAspectRatio:function(e,t){var i,a=e.offsetWidth,r=e.offsetHeight;t||f(e,"lazyaspectratio"),a<36&&r<=0?(a||r&&n.console)&&console.log("Define width or height of image, so we can calculate the other dimension"):(i=this.getSelectedRatio(e),(i=this.parseRatio(i))&&(a?e.style.height=a/i+"px":e.style.width=r*i+"px"))},removeAspectRatio:function(e){c(e,"lazyaspectratio"),e.style.height="",e.style.width="",e.removeAttribute(u)}},(i=function(){(a=n.jQuery||n.Zepto||n.shoestring||n.$)&&a.fn&&!a.fn.imageRatio&&a.fn.filter&&a.fn.add&&a.fn.find?a.fn.imageRatio=function(){return t.processImages(this.find(r).add(this.filter(r))),this}:a=!1})(),setTimeout(i),t=new g,n.imageRatio=t,"object"==typeof module&&module.exports?module.exports=t:"function"==typeof define&&define.amd&&define(t))}),
/*! 
 * lazysizes - v5.2.2
 * Source: https://github.com/aFarkas/lazysizes/blob/gh-pages/plugins/unveilhooks/ls.unveilhooks.js
 */
function(e,t){var i=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",i,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?i():e.addEventListener("lazyunveilread",i,!0)}(window,function(e,r,n){"use strict";var o,s,l={};function u(e,t){var i,a;l[e]||(i=r.createElement(t?"link":"script"),a=r.getElementsByTagName("script")[0],t?(i.rel="stylesheet",i.href=e):i.src=e,l[e]=!0,l[i.src||i.href]=!0,a.parentNode.insertBefore(i,a))}r.addEventListener&&(o=function(e,t){var i=r.createElement("img");i.onload=function(){i.onload=null,i.onerror=null,i=null,t()},i.onerror=i.onload,i.src=e,i&&i.complete&&i.onload&&i.onload()},addEventListener("lazybeforeunveil",function(e){var t,i,a;if(e.detail.instance==n&&!e.defaultPrevented){var r=e.target;if("none"==r.preload&&(r.preload=r.getAttribute("data-preload")||"auto"),null!=r.getAttribute("data-autoplay"))if(r.getAttribute("data-expand")&&!r.autoplay)try{r.play()}catch(e){}else requestAnimationFrame(function(){r.setAttribute("data-expand","-10"),n.aC(r,n.cfg.lazyClass)});(t=r.getAttribute("data-link"))&&u(t,!0),(t=r.getAttribute("data-script"))&&u(t),(t=r.getAttribute("data-require"))&&(n.cfg.requireJs?n.cfg.requireJs([t]):u(t)),(i=r.getAttribute("data-bg"))&&(e.detail.firesLoad=!0,o(i,function(){r.style.backgroundImage="url("+(s.test(i)?JSON.stringify(i):i)+")",e.detail.firesLoad=!1,n.fire(r,"_lazyloaded",{},!0,!0)})),(a=r.getAttribute("data-poster"))&&(e.detail.firesLoad=!0,o(a,function(){r.poster=a,e.detail.firesLoad=!1,n.fire(r,"_lazyloaded",{},!0,!0)}))}},!(s=/\(|\)|\s|'/)))});
!function(){"use strict";function e(e,t){var n;const o=window.scrollY;let r=0;if(Number.isInteger(e))r=e;else{const n=e.getBoundingClientRect();r=n.top+o-t,r<0&&(r=0)}if(null===(n=window.swellVars)||void 0===n?void 0:n.offSmoothScroll)return void window.scrollTo(0,r);let i=null,c=500;const s=Math.abs(r-o);1e4<s?c=1500:5e3<s?c=1e3:1e3<s&&(c=750);const l=e=>{const t=e-i,n=Math.min(1,t/c),s=o+(r-o)*(a=n,1-Math.pow(1-a,3));var a;window.scrollTo(0,s),n<1&&requestAnimationFrame(l)};i=performance.now(),l(i)}window.swellVars.isFixHeadSP,navigator.userAgent.toLowerCase();const t={pageTop(){e(0,0)},toggleMenu(){"opened"===document.documentElement.getAttribute("data-spmenu")?document.documentElement.setAttribute("data-spmenu","closed"):document.documentElement.setAttribute("data-spmenu","opened")},toggleSearch(){const e=document.getElementById("search_modal");if(null===e)return!1;e.classList.contains("is-opened")?e.classList.remove("is-opened"):(e.classList.add("is-opened"),setTimeout((()=>{e.querySelector('[name="s"]').focus()}),250))},toggleIndex(){const e=document.getElementById("index_modal");null!==e&&e.classList.toggle("is-opened")},toggleAccordion(){},toggleSubmenu(e){const t=e.currentTarget,n=t.parentNode.nextElementSibling;t.classList.toggle("is-opened"),n.classList.toggle("is-opened"),e.stopPropagation()},tabControl(e){const t=e.currentTarget,n="true"===t.getAttribute("aria-selected");if(0===e.clientX||t.blur(),n)return;const o=t.getAttribute("aria-controls"),r=document.getElementById(o);if(null===r)return;const i=t.closest('[role="tablist"]').querySelector('.c-tabList__item [aria-selected="true"]'),c=i.getAttribute("aria-controls"),s=document.getElementById(c);t.setAttribute("aria-selected","true"),i.setAttribute("aria-selected","false"),r.setAttribute("aria-hidden","false"),s.setAttribute("aria-hidden","true")},scrollToContent(){const t=document.querySelector("#main_visual + *");t&&e(t,-8)},clickLink(e){const t=e.currentTarget.querySelector("a");"mousedown"===e.type?1===e.button&&window.open(t.getAttribute("href")):(t.onclick=e=>(e.stopPropagation(),!0),t.click())}};document.addEventListener("DOMContentLoaded",(function(){!function(){const e=document.getElementById("header");if(null===e)return;const n=document.getElementById("fix_header");if(null!==n){if(e.classList.contains("-series")){const r=e.querySelector(".w-header"),i=n.querySelector(".l-fixHeader__inner");if(r&&i){const e=r.cloneNode(!0);i.appendChild(e),(o=i.querySelector(".w-header")).querySelectorAll("[data-onclick]").forEach((e=>{const n=e.getAttribute("data-onclick"),o=t[n];e.addEventListener("click",(function(e){e.preventDefault(),o(e)}))})),o.querySelectorAll('[data-onclick="clickLink"]').forEach((e=>{e.addEventListener("mousedown",(e=>t.clickLink(e)))}))}}var o;setTimeout((()=>{n.setAttribute("data-ready","1")}),250)}}()}))}();
!function(){function e(){document.querySelectorAll('[data-onclick="toggleAccordion"]').forEach((e=>{e.addEventListener("click",(function(e){e.preventDefault(),function(e){const t=e.parentNode,a=e.nextElementSibling,n=e.lastElementChild;"false"===t.getAttribute("aria-expanded")?(t.classList.add("is-opened"),t.setAttribute("aria-expanded","true"),a.setAttribute("aria-hidden","false"),n.setAttribute("data-opened","true")):(t.classList.remove("is-opened"),t.setAttribute("aria-expanded","false"),a.setAttribute("aria-hidden","true"),n.setAttribute("data-opened","false"))}(e.currentTarget)}))})),document.querySelectorAll('[data-swl-acc="wrapper"]').forEach((e=>{!function(e){const t=e.querySelector('[data-swl-acc="header"]'),a=e.querySelector('[data-swl-acc="icon"]');t.addEventListener("click",(t=>{t.preventDefault(),e.open?e.open&&(e.classList.remove("is-opened"),a.dataset.opened="false",setTimeout((()=>{e.open=!1}),255)):(e.open=!0,setTimeout((()=>{e.classList.add("is-opened"),a.dataset.opened="true"}),5))})),e.addEventListener("toggle",(()=>{const t=e.classList.contains("is-opened");e.open&&!t?e.classList.add("is-opened"):!e.open&&t&&e.classList.remove("is-opened")}))}(e)}))}document.addEventListener("DOMContentLoaded",e),window.SWELLHOOK&&window.SWELLHOOK.barbaAfter.add(e)}();