!function(){"use strict";var e,t={394:function(e,t,n){n.d(t,{fH:function(){return o}});var o=function(){return"ontouchstart"in window||navigator.maxTouchPoints>0}}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var a=n[e]={exports:{}};return t[e](a,a.exports,o),a.exports}o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e=o(394),document.addEventListener("DOMContentLoaded",(function(){var t,n;!function(){var e=document.querySelector(".menu-expand__open");e&&e.addEventListener("click",(function(){document.body.classList.add("menu--expanded")}));var t=document.querySelector(".menu-expand__close");t&&t.addEventListener("click",(function(){document.body.classList.remove("menu--expanded")}))}(),t="site-navigation__submenu--expanded",document.querySelectorAll(".site-navigation__menu > li > .metro-button").forEach((function(e){e.addEventListener("click",(function(e){if(document.body.classList.contains("menu--expanded")){e.preventDefault();var n=e.target.closest("li");n&&(n.querySelector("a"),n.classList.contains(t)?n.classList.remove(t):n.classList.add(t))}}))})),(0,e.fH)()||Array.from(document.querySelectorAll(".horizontal-scroll")).forEach((function(e){var t=!1,n=0,o=0,r=!1,a=function(e){e.preventDefault(),r&&(null==e?void 0:e.target)&&(e.target.addEventListener("click",(function(e){e.preventDefault()}),{once:!0}),r=!1),t=!1};e.addEventListener("mousemove",(function(a){if(a.preventDefault(),t){var c=a.pageX-e.offsetLeft,i=c-n;e.scrollLeft=o-i,Math.abs(c-n)>5&&(r=!0)}}),!1),e.addEventListener("mousedown",(function(r){r.preventDefault(),(null==r?void 0:r.target)&&r.target.closest(".horizontal-scroll")!==e||(t=!0,n=r.pageX-e.offsetLeft,o=e.scrollLeft)}),!1),e.addEventListener("mouseup",a,!1),e.addEventListener("mouseleave",a,!1)})),function(){var t="metro-search--expanded",n=document.querySelector(".masthead"),o=document.getElementById("masthead-search");if(n&&o){var r=n.querySelector(".metro-search__expand"),a=function(e){e.preventDefault(),e.stopPropagation(),o.submit()};if(r){r.addEventListener("click",(function(o){o.preventDefault(),r.addEventListener("click",a),n.classList.add(t);var c=n.querySelector(".metro-search__input");c&&(c.focus(),(0,e.fH)()||c.addEventListener("focusout",(function(e){(null==e?void 0:e.relatedTarget)!==r&&(n.classList.remove(t),r.removeEventListener("click",a))})))}));var c=n.querySelector(".metro-search__close");c&&c.addEventListener("click",(function(e){e.preventDefault(),n.classList.remove(t),r.removeEventListener("click",a)}))}}}(),(n=document.querySelector(".header"))&&new IntersectionObserver((function(e){var t=e[0];return t.target.classList.toggle("is-pinned",t.intersectionRatio<1)}),{threshold:1,rootMargin:"99px"}).observe(n),(null===metro||void 0===metro?void 0:metro.Comments)&&document.querySelector("#metro-comments-container")&&metro.Comments.init()}))}();; !function(){"use strict";var e={394:function(e,t,n){n.d(t,{FR:function(){return i},OE:function(){return l},cH:function(){return o},nF:function(){return r}});var o=function(e){var t=e.getBoundingClientRect();return t.top<=0&&t.bottom>=(window.innerHeight||document.documentElement.clientHeight)||t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)},r=function(e,t){var n=!1;return function(){n||(e(),n=!0,setTimeout((function(){n=!1}),t))}},i=function(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect();return!(n.top>o.bottom||n.bottom=-e.offsetHeight&&t.left>=-e.offsetWidth&&t.right<=(window.innerWidth||document.documentElement.clientWidth)+e.offsetWidth&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+e.offsetHeight}}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}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(){var e=n(394),t=function(){var t=document.querySelector(".single-post .article"),n=document.getElementById("share-buttons-floaty");if(t&&n){var o=document.querySelectorAll(".share-buttons-top, .share-buttons-bottom"),r=document.querySelectorAll("#metro-comments-area.is-active, .flourish-embed");if((0,e.cH)(t)?document.body.classList.add("metro-has-floaty-share"):document.body.classList.remove("metro-has-floaty-share"),r)for(var i=0,l=Array.from(r);i0&&r[r.length-1])||6!==c[0]&&2!==c[0])){l=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]0&&r[r.length-1])||6!==c[0]&&2!==c[0])){l=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]2592e3&&!1===(null===(r=a[c])||void 0===r?void 0:r.signedUp)&&(s=!0);var u=f("lastShownAnyOverlay");if(!isNaN(u)&&(Date.now()-parseInt(u))/1e3<86400&&(s=!1),s){var d=document.createElement("div");d.style.cssText="height: 1px; width: 1px; position: absolute; top: 50%; z-index: 2147483647",l.append(d);var p=new IntersectionObserver((function(e){e.forEach((function(e){var t;if(e.isIntersecting){i.style.display="flex",i.addEventListener("click",(function(e){(null==e?void 0:e.target)&&e.target.classList.contains("newsletter-overlay")&&w()}));var n=i.querySelector(".newsletter-overlay__close");n&&n.addEventListener("click",w),document.body.append(i),document.body.style.overflow="hidden";var o=Date.now();a[c].lastShown=o,v("newsletterOverlay",a),v("lastShownAnyOverlay",o);var r=i.querySelector(".newsletter-signup");r&&window.metro.tracking.publish("NEWSLETTER_OVERLAY_IMPRESSION",null!==(t=r.getAttribute("data-id"))&&void 0!==t?t:""),p.disconnect()}}))}),{rootMargin:"-49% 0% -49% 0%",threshold:0});p.observe(d)}}}}}()}}()})),window.metro?window.addEventListener("scroll",r,{once:!0,passive:!0}):window.addEventListener("DOMContentLoaded",r,{once:!0}),window.addEventListener("dmgLiveblog:fetchEntries",(function(){setTimeout((function(){var e,t;!function(){var e="twitter-wjs",t=document.getElementById(e);if(t){var n=t.getAttribute("src");if(n){var r=n.indexOf("?");r>0&&(n=n.substring(0,r)),t.remove();var i=document.createElement("script");i.src="".concat(n,"?").concat(Date.now()),i.id=e,document.head.appendChild(i)}}var l=document.getElementById(e);l&&l.addEventListener("load",o)}(),(null===(t=null===(e=null===window||void 0===window?void 0:window.instgrm)||void 0===e?void 0:e.Embeds)||void 0===t?void 0:t.process)&&window.instgrm.Embeds.process()}),300)}))}()}();;