PageSourceSearch

https://www.cm-maia.pt/assets/wm-smile/javascripts/frontoffice/smile-82477b69b7.min.js

js cm-maia.pt collected 2026-10-02 04:08:29 UTC 2,800 bytes, 1 lines download raw bytes

1function addfav(){var t=this.location,e=document.title;window.sidebar?window.sidebar.addPanel(e,t,""):window.external&&("Microsoft Internet Explorer"==navigator.appName?window.external.AddFavorite(t,e):alert("Please click OK, then press [Ctrl + D] to bookmark this page."))}var clockID=0,months=new Array(13);function UpdateClock(){clockID&&(clearTimeout(clockID),clockID=0);var t=new Date,e=t.getHours();e<10&&(e="0"+e);var o=t.getMinutes();o<10&&(o="0"+o);var a=document.getElementById("theTime");a&&(the_time=t.getDate()+" de "+months[t.getMonth()]+" de "+t.getFullYear()+" | "+e+"h"+o,a.innerHTML=the_time.toLowerCase()),clockID=setTimeout("UpdateClock()",1e3)}function StartClock(){clockID=setTimeout("UpdateClock()",500)}function KillClock(){clockID&&(clearTimeout(clockID),clockID=0)}months[0]="Janeiro",months[1]="Fevereiro",months[2]="Mar&ccedil;o",months[3]="Abril",months[4]="Maio",months[5]="Junho",months[6]="Julho",months[7]="Agosto",months[8]="Setembro",months[9]="Outubro",months[10]="Novembro",months[11]="Dezembro",$(function(){$("img[data-img_hover]").on("mouseenter",function(){t=$(this).attr("src"),$(this).attr("src",$(this).attr("data-img_hover")),$(this).attr("data-img_hover",t)}).on("mouseleave",function(){t=$(this).attr("src"),$(this).attr("src",$(this).attr("data-img_hover")),$(this).attr("data-img_hover",t)}).on("click",function(){link=$(this).parents(".linl_block").find("a.linl_overlay"),link.length>0?window.location=$(link).attr("href"):window.location=$(this).attr("src")}),StartClock(),runToasts()});var debounce=function(t,e){var o;return function(){clearTimeout(o),o=setTimeout(t.apply.bind(t,this,arguments),e)}},submitForm=function(t){var e=$(this).closest("form"),o=e.attr("action");$.each(e.serializeArray(),function(t,e){o=o.replace(new RegExp(e.name+"=\\d+","i"),e.name+"="+e.value)}),e.attr("action",o),e.submit()};$(document).on("keyup change dp.change",".input-submit-form",debounce(submitForm,500));var defaultToastrOptions={timeOut:3e3,newestOnTop:!0,closeButton:!0,progressBar:!0},runToasts=function(){var t=$(".toast");toastr&&0!==t.length&&t.each(function(t,e){var o=$(e),a=o.data("toast-level"),n=o.data("toast-message"),s=o.data("toast-progress");s||(toastr.options=$.extend(defaultToastrOptions,{progressBar:s,timeOut:0,extendedTimeOut:0,tapToDismiss:!1})),a&&n&&(toastr[a](n),o.remove())})};$(function(){let t="input[type='password']:not([data-ignore-see-password='true'])";$(t).wrap("<div class='password-toggle-container'></div>"),$(t).after("<span class='password-toggle-icon'><i class='wm-eye wm-eye-open'></i></span>"),$(document).on("click","span.password-toggle-icon",function(){var t=$(this).prev("input"),e="password"===t.attr("type")?"text":"password";t.attr("type",e),$(this).find("i").toggleClass("wm-eye-open wm-eye-closed")})});

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.