@daypilot/daypilot-lite-angular 3.2.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,7 @@ DayPilot Lite
103
103
  Copyright (c) 2005 - 2022 Annpoint s.r.o.
104
104
  http://www.daypilot.org/
105
105
  Licensed under Apache Software License 2.0
106
- Version: 2022.1.362-lite
106
+ Version: 2022.2.374-lite
107
107
  */
108
108
  if ("undefined" == typeof DayPilot)
109
109
  var DayPilot = {};
@@ -145,9 +145,9 @@ if ("undefined" == typeof DayPilot)
145
145
  }
146
146
  return a;
147
147
  } return DayPilot.absOffsetBased(e, t); }, DayPilot.absOffsetBased = function (e, t) { for (var a = { x: e.offsetLeft, y: e.offsetTop, w: e.clientWidth, h: e.clientHeight, toString: function () { return "x:" + this.x + " y:" + this.y + " w:" + this.w + " h:" + this.h; } }; e.offsetParent;)
148
- e = e.offsetParent, a.x -= e.scrollLeft, a.y -= e.scrollTop, t && (a.x < 0 && (a.w += a.x, a.x = 0), a.y < 0 && (a.h += a.y, a.y = 0), e.scrollLeft > 0 && a.x + a.w > e.clientWidth && (a.w -= a.x + a.w - e.clientWidth), e.scrollTop && a.y + a.h > e.clientHeight && (a.h -= a.y + a.h - e.clientHeight)), a.x += e.offsetLeft, a.y += e.offsetTop; var r = DayPilot.pageOffset(); return a.x += r.x, a.y += r.y, a; }, DayPilot.isArray = function (e) { return "[object Array]" === Object.prototype.toString.call(e); }, DayPilot.sheet = function () { var e = document.createElement("style"); e.setAttribute("type", "text/css"), e.styleSheet || e.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(e); var t = !!e.styleSheet, a = {}; return a.rules = [], a.commit = function () { t && (e.styleSheet.cssText = this.rules.join("\n")); }, a.add = function (a, r, o) { return t ? void this.rules.push(a + "{" + r + "}") : void (e.sheet.insertRule ? ("undefined" == typeof o && (o = e.sheet.cssRules.length), e.sheet.insertRule(a + "{" + r + "}", o)) : e.sheet.addRule && e.sheet.addRule(a, r, o)); }, a; }, function () { if (!DayPilot.Global.defaultCss) {
148
+ e = e.offsetParent, a.x -= e.scrollLeft, a.y -= e.scrollTop, t && (a.x < 0 && (a.w += a.x, a.x = 0), a.y < 0 && (a.h += a.y, a.y = 0), e.scrollLeft > 0 && a.x + a.w > e.clientWidth && (a.w -= a.x + a.w - e.clientWidth), e.scrollTop && a.y + a.h > e.clientHeight && (a.h -= a.y + a.h - e.clientHeight)), a.x += e.offsetLeft, a.y += e.offsetTop; var r = DayPilot.pageOffset(); return a.x += r.x, a.y += r.y, a; }, DayPilot.isArray = function (e) { return "[object Array]" === Object.prototype.toString.call(e); }, DayPilot.distance = function (e, t) { return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2)); }, DayPilot.sheet = function () { var e = document.createElement("style"); e.setAttribute("type", "text/css"), e.styleSheet || e.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(e); var t = !!e.styleSheet, a = {}; return a.rules = [], a.commit = function () { t && (e.styleSheet.cssText = this.rules.join("\n")); }, a.add = function (a, r, o) { return t ? void this.rules.push(a + "{" + r + "}") : void (e.sheet.insertRule ? ("undefined" == typeof o && (o = e.sheet.cssRules.length), e.sheet.insertRule(a + "{" + r + "}", o)) : e.sheet.addRule && e.sheet.addRule(a, r, o)); }, a; }, function () { if (!DayPilot.Global.defaultCss) {
149
149
  var e = DayPilot.sheet();
150
- e.add(".calendar_default_main", "border: 1px solid #c0c0c0; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_rowheader_inner,.calendar_default_cornerright_inner,.calendar_default_corner_inner,.calendar_default_colheader_inner,.calendar_default_alldayheader_inner", "color: #333;background: #f3f3f3;"), e.add(".calendar_default_cornerright_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;\tborder-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid #c0c0c0;"), e.add(".calendar_default_rowheader_inner", "font-size: 16pt;text-align: right; position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; padding: 3px;"), e.add(".calendar_default_direction_rtl .calendar_default_rowheader_inner", "border-right: none;"), e.add(".calendar_default_corner_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_direction_rtl .calendar_default_corner_inner", "border-right: none;"), e.add(".calendar_default_rowheader_minutes", "font-size:10px;vertical-align: super;padding-left: 2px;padding-right: 2px;"), e.add(".calendar_default_colheader_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; display: flex; align-items: center; justify-content: center; font-size: 13px;"), e.add(".calendar_default_cell_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #ddd;border-bottom: 1px solid #ddd; background: #f9f9f9;"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: #fff"), e.add(".calendar_default_alldayheader_inner", "text-align: center;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_message", "opacity: 0.9; padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", "color: #333; border: 1px solid #999;"), e.add(".calendar_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;background-color: #9dc8e8;"), e.add(".calendar_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", 'background: #fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_selected .calendar_default_event_inner", "background: #ddd;"), e.add(".calendar_default_alldayevent_inner", "position: absolute;top: 2px;bottom: 2px;left: 2px;right: 2px;overflow:hidden;padding: 2px;margin-right: 1px; font-size: 13px;"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute;overflow: hidden;top: 0px;bottom: 0px;left: 0px;right: 0px;padding: 2px 2px 2px 8px; font-size: 13px;"), e.add(".calendar_default_shadow_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;background-color: #666666; opacity: 0.5;"), e.add(".calendar_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer;"), e.add(".calendar_default_event_delete:hover", "opacity: 1;-ms-filter: none;"), e.add(".calendar_default_scroll_up", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAB3RJTUUH2wESDiYcrhwCiQAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAARnQU1BAACxjwv8YQUAAACcSURBVHjaY2AgF9wWsTW6yGMlhi7OhC7AyMDQzMnBXIpFHAFuCtuaMTP+P8nA8P/b1x//FfW/HHuF1UQmxv+NUP1c3OxMVVhNvCVi683E8H8LXOY/w9+fTH81tF8fv4NiIpBRj+YoZtZ/LDUoJmKYhsVUpv0MDiyMDP96sIYV0FS2/8z9ICaLlOhvS4b/jC//MzC8xBG0vJeF7GQBlK0xdiUzCtsAAAAASUVORK5CYII=);"), e.add(".calendar_default_scroll_down", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAACqSURBVChTY7wpam3L9J+xmQEP+PGPKZZxP4MDi4zI78uMDIwa2NT+Z2DYovrmiC+TI8OBP/8ZmEqwGvif4e8vxr+FIDkmEKH25vBWBgbG0+iK/zEwLtF+ffwOXCGI8Y+BoRFFIdC030x/WmBiYBNhpgLdswNJ8RSYaSgmgk39z1gPUfj/29ef/9rwhQTDHRHbrbdEbLvRFcGthkkAra/9/uMvhkK8piNLAgCRpTnNn4AEmAAAAABJRU5ErkJggg==);"), e.add(".calendar_default_now", "background-color: red;"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent red; border-style: solid; width: 0px; height:0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "background-color: red;"), e.add(".calendar_default_shadow_top", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_shadow_bottom", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_crosshair_vertical, .calendar_default_crosshair_horizontal, .calendar_default_crosshair_left, .calendar_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".calendar_default_loading", "background-color: orange; color: white; padding: 2px;"), e.add(".calendar_default_scroll", "background-color: #f3f3f3;"), e.add(".scheduler_default_selected .scheduler_default_event_inner", "background: #ddd;"), e.add(".scheduler_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".scheduler_default_timeheader", "cursor: default;color: #333;"), e.add(".scheduler_default_message", "opacity: 0.9;filter: alpha(opacity=90);padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #eee;padding: 2px;"), e.add(".scheduler_default_timeheadergroup, .scheduler_default_timeheadercol", "text-align: center;"), e.add(".scheduler_default_timeheadergroup_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".scheduler_default_timeheadercol_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;"), e.add(".scheduler_default_divider", "background-color: #c0c0c0;"), e.add(".scheduler_default_divider_horizontal", "background-color: #c0c0c0;"), e.add(".scheduler_default_matrix_vertical_line", "background-color: #eee;"), e.add(".scheduler_default_matrix_vertical_break", "background-color: #000;"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: #eee;"), e.add(".scheduler_default_resourcedivider", "background-color: #c0c0c0;"), e.add(".scheduler_default_shadow_inner", "background-color: #666666;opacity: 0.5;filter: alpha(opacity=50);height: 100%;xborder-radius: 5px;"), e.add(".scheduler_default_event", "color:#333; font-size: 13px;"), e.add(".scheduler_default_event_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;padding:5px 2px 2px 2px;overflow:hidden;border:1px solid #ccc;"), e.add(".scheduler_default_event_bar", "top:0px;left:0px;right:0px;height:4px;background-color:#9dc8e8;"), e.add(".scheduler_default_event_bar_inner", "position:absolute;height:4px;background-color:#1066a8;"), e.add(".scheduler_default_event_inner", 'background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".scheduler_default_event_float_inner", "padding:6px 2px 2px 8px;"), e.add(".scheduler_default_event_float_inner:after", 'content:"";border-color: transparent #666 transparent transparent;border-style:solid;border-width:5px;width:0;height:0;position:absolute;top:8px;left:-4px;'), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "background-color: #666;opacity: 0.5;filter: alpha(opacity=50);"), e.add(".scheduler_default_columnheader_cell_inner", "padding: 2px;"), e.add(".scheduler_default_cell", "background-color: #f9f9f9;"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: #fff;"), e.add(".navigator_default_main", "border-left: 1px solid #c0c0c0;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;background-color: white;color: #000000; box-sizing: content-box;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 12px;"), e.add(".navigator_default_day", "color: black;"), e.add(".navigator_default_weekend", "background-color: #f0f0f0;"), e.add(".navigator_default_dayheader", "color: black;"), e.add(".navigator_default_line", "border-bottom: 1px solid #c0c0c0;"), e.add(".navigator_default_dayother", "color: gray;"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: center;"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: #FFE794; opacity: 0.5;"), e.add(".navigator_default_title", "text-align: center;"), e.add(".navigator_default_titleleft, .navigator_default_titleright", "text-align: center;"), e.add(".navigator_default_dayheader", "text-align: center;"), e.add(".navigator_default_weeknumber", "text-align: center;"), e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".month_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;color: #333;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box;"), e.add(".month_default_cell_inner", "border-right: 1px solid #ddd;border-bottom: 1px solid #ddd;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;background-color: #f9f9f9;"), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: #fff;"), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box;"), e.add(".month_default_header_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;cursor: default;color: #333;background: #f3f3f3; overflow:hidden; display: flex; align-items: center; justify-content: center;"), e.add(".month_default_message", "padding: 10px;opacity: 0.9; color: #ffffff;background: #ffa216;"), e.add(".month_default_event_inner", "position: absolute;top: 0px;bottom: 0px;left: 1px;right: 1px;overflow:hidden;padding: 2px;padding-left: 10px;color: #333;background: #fff;background: linear-gradient(to bottom, #ffffff 0%, #eeeeee);border: 1px solid #999;border-radius: 0px;display: flex; align-items: center; font-size: 13px;"), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-right-style: dotted;"), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0px;border-bottom-left-radius: 0px;border-left-style: dotted;"), e.add(".month_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;"), e.add(".month_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none;"), e.add(".month_default_selected .month_default_event_inner", "background: #ddd;"), e.add(".month_default_shadow_inner", "background-color: #666666;opacity: 0.5;height: 100%;"), e.add(".month_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer;"), e.add(".month_default_event_delete:hover", "opacity: 1;-ms-filter: none;"), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 8pt"), e.add(".month_default_event_timeright", "color: #ccc; font-size: 8pt; text-align: right;"), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px;"), e.commit(), DayPilot.Global.defaultCss = !0;
150
+ e.add(".calendar_default_main", "border: 1px solid #c0c0c0; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_rowheader_inner,.calendar_default_cornerright_inner,.calendar_default_corner_inner,.calendar_default_colheader_inner,.calendar_default_alldayheader_inner", "color: #333;background: #f3f3f3;"), e.add(".calendar_default_cornerright_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;\tborder-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid #c0c0c0;"), e.add(".calendar_default_rowheader_inner", "font-size: 16pt;text-align: right; position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; padding: 3px;"), e.add(".calendar_default_direction_rtl .calendar_default_rowheader_inner", "border-right: none;"), e.add(".calendar_default_corner_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_direction_rtl .calendar_default_corner_inner", "border-right: none;"), e.add(".calendar_default_rowheader_minutes", "font-size:10px;vertical-align: super;padding-left: 2px;padding-right: 2px;"), e.add(".calendar_default_colheader_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0; display: flex; align-items: center; justify-content: center; font-size: 13px;"), e.add(".calendar_default_cell_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #ddd;border-bottom: 1px solid #ddd; background: #f9f9f9;"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: #fff"), e.add(".calendar_default_alldayheader_inner", "text-align: center;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".calendar_default_message", "opacity: 0.9; padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", "color: #333; border: 1px solid #999;"), e.add(".calendar_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;background-color: #9dc8e8;"), e.add(".calendar_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".calendar_default_alldayevent_inner,.calendar_default_event_inner", 'background: #fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_selected .calendar_default_event_inner", "background: #ddd;"), e.add(".calendar_default_alldayevent_inner", "position: absolute;top: 2px;bottom: 2px;left: 2px;right: 2px;overflow:hidden;padding: 2px;margin-right: 1px; font-size: 13px;"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute;overflow: hidden;top: 0px;bottom: 0px;left: 0px;right: 0px;padding: 2px 2px 2px 8px; font-size: 13px;"), e.add(".calendar_default_shadow_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;background-color: #666666; opacity: 0.5;"), e.add(".calendar_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer;"), e.add(".calendar_default_event_delete:hover", "opacity: 1;-ms-filter: none;"), e.add(".calendar_default_scroll_up", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAB3RJTUUH2wESDiYcrhwCiQAAAAlwSFlzAAAuIwAALiMBeKU/dgAAAARnQU1BAACxjwv8YQUAAACcSURBVHjaY2AgF9wWsTW6yGMlhi7OhC7AyMDQzMnBXIpFHAFuCtuaMTP+P8nA8P/b1x//FfW/HHuF1UQmxv+NUP1c3OxMVVhNvCVi683E8H8LXOY/w9+fTH81tF8fv4NiIpBRj+YoZtZ/LDUoJmKYhsVUpv0MDiyMDP96sIYV0FS2/8z9ICaLlOhvS4b/jC//MzC8xBG0vJeF7GQBlK0xdiUzCtsAAAAASUVORK5CYII=);"), e.add(".calendar_default_scroll_down", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAALiMAAC4jAXilP3YAAACqSURBVChTY7wpam3L9J+xmQEP+PGPKZZxP4MDi4zI78uMDIwa2NT+Z2DYovrmiC+TI8OBP/8ZmEqwGvif4e8vxr+FIDkmEKH25vBWBgbG0+iK/zEwLtF+ffwOXCGI8Y+BoRFFIdC030x/WmBiYBNhpgLdswNJ8RSYaSgmgk39z1gPUfj/29ef/9rwhQTDHRHbrbdEbLvRFcGthkkAra/9/uMvhkK8piNLAgCRpTnNn4AEmAAAAABJRU5ErkJggg==);"), e.add(".calendar_default_now", "background-color: red;"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent red; border-style: solid; width: 0px; height:0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "background-color: red;"), e.add(".calendar_default_shadow_top", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_shadow_bottom", 'box-sizing: border-box; padding:2px;border:1px solid #ccc;background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".calendar_default_crosshair_vertical, .calendar_default_crosshair_horizontal, .calendar_default_crosshair_left, .calendar_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".calendar_default_loading", "background-color: orange; color: white; padding: 2px;"), e.add(".calendar_default_scroll", "background-color: #f3f3f3;"), e.add(".scheduler_default_selected .scheduler_default_event_inner", "background: #ddd;"), e.add(".scheduler_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;"), e.add(".scheduler_default_timeheader", "cursor: default;color: #333;"), e.add(".scheduler_default_message", "opacity: 0.9;filter: alpha(opacity=90);padding: 10px; color: #ffffff;background: #ffa216;"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: #333;background: #f3f3f3;"), e.add(".scheduler_default_rowheader_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #eee;padding: 2px;"), e.add(".scheduler_default_timeheadergroup, .scheduler_default_timeheadercol", "text-align: center;"), e.add(".scheduler_default_timeheadergroup_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;"), e.add(".scheduler_default_timeheadercol_inner", "position: absolute;left: 0px;right: 0px;top: 0px;bottom: 0px;border-right: 1px solid #c0c0c0;"), e.add(".scheduler_default_divider", "background-color: #c0c0c0;"), e.add(".scheduler_default_divider_horizontal", "background-color: #c0c0c0;"), e.add(".scheduler_default_matrix_vertical_line", "background-color: #eee;"), e.add(".scheduler_default_matrix_vertical_break", "background-color: #000;"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: #eee;"), e.add(".scheduler_default_resourcedivider", "background-color: #c0c0c0;"), e.add(".scheduler_default_shadow_inner", "background-color: #666666;opacity: 0.5;filter: alpha(opacity=50);height: 100%;xborder-radius: 5px;"), e.add(".scheduler_default_event", "color:#333; font-size: 13px;"), e.add(".scheduler_default_event_inner", "position:absolute;top:0px;left:0px;right:0px;bottom:0px;padding:5px 2px 2px 2px;overflow:hidden;border:1px solid #ccc;"), e.add(".scheduler_default_event_bar", "top:0px;left:0px;right:0px;height:4px;background-color:#9dc8e8;"), e.add(".scheduler_default_event_bar_inner", "position:absolute;height:4px;background-color:#1066a8;"), e.add(".scheduler_default_event_inner", 'background:#fff;background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eeeeee));background: -webkit-linear-gradient(top, #ffffff 0%, #eeeeee);background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee);background: -ms-linear-gradient(top, #ffffff 0%, #eeeeee);background: -o-linear-gradient(top, #ffffff 0%, #eeeeee);background: linear-gradient(top, #ffffff 0%, #eeeeee);filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr="#ffffff", endColorStr="#eeeeee");'), e.add(".scheduler_default_event_float_inner", "padding:6px 2px 2px 8px;"), e.add(".scheduler_default_event_float_inner:after", 'content:"";border-color: transparent #666 transparent transparent;border-style:solid;border-width:5px;width:0;height:0;position:absolute;top:8px;left:-4px;'), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "background-color: #666;opacity: 0.5;filter: alpha(opacity=50);"), e.add(".scheduler_default_columnheader_cell_inner", "padding: 2px;"), e.add(".scheduler_default_cell", "background-color: #f9f9f9;"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: #fff;"), e.add(".navigator_default_main", "border-left: 1px solid #c0c0c0;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;background-color: white;color: #000000; box-sizing: content-box;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 12px;"), e.add(".navigator_default_day", "color: black;"), e.add(".navigator_default_weekend", "background-color: #f0f0f0;"), e.add(".navigator_default_dayheader", "color: black;"), e.add(".navigator_default_line", "border-bottom: 1px solid #c0c0c0;"), e.add(".navigator_default_dayother", "color: gray;"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: center;"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: #FFE794; opacity: 0.5;"), e.add(".navigator_default_title", "text-align: center;"), e.add(".navigator_default_titleleft, .navigator_default_titleright", "text-align: center;"), e.add(".navigator_default_dayheader", "text-align: center;"), e.add(".navigator_default_weeknumber", "text-align: center; color: #999;"), e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".month_default_main", "border: 1px solid #c0c0c0;font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px;color: #333;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box;"), e.add(".month_default_cell_inner", "border-right: 1px solid #ddd;border-bottom: 1px solid #ddd;position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;background-color: #f9f9f9;"), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: #fff;"), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box;"), e.add(".month_default_header_inner", "position: absolute;top: 0px;left: 0px;bottom: 0px;right: 0px;border-right: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;cursor: default;color: #333;background: #f3f3f3; overflow:hidden; display: flex; align-items: center; justify-content: center;"), e.add(".month_default_message", "padding: 10px;opacity: 0.9; color: #ffffff;background: #ffa216;"), e.add(".month_default_event_inner", "position: absolute;top: 0px;bottom: 0px;left: 1px;right: 1px;overflow:hidden;padding: 2px;padding-left: 10px;color: #333;background: #fff;background: linear-gradient(to bottom, #ffffff 0%, #eeeeee);border: 1px solid #999;border-radius: 0px;display: flex; align-items: center; font-size: 13px;"), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0px;border-bottom-right-radius: 0px;border-right-style: dotted;"), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0px;border-bottom-left-radius: 0px;border-left-style: dotted;"), e.add(".month_default_event_bar", "top: 0px;bottom: 0px;left: 0px;width: 6px;"), e.add(".month_default_event_bar_inner", "position: absolute;width: 6px;background-color: #1066a8;"), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none;"), e.add(".month_default_selected .month_default_event_inner", "background: #ddd;"), e.add(".month_default_shadow_inner", "background-color: #666666;opacity: 0.5;height: 100%;"), e.add(".month_default_event_delete", "background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAI5JREFUKFNtkLERgCAMRbmzdK8s4gAUlhYOYEHJEJYOYOEwDmGBPxC4kOPfvePy84MGR0RJ2N1A8H3N6DATwSQ57m2ql8NBG+AEM7D+UW+wjdfUPgerYNgB5gOLRHqhcasg84C2QxPMtrUhSqQIhg7ypy9VM2EUZPI/4rQ7rGxqo9sadTegw+UdjeDLAKUfhbaQUVPIfJYAAAAASUVORK5CYII=) center center no-repeat; opacity: 0.6; cursor: pointer;"), e.add(".month_default_event_delete:hover", "opacity: 1;-ms-filter: none;"), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 8pt"), e.add(".month_default_event_timeright", "color: #ccc; font-size: 8pt; text-align: right;"), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px;"), e.commit(), DayPilot.Global.defaultCss = !0;
151
151
  } }(), DayPilot.doc = function () { var e = document.documentElement; return e && e.clientHeight ? e : document.body; }, DayPilot.guid = function () { var e = function () { return (65536 * (1 + Math.random()) | 0).toString(16).substring(1); }; return "" + e() + e() + "-" + e() + "-" + e() + "-" + e() + "-" + e() + e() + e(); }, DayPilot.pageOffset = function () { if ("undefined" != typeof pageXOffset)
152
152
  return { x: pageXOffset, y: pageYOffset }; var e = DayPilot.doc(); return { x: e.scrollLeft, y: e.scrollTop }; }, DayPilot.indexOf = function (e, t) { if (!e || !e.length)
153
153
  return -1; for (var a = 0; a < e.length; a++)
@@ -191,8 +191,8 @@ if ("undefined" == typeof DayPilot)
191
191
  } return t; }, DayPilot.Util.replaceCharAt = function (e, t, a) { return e.substr(0, t) + a + e.substr(t + a.length); }, DayPilot.Util.isNullOrUndefined = function (e) { return null === e || "undefined" == typeof e; }, DayPilot.Util.escapeHtml = function (e) { var t = document.createElement("div"); return t.innerText = e, t.innerHTML; }, DayPilot.Util.escapeTextHtml = function (e, t) { return DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : DayPilot.Util.escapeHtml(e) : t; }, DayPilot.Exception = function (e) { return new Error(e); }, DayPilot.Locale = function (e, t) { if (this.id = e, this.dayNames = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], this.dayNamesShort = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], this.monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], this.datePattern = "M/d/yyyy", this.timePattern = "H:mm", this.dateTimePattern = "M/d/yyyy H:mm", this.timeFormat = "Clock12Hours", this.weekStarts = 0, t)
