!function(){var o,r=window.location,l=window.document,s=l.currentScript,c=s.getAttribute("data-api")||new URL(s.src).origin+"/api/event",u=s.getAttribute("data-domain");function d(t,e,n){e&&console.warn("Ignoring Event: "+e),n&&n.callback&&n.callback(),"pageview"===t&&(o=!0)}var w=r.href,v={},p=-1,f=!1,h=null,g=0;function n(){var t=l.body||{},e=l.documentElement||{};return Math.max(t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0,e.scrollHeight||0,e.offsetHeight||0,e.clientHeight||0)}function e(){var t=l.body||{},e=l.documentElement||{},n=window.innerHeight||e.clientHeight||0,e=window.scrollY||e.scrollTop||t.scrollTop||0;return a<=n?a:e+n}function i(){return h?g+(Date.now()-h):g}var a=n(),b=e();function m(){var t=i();!o&&(p