1const lookupMap = new Map([ 2 ["https://admissions.redlands.edu/portal/campus-visit", "campus visit - redlands"], 3 ["https://admissions.redlands.edu/portal/campus-visits", "virtual session - redlands"], 4 ["https://admissions.redlands.edu/portal/group-visits", "group visits - redlands"], 5 ["https://tour.concept3d.com/en/share/n7l9q7c4bc/stop/1", "self-guided virtual - redlands"], 6 ["https://tour.concept3d.com/share/srkntm_88u/stop/1", "self-guided virtual - marin"] 7]); 8 9document.addEventListener("DOMContentLoaded", function () { 10 if (typeof zaius === "undefined") return; 11 document.addEventListener("click", async function (event) { 12 const { target } = event; 13 if (!(target?.matches("a:not(.zaius-logged)") ?? false)) return; 14 const href = target.getAttribute("href"); 15 if (!href || !URL.canParse(href)) return; 16 17 await zaius.event("navigation", { 18 action: "visit", 19 visit_type: lookupMap.get(href.toLowerCase()) ?? "unknown", 20 }); 21 22 target.classList.add("zaius-logged"); 23 target.click(); 24 return false; 25 }); 26});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.