192
192
  for (var a in t)
193
193
  this[a] = t[a]; }, DayPilot.Locale.all = {}, DayPilot.Locale.find = function (e) { if (!e)
194
- return null; var t = e.toLowerCase(); return t.length > 2 && (t = DayPilot.Util.replaceCharAt(t, 2, "-")), DayPilot.Locale.all[t]; }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "M/d/yyyy", "dateTimePattern": "M/d/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0
195
- })), DayPilot.Locale.register(new DayPilot.Locale("es-es", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["D", "L", "M", "X", "J", "V", "S"], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("es-mx", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["do.", "lu.", "ma.", "mi.", "ju.", "vi.", "sá."], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "hh:mm tt", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy hh:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("eu-es", { "dayNames": ["igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata"], "dayNamesShort": ["ig", "al", "as", "az", "og", "or", "lr"], "monthNames": ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua", ""], "monthNamesShort": ["urt.", "ots.", "mar.", "api.", "mai.", "eka.", "uzt.", "abu.", "ira.", "urr.", "aza.", "abe.", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fi-fi", { "dayNames": ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], "dayNamesShort": ["su", "ma", "ti", "ke", "to", "pe", "la"], "monthNames": ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu", ""], "monthNamesShort": ["tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-be", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yy", "dateTimePattern": "dd-MM-yy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-ch", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-fr", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-lu", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("gl-es", { "dayNames": ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"], "dayNamesShort": ["do", "lu", "ma", "mé", "xo", "ve", "sá"], "monthNames": ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro", ""], "monthNamesShort": ["xan", "feb", "mar", "abr", "maio", "xuño", "xul", "ago", "set", "out", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-it", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-ch", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ja-jp", { "dayNames": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dayNamesShort": ["日", "月", "火", "水", "木", "金", "土"], "monthNames": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("nb-no", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-nl", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "d-M-yyyy", "dateTimePattern": "d-M-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-be", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nn-no", { "dayNames": ["søndag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag"], "dayNamesShort": ["sø", "må", "ty", "on", "to", "fr", "la"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-br", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("pl-pl", { "dayNames": ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"], "dayNamesShort": ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], "monthNames": ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień", ""], "monthNamesShort": ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-pt", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("ro-ro", { "dayNames": ["duminică", "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă"], "dayNamesShort": ["D", "L", "Ma", "Mi", "J", "V", "S"], "monthNames": ["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie", ""], "monthNamesShort": ["ian.", "feb.", "mar.", "apr.", "mai.", "iun.", "iul.", "aug.", "sep.", "oct.", "nov.", "dec.", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ru-ru", { "dayNames": ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], "dayNamesShort": ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""], "monthNamesShort": ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sk-sk", { "dayNames": ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"], "dayNamesShort": ["ne", "po", "ut", "st", "št", "pi", "so"], "monthNames": ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sv-se", { "dayNames": ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"], "dayNamesShort": ["sö", "må", "ti", "on", "to", "fr", "lö"], "monthNames": ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("tr-tr", { "dayNames": ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], "dayNamesShort": ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], "monthNames": ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık", ""], "monthNamesShort": ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", ""], "timePattern": "HH:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-cn", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "timePattern": "H:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.US = DayPilot.Locale.find("en-us"), DayPilot.Duration = function (e) { var t = this, a = 864e5, r = 36e5, o = 6e4, n = 1e3; if (2 === arguments.length) {
194
+ return null; var t = e.toLowerCase(); return t.length > 2 && (t = DayPilot.Util.replaceCharAt(t, 2, "-")), DayPilot.Locale.all[t]; }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt",
195
+ "datePattern": "M/d/yyyy", "dateTimePattern": "M/d/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("es-es", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["D", "L", "M", "X", "J", "V", "S"], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("es-mx", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["do.", "lu.", "ma.", "mi.", "ju.", "vi.", "sá."], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "hh:mm tt", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy hh:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("eu-es", { "dayNames": ["igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata"], "dayNamesShort": ["ig", "al", "as", "az", "og", "or", "lr"], "monthNames": ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua", ""], "monthNamesShort": ["urt.", "ots.", "mar.", "api.", "mai.", "eka.", "uzt.", "abu.", "ira.", "urr.", "aza.", "abe.", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fi-fi", { "dayNames": ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], "dayNamesShort": ["su", "ma", "ti", "ke", "to", "pe", "la"], "monthNames": ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu", ""], "monthNamesShort": ["tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-be", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yy", "dateTimePattern": "dd-MM-yy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-ch", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-fr", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-lu", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("gl-es", { "dayNames": ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"], "dayNamesShort": ["do", "lu", "ma", "mé", "xo", "ve", "sá"], "monthNames": ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro", ""], "monthNamesShort": ["xan", "feb", "mar", "abr", "maio", "xuño", "xul", "ago", "set", "out", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-it", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-ch", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ja-jp", { "dayNames": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dayNamesShort": ["日", "月", "火", "水", "木", "金", "土"], "monthNames": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("nb-no", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-nl", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "d-M-yyyy", "dateTimePattern": "d-M-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-be", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nn-no", { "dayNames": ["søndag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag"], "dayNamesShort": ["sø", "må", "ty", "on", "to", "fr", "la"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-br", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("pl-pl", { "dayNames": ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"], "dayNamesShort": ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], "monthNames": ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień", ""], "monthNamesShort": ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-pt", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("ro-ro", { "dayNames": ["duminică", "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă"], "dayNamesShort": ["D", "L", "Ma", "Mi", "J", "V", "S"], "monthNames": ["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie", ""], "monthNamesShort": ["ian.", "feb.", "mar.", "apr.", "mai.", "iun.", "iul.", "aug.", "sep.", "oct.", "nov.", "dec.", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ru-ru", { "dayNames": ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], "dayNamesShort": ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""], "monthNamesShort": ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sk-sk", { "dayNames": ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"], "dayNamesShort": ["ne", "po", "ut", "st", "št", "pi", "so"], "monthNames": ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sv-se", { "dayNames": ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"], "dayNamesShort": ["sö", "må", "ti", "on", "to", "fr", "lö"], "monthNames": ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("tr-tr", { "dayNames": ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], "dayNamesShort": ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], "monthNames": ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık", ""], "monthNamesShort": ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", ""], "timePattern": "HH:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("uk-ua", { "dayNames": ["неділя", "понеділок", "вівторок", "середа", "четвер", "п'ятниця", "субота"], "dayNamesShort": ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["січень", "лютий", "березень", "квітень", "травень", "червень", "липень", "серпень", "вересень", "жовтень", "листопад", "грудень", ""], "monthNamesShort": ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-cn", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "timePattern": "H:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.US = DayPilot.Locale.find("en-us"), DayPilot.Duration = function (e) { var t = this, a = 864e5, r = 36e5, o = 6e4, n = 1e3; if (2 === arguments.length) {
196
196
  var i = arguments[0], d = arguments[1];
197
197
  if (!(i instanceof DayPilot.Date) && "string" != typeof i)
198
198
  throw "DayPilot.Duration(): Invalid start argument, DayPilot.Date expected";
@@ -309,17 +309,16 @@ if ("undefined" == typeof DayPilot)
309
309
  for (var e = 0; e < n.length; e++)
310
310
  r.data[n[e]] = o[n[e]];
311
311
  o.dirty = !1;
312
- } }, this.dirty = function () { return o.dirty; }, this.id = function (e) { return "undefined" == typeof e ? r.data.id : void (this.temp().id = e); }, this.value = function (e) { return "undefined" == typeof e ? r.id() : void r.id(e); }, this.text = function (e) { return "undefined" == typeof e ? r.data.text : (this.temp().text = e, void this.client.innerHTML(e)); }, this.start = function (e) { return "undefined" == typeof e ? new DayPilot.Date(r.data.start) : void (this.temp().start = new DayPilot.Date(e)); }, this.end = function (e) { return "undefined" == typeof e ? new DayPilot.Date(r.data.end) : void (this.temp().end = new DayPilot.Date(e)); }, this.partStart = function () { return new DayPilot.Date(this.part.start); }, this.partEnd = function () { return new DayPilot.Date(this.part.end); }, this.tag = function (e) { var t = r.data.tag; if (!t)
312
+ } }, this.dirty = function () { return o.dirty; }, this.id = function (e) { return "undefined" == typeof e ? r.data.id : void (this.temp().id = e); }, this.value = function (e) { return "undefined" == typeof e ? r.id() : void r.id(e); }, this.text = function (e) { return "undefined" == typeof e ? r.data.text : (this.temp().text = e, void this.client.innerHTML(e)); }, this.start = function (e) {
313
+ return "undefined" == typeof e ? new DayPilot.Date(r.data.start) : void (this.temp().start = new DayPilot.Date(e));
314
+ }, this.end = function (e) { return "undefined" == typeof e ? new DayPilot.Date(r.data.end) : void (this.temp().end = new DayPilot.Date(e)); }, this.partStart = function () { return new DayPilot.Date(this.part.start); }, this.partEnd = function () { return new DayPilot.Date(this.part.end); }, this.tag = function (e) { var t = r.data.tag; if (!t)
313
315
  return null; if ("undefined" == typeof e)
314
316
  return r.data.tag; for (var a = r.calendar.tagFields, o = -1, n = 0; n < a.length; n++)
315
317
  e === a[n] && (o = n); if (o === -1)
316
- throw "Field name not found."; return t[o]; }, this.client = {}, this.client.innerHTML = function (e) {
317
- if ("undefined" == typeof e) {
318
- var t = r.cache || r.data, a = r.calendar && r.calendar.internal && r.calendar.internal.xssTextHtml;
319
- return a ? a(t.text, t.html) : DayPilot.Util.escapeTextHtml(t.text, t.html);
320
- }
321
- r.data.html = e;
322
- }, this.client.html = this.client.innerHTML, this.client.header = function (e) { return "undefined" == typeof e ? r.data.header : void (r.data.header = e); }, this.client.cssClass = function (e) { return "undefined" == typeof e ? r.data.cssClass : void (r.data.cssClass = e); }, this.client.toolTip = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.toolTip ? r.cache.toolTip : "undefined" != typeof r.data.toolTip ? r.data.toolTip : r.data.text : void (r.data.toolTip = e); }, this.client.barVisible = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.barHidden ? !r.cache.barHidden : r.calendar.durationBarVisible && !r.data.barHidden : void (r.data.barHidden = !e); }, this.client.backColor = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.backColor ? r.cache.backColor : "undefined" != typeof r.data.backColor ? r.data.backColor : r.calendar.eventBackColor : void (r.data.backColor = e); }, this.client.borderColor = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.borderColor ? r.cache.borderColor : "undefined" != typeof r.data.borderColor ? r.data.borderColor : r.calendar.eventBorderColor : void (r.data.borderColor = e); }, this.client.moveEnabled = function (e) { return "undefined" == typeof e ? "Disabled" !== r.calendar.eventMoveHandling && !r.data.moveDisabled : void (r.data.moveDisabled = !e); }, this.client.resizeEnabled = function (e) { return "undefined" == typeof e ? "Disabled" !== r.calendar.eventResizeHandling && !r.data.resizeDisabled : void (r.data.resizeDisabled = !e); }, this.client.clickEnabled = function (e) { return "undefined" == typeof e ? "Disabled" !== r.calendar.eventClickHandling && !r.data.clickDisabled : void (r.data.clickDisabled = !e); }, this.toJSON = function (e) { var t = {}; if (t.value = this.id(), t.id = this.id(), t.text = this.text(), t.start = this.start(), t.end = this.end(), t.tag = {}, r.calendar && r.calendar.tagFields)
318
+ throw "Field name not found."; return t[o]; }, this.client = {}, this.client.innerHTML = function (e) { if ("undefined" == typeof e) {
319
+ var t = r.cache || r.data, a = r.calendar && r.calendar.internal && r.calendar.internal.xssTextHtml;
320
+ return a ? a(t.text, t.html) : DayPilot.Util.escapeTextHtml(t.text, t.html);
321
+ } r.data.html = e; }, this.client.html = this.client.innerHTML, this.client.header = function (e) { return "undefined" == typeof e ? r.data.header : void (r.data.header = e); }, this.client.cssClass = function (e) { return "undefined" == typeof e ? r.data.cssClass : void (r.data.cssClass = e); }, this.client.toolTip = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.toolTip ? r.cache.toolTip : "undefined" != typeof r.data.toolTip ? r.data.toolTip : r.data.text : void (r.data.toolTip = e); }, this.client.barVisible = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.barHidden ? !r.cache.barHidden : r.calendar.durationBarVisible && !r.data.barHidden : void (r.data.barHidden = !e); }, this.client.backColor = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.backColor ? r.cache.backColor : "undefined" != typeof r.data.backColor ? r.data.backColor : r.calendar.eventBackColor : void (r.data.backColor = e); }, this.client.borderColor = function (e) { return "undefined" == typeof e ? r.cache && "undefined" != typeof r.cache.borderColor ? r.cache.borderColor : "undefined" != typeof r.data.borderColor ? r.data.borderColor : r.calendar.eventBorderColor : void (r.data.borderColor = e); }, this.client.moveEnabled = function (e) { return "undefined" == typeof e ? "Disabled" !== r.calendar.eventMoveHandling && !r.data.moveDisabled : void (r.data.moveDisabled = !e); }, this.client.resizeEnabled = function (e) { return "undefined" == typeof e ? "Disabled" !== r.calendar.eventResizeHandling && !r.data.resizeDisabled : void (r.data.resizeDisabled = !e); }, this.client.clickEnabled = function (e) { return "undefined" == typeof e ? "Disabled" !== r.calendar.eventClickHandling && !r.data.clickDisabled : void (r.data.clickDisabled = !e); }, this.toJSON = function (e) { var t = {}; if (t.value = this.id(), t.id = this.id(), t.text = this.text(), t.start = this.start(), t.end = this.end(), t.tag = {}, r.calendar && r.calendar.tagFields)
323
322
  for (var a = r.calendar.tagFields, o = 0; o < a.length; o++)
324
323
  t.tag[a[o]] = this.tag(a[o]); return t; };
