Get in touch

Email hi@rbi.nz or reach me on any of the following platforms.

")}var b="https://va.vercel-scripts.com/v1/script.debug.js",g="/_vercel/insights/script.js";function h(e={debug:!0}){var r;if(!d())return;w(e.mode),v(),e.beforeSend&&((r=window.va)==null||r.call(window,"beforeSend",e.beforeSend));const n=e.scriptSrc||(c()?b:g);if(document.head.querySelector(`script[src*="${n}"]`))return;const t=document.createElement("script");t.src=n,t.defer=!0,t.dataset.sdkn=l+(e.framework?`/${e.framework}`:""),t.dataset.sdkv=f,e.disableAutoTrack&&(t.dataset.disableAutoTrack="1"),e.endpoint&&(t.dataset.endpoint=e.endpoint),e.dsn&&(t.dataset.dsn=e.dsn),t.onerror=()=>{const a=c()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${n}. ${a}`)},c()&&e.debug===!1&&(t.dataset.debug="false"),document.head.appendChild(t)}function k({route:e,path:r}){var n;(n=window.va)==null||n.call(window,"pageview",{route:e,path:r})}customElements.define("vercel-analytics",class extends HTMLElement{constructor(){super();try{const r=JSON.parse(this.dataset.props??"{}"),n=JSON.parse(this.dataset.params??"{}");h({...r,disableAutoTrack:!0,framework:"astro",beforeSend:window.webAnalyticsBeforeSend});const t=this.dataset.pathname;k({route:p(t??"",n),path:t})}catch(r){throw new Error(`Failed to parse WebAnalytics properties: ${r}`)}}});