text: !function(c){if(c){var r,n,u="https://api.simpleanalytics.io/post",t=c.console;try{function h(e){t&&t.warn&&t.warn("Simple Analytics: "+e)}var l,p=c.navigator,f=c.location,d=p.userAgent,a=c.dispatchEvent,m="Not sending requests ";if(-1<d.search(/(bot|spider|crawl)/gi))return h(m+"because user agent is a robot");function e(e){var t=f.pathname;if(haste_document){var r=new haste_document;r.key&&(t="/"+r.key)}var n=f.protocol+"//"+f.hostname+t;if(l!==n){if(l=n,"visibilityState"in r&&"prerender"===r.visibilityState)return h(m+"when prerender");if("doNotTrack"in p&&"1"===p.doNotTrack)return h(m+"when doNotTrack is enabled");if("localhost"===f.hostname||"file:"===f.protocol)return h(m+"from localhost");var a=f.search.match(/[?&](utm_source|source|ref)=([^?&]+)/gi),i=a?a.map(function(e){return e.split("=")[1]}):[],o={url:n};d&&(o.ua=d),i&&i[0]&&(o.urlReferrer=i[0]),r.referrer&&!e&&(o.referrer=r.referrer),c.innerWidth&&(o.width=c.innerWidth);try{o.timezone=Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){}var s=new XMLHttpRequest;s.open("POST",u,!0),s.setRequestHeader("Content-Type","text/plain; charset=UTF-8"),s.send(JSON.stringify(o))}}var i=c.history;if((i?i.pushState:null)&&Event&&a){i.pushState=(n=i[r="pushState"],function(){var e=n.apply(this,arguments),t=new Event(r);return t.arguments=arguments,a(t),e}),c.addEventListener("pushState",function(){e(!0)})}e()}catch(e){t&&t.error&&t.error(e);var o=u+".gif";e&&e.message&&(o=o+"?error="+encodeURIComponent(e.message)),(new Image).src=o}}}(window);