(()=>{"use strict";const e=window.wp.date;var t;t=function(){var t;(t=document.querySelectorAll('time[data-format="human-diff"]'),Array.isArray(t)?t:t instanceof HTMLElement?[t]:t instanceof NodeList||t instanceof HTMLCollection?Array.from(t):[]).forEach((function(t){var a=t.attributes.getNamedItem("datetime");if(a){var n=(0,e.humanTimeDiff)(a.value,void 0),i=function(){t.innerText=n};i(),t.classList.add("fade-in"),setInterval((function(){var o=(0,e.humanTimeDiff)(a.value,void 0);o!==n&&(n=o,t.classList.add("fade-out"),setTimeout((function(){t.classList.remove("fade-in"),i(),t.classList.remove("fade-out"),t.classList.add("fade-in")}),1e3))}),6e4)}}))},"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",t,{once:!0}):t()})();; var disqus_shortname = countVars.disqusShortname; (function () { var nodes = document.getElementsByTagName('span'); for (var i = 0, url; i < nodes.length; i++) { if (nodes[i].className.indexOf('dsq-postid') != -1 && nodes[i].parentNode.tagName == 'A') { nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('data-dsqidentifier')); url = nodes[i].parentNode.href.split('#', 1); if (url.length == 1) { url = url[0]; } else { url = url[1]; } nodes[i].parentNode.href = url + '#disqus_thread'; } } var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = 'https://' + disqus_shortname + '.disqus.com/count.js'; (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); }()); ;