325
324
  };
@@ -398,7 +397,7 @@ if ("undefined" == typeof DayPilot)
398
397
  if (this instanceof t.Calendar && !this.d && (n = !0, this.d = !0), !n)
399
398
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
400
399
  var s = this;
401
- this.uniqueID = null, this.v = "2022.1.362-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellHeight = 30, this.columnMarginRight = 5, this.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventHeaderVisible = !0, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.loadingLabelBackColor = "ff0000", this.loadingLabelFontColor = "#ffffff", this.loadingLabelFontFamily = "Tahoma, Arial, Helvetica, sans-serif", this.loadingLabelFontSize = "10pt", this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.onBeforeEventRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.f(); }, this.f = function () { DayPilot.de(s.elements.selection), s.elements.selection = [], s.nav.activeSelection = null; }, this.g = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.h = navigator && navigator.userAgent && navigator.userAgent.indexOf("Firefox") !== -1, this.i = function () { if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
400
+ this.uniqueID = null, this.v = "2022.2.374-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellHeight = 30, this.columnMarginRight = 5, this.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventHeaderVisible = !0, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.loadingLabelBackColor = "ff0000", this.loadingLabelFontColor = "#ffffff", this.loadingLabelFontFamily = "Tahoma, Arial, Helvetica, sans-serif", this.loadingLabelFontSize = "10pt", this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.onBeforeEventRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.f(); }, this.f = function () { DayPilot.de(s.elements.selection), s.elements.selection = [], s.nav.activeSelection = null; }, this.g = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.h = navigator && navigator.userAgent && navigator.userAgent.indexOf("Firefox") !== -1, this.i = function () { if (/Opera[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
402
401
  return new Number(RegExp.$1) >= 10.5;
