!function(){var e=!0,t=null,n="5d0b75c7685f4a0e848109a7",o="https://api.ghostboard.io/";function i(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),!0):e.attachEvent?e.attachEvent("on"+t,n):void(e["on"+t]=n)}function r(e){var t=new Image,i=o+n+"/e.gif?";i+="l="+encodeURIComponent(location),i+="&e="+encodeURIComponent(e.message||JSON.stringify(e)),t.src=i}var c=function(){try{return/Mobile|Tablet|iP(hone|od|ad)|Android|BlackBerry|IEMobile|Kindle|NetFront|Silk|(hpw|web)OS|Fennec|Minimo|Opera M(obi|ini)|Blazer|Dolfin|Dolphin|Skyfire|Zune|Playbook/i.test(window.navigator.userAgent)}catch(e){return r(e),!1}}();function a(){try{if(!e)return!1;e=!1;var a=0,d=document.querySelector("link[type='application/rss+xml']"),s=document.querySelector("head base"),l=d||s,f=l?l.href:"",h=document.querySelector("link[rel='shortcut icon']"),g=document.querySelector("link[rel='icon']"),w=h||g,m=w?w.href:"",v=location||window.location||document.location;if("undefined"!=typeof ghost&&ghost&&ghost.url&&ghost.url.api()){var p=ghost.url.api();0===(f=p.substring(0,p.indexOf("/ghost/")+1)).indexOf("//")&&(f=location.protocol+f)}else{f&&-1!==f.indexOf("/rss/")?f=f.substring(0,f.length-4):f||(f=v.origin+"/")}var y={A:f,C:navigator.language||navigator.userLanguage,F:v.origin,I:m,U:location.href||document.url,V:1},b=function(){var e="";try{e=window.top.document.referrer}catch(t){if(window.parent)try{e=window.parent.document.referrer}catch(t){e=""}}return""===e?document.referrer:e}();b&&(y.D=b);var S=document.head.querySelector("[name=generator]");S&&S.content&&(y.E=S.content);var T=null,O=null,M=!1,x=function(e){if(t||M)return!1;M=!0,y.G=e,T=(new Date).getTime(),a=0;var r=function(){try{return new XMLHttpRequest}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}return!1}();r.open("POST",o+"v1/views/"+n,!0),r.setRequestHeader("Content-Type","application/json; charset=utf-8"),r.onreadystatechange=function(){M=!1,r.readyState===XMLHttpRequest.DONE&&200===r.status&&(t=JSON.parse(r.responseText),function(){for(var e=document.getElementsByTagName("a"),t=0;t=1e3||n)&&(O=u,i=t,r=a,c=e,(new Image).src=o+"views/"+i+"/heartbeat.gif?t="+r+"&e="+encodeURIComponent(c))},L=function(e){var n=(new Date).getTime();!t?x(e):T=n},X=function(e){var n,o;-1!==["blur","focusout","pagehide","visibilityState:hidden"].indexOf(e)&&(n=(new Date).getTime(),(o=n-T)>0&&(a+=parseInt(o/1e3,10),T=n)),I(e,!0),c&&(t=null)};i(document,"visibilitychange",function(){"hidden"===document.visibilityState&&X("visibilityState:hidden"),"visible"===document.visibilityState&&L("visibilityState:visible")}),i(window,"focus",function(){L("focus")}),i(window,"focusin",function(){L("focusin")}),i(window,"pageshow",function(){L("pageshow")}),i(window,"blur",function(){X("blur")}),i(window,"focusout",function(){X("focusout")}),i(window,"pagehide",function(){X("pagehide")}),i(window,"beforeunload",function(){X("beforeunload")}),i(window,"unload",function(){X("unload")}),("function"==typeof document.hasFocus&&document.hasFocus()||"visible"===document.visibilityState)&&L("document-focus")}catch(e){r(e)}}function u(e){if(!e)return!1;var i=e.target||e.currentTarget;if(!(i&&t))return!1;var r=[];i.href&&r.push(["l",i.href]),i.title&&r.push(["t",i.title]),i.innerText&&r.push(["a",i.innerText]),i.currentSrc&&r.push(["i",i.currentSrc]),function(e){for(var t=new Image,i=o+n+"/c.gif?",r=0,c=e.length;r