1/*! For license information please see article.fa0218e40f1ea931107f.bundle.min.js.LICENSE.txt */ 2!function(){var e={3816:function(e,t,n){var o,r;o=function(){"use strict";var e=function(){r.log(2,"(COMPATIBILITY NOTICE) -> As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.")};e.version="2.0.9","undefined"!=typeof window&&window.addEventListener("mousewheel",void 0);var t="data-scrollmagic-pin-spacer";e.Controller=function(o){var i,l,s="ScrollMagic.Controller",a="REVERSE",c="PAUSED",u=n.defaults,d=this,f=r.extend({},u,o),p=[],g=!1,h=0,v=c,m=!0,w=0,y=!0,S=function(){f.refreshInterval>0&&(l=window.setTimeout(T,f.refreshInterval))},b=function(){return f.vertical?r.get.scrollTop(f.container):r.get.scrollLeft(f.container)},E=function(){return f.vertical?r.get.height(f.container):r.get.width(f.container)},R=this._setScrollPos=function(e){f.vertical?m?window.scrollTo(r.get.scrollLeft(),e):f.container.scrollTop=e:m?window.scrollTo(e,r.get.scrollTop()):f.container.scrollLeft=e},x=function(){if(y&&g){var e=r.type.Array(g)?g:p.slice(0);g=!1;var t=h,n=(h=d.scrollPos())-t;0!==n&&(v=n>0?"FORWARD":a),v===a&&e.reverse(),e.forEach(function(t,n){C(3,"updating Scene "+(n+1)+"/"+e.length+" ("+p.length+" total)"),t.update(!0)}),0===e.length&&f.loglevel>=3&&C(3,"updating 0 Scenes (nothing added to controller)")}},L=function(){i=r.rAF(x)},A=function(e){C(3,"event fired causing an update:",e.type),"resize"==e.type&&(w=E(),v=c),!0!==g&&(g=!0,L())},T=function(){if(!m&&w!=E()){var e;try{e=new Event("resize",{bubbles:!1,cancelable:!1})}catch(t){(e=document.createEvent("Event")).initEvent("resize",!1,!1)}f.container.dispatchEvent(e)}p.forEach(function(e,t){e.refresh()}),S()},C=this._log=function(e,t){f.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+s+") ->"),r.log.apply(window,arguments))};this._options=f;var O=function(e){if(e.length<=1)return e;var t=e.slice(0);return t.sort(function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1}),t};return this.addScene=function(t){if(r.type.Array(t))t.forEach(function(e,t){d.addScene(e)});else if(t instanceof e.Scene){if(t.controller()!==d)t.addTo(d);else if(p.indexOf(t)<0){for(var n in p.push(t),p=O(p),t.on("shift.controller_sort",function(){p=O(p)}),f.globalSceneOptions)t[n]&&t[n].call(t,f.globalSceneOptions[n]);C(3,"adding Scene (now "+p.length+" total)")}}else C(1,"ERROR: invalid argument supplied for '.addScene()'");return d},this.removeScene=function(e){if(r.type.Array(e))e.forEach(function(e,t){d.removeScene(e)});else{var t=p.indexOf(e);t>-1&&(e.off("shift.controller_sort"),p.splice(t,1),C(3,"removing Scene (now "+p.length+" left)"),e.remove())}return d},this.updateScene=function(t,n){return r.type.Array(t)?t.forEach(function(e,t){d.updateScene(e,n)}):n?t.update(!0):!0!==g&&t instanceof e.Scene&&(-1==(g=g||[]).indexOf(t)&&g.push(t),g=O(g),L()),d},this.update=function(e){return A({type:"resize"}),e&&x(),d},this.scrollTo=function(n,o){if(r.type.Number(n))R.call(f.container,n,o);else if(n instanceof e.Scene)n.controller()===d?d.scrollTo(n.scrollOffset(),o):C(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",n);else if(r.type.Function(n))R=n;else{var i=r.get.elements(n)[0];if(i){for(;i.parentNode.hasAttribute(t);)i=i.parentNode;var l=f.vertical?"top":"left",s=r.get.offset(f.container),a=r.get.offset(i);m||(s[l]-=d.scrollPos()),d.scrollTo(a[l]-s[l],o)}else C(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",n)}return d},this.scrollPos=function(e){return arguments.length?(r.type.Function(e)?b=e:C(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),d):b.call(d)},this.info=function(e){var t={size:w,vertical:f.vertical,scrollPos:h,scrollDirection:v,container:f.container,isDocument:m};return arguments.length?void 0!==t[e]?t[e]:void C(1,'ERROR: option "'+e+'" is not available'):t},this.loglevel=function(e){return arguments.length?(f.loglevel!=e&&(f.loglevel=e),d):f.loglevel},this.enabled=function(e){return arguments.length?(y!=e&&(y=!!e,d.updateScene(p,!0)),d):y},this.destroy=function(e){window.clearTimeout(l);for(var t=p.length;t--;)p[t].destroy(e);return f.container.removeEventListener("resize",A),f.container.removeEventListener("scroll",A),r.cAF(i),C(3,"destroyed "+s+" (reset: "+(e?"true":"false")+")"),null},function(){for(var t in f)u.hasOwnProperty(t)||(C(2,'WARNING: Unknown option "'+t+'"'),delete f[t]);if(f.container=r.get.elements(f.container)[0],!f.container)throw C(1,"ER
2ROR creating object "+s+": No valid scroll container supplied"),s+" init failed.";(m=f.container===window||f.container===document.body||!document.body.contains(f.container))&&(f.container=window),w=E(),f.container.addEventListener("resize",A),f.container.addEventListener("scroll",A);var n=parseInt(f.refreshInterval,10);f.refreshInterval=r.type.Number(n)?n:u.refreshInterval,S(),C(3,"added new "+s+" controller (v"+e.version+")")}(),d};var n={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};e.Controller.addOption=function(e,t){n.defaults[e]=t},e.Controller.extend=function(t){var n=this;e.Controller=function(){return n.apply(this,arguments),this.$super=r.extend({},this),t.apply(this,arguments)||this},r.extend(e.Controller,n),e.Controller.prototype=n.prototype,e.Controller.prototype.constructor=e.Controller},e.Scene=function(n){var i,l,s="ScrollMagic.Scene",a="BEFORE",c="DURING",u="AFTER",d=o.defaults,f=this,p=r.extend({},d,n),g=a,h=0,v={start:0,end:0},m=0,w=!0,y={};this.on=function(e,t){return r.type.Function(t)?(e=e.trim().split(" ")).forEach(function(e){var n=e.split("."),o=n[0],r=n[1];"*"!=o&&(y[o]||(y[o]=[]),y[o].push({namespace:r||"",callback:t}))}):S(1,"ERROR when calling '.on()': Supplied callback for '"+e+"' is not a valid function!"),f},this.off=function(e,t){return e?((e=e.trim().split(" ")).forEach(function(e,n){var o=e.split("."),r=o[0],i=o[1]||"";("*"===r?Object.keys(y):[r]).forEach(function(e){for(var n=y[e]||[],o=n.length;o--;){var r=n[o];!r||i!==r.namespace&&"*"!==i||t&&t!=r.callback||n.splice(o,1)}n.length||delete y[e]})}),f):(S(1,"ERROR: Invalid event name supplied."),f)},this.trigger=function(t,n){if(t){var o=t.trim().split("."),r=o[0],i=o[1],l=y[r];S(3,"event fired:",r,n?"->":"",n||""),l&&l.forEach(function(t,o){i&&i!==t.namespace||t.callback.call(f,new e.Event(r,t.namespace,f,n))})}else S(1,"ERROR: Invalid event name supplied.");return f},f.on("change.internal",function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?L():"reverse"===e.what&&f.update())}).on("shift.internal",function(e){R(),f.update()});var S=this._log=function(e,t){p.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+s+") ->"),r.log.apply(window,arguments))};this.addTo=function(t){return t instanceof e.Controller?l!=t&&(l&&l.removeScene(f),l=t,C(),x(!0),L(!0),R(),l.info("container").addEventListener("resize",A),t.addScene(f),f.trigger("add",{controller:l}),S(3,"added "+s+" to controller"),f.update()):S(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),f},this.enabled=function(e){return arguments.length?(w!=e&&(w=!!e,f.update(!0)),f):w},this.remove=function(){if(l){l.info("container").removeEventListener("resize",A);var e=l;l=void 0,e.removeScene(f),f.trigger("remove"),S(3,"removed "+s+" from controller")}return f},this.destroy=function(e){return f.trigger("destroy",{reset:e}),f.remove(),f.off("*.*"),S(3,"destroyed "+s+" (reset: "+(e?"true":"false")+")"),null},this.update=function(e){if(l)if(e)if(l.enabled()&&w){var t,n=l.info("scrollPos");t=p.duration>0?(n-v.start)/(v.end-v.start):n>=v.start?1:0,f.trigger("update",{startPos:v.start,endPos:v.end,scrollPos:n}),f.progress(t)}else b&&g===c&&P(!0);else l.updateScene(f,!1);return f},this.refresh=function(){return x(),L(),f},this.progress=function(e){if(arguments.length){var t=!1,n=g,o=l?l.info("scrollDirection"):"PAUSED",r=p.reverse||e>=h;if(0===p.duration?(t=h!=e,g=0==(h=e<1&&r?0:1)?a:c):e<0&&g!==a&&r?(h=0,g=a,t=!0):e>=0&&e<1&&r?(h=e,g=c,t=!0):e>=1&&g!==u?(h=1,g=u,t=!0):g!==c||r||P(),t){var i={progress:h,state:g,scrollDirection:o},s=g!=n,d=function(e){f.trigger(e,i)};s&&n!==c&&(d("enter"),d(n===a?"start":"end")),d("progress"),s&&g!==c&&(d(g===a?"start":"end"),d("leave"))}return f}return h};var b,E,R=function(){v={start:m+p.offset},l&&p.triggerElement&&(v.start-=l.info("size")*p.triggerHook),v.end=v.start+p.duration},x=function(e){if(i){var t="duration";O(t,i.call(f))&&!e&&(f.trigger("change",{what:t,newval:p[t]}),f.trigger("shift",{reason:t}))}},L=function(e){var n=0,o=p.triggerElement;if(l&&(o||m>0)){if(o)if(o.parentNode){for(var i=l.info(),s=r.get.offset(i.container),a=i.vertical?"top":"left";o.parentNode.hasAttribute(t);)o=o.parentNode;var c=r.get.offset(o);i.isDocument||(s[a]-=l.scrollPos()),n=c[a]-s[a]}else S(2,"WARNING: triggerElement was removed from DOM and will be reset to",void 0),f.triggerElement(void 0);var u=n!=m;m=n,u&&!e&&f.trigger("shift",{reason:"triggerElementPosition"})}},A=function(e){p.triggerHook>0&&f.trigger("shift",{reason:"containerResize"})}
2,T=r.extend(o.validate,{duration:function(e){if(r.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)){var t=parseFloat(e)/100;e=function(){return l?l.info("size")*t:0}}if(r.type.Function(e)){i=e;try{e=parseFloat(i.call(f))}catch(t){e=-1}}if(e=parseFloat(e),!r.type.Number(e)||e<0)throw i?(i=void 0,['Invalid return value of supplied function for option "duration":',e]):['Invalid value for option "duration":',e];return e}}),C=function(e){(e=arguments.length?[e]:Object.keys(T)).forEach(function(e,t){var n;if(T[e])try{n=T[e](p[e])}catch(t){n=d[e];var o=r.type.String(t)?[t]:t;r.type.Array(o)?(o[0]="ERROR: "+o[0],o.unshift(1),S.apply(this,o)):S(1,"ERROR: Problem executing validation callback for option '"+e+"':",t.message)}finally{p[e]=n}})},O=function(e,t){var n=!1,o=p[e];return p[e]!=t&&(p[e]=t,C(e),n=o!=p[e]),n},F=function(e){f[e]||(f[e]=function(t){return arguments.length?("duration"===e&&(i=void 0),O(e,t)&&(f.trigger("change",{what:e,newval:p[e]}),o.shifts.indexOf(e)>-1&&f.trigger("shift",{reason:e})),f):p[e]})};this.controller=function(){return l},this.state=function(){return g},this.scrollOffset=function(){return v.start},this.triggerPosition=function(){var e=p.offset;return l&&(p.triggerElement?e+=m:e+=l.info("size")*f.triggerHook()),e},f.on("shift.internal",function(e){var t="duration"===e.reason;(g===u&&t||g===c&&0===p.duration)&&P(),t&&z()}).on("progress.internal",function(e){P()}).on("add.internal",function(e){z()}).on("destroy.internal",function(e){f.removePin(e.reset)});var P=function(e){if(b&&l){var t=l.info(),n=E.spacer.firstChild;if(e||g!==c){var o={position:E.inFlow?"relative":"absolute",top:0,left:0},i=r.css(n,"position")!=o.position;E.pushFollowers?p.duration>0&&(g===u&&0===parseFloat(r.css(E.spacer,"padding-top"))||g===a&&0===parseFloat(r.css(E.spacer,"padding-bottom")))&&(i=!0):o[t.vertical?"top":"left"]=p.duration*h,r.css(n,o),i&&z()}else{"fixed"!=r.css(n,"position")&&(r.css(n,{position:"fixed"}),z());var s=r.get.offset(E.spacer,!0),d=p.reverse||0===p.duration?t.scrollPos-v.start:Math.round(h*p.duration*10)/10;s[t.vertical?"top":"left"]+=d,r.css(E.spacer.firstChild,{top:s.top,left:s.left})}}},z=function(){if(b&&l&&E.inFlow){var e=g===c,t=l.info("vertical"),n=E.spacer.firstChild,o=r.isMarginCollapseType(r.css(E.spacer,"display")),i={};E.relSize.width||E.relSize.autoFullWidth?e?r.css(b,{width:r.get.width(E.spacer)}):r.css(b,{width:"100%"}):(i["min-width"]=r.get.width(t?b:n,!0,!0),i.width=e?i["min-width"]:"auto"),E.relSize.height?e?r.css(b,{height:r.get.height(E.spacer)-(E.pushFollowers?p.duration:0)}):r.css(b,{height:"100%"}):(i["min-height"]=r.get.height(t?n:b,!0,!o),i.height=e?i["min-height"]:"auto"),E.pushFollowers&&(i["padding"+(t?"Top":"Left")]=p.duration*h,i["padding"+(t?"Bottom":"Right")]=p.duration*(1-h)),r.css(E.spacer,i)}},N=function(){l&&b&&g===c&&!l.info("isDocument")&&P()},k=function(){l&&b&&g===c&&((E.relSize.width||E.relSize.autoFullWidth)&&r.get.width(window)!=r.get.width(E.spacer.parentNode)||E.relSize.height&&r.get.height(window)!=r.get.height(E.spacer.parentNode))&&z()},I=function(e){l&&b&&g===c&&!l.info("isDocument")&&(e.preventDefault(),l._setScrollPos(l.info("scrollPos")-((e.wheelDelta||e[l.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))};this.setPin=function(e,n){var o=n&&n.hasOwnProperty("pushFollowers");if(n=r.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},n),!(e=r.get.elements(e)[0]))return S(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),f;if("fixed"===r.css(e,"position"))return S(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),f;if(b){if(b===e)return f;f.removePin()}var i=(b=e).parentNode.style.display,l=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];b.parentNode.style.display="none";var s="absolute"!=r.css(b,"position"),a=r.css(b,l.concat(["display"])),c=r.css(b,["width","height"]);
2b.parentNode.style.display=i,!s&&n.pushFollowers&&(S(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),n.pushFollowers=!1),window.setTimeout(function(){b&&0===p.duration&&o&&n.pushFollowers&&S(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")},0);var u=b.parentNode.insertBefore(document.createElement("div"),b),d=r.extend(a,{position:s?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(s||r.extend(d,r.css(b,["width","height"])),r.css(u,d),u.setAttribute(t,""),r.addClass(u,n.spacerClass),E={spacer:u,relSize:{width:"%"===c.width.slice(-1),height:"%"===c.height.slice(-1),autoFullWidth:"auto"===c.width&&s&&r.isMarginCollapseType(a.display)},pushFollowers:n.pushFollowers,inFlow:s},!b.___origStyle){b.___origStyle={};var g=b.style;l.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(e){b.___origStyle[e]=g[e]||""})}return E.relSize.width&&r.css(u,{width:c.width}),E.relSize.height&&r.css(u,{height:c.height}),u.appendChild(b),r.css(b,{position:s?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(E.relSize.width||E.relSize.autoFullWidth)&&r.css(b,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",N),window.addEventListener("resize",N),window.addEventListener("resize",k),b.addEventListener("mousewheel",I),b.addEventListener("DOMMouseScroll",I),S(3,"added pin"),P(),f},this.removePin=function(e){if(b){if(g===c&&P(!0),e||!l){var n=E.spacer.firstChild;if(n.hasAttribute(t)){var o=E.spacer.style,i={};["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(e){i[e]=o[e]||""}),r.css(n,i)}E.spacer.parentNode.insertBefore(n,E.spacer),E.spacer.parentNode.removeChild(E.spacer),b.parentNode.hasAttribute(t)||(r.css(b,b.___origStyle),delete b.___origStyle)}window.removeEventListener("scroll",N),window.removeEventListener("resize",N),window.removeEventListener("resize",k),b.removeEventListener("mousewheel",I),b.removeEventListener("DOMMouseScroll",I),b=void 0,S(3,"removed pin (reset: "+(e?"true":"false")+")")}return f};var M,_=[];return f.on("destroy.internal",function(e){f.removeClassToggle(e.reset)}),this.setClassToggle=function(e,t){var n=r.get.elements(e);return 0!==n.length&&r.type.String(t)?(_.length>0&&f.removeClassToggle(),M=t,_=n,f.on("enter.internal_class leave.internal_class",function(e){var t="enter"===e.type?r.addClass:r.removeClass;_.forEach(function(e,n){t(e,M)})}),f):(S(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===n.length?"element":"classes")+" supplied."),f)},this.removeClassToggle=function(e){return e&&_.forEach(function(e,t){r.removeClass(e,M)}),f.off("start.internal_class end.internal_class"),M=void 0,_=[],f},function(){for(var e in p)d.hasOwnProperty(e)||(S(2,'WARNING: Unknown option "'+e+'"'),delete p[e]);for(var t in d)F(t);C()}(),f};var o={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!r.type.Number(e))throw['Invalid value for option "offset":',e];return e},triggerElement:function(e){if(e=e||void 0){var t=r.get.elements(e)[0];if(!t||!t.parentNode)throw['Element defined in option "triggerElement" was not found:',e];e=t}return e},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(r.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw['Invalid value for option "triggerHook": ',e];e=t[e]}return e},reverse:function(e){return!!e},loglevel:function(e){if(e=parseInt(e),!r.type.Number(e)||e<0||e>3)throw['Invalid value for option "loglevel":',e];return e}},shifts:["duration","offset","triggerHook"]};e.Scene.addOption=function(t,n,r,i){t in o.defaults?e._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+t+"', because it already exists."):(o.defaults[t]=n,o.validate[t]=r,i&&o.shifts.push(t))},e.Scene.extend=function(t){var n=this;e.Scene=function(){return n.apply(this,arguments),this.$super=r.extend({},this),t.apply(this,arguments)||this},r.extend(e.Scene,n),e.Scene.prototype=n.prototype,e.Scene.prototype.constructor=e.Scene},e.Event=function(e,t,n,o){for(var r in o=o||{})this[r]=o[r];return this.type=e,this.target=this.currentTarget=n,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this};var r=e._util=function(e){var t,n={},o=function(e){return parseFloat(e)||0},r=function(t){return t.currentStyle?t.currentStyle:e.getComputedStyle(t)},i=function(t,n,i,l){if((n=n===document?e:n)===e)l=!1;else if(!g.DomElement(n))return 0;t=t.charAt(0).toUpperCase()+t.substr(1).toLowerCase();var s=(i?n["offset"+t]||n["outer"+t]:n["client"+t]||n["inner"+t])||0;if(i&&l){var a=r(n);s+="Height"===t?o(a.marginTop)+o(a.marginBottom):o(a.marginLeft)+o(a.marginRight)}return s},l=function(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})};n.extend=function(e){for(e=e||{},t=1;t<arguments.length;t++)if(arguments[t])for(var n in arguments[t])arguments[t].hasOwnProperty(n)&&(e[n]=arguments[t][n]);return e},n.isMarginCollapseType=function(e){return["block","flex","list-item","table","-webkit-box"].indexOf(e)>-1};
2var s=0,a=["ms","moz","webkit","o"],c=e.requestAnimationFrame,u=e.cancelAnimationFrame;for(t=0;!c&&t<a.length;++t)c=e[a[t]+"RequestAnimationFrame"],u=e[a[t]+"CancelAnimationFrame"]||e[a[t]+"CancelRequestAnimationFrame"];c||(c=function(t){var n=(new Date).getTime(),o=Math.max(0,16-(n-s)),r=e.setTimeout(function(){t(n+o)},o);return s=n+o,r}),u||(u=function(t){e.clearTimeout(t)}),n.rAF=c.bind(e),n.cAF=u.bind(e);var d=["error","warn","log"],f=e.console||{};for(f.log=f.log||function(){},t=0;t<d.length;t++){var p=d[t];f[p]||(f[p]=f.log)}n.log=function(e){(e>d.length||e<=0)&&(e=d.length);var t=new Date,n=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2)+":"+("0"+t.getSeconds()).slice(-2)+":"+("00"+t.getMilliseconds()).slice(-3),o=d[e-1],r=Array.prototype.splice.call(arguments,1),i=Function.prototype.bind.call(f[o],f);r.unshift(n),i.apply(f,r)};var g=n.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};g.String=function(e){return"string"===g(e)},g.Function=function(e){return"function"===g(e)},g.Array=function(e){return Array.isArray(e)},g.Number=function(e){return!g.Array(e)&&e-parseFloat(e)+1>=0},g.DomElement=function(e){return"object"==typeof HTMLElement||"function"==typeof HTMLElement?e instanceof HTMLElement||e instanceof SVGElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var h=n.get={};return h.elements=function(t){var n=[];if(g.String(t))try{t=document.querySelectorAll(t)}catch(e){return n}if("nodelist"===g(t)||g.Array(t)||t instanceof NodeList)for(var o=0,r=n.length=t.length;o<r;o++){var i=t[o];n[o]=g.DomElement(i)?i:h.elements(i)}else(g.DomElement(t)||t===document||t===e)&&(n=[t]);return n},h.scrollTop=function(t){return t&&"number"==typeof t.scrollTop?t.scrollTop:e.pageYOffset||0},h.scrollLeft=function(t){return t&&"number"==typeof t.scrollLeft?t.scrollLeft:e.pageXOffset||0},h.width=function(e,t,n){return i("width",e,t,n)},h.height=function(e,t,n){return i("height",e,t,n)},h.offset=function(e,t){var n={top:0,left:0};if(e&&e.getBoundingClientRect){var o=e.getBoundingClientRect();n.top=o.top,n.left=o.left,t||(n.top+=h.scrollTop(),n.left+=h.scrollLeft())}return n},n.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t)},n.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},n.css=function(e,t){if(g.String(t))return r(e)[l(t)];if(g.Array(t)){var n={},o=r(e);return t.forEach(function(e,t){n[e]=o[l(e)]}),n}for(var i in t){var s=t[i];s==parseFloat(s)&&(s+="px"),e.style[l(i)]=s}},n}(window||{});return e.Scene.prototype.addIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},e.Scene.prototype.removeIndicators=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},e.Scene.prototype.setTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},e.Scene.prototype.removeTween=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},e.Scene.prototype.setVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},e.Scene.prototype.removeVelocity=function(){return e._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},e},void 0===(r=o.call(t,n,t,e))||(e.exports=r)}},t={};function n(o){var r=t[o];
2if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(3816),t=n.n(e);function o({children:e}){const{pullQuotes:n,figures:o}=e,r=(e,t)=>e.classList.contains(t),i=n.length?new(t().Controller):null;n.length&&n.forEach(e=>{0>=e.getBoundingClientRect().top-document.documentElement.clientHeight||((e,n)=>{i&&new(t().Scene)({triggerElement:e,triggerHook:"onEnter",duration:"0%",offset:70}).setClassToggle(e,n).update(!0).reverse(!1).addTo(i)})(e,(e=>matchMedia("screen and (max-width: 375px)").matches?(e.classList.add("move-left"),"fade-in-left-right"):r(e,"alignright")?(e.classList.add("move-right"),"fade-in-left-right"):r(e,"alignleft")?(e.classList.add("move-left"),"fade-in-left-right"):(e.classList.add("move-down"),"fade-in-up"))(e))}),o.length&&o.forEach(e=>{const t=e.querySelector("img");t&&(t.getAttribute("src")||"").includes("120*120")&&(e.classList.add("sponsor-logo"),e.classList.add("alignleft"))})}function r(e,t){var n,o;const r={};return Object.entries(null!==(n=e.querySelector)&&void 0!==n?n:{}).forEach(([e,n])=>{r[e]=t.querySelector(n)}),Object.entries(null!==(o=e.querySelectorAll)&&void 0!==o?o:{}).forEach(([e,n])=>{r[e]=t.querySelectorAll(n)}),r}const i={name:"article",querySelector:{},querySelectorAll:{pullQuotes:".wp-block-pullquote",figures:".rich-text .wp-block-image"},options:{}};function l(e){const t=r(i,e);return{pullQuotes:t.pullQuotes,figures:t.figures}}function s(e,t){for(;e&&e!==document;e=e.parentNode)if(e.matches(t))return e;return null}function a(e={}){const{children:{items:t=null}={}}=e||{};t&&(t instanceof HTMLElement?[t]:Array.isArray(t)?t:Array.from(t)).forEach(e=>{e.addEventListener("click",t=>{var n;!function(e,t,n){if(e.preventDefault(),t&&["twitter","facebook"].includes(t))window.open(n,"t","toolbar=0,resizable=1,scrollbars=1,status=1,width=600,height=400")||(window.location=n);else if("print"===t)window.print();else if("comments"===t){if(void 0===window.FB&&void 0!==window.nbc.facebookAppId){window.fbAsyncInit=function(){window.FB.init({appId:window.nbc.facebookAppId,autoLogAppEvents:!0,xfbml:!0,version:"v10.0"})};var o=document.createElement("script"),r=document.getElementsByTagName("script")[0];o.src="https://connect.facebook.net/en_US/sdk.js",o.async=!0,r.parentNode.insertBefore(o,r)}document.body.classList.add("comments-open")}else window.location=n}(t,(null===(n=e.dataset)||void 0===n?void 0:n.service)||"",e instanceof HTMLAnchorElement?e.href:e.getAttribute("href")||"")})})}const c={name:"sharingBar",querySelectorAll:{items:".share-buttons a"},options:{}};var u;u=function(){!function(){const e=document.querySelectorAll('[data-component="article"]');if(0===e.length){const e=l(document.documentElement);return void o({element:document.documentElement,children:e})}e.forEach(e=>{o({element:e,children:l(e)})})}(),function({element:e}){let t=null,n=null;const o=matchMedia("screen and (min-width: 1280px)").matches;t=s(e,".article-header--wrap"),n=s(e,".article-content--wrap"),t&&e.setAttribute("aria-hidden",o?"true":"false"),n&&e.setAttribute("aria-hidden",o?"false":"true")}({element:document.querySelector(".article-meta")}),function(){const e=document.querySelectorAll('[data-component="sharingBar"]');if(0===e.length){const e=r(c,document.documentElement);return void a({element:document.documentElement,children:e})}e.forEach(e=>{a({element:e,children:r(c,e)})})}(),function(e={}){const{element:n}=e,o="true"===(null==n?void 0:n.dataset.stickyEnabled);if(o&&document.body.classList.add("sticky-video-enabled"),!matchMedia("screen and (min-width: 768px)").matches&&!o)return;if(window.matchMedia("screen and (max-width: 767px)").matches&&document.body.classList.contains("station-white-label"))return;if(!n)return;const r=new(t().Controller),i=document.querySelector(".video-flyout__dismiss");i&&i.addEventListener("click",function(){const e=this.closest(".video-flyout");
2e&&e.classList.contains("video-flyout--fixed")&&(e.classList.remove("video-flyout--fixed"),document.body.classList.remove("sticky-video-enabled"),e.classList.add("video-flyout--dismissed"))}),window.addEventListener("load",()=>{var e;n.style.height=`${n.clientHeight}px`;const t=n.childNodes[1],o=null===(e=null==t?void 0:t.childNodes)||void 0===e?void 0:e[1];o&&(o.style.position="relative")}),new(t().Scene)({triggerElement:n,triggerHook:0,offset:150}).setClassToggle(n,"video-flyout--fixed").addTo(r)}({element:document.querySelector(".video-flyout")})},"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",u):u()}()}(); 3//# sourceMappingURL=article.fa0218e40f1ea931107f.bundle.min.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.