403
402
  } return !1; }(), this.j = function () { if (/AppleWebKit[\/\s](\d+\.\d+)/.test(navigator.userAgent)) {
404
403
  return new Number(RegExp.$1) >= 522;
@@ -413,9 +412,9 @@ if ("undefined" == typeof DayPilot)
413
412
  return void (document.location.href = e.CallBackRedirect); if ("None" === e.UpdateType)
414
413
  return s.loadingStop(), void s.A(); if (s.p(), "Full" === e.UpdateType && (s.columns = e.Columns, s.days = e.Days, s.startDate = new DayPilot.Date(e.StartDate), s.heightSpec = e.HeightSpec ? e.HeightSpec : s.heightSpec, s.businessBeginsHour = e.BusinessBeginsHour ? e.BusinessBeginsHour : s.businessBeginsHour, s.businessEndsHour = e.BusinessEndsHour ? e.BusinessEndsHour : s.businessEndsHour, s.headerDateFormat = e.HeaderDateFormat ? e.HeaderDateFormat : s.headerDateFormat, s.viewType = e.ViewType, s.backColor = e.BackColor ? e.BackColor : s.backColor, s.eventHeaderVisible = e.EventHeaderVisible ? e.EventHeaderVisible : s.eventHeaderVisible, s.timeFormat = e.TimeFormat ? e.TimeFormat : s.timeFormat, s.locale = e.Locale ? e.Locale : s.locale, s.B()), e.Hashes)
415
414
  for (var i in e.Hashes)
416
- s.hashes[i] = e.Hashes[i]; s.events.list = e.Events, s.C(), s.D(), "Full" === e.UpdateType && (s.E(), s.F(), s.G(), s.H()), s.A(), s.I(), s.clearSelection(), s.afterRender(e.CallBackData, !0), s.loadingStop(); }, this.J = function () { return 24; }, this.K = function () { return this.businessBeginsHour > this.businessEndsHour ? 24 - this.businessBeginsHour + this.businessEndsHour : this.businessEndsHour - this.businessBeginsHour; }, this.L = function () { return 48; }, this.M = function () { return 2 === s.api; }, this.eventClickCallBack = function (e, t) { this.m("EventClick", t, e); }, this.eventClickPostBack = function (e, t) { this.k("EventClick", t, e); }, this.N = function (e) { var t = this, i = t.event; if (s.M()) {
415
+ s.hashes[i] = e.Hashes[i]; s.events.list = e.Events, s.C(), s.D(), "Full" === e.UpdateType && (s.E(), s.F(), s.G(), s.H()), s.A(), s.I(), s.clearSelection(), s.afterRender(e.CallBackData, !0), s.loadingStop(); }, this.J = function () { return this.K() / 36e5; }, this.L = function () { return this.businessBeginsHour > this.businessEndsHour ? 24 - this.businessBeginsHour + this.businessEndsHour : this.businessEndsHour - this.businessBeginsHour; }, this.M = function () { return this.K() / 18e5; }, this.K = function () { var e = 0; return e = "BusinessHoursNoScroll" === this.heightSpec ? this.L() : 24, 60 * e * 60 * 1e3; }, this.N = function () { return "BusinessHoursNoScroll" === this.heightSpec ? this.businessBeginsHour : 0; }, this.O = function () { return 2 === s.api; }, this.eventClickCallBack = function (e, t) { this.m("EventClick", t, e); }, this.eventClickPostBack = function (e, t) { this.k("EventClick", t, e); }, this.P = function (e) { var t = this, i = t.event; if (s.O()) {
417
416
  var n = {};
418
- if (n.e = i, n.originalEvent = e, n.meta = e.metaKey, n.ctrl = e.ctrlKey, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventClick && (s.O.apply(function () { s.onEventClick(n); }), n.preventDefault.value))
417
+ if (n.e = i, n.originalEvent = e, n.meta = e.metaKey, n.ctrl = e.ctrlKey, n.control = s, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventClick && (s.Q.apply(function () { s.onEventClick(n); }), n.preventDefault.value))
419
418
  return;
420
419
  switch (s.eventClickHandling) {
421
420
  case "CallBack":
@@ -423,7 +422,7 @@ if ("undefined" == typeof DayPilot)
423
422
  break;
424
423
  case "PostBack": s.eventClickPostBack(i);
425
424
  }
426
- "function" == typeof s.onEventClicked && s.O.apply(function () { s.onEventClicked(n); });
425
+ "function" == typeof s.onEventClicked && s.Q.apply(function () { s.onEventClicked(n); });
427
426
  }
428
427
  else
429
428
  switch (s.eventClickHandling) {
@@ -434,9 +433,9 @@ if ("undefined" == typeof DayPilot)
434
433
  s.eventClickCallBack(i);
435
434
  break;
436
435
  case "JavaScript": s.onEventClick(i);
437
- } }, this.eventDeleteCallBack = function (e, t) { this.m("EventDelete", t, e); }, this.eventDeletePostBack = function (e, t) { this.k("EventDelete", t, e); }, this.P = function (e) { if (s.M()) {
436
+ } }, this.eventDeleteCallBack = function (e, t) { this.m("EventDelete", t, e); }, this.eventDeletePostBack = function (e, t) { this.k("EventDelete", t, e); }, this.R = function (e) { if (s.O()) {
438
437
  var t = {};
439
- if (t.e = e, t.control = s, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventDelete && (s.O.apply(function () { s.onEventDelete(t); }), t.preventDefault.value))
438
+ if (t.e = e, t.control = s, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventDelete && (s.Q.apply(function () { s.onEventDelete(t); }), t.preventDefault.value))
440
439
  return;
441
440
  switch (s.eventDeleteHandling) {
442
441
  case "CallBack":
@@ -447,7 +446,7 @@ if ("undefined" == typeof DayPilot)
447
446
  break;
448
447
  case "Update": s.events.remove(e);
449
448
  }
450
- "function" == typeof s.onEventDeleted && s.O.apply(function () { s.onEventDeleted(t); });
449
+ "function" == typeof s.onEventDeleted && s.Q.apply(function () { s.onEventDeleted(t); });
451
450
  }
452
451
  else
453
452
  switch (s.eventDeleteHandling) {
@@ -463,15 +462,15 @@ if ("undefined" == typeof DayPilot)
463
462
  throw "newEnd is null"; var s = {}; s.e = e, s.newStart = t, s.newEnd = i, this.m("EventResize", n, s); }, this.eventResizePostBack = function (e, t, i, n) { if (!t)
464
463
  throw "newStart is null"; if (!i)
465
464
  throw "newEnd is null"; var s = {}; s.e = e, s.newStart = t, s.newEnd = i, this.k("EventResize", n, s); }, this.a = function (e, t, i, n) { var a = 1, l = new Date, o = new Date, r = e.start(), h = e.end(); if ("top" === n) {
466
- var c = r.getDatePart(), d = Math.floor((i - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3;
467
- l = c.addTime(v), o = e.end();
465
+ var c = r.getDatePart(), d = Math.floor((i - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.N() * 60 * 1e3;
466
+ l = c.addTime(v + p), o = e.end();
468
467
  }
469
468
  else if ("bottom" === n) {
470
- var c = h.getDatePart(), d = Math.floor((i + t - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3;
471
- l = r, o = c.addTime(v);
472
- } if (s.M()) {
473
- var p = {};
474
- if (p.e = e, p.control = s, p.newStart = l, p.newEnd = o, p.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventResize && (s.O.apply(function () { s.onEventResize(p); }), p.preventDefault.value))
469
+ var c = h.getDatePart(), d = Math.floor((i + t - a) / s.cellHeight), u = 30 * d, v = 60 * u * 1e3, p = 60 * s.N() * 60 * 1e3;
470
+ l = r, o = c.addTime(v + p);
471
+ } if (s.O()) {
472
+ var f = {};
473
+ if (f.e = e, f.control = s, f.newStart = l, f.newEnd = o, f.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventResize && (s.Q.apply(function () { s.onEventResize(f); }), f.preventDefault.value))
475
474
  return;
476
475
  switch (s.eventResizeHandling) {
477
476
  case "PostBack":
@@ -482,7 +481,7 @@ if ("undefined" == typeof DayPilot)
482
481
  break;
483
482
  case "Update": e.start(l), e.end(o), s.events.update(e);
484
483
  }
485
- "function" == typeof s.onEventResized && s.O.apply(function () { s.onEventResized(p); });
484
+ "function" == typeof s.onEventResized && s.Q.apply(function () { s.onEventResized(f); });
486
485
  }
487
486
  else
488
487
  switch (s.eventResizeHandling) {
@@ -497,9 +496,9 @@ if ("undefined" == typeof DayPilot)
497
496
  throw "newStart is null"; if (!i)
498
497
  throw "newEnd is null"; var a = {}; a.e = e, a.newStart = t, a.newEnd = i, this.k("EventMove", s, a); }, this.eventMoveCallBack = function (e, t, i, n, s) { if (!t)
499
498
  throw "newStart is null"; if (!i)
500
- throw "newEnd is null"; var a = {}; a.e = e, a.newStart = t, a.newEnd = i, this.m("EventMove", s, a); }, this.b = function (e, t, i, n) { var a = 1, l = Math.floor((i - a) / s.cellHeight), o = 30 * l * 60 * 1e3, r = e.start(), h = e.end(), c = new Date; r instanceof DayPilot.Date && (r = r.toDate()), c.setTime(Date.UTC(r.getUTCFullYear(), r.getUTCMonth(), r.getUTCDate())); var d = r.getTime() - (c.getTime() + 3600 * r.getUTCHours() * 1e3 + 30 * Math.floor(r.getUTCMinutes() / 30) * 60 * 1e3), u = h.getTime() - r.getTime(), v = this.columns[t], p = v.Start.getTime(), f = new Date; f.setTime(p + o + d); var g = new DayPilot.Date(f), m = g.addTime(u); if (s.M()) {
499
+ throw "newEnd is null"; var a = {}; a.e = e, a.newStart = t, a.newEnd = i, this.m("EventMove", s, a); }, this.b = function (e, t, i, n) { var a = 1, l = Math.floor((i - a) / s.cellHeight), o = 30 * l * 60 * 1e3, r = e.start(), h = e.end(), c = new Date; r instanceof DayPilot.Date && (r = r.toDate()), c.setTime(Date.UTC(r.getUTCFullYear(), r.getUTCMonth(), r.getUTCDate())); var d = r.getTime() - (c.getTime() + 3600 * r.getUTCHours() * 1e3 + 30 * Math.floor(r.getUTCMinutes() / 30) * 60 * 1e3), u = h.getTime() - r.getTime(), v = this.columns[t], p = v.start.getTime(), f = new Date; f.setTime(p + o + d); var g = new DayPilot.Date(f), m = g.addTime(u); if (s.O()) {
501
500
  var y = {};
502
- if (y.e = e, y.newStart = g, y.newEnd = m, y.ctrl = n.ctrlKey, y.shift = n.shiftKey, y.control = s, y.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventMove && (s.O.apply(function () { s.onEventMove(y); }), y.preventDefault.value))
501
+ if (y.e = e, y.newStart = g, y.newEnd = m, y.ctrl = n.ctrlKey, y.shift = n.shiftKey, y.control = s, y.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onEventMove && (s.Q.apply(function () { s.onEventMove(y); }), y.preventDefault.value))
503
502
  return;
504
503
  switch (s.eventMoveHandling) {
505
504
  case "PostBack":
@@ -510,7 +509,7 @@ if ("undefined" == typeof DayPilot)
510
509
  break;
511
510
  case "Update": e.start(g), e.end(m), s.events.update(e);
512
511
  }
513
- "function" == typeof s.onEventMoved && s.O.apply(function () { s.onEventMoved(y); });
512
+ "function" == typeof s.onEventMoved && s.Q.apply(function () { s.onEventMoved(y); });
514
513
  }
515
514
  else
516
515
  switch (s.eventMoveHandling) {
@@ -521,9 +520,9 @@ if ("undefined" == typeof DayPilot)
521
520
  s.eventMoveCallBack(e, g, m, v.Value);
522
521
  break;
523
522
  case "JavaScript": s.onEventMove(e, g, m, v.Value, !1);
524
- } }, this.timeRangeSelectedPostBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.k("TimeRangeSelected", n, s); }, this.timeRangeSelectedCallBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.m("TimeRangeSelected", n, s); }, this.c = function (e, t) { if (e = new DayPilot.Date(e), t = new DayPilot.Date(t), this.M()) {
523
+ } }, this.timeRangeSelectedPostBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.k("TimeRangeSelected", n, s); }, this.timeRangeSelectedCallBack = function (e, t, i, n) { var s = {}; s.start = e, s.end = t, this.m("TimeRangeSelected", n, s); }, this.c = function (e, t) { if (e = new DayPilot.Date(e), t = new DayPilot.Date(t), this.O()) {
525
524
  var i = {};
526
- if (i.start = e, i.end = t, i.control = s, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onTimeRangeSelect && (s.O.apply(function () { s.onTimeRangeSelect(i); }), i.preventDefault.value))
525
+ if (i.start = e, i.end = t, i.control = s, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof s.onTimeRangeSelect && (s.Q.apply(function () { s.onTimeRangeSelect(i); }), i.preventDefault.value))
527
526
  return;
528
527
  switch (s.timeRangeSelectedHandling) {
529
528
  case "PostBack":
@@ -531,7 +530,7 @@ if ("undefined" == typeof DayPilot)
531
530
  break;
532
531
  case "CallBack": s.timeRangeSelectedCallBack(e, t);
533
532
  }
534
- "function" == typeof s.onTimeRangeSelected && s.O.apply(function () { s.onTimeRangeSelected(i); });
533
+ "function" == typeof s.onTimeRangeSelected && s.Q.apply(function () { s.onTimeRangeSelected(i); });
535
534
  }
536
535
  else
537
536
  switch (s.timeRangeSelectedHandling) {
@@ -542,27 +541,27 @@ if ("undefined" == typeof DayPilot)
542
541
  s.timeRangeSelectedCallBack(e, t);
543
542
  break;
544
543
  case "JavaScript": s.onTimeRangeSelected(e, t);
545
- } }, this.Q = function (e) { if (!t.selecting && "Disabled" !== s.timeRangeSelectedHandling) {
544
+ } }, this.S = function (e) { if (!t.selecting && "Disabled" !== s.timeRangeSelectedHandling) {
546
545
  var i = window.event ? window.event.button : e.which;
547
546
  if (1 === i || 0 === i)
548
- return t.firstMousePos = DayPilot.mc(e || window.event), t.selecting = {}, t.selecting.calendar = s, t.selectedCells && (s.clearSelection(), t.selectedCells = []), t.column = t.getColumn(this), t.selectedCells.push(this), t.firstSelected = this, t.topSelectedCell = this, t.bottomSelectedCell = this, s.R(), !1;
549
- } }, this.R = function () { this.getSelection(); !function () { return; }(), function () { var e = t.topSelectedCell, i = t.bottomSelectedCell, n = function () { if (e.data)
547
+ return t.firstMousePos = DayPilot.mc(e || window.event), t.selecting = {}, t.selecting.calendar = s, t.selectedCells && (s.clearSelection(), t.selectedCells = []), t.column = t.getColumn(this), t.selectedCells.push(this), t.firstSelected = this, t.topSelectedCell = this, t.bottomSelectedCell = this, s.T(), !1;
548
+ } }, this.T = function () { this.getSelection(); !function () { return; }(), function () { var e = t.topSelectedCell, i = t.bottomSelectedCell, n = function () { if (e.data)
550
549
  return e.data.x; for (var t = e.parentNode.cells, i = 0; i < t.length; i++)
551
550
  if (t[i] === e)
552
551
  return i; return -1; }(), a = s.columns[n]; if (a) {
553
- var l = a.Start, o = s.getPixels(e.start, l).boxTop, r = s.getPixels(i.end, l).boxBottom, h = r - o, c = function () { if (s.nav.activeSelection)
552
+ var l = a.start, o = s.getPixels(e.start, l).boxTop, r = s.getPixels(i.end, l).boxBottom, h = r - o, c = function () { if (s.nav.activeSelection)
554
553
  return s.nav.activeSelection; var e = document.createElement("div"); e.setAttribute("unselectable", "on"), e.style.position = "absolute", e.style.left = "0px", e.style.width = "100%"; var t = document.createElement("div"); return t.setAttribute("unselectable", "on"), t.className = s.u("_shadow_inner"), e.appendChild(t), s.nav.events.rows[0].cells[n].selection.appendChild(e), s.elements.selection.push(e), s.nav.activeSelection = e, e; }();
555
554
  c.className = s.u("_shadow"), c.firstChild.innerHTML = "", c.style.top = o + "px", c.style.height = h + "px";
556
- } }(); }, this.S = function (e) { if ("undefined" != typeof t && t.selecting) {
555
+ } }(); }, this.U = function (e) { if ("undefined" != typeof t && t.selecting) {
557
556
  var i = DayPilot.mc(e || window.event);
558
- t.getColumn(this) === t.column && (s.clearSelection(), i.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(this), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(this), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.R());
559
- } }, this.getSelection = function () { var e = t.topSelectedCell.start, i = t.bottomSelectedCell.end; return new DayPilot.Selection(e, i, null, s); }, this.T = function (e) { }, this.U = function (e) { if (e < 0)
557
+ t.getColumn(this) === t.column && (s.clearSelection(), i.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(this), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(this), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.T());
558
+ } }, this.getSelection = function () { var e = t.topSelectedCell.start, i = t.bottomSelectedCell.end; return new DayPilot.Selection(e, i, null, s); }, this.V = function (e) { }, this.W = function (e) { if (e < 0)
560
559
  return null; for (var t = 0, i = s.nav.events.rows[0].cells, n = 0; n < i.length; n++) {
561
560
  if (t += i[n].offsetWidth, e < t)
562
561
  return n;
563
- } return null; }, this.V = {}, this.V.getCellCoords = function () { var e = {}; if (e.x = 0, e.y = 0, !s.coords)
564
- return null; e.x = s.U(s.coords.x); var t = 0, i = Math.floor((s.coords.y - t) / s.cellHeight); return e.y = i, e.x < 0 ? null : e; }, this.B = function () { this.columns = this.W(); for (var e = 0; e < this.columns.length; e++)
565
- this.X(this.columns[e]); }, this.X = function (e) { e.Start = new DayPilot.Date(e.Start), e.putIntoBlock = function (e) { for (var t = 0; t < this.blocks.length; t++) {
562
+ } return null; }, this.X = {}, this.X.getCellCoords = function () { var e = {}; if (e.x = 0, e.y = 0, !s.coords)
563
+ return null; e.x = s.W(s.coords.x); var t = 0, i = Math.floor((s.coords.y - t) / s.cellHeight); return e.y = i, e.x < 0 ? null : e; }, this.B = function () { "Resources" !== s.viewType && (this.columns = this.Y()); for (var e = 0; e < this.columns.length; e++)
564
+ this.Z(this.columns[e]); }, this.Z = function (e) { e.start = new DayPilot.Date(e.start), e.putIntoBlock = function (e) { for (var t = 0; t < this.blocks.length; t++) {
566
565
  var i = this.blocks[t];
567
566
  if (i.overlapsWith(e.part.top, e.part.height))
568
567
  return i.events.push(e), i.min = Math.min(i.min, e.part.top), i.max = Math.max(i.max, e.part.top + e.part.height), t;
@@ -582,7 +581,7 @@ if ("undefined" == typeof DayPilot)
582
581
  var a = this[s];
583
582
  if (!(i < a.part.top || e > a.part.top + a.part.height - 1))
584
583
  return !1;
585
- } return !0; }, i.push(e), this.lines.push(i), this.lines.length - 1; }; }, this.W = function () { var e = [], t = this.startDate.getDatePart(), i = this.days; switch (this.viewType) {
584
+ } return !0; }, i.push(e), this.lines.push(i), this.lines.length - 1; }; }, this.Y = function () { var e = [], t = this.startDate.getDatePart(), i = this.days; switch (this.viewType) {
586
585
  case "Day":
587
586
  i = 1;
588
587
  break;
@@ -590,10 +589,10 @@ if ("undefined" == typeof DayPilot)
590
589
  i = 7, t = t.firstDayOfWeek(a.locale().weekStarts);
591
590
  break;
592
591
  case "WorkWeek": i = 5, t = t.firstDayOfWeek(1);
593
- } for (var n = 0; n < i; n++) {
592
+ } "BusinessHoursNoScroll" === this.heightSpec && (t = t.addHours(this.businessBeginsHour)); for (var n = 0; n < i; n++) {
594
593
  var l = s.headerDateFormat ? s.headerDateFormat : a.locale().datePattern, o = {};
595
- o.Start = t.addDays(n), o.Name = o.Start.toString(l, a.locale()), o.InnerHTML = o.Name, e.push(o);
596
- } return e; }, this.visibleStart = function () { return this.columns[0].Start; }, this.visibleEnd = function () { var e = this.columns.length - 1; return this.columns[e].Start.addDays(1); }, this.u = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.p = function () { if (this.elements.events)
594
+ o.start = t.addDays(n), o.name = o.start.toString(l, a.locale()), e.push(o);
595
+ } return e; }, this.visibleStart = function () { return this.columns[0].start; }, this.visibleEnd = function () { var e = this.columns.length - 1; return this.columns[e].start.addDays(1); }, this.u = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.p = function () { if (this.elements.events)
597
596
  for (var e = 0; e < this.elements.events.length; e++) {
598
597
  var t = this.elements.events[e], i = t.event;
599
598
  if (i && (i.calendar = null), t.onclick = null, t.onclickSave = null, t.onmouseover = null, t.onmouseout = null, t.onmousemove = null, t.onmousedown = null, t.firstChild && t.firstChild.firstChild && t.firstChild.firstChild.tagName && "IMG" === t.firstChild.firstChild.tagName.toUpperCase()) {
@@ -601,7 +600,7 @@ if ("undefined" == typeof DayPilot)
601
600
  n.onmousedown = null, n.onmousemove = null, n.onclick = null;
602
601
  }
603
602
  t.helper = null, t.data = null, t.event = null, DayPilot.de(t);
604
- } this.elements.events = []; }, this.Y = function (e) { var i = e.cache || e.data, n = this.nav.events, a = document.createElement("div"); a.style.position = "absolute", a.style.left = e.part.left + "%", a.style.top = e.part.top + "px", a.style.width = e.part.width + "%", a.style.height = Math.max(e.part.height, 2) + "px", a.style.overflow = "hidden", a.data = e, a.event = e, a.unselectable = "on", a.style.MozUserSelect = "none", a.style.KhtmlUserSelect = "none", a.className = this.u("_event"), i.cssClass && DayPilot.Util.addClass(a, i.cssClass), a.isFirst = e.part.start.getTime() === e.start().getTime(), a.isLast = e.part.end.getTime() === e.end().getTime(), a.onclick = this.N, a.onmouseout = function (e) { a.deleteIcon && (a.deleteIcon.style.display = "none"); }, a.onmousemove = function (e) { var i = s.eventHeaderVisible ? s.eventHeaderHeight : 10; if ("undefined" != typeof t) {
603
+ } this.elements.events = []; }, this.$ = function (e) { var i = e.cache || e.data, n = this.nav.events, a = document.createElement("div"); a.style.position = "absolute", a.style.left = e.part.left + "%", a.style.top = e.part.top + "px", a.style.width = e.part.width + "%", a.style.height = Math.max(e.part.height, 2) + "px", a.style.overflow = "hidden", a.data = e, a.event = e, a.unselectable = "on", a.style.MozUserSelect = "none", a.style.KhtmlUserSelect = "none", a.className = this.u("_event"), i.cssClass && DayPilot.Util.addClass(a, i.cssClass), a.isFirst = e.part.start.getTime() === e.start().getTime(), a.isLast = e.part.end.getTime() === e.end().getTime(), a.onclick = this.P, a.onmouseout = function (e) { a.deleteIcon && (a.deleteIcon.style.display = "none"); }, a.onmousemove = function (e) { var i = s.eventHeaderVisible ? s.eventHeaderHeight : 10; if ("undefined" != typeof t) {
605
604
  var n = DayPilot.mo3(a, e);
606
605
  if (n && !t.resizing && !t.moving) {
607
606
  a.deleteIcon && (a.deleteIcon.style.display = "");
@@ -625,13 +624,13 @@ if ("undefined" == typeof DayPilot)
625
624
  d.setAttribute("unselectable", "on"), d.className = this.u("_event_bar_inner"), d.style.top = r + "%", 0 < h && h <= 1 ? d.style.height = "1px" : d.style.height = h + "%", i.barColor && (d.style.backgroundColor = i.barColor), c.appendChild(d), a.appendChild(c);
626
625
  } if ("Disabled" !== s.eventDeleteHandling) {
627
626
  var u = document.createElement("div");
628
- u.style.position = "absolute", u.style.right = "2px", u.style.top = "2px", u.style.width = "17px", u.style.height = "17px", u.className = s.u("_event_delete"), u.onmousedown = function (e) { e.stopPropagation(); }, u.onclick = function (e) { var t = this.parentNode.event; t && s.P(t); }, u.style.display = "none", a.deleteIcon = u, a.appendChild(u);
627
+ u.style.position = "absolute", u.style.right = "2px", u.style.top = "2px", u.style.width = "17px", u.style.height = "17px", u.className = s.u("_event_delete"), u.onmousedown = function (e) { e.stopPropagation(); }, u.onclick = function (e) { var t = this.parentNode.event; t && s.R(t); }, u.style.display = "none", a.deleteIcon = u, a.appendChild(u);
629
628
  } if (n.rows[0].cells[e.part.dayIndex]) {
630
- n.rows[0].cells[e.part.dayIndex].firstChild.appendChild(a), s.Z(a);
631
- } s.elements.events.push(a); }, this.Z = function (e) { for (var t = e && e.childNodes ? e.childNodes.length : 0, i = 0; i < t; i++)
629
+ n.rows[0].cells[e.part.dayIndex].firstChild.appendChild(a), s._(a);
630
+ } s.elements.events.push(a); }, this._ = function (e) { for (var t = e && e.childNodes ? e.childNodes.length : 0, i = 0; i < t; i++)
632
631
  try {
633
632
  var n = e.childNodes[i];
634
- 1 === n.nodeType && (n.unselectable = "on", this.Z(n));
633
+ 1 === n.nodeType && (n.unselectable = "on", this._(n));
635
634
  }
636
635
  catch (e) { } }, this.I = function () { for (var e = 0; e < this.columns.length; e++) {
637
636
  var t = this.columns[e];
@@ -642,41 +641,41 @@ if ("undefined" == typeof DayPilot)
642
641
  var o = a[l];
643
642
  o.part.width = 100 / n.lines.length, o.part.left = o.part.width * s;
644
643
  var r = s === n.lines.length - 1;
645
- r || (o.part.width = 1.5 * o.part.width), this.Y(o);
644
+ r || (o.part.width = 1.5 * o.part.width), this.$(o);
646
645
  }
647
- } }, this.$ = function () { this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.u("_main")), this.nav.top.style.MozUserSelect = "none", this.nav.top.style.KhtmlUserSelect = "none", this.nav.top.style.position = "relative", this.nav.top.style.width = this.width ? this.width : "100%", this.hideUntilInit && (this.nav.top.style.visibility = "hidden"), this.visible || (this.nav.top.style.display = "none"), this.nav.scroll = document.createElement("div"), this.nav.scroll.style.height = this._() + "px", "BusinessHours" === this.heightSpec ? this.nav.scroll.style.overflow = "auto" : this.nav.scroll.style.overflow = "hidden", this.nav.scroll.style.position = "relative"; var e = this.aa(); this.nav.top.appendChild(e), this.nav.scroll.style.zoom = 1; var t = this.ba(); this.nav.scrollable = t.firstChild, this.nav.scroll.appendChild(t), this.nav.top.appendChild(this.nav.scroll), this.nav.scrollLayer = document.createElement("div"), this.nav.scrollLayer.style.position = "absolute", this.nav.scrollLayer.style.top = "0px", this.nav.scrollLayer.style.left = "0px", this.nav.top.appendChild(this.nav.scrollLayer), this.nav.loading = document.createElement("div"), this.nav.loading.style.position = "absolute", this.nav.loading.style.top = "0px", this.nav.loading.style.left = this.hourWidth + 5 + "px", this.nav.loading.style.backgroundColor = this.loadingLabelBackColor, this.nav.loading.style.fontSize = this.loadingLabelFontSize, this.nav.loading.style.fontFamily = this.loadingLabelFontFamily, this.nav.loading.style.color = this.loadingLabelFontColor, this.nav.loading.style.padding = "2px", this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.display = "none", this.nav.top.appendChild(this.nav.loading); }, this.G = function () { this.fasterDispose || DayPilot.pu(this.nav.hourTable), this.nav.scrollable.rows[0].cells[0].innerHTML = "", this.nav.hourTable = this.ca(), this.nav.scrollable.rows[0].cells[0].appendChild(this.nav.hourTable); }, this.ba = function () { var e = document.createElement("div"); e.style.zoom = 1, e.style.position = "relative"; var t = document.createElement("table"); t.cellSpacing = "0", t.cellPadding = "0", t.border = "0", t.style.border = "0px none", t.style.width = "100%", t.style.position = "absolute"; var i, n = t.insertRow(-1); i = n.insertCell(-1), i.valign = "top", i.style.padding = "0px", i.style.border = "0px none", this.nav.hourTable = this.ca(), i.appendChild(this.nav.hourTable), i = n.insertCell(-1), i.valign = "top", i.width = "100%", i.style.padding = "0px", i.style.border = "0px none"; var s = document.createElement("div"); return s.style.position = "relative", i.appendChild(s), s.appendChild(this.da()), s.appendChild(this.ea()), e.appendChild(t), this.nav.zoom = e, e; }, this.da = function () { var e = document.createElement("table"); return e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.main = e, this.nav.events = e, e; }, this.ea = function () { var e = document.createElement("table"); e.style.top = "0px", e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.position = "absolute", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.events = e; for (var t = this.columns, i = t.length, n = e.insertRow(-1), a = 0; a < i; a++) {
646
+ } }, this.aa = function () { this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.u("_main")), this.nav.top.style.MozUserSelect = "none", this.nav.top.style.KhtmlUserSelect = "none", this.nav.top.style.position = "relative", this.nav.top.style.width = this.width ? this.width : "100%", this.hideUntilInit && (this.nav.top.style.visibility = "hidden"), this.visible || (this.nav.top.style.display = "none"), this.nav.scroll = document.createElement("div"), this.nav.scroll.style.height = this.ba() + "px", "BusinessHours" === this.heightSpec ? this.nav.scroll.style.overflow = "auto" : this.nav.scroll.style.overflow = "hidden", this.nav.scroll.style.position = "relative"; var e = this.ca(); this.nav.top.appendChild(e), this.nav.scroll.style.zoom = 1; var t = this.da(); this.nav.scrollable = t.firstChild, this.nav.scroll.appendChild(t), this.nav.top.appendChild(this.nav.scroll), this.nav.scrollLayer = document.createElement("div"), this.nav.scrollLayer.style.position = "absolute", this.nav.scrollLayer.style.top = "0px", this.nav.scrollLayer.style.left = "0px", this.nav.top.appendChild(this.nav.scrollLayer), this.nav.loading = document.createElement("div"), this.nav.loading.style.position = "absolute", this.nav.loading.style.top = "0px", this.nav.loading.style.left = this.hourWidth + 5 + "px", this.nav.loading.style.backgroundColor = this.loadingLabelBackColor, this.nav.loading.style.fontSize = this.loadingLabelFontSize, this.nav.loading.style.fontFamily = this.loadingLabelFontFamily, this.nav.loading.style.color = this.loadingLabelFontColor, this.nav.loading.style.padding = "2px", this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.display = "none", this.nav.top.appendChild(this.nav.loading); }, this.G = function () { this.fasterDispose || DayPilot.pu(this.nav.hourTable), this.nav.scrollable.rows[0].cells[0].innerHTML = "", this.nav.hourTable = this.ea(), this.nav.scrollable.rows[0].cells[0].appendChild(this.nav.hourTable); }, this.da = function () { var e = document.createElement("div"); e.style.zoom = 1, e.style.position = "relative"; var t = document.createElement("table"); t.cellSpacing = "0", t.cellPadding = "0", t.border = "0", t.style.border = "0px none", t.style.width = "100%", t.style.position = "absolute"; var i, n = t.insertRow(-1); i = n.insertCell(-1), i.valign = "top", i.style.padding = "0px", i.style.border = "0px none", this.nav.hourTable = this.ea(), i.appendChild(this.nav.hourTable), i = n.insertCell(-1), i.valign = "top", i.width = "100%", i.style.padding = "0px", i.style.border = "0px none"; var s = document.createElement("div"); return s.style.position = "relative", i.appendChild(s), s.appendChild(this.fa()), s.appendChild(this.ga()), e.appendChild(t), this.nav.zoom = e, e; }, this.fa = function () { var e = document.createElement("table"); return e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.main = e, this.nav.events = e, e; }, this.ga = function () { var e = document.createElement("table"); e.style.top = "0px", e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.position = "absolute", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.events = e; for (var t = this.columns, i = t.length, n = e.insertRow(-1), a = 0; a < i; a++) {
648
647
  var l = n.insertCell(-1);
649
648
  l.style.padding = "0px", l.style.border = "0px none", l.style.height = "0px", l.style.overflow = "visible", s.rtl || (l.style.textAlign = "left");
650
649
  var o = document.createElement("div");
651
650
  o.style.marginRight = s.columnMarginRight + "px", o.style.position = "relative", o.style.height = "1px", o.style.marginTop = "-1px";
652
651
  var r = document.createElement("div");
653
652
  l.selection = r, l.appendChild(o), l.appendChild(r);
654
- } return e; }, this.ca = function () { var e = document.createElement("table"); e.cellSpacing = "0", e.cellPadding = "0", e.border = "0", e.style.border = "0px none", e.style.width = this.hourWidth + "px", e.oncontextmenu = function () { return !1; }; for (var t = 24, i = 0; i < t; i++)
655
- this.fa(e, i); return e; }, this.fa = function (e, t) { var i = 2 * this.cellHeight, n = e.insertRow(-1); n.style.height = i + "px"; var s = n.insertCell(-1); s.valign = "bottom", s.unselectable = "on", s.style.cursor = "default", s.style.padding = "0px", s.style.border = "0px none"; var l = document.createElement("div"); l.style.position = "relative", l.className = this.u("_rowheader"), l.style.width = this.hourWidth + "px", l.style.height = i + "px", l.style.overflow = "hidden", l.unselectable = "on"; var o = document.createElement("div"); o.className = this.u("_rowheader_inner"), o.unselectable = "on"; var r = document.createElement("div"); r.unselectable = "on"; var h = this.startDate.addHours(t), c = h.getHours(), d = c < 12, u = a.timeFormat(); "Clock12Hours" === u && (c %= 12, 0 === c && (c = 12)), r.innerHTML = c; var v = document.createElement("span"); v.unselectable = "on", v.className = this.u("_rowheader_minutes"); var p; p = "Clock12Hours" === u ? d ? "AM" : "PM" : "00", v.innerHTML = p, r.appendChild(v), o.appendChild(r), l.appendChild(o), s.appendChild(l); }, this._ = function () { switch (this.heightSpec) {
653
+ } return e; }, this.ea = function () { var e = document.createElement("table"); e.cellSpacing = "0", e.cellPadding = "0", e.border = "0", e.style.border = "0px none", e.style.width = this.hourWidth + "px", e.oncontextmenu = function () { return !1; }; for (var t = s.J(), i = 0; i < t; i++)
654
+ this.ha(e, i); return e; }, this.ha = function (e, t) { var i = 2 * this.cellHeight, n = e.insertRow(-1); n.style.height = i + "px"; var l = n.insertCell(-1); l.valign = "bottom", l.unselectable = "on", l.style.cursor = "default", l.style.padding = "0px", l.style.border = "0px none"; var o = document.createElement("div"); o.style.position = "relative", o.className = this.u("_rowheader"), o.style.width = this.hourWidth + "px", o.style.height = i + "px", o.style.overflow = "hidden", o.unselectable = "on"; var r = document.createElement("div"); r.className = this.u("_rowheader_inner"), r.unselectable = "on"; var h = document.createElement("div"); h.unselectable = "on"; var c = this.startDate.addHours(t).addHours(s.N()), d = c.getHours(), u = d < 12, v = a.timeFormat(); "Clock12Hours" === v && (d %= 12, 0 === d && (d = 12)), h.innerHTML = d; var p = document.createElement("span"); p.unselectable = "on", p.className = this.u("_rowheader_minutes"); var f; f = "Clock12Hours" === v ? u ? "AM" : "PM" : "00", p.innerHTML = f, h.appendChild(p), r.appendChild(h), o.appendChild(r), l.appendChild(o); }, this.ba = function () { switch (this.heightSpec) {
656
655
  case "Full": return 48 * this.cellHeight;
657
656
  case "BusinessHours":
658
- var e = this.K();
657
+ var e = this.L();
659
658
  return e * this.cellHeight * 2;
660
659
  case "BusinessHoursNoScroll":
661
- var e = this.K();
660
+ var e = this.L();
662
661
  return e * this.cellHeight * 2;
663
662
  default: throw "DayPilot.Calendar: Unexpected 'heightSpec' value.";
664
- } }, this.ga = function () { var e = s.nav.corner ? s.nav.corner.parentNode : null; if (e) {
663
+ } }, this.ia = function () { var e = s.nav.corner ? s.nav.corner.parentNode : null; if (e) {
665
664
  e.innerHTML = "";
666
- var t = this.ha();
665
+ var t = this.ja();
667
666
  e.appendChild(t), s.nav.corner = t;
668
- } }, this.aa = function () { var e = document.createElement("div"); e.style.overflow = "auto"; var t = document.createElement("table"); t.cellPadding = "0", t.cellSpacing = "0", t.border = "0", t.style.width = "100%", t.style.borderCollapse = "separate", t.style.border = "0px none"; var i = t.insertRow(-1), n = i.insertCell(-1); n.style.padding = "0px", n.style.border = "0px none"; var s = this.ha(); n.appendChild(s), this.nav.corner = s, n = i.insertCell(-1), n.style.width = "100%", n.valign = "top", n.style.position = "relative", n.style.padding = "0px", n.style.border = "0px none", this.nav.header = document.createElement("table"), this.nav.header.cellPadding = "0", this.nav.header.cellSpacing = "0", this.nav.header.border = "0", this.nav.header.width = "100%", this.nav.header.style.tableLayout = "fixed", this.nav.header.oncontextmenu = function () { return !1; }; var a = "hidden" !== this.nav.scroll.style.overflow; if (n.appendChild(this.nav.header), a) {
667
+ } }, this.ca = function () { var e = document.createElement("div"); e.style.overflow = "auto"; var t = document.createElement("table"); t.cellPadding = "0", t.cellSpacing = "0", t.border = "0", t.style.width = "100%", t.style.borderCollapse = "separate", t.style.border = "0px none"; var i = t.insertRow(-1), n = i.insertCell(-1); n.style.padding = "0px", n.style.border = "0px none"; var s = this.ja(); n.appendChild(s), this.nav.corner = s, n = i.insertCell(-1), n.style.width = "100%", n.valign = "top", n.style.position = "relative", n.style.padding = "0px", n.style.border = "0px none", this.nav.header = document.createElement("table"), this.nav.header.cellPadding = "0", this.nav.header.cellSpacing = "0", this.nav.header.border = "0", this.nav.header.width = "100%", this.nav.header.style.tableLayout = "fixed", this.nav.header.oncontextmenu = function () { return !1; }; var a = "hidden" !== this.nav.scroll.style.overflow; if (n.appendChild(this.nav.header), a) {
669
668
  n = i.insertCell(-1), n.unselectable = "on";
670
669
  var l = document.createElement("div");
671
670
  l.unselectable = "on", l.style.position = "relative", l.style.width = "16px", l.style.height = this.headerHeight + "px", l.className = this.u("_cornerright");
672
671
  var o = document.createElement("div");
673
672
  o.className = this.u("_cornerright_inner"), l.appendChild(o), n.appendChild(l), this.nav.cornerRight = l;
674
- } return e.appendChild(t), e; }, this.ha = function () { var e = document.createElement("div"); e.style.position = "relative", e.className = this.u("_corner"), e.style.width = this.hourWidth + "px", e.style.height = this.headerHeight + "px", e.oncontextmenu = function () { return !1; }; var t = document.createElement("div"); return t.unselectable = "on", t.className = this.u("_corner_inner"), e.appendChild(t), e; }, this.q = function () { var e = this.nav.main; e.root = null, e.onmouseup = null; for (var t = 0; t < e.rows.length; t++)
673
+ } return e.appendChild(t), e; }, this.ja = function () { var e = document.createElement("div"); e.style.position = "relative", e.className = this.u("_corner"), e.style.width = this.hourWidth + "px", e.style.height = this.headerHeight + "px", e.oncontextmenu = function () { return !1; }; var t = document.createElement("div"); return t.unselectable = "on", t.className = this.u("_corner_inner"), e.appendChild(t), e; }, this.q = function () { var e = this.nav.main; e.root = null, e.onmouseup = null; for (var t = 0; t < e.rows.length; t++)
675
674
  for (var i = e.rows[t], n = 0; n < i.cells.length; n++) {
676
675
  var s = i.cells[n];
677
676
  s.root = null, s.onmousedown = null, s.onmousemove = null, s.onmouseout = null, s.onmouseup = null;
678
677
  } this.fasterDispose || DayPilot.pu(e); }, this.F = function () {
679
- var e = this.nav.main, i = 18e5, n = this.L(), a = s.columns;
678
+ var e = this.nav.main, i = 18e5, n = this.M(), a = s.columns;
680
679
  for (e && this.q(); e && e.rows && e.rows.length > 0;)
681
680
  this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
682
681
  this.tableCreated = !0;
@@ -695,15 +694,15 @@ if ("undefined" == typeof DayPilot)
695
694
  r.style.MozUserSelect = "none", r.style.KhtmlUserSelect = "none";
696
695
  for (var h = 0; h < l; h++) {
697
696
  var p = this.columns[h], c = r.insertCell(-1);
698
- c.start = p.Start.addTime(v * i), c.end = c.start.addTime(i), c.onmousedown = this.Q, c.onmouseup = function () { return !1; }, c.onclick = function () { return !1; }, c.root = this, c.style.padding = "0px", c.style.border = "0px none", c.style.verticalAlign = "top", c.style.height = s.cellHeight + "px", c.style.overflow = "hidden", c.unselectable = "on";
697
+ c.start = p.start.addTime(v * i), c.end = c.start.addTime(i), c.onmousedown = this.S, c.onmouseup = function () { return !1; }, c.onclick = function () { return !1; }, c.root = this, c.style.padding = "0px", c.style.border = "0px none", c.style.verticalAlign = "top", c.style.height = s.cellHeight + "px", c.style.overflow = "hidden", c.unselectable = "on";
699
698
  var d = document.createElement("div");
700
699
  d.unselectable = "on", d.style.height = s.cellHeight + "px", d.style.position = "relative", d.className = this.u("_cell");
701
- this.ia(c.start, c.end) && DayPilot.Util.addClass(d, s.u("_cell_business"));
700
+ this.ka(c.start, c.end) && DayPilot.Util.addClass(d, s.u("_cell_business"));
702
701
  var f = document.createElement("div");
703
702
  f.setAttribute("unselectable", "on"), f.className = this.u("_cell_inner"), d.appendChild(f), c.appendChild(d), c.appendChild(d);
704
703
  }
705
704
  }
706
- e.onmouseup = this.T, e.root = this, s.nav.scrollable.onmousemove = function (e) {
705
+ e.onmouseup = this.V, e.root = this, s.nav.scrollable.onmousemove = function (e) {
707
706
  e = e || window.event;
708
707
  var i = s.nav.scrollable;
709
708
  s.coords = DayPilot.mo3(i, e);
@@ -721,8 +720,7 @@ if ("undefined" == typeof DayPilot)
721
720
  var c = Math.floor((t.originalTop + o - l + a / 2) / a) * a + l;
722
721
  c < l && (c = l), c > t.originalTop + t.originalHeight - a && (c = t.originalTop + t.originalHeight - a);
723
722
  var r = t.originalHeight - (c - t.originalTop);
724
- r < a ? r = a : t.resizingShadow.style.top = c + "px",
725
- t.resizingShadow.style.height = r + "px";
723
+ r < a ? r = a : t.resizingShadow.style.top = c + "px", t.resizingShadow.style.height = r + "px";
726
724
  }
727
725
  }
728
726
  else if (t.moving) {
@@ -738,16 +736,16 @@ if ("undefined" == typeof DayPilot)
738
736
  f < 0 && (f = 0), f < u.rows[0].cells.length && f >= 0 && t.movingShadow.column !== f && (t.movingShadow.column = f, t.moveShadow(u.rows[0].cells[f]));
739
737
  }
740
738
  else if (t.selecting) {
741
- var n = DayPilot.mc(e || window.event), g = s.V.getCellCoords(), m = t.column, y = s.nav.main.rows[g.y].cells[m];
742
- n.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(y), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(y), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.R();
739
+ var n = DayPilot.mc(e || window.event), g = s.X.getCellCoords(), m = t.column, y = s.nav.main.rows[g.y].cells[m];
740
+ n.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(y), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(y), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), s.T();
743
741
  }
744
742
  }, s.nav.scrollable.style.display = "";
745
- }, this.ia = function (e, t) { return this.businessBeginsHour < this.businessEndsHour ? !(e.getHours() < this.businessBeginsHour || e.getHours() >= this.businessEndsHour || 6 === e.getDayOfWeek() || 0 === e.getDayOfWeek()) : e.getHours() >= this.businessBeginsHour || e.getHours() < this.businessEndsHour; }, this.r = function () { var e = this.nav.header; if (e && e.rows)
743
+ }, this.ka = function (e, t) { return this.businessBeginsHour < this.businessEndsHour ? !(e.getHours() < this.businessBeginsHour || e.getHours() >= this.businessEndsHour || 6 === e.getDayOfWeek() || 0 === e.getDayOfWeek()) : e.getHours() >= this.businessBeginsHour || e.getHours() < this.businessEndsHour; }, this.r = function () { var e = this.nav.header; if (e && e.rows)
746
744
  for (var t = 0; t < e.rows.length; t++)
747
745
  for (var i = e.rows[t], n = 0; n < i.cells.length; n++) {
748
746
  var s = i.cells[n];
749
747
  s.onclick = null, s.onmousemove = null, s.onmouseout = null;
750
- } this.fasterDispose || DayPilot.pu(e); }, this.ja = function (e) { for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.columns, n = i.length, a = 0; a < n; a++) {
748
+ } this.fasterDispose || DayPilot.pu(e); }, this.la = function (e) { for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.columns, n = i.length, a = 0; a < n; a++) {
751
749
  var l = i[a], o = e ? t.insertCell(-1) : t.cells[a];
752
750
  o.data = l, o.style.overflow = "hidden", o.style.padding = "0px", o.style.border = "0px none", o.style.height = this.headerHeight + "px";
753
751
  var r = e ? document.createElement("div") : o.firstChild;
@@ -757,15 +755,16 @@ if ("undefined" == typeof DayPilot)
757
755
  h.className = s.u("_colheader_inner"), h.unselectable = "on", r.appendChild(h), o.appendChild(r);
758
756
  }
