(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{1029:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));n(22),n(188);function o(e){var t,time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(){t&&clearTimeout(t);for(var n=arguments.length,o=new Array(n),r=0;r=0&&(d="".concat(o-r,"px"),z.log(this.$el,"element is too close to the top of the viewport, setting top rootMargin to ".concat(d))),l>=0&&(c="".concat(o-l,"px"),z.log(this.$el,"element is too close to the bottom of the viewport, setting bottom rootMargin to ".concat(c))),"".concat(d," 0px ").concat(c," 0px")}},{key:"onResize",value:function(){this.lazyObserver&&this.lazyObserver.destroy(),this.createObserver()}},{key:"beforeDestroy",value:function(){this.lazyObserver&&this.lazyObserver.destroy(),window.removeEventListener("resize",this.debounceResize),this.debounceResize=null}},{key:"rootMarginOverride",get:function(){var e;return this.rootMargin||(null==this||null===(e=this.$ads)||void 0===e||null===(e=e.config)||void 0===e||null===(e=e.adDisplay)||void 0===e?void 0:e.lazyLoadRootMargin)||w}}]),t}(y.Vue),C=A=Object(h.a)([y.Component],A),P=n(187),D=Object(P.a)(C,undefined,undefined,!1,null,null,null).exports,$=n(6);function L(e,t,n){return t=Object(d.a)(t),Object(l.a)(e,R()?Reflect.construct(t,n||[],Object(d.a)(e).constructor):t.apply(e,n))}function R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(R=function(){return!!e})()}var x=function(e){function t(){var e;return Object(o.a)(this,t),(e=L(this,t,arguments)).collapsed=!1,e.rendered=!1,e.isBlank=!0,e.rootMargin="200% 0px",e.triggerLoadOnUpdate=!1,e.additionalAttributes={},e}return Object(c.a)(t,e),Object(r.a)(t,[{key:"lazyLoadedChanged",value:function(e){e&&!this.rendered&&this.lazyEnabled&&this.loadAd()}},{key:"adSlotChanged",value:function(e,t){e!==t&&(this.triggerLoadOnUpdate=!0)}},{key:"slotName",get:function(){var e;return null==this||null===(e=this.slots)||void 0===e?void 0:e[null==this?void 0:this.device]}},{key:"slotInstanceName",get:function(){return this.adInstance>0?"".concat(this.adSlot,"-").concat(this.adInstance):this.adSlot}},{key:"isWithinConstraint",get:function(){return this.constraint.includes(this.device)||this.constraint===$.b.All}},{key:"containerClasses",get:function(){return this.isWithinConstraint?["c-adDisplay_container",this.parentContainerClasses,this.adSlot?"c-adDisplay_container_"+this.adSlot:null,this.spaced?"spaced":null,this.collapsed?"collapsed":null,this.rendered?"rendered":null,this.isBlank?"blank":null]:[]}},{key:"containerSlotStyle",get:function(){var e;return this.isWithinConstraint?null===(e=this.containerStyles)||void 0===e?void 0:e[this.device]:{}}},{key:"adSlot",get:function(){var e,t,n,o,r=this.device;this.constraint===$.b.All?r===$.b.Tablet&&(""!==this.tabletSlotName||null!==(o=this.slots)&&void 0!==o&&o[$.b.Tablet]||(r=$.b.Desktop)):this.constraint.includes(r)||(r=!1);switch(r){case $.b.Desktop:return this.desktopSlotName||(null===(e=this.slots)||void 0===e?void 0:e[$.b.Desktop]);case $.b.Tablet:return this.tabletSlotName||(null===(t=this.slots)||void 0===t?void 0:t[$.b.Tablet]);case $.b.Mobile:return this.mobileSlotName||(null===(n=this.slots)||void 0===n?void 0:n[$.b.Mobile]);default:return""}}},{key:"adRendered",value:function(e,t,n){this.rendered=!0,this.isBlank=n,this.$emit("ad-rendered",e,t,n),n&&null!=this&&this.collapseEmpty&&(this.collapsed=!0)}},{key:"adDestroyed",value:function(){this.cleanupAd(),this.$emit("ad-destroyed")}},{key:"beforeDestroy",value:function(){var e;(!this.delayLoad||this.delayLoad&&this.lazyLoaded)&&(this.rendered=!1,this.$refs.monetizationSlot&&null!==(e=this.$ads.adDisplay)&&void 0!==e&&e.isInitialized&&this.$ads.adDisplay.unregisterComponent(this))}},{key:"created",value:function(){var e;this.lazyEnabled=this.delayLoad&&this.lazyLoad,null!==(e=this.$ads.adDisplay)&&void 0!==e&&e.isInitialized&&this.$ads.adDisplay.registerComponent(this)}},{key:"getAdDiv",value:function(){return this.$refs.monetizationSlot}},{key:"loadAd",value:function(){var e;(this.constraint===$.b.All||this.constraint.includes(this.$store.getters.device)||this.$store.getters.device===this.constraint)&&(this.adSlot&&null!==(e=this.$refs)&&void 0!==e&&e.monetizationSlot&&this.$ads.adDisplay&&!this.suppressAutoReload&&this.$ads.adDisplay.loadAds([this.$refs.monetizationSlot]))}},{key:"cleanupAd",value:function(){this.lazyLoaded=!1,this.rendered=!1,this.lazyReload&&(this.lazyEnabled=!0)}},{key:"removeAd",value:function(){(!this.delayLoad||this.delayLoad&&this.lazyLoaded)&&(this.$refs.monetizationSlot&&this.$ads.adDisplay.removeAds([this.$refs.monetizationSlot]),this.cleanupAd())}},{key:"updated",value:function(){this.triggerLoadOnUpdate&&(!this.$router).isRouting&&(this.triggerLoadOnUpdate=!1,this.loadAd())}}]),t}(Object(y.mixins)(D));Object(h.a)([Object(y.Getter)("device"),Object(h.b)("design:type","function"==typeof(k=void 0!==$.b&&$.b)?k:Object)],x.prototype,"device",void 0),Object(h.a)([Object(y.Prop)({default:"99",type:String}),Object(h.b)("design:type",String)],x.prototype,"adCapOld",void 0),Object(h.a)([Object(y.Prop)({default:""}),Object(h.b)("design:type",String)],x.prototype,"adClass",void 0),Object(h.a)([Object(y.Prop)({default:1,type:[String,Number]}),Object(h.b)("design:type",Object)],x.prototype,"adInstance",void 0),Object(h.a)([Object(y.Prop)({default:""}),Object(h.b)("design:type",String)],x.prototype,"callout",void 0),Object(h.a)([Object(y.Prop)({default:!1}),Object(h.b)("design:type",Boolean)],x.prototype,"collapseEmpty",void 0),Object(h.a)([Object(y.Prop)({default:$.b.All,type:[Array,String]}),Object(h.b)("design:type",Object)],x.prototype,"constraint",void 0),Object(h.a)([Object(y.Prop)({default:function(){return{}}}),Object(h.b)("design:type",Object)],x.prototype,"containerStyles",void 0),Object(h.a)([Object(y.Prop)({default:!1}),Object(h.b)("design:type",Boolean)],x.prototype,"delayLoad",void 0),Object(h.a)([Object(y.Prop)({default:""}),Object(h.b)("design:type",String)],x.prototype,"desktopSlotName",void 0),Object(h.a)([Object(y.Prop)({default:!1}),Object(h.b)("design:type",Boolean)],x.prototype,"lazyLoad",void 0),Object(h.a)([Object(y.Prop)({default:!1}),Object(h.b)("design:type",Boolean)],x.prototype,"lazyReload",void 0),Object(h.a)([Object(y.Prop)({default:""}),Object(h.b)("design:type",String)],x.prototype,"mobileSlotName",void 0),Object(h.a)([Object(y.Prop)({default:function(){return[]},type:Array}),Object(h.b)("design:type",Array)],x.prototype,"parentContainerClasses",void 0),Object(h.a)([Object(y.Prop)({default:!1}),Object(h.b)("design:type",Boolean)],x.prototype,"spaced",void 0),Object(h.a)([Object(y.Prop)({default:null}),Object(h.b)("design:type",Object)],x.prototype,"slots",void 0),Object(h.a)([Object(y.Prop)({default:!1}),Object(h.b)("design:type",Boolean)],x.prototype,"suppressAutoReload",void 0),Object(h.a)([Object(y.Prop)({default:""}),Object(h.b)("design:type",String)],x.prototype,"tabletSlotName",void 0),Object(h.a)([Object(y.Prop)({default:!1}),Object(h.b)("design:type",Boolean)],x.prototype,"viewportCenter",void 0),Object(h.a)([Object(y.Watch)("lazyLoaded"),Object(h.b)("design:type",Function),Object(h.b)("design:paramtypes",[Boolean]),Object(h.b)("design:returntype",void 0)],x.prototype,"lazyLoadedChanged",null),Object(h.a)([Object(y.Watch)("adSlot"),Object(h.b)("design:type",Function),Object(h.b)("design:paramtypes",[String,String]),Object(h.b)("design:returntype",void 0)],x.prototype,"adSlotChanged",null);var I=x=Object(h.a)([y.Component],x),E=(n(1211),Object(P.a)(I,(function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",e._b({class:e.containerClasses,style:e.containerSlotStyle},"div",e.additionalAttributes,!1),[t("client-only",[e.adSlot?t("div",{ref:"monetizationSlot",staticClass:"u-text-center c-adDisplay",class:[e.adClass,{"c-adDisplay-viewportCenter":e.viewportCenter}],attrs:{"data-ad":e.adSlot,"data-ad-cap-old":e.adCapOld,"data-instance":e.adInstance,"data-disable-initial-load":e.delayLoad,"data-constraint":e.constraint}}):e._e()])],1)}),[],!1,null,null,null));t.a=E.exports},1141:function(e,t,n){var content=n(1212);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(302).default)("47ca5d4c",content,!0,{sourceMap:!1})},1211:function(e,t,n){"use strict";n(1141)},1212:function(e,t,n){var o=n(301)((function(i){return i[1]}));o.push([e.i,".c-adDisplay_container.spaced{margin-bottom:1rem}.c-adDisplay{margin:0 auto;justify-content:center}.c-adDisplay iframe{max-width:none}@media(min-width: 768px){.c-adDisplay-viewportCenter:not(.skybox-loaded-slot){margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}}@media(min-width: 768px){.c-adDisplay-viewportCenter:not(.skybox-loaded-slot).power-bar{clear:both}}.c-adDisplay_container.collapsed{min-height:0}.c-adDisplay_container_mobile-incontent-ad-plus{min-height:250px}.c-adDisplay_container_leaderboard-middle{min-height:66px}.c-adDisplay_container_mpu-top{min-height:250px}.c-adDisplay_container_leader-middle{min-height:90px}",""]),o.locals={},e.exports=o},998:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(2),r=n(3),l=(n(651),n(8),n(35),n(15),new(n(21).a)("observer")),d=function(){function e(t,n){if(Object(o.a)(this,e),!window.IntersectionObserver)return l.warn("This browser does not support IntersectionObserver"),this;t.rootMargin=t.rootMargin||"0px",t.singleIntersection=!!t.singleIntersection&&t.singleIntersection,t.triggerOn=t.triggerOn?t.triggerOn:"top";try{return this.create(t,n)}catch(e){return l.error("Failed to construct IntersectionObserver: ".concat(e.toString()),t),this}}return Object(r.a)(e,[{key:"create",value:function(e,t){var n=this;if(l.log("create options",e),this.el=e.el,t)return Array.isArray(this.el)&&(this.lastTriggerPosition=[]),this.observer=new IntersectionObserver((function(o,r){o.forEach((function(o){var r=!0,data=(null==e?void 0:e.data)||{};if(Array.isArray(n.el)){var d,c,h=n.el.findIndex((function(e){return e===(null==o?void 0:o.target)})),y=null===(d=n.lastTriggerPosition)||void 0===d?void 0:d[h];r=void 0===y||y>o.boundingClientRect.y,n.lastTriggerPosition[h]=o.boundingClientRect.y,data=(null==e||null===(c=e.data)||void 0===c?void 0:c[h])||{}}else r=void 0===n.lastTriggerPosition||n.lastTriggerPosition>o.boundingClientRect.y,n.lastTriggerPosition=o.boundingClientRect.y;var v=r?"down":"up",f=!1;if(l.log(v,o),e.singleIntersection?"top"===e.triggerOn?"down"===v&&o.isIntersecting?f=!0:"up"!==v||o.isIntersecting||(f=!0):"bottom"===e.triggerOn&&("down"!==v||o.isIntersecting?"up"===v&&o.isIntersecting&&(f=!0):f=!0):o.isIntersecting&&(f=!0),f){var O={direction:v,data:data,observer:n,entry:o};l.log(v,o,n),t(O)}}))}),e),this.enable(),this;l.warn("No handler specified on Intersection Observer")}},{key:"enable",value:function(){var e=this;this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((function(t){e.observer.observe(t)})):this.observer.observe(this.el))}},{key:"disable",value:function(){var e=this;this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((function(t){e.observer.unobserve(t)})):this.observer.unobserve(this.el))}},{key:"destroy",value:function(){this.observer&&this.el&&(this.disable(),this.observer.disconnect(),this.observer=null,this.el=null)}},{key:"refresh",value:function(){this.observer&&this.el&&(this.disable(),this.enable())}}]),e}()}}]);