(window.webpackJsonp=window.webpackJsonp||[]).push([[3,59],{1326:function(t,e,n){var content=n(1655);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(300).default)("4f99db4a",content,!0,{sourceMap:!1})},1327:function(t,e,n){var content=n(1657);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(300).default)("48f25c2a",content,!0,{sourceMap:!1})},1654:function(t,e,n){"use strict";n(1326)},1655:function(t,e,n){var o=n(299)((function(i){return i[1]}));o.push([t.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={},t.exports=o},1656:function(t,e,n){"use strict";n(1327)},1657:function(t,e,n){var o=n(299)((function(i){return i[1]}));o.push([t.i,".c-adDisplay{margin:0 auto;justify-content:center}.c-adDisplay-spaced{margin-bottom:1rem}.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}}",""]),o.locals={},t.exports=o},852:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var o=n(2),r=n(3),c=(n(7),n(33),n(14),n(575),new(n(15).a)("observer")),l=function(){function t(e,n){if(Object(o.a)(this,t),!window.IntersectionObserver)return c.warn("This browser does not support IntersectionObserver"),this;e.rootMargin=e.rootMargin||"0px",e.singleIntersection=!!e.singleIntersection&&e.singleIntersection,e.triggerOn=e.triggerOn?e.triggerOn:"top";try{return this.create(e,n)}catch(t){return c.error("Failed to construct IntersectionObserver: ".concat(t.toString()),e),this}}return Object(r.a)(t,[{key:"create",value:function(t,e){var n=this;if(c.log("create options",t),this.el=t.el,e)return Array.isArray(this.el)&&(this.lastTriggerPosition=[]),this.observer=new IntersectionObserver((function(o,r){o.forEach((function(o){var r,l,d=!0,data=(null==t?void 0:t.data)||{};if(Array.isArray(n.el)){var y=n.el.findIndex((function(t){return t===(null==o?void 0:o.target)})),f=null===(r=n.lastTriggerPosition)||void 0===r?void 0:r[y];d=void 0===f||f>o.boundingClientRect.y,n.lastTriggerPosition[y]=o.boundingClientRect.y,data=(null===(l=null==t?void 0:t.data)||void 0===l?void 0:l[y])||{}}else d=void 0===n.lastTriggerPosition||n.lastTriggerPosition>o.boundingClientRect.y,n.lastTriggerPosition=o.boundingClientRect.y;var h=d?"down":"up",v=!1;if(c.log(h,o),t.singleIntersection?"top"===t.triggerOn?"down"===h&&o.isIntersecting?v=!0:"up"!==h||o.isIntersecting||(v=!0):"bottom"===t.triggerOn&&("down"!==h||o.isIntersecting?"up"===h&&o.isIntersecting&&(v=!0):v=!0):o.isIntersecting&&(v=!0),v){var O={direction:h,data:data,observer:n,entry:o};c.log(h,o,n),e(O)}}))}),t),this.enable(),this;c.warn("No handler specified on Intersection Observer")}},{key:"enable",value:function(){var t=this;this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((function(e){t.observer.observe(e)})):this.observer.observe(this.el))}},{key:"disable",value:function(){var t=this;this.observer&&this.el&&(Array.isArray(this.el)?this.el.forEach((function(e){t.observer.unobserve(e)})):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())}}]),t}()},880:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n(167),n(18);function o(t){var e,time=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(){e&&clearTimeout(e);for(var n=arguments.length,o=new Array(n),r=0;r=0&&(l="".concat(o-r,"px"),w.log(this.$el,"element is too close to the top of the viewport, setting top rootMargin to ".concat(l))),c>=0&&(d="".concat(o-c,"px"),w.log(this.$el,"element is too close to the bottom of the viewport, setting bottom rootMargin to ".concat(d))),"".concat(l," 0px ").concat(d," 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 t,e,n;return this.rootMargin||(null===(n=null===(e=null===(t=null==this?void 0:this.$ads)||void 0===t?void 0:t.config)||void 0===e?void 0:e.adDisplay)||void 0===n?void 0:n.lazyLoadRootMargin)||k}}]),l}(f.Vue),A=P=Object(y.c)([f.Component],P),z=n(147),D=Object(z.a)(A,undefined,undefined,!1,null,null,null).exports,R=n(6);function C(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Object(d.a)(t);if(e){var r=Object(d.a)(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Object(l.a)(this,n)}}var x=function(t){Object(c.a)(n,t);var e=C(n);function n(){var t;return Object(o.a)(this,n),(t=e.apply(this,arguments)).collapsed=!1,t.rendered=!1,t.isBlank=!0,t.rootMargin="200% 0px",t.triggerLoadOnUpdate=!1,t.additionalAttributes={},t}return Object(r.a)(n,[{key:"lazyLoadedChanged",value:function(t){t&&!this.rendered&&this.lazyEnabled&&this.loadAd()}},{key:"adSlotChanged",value:function(t,e){t!==e&&(this.triggerLoadOnUpdate=!0)}},{key:"slotName",get:function(){var t;return null===(t=null==this?void 0:this.slots)||void 0===t?void 0:t[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===R.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 t;return this.isWithinConstraint?null===(t=this.containerStyles)||void 0===t?void 0:t[this.device]:{}}},{key:"adSlot",get:function(){var t,e,n,o,r=this.device;switch(this.constraint===R.b.All?r===R.b.Tablet&&(""!==this.tabletSlotName||(null===(t=this.slots)||void 0===t?void 0:t[R.b.Tablet])||(r=R.b.Desktop)):this.constraint.includes(r)||(r=!1),r){case R.b.Desktop:return this.desktopSlotName||(null===(e=this.slots)||void 0===e?void 0:e[R.b.Desktop]);case R.b.Tablet:return this.tabletSlotName||(null===(n=this.slots)||void 0===n?void 0:n[R.b.Tablet]);case R.b.Mobile:return this.mobileSlotName||(null===(o=this.slots)||void 0===o?void 0:o[R.b.Mobile]);default:return""}}},{key:"adRendered",value:function(t,e,n){this.rendered=!0,this.isBlank=n,this.$emit("ad-rendered",t,e,n),n&&(null==this?void 0:this.collapseEmpty)&&(this.collapsed=!0)}},{key:"adDestroyed",value:function(){this.cleanupAd(),this.$emit("ad-destroyed")}},{key:"beforeDestroy",value:function(){var t;(!this.delayLoad||this.delayLoad&&this.lazyLoaded)&&(this.rendered=!1,this.$refs.monetizationSlot&&(null===(t=this.$ads.adDisplay)||void 0===t?void 0:t.isInitialized)&&this.$ads.adDisplay.unregisterComponent(this))}},{key:"created",value:function(){var t;this.lazyEnabled=this.delayLoad&&this.lazyLoad,(null===(t=this.$ads.adDisplay)||void 0===t?void 0:t.isInitialized)&&this.$ads.adDisplay.registerComponent(this)}},{key:"getAdDiv",value:function(){return this.$refs.monetizationSlot}},{key:"loadAd",value:function(){var t;(this.constraint===R.b.All||this.constraint.includes(this.$store.getters.device)||this.$store.getters.device===this.constraint)&&this.adSlot&&(null===(t=this.$refs)||void 0===t?void 0:t.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())}}]),n}(Object(f.mixins)(D));Object(y.c)([Object(f.Getter)("device"),Object(y.f)("design:type","function"==typeof(S=void 0!==R.b&&R.b)?S:Object)],x.prototype,"device",void 0),Object(y.c)([Object(f.Prop)({default:""}),Object(y.f)("design:type",String)],x.prototype,"adClass",void 0),Object(y.c)([Object(f.Prop)({default:1,type:[String,Number]}),Object(y.f)("design:type",Object)],x.prototype,"adInstance",void 0),Object(y.c)([Object(f.Prop)({default:""}),Object(y.f)("design:type",String)],x.prototype,"callout",void 0),Object(y.c)([Object(f.Prop)({default:!1}),Object(y.f)("design:type",Boolean)],x.prototype,"collapseEmpty",void 0),Object(y.c)([Object(f.Prop)({default:R.b.All,type:[Array,String]}),Object(y.f)("design:type",Object)],x.prototype,"constraint",void 0),Object(y.c)([Object(f.Prop)({default:function(){return{}}}),Object(y.f)("design:type",Object)],x.prototype,"containerStyles",void 0),Object(y.c)([Object(f.Prop)({default:!1}),Object(y.f)("design:type",Boolean)],x.prototype,"delayLoad",void 0),Object(y.c)([Object(f.Prop)({default:""}),Object(y.f)("design:type",String)],x.prototype,"desktopSlotName",void 0),Object(y.c)([Object(f.Prop)({default:!1}),Object(y.f)("design:type",Boolean)],x.prototype,"lazyLoad",void 0),Object(y.c)([Object(f.Prop)({default:!1}),Object(y.f)("design:type",Boolean)],x.prototype,"lazyReload",void 0),Object(y.c)([Object(f.Prop)({default:""}),Object(y.f)("design:type",String)],x.prototype,"mobileSlotName",void 0),Object(y.c)([Object(f.Prop)({default:function(){return[]},type:Array}),Object(y.f)("design:type",Array)],x.prototype,"parentContainerClasses",void 0),Object(y.c)([Object(f.Prop)({default:!1}),Object(y.f)("design:type",Boolean)],x.prototype,"spaced",void 0),Object(y.c)([Object(f.Prop)({default:null}),Object(y.f)("design:type",Object)],x.prototype,"slots",void 0),Object(y.c)([Object(f.Prop)({default:!1}),Object(y.f)("design:type",Boolean)],x.prototype,"suppressAutoReload",void 0),Object(y.c)([Object(f.Prop)({default:""}),Object(y.f)("design:type",String)],x.prototype,"tabletSlotName",void 0),Object(y.c)([Object(f.Prop)({default:!1}),Object(y.f)("design:type",Boolean)],x.prototype,"viewportCenter",void 0),Object(y.c)([Object(f.Watch)("lazyLoaded"),Object(y.f)("design:type",Function),Object(y.f)("design:paramtypes",[Boolean]),Object(y.f)("design:returntype",void 0)],x.prototype,"lazyLoadedChanged",null),Object(y.c)([Object(f.Watch)("adSlot"),Object(y.f)("design:type",Function),Object(y.f)("design:paramtypes",[String,String]),Object(y.f)("design:returntype",void 0)],x.prototype,"adSlotChanged",null);var $=x=Object(y.c)([f.Component],x),I=(n(1654),Object(z.a)($,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",t._b({class:t.containerClasses,style:t.containerSlotStyle},"div",t.additionalAttributes,!1),[e("client-only",[t.adSlot?e("div",{ref:"monetizationSlot",staticClass:"u-text-center c-adDisplay",class:[t.adClass,{"c-adDisplay-viewportCenter":t.viewportCenter}],attrs:{"data-ad":t.adSlot,"data-instance":t.adInstance,"data-disable-initial-load":t.delayLoad,"data-constraint":t.constraint}}):t._e()])],1)}),[],!1,null,null,null));e.a=I.exports}}]); //# sourceMappingURL=18b69a6.js.map