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