PageSourceSearch

http://www.bienetre24.com/wp-content/plugins/booster-plus-for-wooc…/includes/js/wcj-weekpicker_ver-3.4.5.js

js bienetre24.com collected 2026-09-29 07:10:17 UTC 2,475 bytes, 54 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10/**
11 * wcj-weekpicker.
12 *
13 * version 2.4.7
14 */
15jQuery(document).ready(function() {
16	jQuery("input[display='week']").each( function () {
17		jQuery(this).datepicker({
18			dateFormat : jQuery(this).attr("dateformat"),
19			minDate : jQuery(this).attr("mindate"),
20			maxDate : jQuery(this).attr("maxdate"),
21			firstDay : jQuery(this).attr("firstday"),
22			changeYear: jQuery(this).attr("changeyear"),
23			yearRange: jQuery(this).attr("yearrange"),
24			showOtherMonths: true,
25			selectOtherMonths: true,
26			changeMonth: true,
27			showWeek: true,
28			beforeShow: function(dateText, inst) {
29				// for week highighting
30				jQuery(".ui-datepicker-calendar tbody tr").live("mousemove", function() {
31					jQuery(this).find("td a").addClass("ui-state-hover");
32					jQuery(this).find(".ui-datepicker-week-col").addClass("ui-state-hover");
33				});
34				jQuery(".ui-datepicker-calendar tbody tr").live("mouseleave", function() {
35					jQuery(this).find("td a").removeClass("ui-state-hover");
36					jQuery(this).find(".ui-datepicker-week-col").removeClass("ui-state-hover");
37				});
38			},
39			onClose: function(dateText, inst) {
40				var date = jQuery(this).datepicker( "getDate" );
41				if (date != null){
42					var dateFormat = inst.settings.dateFormat || jQuery(this).datepicker._defaults.dateFormat;
43					var endDate = new Date(date.getFullYear(), date.getMonth(), date.getDate() - date.getDay() + 6);
44					var endDateFormatted = jQuery.datepicker.formatDate( dateFormat, endDate, inst.settings );
45					jQuery(this).val(dateText + " - " + endDateFormatted);
46				}
47				// disable live listeners so they dont impact other instances
48				jQuery(".ui-datepicker-calendar tbody tr").die("mousemove");
49				jQuery(".ui-datepicker-calendar tbody tr").die("mouseleave");
50			}
51		});
52	});
53});
54}

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.