!function(){var n,t,e,i=document.currentScript,o={};function a(n,t,e){window.fetch&&fetch(n,{method:"POST",headers:{"Content-Type":"text/plain"},keepalive:!0,body:JSON.stringify(t)}).then(function(n){e&&e.callback&&e.callback({status:n.status})}).catch(function(n){e&&e.callback&&e.callback({error:n})})}var l=!1,c=location.href,r={},d=-1,u=0,s=0;function w(){var i=g();if(!n&&(d=3e3)){d=e;var l={n:"engagement",sd:Math.round(e/t*100),d:o.domain,u:c,p:r,e:i,v:32};u=0,s=0,a(o.endpoint,l)}}function f(){"visible"===document.visibilityState&&document.hasFocus()&&0===u?u=Date.now():"hidden"!==document.visibilityState&&document.hasFocus()||(s=g(),u=0,w())}function g(){return u?s+(Date.now()-u):s}function p(){var n=document.body||{},t=document.documentElement||{};return Math.max(n.scrollHeight||0,n.offsetHeight||0,n.clientHeight||0,t.scrollHeight||0,t.offsetHeight||0,t.clientHeight||0)}function v(){var n=document.body||{},e=document.documentElement||{},i=window.innerHeight||e.clientHeight||0,o=window.scrollY||e.scrollTop||n.scrollTop||0;return t<=i?t:o+i}function h(i,g){var h="pageview"===i;if(h&&l&&(w(),t=p(),e=v()),/^localhost$|^127(\.[0-9]+){0,2}\.[0-9]+$|^\[::1?\]$/.test(location.hostname)||"file:"===location.protocol)return m(i,g,"localhost");if((window._phantom||window.__nightmare||window.navigator.webdriver||window.Cypress)&&!window.__plausible)return m(i,g);try{if("true"===window.localStorage.plausible_ignore)return m(i,g,"localStorage flag")}catch(n){}var b={};b.n=i,b.v=32,b.u=g&&(g.u||g.url)||location.href,b.d=o.domain,b.r=document.referrer||null,g&&g.meta&&(b.m=JSON.stringify(g.meta)),g&&g.props&&(b.p=g.props),g&&!1===g.interactive&&(b.i=!1),h&&(n=!1,c=b.u,r=b.p,d=-1,s=0,u=Date.now(),l||(document.addEventListener("visibilitychange",f),window.addEventListener("blur",f),window.addEventListener("focus",f),l=!0)),a(o.endpoint,b,g)}function m(t,e,i){i&&o.logging&&console.warn("Ignoring Event: "+i),e&&e.callback&&e.callback(),"pageview"===t&&(n=!0)}!function n(a){o.endpoint=i.getAttribute("data-api")||new URL(i.src).origin+"/api/event",o.domain=i.getAttribute("data-domain"),o.logging=!0,t=p(),e=v(),window.addEventListener("load",function(){t=p();var n=0,e=setInterval(function(){t=p(),15==++n&&clearInterval(e)},200)}),document.addEventListener("scroll",function(){t=p();var n=v();n>e&&(e=n)});for(var l=window.plausible&&window.plausible.q||[],c=0;c