1var allowed = ['www.repsol.es', 'www.repsol.us', 'www.repsol.com.mx', 'www.repsol.com','www.rpeol.pe', 'prod-author.repsol.com'] 2console.log(location.hostname) 3var key = (allowed.indexOf(location.hostname) != -1 ? 'AIzaSyAifh93Xhj-5G57jXDzh2TgNzMopMDmfuw' : 'AIzaSyDOvjSoQGKdA2sOCVezUvpdo_Cyi3qnJYo' ); 4 5var url = 'https://maps.googleapis.com/maps/api/js?key='+key+'&language=en®ion=US'; 6 7const loadMapa = async () => { 8 await $.getScript(url) 9 await $.getScript( "/content/dam/aplicaciones/repsol-paises/us/en/renewable-projects/js/main.js" ) 10} 11 12loadMapa()
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.