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