1(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{139:function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var l in t=arguments[n])Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l]);return e}).apply(this,arguments)},l=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(l,r){function i(e){try{a(o.next(e))}catch(e){r(e)}}function c(e){try{a(o.throw(e))}catch(e){r(e)}}function a(e){var t;e.done?l(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,c)}a((o=o.apply(e,t||[])).next())}))},r=this&&this.__generator||function(e,t){var n,o,l,r,i={label:0,sent:function(){if(1&l[0])throw l[1];return l[1]},trys:[],ops:[]};return r={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function c(r){return function(c){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,o&&(l=2&r[0]?o.return:r[0]?o.throw||((l=o.return)&&l.call(o),0):o.next)&&!(l=l.call(o,r[1])).done)return l;switch(o=0,l&&(r=[2&r[0],l.value]),r[0]){case 0:case 1:l=r;break;case 4:return i.label++,{value:r[1],done:!1};case 5:i.label++,o=r[1],r=[0];continue;case 7:r=i.ops.pop(),i.trys.pop();continue;default:if(!(l=i.trys,(l=l.length>0&&l[l.length-1])||6!==r[0]&&2!==r[0])){i=0;continue}if(3===r[0]&&(!l||r[1]>l[0]&&r[1]<l[3])){i.label=r[1];break}if(6===r[0]&&i.label<l[1]){i.label=l[1],l=r;break}if(l&&i.label<l[2]){i.label=l[2],i.ops.push(r);break}l[2]&&i.ops.pop(),i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e],o=0}finally{n=l=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,c])}}};function i(e){var t=0,n=0,o=e;do{t+=o.offsetTop||0,n+=o.offsetLeft||0,o=o.offsetParent}while(o);return{top:t,left:n}}Object.defineProperty(t,"__esModule",{value:!0});var c=function(){function e(e){this.element=e}return e.prototype.getHorizontalScroll=function(){return this.element.scrollLeft},e.prototype.getVerticalScroll=function(){return this.element.scrollTop},e.prototype.getMaxHorizontalScroll=function(){return this.element.scrollWidth-this.element.clientWidth},e.prototype.getMaxVerticalScroll=function(){return this.element.scrollHeight-this.element.clientHeight},e.prototype.getHorizontalElementScrollOffset=function(e,t){return i(e).left-i(t).left},e.prototype.getVerticalElementScrollOffset=function(e,t){return i(e).top-i(t).top},e.prototype.scrollTo=function(e,t){this.element.scrollLeft=e,this.element.scrollTop=t},e}(),a=function(){function e(){}return e.prototype.getHorizontalScroll=function(){return window.scrollX||document.documentElement.scrollLeft},e.prototype.getVerticalScroll=function(){return window.scrollY||document.documentElement.scrollTop},e.prototype.getMaxHorizontalScroll=function(){return Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.body.clientWidth,document.documentElement.clientWidth)-window.innerWidth},e.prototype.getMaxVerticalScroll=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight},e.prototype.getHorizontalElementScrollOffset=function(e){return(window.scrollX||document.documentElement.scrollLeft)+e.getBoundingClientRect().left},e.prototype.getVerticalElementScrollOffset=function(e){return(window.scrollY||document.documentElement.scrollTop)+e.getBoundingClientRect().top},e.prototype.scrollTo=function(e,t){window.scrollTo(e,t)},e}(),u={elements:[],cancelMethods:[],add:function(e,t){u.elements.push(e),u.cancelMethods.push(t)},remove:function(e,t){void 0===t&&(t=!0);var n=u.elements.indexOf(e);n>-1&&(t&&u.cancelMethods[n](),u.elements.splice(n,1),u.cancelMethods.splice(n,1))}},s="undefined"!=typeof window,f={cancelOnUserAction:!0,easing:function(e){return--e*e*e+1},elementToScroll:s?window:null,horizontalOffset:0,maxDuration:3e3,minDuration:250,speed:500,verticalOffset:0};function m(e,t){return void 0===t&&(t={}),l(this,void 0,void 0,(function(){var n,l,i,m,d,p,h,w,g,y,S,v,b,T,E,H;return r(this,(function(r){if(!s)return[2,new Promise((function(e){e(!1)}))];if(!window.Promise)throw"Browser doesn't support Promises, and animated-scroll-to depends on it, please provide a polyfill.";if(m=o(o({},f),t),d=m.elementToScroll===window,p=!!m.elementToScroll.nodeName,!d&&!p)throw"Element to scroll needs to be either window or DOM element.";if(h=d?new a:new c(m.elementToScroll),e instanceof Element){if(i=e,p&&(!m.elementToScroll.contains(i)||m.elementToScroll.isSameNode(i)))throw"options.elementToScroll has to be a parent of scrollToElement";n=h.getHorizontalElementScrollOffset(i,m.elementToScroll),l=h.getVerticalElementScrollOffset(i,m.elementToScroll)}else if("number"==typeof e)n=h.getHorizontalScroll(),l=e;else{if(!Array.isArray(e)||2!==e.length)throw"Wrong function signature. Check documentation.\nAvailable method signatures are:\n animateScrollTo(y:number, options)\n animateScrollTo([x:number | null, y:number | null], options)\n animateScrollTo(scrollToElement:Element, options)";n=null===e[0]?h.getHorizontalScroll():e[0],l=null===e[1]?h.getVerticalScroll():e[1]}return n+=m.horizontalOffset,l+=m.verticalOffset,w=h.getMaxHorizontalScroll(),g=h.getHorizontalScroll(),n>w&&(n=w),y=n-g,S=h.getMaxVerticalScroll(),v=h.getVerticalScroll(),l>S&&(l=S),b=l-v,T=Math.abs(Math.round(y/1e3*m.speed)),E=Math.abs(Math.round(b/1e3*m.speed)),(H=T>E?T:E)<m.minDuration?H=m.minDuration:H>m.maxDuration&&(H=m.maxDuration),[2,new Promise((function(e,t){var o;0===y&&0===b&&e(!0),u.remove(m.elementToScroll,!0);var r=function(){s(),cancelAnimationFrame(o),e(!1)};u.add(m.elementToScroll,r);var i=m.cancelOnUserAction?r:function(e){return e.preventDefault()},c=m.cancelOnUserAction?{passive:!0}:{passive:!1},a=["wheel","touchstart","keydown","mousedown"],s=function(){a.forEach((function(e){m.elementToScroll.removeEventListener(e,i,c)}))};a.forEach((function(e){m.elementToScroll.addEventListener(e,i,c)}));var f=Date.now(),d=function(){var t=Date.now()-f,r=t/H,i=Math.round(g+y*m.easing(r)),c=Math.round(v+b*m.easing(r));t<H&&(i!==n||c!==l)?(h.scrollTo(i,c),o=requestAnimationFrame(d)):(h.scrollTo(n,l),cancelAnimationFrame(o),s(),u.remove(m.elementToScroll,!1),e(!0))};o=requestAnimationFrame(d)}))]}))}))}t.default=m,s&&(window.animateScrollTo=m)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.