1import { createMap } from './map_core.js?v=3'; 2import { addPinsToMap } from './map_pins.js?v=3'; 3 4window.addEventListener('load', async () => { 5 const srcInfo = document.querySelector('.js-location')?.querySelector('span')?.dataset?.smallName; 6 7 const isMobile = window.innerWidth < 768; 8 9 let mapCenter = [55.75, 37.6]; 10 let zoom = isMobile ? 11 : 12; 11 12 if (srcInfo === 'Спб' || srcInfo === 'СанкÑ-ÐеÑеÑбÑÑг') { 13 mapCenter = [59.929273, 30.278461]; 14 zoom = 13; 15 } 16 17 await createMap(mapCenter, zoom); 18 await addPinsToMap(); 19});
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.