va.vercel-scripts.com Open in urlscan Pro
76.76.21.241  Public Scan

Submitted URL: http://va.vercel-scripts.com/
Effective URL: https://va.vercel-scripts.com/
Submission: On September 19 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

"use strict";!function(){let e=e=>e,t=document.currentScript,n=(null==t?void 0:t.dataset.endpoint)||(null!=t&&t.src.includes("/va/")?"/va":"/_vercel/insights");async function i({type:i,data:o,options:a}){var r,l;let d=location.href,u=document.referrer,c=e({type:i,url:d});if(!1===c||null===c)return;c&&(d=c.url);let s=u.includes(location.host),f={o:d,sv:"0.1.2",sdkn:null!=(r=null==t?void 0:t.getAttribute("data-sdkn"))?r:void 0,sdkv:null!=(l=null==t?void 0:t.getAttribute("data-sdkv"))?l:void 0,ts:Date.now(),...null!=a&&a.withReferrer&&!s?{r:u}:{},..."event"===i&&o&&{en:o.name,ed:o.data}};try{await fetch(`${n}/${"pageview"===i?"view":"event"}`,{method:"POST",keepalive:!0,headers:{"Content-Type":"application/json"},body:JSON.stringify(f)})}catch(h){}}async function o(e={}){return i({type:"pageview",options:{withReferrer:e.withReferrer}})}async function a(e,t){return i({type:"event",data:{name:e,data:t},options:{withReferrer:!0}})}function r(e){return e.pathname===new URL(d).pathname}function l(e){let t=e?"string"==typeof e?new URL(e,location.origin):new URL(e.href):null;!t||r(t)||Boolean(t.hash)&&r(t)||o()}let d=location.href,u=()=>{var t;window.va=function(t,n){"beforeSend"===t?e=n:"event"===t&&n&&a(n.name,n.data)},null==(t=window.vaq)||t.forEach(([e,t])=>{window.va(e,t)})};(()=>{if(window.vai)return;window.vai=!0,u(),o({withReferrer:!0});let e=history.pushState.bind(history);history.pushState=function(...t){e(...t),l(t[2]),d=location.href},window.addEventListener("popstate",function(){l(location.href),d=location.href})})()}();