!function(e){var n={};function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)t.d(o,r,function(n){return e[n]}.bind(null,r));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/assets/themes/j1/core/js",t(t.s=0)}([function(e,n,t){window.j1.adapter=t(1),window.j1.core=t(2),window.j1.core.navigator=t(3),window.j1.core.cookiebar=t(4),window.j1.core.scrollSmooth=t(5),window.j1.anime=t(6);t(7),t(14)},function(e,n,t){"use strict"; /*! * J1 Adapter * Copyright (C) 2020 Juergen Adams * Licensed under MIT License. */e.exports=(j1,window,{_init_:function(){}})},function(e,n,t){"use strict"; /*! * J1 Core * Copyright (C) 2020 Juergen Adams * Licensed under MIT License. */e.exports=function(e){$.extend({foo:"foo_option",bar:"bar_option"},void 0);return{_init_:function(e){},getState:function(){return"loaded"},isMobile:function(e){var n,t=!1;return n=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm|cell|chtm|cldc|cmd|co(mp|nd)|craw|da(it|ll|ng)|dbte|dcs|devi|dica|dmob|do(c|p)o|ds(12|d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(|_)|g1 u|g560|gene|gf5|gmo|go(\.w|od)|gr(ad|un)|haie|hcit|hd(m|p|t)|hei|hi(pt|ta)|hp( i|ip)|hsc|ht(c(| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i(20|go|ma)|i230|iac( ||\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|[a-w])|libw|lynx|m1w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|mcr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|([1-8]|c))|phil|pire|pl(ay|uc)|pn2|po(ck|rt|se)|prox|psio|ptg|qaa|qc(07|12|21|32|60|[2-7]|i)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h|oo|p)|sdk\/|se(c(|0|1)|47|mc|nd|ri)|sgh|shar|sie(|m)|sk0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h|v|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl|tdg|tel(i|m)|tim|tmo|to(pl|sh)|ts(70|m|m3|m5)|tx9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas|your|zeto|zte/i.test(n.substr(0,4)))&&(t=!0),t},bsFormClearButton:function(){$(":input").on("keydown focus change mouseover",(function(){$(this).val().length>0&&$(this).nextAll(".form-clear").removeClass("d-none")})).on("keydown keyup blur",(function(){0===$(this).val().length&&$(this).nextAll(".form-clear").addClass("d-none")}))}}}()},function(e,n){ /*! * J1 Navigator * Copyright (C) 2020 Juergen Adams * Licensed under MIT License. */ e.exports=function(e){var n,t,o=j1.getCookieNames(),r=(o.cookie_consent,o.user_session,{});$.extend({foo:"bar",bar:"foo"},e);return{init:function(e,o){return n=log4javascript.getLogger("j1.core.navigator"),t="core is being initialized",n.info(t),this.manageDropdownMenu(e,o),this.navbarSticky(),r.type="command",r.action="module_initialized",r.text="navigator core initialized successfully",j1.sendMessage("j1.core.navigator","j1.adapter.navigator",r),!0},eventHandler:function(){var e=log4javascript.getLogger("j1.core.navigator.eventHandler"),n=$("nav.navbar.navigator");if(n.hasClass("navbar-sticky")&&n.wrap("
"),n.hasClass("brand-center")){var t=new Array,o=$("nav.brand-center"),r=o.find("ul.navbar-nav");o.find("ul.navbar-nav > li").each((function(){t.push($(this).html())}));var a=t.splice(0,Math.round(t.length/2)),i=t,s="",l=function(e){s="";for(var n=0;n"+e[n]+""};l(a),r.html(s),o.find("ul.nav").first().addClass("navbar-left"),l(i),r.after('').next().html(s),o.find("ul.nav").last().addClass("navbar-right"),o.find("ul.nav.navbar-left").wrap("
"),o.find("ul.nav.navbar-right").wrap("
"),o.find("ul.navbar-nav > li").each((function(){var e=$("ul.dropdown-menu",this),n=$("ul.megamenu-content",this);e.closest("li").addClass("dropdown"),n.closest("li").addClass("megamenu-fw")}))}n.find("ul.nav").hasClass("navbar-center")&&n.addClass("menu-center"),n.hasClass("navbar-full")?($("nav.navbar.navigator").find("ul.nav").wrap("
"),$(".wrap-full-menu").wrap(""),$("ul.nav.navbar-nav").prepend("
  • ")):n.hasClass("navbar-mobile")?n.removeClass("no-full"):n.addClass("no-full"),n.hasClass("no-background")&&$(window).on("scroll",(function(){var e=$("nav.navbar").outerHeight();$(window).scrollTop()>e?$(".navbar-fixed").removeClass("no-background"):$(".navbar-fixed").addClass("no-background")})),n.hasClass("navbar-transparent")&&$(window).on("scroll",(function(){var e=$("nav.navbar").outerHeight();$(window).scrollTop()>e?($(".navbar-fixed").removeClass("navbar-transparent"),$(".navbar-fixed").addClass("navbar-scrolled")):($(".navbar-fixed").removeClass("navbar-scrolled"),$(".navbar-fixed").addClass("navbar-transparent"))})),$("nav.navbar.navigator .attr-nav").each((function(){e.debug("register OPEN event|s for QuickSearch"),$("li.search > a",this).on("click",(function(n){e.debug("manage search action OPEN"),$("html,body").animate({scrollTop:0},0),$(".top-search").slideToggle("slow","swing",(function(){$(".top-search").is(":visible")?($("body").addClass("stop-scrolling"),$("body").bind("touchmove",(function(e){e.preventDefault()}))):($("body").removeClass("stop-scrolling"),$("body").unbind("touchmove"))}))}))})),e.debug("register CLOSE event|s for QuickSearch"),$(".input-group-addon.close-search").on("click",(function(n){n.preventDefault(),e.debug("manage search action CLOSE"),$(".top-search").slideUp("slow","swing"),$("html,body").animate({scrollTop:0},0),$("body").removeClass("stop-scrolling"),$("body").unbind("touchmove"),n.stopPropagation()})),$("nav.navbar.navigator .attr-nav").each((function(){e.debug("register SHOW|HIDE event|s for J1 Translator"),$("li.translator > a",this).on("click",(function(n){e.debug("toggle translator icon SHOW|HIDE"),$("#google_translate_element").toggle(),"none"!==$("#google_translate_element").css("display")&&$("html,body").animate({scrollTop:0},"slow")}))})),$("body").wrapInner("
    ")},manageDropdownMenu:function(e,n){var t,o,r,a,i=e,s=n,l=$("nav.navbar.navigator"),c=(window.matchMedia("(orientation: landscape)").matches,$(window).width()),u=($("nav").width(),l.find("ul.nav").data("in")),d=l.find("ul.nav").data("out"),f="#"+s.xhr_container_id+".collapse",p=s.delay_menu_open;if(c<=(o="lg"===i.nav_bar.media_breakpoint?992:"md"===i.nav_bar.media_breakpoint?768:"sm"===i.nav_bar.media_breakpoint?576:992)?($(f).addClass("navbar-collapse"),$(f).removeClass("show"),$("#navigator_nav_quicklinks").addClass("show"),$("nav.navbar.navigator .attr-nav").each((function(){$(".dropdown-menu",this).removeClass("animated"),$("li.dropdown",this).off("mouseenter"),$("li.dropdown",this).off("mouseleave"),$("a.dropdown-toggle",this).off("click"),$("a.dropdown-toggle",this).on("click",(function(e){$(this).closest("li.dropdown").find(".dropdown-menu").first().stop().fadeToggle(),$(".navbar-toggle").each((function(){$(".mdi",this).removeClass("mdi-close"),$(".mdi",this).addClass("mdi-menu"),$(".navbar-collapse").removeClass("in"),$(".navbar-collapse").removeClass("open")}))})),$(this).on("mouseleave",(function(){$(".dropdown-menu",this).stop().fadeOut(),$("li.dropdown",this).removeClass("open")}))})),$("#desktop_menu").hide()):c>o&&($("#navigator_nav_quicklinks").removeClass("show"),$("#desktop_menu").show(),$(".dropdown-menu > li").hover((function(){var e=$(this).find("ul");if(1==e.length)e.height(),void 0!==e.css("max-height")&&e.css("max-height").match(/\d+/)[0]})),$(".dropdown-menu > li").on("mouseleave",(function(){$("body").removeClass("stop-scrolling")})),$(f).removeClass("navbar-collapse"),$(f).addClass("show"),$("nav.navbar.navigator ul.nav").each((function(){$("a.dropdown-toggle",this).off("click"),$("a.dropdown-toggle",this).on("click",(function(e){})),$(".megamenu-fw",this).each((function(){$(".title",this).off("click"),$("a.dropdown-toggle",this).off("click"),$(".content").removeClass("animated")})),$(".dropdown-menu",this).addClass("animated"),$("li.dropdown",this).on("mouseenter",(function(){if(t=$(".dropdown-menu",this).eq(0),r=$(this),$("body").hasClass("stop-scrolling")||$("body").hasClass("mm-ocd-opened"))return!1;t.removeClass(d),t.removeClass("open"),r.addClass("open"),a=window.setTimeout((function(){r.hasClass("open")&&(t.stop().fadeIn().addClass(u),t.addClass("open"),r.addClass("open"))}),p)})),$("li.dropdown",this).on("mouseleave",(function(){window.clearTimeout(a),$(this).removeClass("open").removeClass("open"),$(".dropdown-menu",this).removeClass("open"),$(".dropdown-menu",this).eq(0).removeClass(u),$(".dropdown-menu",this).eq(0).stop().fadeOut().addClass(d)})),$(this).on("mouseleave",(function(){window.clearTimeout(a),$("li.dropdown",this).removeClass("open"),$(".dropdown-menu",this).removeClass("open"),$(".dropdown-menu",this).removeClass(u),$(".dropdown-menu",this).eq(0).stop().fadeOut().addClass(d)}))}))),$("nav.navbar.navigator .attr-nav").each((function(){$("a.dropdown-toggle",this).off("click"),$("a.dropdown-toggle",this).on("click",(function(e){})),$(".dropdown-menu",this).addClass("animated"),$("li.dropdown",this).on("mouseenter",(function(){$(".dropdown-menu",this).eq(0).removeClass(d),$(".dropdown-menu",this).eq(0).stop().fadeIn().addClass(u),$(this).addClass("open")})),$("li.dropdown",this).on("mouseleave",(function(){$(".dropdown-menu",this).eq(0).removeClass(u),$(".dropdown-menu",this).eq(0).stop().fadeOut().addClass(d),$(this).removeClass("open")})),$(this).on("mouseleave",(function(){$(".dropdown-menu",this).removeClass(u),$(".dropdown-menu",this).eq(0).stop().fadeOut().addClass(d),$("li.dropdown",this).removeClass("open")}))})),l.hasClass("navbar-full")){var m=$(window).height(),v=$(window).width();$(".nav-full").css("height",m+"px"),$(".wrap-full-menu").css("height",m+"px"),$(".wrap-full-menu").css("width",v+"px"),$(".navbar-collapse").addClass("animated"),$(".navbar-toggle").each((function(){var e=$(this).data("target");$(this).off("click"),$(this).on("click",(function(n){n.preventDefault(),$(e).removeClass(d),$(e).addClass("in"),$(e).addClass(u)})),$("li.close-full-menu").on("click",(function(n){n.preventDefault(),$(e).addClass(d),setTimeout((function(){$(e).removeClass("in"),$(e).removeClass(u)}),500)}))}))}},navbarSticky:function(){var e=$("nav.navbar.navigator");if(e.hasClass("navbar-sticky")){var n=e.height();$(".wrap-sticky").height(n);var t=$(".wrap-sticky").offset().top;$(window).on("scroll",(function(){$(window).scrollTop()>t?e.addClass("sticked"):e.removeClass("sticked")}))}},updateSidebar:function(e){var n,o=log4javascript.getLogger("j1.core.navigator.updateSidebar");return n=JSON.stringify(e),t="user state data: "+n,o.debug(t),j1.resolveMacros(e),j1.updateMacros(e),!0}}}(jQuery)},function(e,n){ /*! * J1 Cookiebar * Copyright (C) 2020 Juergen Adams * Licensed under MIT License. */ e.exports=(jQuery,{init:function(e){var n=e,t=log4javascript.getLogger("j1.cookiebar");const o=j1.getCookieNames().user_state;var r={},a={renewOnVisit:!1,forceShow:!1,domain:String(window.location.hostname),referrer:String(document.referrer)},i=(e=$.extend(a,n),setInterval((function(e){"finished"==j1.getState()&&(user_state_detected=j1.existsCookie(o),user_state_detected?(t.info("User state cookie found"),r=j1.readCookie(o)):t.error("User state NOT cookie found"),"accepted"==r.cookies_accepted&&$("#quickLinksCookieButton").css("display","block"),"pending"!=r.cookies_accepted&&"declined"!=r.cookies_accepted||$("#quickLinksCookieButton").css("display","none"),"pending"!=r.cookies_accepted&&"declined"!=r.cookies_accepted&&""!=r.cookies_accepted||$("#topFullCookieConsent").modal("show"),clearInterval(i))})))},eventHandler:function(e){var n=log4javascript.getLogger("cookiebar.eventHandler"),t=window.location.pathname,o=document.querySelectorAll("a.btn"),r=(j1.appDetected(),e.deleteOnDecline,e.whitelistedPages),a=(r=[],e.stopScrolling),i=j1.getCookieNames();const s=i.user_state;var l,c={},u=j1.readCookie(s);return logText="register button click events",n.debug(logText),o.forEach((function(e,o){e.addEventListener("click",(function(e){return"policyButton"===this.id?(n.debug("user clicked policyButton"),$("#cookiePolicyInfo").toggle("fast",(function(){$("#modal-footer").toggleClass("modal-footer-hidden modal-footer-show")})),!1):"acceptButton"===this.id?(n.debug("user clicked acceptButton"),(u=j1.readCookie(s)).cookies_accepted="accepted",j1.writeCookie({name:s,data:u,expires:365}),n.info("update sidebar"),c=j1.readCookie(i.user_state),user_session=j1.readCookie(i.user_session),current_user_data=j1.mergeData(user_session,c),j1.core.navigator.updateSidebar(current_user_data),$("#quickLinksCookieButton").css("display","block"),!1):"declineButton"===this.id?(n.debug("user clicked declineButton"),u.cookies_accepted="declined",t=window.location.pathname,l=r.indexOf(t)>-1,n.info("update sidebar"),c=j1.readCookie(i.user_state),user_session=j1.readCookie(i.user_session),current_user_data=j1.mergeData(user_session,c),j1.core.navigator.updateSidebar(current_user_data),n.warn("delete all cookies"),j1.deleteCookie(s),$("#quickLinksCookieButton").css("display","none"),l||j1.goHome(),!1):("revokeCookies"===this.id&&(n.debug("user clicked revokeCookiesButton"),t=window.location.pathname,l=r.indexOf(t)>-1,(u=j1.readCookie(s)).cookies_accepted="declined",j1.writeCookie({name:s,data:u,expires:365}),n.info("update sidebar"),c=j1.readCookie(i.user_state),user_session=j1.readCookie(i.user_session),current_user_data=j1.mergeData(user_session,c),j1.core.navigator.updateSidebar(current_user_data),$("#quickLinksCookieButton").css("display","none"),l||j1.goHome()),"remainCookies"===this.id?(n.debug("user clicked remainCookiesButton"),!1):void 0)}))})),$(document).on("shown.bs.modal","#cookieRevokeCentralDanger",(function(){n.debug("user opened modal: cookieRevokeCentralDanger")})),$(document).on("hide.bs.modal","#cookieRevokeCentralDanger",(function(){n.debug("user closed cookieRevokeCentralDanger")})),$(document).on("shown.bs.modal","#topFullCookieConsent",(function(){a&&$("body").addClass("stop-scrolling")})),$(document).on("hide.bs.modal","#topFullCookieConsent",(function(){n.debug("user closed modal: topFullCookieConsent"),$("body").removeClass("stop-scrolling")})),logText="events registered",n.debug(logText),!0}})},function(e,n,t){"use strict"; /*! * J1 scrollSmooth * Copyright (C) 2020 Juergen Adams * Licensed under MIT License. */e.exports=function(e){$.extend({foo:"foo_option",bar:"bar_option"},e);return{scroll:function(e,n){var t,o;o="run module scrollSmooth",(t=log4javascript.getLogger("j1.scrollSmooth.core")).info(o);var r=n.duration,a=n.offset;this.scrollTo(e,{duration:r,offset:a,callback:null}),o="scrollSmooth finished",t.info(o)},scrollTo:function(e,n){n.offset;var t,o,r=$(".attic"),a=$("nav.navbar"),i=$("#adblock"),s=a.hasClass("navbar-fixed")?"fixed":"scrolled",l=$("body").css("font-size").replace("px",""),c=window.pageYOffset,u=parseInt(l),d=r.length?r.height():0,f=a.length?a.height():0,p=i.length?i.height():0,m="fixed"==s?-1*(f+p+u):-1*(d+f+p+u),v={duration:n.duration,offset:m,callback:n.callback,easing:n.easing||function(e,n,t,o){return(e/=o/2)<1?t/2*e*e+n:(e--,-t/2*(e*(e-2)-1)+n)}},h=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]'),g="string"==typeof e?v.offset+(e?h&&h.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,b="function"==typeof v.duration?v.duration(g):v.duration;function w(e){o=e-t,window.scrollTo(0,v.easing(o,c,g,b)),o-1}function c(e,n){return e.apply(null,n)}var u={arr:function(e){return Array.isArray(e)},obj:function(e){return l(Object.prototype.toString.call(e),"Object")},pth:function(e){return u.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||u.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return u.hex(e)||u.rgb(e)||u.hsl(e)},key:function(e){return!o.hasOwnProperty(e)&&!r.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function d(e){var n=/\(([^)]+)\)/.exec(e);return n?n[1].split(",").map((function(e){return parseFloat(e)})):[]}function f(e,n){var t=d(e),o=s(u.und(t[0])?1:t[0],.1,100),r=s(u.und(t[1])?100:t[1],.1,100),a=s(u.und(t[2])?10:t[2],.1,100),l=s(u.und(t[3])?0:t[3],.1,100),c=Math.sqrt(r/o),f=a/(2*Math.sqrt(r*o)),p=f<1?c*Math.sqrt(1-f*f):0,m=f<1?(f*c-l)/p:-l+c;function v(e){var t=n?n*e/1e3:e;return t=f<1?Math.exp(-t*f*c)*(1*Math.cos(p*t)+m*Math.sin(p*t)):(1+m*t)*Math.exp(-t*c),0===e||1===e?e:1-t}return n?v:function(){var n=i.springs[e];if(n)return n;for(var t=0,o=0;;)if(1===v(t+=1/6)){if(++o>=16)break}else o=0;var r=t*(1/6)*1e3;return i.springs[e]=r,r}}function p(e){return void 0===e&&(e=10),function(n){return Math.ceil(s(n,1e-6,1)*e)*(1/e)}}var m,v,h=function(){function e(e,n){return 1-3*n+3*e}function n(e,n){return 3*n-6*e}function t(e){return 3*e}function o(o,r,a){return((e(r,a)*o+n(r,a))*o+t(r))*o}function r(o,r,a){return 3*e(r,a)*o*o+2*n(r,a)*o+t(r)}return function(e,n,t,a){if(0<=e&&e<=1&&0<=t&&t<=1){var i=new Float32Array(11);if(e!==n||t!==a)for(var s=0;s<11;++s)i[s]=o(.1*s,e,t);return function(r){return e===n&&t===a||0===r||1===r?r:o(l(r),n,a)}}function l(n){for(var a=0,s=1;10!==s&&i[s]<=n;++s)a+=.1;--s;var l=a+.1*((n-i[s])/(i[s+1]-i[s])),c=r(l,e,t);return c>=.001?function(e,n,t,a){for(var i=0;i<4;++i){var s=r(n,t,a);if(0===s)return n;n-=(o(n,t,a)-e)/s}return n}(n,l,e,t):0===c?l:function(e,n,t,r,a){var i,s,l=0;do{(i=o(s=n+(t-n)/2,r,a)-e)>0?t=s:n=s}while(Math.abs(i)>1e-7&&++l<10);return s}(n,a,a+.1,e,t)}}}(),g=(m={linear:function(){return function(e){return e}}},v={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var n,t=4;e<((n=Math.pow(2,--t))-1)/11;);return 1/Math.pow(4,3-t)-7.5625*Math.pow((3*n-2)/22-e,2)}},Elastic:function(e,n){void 0===e&&(e=1),void 0===n&&(n=.5);var t=s(e,1,10),o=s(n,.1,2);return function(e){return 0===e||1===e?e:-t*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/t))*(2*Math.PI)/o)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach((function(e,n){v[e]=function(){return function(e){return Math.pow(e,n+2)}}})),Object.keys(v).forEach((function(e){var n=v[e];m["easeIn"+e]=n,m["easeOut"+e]=function(e,t){return function(o){return 1-n(e,t)(1-o)}},m["easeInOut"+e]=function(e,t){return function(o){return o<.5?n(e,t)(2*o)/2:1-n(e,t)(-2*o+2)/2}}})),m);function b(e,n){if(u.fnc(e))return e;var t=e.split("(")[0],o=g[t],r=d(e);switch(t){case"spring":return f(e,n);case"cubicBezier":return c(h,r);case"steps":return c(p,r);default:return c(o,r)}}function w(e){try{return document.querySelectorAll(e)}catch(e){return}}function C(e,n){for(var t=e.length,o=arguments.length>=2?arguments[1]:void 0,r=[],a=0;a1&&(t-=1),t<1/6?e+6*(n-e)*t:t<.5?n:t<2/3?e+(n-e)*(2/3-t)*6:e}if(0==i)n=t=o=s;else{var u=s<.5?s*(1+i):s+i-s*i,d=2*s-u;n=c(d,u,a+1/3),t=c(d,u,a),o=c(d,u,a-1/3)}return"rgba("+255*n+","+255*t+","+255*o+","+l+")"}(e):void 0;var n,t}function T(e){var n=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(n)return n[1]}function L(e,n){return u.fnc(e)?e(n.target,n.id,n.total):e}function O(e,n){return e.getAttribute(n)}function q(e,n,t){if($([t,"deg","rad","turn"],T(n)))return n;var o=i.CSS[n+t];if(!u.und(o))return o;var r=document.createElement(e.tagName),a=e.parentNode&&e.parentNode!==document?e.parentNode:document.body;a.appendChild(r),r.style.position="absolute",r.style.width=100+t;var s=100/r.offsetWidth;a.removeChild(r);var l=s*parseFloat(n);return i.CSS[n+t]=l,l}function M(e,n,t){if(n in e.style){var o=n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),r=e.style[n]||getComputedStyle(e).getPropertyValue(o)||"0";return t?q(e,r,t):r}}function N(e,n){return u.dom(e)&&!u.inp(e)&&(O(e,n)||u.svg(e)&&e[n])?"attribute":u.dom(e)&&$(a,n)?"transform":u.dom(e)&&"transform"!==n&&M(e,n)?"css":null!=e[n]?"object":void 0}function E(e){if(u.dom(e)){for(var n,t=e.style.transform||"",o=/(\w+)\(([^)]*)\)/g,r=new Map;n=o.exec(t);)r.set(n[1],n[2]);return r}}function I(e,n,t,o){var r=l(n,"scale")?1:0+function(e){return l(e,"translate")||"perspective"===e?"px":l(e,"rotate")||l(e,"skew")?"deg":void 0}(n),a=E(e).get(n)||r;return t&&(t.transforms.list.set(n,a),t.transforms.last=n),o?q(e,a,o):a}function D(e,n,t,o){switch(N(e,n)){case"transform":return I(e,n,o,t);case"css":return M(e,n,t);case"attribute":return O(e,n);default:return e[n]||0}}function A(e,n){var t=/^(\*=|\+=|-=)/.exec(e);if(!t)return e;var o=T(e)||0,r=parseFloat(n),a=parseFloat(e.replace(t[0],""));switch(t[0][0]){case"+":return r+a+o;case"-":return r-a+o;case"*":return r*a+o}}function B(e,n){if(u.col(e))return j(e);if(/\s/g.test(e))return e;var t=T(e),o=t?e.substr(0,e.length-t.length):e;return n?o+n:o}function P(e,n){return Math.sqrt(Math.pow(n.x-e.x,2)+Math.pow(n.y-e.y,2))}function F(e){for(var n,t=e.points,o=0,r=0;r0&&(o+=P(n,a)),n=a}return o}function H(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return function(e){return 2*Math.PI*O(e,"r")}(e);case"rect":return function(e){return 2*O(e,"width")+2*O(e,"height")}(e);case"line":return function(e){return P({x:O(e,"x1"),y:O(e,"y1")},{x:O(e,"x2"),y:O(e,"y2")})}(e);case"polyline":return F(e);case"polygon":return function(e){var n=e.points;return F(e)+P(n.getItem(n.numberOfItems-1),n.getItem(0))}(e)}}function z(e,n){var t=n||{},o=t.el||function(e){for(var n=e.parentNode;u.svg(n)&&u.svg(n.parentNode);)n=n.parentNode;return n}(e),r=o.getBoundingClientRect(),a=O(o,"viewBox"),i=r.width,s=r.height,l=t.viewBox||(a?a.split(" "):[0,0,i,s]);return{el:o,viewBox:l,x:l[0]/1,y:l[1]/1,w:i/l[2],h:s/l[3]}}function R(e,n){function t(t){void 0===t&&(t=0);var o=n+t>=1?n+t:0;return e.el.getPointAtLength(o)}var o=z(e.el,e.svg),r=t(),a=t(-1),i=t(1);switch(e.property){case"x":return(r.x-o.x)*o.w;case"y":return(r.y-o.y)*o.h;case"angle":return 180*Math.atan2(i.y-a.y,i.x-a.x)/Math.PI}}function Q(e,n){var t=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,o=B(u.pth(e)?e.totalLength:e,n)+"";return{original:o,numbers:o.match(t)?o.match(t).map(Number):[0],strings:u.str(e)||n?o.split(t):[]}}function Y(e){return C(e?y(u.arr(e)?e.map(k):k(e)):[],(function(e,n,t){return t.indexOf(e)===n}))}function U(e){var n=Y(e);return n.map((function(e,t){return{target:e,id:t,total:n.length,transforms:{list:E(e)}}}))}function V(e,n){var t=x(n);if(/^spring/.test(t.easing)&&(t.duration=f(t.easing)),u.arr(e)){var o=e.length;2===o&&!u.obj(e[0])?e={value:e}:u.fnc(n.duration)||(t.duration=n.duration/o)}var r=u.arr(e)?e:[e];return r.map((function(e,t){var o=u.obj(e)&&!u.pth(e)?e:{value:e};return u.und(o.delay)&&(o.delay=t?0:n.delay),u.und(o.endDelay)&&(o.endDelay=t===r.length-1?n.endDelay:0),o})).map((function(e){return _(e,t)}))}function X(e,n){var t=[],o=n.keyframes;for(var r in o&&(n=_(function(e){for(var n=C(y(e.map((function(e){return Object.keys(e)}))),(function(e){return u.key(e)})).reduce((function(e,n){return e.indexOf(n)<0&&e.push(n),e}),[]),t={},o=function(o){var r=n[o];t[r]=e.map((function(e){var n={};for(var t in e)u.key(t)?t==r&&(n.value=e[t]):n[t]=e[t];return n}))},r=0;r-1&&(te.splice(a,1),t=te.length)}else r.tick(n);o++}e()}else ne=cancelAnimationFrame(ne)}return e}();function ae(e){void 0===e&&(e={});var n,t=0,a=0,i=0,l=0,c=null;function u(e){var n=window.Promise&&new Promise((function(e){return c=e}));return e.finished=n,n}var d=function(e){var n=S(o,e),t=S(r,e),a=X(t,e),i=U(e.targets),s=G(i,a),l=K(s,t),c=ee;return ee++,_(n,{id:c,children:[],animatables:i,animations:s,duration:l.duration,delay:l.delay,endDelay:l.endDelay})}(e);u(d);function f(){var e=d.direction;"alternate"!==e&&(d.direction="normal"!==e?"normal":"reverse"),d.reversed=!d.reversed,n.forEach((function(e){return e.reversed=d.reversed}))}function p(e){return d.reversed?d.duration-e:e}function m(){t=0,a=p(d.currentTime)*(1/ae.speed)}function v(e,n){n&&n.seek(e-n.timelineOffset)}function h(e){for(var n=0,t=d.animations,o=t.length;n2||(w=Math.round(w*m)/m)),v.push(w)}var $=p.length;if($){g=p[0];for(var x=0;x<$;x++){p[x];var S=p[x+1],_=v[x];isNaN(_)||(g+=S?_+S:_+" ")}}else g=v[0];W[r.type](a.target,r.property,g,a.transforms),r.currentValue=g,n++}}function g(e){d[e]&&!d.passThrough&&d[e](d)}function b(e){var o=d.duration,r=d.delay,m=o-d.endDelay,b=p(e);d.progress=s(b/o*100,0,100),d.reversePlayback=b0&&(d.began=!0,g("begin")),!d.loopBegan&&d.currentTime>0&&(d.loopBegan=!0,g("loopBegin")),b<=r&&0!==d.currentTime&&h(0),(b>=m&&d.currentTime!==o||!o)&&h(o),b>r&&b=o&&(a=0,d.remaining&&!0!==d.remaining&&d.remaining--,d.remaining?(t=i,g("loopComplete"),d.loopBegan=!1,"alternate"===d.direction&&f()):(d.paused=!0,d.completed||(d.completed=!0,g("loopComplete"),g("complete"),!d.passThrough&&"Promise"in window&&(c(),u(d)))))}return d.reset=function(){var e=d.direction;d.passThrough=!1,d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.loopBegan=!1,d.changeBegan=!1,d.completed=!1,d.changeCompleted=!1,d.reversePlayback=!1,d.reversed="reverse"===e,d.remaining=d.loop,n=d.children;for(var t=l=n.length;t--;)d.children[t].reset();(d.reversed&&!0!==d.loop||"alternate"===e&&1===d.loop)&&d.remaining++,h(d.reversed?d.duration:0)},d.set=function(e,n){return J(e,n),d},d.tick=function(e){i=e,t||(t=i),b((i+(a-t))*ae.speed)},d.seek=function(e){b(p(e))},d.pause=function(){d.paused=!0,m()},d.play=function(){d.paused&&(d.completed&&d.reset(),d.paused=!1,te.push(d),m(),ne||re())},d.reverse=function(){f(),d.completed=!d.reversed,m()},d.restart=function(){d.reset(),d.play()},d.reset(),d.autoplay&&d.play(),d}function ie(e,n){for(var t=n.length;t--;)$(e,n[t].animatable.target)&&n.splice(t,1)}"undefined"!=typeof document&&document.addEventListener("visibilitychange",(function(){document.hidden?(te.forEach((function(e){return e.pause()})),oe=te.slice(0),ae.running=te=[]):oe.forEach((function(e){return e.play()}))})),ae.version="3.2.0",ae.speed=1,ae.running=te,ae.remove=function(e){for(var n=Y(e),t=te.length;t--;){var o=te[t],r=o.animations,a=o.children;ie(n,r);for(var i=a.length;i--;){var s=a[i],l=s.animations;ie(n,l),l.length||s.children.length||a.splice(i,1)}r.length||a.length||o.pause()}},ae.get=D,ae.set=J,ae.convertPx=q,ae.path=function(e,n){var t=u.str(e)?w(e)[0]:e,o=n||100;return function(e){return{property:e,el:t,svg:z(t),totalLength:H(t)*(o/100)}}},ae.setDashoffset=function(e){var n=H(e);return e.setAttribute("stroke-dasharray",n),n},ae.stagger=function(e,n){void 0===n&&(n={});var t=n.direction||"normal",o=n.easing?b(n.easing):null,r=n.grid,a=n.axis,i=n.from||0,s="first"===i,l="center"===i,c="last"===i,d=u.arr(e),f=d?parseFloat(e[0]):parseFloat(e),p=d?parseFloat(e[1]):0,m=T(d?e[1]:e)||0,v=n.start||0+(d?f:0),h=[],g=0;return function(e,n,u){if(s&&(i=0),l&&(i=(u-1)/2),c&&(i=u-1),!h.length){for(var b=0;b-1&&te.splice(a,1);for(var l=0;le.fixedSidebarOffset?-1===t.className.indexOf(e.positionFixedClass)&&(t.className+=" "+e.positionFixedClass):t.className=t.className.split(" "+e.positionFixedClass).join("")}();var s,l=a;if(r&&null!==document.querySelector(e.tocSelector)&&l.length>0){t.call(l,(function(n,t){return function n(t){var o=0;return t!==document.querySelector(e.contentSelector&&null!=t)&&(o=t.offsetTop,e.hasInnerContainers&&(o+=n(t.offsetParent))),o}(n)>i+e.headingsOffset+10?(s=l[t],!0):t===l.length-1?(s=l[l.length-1],!0):void 0}));var c=document.querySelector(e.tocSelector).querySelectorAll("."+e.linkClass);n.call(c,(function(n){n.className=n.className.split(" "+e.activeLinkClass).join("")}));var u=document.querySelector(e.tocSelector).querySelectorAll("."+e.listItemClass);n.call(u,(function(n){n.className=n.className.split(" "+e.activeListItemClass).join("")}));var d=document.querySelector(e.tocSelector).querySelector("."+e.linkClass+".node-name--"+s.nodeName+'[href="'+e.basePath+"#"+s.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/@])/g,"\\$1")+'"]');-1===d.className.indexOf(e.activeLinkClass)&&(d.className+=" "+e.activeLinkClass);var f=d.parentNode;f&&-1===f.className.indexOf(e.activeListItemClass)&&(f.className+=" "+e.activeListItemClass);var p=document.querySelector(e.tocSelector).querySelectorAll("."+e.listClass+"."+e.collapsibleClass);n.call(p,(function(n){-1===n.className.indexOf(e.isCollapsedClass)&&(n.className+=" "+e.isCollapsedClass)})),d.nextSibling&&-1!==d.nextSibling.className.indexOf(e.isCollapsedClass)&&(d.nextSibling.className=d.nextSibling.className.split(" "+e.isCollapsedClass).join("")),function n(t){if(-1!==t.className.indexOf(e.collapsibleClass)&&-1!==t.className.indexOf(e.isCollapsedClass))return t.className=t.className.split(" "+e.isCollapsedClass).join(""),n(t.parentNode.parentNode);return t}(d.parentNode.parentNode)}}}}},function(e,n){e.exports=function(e){var n=[].reduce;function t(e){return e[e.length-1]}function o(e){return+e.nodeName.split("H").join("")}function r(n){if(!(n instanceof window.HTMLElement))return n;if(e.ignoreHiddenElements&&(!n.offsetHeight||!n.offsetParent))return null;var t={id:n.id,children:[],nodeName:n.nodeName,headingLevel:o(n),textContent:e.headingLabelCallback?String(e.headingLabelCallback(n.textContent)):n.textContent.trim()};return e.includeHtml&&(t.childNodes=n.childNodes),e.headingObjectCallback?e.headingObjectCallback(t,n):t}return{nestHeadingsArray:function(o){return n.call(o,(function(n,o){var a=r(o);return a&&function(n,o){for(var a=r(n),i=a.headingLevel,s=o,l=t(s),c=i-(l?l.headingLevel:0);c>0;)(l=t(s))&&void 0!==l.children&&(s=l.children),c--;i>=e.collapseDepth&&(a.isCollapsed=!0),s.push(a)}(a,n.nest),n}),{nest:[]})},selectHeadings:function(n,t){var o=t;e.ignoreSelector&&(o=t.split(",").map((function(n){return n.trim()+":not("+e.ignoreSelector+")"})));try{return document.querySelector(n).querySelectorAll(o)}catch(e){return console.warn("Element not found: "+n),null}}}}},function(e,n){e.exports=function(e){var n=document.querySelector(e.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var t=n.querySelector("."+e.activeListItemClass);t&&(n.scrollTop=t.offsetTop)}}},function(e,n){n.initSmoothScrolling=function(e){document.documentElement.style;var n=e.duration,t=e.offset,o=location.hash?r(location.href):location.href;function r(e){return e.slice(0,e.lastIndexOf("#"))}document.body.addEventListener("click",(function(a){var i;"a"!==(i=a.target).tagName.toLowerCase()||!(i.hash.length>0||"#"===i.href.charAt(i.href.length-1))||r(i.href)!==o&&r(i.href)+"#"!==o||a.target.className.indexOf("no-smooth-scroll")>-1||"#"===a.target.href.charAt(a.target.href.length-2)&&"!"===a.target.href.charAt(a.target.href.length-1)||-1===a.target.className.indexOf(e.linkClass)||function(e,n){var t,o,r=window.pageYOffset,a={duration:n.duration,offset:n.offset||0,callback:n.callback,easing:n.easing||function(e,n,t,o){return(e/=o/2)<1?t/2*e*e+n:(e--,-t/2*(e*(e-2)-1)+n)}},i=document.querySelector('[id="'+decodeURI(e).split("#").join("")+'"]'),s="string"==typeof e?a.offset+(e?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):e,l="function"==typeof a.duration?a.duration(s):a.duration;function c(e){o=e-t,window.scrollTo(0,a.easing(o,r,s,l)),oView');o.append(r),r.on("click",(function(e){e.preventDefault(),function(e){window.clearTimeout(void 0),e.prev().toggleClass("stacked"),e.toggle()}(t)}))}))}))}]); //# sourceMappingURL=template.js.map