1jQuery(document).ready(function(){jQuery("input[display='week']").each(function(){jQuery(this).datepicker({dateFormat:jQuery(this).attr("dateformat"),minDate:jQuery(this).attr("mindate"),maxDate:jQuery(this).attr("maxdate"),firstDay:jQuery(this).attr("firstday"),changeYear:jQuery(this).attr("changeyear"),yearRange:jQuery(this).attr("yearrange"),showOtherMonths:!0,selectOtherMonths:!0,changeMonth:!0,showWeek:!0,beforeShow:function(dateText,inst){jQuery(".ui-datepicker-calendar tbody tr").on("mousemove",function(){jQuery(this).find("td a").addClass("ui-state-hover");jQuery(this).find(".ui-datepicker-week-col").addClass("ui-state-hover")});jQuery(".ui-datepicker-calendar tbody tr").on("mouseleave",function(){jQuery(this).find("td a").removeClass("ui-state-hover");jQuery(this).find(".ui-datepicker-week-col").removeClass("ui-state-hover")})},onClose:function(dateText,inst){var date=jQuery(this).datepicker("getDate");if(date!=null){var dateFormat=inst.settings.dateFormat||jQuery(this).datepicker._defaults.dateFormat;var endDate=new Date(date.getFullYear(),date.getMonth(),date.getDate()-date.getDay()+6);var endDateFormatted=jQuery.datepicker.formatDate(dateFormat,endDate,inst.settings);jQuery(this).val(dateText+" - "+endDateFormatted)} 2jQuery(".ui-datepicker-calendar tbody tr").off("mousemove");jQuery(".ui-datepicker-calendar tbody tr").off("mouseleave")}})})})
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.