1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[880],{90880:function(t){var e;e=function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},e=!!("undefined"!=typeof window&&window.document&&window.document.createElement),n=!!e&&window.history&&"pushState"in window.history&&"file:"!==window.location.protocol,o=function(){var t=!1;if(!e)return t;try{var n=window,o=Object.defineProperty({},"passive",{get:function(){t=!0}});n.addEventListener("test",null,o),n.removeEventListener("test",null,o)}catch(t){}return t}(),i=function(t){return"string"==typeof t},r=function(t){return"function"==typeof t},u=function(t){return Array.isArray(t)},a=function(t,e){return t&&t.hasOwnProperty(e)},l=e?window.requestAnimationFrame.bind(window):null,s=e?window.cancelAnimationFrame.bind(window):null,c=Math.cos,f=Math.sin,p=Math.pow,h=Math.sqrt,d=Math.PI,v={linear:function(t){return t},easeInQuad:function(t,e,n,o,i){return o*(e/=i)*e+n},easeOutQuad:function(t,e,n,o,i){return-o*(e/=i)*(e-2)+n},easeInOutQuad:function(t,e,n,o,i){return(e/=i/2)<1?o/2*e*e+n:-o/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,o,i){return o*(e/=i)*e*e+n},easeOutCubic:function(t,e,n,o,i){return o*((e=e/i-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,o,i){return(e/=i/2)<1?o/2*e*e*e+n:o/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,o,i){return o*(e/=i)*e*e*e+n},easeOutQuart:function(t,e,n,o,i){return-o*((e=e/i-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,o,i){return(e/=i/2)<1?o/2*e*e*e*e+n:-o/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,o,i){return o*(e/=i)*e*e*e*e+n},easeOutQuint:function(t,e,n,o,i){return o*((e=e/i-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,o,i){return(e/=i/2)<1?o/2*e*e*e*e*e+n:o/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,o,i){return-o*c(e/i*(d/2))+o+n},easeOutSine:function(t,e,n,o,i){return o*f(e/i*(d/2))+n},easeInOutSine:function(t,e,n,o,i){return-o/2*(c(d*e/i)-1)+n},easeInExpo:function(t,e,n,o,i){return 0===e?n:o*p(2,10*(e/i-1))+n},easeOutExpo:function(t,e,n,o,i){return e===i?n+o:o*(-p(2,-10*e/i)+1)+n},easeInOutExpo:function(t,e,n,o,i){return 0===e?n:e===i?n+o:(e/=i/2)<1?o/2*p(2,10*(e-1))+n:o/2*(-p(2,-10*--e)+2)+n},easeInCirc:function(t,e,n,o,i){return-o*(h(1-(e/=i)*e)-1)+n},easeOutCirc:function(t,e,n,o,i){return o*h(1-(e=e/i-1)*e)+n},easeInOutCirc:function(t,e,n,o,i){return(e/=i/2)<1?-o/2*(h(1-e*e)-1)+n:o/2*(h(1-(e-=2)*e)+1)+n}},g=function(t){return Array.prototype.slice.call(t?document.querySelectorAll(t):[])},w=function(t){return g(t).shift()||null},m=function(t){return t instanceof Element},y=function(t){return t===window},b=function(t){return t===document.documentElement||t===document.body},x=function(t,e){if(m(e))return t===e;for(var n=g(e),o=n.length;--o>=0&&n[o]!==t;);return o>-1},O=function(t){return Math.max(t.scrollHeight,t.clientHeight,t.offsetHeight)},E=function(t){return Math.max(t.scrollWidth,t.clientWidth,t.offsetWidth)},$=function(t){return{width:E(t),height:O(t)}},M=function(t){var e=y(t)||b(t);return{viewport:{width:e?Math.min(window.innerWidth,document.documentElement.clientWidth):t.clientWidth,height:e?window.innerHeight:t.clientHeight},size:e?{width:Math.max(E(document.body),E(document.documentElement)),height:Math.max(O(document.body),O(document.documentElement))}:$(t)}},k={y:"scrollTop",x:"scrollLeft"},C={y:"pageYOffset",x:"pageXOffset"},I=function(t,e){return y(t)?t[C[e]]:t[k[e]]},S=function(t,e,n){if(y(t)){var o="y"===n;t.scrollTo(o?t.pageXOffset:e,o?e:t.pageYOffset)}else t[k[n]]=e},A=function(t,e){var n=t.getBoundingClientRect();if(n.width||n.height){var o={top:0,left:0},i=void 0;if(y(e)||b(e))i=document.documentElement,o.top=window[C.y],o.left=window[C.x];else{var r=(i=e).getBoundingClientRect();o.top=-1*r.top+i[k.y],o.left=-1*r.left+i[k.x]}return{top:n.top+o.top-i.clientTop,left:n.left+o.left-i.clientLeft}}return n},L=e?"onwheel"in document?"wheel":"mousewheel":"wheel",P=function(t,e,n,i,r){n.split(" ").forEach(function(n){t[e]("wheel"===n?L:n,i,!!o&&{passive:r})})},Q=function(t,e,n,o){return P(t,"addEventListener",e,n,o)},z=function(t,e,n,o){return P(t,"removeEventListener",e,n,o)},W=/^(\+|-)=(\d+(?:\.\d+)?)$/,H=function(e,n){var o={top:0,left:0,relative:!1};if(a(e,"top")||a(e,"left"))o=t({},o,e);else if(u(e)){if(e.length>1)o.top=e[0],o.left=e[1];else{if(1!==e.length)return null;
1o.top=n?e[0]:0,o.left=n?0:e[0]}}else if(!u(e)&&e-parseFloat(e)+1>=0)n?o.top=e:o.left=e;else{if(!i(e))return null;var r=e.trim().match(W);if(!r)return null;var l=r[1],s=parseInt(r[2],10);"+"===l?(o.top=n?s:0,o.left=n?0:s):(o.top=n?-s:0,o.left=n?0:-s),o.relative=!0}return o},T={trigger:"[data-scroll]",header:"[data-scroll-header]",duration:1e3,easing:"easeOutQuint",offset:0,vertical:!0,horizontal:!1,cancellable:!0,updateURL:!1,preventDefault:!0,stopPropagation:!0,before:null,after:null,cancel:null,complete:null,step:null},j="click",D="wheel touchstart touchmove";return function(){function o(n,i){var r=this;this.$el=null,this.ctx={$trigger:null,opts:null,progress:!1,pos:null,startPos:null,easing:null,start:0,id:0,cancel:!1,hash:null},this.loop=function(t){var e=r.$el,n=r.ctx;if(n.start||(n.start=t),!n.progress||!e){r.stop();return}var i=n.opts,u=n.pos,a=n.start,l=n.startPos,s=n.easing,c=i.duration,f={top:"y",left:"x"},p=t-a,h=Math.min(1,Math.max(p/c,0));Object.keys(u).forEach(function(t){var n=u[t],o=l[t],i=n-o;0!==i&&S(e,Math.round(o+i*s(h,c*h,0,1,c)),f[t])}),p<=c?(r.hook(i,"step",h),n.id=o.raf(r.loop)):r.stop(!0)},this.handleClick=function(e){for(var n=r.opts,o=e.target;o&&o!==document;o=o.parentNode)if(x(o,n.trigger)){var i=JSON.parse(o.getAttribute("data-scroll-options")||"{}"),u=o.getAttribute("data-scroll")||o.getAttribute("href"),a=t({},n,i),l=a.preventDefault,s=a.stopPropagation,c=a.vertical,f=a.horizontal;l&&e.preventDefault(),s&&e.stopPropagation(),r.ctx.$trigger=o,f&&c?r.to(u,a):c?r.toTop(u,a):f&&r.toLeft(u,a);break}},this.handleStop=function(t){var e=r.ctx,n=e.opts;n&&n.cancellable?(e.cancel=!0,r.stop()):t.preventDefault()},this.opts=t({},T,n||{});var u=null;e&&(u="string"==typeof i?w(i):null!=i?i:window),this.$el=u,u&&this.bind(!0,!1)}return o.create=function(t,e){return new o(t,e)},o.prototype.to=function(n,o){if(e){var r=this.$el,u=this.ctx,a=this.opts,l=u.$trigger,s=t({},a,o||{}),c=s.offset,f=s.vertical,p=s.horizontal,h=m(s.header)?s.header:w(s.header),d=i(n)&&/^#/.test(n)?n:null;if(u.opts=s,u.cancel=!1,u.hash=d,this.stop(),r){var v=H(c,f),g=H(n,f),y={top:0,left:0};if(g){if(g.relative){var b=I(r,f?"y":"x");y.top=f?b+g.top:g.top,y.left=f?g.left:b+g.left}else y=g}else if(i(n)&&"#"!==n){var x=w(n);if(!x)return;y=A(x,r)}v&&(y.top+=v.top,y.left+=v.left),h&&(y.top=Math.max(0,y.top-$(h).height));var O=M(r),E=O.viewport,k=O.size;if(y.top=f?Math.max(0,Math.min(k.height-E.height,y.top)):I(r,"y"),y.left=p?Math.max(0,Math.min(k.width-E.width,y.left)):I(r,"x"),!1===this.hook(s,"before",y,l)){u.opts=null;return}u.pos=y,this.start(s),this.bind(!1,!0)}}},o.prototype.toTop=function(e,n){this.to(e,t({},n||{},{vertical:!0,horizontal:!1}))},o.prototype.toLeft=function(e,n){this.to(e,t({},n||{},{vertical:!1,horizontal:!0}))},o.prototype.toElement=function(t,n){var o=this.$el;e&&o&&this.to(A(t,o),n||{})},o.prototype.stop=function(t){void 0===t&&(t=!1);var e=this.$el,n=this.ctx,i=n.pos;e&&n.progress&&(o.caf(n.id),n.progress=!1,n.start=0,n.id=0,t&&i&&(S(e,i.left,"x"),S(e,i.top,"y")),this.complete())},o.prototype.update=function(e){if(this.$el){var n=t({},this.opts,e);this.stop(),this.unbind(!0,!0),this.opts=n,this.bind(!0,!1)}},o.prototype.destroy=function(){this.$el&&(this.stop(),this.unbind(!0,!0),this.$el=null)},o.prototype.onBefore=function(t,e){return!0},o.prototype.onStep=function(t){},o.prototype.onAfter=function(t,e){},o.prototype.onCancel=function(){},o.prototype.onComplete=function(t){},o.prototype.start=function(t){var e=this.ctx;e.opts=t,e.progress=!0,e.easing=r(t.easing)?t.easing:v[t.easing];var n=this.$el,i={top:I(n,"y"),left:I(n,"x")};e.startPos=i,e.id=o.raf(this.loop)},o.prototype.complete=function(){var t=this.$el,o=this.ctx,i=o.hash,r=o.cancel,u=o.opts,a=o.pos,l=o.$trigger;if(t&&u){if(null!=i&&i!==window.location.hash){var s=u.updateURL;e&&n&&!1!==s&&window.history["replace"===s?"replaceState":"pushState"](null,"",i)}this.unbind(!1,!0),o.opts=null,o.$trigger=null,r?this.hook(u,"cancel"):this.hook(u,"after",a,l),this.hook(u,"complete",r)}},o.prototype.hook=function(t,e){for(var n,o,i=[],u=2;u<arguments.length;u++)i[u-2]=arguments[u];var a=t[e];return r(a)&&(n=a.apply(this,i.concat([this]))),o=this["on"+(e[0].toUpperCase()+e.slice(1))].apply(this,i),void 0!==n?n:o},o.prototype.bind=function(t,e){var n=this.$el,o=this.ctx.opts;n&&(t&&Q(n,j,this.handleClick,!1),e&&Q(n,D,this.handleStop,!o||o.cancellable))},o.prototype.unbind=function(t,e){var n=this.$el,o=this.ctx.opts;n&&(t&&z(n,j,this.handleClick,!1),e&&z(n,D,this.handleStop,!o||o.cancellable))},o.raf=l,o.caf=s,o}
1()},t.exports=e()}}]); 2//# sourceMappingURL=880.d461b31a5e92dfa7.js.map
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.