(window.webpackJsonp=window.webpackJsonp||[]).push([[78],{1066:function(t,e,n){"use strict";e.a=function(object){return function(t){return null==object?void 0:object[t]}}},1361:function(t,e,n){"use strict";(function(t){var r=n(8),o="object"==(void 0===t?"undefined":Object(r.a)(t))&&t&&t.Object===Object&&t;e.a=o}).call(this,n(76))},1648:function(t,e,n){"use strict";n.d(e,"a",(function(){return I}));var r=n(8);n(170),n(73);var o=function(t){var e=Object(r.a)(t);return null!=t&&("object"==e||"function"==e)},c=n(1361),l="object"==("undefined"==typeof self?"undefined":Object(r.a)(self))&&self&&self.Object===Object&&self,f=c.a||l||Function("return this")(),d=function(){return f.Date.now()},h=(n(15),n(44),n(62),f.Symbol),v=(n(5),n(37),Object.prototype),y=v.hasOwnProperty,m=v.toString,w=h?h.toStringTag:void 0;var j=function(t){var e=y.call(t,w),n=t[w];try{t[w]=void 0;var r=!0}catch(t){}var o=m.call(t);return r&&(e?t[w]=n:delete t[w]),o},O=Object.prototype.toString;var S=function(t){return O.call(t)},x=h?h.toStringTag:void 0;var k=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":x&&x in Object(t)?j(t):S(t)};var E=function(t){return null!=t&&"object"==Object(r.a)(t)};var T=function(t){return"symbol"==Object(r.a)(t)||E(t)&&"[object Symbol]"==k(t)},$=/^\s+|\s+$/g,N=/^[-+]0x[0-9a-f]+$/i,L=/^0b[01]+$/i,C=/^0o[0-7]+$/i,H=parseInt;var M=function(t){if("number"==typeof t)return t;if(T(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace($,"");var n=L.test(t);return n||C.test(t)?H(t.slice(2),n?2:8):N.test(t)?NaN:+t},A=Math.max,B=Math.min;var F=function(t,e,n){var r,c,l,f,h,v,y=0,m=!1,w=!1,j=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function O(time){var e=r,n=c;return r=c=void 0,y=time,f=t.apply(n,e)}function S(time){return y=time,h=setTimeout(k,e),m?O(time):f}function x(time){var t=time-v;return void 0===v||t>=e||t<0||w&&time-y>=l}function k(){var time=d();if(x(time))return E(time);h=setTimeout(k,function(time){var t=e-(time-v);return w?B(t,l-(time-y)):t}(time))}function E(time){return h=void 0,j&&r?O(time):(r=c=void 0,f)}function T(){var time=d(),t=x(time);if(r=arguments,c=this,v=time,t){if(void 0===h)return S(v);if(w)return h=setTimeout(k,e),O(v)}return void 0===h&&(h=setTimeout(k,e)),f}return e=M(e)||0,o(n)&&(m=!!n.leading,l=(w="maxWait"in n)?A(M(n.maxWait)||0,e):l,j="trailing"in n?!!n.trailing:j),T.cancel=function(){void 0!==h&&clearTimeout(h),y=0,r=v=c=h=void 0},T.flush=function(){return void 0===h?f:E(d())},T};var R=function(t,e,n){var r=!0,c=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return o(n)&&(r="leading"in n?!!n.leading:r,c="trailing"in n?!!n.trailing:c),F(t,e,{leading:r,maxWait:e,trailing:c})},W={props:{articles:{type:Array,default:function(){return[]}},handler:{type:Function,default:function(){return!1}},shouldHandle:{type:Function,default:function(){return!1}},threshold:{type:Function,default:function(){return!1}},throttle:{type:Number,default:200},scrollContainer:{default:function(){return{addEventListener:function(){}}}}},mounted:function(){this.createScrollHandler()},methods:{createScrollHandler:function(){this.check=R(this.execute,this.throttle),this.scrollContainer.addEventListener("scroll",this.check)},execute:function(){this.threshold()&&this.shouldHandle()&&this.handler()},getSlug:function(t){return this.articles[t]?this.articles[t].slug:""},getTitle:function(t){return this.articles[t]?this.articles[t].title:""}},computed:{getWindow:function(){return"object"===("undefined"==typeof window?"undefined":Object(r.a)(window))?window:{}}},beforeDestroy:function(){this.scrollContainer.removeEventListener("scroll",this.check)}},_=n(36),I=(Object(_.a)(W,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"component-infinite-scroll"},[t._l(t.articles,(function(article,e){return t._t("article",null,{body:article,index:e})}))],2)}),[],!1,null,null,null).exports,n(1),n(2),{mounted:function(){},methods:{infiniteScrollHandleMobileAd:function(){if(this.infiniteScrollIsNextMobileArticle()&&this.$refs.article){var t=this.$refs.article.querySelector(".slot");if(t)return t.offsetTop+250+140>this.pixelHeight}},infiniteScrollIsNextMobileArticle:function(){return this.$isMobile&&this.index>0&&this.showContinueReading},infiniteScrollExpandArticle:function(){this.$refs.article.style.height="",this.$refs.article.style.overflow=""}}})},1652:function(t,e,n){"use strict";n(116),n(15),n(37),n(44);var r=n(356),o=n(1066),c=Object(o.a)({"&":"&","<":"<",">":">",""":'"',"'":"'"}),l=/&(?:amp|lt|gt|quot|#39);/g,f=RegExp(l.source);e.a=function(t){return(t=Object(r.a)(t))&&f.test(t)?t.replace(l,c):t}},750:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(8),o=n(1),c=n(2),l=(n(5),function(){function t(){Object(o.a)(this,t),this.isBrowser()?(this.scripts=window.ScriptLoader||{},window.ScriptLoader=this.scripts):this.scripts={}}return Object(c.a)(t,[{key:"isBrowser",value:function(){return"object"===("undefined"==typeof window?"undefined":Object(r.a)(window))}},{key:"load",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return this.hasScriptBeenLoaded(t.src)?Promise.resolve():new Promise(this.promiseResolver(t,e))}},{key:"appendScript",value:function(t,e,n){var script=document.createElement("script");for(var r in script.type="text/javascript",!1===t.async?delete t.async:t.async=!0,t)script[r]=t[r];script.onload=e,script.onerror=n,document.head.appendChild(script)}},{key:"hasScriptBeenLoaded",value:function(t){return!0===this.scripts[t]}},{key:"setScript",value:function(t){this.scripts[t]=!0}},{key:"promiseResolver",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};return function(r,o){e.appendScript(t,(function(){e.setScript(t.src,!0),r(n())}),(function(){o("error")}))}}}]),t}())}}]);