PageSourceSearch

https://urbantruant.co.uk/_astro/AmplitudeBoot.astro_astro_type_script_index_0_lang.D3KJAdpP.js

js urbantruant.co.uk collected 2026-10-09 00:04:18 UTC 1,446 bytes, 1 lines download raw bytes

1import{a as c,b as a}from"./amplitude-client.BcoFZOso.js";import"./preload-helper.BlTxHScW.js";import"./consent-store.BEtpnF9f.js";function e(t){return typeof document>"u"?void 0:document.body.getAttribute(`data-page-${t}`)??void 0}function i(t){if(t===void 0)return;const n=Number(t);return Number.isFinite(n)?n:void 0}function u(t){const n=e("type");if(n==="course"){const o=e("id"),r=e("name");return!o||!r?null:{name:"Course Viewed",props:{"course id":o,"course name":r,"course category":e("category"),"course format":e("format"),"price gbp":i(e("price")),location:e("location")}}}if(n==="package"){const o=e("id"),r=e("name");return!o||!r?null:{name:"Package Viewed",props:{"package id":o,"package name":r,"package category":e("category"),"price gbp":i(e("price")),location:e("location"),"included course count":i(e("course-count"))}}}if(n==="guide"){const o=e("id"),r=e("title");return!o||!r?null:{name:"Guide Viewed",props:{"content id":o,"content title":r,"content topic":e("topic"),"content type":e("content-type")??"guide","estimated read time seconds":i(e("read-time")),"page path":t}}}return t==="/courses"||t.startsWith("/courses/")?{name:"Course List Viewed",props:{"course category":e("category"),"page path":t,"sort order":e("sort-order"),"filter applied":e("filter-applied"),"results count":i(e("results-count"))}}:null}function s(){c();const t=u(window.location.pathname);t&&a(t)}document.addEventListener("astro:page-load",s);

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.