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