PageSourceSearch

https://apply.ntcmn.edu/register/default.js?v=TS-2ea3-638888276411754112

js ntcmn.edu collected 2026-09-25 04:49:02 UTC 2,551 bytes, 1 lines download raw bytes

1$(function(){var map,mapObject;if($("#register_datepicker").length>0){var dayCache={},monthCache={},checkDay=function(date){return dayCache[date]==null?[!1]:dayCache[date]!=null?[!0,dayCache[date],dayCache[date]]:void 0},changeDay=function(date){FW.Lazy.Fetch(location.search+(location.search==""?"?":"&")+"cmd=getEvents&date="+date+"&query="+encodeURIComponent(location.search),$("#register_events"));addAccessibility()},changeMonth=function(year,month){var dtstart=new Date(year,month-1,1),dtend=new Date(year,month+1,1);monthCache[dtstart]==null?monthCache[dtstart]=$.ajax({url:location.search+(location.search==""?"?":"&")+"cmd=getDates&dtstart="+$.datepicker.formatDate("yy-mm-dd",dtstart)+"&dtend="+$.datepicker.formatDate("yy-mm-dd",dtend),dataType:"json",success:changeMonthCallback}):addAccessibility()},changeMonthCallback=function(data){for(var date,dates=data.dates,i=0;i<dates.length;i++)date=$.datepicker.parseDate("yy-mm-dd",dates[i][0]),dayCache[date]==null&&(dayCache[date]=dates[i][1]=="0"?"available":"unavailable");$("#register_datepicker").datepicker("refresh");addAccessibility()},addAccessibility=function(){window.setTimeout(function(){$("#register_datepicker a:not([href])").attr("href","#").on("click",function(){return!1})},0)};$("#register_datepicker").datepicker({minDate:0,maxDate:"1Y",firstDay:FW.Config.firstDay==null?1:FW.Config.firstDay,beforeShowDay:checkDay,onChangeMonthYear:changeMonth,onSelect:changeDay});changeMonth((new Date).getFullYear(),(new Date).getMonth()+1)}if(typeof jvm!="undefined"&&$("#map").length>0){map=$("#map");mapObject=new jvm.Map({container:map,map:"us_aea",backgroundColor:"#abd8ff",zoomOnScroll:!1,panOnDrag:!1,zoomButtons:!1,zoomMin:1,zoomMax:1,markers:map.data("markers").markers,regionStyle:{initial:{fill:"#f5f5f5",stroke:"black","stroke-width":"0.3px"},hover:{cursor:"inherit","fill-opacity":1}},markerStyle:{initial:{fill:"goldenrod",stroke:"transparent","stroke-width":"0",r:5},hover:{cursor:"inherit",fill:"goldenrod","stroke-width":"0",stroke:"transparent"}}});map.on("click",function(e){var latLng=mapObject.pointToLatLng(e.offsetX,e.offsetY);latLng!=null&&latLng.lat!=null&&FW.Navigate(document.location.href+(document.location.href.indexOf("?")==-1?"?":"&")+"l="+latLng.lat+","+latLng.lng)})}});let redirectNoContext=function(formId,removelist){const urlParameters=new URLSearchParams(window.location.search);return removelist.forEach(function(key){urlParameters.delete(key)}),urlParameters.set("id",formId),window.location.href="/register/form?"+urlParameters.toString(),!1};

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.