PageSourceSearch

https://www.velleron.fr/wp-content/themes/velleron/fw/js/core.messages/core.messages.min.js

js velleron.fr collected 2026-10-02 11:06:49 UTC 3,816 bytes, 1 lines download raw bytes

1jQuery(document).ready(function(){CITYGOV_STORAGE.message_callback=null;CITYGOV_STORAGE.message_timeout=5000;jQuery("body").on("click","#citygov_modal_bg,.citygov_message .citygov_message_close",function(a){citygov_message_destroy();if(CITYGOV_STORAGE.message_callback){CITYGOV_STORAGE.message_callback(0);CITYGOV_STORAGE.message_callback=null}a.preventDefault();return false})});function citygov_message_warning(c){var d=arguments[1]?arguments[1]:"";var b=arguments[2]?arguments[2]:"cancel";var a=arguments[3]?arguments[3]:CITYGOV_STORAGE.message_timeout;return citygov_message({msg:c,hdr:d,icon:b,type:"warning",delay:a,buttons:[],callback:null})}function citygov_message_success(c){var d=arguments[1]?arguments[1]:"";var b=arguments[2]?arguments[2]:"check";var a=arguments[3]?arguments[3]:CITYGOV_STORAGE.message_timeout;return citygov_message({msg:c,hdr:d,icon:b,type:"success",delay:a,buttons:[],callback:null})}function citygov_message_info(c){var d=arguments[1]?arguments[1]:"";var b=arguments[2]?arguments[2]:"info";var a=arguments[3]?arguments[3]:CITYGOV_STORAGE.message_timeout;return citygov_message({msg:c,hdr:d,icon:b,type:"info",delay:a,buttons:[],callback:null})}function citygov_message_regular(c){var d=arguments[1]?arguments[1]:"";var b=arguments[2]?arguments[2]:"quote";var a=arguments[3]?arguments[3]:CITYGOV_STORAGE.message_timeout;return citygov_message({msg:c,hdr:d,icon:b,type:"regular",delay:a,buttons:[],callback:null})}function citygov_message_confirm(a){var c=arguments[1]?arguments[1]:"";var b=arguments[2]?arguments[2]:null;return citygov_message({msg:a,hdr:c,icon:"help",type:"regular",delay:0,buttons:["Yes","No"],callback:b})}function citygov_message_dialog(a){var d=arguments[1]?arguments[1]:"";var b=arguments[2]?arguments[2]:null;var c=arguments[3]?arguments[3]:null;return citygov_message({msg:a,hdr:d,icon:"",type:"regular",delay:0,buttons:["Apply","Cancel"],init:b,callback:c})}function citygov_message(b){var c=b.msg!=undefined?b.msg:"";var l=b.hdr!=undefined?b.hdr:"";var k=b.icon!=undefined?b.icon:"";var h=b.type!=undefined?b.type:"regular";var e=b.delay!=undefined?b.delay:CITYGOV_STORAGE.message_timeout;var g=b.buttons!=undefined?b.buttons:[];var n=b.init!=undefined?b.init:null;var m=b.callback!=undefined?b.callback:null;jQuery("#citygov_modal_bg").remove();jQuery("body").append('<div id="citygov_modal_bg"></div>');jQuery("#citygov_modal_bg").fadeIn();jQuery(".citygov_message").remove();var f='<div class="citygov_message citygov_message_'+h+(g.length>0?" citygov_message_dialog":"")+'"><span class="citygov_message_close iconadmin-cancel icon-cancel"></span>'+(k?'<span class="citygov_message_icon iconadmin-'+k+" icon-"+k+'"></span>':"")+(l?'<h2 class="citygov_message_header">'+l+"</h2>":"");f+='<div class="citygov_message_body">'+c+"</div>";if(g.length>0){f+='<div class="citygov_message_buttons">';for(var d=0;d<g.length;d++){f+='<span class="citygov_message_button">'+g[d]+"</span>"}f+="</div>"}f+="</div>";jQuery("body").append(f);var a=jQuery("body .citygov_message").eq(0);if(m!=null){CITYGOV_STORAGE.message_callback=m;jQuery(".citygov_message_button").on("click",function(o){var i=jQuery(this).index();m(i+1,a);CITYGOV_STORAGE.message_callback=null;citygov_message_destroy()})}if(n!=null){n(a)}var j=jQuery(window).scrollTop();jQuery("body .citygov_message").animate({top:j+Math.round((jQuery(window).height()-jQuery(".citygov_message").height())/2),opacity:1},{complete:function(){}});if(e>0){setTimeout(function(){citygov_message_destroy()},e)}return a}function citygov_message_destroy(){var a=jQuery(window).scrollTop();jQuery("#citygov_modal_bg").fadeOut();jQuery(".citygov_message").animate({top:a-jQuery(".citygov_message").height(),opacity:0});setTimeout(function(){jQuery("#citygov_modal_bg").remove();jQuery(".citygov_message").remove()},500)};

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.