var __webpack_modules__=[,function(t,e,i){var n=i(2),r="undefined"==typeof window?i.g:window,o=["moz","webkit"],a="AnimationFrame",s=r["request"+a],h=r["cancel"+a]||r["cancelRequest"+a];for(var c=0;!s&&c<o.length;c++)s=r[o[c]+"Request"+a],h=r[o[c]+"Cancel"+a]||r[o[c]+"CancelRequest"+a];if(!s||!h){var d=0,l=0,f=[],u=1e3/60;s=function(t){if(0===f.length){var e=n(),i=Math.max(0,u-(e-d));d=i+e,setTimeout(function(){var t=f.slice(0);f.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(d)}catch(t){setTimeout(function(){throw t},0)}},Math.round(i))}return f.push({handle:++l,callback:t,cancelled:!1}),l},h=function(t){for(var e=0;e<f.length;e++)f[e].handle===t&&(f[e].cancelled=!0)}}t.exports=function(t){return s.call(r,t)},t.exports.cancel=function(){h.apply(r,arguments)},t.exports.polyfill=function(t){t||(t=r),t.requestAnimationFrame=s,t.cancelAnimationFrame=h}},function(t){(function(){var e,i,n,r;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(t.exports=function(){return(e()-r)/1e6},i=process.hrtime,r=(e=function(){var t;return 1e9*(t=i())[0]+t[1]})()-1e9*process.uptime()):Date.now?(t.exports=function(){return Date.now()-n},n=Date.now()):(t.exports=function(){return new Date().getTime()-n},n=new Date().getTime())}).call(this)}];var __webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var i=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(i.exports,i,i.exports,__webpack_require__),i.exports}__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__(1).polyfill(),function(t){var e=window.self===window.top;var i=window.getComputedStyle;if(t.InfogramEmbed){t.InfogramEmbed.load();return}var n=function(){this._cache={},this._origin=null,this._cacheIframe={},this._visibilitySent={},this._eventsAdded=!1};n.prototype={load:function(){var e=document.getElementsByTagName("script");var i=e.length;var n=0;var r={};for(;n<i;n++){var o=e[n];var a=o.getAttribute("id");if(!(!this.isValidId(a)||this.isHidden(o.parentNode))){var s=this.parseId(a);s.title=o.getAttribute("title"),r[s.id]=o,this._cache[s.id]||(this._cache[s.id]=o,this.loadInfographic(o,s))}}if(Object.keys(this._cache).forEach((function(t){r[t]||this.cleanCaches(t)}).bind(this)),!this._eventsAdded){this._eventsAdded=!0;var h={};h.scroll=this.handleViewUpdate.bind(this),h.scroll.options={passive:!0,capture:!0},h.resize=this.handleViewUpdate.bind(this),h.message=(function(t){if("data"in t&&"string"==typeof t.data){var e=t.data.split(":").shift();var i=t.data.substr(e.length+1).trim();if(/^iframeLoaded/.test(e)){this.processIframeLoaded(t,e,i);return}/^iframeHeight/.test(e)&&this.processIframeHeight(t,e,i)}}).bind(this),this.addEvt(t,h)}},handleViewUpdate:function(){this.vWidth=window.innerWidth||document.documentElement.clientWidth,this.vHeight=window.innerHeight||document.documentElement.clientHeight,this._origin&&(this.scrollBuffer||(this.scrollBuffer=requestAnimationFrame((function(){this.reportElementVisibility(),this.scrollBuffer=null}).bind(this))))},getViewportInfo:function(t){return{root:e?{left:0,top:0,bottom:this.vHeight,right:this.vWidth,width:this.vWidth,height:this.vHeight}:{left:-Number.MAX_VALUE/2,top:-Number.MAX_VALUE/2,bottom:Number.MAX_VALUE/2,right:Number.MAX_VALUE/2,width:Number.MAX_VALUE,height:Number.MAX_VALUE},rect:{left:t.left,top:t.top,bottom:t.bottom,right:t.right,width:t.width,height:t.height}}},cleanCaches:function(t){delete this._cacheIframe[t],delete this._visibilitySent[t],delete this._cache[t]},reportElementVisibility:function(){for(var t in this._cacheIframe){var e=this._cacheIframe[t];var i=e&&e.getBoundingClientRect();if(e&&e.contentWindow)e.contentWindow.postMessage("iframePositionChange:"+JSON.stringify(this.getViewportInfo(i)),this._origin);else{this.cleanCaches(t);continue}!this._visibilitySent[t]&&i&&this.isElementVisible(i)&&(this._visibilitySent[t]=!0)}},isElementVisible:function(t){if(t.right<0||t.bottom<0||t.left>this.vWidth||t.top>this.vHeight||0===t.width&&0===t.height&&0===t.left&&0===t.top)return!1;var e=Math.min(this.vWidth-t.left,t.width);var i=Math.min(this.vHeight-t.top,t.height);var n=-1*Math.min(t.left,-0);return{top:-1*Math.min(t.top,-0),left:n,width:e,height:i}},processIframeLoaded:function(t,e){var n=(e=e.replace("iframeLoaded","")).split("#");var r=this.getCacheScriptId(n);var o=this._cache[r];if(o){var a=this.getLocation(o.getAttribute("src"));var s=a.protocol||window.location.protocol||"https:";":"===a.protocol&&(s=document.location.protocol);var h=this.getLocation(t.origin);if(a.hostname===h.hostname){a.protocol!==h.protocol&&-1===a.protocol.indexOf("https")&&(s=h.protocol);var c=s+"//"+a.host;this._origin=c;var d=this._cacheIframe[r];this.iframeResizeContents(d,c,parseInt(i(d).getPropertyValue("width"),10)),this.handleViewUpdate()}}},processIframeHeight:function(t,e,i){var n=(e=e.replace("iframeHeight","")).split("#");var r=this.getCacheScriptId(n);if(this._cache[r]){var o=this._cacheIframe[r];var a=i+"px";o.style.height!==a&&(o.style.height=a)}},getCacheScriptId:function(t){if(t.length)for(var e=0,i=t.length;e<i;e++){var n=t[e];if(this._cache[n])return n}},loadInfographic:function(t,e){var n=this.getLocation(t.getAttribute("src"));var r=n.protocol;var o=new RegExp(/^[0-9]+%$/i);":"===n.protocol&&(r=document.location.protocol);var a="";"image"===e.type&&(a="&type=image");var s=r+"//"+n.host+"/"+e.id+"?parent_url="+encodeURIComponent(document.location.href)+"&src=embed"+a+"#async_embed";var h=this._cacheIframe[e.id]=this.createIframe(e.width);var c=h.style.width;var d={};d.load=(function(){if(this.removeEvt(h,d),o.test(c)){var t=.01*parseInt(c,10);var a=h.parentNode;var l=i(a);var f=this.getHorizBorders(l)+this.getHorizPaddings(l);var u=parseInt(a.offsetWidth*t,10)-f;h.style.width=u+"px";var p=a.offsetWidth;var m=setInterval((function(){if(h&&h.contentWindow){if(p!==a.offsetWidth){p=a.offsetWidth;var o=this.getHorizBorders(l)+this.getHorizPaddings(l);var s=parseInt(a.offsetWidth*t,10)-o;h.style.width=s+"px";var c=this._origin||r+"//"+n.hostname;this.iframeResizeContents(h,c,s)}else 0===p&&"inline"===l.display&&(l=i(a=a.parentNode))}else clearInterval(m),this.cleanCaches(e.id)}).bind(this),200)}h.src="",h.src=s,h.title="",h.title=e.title}).bind(this),this.addEvt(h,d),this.addAfter(t,h)},iframeResizeContents:function(t,e,i){i=void 0===i?"":":"+i,t.contentWindow.postMessage("iframeWidth"+i,e)},createIframe:function(t){t=(t=parseInt(t,10))?t+"px":"100%";var e=document.createElement("IFRAME");return e.style.border="none",e.setAttribute("scrolling","no"),e.setAttribute("frameborder","0"),e.setAttribute("allowfullscreen",""),e.style.width=t,e.style.height="130px",e},getLocation:function(t){var e=document.createElement("A");return e.href=t,e},getHorizBorders:function(t){return parseInt(t.getPropertyValue("border-left-width")||0,10)+parseInt(t.getPropertyValue("border-right-width")||0,10)},getHorizPaddings:function(t){return parseInt(t.getPropertyValue("padding-left")||0,10)+parseInt(t.getPropertyValue("padding-right")||0,10)},addEvt:function(e,i){for(var n in i)if(i.hasOwnProperty(n)){var r=i[n];e.addEventListener?e.addEventListener(n,r,r.options||!1):e.attachEvent?e.attachEvent("on"+n,this.bind(e,r,t.event)):e["on"+n]=r}},removeEvt:function(t,e){for(var i in e)if(e.hasOwnProperty(i)){var n=e[i];t.removeEventListener?t.removeEventListener(i,n,!1):t.detachEvent?t.detachEvent("on"+i,n):t["on"+i]=!1}},bind:function(t,e){return function(){return e.apply(t,arguments)}},addAfter:function(t,e){t.parentNode.insertBefore(e,t.nextSibling)},isValidId:function(t){return/^infogram(?:img)?_[0-9]+_[\w\-]{16,}$/i.test(t)||/^infogram(?:img)?_[0-9]+__\/[\w\-]{20,}$/i.test(t)},isHidden:function(t){return"none"===i(t).display},parseId:function(t){var e=t.split("_");var i=e.shift();var n="interactive";return"infogramimg"===i&&(n="image"),{width:e.shift(),id:e.join("_"),type:n}}},t.InfogramEmbed=new n,t.InfogramEmbed.load(),window.addEventListener("popstate",function(){t.InfogramEmbed.load()});var r=window.history.pushState;window.history.pushState=function(){r.apply(window.history,arguments),requestAnimationFrame(function(){t.InfogramEmbed.load()})}}(window);