759
757
  var h = r.firstChild;
760
- h.innerHTML = l.InnerHTML;
761
- } }, this.ka = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.E = function () { var e = this.nav.header, t = !0, i = this.columns; for (i.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
762
- this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.ja(t); }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.m("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.la = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { s.ma(); }); var t = "undefined" != typeof this.na.scrollpos ? this.na.scrollpos : this.initScrollPos; t && ("Auto" === t && (t = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), e.root = this, 0 === e.scrollTop && (e.scrollTop = t)); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.oa = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && e > 0 && (t.style.width = e + "px"); }, this.pa = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp), DayPilot.re(window, "unload", t.gUnload)); }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
758
+ h.innerHTML = s.ma(l.name, l.html);
759
+ } }, this.na = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.E = function () { var e = this.nav.header, t = !0, i = this.columns; for (i.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
760
+ this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.la(t); }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.m("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.oa = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { s.pa(); }); var t = "undefined" != typeof this.qa.scrollpos ? this.qa.scrollpos : this.initScrollPos; t && ("Auto" === t && (t = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), e.root = this, 0 === e.scrollTop && (e.scrollTop = t)); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.ra = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && e > 0 && (t.style.width = e + "px"); }, this.sa = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp), DayPilot.re(window, "unload", t.gUnload)); }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
763
761
  t = e.data;
764
762
  else {
765
763
  if ("object" != typeof e)
766
764
  throw "DayPilot.Calendar.events.add() expects an object or DayPilot.Event instance.";
767
765
  t = e;
768
- } s.events.list || (s.events.list = []), s.events.list.push(t), s.update(), s.O.notify(); }, this.events.find = function (e) { for (var t = 0; t < s.events.list.length; t++) {
766
+ } s.events.list || (s.events.list = []), s.events.list.push(t), s.update(), s.Q.notify(); }, this.events.find = function (e) { if (!s.events.list)
767
+ return null; for (var t = 0; t < s.events.list.length; t++) {
769
768
  var i = s.events.list[t];
770
769
  if (i.id === e)
771
770
  return new DayPilot.Event(i, s);
@@ -777,7 +776,7 @@ if ("undefined" == typeof DayPilot)
777
776
  var i = DayPilot.indexOf(s.events.list, t.data);
778
777
  s.events.list.splice(i, 1, e);
779
778
  }
780
- } s.update(), s.O.notify(); }, this.events.remove = function (e) { var t; if (e instanceof DayPilot.Event)
779
+ } s.update(), s.Q.notify(); }, this.events.remove = function (e) { var t; if (e instanceof DayPilot.Event)
781
780
  t = e.data;
782
781
  else if ("object" == typeof e) {
783
782
  var i = s.events.find(e.id);
@@ -786,7 +785,7 @@ if ("undefined" == typeof DayPilot)
786
785
  else if ("string" == typeof e || "number" == typeof e) {
787
786
  var i = s.events.find(e);
788
787
  i && (t = i.data);
789
- } var n = DayPilot.indexOf(s.events.list, t); s.events.list.splice(n, 1), s.update(), s.O.notify(); }, this.events.load = function (e, t, i) { var n = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, a = function (e) { var i, a = e.request; try {
788
+ } var n = DayPilot.indexOf(s.events.list, t); s.events.list.splice(n, 1), s.update(), s.Q.notify(); }, this.events.load = function (e, t, i) { var n = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, a = function (e) { var i, a = e.request; try {
790
789
  i = JSON.parse(a.responseText);
791
790
  }
792
791
  catch (e) {
@@ -796,15 +795,15 @@ if ("undefined" == typeof DayPilot)
796
795
  var o = {};
797
796
  if (o.preventDefault = function () { this.preventDefault.value = !0; }, o.data = i, "function" == typeof t && t(o), o.preventDefault.value)
798
797
  return;
799
- s.events.list = i, s.qa && s.update();
798
+ s.events.list = i, s.ta && s.update();
800
799
  } }; if (s.eventsLoadMethod && "POST" === s.eventsLoadMethod.toUpperCase())
801
800
  DayPilot.Http.ajax({ "method": "POST", "data": { "start": s.visibleStart().toString(), "end": s.visibleEnd().toString() }, "url": e, "success": a, "error": n });
802
801
  else {
803
802
  var l = e, o = "start=" + s.visibleStart().toString() + "&end=" + s.visibleEnd().toString();
804
803
  l += l.indexOf("?") > -1 ? "&" + o : "?" + o, DayPilot.Http.ajax({ "method": "GET", "url": l, "success": a, "error": n });
805
- } }, this.update = function (e) { s.ra(e), s.sa(), s.p(), s.nav.top.style.cursor = "auto"; s.B(), s.E(), s.F(), s.G(), s.H(), s.ga(), s.ta(), s.C(), s.D(), s.A(), s.I(), s.clearSelection(), this.visible ? this.show() : this.hide(); }, this.ua = null, this.ra = function (e) { if (e) {
804
+ } }, this.update = function (e) { s.ua(e), s.va(), s.p(), s.nav.top.style.cursor = "auto"; s.B(), s.E(), s.F(), s.G(), s.H(), s.ia(), s.wa(), s.C(), s.D(), s.A(), s.I(), s.clearSelection(), this.visible ? this.show() : this.hide(); }, this.xa = null, this.ua = function (e) { if (e) {
806
805
  var t = { "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? s.events.list = e.list : s.events.list = e); } } };
807
- this.ua = t;
806
+ this.xa = t;
808
807
  for (var i in e)
809
808
  if (t[i]) {
810
809
  var n = t[i];
@@ -812,21 +811,21 @@ if ("undefined" == typeof DayPilot)
812
811
  }
813
812
  else
814
813
  s[i] = e[i];
815
- } }, this.va = function () { var e = this.ua; for (var t in e) {
814
+ } }, this.ya = function () { var e = this.xa; for (var t in e) {
816
815
  var i = e[t];
817
816
  i.postInit && i.postInit();
818
- } }, this.wa = function () { if (this.id && this.id.tagName)
817
+ } }, this.za = function () { if (this.id && this.id.tagName)
819
818
  this.nav.top = this.id;
820
819
  else {
821
820
  if ("string" != typeof this.id)
822
821
  throw "DayPilot.Calendar() constructor requires the target element or its ID as a parameter";
823
822
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
824
823
  throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
825
- } }, this.xa = {}, this.xa.events = [], this.ya = function (e) { var t = this.xa.events, i = this.events.list[e], n = {}; for (var s in i)
824
+ } }, this.Aa = {}, this.Aa.events = [], this.Ba = function (e) { var t = this.Aa.events, i = this.events.list[e], n = {}; for (var s in i)
826
825
  n[s] = i[s]; if ("function" == typeof this.onBeforeEventRender) {
827
826
  var a = {};
828
827
  a.data = n, this.onBeforeEventRender(a);
829
- } t[e] = n; }, this.C = function () { var e = this.events.list; if (s.xa.events = [], e) {
828
+ } t[e] = n; }, this.C = function () { var e = this.events.list; if (s.Aa.events = [], e) {
830
829
  var t = e.length, i = 864e5;
831
830
  this.cache.pixels = {};
832
831
  var n = [];
@@ -837,13 +836,13 @@ if ("undefined" == typeof DayPilot)
837
836
  }
838
837
  if ("function" == typeof this.onBeforeEventRender)
839
838
  for (var a = 0; a < t; a++)
840
- this.ya(a);
839
+ this.Ba(a);
841
840
  for (var a = 0; a < this.columns.length; a++) {
842
841
  var o = {};
843
842
  o.minEnd = 1e6, o.maxStart = -1, this.scrollLabels.push(o);
844
843
  var r = this.columns[a];
845
844
  r.events = [], r.lines = [], r.blocks = [];
846
- for (var h = new DayPilot.Date(r.Start), c = h.getTime(), d = h.addTime(i), u = d.getTime(), v = 0; v < t; v++)
845
+ for (var h = new DayPilot.Date(r.start), c = h.getTime(), d = h.addTime(i), u = d.getTime(), v = 0; v < t; v++)
847
846
  if (!n[v]) {
848
847
  var l = e[v], p = l.start, f = l.end, g = p.getTime(), m = f.getTime();
849
848
  if (!(m < g)) {
@@ -851,62 +850,62 @@ if ("undefined" == typeof DayPilot)
851
850
  if (y) {
852
851
  var b = new DayPilot.Event(l, s);
853
852
  b.part.dayIndex = a, b.part.start = c < g ? l.start : h, b.part.end = u > m ? l.end : d;
854
- var C = this.getPixels(b.part.start, r.Start), w = this.getPixels(b.part.end, r.Start), D = C.top, S = w.top;
853
+ var C = this.getPixels(b.part.start, r.start), w = this.getPixels(b.part.end, r.start), D = C.top, S = w.top;
855
854
  if (D === S && (C.cut || w.cut))
856
855
  continue;
857
- var x = w.boxBottom;
858
- b.part.top = Math.floor(D / this.cellHeight) * this.cellHeight + 1, b.part.height = Math.max(Math.ceil(x / this.cellHeight) * this.cellHeight - b.part.top, this.cellHeight - 1) + 1, b.part.barTop = Math.max(D - b.part.top - 1, 0), b.part.barHeight = Math.max(S - D - 2, 1);
856
+ var k = w.boxBottom;
857
+ b.part.top = Math.floor(D / this.cellHeight) * this.cellHeight + 1, b.part.height = Math.max(Math.ceil(k / this.cellHeight) * this.cellHeight - b.part.top, this.cellHeight - 1) + 1, b.part.barTop = Math.max(D - b.part.top - 1, 0), b.part.barHeight = Math.max(S - D - 2, 1);
859
858
  var p = b.part.top, f = b.part.top + b.part.height;
860
- p > o.maxStart && (o.maxStart = p), f < o.minEnd && (o.minEnd = f), p < this.minStart && (this.minStart = p), f > this.maxEnd && (this.maxEnd = f), r.events.push(b), "function" == typeof this.onBeforeEventRender && (b.cache = this.xa.events[v]), b.part.start.getTime() === g && b.part.end.getTime() === m && (n[v] = !0);
859
+ p > o.maxStart && (o.maxStart = p), f < o.minEnd && (o.minEnd = f), p < this.minStart && (this.minStart = p), f > this.maxEnd && (this.maxEnd = f), r.events.push(b), "function" == typeof this.onBeforeEventRender && (b.cache = this.Aa.events[v]), b.part.start.getTime() === g && b.part.end.getTime() === m && (n[v] = !0);
861
860
  }
862
861
  }
863
862
  }
864
863
  }
865
864
  for (var a = 0; a < this.columns.length; a++) {
866
865
  var r = this.columns[a];
867
- r.events.sort(this.za);
866
+ r.events.sort(this.Ca);
868
867
  for (var v = 0; v < r.events.length; v++) {
869
868
  var l = r.events[v];
870
869
  r.putIntoBlock(l);
871
870
  }
872
871
  for (var v = 0; v < r.blocks.length; v++) {
873
- var k = r.blocks[v];
874
- k.events.sort(this.za);
875
- for (var H = 0; H < k.events.length; H++) {
876
- var l = k.events[H];
877
- k.putIntoLine(l);
872
+ var x = r.blocks[v];
873
+ x.events.sort(this.Ca);
874
+ for (var H = 0; H < x.events.length; H++) {
875
+ var l = x.events[H];
876
+ x.putIntoLine(l);
878
877
  }
879
878
  }
880
879
  }
881
- } }, this.za = function (e, t) { if (!(e && t && e.start && t.start))
880
+ } }, this.Ca = function (e, t) { if (!(e && t && e.start && t.start))
882
881
  return 0; var i = e.start().getTime() - t.start().getTime(); return 0 !== i ? i : t.end().getTime() - e.end().getTime(); }, this.debug = function (e, t) { this.debuggingEnabled && (s.debugMessages || (s.debugMessages = []), s.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.getPixels = function (e, t) { t || (t = this.startDate); var i = t.getTime(), n = e.getTime(), s = this.cache.pixels[n + "_" + i]; if (s)
883
- return s; i = t.getTime(); var a = 18e5, l = n - i, o = l % a, r = l - o, h = r + a; 0 === o && (h = r); var c = {}; return c.cut = !1, c.top = this.Aa(l), c.boxTop = this.Aa(r), c.boxBottom = this.Aa(h), this.cache.pixels[n + "_" + i] = c, c; }, this.Aa = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.sa = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.D = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.H = function () { var e = this._(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.O = {}, this.O.scope = null, this.O.notify = function () { s.O.scope && s.O.scope["$apply"](); }, this.O.apply = function (e) { e(); }, this.ma = function () { var e = s.nav.scroll.scrollTop, t = e / (2 * s.cellHeight); s.na.scrollHour = t; }, this.ta = function () { var e = 0; s.na.scrollHour ? e = 2 * s.cellHeight * s.na.scrollHour : "Auto" === s.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), s.nav.scroll.scrollTop = e; }, this.Ba = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof s.events.list || !s.events.list); }, this.A = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { s.visible = !0, s.nav.top.style.display = ""; }, this.hide = function () { s.visible = !1, s.nav.top.style.display = "none"; }, this.Ca = function () { this.sa(), this.B(), this.$(), this.E(), this.F(), this.oa(), this.la(), this.pa(), t.register(this), this.Da(), this.m("Init"); }, this.na = {}, this.Ea = function () { this.na.themes = [], this.na.themes.push(this.theme || this.cssClassPrefix); }, this.Fa = function () { for (var e = this.na.themes, t = 0; t < e.length; t++) {
882
+ return s; i = t.getTime(); var a = 18e5, l = n - i, o = l % a, r = l - o, h = r + a; 0 === o && (h = r); var c = {}; return c.cut = !1, c.top = this.Da(l), c.boxTop = this.Da(r), c.boxBottom = this.Da(h), this.cache.pixels[n + "_" + i] = c, c; }, this.Da = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.va = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.D = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.H = function () { var e = this.ba(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.Q = {}, this.Q.scope = null, this.Q.notify = function () { s.Q.scope && s.Q.scope["$apply"](); }, this.Q.apply = function (e) { e(); }, this.pa = function () { var e = s.nav.scroll.scrollTop, t = e / (2 * s.cellHeight); s.qa.scrollHour = t; }, this.wa = function () { var e = 0; s.qa.scrollHour ? e = 2 * s.cellHeight * s.qa.scrollHour : "Auto" === s.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), s.nav.scroll.scrollTop = e; }, this.Ea = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof s.events.list || !s.events.list); }, this.A = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { s.visible = !0, s.nav.top.style.display = ""; }, this.hide = function () { s.visible = !1, s.nav.top.style.display = "none"; }, this.Fa = function () { this.va(), this.B(), this.aa(), this.E(), this.F(), this.ra(), this.oa(), this.sa(), t.register(this), this.Ga(), this.m("Init"); }, this.qa = {}, this.Ha = function () { this.qa.themes = [], this.qa.themes.push(this.theme || this.cssClassPrefix); }, this.Ia = function () { for (var e = this.qa.themes, t = 0; t < e.length; t++) {
884
883
  var i = e[t];
885
884
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
886
- } this.na.themes = []; }, this.Ga = function () { if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
885
+ } this.qa.themes = []; }, this.Ja = function () { if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
887
886
  var e = {};
888
887
  e.isCallBack = !1, this.onAfterRender(e);
889
- } }, this.Ha = function () { if ("function" == typeof this.onInit && !this.Ia) {
890
- this.Ia = !0;
888
+ } }, this.Ka = function () { if ("function" == typeof this.onInit && !this.La) {
889
+ this.La = !0;
891
890
  var e = {};
892
891
  this.onInit(e);
893
- } }, this.Ja = function () { var e = s.nav.top; return e.offsetWidth > 0 && e.offsetHeight > 0; }, this.Da = function () { var e = s.Ja; e() || (s.Ka = setInterval(function () { e() && (s.la(), s.oa(), clearInterval(s.Ka)); }, 100)); }, this.La = function (e, t) { return s.w.z() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.xssTextHtml = s.La, this.init = function () { this.wa(); var e = this.Ba(); return this.Ea(), e ? void this.Ca() : (this.sa(), this.B(), this.C(), this.$(), this.E(), this.F(), this.A(), this.oa(), this.la(), this.pa(), t.register(this), this.events && (this.D(), this.I()), this.Ga(), this.Ha(), this.Da(), this.qa = !0, this); }, this.Init = this.init, this.ra(i);
892
+ } }, this.Ma = function () { var e = s.nav.top; return e.offsetWidth > 0 && e.offsetHeight > 0; }, this.Ga = function () { var e = s.Ma; e() || (s.Na = setInterval(function () { e() && (s.oa(), s.ra(), clearInterval(s.Na)); }, 100)); }, this.ma = function (e, t) { return s.w.z() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.xssTextHtml = s.ma, this.init = function () { this.za(); var e = this.Ea(); return this.Ha(), e ? void this.Fa() : (this.va(), this.B(), this.C(), this.aa(), this.E(), this.F(), this.A(), this.ra(), this.oa(), this.sa(), t.register(this), this.events && (this.D(), this.I()), this.Ja(), this.Ka(), this.Ga(), this.ta = !0, this); }, this.Init = this.init, this.ua(i);
894
893
  }, t.Cell = function (e, t, i) { this.start = e, this.end = t, this.column = function () { }; }, t.Column = function (e, t, i) { this.value = e, this.name = t, this.date = new DayPilot.Date(i); }, DayPilot.Calendar = t.Calendar, "undefined" != typeof jQuery && !function (e) { e.fn.daypilotCalendar = function (e) { var t = null, i = this.each(function () { if (!this.daypilot) {
895
894
  var i = new DayPilot.Calendar(this.id);
896
895
  this.daypilot = i;
897
896
  for (name in e)
898
897
  i[name] = e[name];
899
898
  i.init(), t || (t = i);
900
- } }); return 1 === this.length ? t : i; }; }(jQuery), function () { var e = DayPilot.am(); e && e.directive("daypilotCalendar", ["$parse", function (e) { return { "restrict": "E", "template": "<div></div>", "replace": !0, "link": function (t, i, n) { var s = new DayPilot.Calendar(i[0]); s.O.scope = t, s.init(); var a = n["id"]; a && (t[a] = s); var l = n["publishAs"]; if (l) {
899
+ } }); return 1 === this.length ? t : i; }; }(jQuery), function () { var e = DayPilot.am(); e && e.directive("daypilotCalendar", ["$parse", function (e) { return { "restrict": "E", "template": "<div></div>", "replace": !0, "link": function (t, i, n) { var s = new DayPilot.Calendar(i[0]); s.Q.scope = t, s.init(); var a = n["id"]; a && (t[a] = s); var l = n["publishAs"]; if (l) {
901
900
  (0, e(l).assign)(t, s);
902
901
  } for (var o in n)
903
902
  0 === o.indexOf("on") && !function (i) { s[i] = function (s) { var a = e(n[i]); t["$apply"](function () { a(t, { "args": s }); }); }; }(o); var r = t["$watch"], h = n["config"] || n["daypilotConfig"], c = n["events"] || n["daypilotEvents"]; r.call(t, h, function (e) { for (var t in e)
904
- s[t] = e[t]; s.update(), s.Ha(); }, !0), r.call(t, c, function (e) { s.events.list = e, s.update(); }, !0); } }; }]); }();
903
+ s[t] = e[t]; s.update(), s.Ka(); }, !0), r.call(t, c, function (e) { s.events.list = e, s.update(); }, !0); } }; }]); }();
905
904
  }
