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