1var snackbar_first_time = true; 2$(window).scroll(function () { 3 4 var hT = $('#sobre').offset().top, 5 hH = $('#sobre').outerHeight(), 6 wH = $(window).height(), 7 wS = $(this).scrollTop(); 8 //console.log((hT - wH), wS); 9 if ((wS > (hT + hH - wH)) && (snackbar_first_time)) { 10 ShowCampanhaTesteGratis(); 11 } 12}); 13function ShowCampanhaTesteGratis() { 14 try { 15 var x = document.getElementById("snackbar"); 16 x.className = "show"; 17 } catch (Exception) { } 18 snackbar_first_time = false; 19} 20function CloseSnackbarSplash() { 21 var x = document.getElementById("snackbar"); 22 x.className = "hidden"; 23 setTimeout(() => { ShowCampanhaTesteGratis(); }, 30000); 24}
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.