PageSourceSearch

https://assets.checkmybus.com/vue/c2c-map.9e8db2d3.js

js checkmybus.com collected 2026-09-24 09:37:37 UTC 1,602 bytes, 1 lines download raw bytes

1import{g as d,L as c,m as o}from"./map-base.1cd2deb1.js";import"./_commonjsHelpers.725317a4.js";const y=[],u=[],f=document.querySelectorAll(".stationInfo");f.forEach(t=>{let i=t.querySelector(".originMarker");if(i){y.push(d(i,t));return}i=t.querySelector(".destinationMarker"),i&&u.push(d(i,t))});const g=c.featureGroup(y).addTo(o),p=c.featureGroup(u).addTo(o);o.fitBounds(p.getBounds());let r=!1;const s=document.getElementById("originStations"),e=document.getElementById("destinationStations"),n=document.getElementById("mapMobileStationsListToggle"),a=document.getElementById("mapSwitchOriginBtn"),l=document.getElementById("mapSwitchDestinationBtn"),S=document.querySelectorAll(".stations-close");window.isMobile()||(n.style.display="none",e.style.display="initial",S.forEach(t=>t.style.display="none"));const m=(t,i)=>{t.classList.add("active"),t.querySelector("i").classList.replace("fa-regular","fa"),i.classList.remove("active"),i.querySelector("i").classList.replace("fa","fa-regular")};a.addEventListener("click",()=>{o.fitBounds(g.getBounds()),m(a,l),r=!0,window.isMobile()||(s.style.display="initial",e.style.display="none")});l.addEventListener("click",()=>{o.fitBounds(p.getBounds()),m(l,a),r=!1,window.isMobile()||(e.style.display="initial",s.style.display="none")});s.addEventListener("click",()=>{window.isMobile()&&(s.style.display="none",n.style.display="initial")});e.addEventListener("click",()=>{window.isMobile()&&(e.style.display="none",n.style.display="initial")});n.addEventListener("click",()=>{r?s.style.display="initial":e.style.display="initial",n.style.display="none"});

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.