906
905
  }();
907
906
  if ("undefined" == typeof DayPilot)
908
907
  var DayPilot = {};
909
- !function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (t) { this.v = "2022.1.362-lite"; var e = "navigator_" + (new Date).getTime(), i = this; this.prepare = function () { if (this.locale = "en-us", this.target = null, this.resetTarget = !0, this.pattern = this.a.locale().datePattern, this.cssClassPrefix = "navigator_default", this.theme = null, this.patterns = [], t)
908
+ !function () { "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (t) { this.v = "2022.2.374-lite"; var e = "navigator_" + (new Date).getTime(), i = this; this.prepare = function () { if (this.locale = "en-us", this.target = null, this.resetTarget = !0, this.pattern = this.a.locale().datePattern, this.cssClassPrefix = "navigator_default", this.theme = null, this.patterns = [], t)
910
909
  for (var e in t)
911
910
  this[e] = t[e]; this.init(); }, this.init = function () { this.date = new DayPilot.Date(this.date); var t = this.b(); this.resetTarget && !t && this.c(this.date), DayPilot.re(document, "mousedown", function () { i.close(); }); }, this.close = function () { this.d && (this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.b = function () { var t = this.e(); if (!t)
912
911
  return this.date; var e = null; if (e = "INPUT" === t.tagName ? t.value : t.innerText, !e)
@@ -1249,13 +1248,14 @@ if ("undefined" == typeof DayPilot)
1249
1248
  var DayPilot = {};
1250
1249
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () { if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
1251
1250
  var t = {};
1252
- t.Month = function (e, i) { this.v = "2022.1.362-lite", this.nav = {}; var n = this; this.id = e, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventHeight = 25, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.hideUntilInit = !0, this.lineSpace = 1, this.locale = "en-us", this.showToolTip = !0, this.startDate = new DayPilot.Date, this.theme = null, this.visible = !0, this.weekStarts = 1, this.width = "100%", this.xssProtection = "Enabled", this.afterRender = function () { }, this.cellHeaderClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.headerClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onCellHeaderClick = null, this.onCellHeaderClicked = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.a = function (t, e) { var t = JSON.parse(t); return t.CallBackRedirect ? void (document.location.href = t.CallBackRedirect) : "None" === t.UpdateType ? void n.fireAfterRenderDetached(t.CallBackData, !0) : (n.events.list = t.Events, "Full" === t.UpdateType && (n.startDate = t.StartDate, n.timeFormat = t.TimeFormat ? t.TimeFormat : n.timeFormat, "undefined" != typeof t.WeekStarts && (n.weekStarts = t.WeekStarts), n.hashes = t.Hashes), n.b(), n.c(), n.d(), "Full" === t.UpdateType && (n.f(), n.g()), n.h(), n.show(), n.i(), void n.fireAfterRenderDetached(t.CallBackData, !0)); }, this.fireAfterRenderDetached = function (t, e) { var i = function (t, e) { return function () { n.afterRender && n.afterRender(t, e); }; }; window.setTimeout(i(t, e), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (t) { var e = null; if (t instanceof DayPilot.Event)
1251
+ t.Month = function (e, i) { this.v = "2022.2.374-lite", this.nav = {}; var n = this; this.id = e, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventHeight = 25, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.hideUntilInit = !0, this.lineSpace = 1, this.locale = "en-us", this.showToolTip = !0, this.startDate = new DayPilot.Date, this.theme = null, this.visible = !0, this.weekStarts = 1, this.width = "100%", this.xssProtection = "Enabled", this.afterRender = function () { }, this.cellHeaderClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.headerClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onCellHeaderClick = null, this.onCellHeaderClicked = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.a = function (t, e) { var t = JSON.parse(t); return t.CallBackRedirect ? void (document.location.href = t.CallBackRedirect) : "None" === t.UpdateType ? void n.fireAfterRenderDetached(t.CallBackData, !0) : (n.events.list = t.Events, "Full" === t.UpdateType && (n.startDate = t.StartDate, n.timeFormat = t.TimeFormat ? t.TimeFormat : n.timeFormat, "undefined" != typeof t.WeekStarts && (n.weekStarts = t.WeekStarts), n.hashes = t.Hashes), n.b(), n.c(), n.d(), "Full" === t.UpdateType && (n.f(), n.g()), n.h(), n.show(), n.i(), void n.fireAfterRenderDetached(t.CallBackData, !0)); }, this.fireAfterRenderDetached = function (t, e) { var i = function (t, e) { return function () { n.afterRender && n.afterRender(t, e); }; }; window.setTimeout(i(t, e), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (t) { var e = null; if (t instanceof DayPilot.Event)
1253
1252
  e = t.data;
1254
1253
  else {
1255
1254
  if ("object" != typeof t)
1256
1255
  throw "DayPilot.Month.events.add() expects an object or DayPilot.Event instance.";
1257
1256
  e = t;
1258
- } n.events.list || (n.events.list = []), n.events.list.push(e), n.update(), n.j.notify(); }, this.events.find = function (t) { for (var e = 0; e < n.events.list.length; e++) {
1257
+ } n.events.list || (n.events.list = []), n.events.list.push(e), n.update(), n.j.notify(); }, this.events.find = function (t) { if (!n.events.list)
1258
+ return null; for (var e = 0; e < n.events.list.length; e++) {
1259
1259
  var i = n.events.list[e];
1260
1260
  if (i.id === t)
1261
1261
  return new DayPilot.Event(i, n);
@@ -1448,7 +1448,11 @@ if ("undefined" == typeof DayPilot)
1448
1448
  var h = this.u("_cell_business");
1449
1449
  DayPilot.Util.addClass(r, h);
1450
1450
  } var d = (this.startDate.addMonths(-1).getMonth(), this.startDate.addMonths(1).getMonth(), this.startDate.getMonth(), document.createElement("div")); d.setAttribute("unselectable", "on"), r.appendChild(d), d.style.position = "absolute", d.style.left = "0px", d.style.right = "0px", d.style.top = "0px", d.style.bottom = "0px", d.className = this.u("_cell_inner"), r.onmousedown = function (s) { "Disabled" !== n.timeRangeSelectedHandling && (n.clearShadow(), t.timeRangeSelecting = { "root": n, "x": e, "y": i, "from": { x: e, y: i }, "width": 1 }); }, r.onclick = function () { var t = function (t) { var e = new DayPilot.Date(t), i = e.addDays(1); n.D(e, i); }; if ("Disabled" !== n.timeRangeSelectedHandling)
1451
- return void t(o); }; var c = document.createElement("div"); c.setAttribute("unselectable", "on"), c.style.height = this.cellHeaderHeight + "px", c.className = this.u("_cell_header"), c.onclick = function (t) { t.stopPropagation(); var e = {}; e.control = n, e.start = o, e.end = o.addDays(1), e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onCellHeaderClick && (n.onCellHeaderClick(e), e.preventDefault.value) || "function" == typeof n.onCellHeaderClicked && n.onCellHeaderClicked(e); }; var v = o.getDay(); 1 === v ? c.innerHTML = s.locale().monthNames[o.getMonth()] + " " + v : c.innerHTML = v, d.appendChild(c), this.cells[e][i] = r, a.appendChild(r); }, this.getWeekStart = function () { return s.locale().weekStarts; }, this.getColCount = function () { return 7; }, this.getCellWidth = function () { return 14.285; }, this.getRowTop = function (t) { for (var e = this.headerHeight, i = 0; i < t; i++)
1451
+ return void t(o); }; var c = document.createElement("div"); c.setAttribute("unselectable", "on"), c.style.height = this.cellHeaderHeight + "px", c.className = this.u("_cell_header"), c.onclick = function (t) { if ("Enabled" === n.cellHeaderClickHandling) {
1452
+ t.stopPropagation();
1453
+ var e = {};
1454
+ e.control = n, e.start = o, e.end = o.addDays(1), e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onCellHeaderClick && (n.onCellHeaderClick(e), e.preventDefault.value) || "function" == typeof n.onCellHeaderClicked && n.onCellHeaderClicked(e);
1455
+ } }; var v = o.getDay(); 1 === v ? c.innerHTML = s.locale().monthNames[o.getMonth()] + " " + v : c.innerHTML = v, d.appendChild(c), this.cells[e][i] = r, a.appendChild(r); }, this.getWeekStart = function () { return s.locale().weekStarts; }, this.getColCount = function () { return 7; }, this.getCellWidth = function () { return 14.285; }, this.getRowTop = function (t) { for (var e = this.headerHeight, i = 0; i < t; i++)
1452
1456
  e += this.rows[i].getHeight(); return e; }, this.E = function (t, e, i) { var n = {}; n.action = t, n.parameters = i, n.data = e, n.header = this.F(); var s = "JSON" + DayPilot.JSON.stringify(n); this.backendUrl && DayPilot.request(this.backendUrl, this.G, s, this.ajaxError); }, this.G = function (t) { n.a(t.responseText); }, this.F = function () { var t = {}; return t.control = "dpm", t.id = this.id, t.v = this.v, t.visibleStart = new DayPilot.Date(this.firstDate), t.visibleEnd = t.visibleStart.addDays(this.days), t.startDate = n.startDate, t.timeFormat = this.timeFormat, t.weekStarts = this.weekStarts, t; }, this.eventClickCallBack = function (t, e) { this.E("EventClick", e, t); }, this.w = function (e) { t.movingEvent = null, t.resizingEvent = null; var i = this, e = e || window.event; e.ctrlKey; e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(), n.eventClickSingle(i, e); }, this.eventClickSingle = function (t, e) { var i = t.event; if (i.client.clickEnabled())
1453
1457
  if (n.C()) {
1454
1458
  var s = {};
@@ -1598,7 +1602,7 @@ if ("undefined" == typeof DayPilot)
1598
1602
  if ("undefined" == typeof DayPilot)
1599
1603
  var DayPilot = {};
1600
1604
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () { if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
1601
- DayPilot.Navigator = function (t, e) { this.v = "2022.1.362-lite"; var i = this; this.id = t, this.api = 2, this.isNavigator = !0, this.autoFocusOnClick = !0, this.weekStarts = "Auto", this.selectMode = "day", this.titleHeight = 30, this.dayHeaderHeight = 30, this.bound = null, this.cellWidth = 30, this.cellHeight = 30, this.cssClassPrefix = "navigator_default", this.freeHandSelectionEnabled = !1, this.selectionStart = (new DayPilot.Date).getDatePart(), this.selectionEnd = null, this.selectionDay = null, this.showMonths = 1, this.skipMonths = 1, this.command = "navigate", this.year = (new DayPilot.Date).getYear(), this.month = (new DayPilot.Date).getMonth() + 1, this.showWeekNumbers = !1, this.weekNumberAlgorithm = "Auto", this.rowsPerMonth = "Six", this.orientation = "Vertical", this.locale = "en-us", this.rtl = !1, this.visible = !0, this.timeRangeSelectedHandling = "Bind", this.visibleRangeChangedHandling = "Enabled", this.onVisibleRangeChange = null, this.onVisibleRangeChanged = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.nav = {}, this.a = {}, this.b = function () { this.root.dp = this, this.root.className = this.c("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * a.cellWidth() + this.d()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * a.cellWidth() + this.d() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var t = document.createElement("input"); t.type = "hidden", t.name = i.id + "_state", t.id = t.name, this.root.appendChild(t), this.state = t, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.e = function () { return 2 === i.api; }, this.f = function () { this.root.innerHTML = ""; }, this.c = function (t) { var e = this.theme || this.cssClassPrefix; return e ? e + t : ""; }, this.g = function (t, e) { var i = this.c("_" + e); DayPilot.Util.addClass(t, i); }, this.h = function (t, e) { var i = this.c("_" + e); DayPilot.Util.removeClass(t, i); }, this.i = function (t, e) { var s = {}; s.cells = [], s.days = [], s.weeks = []; var n = this.startDate.addMonths(t), l = e.before, o = e.after, h = n.firstDayOfMonth(), r = h.firstDayOfWeek(a.weekStarts()), c = h.addMonths(1), d = DayPilot.DateUtil.daysDiff(r, c), u = "Auto" === this.rowsPerMonth ? Math.ceil(d / 7) : 6; s.rowCount = u; var f = (new DayPilot.Date).getDatePart(), y = 7 * a.cellWidth() + this.d(); s.width = y; var p = this.cellHeight * u + this.titleHeight + this.dayHeaderHeight; s.height = p; var v = document.createElement("div"); if (v.style.width = y + "px", v.style.height = p + "px", "Horizontal" === this.orientation)
1605
+ DayPilot.Navigator = function (t, e) { this.v = "2022.2.374-lite"; var i = this; this.id = t, this.api = 2, this.isNavigator = !0, this.autoFocusOnClick = !0, this.weekStarts = "Auto", this.selectMode = "Day", this.titleHeight = 30, this.dayHeaderHeight = 30, this.bound = null, this.cellWidth = 30, this.cellHeight = 30, this.cssClassPrefix = "navigator_default", this.freeHandSelectionEnabled = !1, this.selectionStart = (new DayPilot.Date).getDatePart(), this.selectionEnd = null, this.selectionDay = null, this.showMonths = 1, this.skipMonths = 1, this.command = "navigate", this.year = (new DayPilot.Date).getYear(), this.month = (new DayPilot.Date).getMonth() + 1, this.showWeekNumbers = !1, this.weekNumberAlgorithm = "Auto", this.rowsPerMonth = "Six", this.orientation = "Vertical", this.locale = "en-us", this.rtl = !1, this.visible = !0, this.timeRangeSelectedHandling = "Bind", this.visibleRangeChangedHandling = "Enabled", this.onVisibleRangeChange = null, this.onVisibleRangeChanged = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.nav = {}, this.a = {}, this.b = function () { this.root.dp = this, this.root.className = this.c("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * a.cellWidth() + this.d()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * a.cellWidth() + this.d() + "px", this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var t = document.createElement("input"); t.type = "hidden", t.name = i.id + "_state", t.id = t.name, this.root.appendChild(t), this.state = t, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.e = function () { return 2 === i.api; }, this.f = function () { this.root.innerHTML = ""; }, this.c = function (t) { var e = this.theme || this.cssClassPrefix; return e ? e + t : ""; }, this.g = function (t, e) { var i = this.c("_" + e); DayPilot.Util.addClass(t, i); }, this.h = function (t, e) { var i = this.c("_" + e); DayPilot.Util.removeClass(t, i); }, this.i = function (t, e) { var s = {}; s.cells = [], s.days = [], s.weeks = []; var n = this.startDate.addMonths(t), l = e.before, o = e.after, h = n.firstDayOfMonth(), r = h.firstDayOfWeek(a.weekStarts()), c = h.addMonths(1), d = DayPilot.DateUtil.daysDiff(r, c), u = "Auto" === this.rowsPerMonth ? Math.ceil(d / 7) : 6; s.rowCount = u; var f = (new DayPilot.Date).getDatePart(), y = 7 * a.cellWidth() + this.d(); s.width = y; var p = this.cellHeight * u + this.titleHeight + this.dayHeaderHeight; s.height = p; var v = document.createElement("div"); if (v.style.width = y + "px", v.style.height = p + "px", "Horizontal" === this.orientation)
1602
1606
  v.style.position = "absolute", v.style.left = y * t + "px", v.style.top = "0px", s.top = 0, s.left = y * t;
1603
1607
  else {
1604
1608
  v.style.position = "relative";
@@ -1621,24 +1625,24 @@ if ("undefined" == typeof DayPilot)
1621
1625
  }
1622
1626
  var H = document.createElement("div");
1623
1627
  H.style.position = "absolute", H.style.left = "0px", H.style.right = "0px", H.style.top = k * this.cellHeight + m + "px", H.style.width = a.cellWidth() + "px", H.style.height = this.cellHeight + "px", H.style.lineHeight = this.cellHeight + "px", H.setAttribute("unselectable", "on"), H.className = this.c("_weeknumber"), H.innerHTML = "<span>" + C + "</span>", v.appendChild(H), s.weeks.push(H);
1624
- } for (var M = 0; M < 7; M++) {
1625
- s.cells[M] = [];
1628
+ } for (var P = 0; P < 7; P++) {
1629
+ s.cells[P] = [];
1626
1630
  var H = document.createElement("div");
1627
- H.style.position = "absolute", H.style.left = M * a.cellWidth() + w + "px", H.style.right = M * a.cellWidth() + w + "px", H.style.top = this.titleHeight + "px", H.style.width = a.cellWidth() + "px", H.style.height = this.dayHeaderHeight + "px", H.style.lineHeight = this.dayHeaderHeight + "px", H.setAttribute("unselectable", "on"), H.className = this.c("_dayheader"), H.innerHTML = "<span>" + this.l(M) + "</span>", v.appendChild(H), s.days.push(H);
1631
+ H.style.position = "absolute", H.style.left = P * a.cellWidth() + w + "px", H.style.right = P * a.cellWidth() + w + "px", H.style.top = this.titleHeight + "px", H.style.width = a.cellWidth() + "px", H.style.height = this.dayHeaderHeight + "px", H.style.lineHeight = this.dayHeaderHeight + "px", H.setAttribute("unselectable", "on"), H.className = this.c("_dayheader"), H.innerHTML = "<span>" + this.l(P) + "</span>", v.appendChild(H), s.days.push(H);
1628
1632
  for (var k = 0; k < u; k++) {
1629
- var S = r.addDays(7 * k + M), P = this.m(S) && "none" !== this.n(), E = S.firstDayOfMonth() === n, N = S < n, W = S >= n.addMonths(1);
1633
+ var S = r.addDays(7 * k + P), M = this.m(S) && "none" !== this.n(), E = S.firstDayOfMonth() === n, N = S < n, W = S >= n.addMonths(1);
1630
1634
  if ("month" === this.n())
1631
- P = P && E;
1635
+ M = M && E;
1632
1636
  else if ("day" === this.n())
1633
- P = P && (E || l && N || o && W);
1637
+ M = M && (E || l && N || o && W);
1634
1638
  else if ("week" === this.n()) {
1635
1639
  var O = S.firstDayOfMonth() === n;
1636
- P = P && (O || l && N || o && W);
1640
+ M = M && (O || l && N || o && W);
1637
1641
  }
1638
1642
  var R = document.createElement("div");
1639
- s.cells[M][k] = R;
1640
- var T = i.o(M, k), A = T.x, B = T.y;
1641
- R.day = S, R.x = M, R.y = k, R.left = A, R.top = B, R.isCurrentMonth = E, R.isNextMonth = W, R.isPrevMonth = N, R.showBefore = l, R.showAfter = o, R.className = this.c(E ? "_day" : "_dayother"), i.g(R, "cell"), S.getTime() === f.getTime() && E && this.g(R, "today"), 0 !== S.dayOfWeek() && 6 !== S.dayOfWeek() || this.g(R, "weekend"), R.style.position = "absolute", R.style.left = A + "px", R.style.right = A + "px", R.style.top = B + "px", R.style.width = a.cellWidth() + "px", R.style.height = this.cellHeight + "px", R.style.lineHeight = this.cellHeight + "px";
1643
+ s.cells[P][k] = R;
1644
+ var T = i.o(P, k), A = T.x, B = T.y;
1645
+ R.day = S, R.x = P, R.y = k, R.left = A, R.top = B, R.isCurrentMonth = E, R.isNextMonth = W, R.isPrevMonth = N, R.showBefore = l, R.showAfter = o, R.className = this.c(E ? "_day" : "_dayother"), i.g(R, "cell"), S.getTime() === f.getTime() && E && this.g(R, "today"), 0 !== S.dayOfWeek() && 6 !== S.dayOfWeek() || this.g(R, "weekend"), R.style.position = "absolute", R.style.left = A + "px", R.style.right = A + "px", R.style.top = B + "px", R.style.width = a.cellWidth() + "px", R.style.height = this.cellHeight + "px", R.style.lineHeight = this.cellHeight + "px";
1642
1646
  var _ = document.createElement("div");
1643
1647
  _.style.position = "absolute", _.className = S.getTime() === f.getTime() && E ? this.c("_todaybox") : this.c("_daybox"), i.g(_, "cell_box"), _.style.left = "0px", _.style.top = "0px", _.style.right = "0px", _.style.bottom = "0px", R.appendChild(_);
1644
1648
  var U = null;
@@ -1650,15 +1654,15 @@ if ("undefined" == typeof DayPilot)
1650
1654
  var L = document.createElement("div");
1651
1655
  L.innerHTML = S.getDay(), L.style.position = "absolute", L.style.left = "0px", L.style.top = "0px", L.style.right = "0px", L.style.bottom = "0px", i.g(L, "cell_text"), R.isClickable = !0, U && U.html && (L.innerHTML = U.html), R.appendChild(L);
1652
1656
  }
1653
- R.setAttribute("unselectable", "on"), R.onclick = this.p, v.appendChild(R), P && (i.q(v, M, k), this.selected.push(R));
1657
+ R.setAttribute("unselectable", "on"), R.onclick = this.p, v.appendChild(R), M && (i.q(v, P, k), this.selected.push(R));
1654
1658
  }
1655
1659
  } var V = document.createElement("div"); V.style.position = "absolute", V.style.left = "0px", V.style.top = m - 2 + "px", V.style.width = 7 * a.cellWidth() + this.d() + "px", V.style.height = "1px", V.style.fontSize = "1px", V.style.lineHeight = "1px", V.className = this.c("_line"), v.appendChild(V), this.months.push(s); }, this.o = function (t, e) { var i = this.titleHeight + this.dayHeaderHeight, s = this.d(); return { "x": t * a.cellWidth() + s, "y": e * this.cellHeight + i }; }, this.q = function (t, e, s) { var n = t.month.cells[e][s]; i.g(n, "select"); }, this.r = function (t, e, s) { var n = t.month.cells[e][s]; i.h(n, "select"); }, this.d = function () { return this.showWeekNumbers ? a.cellWidth() : 0; }, this.s = function () { if (this.items)
1656
1660
  for (var t = 0; t < this.showMonths; t++)
1657
1661
  for (var e = 0; e < 7; e++)
1658
1662
  for (var i = 0; i < 6; i++) {
1659
1663
  var s = this.months[t].cells[e][i];
1660
- s && (1 === this.items[s.day.toStringSortable()] ? this.g(s, "busy") : this.h(s, "busy"));
1661
- } }, this.t = function () { var t = {}; t.startDate = i.startDate, t.selectionStart = i.selectionStart, t.selectionEnd = i.selectionEnd.addDays(1), i.state.value = JSON.stringify(t); }, this.n = function () { return (this.selectMode || "").toLowerCase(); }, this.u = function () { var t = this.selectionDay || this.selectionStart; t || (t = DayPilot.Date.today()); var t = new DayPilot.Date(t); switch (this.n()) {
1664
+ s && (1 === this.items[s.day.toStringSortable()] ? (this.g(s, "busy"), this.h(s, "free")) : (this.h(s, "busy"), this.g(s, "free")));
1665
+ } }, this.t = function () { var t = {}; t.startDate = i.startDate, t.selectionStart = i.selectionStart, t.selectionEnd = i.selectionEnd.addDays(1), i.state.value = JSON.stringify(t); }, this.n = function () { return (this.selectMode || "").toLowerCase(); }, this.u = function () { var t = this.selectionDay || this.selectionStart; switch (t || (t = DayPilot.Date.today()), t = new DayPilot.Date(t), this.n()) {
1662
1666
  case "day":
1663
1667
  this.selectionStart = t, this.selectionDay = t, this.selectionEnd = t;
1664
1668
  break;
@@ -1672,11 +1676,11 @@ if ("undefined" == typeof DayPilot)
1672
1676
  this.selectionEnd = t;
1673
1677
  break;
1674
1678
  default: throw "Unknown selectMode value.";
1675
- } }, this.w = null, this.select = function (t, e) { if (!this.z)
1676
- return void (this.w = { "date": t, "options": e }); var i = !0, s = !0; "object" == typeof e ? (e.dontFocus && (i = !1), e.dontNotify && (s = !1)) : "boolean" == typeof e && (i = !e); var n = this.selectionStart, a = this.selectionEnd; this.selectionStart = new DayPilot.Date(t).getDatePart(), this.selectionDay = this.selectionStart; var l = !1; if (i) {
1677
- var o = this.startDate;
1678
- (this.selectionStart < this.A() || this.selectionStart >= this.B()) && (o = this.selectionStart.firstDayOfMonth()), o.toStringSortable() !== this.startDate.toStringSortable() && (l = !0), this.startDate = o;
1679
- } this.u(), this.f(), this.b(), this.C(), this.s(), this.t(), !s || n.equals(this.selectionStart) && a.equals(this.selectionEnd) || this.D(), l && this.E(); }, this.update = function (t) { if (!i.z)
1679
+ } }, this.w = null, this.select = function (t, e, s) { var n = e && (e instanceof DayPilot.Date || "string" == typeof e), a = "object" == typeof e || "boolean" == typeof e, l = t, o = n ? e : null, h = a ? e : s; if (!this.z)
1680
+ return void (this.w = { "date1": l, "date2": o, "options": h }); var r = !0, c = !0; "object" == typeof h ? (h.dontFocus && (r = !1), h.dontNotify && (c = !1)) : "boolean" == typeof h && (r = !h); var d = this.selectionStart, u = this.selectionEnd; this.selectionStart = new DayPilot.Date(l).getDatePart(), this.selectionDay = this.selectionStart; var f = !1; if (r) {
1681
+ var y = this.startDate;
1682
+ (this.selectionStart < this.A() || this.selectionStart >= this.B()) && (y = this.selectionStart.firstDayOfMonth()), y.toStringSortable() !== this.startDate.toStringSortable() && (f = !0), this.startDate = y;
1683
+ } o && i.freeHandSelectionEnabled ? i.selectionEnd = new DayPilot.Date(o) : this.u(), this.f(), this.b(), this.C(), this.s(), this.t(), !c || d.equals(this.selectionStart) && u.equals(this.selectionEnd) || this.D(), f && this.E(); }, this.update = function (t) { if (!i.z)
1680
1684
  throw new DayPilot.Exception("You are trying to update a DayPilot.Navigator instance that hasn't been initialized yet."); if (i.F)
1681
1685
  throw new DayPilot.Exception("You are trying to update a DayPilot.Navigator instance that has been disposed."); i.G(), i.H(t); var e = { "day": i.selectionDay, "start": i.selectionStart, "end": i.selectionEnd }; i.I(), e.start === i.selectionStart && e.end == i.selectionEnd && e.day === i.selectionDay || i.D(); }, this.I = function () { this.f(), this.b(), this.u(), this.C(), this.J(), this.s(), this.t(), this.visible ? this.show() : this.hide(); }, this.G = function () { i.a = {}; }, this.K = null, this.H = function (t) { if (t) {
1682
1686
  var e = { "events": { "preInit": function () { var t = this.data; t && (DayPilot.isArray(t.list) ? i.events.list = t.list : i.events.list = t); } } };
@@ -1902,7 +1906,11 @@ if ("undefined" == typeof DayPilot)
1902
1906
  throw "DayPilot.Navigator: The placeholder element not found: '" + t + "'.";
1903
1907
  } this.root = this.nav.top; }, this.init = function () { if (this.ea(), !this.root.dp) {
1904
1908
  this.u(), this.b(), this.C(), this.J(), this.s(), this.fa(), this.ga(), this.ha();
1905
- return this.ca() && this.E(), this.z = !0, this.L(), this.w && (this.select(this.w.date, this.w.options), this.w = null), this;
1909
+ if (this.ca() && this.E(), this.z = !0, this.L(), this.w) {
1910
+ var t = this.w;
1911
+ this.select(t.date1, t.date2, t.options), this.w = null;
1912
+ }
1913
+ return this;
1906
1914
  } }, this.ga = function () { i.nav.top.onmousedown = this.V, i.nav.top.onmousemove = this.W; }, this.ha = function () { DayPilot.re(document, "mouseup", i.ia); }, this.ia = function (t) { if (s.start && s.end) {
1907
1915
  var e = DayPilot.mo3(i.nav.top, t);
1908
1916
  if (e.x === s.start.coords.x && e.y === s.start.coords.y)