(window.webpackJsonpLIS=window.webpackJsonpLIS||[]).push([[22],{589:function(t,e,o){"use strict";o.r(e),o.d(e,"default",(function(){return p}));var n=o(142),r=function(t,e,o,n){return(t/=n/2)<1?o/2*t*t+e:-o/2*(--t*(t-2)-1)+e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u=function(){var t=void 0,e=void 0,o=void 0,n=void 0,u=void 0,c=void 0,f=void 0,a=void 0,l=void 0,s=void 0,y=void 0,d=void 0;function p(){return window.scrollY||window.pageYOffset}function b(t){return t.getBoundingClientRect().top+e}function v(o){l||(l=o),y=u(s=o-l,e,f,a),window.scrollTo(0,y),s<a?window.requestAnimationFrame(v):function(){window.scrollTo(0,e+f),t&&c&&(t.setAttribute("tabindex","-1"),t.focus());"function"==typeof d&&d();l=!1}()}return function(l){var s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(a=s.duration||1e3,n=s.offset||0,d=s.callback,u=s.easing||r,c=s.a11y||!1,e=p(),void 0===l?"undefined":i(l)){case"number":t=void 0,c=!1,o=e+l;break;case"object":o=b(t=l);break;case"string":t=document.querySelector(l),o=b(t)}switch(f=o-e+n,i(s.duration)){case"number":a=s.duration;break;case"function":a=s.duration(f)}window.requestAnimationFrame(v)}}();function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var o,n=d(t);if(e){var r=d(this).constructor;o=Reflect.construct(n,arguments,r)}else o=n.apply(this,arguments);return y(this,o)}}function y(t,e){if(e&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&l(t,e)}(i,t);var e,o,n,r=s(i);function i(){return f(this,i),r.apply(this,arguments)}return e=i,(o=[{key:"initialize",value:function(t,e){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(o=o||{}).duration=o.duration||1e3,o.overrideScrollBehavior=o.overrideScrollBehavior||!1,t.addEventListener("target-enhancement.toggle",(function(){o.overrideScrollBehavior?(document.documentElement.style.scrollBehavior="unset",setTimeout((function(){u(e[0],o)}),100),setTimeout((function(){document.documentElement.style.scrollBehavior="smooth"}),3e3)):u(e[0],o)}))}}])&&a(e.prototype,o),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),i}(n.a)}}]);