vendor: 7,419 bytes, line 1
1(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{787:function(t,e){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=function(){for(var t=window.document,e=r(t);e;)e=r(t=e.ownerDocument);return t}(),e=[],n=null,o=null;l.prototype.THROTTLE_TIMEOUT=100,l.prototype.POLL_INTERVAL=null,l.prototype.USE_MUTATION_OBSERVER=!0,l._setupCrossOriginUpdater=function(){return n||(n=function(t,n){o=t&&n?w(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},l._resetCrossOriginUpdater=function(){n=null,o=null},l.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},l.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},l.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},l.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},l.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,i,a){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==a[i-1]}))},l.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},l.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var o=this._checkForIntersections,c=null,l=null;this.POLL_INTERVAL?c=n.setInterval(o,this.POLL_INTERVAL):(h(n,"resize",o,!0),h(e,"scroll",o,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(l=new n.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(c&&t.clearInterval(c),f(t,"resize",o,!0)),f(e,"scroll",o,!0),l&&l.disconnect()}));var d=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=d){var m=r(e);m&&this._monitorIntersections(m.ownerDocument)}}},l.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var o=this.root&&(this.root.ownerDocument||this.root)||t,c=this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=o;){var c=r(n);if((n=c&&c.ownerDocument)==e)return!0}return!1}));if(!c){var l=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),l(),e!=o){var h=r(e);h&&this._unmonitorIntersections(h.ownerDocument)}}}},l.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var i=0;i<t.length;i++)t[i]()},l.prototype._checkForIntersections=function(){if(this.root||!n||o){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var r=o.element,l=d(r),h=this._rootContainsTarget(r),f=o.entry,m=t&&h&&this._computeTargetAndRootIntersection(r,l,e),w=null;this._rootContainsTarget(r)?n&&!this.root||(w=e):w={top:0,bottom:0,left:0,right:0,width:0,height:0};var v=o.entry=new c({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:l,rootBounds:w,intersectionRect:m});f?t&&h?this._hasCrossedThreshold(f,v)&&this._queuedEntries.push(v):f&&f.isIntersecting&&this._queuedEntries.push(v):this._queuedEntries.push(v)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},l.prototype._computeTargetAndRootIntersection=function(e,r,c){if("none"!=window.getComputedStyle(e).display){for(var l,h,f,m,v,y,E,x,I=r,T=_(e),R=!1;!R&&T;){var O=null,$=1==T.nodeType?window.getComputedStyle(T):{};if("none"==$.display)return null;if(T==this.root||9==T.nodeType)if(R=!0,T==this.root||T==t)n&&!this.root?!o||0==o.width&&0==o.height?(T=null,O=null,I=null):O=o:O=c;else{var M=_(T),C=M&&d(M),S=M&&this._computeTargetAndRootIntersection(M,C,c);C&&S?(T=M,O=w(C,S)):(T=null,I=null)}else{var A=T.ownerDocument;T!=A.body&&T!=A.documentElement&&"visible"!=$.overflow&&(O=d(T))}if(O&&(l=O,h=I,f=void 0,m=void 0,v=void 0,y=void 0,E=void 0,x=void 0,f=Math.max(l.top,h.top),m=Math.min(l.bottom,h.bottom),v=Math.max(l.left,h.left),y=Math.min(l.right,h.right),x=m-f,I=(E=y-v)>=0&&x>=0&&{top:f,bottom:m,left:v,right:y,width:E,height:x}||null),!I)break;T=T&&_(T)}return I}},l.prototype._getRootRect=function(){var e;if(this.root&&!y(this.root))e=d(this.root);else{var n=y(this.root)?this.root:t,html=n.documentElement,body=n.body;e={top:0,left:0,right:html.clientWidth||body.clientWidth,width:html.clientWidth||body.clientWidth,bottom:html.clientHeight||body.clientHeight,height:html.clientHeight||body.clientHeight}}return this._expandRectByRootMargin(e)},l.prototype._expandRectByRootMargin=function(rect){var t=this._rootMarginValues.map((function(t,i){return"px"==t.unit?t.value:t.value*(i%2?rect.width:rect.height)/100})),e={top:rect.top-t[0],right:rect.right+t[1],bottom:rect.bottom+t[2],left:rect.left-t[3]};return e.width=e.right-e.left,e.height=e.bottom-e.top,e},l.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,o=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==o)for(var i=0;i<this.thresholds.length;i++){var r=this.thresholds[i];if(r==n||r==o||r<n!=r<o)return!0}},l.prototype._rootIsInDom=function(){return!this.root||v(t,this.root)},l.prototype._rootContainsTarget=function(e){var n=this.root&&(this.root.ownerDocument||this.root)||t;return v(n,e)&&(!this.root||n==e.ownerDocument)},l.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},l.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=l,window.IntersectionObserverEntry=c}function r(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function c(t){this.time=t.time,this.target=t.target,this.rootBounds=m(t.rootBounds),this.boundingClientRect=m(t.boundingClientRect),this.intersectionRect=m(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,o=this.intersectionRect,r=o.width*o.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):this.isIntersecting?1:0}function l(t,e){var n,o,r,c=e||{};if("function"!=typeof t)throw new Error("callback must be a function");
1if(c.root&&1!=c.root.nodeType&&9!=c.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),o=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout((function(){n(),r=null}),o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(c.rootMargin),this.thresholds=this._initThresholds(c.threshold),this.root=c.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function h(t,e,n,o){"function"==typeof t.addEventListener?t.addEventListener(e,n,o||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function f(t,e,n,o){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,o||!1):"function"==typeof t.detachEvent&&t.detachEvent("on"+e,n)}function d(t){var rect;try{rect=t.getBoundingClientRect()}catch(t){}return rect?(rect.width&&rect.height||(rect={top:rect.top,right:rect.right,bottom:rect.bottom,left:rect.left,width:rect.right-rect.left,height:rect.bottom-rect.top}),rect):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function m(rect){return!rect||"x"in rect?rect:{top:rect.top,y:rect.top,bottom:rect.bottom,left:rect.left,x:rect.left,right:rect.right,width:rect.width,height:rect.height}}function w(t,e){var n=e.top-t.top,o=e.left-t.left;return{top:n,left:o,height:e.height,width:e.width,bottom:n+e.height,right:o+e.width}}function v(t,e){for(var n=e;n;){if(n==t)return!0;n=_(n)}return!1}function _(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?r(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function y(t){return t&&9===t.nodeType}}()},801:function(t,e,n){"use strict";function o(t){return`scrollama__debug-offset--${t}`}function r({id:t,offsetVal:e,stepEl:n}){!function({id:t,offsetVal:e,stepClass:n}){const r=document.createElement("div");r.id=o(t),r.className="scrollama__debug-offset",r.style.position="fixed",r.style.left="0",r.style.width="100%",r.style.height="0",r.style.borderTop="2px dashed black",r.style.zIndex="9999";const p=document.createElement("p");p.innerHTML=`".${n}" trigger: <span>${e}</span>`,p.style.fontSize="12px",p.style.fontFamily="monospace",p.style.color="black",p.style.margin="0",p.style.padding="6px",r.appendChild(p),document.body.appendChild(r)}({id:t,offsetVal:e,stepClass:n[0].className})}function c({id:t,index:e,state:n}){const o=`scrollama__debug-step--${t}-${e}`,r=document.getElementById(`${o}_above`),c=document.getElementById(`${o}_below`),l="enter"===n?"block":"none";r&&(r.style.display=l),c&&(c.style.display=l)}function l(){const t=["stepAbove","stepBelow","stepProgress","viewportAbove","viewportBelow"];let e={},n={},l=null,h=[],f=[],d=[],m=[],w=0,v=0,_=0,y=0,E=0,x=0,I=!1,T=!1,R=!1,O=!1,$=!1,M=!1,C="down",S="percent";const A=[];function D(t){console.error(`scrollama error: ${t}`)}function k(){e={stepEnter:()=>{},stepExit:()=>{},stepProgress:()=>{}},n={}}function V(t){const{top:e}=t.getBoundingClientRect();return e+window.pageYOffset-(document.body.clientTop||0)}function L(element){return+element.getAttribute("data-scrollama-index")}function N(){window.pageYOffset>E?C="down":window.pageYOffset<E&&(C="up"),E=window.pageYOffset}function B(t){n[t]&&n[t].forEach((t=>t.disconnect()))}function F(){_=window.innerHeight,y=function(){const{body:body}=document,html=document.documentElement;return Math.max(body.scrollHeight,body.offsetHeight,html.clientHeight,html.scrollHeight,html.offsetHeight)}();v=w*("pixels"===S?1:_),I&&(f=h.map((t=>t.getBoundingClientRect().height)),d=h.map(V),T&&Q()),R&&function({id:t,offsetMargin:e,offsetVal:n,format:r}){const c="pixels"===r?"px":"",l=o(t),h=document.getElementById(l);h.style.top=`${e}px`,h.querySelector("span").innerText=`${n}${c}`}({id:l,offsetMargin:v,offsetVal:w,format:S})}function U(e){if(e&&!T){if(!I)return D("scrollama error: enable() called before scroller was ready"),void(T=!1);Q()}!e&&T&&t.forEach(B),T=e}function H(element,progress){const t=L(element);void 0!==progress&&(m[t].progress=progress);const n={element:element,index:t,progress:m[t].progress};"enter"===m[t].state&&e.stepProgress(n)}function P(t,e){if("above"===e)for(let i=0;i<t;i+=1){const t=m[i];"enter"!==t.state&&"down"!==t.direction?(z(h[i],"down",!1),j(h[i],"down")):"enter"===t.state&&j(h[i],"down")}else if("below"===e)for(let i=m.length-1;i>t;i-=1){const t=m[i];"enter"===t.state&&j(h[i],"up"),"down"===t.direction&&(z(h[i],"up",!1),j(h[i],"up"))}}function z(element,t,n=!0){const o=L(element),r={element:element,index:o,direction:t};m[o].direction=t,m[o].state="enter",$&&n&&"down"===t&&P(o,"above"),$&&n&&"up"===t&&P(o,"below"),e.stepEnter&&!A[o]&&(e.stepEnter(r,m),R&&c({id:l,index:o,state:"enter"}),M&&(A[o]=!0)),O&&H(element)}function j(element,t){const n=L(element),o={element:element,index:n,direction:t};O&&("down"===t&&m[n].progress<1?H(element,1):"up"===t&&m[n].progress>0&&H(element,0)),m[n].direction=t,m[n].state="exit",e.stepExit(o,m),R&&c({id:l,index:n,state:"exit"})}function Y([t]){N();const{isIntersecting:e,boundingClientRect:n,target:o}=t,{top:r,bottom:c}=n,l=r-v,h=c-v,f=L(o),d=m[f];e&&l<=0&&h>=0&&"down"===C&&"enter"!==d.state&&z(o,C),!e&&l>
10&&"up"===C&&"enter"===d.state&&j(o,C)}function W([t]){N();const{isIntersecting:e,boundingClientRect:n,target:o}=t,{top:r,bottom:c}=n,l=r-v,h=c-v,f=L(o),d=m[f];e&&l<=0&&h>=0&&"up"===C&&"enter"!==d.state&&z(o,C),!e&&h<0&&"down"===C&&"enter"===d.state&&j(o,C)}function J([t]){N();const{isIntersecting:e,target:n}=t,o=L(n),r=m[o];e&&"down"===C&&"down"!==r.direction&&"enter"!==r.state&&(z(n,"down"),j(n,"down"))}function X([t]){N();const{isIntersecting:e,target:n}=t,o=L(n),r=m[o];e&&"up"===C&&"down"===r.direction&&"enter"!==r.state&&(z(n,"up"),j(n,"up"))}function G([t]){N();const{isIntersecting:e,intersectionRatio:n,boundingClientRect:o,target:r}=t,{bottom:c}=o;e&&c-v>=0&&H(r,+n)}function K(){n.stepProgress=h.map(((t,i)=>{const e=`${f[i]-v}px 0px ${-_+v}px 0px`,n=function(t){const e=Math.ceil(t/x),n=[],o=1/e;for(let i=0;i<e;i+=1)n.push(i*o);return n}(f[i]),o=new IntersectionObserver(G,{rootMargin:e,threshold:n});return o.observe(t),o}))}function Q(){t.forEach(B),n.viewportAbove=h.map(((t,i)=>{const e=y-d[i],n=v-_-f[i],o=new IntersectionObserver(J,{rootMargin:`${e}px 0px ${n}px 0px`});return o.observe(t),o})),n.viewportBelow=h.map(((t,i)=>{const e=-v-f[i],n=v-_+f[i]+y,o=new IntersectionObserver(X,{rootMargin:`${e}px 0px ${n}px 0px`});return o.observe(t),o})),n.stepAbove=h.map(((t,i)=>{const e=-v+f[i],n=new IntersectionObserver(Y,{rootMargin:`${e}px 0px ${v-_}px 0px`});return n.observe(t),n})),n.stepBelow=h.map(((t,i)=>{const e=-v,n=v-_+f[i],o=new IntersectionObserver(W,{rootMargin:`${e}px 0px ${n}px 0px`});return o.observe(t),o})),O&&K()}function Z(element){return!(!element||1!==element.nodeType)&&(function(element){const style=window.getComputedStyle(element);return("scroll"===style.overflowY||"auto"===style.overflowY)&&element.scrollHeight>element.clientHeight}(element)?element:Z(element.parentNode))}const tt={};return tt.setup=({step:t,parent:e,offset:n=.5,progress:progress=!1,threshold:o=4,debug:c=!1,order:f=!0,once:d=!1})=>{if(k(),l=function(){const a="abcdefghijklmnopqrstuv",t=Date.now();return`${[0,0,0].map((t=>a[Math.floor(22*Math.random())])).join("")}${t}`}(),h=function(t,e=document){return"string"==typeof t?Array.from(e.querySelectorAll(t)):t instanceof Element?[t]:t instanceof NodeList?Array.from(t):t instanceof Array?t:[]}(t,e),!h.length)return D("no step elements"),tt;const v=h.reduce(((t,s)=>t||Z(s.parentNode)),!1);return v&&console.error("scrollama error: step elements cannot be children of a scrollable element. Remove any css on the parent element with overflow: scroll; or overflow: auto; on elements with fixed height.",v),R=c,O=progress,$=f,M=d,tt.offsetTrigger(n),x=Math.max(1,+o),I=!0,R&&r({id:l,stepEl:h,offsetVal:w}),h.forEach(((t,i)=>t.setAttribute("data-scrollama-index",i))),m=h.map((()=>({direction:null,state:null,progress:0}))),F(),tt.enable(),tt},tt.resize=()=>(F(),tt),tt.enable=()=>(U(!0),tt),tt.disable=()=>(U(!1),tt),tt.destroy=()=>{U(!1),k()},tt.offsetTrigger=t=>{if(null===t)return w;if("number"==typeof t)S="percent",t>1&&D("offset value is greater than 1. Fallback to 1."),t<0&&D("offset value is lower than 0. Fallback to 0."),w=Math.min(Math.max(0,t),1);else if("string"==typeof t&&t.indexOf("px")>0){const e=+t.replace("px","");isNaN(e)?(D("offset value must be in 'px' format. Fallback to 0.5."),w=.5):(S="pixels",w=e)}else D("offset value does not include 'px'. Fallback to 0.5."),w=.5;return tt},tt.onStepEnter=t=>("function"==typeof t?e.stepEnter=t:D("onStepEnter requires a function"),tt),tt.onStepExit=t=>("function"==typeof t?e.stepExit=t:D("onStepExit requires a function"),tt),tt.onStepProgress=t=>("function"==typeof t?e.stepProgress=t:D("onStepProgress requires a function"),tt),tt}function h(template,style,script,t,e,n,o,r,c,l){"boolean"!=typeof o&&(c=r,r=o,o=!1);const h="function"==typeof script?script.options:script;let f;if(template&&template.render&&(h.render=template.render,h.staticRenderFns=template.staticRenderFns,h._compiled=!0,e&&(h.functional=!0)),t&&(h._scopeId=t),n?(f=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),style&&style.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(n)},h._ssrRegister=f):style&&(f=o?function(t){style.call(this,l(t,this.$root.$options.shadowRoot))}:function(t){style.call(this,r(t))}),f)if(h.functional){const t=h.render;h.render=function(e,n){return f.call(n),t(e,n)}}else{const t=h.beforeCreate;h.beforeCreate=t?[].concat(t,f):[f]}return script}const f=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"scrollama__steps"},[t._t("default")],2)},staticRenderFns:[]},undefined,{inheritAttrs:!1,name:"Scrollama",mounted(){this._scroller=l(),this.setup()},beforeDestroy(){this._scroller.destroy()},computed:{opts(){return Object.assign({},{step:Array.from(this.$el.children),progress:!!this.$listeners["step-progress"]},this.$attrs)}},methods:{setup(){this._scroller.destroy(),this._scroller.setup(this.opts).onStepProgress((t=>{this.$emit("step-progress",t)})).onStepEnter((t=>{this.$emit("step-enter",t)})).onStepExit((t=>{this.$emit("step-exit",t)})),window.addEventListener("resize",this.handleResize)},handleResize(){this._scroller.resize()}}}
1,undefined,false,undefined,!1,void 0,void 0,void 0);e.a=f}}]);
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.