(window.blocksyJsonP=window.blocksyJsonP||[]).push([[1],{11:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return c}));var o=t(12),r=function(e){Object(o.enableBodyScroll)(e,{reserveScrollBarGap:!0})},c=function(e){Object(o.disableBodyScroll)(e,{reserveScrollBarGap:!0})}},12:function(e,n,t){var o,r,c;r=[n],void 0===(c="function"==typeof(o=function(e){"use strict";function n(e){if(Array.isArray(e)){for(var n=0,t=Array(e.length);n=0})).sort(f)},v=["button:enabled:not([readonly])","select:enabled:not([readonly])","textarea:enabled:not([readonly])","input:enabled:not([readonly])","a[href]","area[href]","iframe","object","embed","[tabindex]","[contenteditable]","[autofocus]"],m=v.join(","),p=m+", [data-focus-guard]",y=function(e,n){return e.reduce((function(e,t){return e.concat(r(t.querySelectorAll(n?p:m)),t.parentNode?r(t.parentNode.querySelectorAll(v.join(","))).filter((function(e){return e===t})):[])}),[])},b=function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.push(n),n.parentNode&&e(n.parentNode,t),t},h=function(e,n){for(var t=b(e),o=b(n),r=0;r=0)return c}return!1},g=function(e){return r(e).filter((function(e){return function e(n){return!n||n===document||n.nodeType===Node.DOCUMENT_NODE||!((t=window.getComputedStyle(n,null))&&t.getPropertyValue&&("none"===t.getPropertyValue("display")||"hidden"===t.getPropertyValue("visibility")))&&e(n.parentNode);var t}(e)})).filter((function(e){return function(e){return!(("INPUT"===e.tagName||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))}(e)}))},S=function(e,n){return s(g(y(e,n)),!0,n)},w=function(e){return g((n=e.querySelectorAll("[data-autofocus-inside]"),r(n).map((function(e){return y([e])})).reduce((function(e,n){return e.concat(n)}),[])));var n},O=function(e){return"INPUT"===e.tagName&&"radio"===e.type},E=function(e,n){return n.filter(O).filter((function(n){return n.name===e.name})).filter((function(e){return e.checked}))[0]||e},A=function(e,n){return e.length>1&&O(e[n])&&e[n].name?e.indexOf(E(e[n],e)):n},k=function(e){return e[0]&&e.length>1&&O(e[0])&&e[0].name?E(e[0],e):e[0]},x=function(e){return e&&e.dataset&&e.dataset.focusGuard},L=function(e){return!x(e)},j=function(e,n,t){var o=c(e),r=c(n),i=o[0],a=null;return r.filter(Boolean).forEach((function(e){a=h(a||e,e)||a,t.filter(Boolean).forEach((function(e){var n=h(i,e);n&&(a=!a||n.contains(a)?n:h(n,a))}))})),a},q=function(e,n){var t=document&&document.activeElement,o=u(e).filter(L),r=j(t||e,e,o),c=S(o).filter((function(e){var n=e.node;return L(n)}));if(c[0]||(c=(i=o,s(g(y(i)),!1)).filter((function(e){var n=e.node;return L(n)})))[0]){var i,a,l,d,f,v=S([r]).map((function(e){return e.node})),m=(a=v,l=c,d=new Map,l.forEach((function(e){return d.set(e.node,e)})),a.map((function(e){return d.get(e)})).filter(Boolean)),p=m.map((function(e){return e.node})),b=function(e,n,t,o,r){var c=e.length,i=e[0],a=e[c-1],u=x(t);if(!(e.indexOf(t)>=0)){var l=n.indexOf(t),d=n.indexOf(o||l),f=e.indexOf(o),s=l-d,v=n.indexOf(i),m=n.indexOf(a),p=A(e,0),y=A(e,c-1);return-1===l||-1===f?e.indexOf(r&&r.length?k(r):k(e)):!s&&f>=0?f:l<=v&&u&&Math.abs(s)>1?y:l>=v&&u&&Math.abs(s)>1?p:s&&Math.abs(s)>1?f:l<=v?y:l>m?p:s?Math.abs(s)>1?f:(c+f+s)%c:void 0}}(p,v,t,n,p.filter((f=function(e){return e.reduce((function(e,n){return e.concat(w(n))}),[])}(o),function(e){return!!e.autofocus||e.dataset&&!!e.dataset.autofocus||f.indexOf(e)>=0})));return void 0===b?b:m[b]}},C=0,P=!1,T=function(e,n){var t,o=q(e,n);if(!P&&o){if(C>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),P=!0,void setTimeout((function(){P=!1}),1);C++,(t=o.node).focus(),t.contentWindow&&t.contentWindow.focus(),C--}},B=0,I=null,N=function(){return document&&document.activeElement===document.body||i()},M=function(e){B=e,e&&function(){var e=!1;if(B){var n=B;N()||(n&&!d(n)&&(e=T(n,I)),I=document.activeElement)}}()},D=[],W=function(e){return!!M((n=D,n.filter((function(e){return e})).slice(-1)[0]))&&(e&&e.preventDefault(),!0);var n},G={on:function(e){0===D.length&&document.addEventListener("focusin",W),D.indexOf(e)<0&&(D.push(e),W())},off:function(e){D=D.filter((function(n){return n!==e})),W(),0===D.length&&document.removeEventListener("focusin",W)}},U=t(0),R=t.n(U);function V(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return _(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t-1?":left":e.container.dataset.behaviour.indexOf("right")>-1?":right":"")),e.container.addEventListener(e.container.dataset.behaviour.indexOf("side")>-1?"transitionend":"animationend",(function(){}),{once:!0}),e.forceOpen||document.addEventListener("keyup",(function(n){var t=n.keyCode;n.target;27===t&&(n.preventDefault(),document.body.hasAttribute("data-panel")&&K(e))}),{once:!0}),e.container&&e.container.querySelector(".close-button")&&e.container.querySelector(".close-button").addEventListener("click",(function(n){n.preventDefault(),K(e)}),{once:!0}),(e.computeScrollContainer||e.container.querySelector(".ct-panel-content"))&&(Object(o.a)(e.computeScrollContainer()||e.container.querySelector(".ct-panel-content")),G.on(e.container.querySelector(".ct-panel-content"))),e.forceOpen||requestAnimationFrame((function(){return window.addEventListener("click",e.handleWindowClick)}))},K=function(e){if(e=H({onClose:function(){},container:null},e),!document.body.hasAttribute("data-panel"))return e.container.classList.remove("active"),void e.onClose();V(document.querySelectorAll('[href*="'.concat(e.container.id,'"]'))).map((function(e){e.classList.remove("active")})),e.container.classList.remove("active"),document.body.dataset.panel="out",e.container.addEventListener("transitionend",(function(){setTimeout((function(){document.body.removeAttribute("data-panel"),R.a.trigger("ct:modal:closed",e.container),Object(o.b)(e.computeScrollContainer()||e.container.querySelector(".ct-panel-content")),G.off(e.container.querySelector(".ct-panel-content"))}),300)}),{once:!0});window.removeEventListener("click",e.handleWindowClick),e.container.removeEventListener("click",e.handleContainerClick),e.onClose()},$=function(e,n){if(e.preventDefault(),n=H({onClose:function(){},container:null,focus:!0,clickOutside:!0,isModal:!1,forceOpen:!1,computeScrollContainer:null,handleContainerClick:function(e){e.target!==n.container.querySelector(".ct-panel-content")&&e.target.closest(".ct-panel-content")||document.body.hasAttribute("data-panel")&&K(n)},handleWindowClick:function(e){n.container.contains(e.target)||e.target===document.body||document.body.hasAttribute("data-panel")&&K(n)}},n),document.body.hasAttribute("data-panel")&&!n.forceOpen)if(n.isModal&&!n.container.classList.contains("active")){var t=document.querySelector(".ct-header-trigger");t&&t.click(),setTimeout((function(){Y(n)}),600)}else K(n);else Y(n)};R.a.on("ct:offcanvas:force-close",(function(e){return K(e)}));var z=function(e){e.hasSearchEventListener||(e.hasSearchEventListener=!0,e.addEventListener("click",(function(n){$(n,{isModal:!0,container:document.querySelector(e.hash),clickOutside:!0})})))}}}]);