@daypilot/daypilot-lite-angular 4.0.2 → 4.2.0-sandbox.684

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.
@@ -144,7 +144,7 @@ DayPilot Lite
144
144
  Copyright (c) 2005 - 2025 Annpoint s.r.o.
145
145
  https://www.daypilot.org/
146
146
  Licensed under Apache Software License 2.0
147
- Version: 2025.2.674-lite
147
+ Version: 2025.3.684-lite
148
148
  */
149
149
  var DayPilot = {};
150
150
  if ("undefined" == typeof DayPilot)
@@ -198,7 +198,7 @@ if (function () {
198
198
  if (!DayPilot.Global.defaultCss) {
199
199
  var e = DayPilot.sheet();
200
200
  e.add(".menu_default_main", "user-select:none; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size: 13px;border: 1px solid #dddddd;background-color: white;padding: 0px;cursor: default;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAABCAIAAABG0om7AAAAKXRFWHRDcmVhdGlvbiBUaW1lAHBvIDEwIDUgMjAxMCAyMjozMzo1OSArMDEwMGzy7+IAAAAHdElNRQfaBQoUJAesj4VUAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAABGdBTUEAALGPC/xhBQAAABVJREFUeNpj/P//PwO1weMnT2RlZAAYuwX/4oA3BgAAAABJRU5ErkJggg==);background-repeat: repeat-y;xborder-radius: 5px;-moz-box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);-webkit-box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);box-shadow:0px 2px 3px rgba(000,000,000,0.3),inset 0px 0px 2px rgba(255,255,255,0.8);"), e.add(".menu_default_main, .menu_default_main *, .menu_default_main *:before, .menu_default_main *:after", "box-sizing: content-box;"), e.add(".menu_default_title", "background-color: #f2f2f2;border-bottom: 1px solid gray;padding: 4px 4px 4px 37px;"), e.add(".menu_default_main a", "padding: 2px 2px 2px 35px;color: black;text-decoration: none;cursor: default;"), e.add(".menu_default_main.menu_default_withchildren a", "padding: 2px 35px 2px 35px;"), e.add(".menu_default_main a img", "margin-left: 6px;margin-top: 2px;"), e.add(".menu_default_item_text", "display: block;height: 20px;line-height: 20px; overflow:hidden;padding-left: 2px;padding-right: 20px; white-space: nowrap;"), e.add(".menu_default_main a:hover", "background-color: #f3f3f3;"), e.add(".menu_default_main div div", "border-top: 1px solid #dddddd;margin-top: 2px;margin-bottom: 2px;margin-left: 28px;"), e.add(".menu_default_main a.menu_default_item_disabled", "color: #ccc"), e.add(".menu_default_item_haschildren.menu_default_item_haschildren_active", "background-color: #f3f3f3;"), e.add(".menu_default_item_haschildren a:before", "content: ''; border-width: 5px; border-color: transparent transparent transparent #666; border-style: solid; width: 0px; height:0px; position: absolute; right: 5px; margin-top: 5px;"), e.add(".menu_default_item_icon", "position: absolute; top:0px; left: 0px; padding: 2px 2px 2px 8px;"), e.add(".menu_default_item a i", "height: 20px;line-height: 20px;"), e.add(".menu_default_item .menu_default_item_symbol", "width: 18px; height: 18px; color: #999; margin-left: 6px;margin-top: 2px;"), e.add(".menubar_default_main", "border-bottom: 1px solid #ccc; font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; font-size: 13px; user-select:none;"), e.add(".menubar_default_item", "display: inline-block; padding: 6px 10px; cursor: default;"), e.add(".menubar_default_item:hover", "background-color: #f2f2f2;"), e.add(".menubar_default_item_active", "background-color: #f2f2f2;"), e.add(".calendar_default_main", " --dp-calendar-border-color: #c0c0c0; --dp-calendar-font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; --dp-calendar-font-size: 13px; --dp-calendar-header-bg-color: #f3f3f3; --dp-calendar-header-color: #333; --dp-calendar-colheader-padding: 0px; --dp-calendar-rowheader-font-size: 16pt; --dp-calendar-rowheader-padding: 3px; --dp-calendar-cell-bg-color: #f9f9f9; --dp-calendar-cell-business-bg-color: #ffffff; --dp-calendar-cell-border-color: #ddd; --dp-calendar-colheader-horizontal-align: center; --dp-calendar-colheader-vertical-align: center; --dp-calendar-allday-event-color: #333; --dp-calendar-allday-event-border-color: #999; --dp-calendar-allday-event-border: 1px solid var(--dp-calendar-allday-event-border-color); --dp-calendar-allday-event-border-radius: 0px; --dp-calendar-allday-event-bg-top-color: #ffffff; --dp-calendar-allday-event-bg-bottom-color: #eeeeee; --dp-calendar-allday-event-background: linear-gradient(to bottom, var(--dp-calendar-allday-event-bg-top-color) 0%, var(--dp-calendar-allday-event-bg-bottom-color) 100%); --dp-calendar-allday-event-box-shadow: none; --dp-calendar-allday-event-padding: 4px; --dp-calendar-allday-event-horizontal-align: flex-start; --dp-calendar-event-color: #333; --dp-calendar-event-border-color: #999; --dp-calendar-event-border: 1px solid var(--dp-calendar-event-border-color); --dp-calendar-event-border-radius: 0px; --dp-calendar-event-box-shadow: none; --dp-calendar-event-bg-top-color: #ffffff; --dp-calendar-event-bg-bottom-color: #eeeeee; --dp-calendar-event-background: linear-gradient(to bottom, var(--dp-calendar-event-bg-top-color) 0%, var(--dp-calendar-event-bg-bottom-color) 100%); --dp-calendar-event-bar-bg-color: #9dc8e8; --dp-calendar-event-bar-color: #1066a8; --dp-calendar-event-bar-width: 6px; --dp-calendar-event-bar-left: 0px; --dp-calendar-event-bar-bottom: 0px; --dp-calendar-event-bar-top: 0px; --dp-calendar-event-bar-display: block; --dp-calendar-event-padding: 2px; --dp-calendar-event-padding-left: 8px; --dp-calendar-message-bg-color: #ffa216; --dp-calendar-message-color: #ffffff; --dp-calendar-message-padding: 10px; --dp-calendar-message-opacity: 0.9; --dp-calendar-selected-event-bg-color: #ddd; --dp-calendar-shadow-color: #bbbbbb; --dp-calendar-shadow-border-color: #888888; --dp-calendar-forbidden-shadow-border-color: #cc0000; --dp-calendar-forbidden-shadow-bg-color: #cc4125; --dp-calendar-now-indicator-color: red; --dp-calendar-scroll-bg-color: #f3f3f3;"), e.add(".calendar_default_main *, .calendar_default_main *:before, .calendar_default_main *:after", "box-sizing: content-box;"), e.add(".calendar_default_main", "border:1px solid var(--dp-calendar-border-color); font-family:var(--dp-calendar-font-family); font-size:var(--dp-calendar-font-size);"), e.add(".calendar_default_rowheader_inner, .calendar_default_cornerright_inner, .calendar_default_corner_inner, .calendar_default_colheader_inner, .calendar_default_alldayheader_inner", "color: var(--dp-calendar-header-color); background: var(--dp-calendar-header-bg-color);"), e.add(".calendar_default_colheader_back", "background: var(--dp-calendar-header-bg-color); border-bottom: 1px solid red;"), e.add(".calendar_default_colheader_back_inner", "position: absolute; inset: 0; border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_cornerright_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_direction_rtl .calendar_default_cornerright_inner", "border-right: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_rowheader_inner", "font-size: var(--dp-calendar-rowheader-font-size); text-align: right; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color); padding: var(--dp-calendar-rowheader-padding);"), e.add(".calendar_default_rowheader_simple .calendar_default_rowheader_inner", "font-size: inherit; display: flex; align-items: center; justify-content: center; white-space: nowrap;"), 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 var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color);"), 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; padding: var(--dp-calendar-colheader-padding);border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color); display: flex; align-items: var(--dp-calendar-colheader-vertical-align); justify-content: var(--dp-calendar-colheader-horizontal-align);"), e.add(".calendar_default_cell_inner", "position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-cell-border-color); border-bottom: 1px solid var(--dp-calendar-cell-border-color); background: var(--dp-calendar-cell-bg-color);"), e.add(".calendar_default_cell_business .calendar_default_cell_inner", "background: var(--dp-calendar-cell-business-bg-color);"), e.add(".calendar_default_alldayheader_inner", "text-align: center; position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; border-right: 1px solid var(--dp-calendar-border-color); border-bottom: 1px solid var(--dp-calendar-border-color);"), e.add(".calendar_default_message", "opacity: var(--dp-calendar-message-opacity); padding: var(--dp-calendar-message-padding); color: var(--dp-calendar-message-color); background: var(--dp-calendar-message-bg-color);"), e.add(".calendar_default_event_inner", "color: var(--dp-calendar-event-color); border: var(--dp-calendar-event-border); border-radius: var(--dp-calendar-event-border-radius); background: var(--dp-calendar-event-background);"), e.add(".calendar_default_alldayevent", "box-shadow: var(--dp-calendar-allday-event-box-shadow); border-radius: var(--dp-calendar-allday-event-border-radius);"), e.add(".calendar_default_alldayevent_inner", "color: var(--dp-calendar-allday-event-color); border: var(--dp-calendar-allday-event-border); border-radius: var(--dp-calendar-allday-event-border-radius); background: var(--dp-calendar-allday-event-background);"), e.add(".calendar_default_event_bar", "display: var(--dp-calendar-event-bar-display); top: var(--dp-calendar-event-bar-top); bottom: var(--dp-calendar-event-bar-bottom); left: var(--dp-calendar-event-bar-left); width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-bg-color);"), e.add(".calendar_default_direction_rtl .calendar_default_event_bar", "top: 0px; bottom: 0px; right: 0px; width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-bg-color);"), e.add(".calendar_default_event_bar_inner", "position: absolute; width: var(--dp-calendar-event-bar-width); background-color: var(--dp-calendar-event-bar-color);"), e.add(".calendar_default_selected .calendar_default_event_inner", "background: var(--dp-calendar-selected-event-bg-color);"), e.add(".calendar_default_alldayevent_inner", "position: absolute; top: 0px; bottom: 0px; left: 0px; right: 0px; overflow: hidden; padding: var(--dp-calendar-allday-event-padding); margin-right: 0px; display: flex; align-items: center; justify-content: var(--dp-calendar-allday-event-horizontal-align);"), e.add(".calendar_default_event_withheader .calendar_default_event_inner", "padding-top: 15px;"), e.add(".calendar_default_event", "box-shadow: var(--dp-calendar-event-box-shadow); border-radius: var(--dp-calendar-event-border-radius); cursor: default;"), e.add(".calendar_default_event_inner", "position: absolute; overflow: hidden; top: 0px; bottom: 0px; left: 0px; right: 0px; padding: var(--dp-calendar-event-padding) var(--dp-calendar-event-padding) var(--dp-calendar-event-padding) var(--dp-calendar-event-padding-left);"), e.add(".calendar_default_direction_rtl .calendar_default_event_inner", "padding: 2px 8px 2px 2px;"), e.add(".calendar_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-calendar-shadow-color); border: 1px solid var(--dp-calendar-shadow-border-color); opacity: 0.5; height: 100%;"), e.add(".calendar_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,0.2);"), e.add(".calendar_default_shadow_forbidden:after", "content: ''; position: absolute; top: 5px; left: calc(50% - 10px); border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%279%27 fill=%27%23cc0000aa%27 /%3E%3Cline x1=%275%27 y1=%275%27 x2=%2715%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3Cline x1=%2715%27 y1=%275%27 x2=%275%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: center; background-size: contain;"), e.add(".calendar_default_shadow_forbidden .calendar_default_shadow_inner", "border: 1px solid var(--dp-calendar-forbidden-shadow-border-color); background: var(--dp-calendar-forbidden-shadow-bg-color);"), 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: var(--dp-calendar-now-indicator-color);"), e.add(".calendar_default_now:before", "content: ''; top: -5px; border-width: 5px; border-color: transparent transparent transparent var(--dp-calendar-now-indicator-color); border-style: solid; width: 0px; height: 0px; position: absolute; -moz-transform: scale(.9999);"), e.add(".calendar_default_shadow_top", "box-sizing: border-box; padding: 2px; border: 1px solid var(--dp-calendar-border-color); background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); pointer-events: none;"), e.add(".calendar_default_shadow_bottom", "box-sizing: border-box; padding: 2px; border: 1px solid var(--dp-calendar-border-color); background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); pointer-events: none;"), 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: var(--dp-calendar-header-bg-color);"), e.add(".calendar_default_event_moving_source", "opacity: 0.5;"), e.add(".calendar_default_colmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".calendar_default_colheader:hover .calendar_default_colheader_splitter", "background-color: #c0c0c0;"), e.add(".calendar_default_colmove_source", "background-color: black; opacity: 0.5;"), e.add(".calendar_default_colmove_position_before", "box-sizing: border-box; border-left: 2px solid #999999;"), e.add(".calendar_default_colmove_position_before:before", "content: ''; border-width: 6px; border-color: transparent #999999 transparent transparent; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_after", "box-sizing: border-box; border-right: 2px solid #999999;"), e.add(".calendar_default_colmove_position_after:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent #999999; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_child", "box-sizing: border-box; border-bottom: 2px solid #999999;"), e.add(".calendar_default_colmove_position_child:before", "content: ''; border-width: 6px; border-color: #999999 transparent transparent transparent; border-style: solid; width: 0px; height: 0px; position: absolute;"), e.add(".calendar_default_colmove_position_forbidden", "border-top: 2px solid red;"), e.add(".calendar_default_colheader .calendar_default_colheader_splitter:hover", "background-color: #999999;"), e.add(".calendar_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".month_default_main", " --dp-month-border-color: #c0c0c0; --dp-month-font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; --dp-month-font-size: 13px; --dp-month-cell-border-color: #ddd; --dp-month-cell-bg-color: #f9f9f9; --dp-month-cell-business-bg-color: #ffffff; --dp-month-event-color: #333; --dp-month-event-border-color: #999; --dp-month-event-border: 1px solid var(--dp-month-event-border-color); --dp-month-event-bg-top-color: #ffffff; --dp-month-event-bg-bottom-color: #eeeeee; --dp-month-event-background: linear-gradient(to bottom, var(--dp-month-event-bg-top-color) 0%, var(--dp-month-event-bg-bottom-color) 100%); --dp-month-event-horizontal-align: flex-start; --dp-month-event-vertical-align: center; --dp-month-event-padding: 2px; --dp-month-event-padding-left: 10px; --dp-month-event-padding-rtl: 2px 10px 2px 1px; --dp-month-event-border-radius: 0px; --dp-month-event-box-shadow: none; --dp-month-event-bar-top: 1px; --dp-month-event-bar-left: 2px; --dp-month-event-bar-bottom: 1px; --dp-month-event-bar-width: 6px; --dp-month-event-bar-color: #1066a8; --dp-month-event-bar-display: block; --dp-month-header-bg-color: #f3f3f3; --dp-month-header-color: #333; --dp-month-header-horizontal-align: center; --dp-month-header-vertical-align: center; --dp-month-header-padding: 0px; --dp-month-message-bg-color: #ffa216; --dp-month-message-color: #ffffff; --dp-month-message-padding: 10px; --dp-month-selected-event-bg-color: #ddd; --dp-month-shadow-color: #bbbbbb; --dp-month-shadow-border-color: #888888;"), e.add(".month_default_main *, .month_default_main *:before, .month_default_main *:after", "box-sizing: content-box; "), e.add(".month_default_main", "border: 1px solid var(--dp-month-border-color); font-family: var(--dp-month-font-family); font-size: var(--dp-month-font-size); color: #333; "), e.add(".month_default_cell_inner", "border-right: 1px solid var(--dp-month-cell-border-color); border-bottom: 1px solid var(--dp-month-cell-border-color); position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: var(--dp-month-cell-bg-color); "), e.add(".month_default_cell_business .month_default_cell_inner", "background-color: var(--dp-month-cell-business-bg-color); "), e.add(".month_default_cell_header", "text-align: right; padding: 4px; box-sizing: border-box; "), e.add(".month_default_header_inner", "position: absolute; inset: 0; border-right: 1px solid var(--dp-month-border-color); border-bottom: 1px solid var(--dp-month-border-color); cursor: default; color: var(--dp-month-header-color); background: var(--dp-month-header-bg-color); overflow: hidden; display: flex; align-items: var(--dp-month-header-vertical-align); justify-content: var(--dp-month-header-horizontal-align); padding: var(--dp-month-header-padding);"), e.add(".month_default_message", "opacity: 0.9; color: var(--dp-month-message-color); background: var(--dp-month-message-bg-color); padding: var(--dp-month-message-padding); "), e.add(".month_default_event", "border-radius: var(--dp-month-event-border-radius); box-shadow: var(--dp-month-event-box-shadow); "), e.add(".month_default_event_inner", "position: absolute; top: 0; bottom: 0; left: 1px; right: 1px; overflow: hidden; padding: var(--dp-month-event-padding) var(--dp-month-event-padding) var(--dp-month-event-padding) var(--dp-month-event-padding-left); color: var(--dp-month-event-color); background: var(--dp-month-event-background); border: var(--dp-month-event-border); border-radius: var(--dp-month-event-border-radius); display: flex; align-items: var(--dp-month-event-vertical-align); justify-content: var(--dp-month-event-horizontal-align); "), e.add(".month_default_direction_rtl .month_default_event_inner", "right: 2px; padding: var(--dp-month-event-padding-rtl); "), e.add(".month_default_event_continueright .month_default_event_inner", "border-top-right-radius: 0; border-bottom-right-radius: 0; border-right-style: dotted; "), e.add(".month_default_event_continueleft .month_default_event_inner", "border-top-left-radius: 0; border-bottom-left-radius: 0; border-left-style: dotted; "), e.add(".month_default_event_bar", "display: var(--dp-month-event-bar-display); top: var(--dp-month-event-bar-top); bottom: var(--dp-month-event-bar-bottom); left: var(--dp-month-event-bar-left); width: var(--dp-month-event-bar-width); "), e.add(".month_default_direction_rtl .month_default_event_bar", "top: 1px; bottom: 1px; right: 3px; width: var(--dp-month-event-bar-width); "), e.add(".month_default_event_bar_inner", "position: absolute; width: var(--dp-month-event-bar-width); background-color: var(--dp-month-event-bar-color); "), e.add(".month_default_event_continueleft .month_default_event_bar", "display: none; "), e.add(".month_default_selected .month_default_event_inner", "background: var(--dp-month-selected-event-bg-color); "), e.add(".month_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-month-shadow-color); border: 1px solid var(--dp-month-shadow-border-color); opacity: 0.5; height: 100%; "), e.add(".month_default_shadow", "box-shadow: 0 2px 5px rgba(0, 0, 0, .2); "), 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; "), e.add(".month_default_event_timeleft", "color: #ccc; font-size: 11px; display: flex; align-items: center; "), e.add(".month_default_event_timeright", "color: #ccc; font-size: 11px; display: flex; align-items: center; justify-content: end; "), e.add(".month_default_loading", "background-color: orange; color: white; padding: 2px; "), e.add(".month_default_shadow_forbidden:after", "content: ''; position: absolute; top: calc(50% - 10px); left: 10px; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background-image: url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27%3E%3Ccircle cx=%2710%27 cy=%2710%27 r=%279%27 fill=%27%23cc0000aa%27 /%3E%3Cline x1=%275%27 y1=%275%27 x2=%2715%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3Cline x1=%2715%27 y1=%275%27 x2=%275%27 y2=%2715%27 stroke=%27white%27 stroke-width=%271.5%27/%3E%3C/svg%3E'); background-repeat: no-repeat; background-position: center; background-size: contain; "), e.add(".month_default_shadow_forbidden .month_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125; "), e.add(".navigator_default_main", " --dp-nav-border-color: #c0c0c0; --dp-nav-font-family: -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif; --dp-nav-font-size: 12px; --dp-nav-title-color: #333; --dp-nav-title-bg-color: #f3f3f3; --dp-nav-dayheader-color: #333; --dp-nav-dayheader-bg-color: #ffffff; --dp-nav-weeknumber-color: #999; --dp-nav-weeknumber-bg-color: #ffffff; --dp-nav-day-color: #000; --dp-nav-day-bg-color: #ffffff; --dp-nav-dayother-color: gray; --dp-nav-dayother-bg-color: #ffffff; --dp-nav-weekend-bg-color: #f0f0f0; --dp-nav-select-bg-color: #FFE794; --dp-nav-text-align: center;"), e.add(".navigator_default_main *, .navigator_default_main *:before, .navigator_default_main *:after", "box-sizing: content-box;"), e.add(".navigator_default_main", "border-left: 1px solid var(--dp-nav-border-color);border-right: 1px solid var(--dp-nav-border-color);border-bottom: 1px solid var(--dp-nav-border-color);background-color: white;color: var(--dp-nav-day-color);box-sizing: content-box;"), e.add(".navigator_default_month", "font-family: var(--dp-nav-font-family);font-size: var(--dp-nav-font-size);"), e.add(".navigator_default_day", "color: var(--dp-nav-day-color); background-color: var(--dp-nav-day-bg-color);"), e.add(".navigator_default_weekend", "background-color: var(--dp-nav-weekend-bg-color);"), e.add(".navigator_default_dayheader", "color: var(--dp-nav-dayheader-color);background-color: var(--dp-nav-dayheader-bg-color);text-align: var(--dp-nav-text-align);padding: 0px;"), e.add(".navigator_default_line", "border-bottom: 1px solid var(--dp-nav-border-color);"), e.add(".navigator_default_dayother", "color: var(--dp-nav-dayother-color); background-color: var(--dp-nav-dayother-bg-color);"), e.add(".navigator_default_todaybox", "border: 1px solid red;"), e.add(".navigator_default_title, .navigator_default_titleleft, .navigator_default_titleright", "box-sizing: border-box; border-top: 1px solid var(--dp-nav-border-color);border-bottom: 1px solid var(--dp-nav-border-color);color: var(--dp-nav-title-color);background: var(--dp-nav-title-bg-color);text-align: var(--dp-nav-text-align);"), e.add(".navigator_default_busy", "font-weight: bold;"), e.add(".navigator_default_cell", "text-align: var(--dp-nav-text-align);"), e.add(".navigator_default_select .navigator_default_cell_box", "background-color: var(--dp-nav-select-bg-color);opacity: 0.5;"), e.add(".navigator_default_weeknumber", "text-align: var(--dp-nav-text-align);color: var(--dp-nav-weeknumber-color);background: var(--dp-nav-weeknumber-bg-color);"), e.add(".navigator_default_cell_text", "cursor: pointer;"), e.add(".navigator_default_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), e.add(".navigator_default_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "),
201
- e.add(".scheduler_default_main", ' --dp-scheduler-border-color: #c0c0c0; --dp-scheduler-border-inner-color: #e0e0e0; --dp-scheduler-cell-bg-color: #f9f9f9; --dp-scheduler-cell-business-bg-color: #ffffff; --dp-scheduler-event-background: linear-gradient(to bottom, var(--dp-scheduler-event-bg-top-color) 0%, var(--dp-scheduler-event-bg-bottom-color) 100%); --dp-scheduler-event-bg-bottom-color: #eeeeee; --dp-scheduler-event-bg-top-color: #ffffff; --dp-scheduler-event-bar-bg-color: #9dc8e8; --dp-scheduler-event-bar-color: #1066a8; --dp-scheduler-event-bar-display: block; --dp-scheduler-event-bar-height: 4px; --dp-scheduler-event-bar-left: 0px; --dp-scheduler-event-bar-right: 0px; --dp-scheduler-event-bar-top: 0px; --dp-scheduler-event-border: 1px solid var(--dp-scheduler-event-border-color); --dp-scheduler-event-border-color: #ccc; --dp-scheduler-event-border-radius: 0px; --dp-scheduler-event-box-shadow: none; --dp-scheduler-event-color: #333; --dp-scheduler-event-horizontal-align: flex-start; --dp-scheduler-event-milestone-color: #38761d; --dp-scheduler-event-padding: 2px; --dp-scheduler-event-selected-bg-color: #ddd; --dp-scheduler-event-vertical-align: center; --dp-scheduler-focus-outline-color: red; --dp-scheduler-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --dp-scheduler-font-size: 13px; --dp-scheduler-grid-line-break-color: #999; --dp-scheduler-grid-line-color: #eee; --dp-scheduler-header-bg-color: #f3f3f3; --dp-scheduler-header-color: #333; --dp-scheduler-link-color: #cc0000; --dp-scheduler-message-bg-color: #ffa216; --dp-scheduler-message-color: #ffffff; --dp-scheduler-message-padding: 10px; --dp-scheduler-rowheader-padding: 7px; --dp-scheduler-rowheader-vertical-align: center; --dp-scheduler-selectionrectangle-color: #1066a8; --dp-scheduler-shadow-border-color: #888888; --dp-scheduler-shadow-color: #bbbbbb; --dp-scheduler-timeheader-horizontal-align: center; --dp-scheduler-timeheader-padding: 0px; --dp-scheduler-timeheader-vertical-align: center;'), e.add(".scheduler_default_main *, .scheduler_default_main *:before, .scheduler_default_main *:after", "box-sizing: content-box;"), e.add(".scheduler_default_main, .scheduler_default_main svg text", "box-sizing: content-box; border: 1px solid var(--dp-scheduler-border-color); font-family: var(--dp-scheduler-font-family); font-size: var(--dp-scheduler-font-size);"), e.add(".scheduler_default_selected .scheduler_default_event_inner", "background: var(--dp-scheduler-event-selected-bg-color);"), e.add(".scheduler_default_timeheader_scroll", "background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_message", "opacity: 0.9; padding: var(--dp-scheduler-message-padding); color: var(--dp-scheduler-message-color); background: var(--dp-scheduler-message-bg-color);"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader.scheduler_default_rowheader_selected", "background-color: #aaa; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_rowheader_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; border-right: 1px solid var(--dp-scheduler-border-inner-color); padding: var(--dp-scheduler-rowheader-padding); display: flex; align-items: var(--dp-scheduler-rowheader-vertical-align);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner", "position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner", "border-bottom: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner, .scheduler_default_timeheader_float", "display: flex; align-items: var(--dp-scheduler-timeheader-vertical-align); justify-content: var(--dp-scheduler-timeheader-horizontal-align); padding: var(--dp-scheduler-timeheader-padding);"), e.add(".scheduler_default_divider, .scheduler_default_splitter", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_divider_horizontal", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_matrix_vertical_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_matrix_vertical_break", "background-color: var(--dp-scheduler-grid-line-break-color);"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_resourcedivider", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-scheduler-shadow-color); border: 1px solid var(--dp-scheduler-shadow-border-color); opacity: 0.5; height: 100%;"), e.add(".scheduler_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,.2);"), e.add(".scheduler_default_event", "font-size: var(--dp-scheduler-font-size); color: var(--dp-scheduler-event-color); border-radius: var(--dp-scheduler-event-border-radius); box-shadow: var(--dp-scheduler-event-box-shadow);"), e.add(".scheduler_default_event_inner", "position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; border-radius: var(--dp-scheduler-event-border-radius); padding: var(--dp-scheduler-event-padding); overflow: hidden; border: var(--dp-scheduler-event-border); display: flex; align-items: var(--dp-scheduler-event-vertical-align); justify-content: var(--dp-scheduler-event-horizontal-align); background: var(--dp-scheduler-event-background);"), e.add(".scheduler_default_event_bar", "display: var(--dp-scheduler-event-bar-display);top: var(--dp-scheduler-event-bar-top); left: var(--dp-scheduler-event-bar-left); right: var(--dp-scheduler-event-bar-right); height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-bg-color);"), e.add(".scheduler_default_event_bar_inner", "position:absolute; height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-color);"), e.add(".scheduler_default_event_float", "display: flex; align-items: center;"), e.add(".scheduler_default_event_float_inner", "padding: var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) 8px; position: relative;"), 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: calc(50% - 5px); left:-4px;'), e.add(".scheduler_default_event_focus", "outline: var(--dp-scheduler-focus-outline-color) 2px solid; z-index: 100; opacity: 0.5;"), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "box-sizing: border-box; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_splitter:hover", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_cell_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; padding: 2px; display: flex; align-items: center;"), e.add(".scheduler_default_cell", "background-color: var(--dp-scheduler-cell-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: var(--dp-scheduler-cell-business-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business.scheduler_default_cell_selected, .scheduler_default_cell.scheduler_default_cell_selected", "background-color: #ccc; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_tree_image_no_children", ""), e.add(".scheduler_default_tree_image_expand", "background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGQ9J00gMS41IDAuNSBMIDYuNSA1IEwgMS41IDkuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6Izk5OTk5OTtzdHJva2Utd2lkdGg6MjtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=);"), e.add(".scheduler_default_tree_image_collapse", "background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMS41IEwgNSA2LjUgTCA5LjUgMS41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==);"), e.add(".scheduler_default_event_delete", "background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTInIGhlaWdodD0nMTInIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgMTEuNSAxMS41IE0gMC41IDExLjUgTCAxMS41IDAuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6IzQ2NDY0NjtzdHJva2Utd2lkdGg6MztzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=) no-repeat center center; opacity: 0.6; cursor: pointer;"), e.add(".scheduler_default_event_delete:hover", "opacity: 1;"), e.add(".scheduler_default_rowmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".scheduler_default_rowmove_source", "background-color: black; opacity: 0.2;"), e.add(".scheduler_default_rowmove_position_before, .scheduler_default_rowmove_position_after", "background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_child", "margin-left: 20px; background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_forbidden", "background-color: #cc0000; height: 2px; margin-left: 20px;"), e.add(".scheduler_default_link_horizontal", "border-bottom-style: solid; border-bottom-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_vertical", "border-right-style: solid; border-right-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_arrow_right:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent var(--dp-scheduler-link-color); border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_left:before", "content: ''; border-width: 6px; border-color: transparent var(--dp-scheduler-link-color) transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_down:before", "content: ''; border-width: 6px; border-color: var(--dp-scheduler-link-color) transparent transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_up:before", "content: ''; border-width: 6px; border-color: transparent transparent var(--dp-scheduler-link-color) transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_horizontal", "border-bottom-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_vertical", "border-right-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_right:before", "border-color: transparent transparent transparent #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_left:before", "border-color: transparent #aaaaaa transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_down:before", "border-color: #aaaaaa transparent transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_up:before", "border-color: transparent transparent #aaaaaa transparent;"), e.add(".scheduler_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".scheduler_default_main .scheduler_default_event_group", "box-sizing: border-box; font-size: 13px; color: #666; padding: 2px; overflow:hidden; border:1px solid var(--dp-scheduler-event-border-color); background-color: #fff; display: flex; align-items: center; white-space: nowrap;"), e.add(".scheduler_default_main .scheduler_default_header_icon", "box-sizing: border-box; border: 1px solid var(--dp-scheduler-border-color); background-color: var(--dp-scheduler-header-bg-color); color: var(--dp-scheduler-header-color);"), e.add(".scheduler_default_header_icon:hover", "background-color: #ccc;"), e.add(".scheduler_default_header_icon_hide:before", "content: '\\00AB';"), e.add(".scheduler_default_header_icon_show:before", "content: '\\00BB';"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner", "padding-left: 10px; color: #666; cursor: text; background-position: 0px 50%; background-repeat: no-repeat; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABUSURBVChTY0ACslAaK2CC0iCQDMSlECYmQFYIAl1AjFUxukIQwKoYm0IQwFCMSyEIaEJpMMClcD4Qp0CYEIBNIUzRPzAPCtAVYlWEDgyAGIdTGBgAbqEJYyjqa3oAAAAASUVORK5CYII=);"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner:hover", "background: white; color: white;"), e.add(".scheduler_default_rowheader textarea", "padding: 3px;"), e.add(".scheduler_default_rowheader_scroll", "cursor: default; background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_shadow_forbidden .scheduler_default_shadow_inner, .scheduler_default_shadow_overlap .scheduler_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125;"), e.add(".scheduler_default_event_moving_source", "opacity: 0.5;"), e.add(".scheduler_default_linkpoint", "background-color: white; border: 1px solid gray; border-radius: 5px;"), e.add(".scheduler_default_linkpoint.scheduler_default_linkpoint_hover", "background-color: black;"), e.add(".scheduler_default_event.scheduler_default_event_version .scheduler_default_event_inner", "overflow:hidden; background-color: #cfdde8; background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_crosshair_vertical, .scheduler_default_crosshair_horizontal, .scheduler_default_crosshair_left, .scheduler_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".scheduler_default_link_dot", "border-radius: 10px; background-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_task_milestone .scheduler_default_event_inner", "position:absolute; top:16%; left:16%; right:16%; bottom:16%; background: var(--dp-scheduler-event-milestone-color); border: 0px none; transform: rotate(45deg); filter: none;"), e.add(".scheduler_default_event_left, .scheduler_default_event_right", "white-space: nowrap; color: #666; cursor: default; display: flex; align-items: center;");
201
+ e.add(".scheduler_default_main", ' --dp-scheduler-border-color: #c0c0c0; --dp-scheduler-border-inner-color: #e0e0e0; --dp-scheduler-cell-bg-color: #f9f9f9; --dp-scheduler-cell-business-bg-color: #ffffff; --dp-scheduler-event-background: linear-gradient(to bottom, var(--dp-scheduler-event-bg-top-color) 0%, var(--dp-scheduler-event-bg-bottom-color) 100%); --dp-scheduler-event-bg-bottom-color: #eeeeee; --dp-scheduler-event-bg-top-color: #ffffff; --dp-scheduler-event-bar-bg-color: #9dc8e8; --dp-scheduler-event-bar-color: #1066a8; --dp-scheduler-event-bar-display: block; --dp-scheduler-event-bar-height: 4px; --dp-scheduler-event-bar-left: 0px; --dp-scheduler-event-bar-right: 0px; --dp-scheduler-event-bar-top: 0px; --dp-scheduler-event-border: 1px solid var(--dp-scheduler-event-border-color); --dp-scheduler-event-border-color: #ccc; --dp-scheduler-event-border-radius: 0px; --dp-scheduler-event-box-shadow: none; --dp-scheduler-event-color: #333; --dp-scheduler-event-horizontal-align: flex-start; --dp-scheduler-event-milestone-color: #38761d; --dp-scheduler-event-padding: 2px; --dp-scheduler-event-selected-bg-color: #ddd; --dp-scheduler-event-vertical-align: center; --dp-scheduler-focus-outline-color: red; --dp-scheduler-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --dp-scheduler-font-size: 13px; --dp-scheduler-grid-line-break-color: #999; --dp-scheduler-grid-line-color: #eee; --dp-scheduler-header-bg-color: #f3f3f3; --dp-scheduler-header-color: #333; --dp-scheduler-link-color: #cc0000; --dp-scheduler-message-bg-color: #ffa216; --dp-scheduler-message-color: #ffffff; --dp-scheduler-message-padding: 10px; --dp-scheduler-rowheader-padding: 7px; --dp-scheduler-rowheader-vertical-align: center; --dp-scheduler-selectionrectangle-color: #1066a8; --dp-scheduler-shadow-border-color: #888888; --dp-scheduler-shadow-color: #bbbbbb; --dp-scheduler-timeheader-horizontal-align: center; --dp-scheduler-timeheader-padding: 0px; --dp-scheduler-timeheader-vertical-align: center;'), e.add(".scheduler_default_main *, .scheduler_default_main *:before, .scheduler_default_main *:after", "box-sizing: content-box;"), e.add(".scheduler_default_main, .scheduler_default_main svg text", "box-sizing: content-box; border: 1px solid var(--dp-scheduler-border-color); font-family: var(--dp-scheduler-font-family); font-size: var(--dp-scheduler-font-size);"), e.add(".scheduler_default_selected .scheduler_default_event_inner", "background: var(--dp-scheduler-event-selected-bg-color);"), e.add(".scheduler_default_timeheader_scroll", "background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_message", "opacity: 0.9; padding: var(--dp-scheduler-message-padding); color: var(--dp-scheduler-message-color); background: var(--dp-scheduler-message-bg-color);"), e.add(".scheduler_default_timeheadergroup,.scheduler_default_timeheadercol", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader,.scheduler_default_corner", "color: var(--dp-scheduler-header-color); background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_rowheader.scheduler_default_rowheader_selected", "background-color: #aaa; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_rowheader_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; border-right: 1px solid var(--dp-scheduler-border-inner-color); padding: var(--dp-scheduler-rowheader-padding); display: flex; align-items: var(--dp-scheduler-rowheader-vertical-align);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner", "position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner", "border-bottom: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_timeheadergroup_inner, .scheduler_default_timeheadercol_inner, .scheduler_default_timeheader_float", "display: flex; align-items: var(--dp-scheduler-timeheader-vertical-align); justify-content: var(--dp-scheduler-timeheader-horizontal-align); padding: var(--dp-scheduler-timeheader-padding);"), e.add(".scheduler_default_divider, .scheduler_default_splitter", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_divider_horizontal", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_matrix_vertical_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_matrix_vertical_break", "background-color: var(--dp-scheduler-grid-line-break-color);"), e.add(".scheduler_default_matrix_horizontal_line", "background-color: var(--dp-scheduler-grid-line-color);"), e.add(".scheduler_default_resourcedivider", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_shadow_inner", "box-sizing: border-box; background-color: var(--dp-scheduler-shadow-color); border: 1px solid var(--dp-scheduler-shadow-border-color); border-radius: var(--dp-scheduler-event-border-radius); opacity: 0.5; height: 100%;"), e.add(".scheduler_default_shadow", "box-shadow: 0 2px 5px rgba(0,0,0,.2); border-radius: var(--dp-scheduler-event-border-radius);"), e.add(".scheduler_default_event", "font-size: var(--dp-scheduler-font-size); color: var(--dp-scheduler-event-color); border-radius: var(--dp-scheduler-event-border-radius); box-shadow: var(--dp-scheduler-event-box-shadow);"), e.add(".scheduler_default_event_inner", "position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px; border-radius: var(--dp-scheduler-event-border-radius); padding: var(--dp-scheduler-event-padding); overflow: hidden; border: var(--dp-scheduler-event-border); display: flex; align-items: var(--dp-scheduler-event-vertical-align); justify-content: var(--dp-scheduler-event-horizontal-align); background: var(--dp-scheduler-event-background);"), e.add(".scheduler_default_event_bar", "display: var(--dp-scheduler-event-bar-display);top: var(--dp-scheduler-event-bar-top); left: var(--dp-scheduler-event-bar-left); right: var(--dp-scheduler-event-bar-right); height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-bg-color);"), e.add(".scheduler_default_event_bar_inner", "position:absolute; height: var(--dp-scheduler-event-bar-height); background-color: var(--dp-scheduler-event-bar-color);"), e.add(".scheduler_default_event_float", "display: flex; align-items: center;"), e.add(".scheduler_default_event_float_inner", "padding: var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) var(--dp-scheduler-event-padding) 8px; position: relative;"), 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: calc(50% - 5px); left:-4px;'), e.add(".scheduler_default_event_focus", "outline: var(--dp-scheduler-focus-outline-color) 2px solid; z-index: 100; opacity: 0.5;"), e.add(".scheduler_default_columnheader_inner", "font-weight: bold;"), e.add(".scheduler_default_columnheader_splitter", "box-sizing: border-box; border-right: 1px solid var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_splitter:hover", "background-color: var(--dp-scheduler-border-color);"), e.add(".scheduler_default_columnheader_cell_inner", "position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; padding: 2px; display: flex; align-items: center;"), e.add(".scheduler_default_cell", "background-color: var(--dp-scheduler-cell-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business", "background-color: var(--dp-scheduler-cell-business-bg-color);"), e.add(".scheduler_default_cell.scheduler_default_cell_business.scheduler_default_cell_selected, .scheduler_default_cell.scheduler_default_cell_selected", "background-color: #ccc; background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_tree_image_no_children", ""), e.add(".scheduler_default_tree_image_expand", "background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnPjxwYXRoIGQ9J00gMS41IDAuNSBMIDYuNSA1IEwgMS41IDkuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6Izk5OTk5OTtzdHJva2Utd2lkdGg6MjtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=);"), e.add(".scheduler_default_tree_image_collapse", "background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMS41IEwgNSA2LjUgTCA5LjUgMS41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==);"), e.add(".scheduler_default_event_delete", "background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTInIGhlaWdodD0nMTInIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgMTEuNSAxMS41IE0gMC41IDExLjUgTCAxMS41IDAuNScgc3R5bGU9J2ZpbGw6bm9uZTtzdHJva2U6IzQ2NDY0NjtzdHJva2Utd2lkdGg6MztzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLWxpbmVjYXA6YnV0dCcgLz48L3N2Zz4=) no-repeat center center; opacity: 0.6; cursor: pointer;"), e.add(".scheduler_default_event_delete:hover", "opacity: 1;"), e.add(".scheduler_default_rowmove_handle", "background-repeat: no-repeat; background-position: center center; background-color: #ccc; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAKCAYAAACT+/8OAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjExR/NCNwAAAClJREFUGFdj+P//P4O9vX2Bg4NDP4gNFgBytgPxebgAMsYuQGMz/jMAAFsTZDPYJlDHAAAAAElFTkSuQmCC); cursor: move;"), e.add(".scheduler_default_rowmove_source", "background-color: black; opacity: 0.2;"), e.add(".scheduler_default_rowmove_position_before, .scheduler_default_rowmove_position_after", "background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_child", "margin-left: 20px; background-color: #999; height: 2px;"), e.add(".scheduler_default_rowmove_position_forbidden", "background-color: #cc0000; height: 2px; margin-left: 20px;"), e.add(".scheduler_default_link_horizontal", "border-bottom-style: solid; border-bottom-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_vertical", "border-right-style: solid; border-right-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_arrow_right:before", "content: ''; border-width: 6px; border-color: transparent transparent transparent var(--dp-scheduler-link-color); border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_left:before", "content: ''; border-width: 6px; border-color: transparent var(--dp-scheduler-link-color) transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_down:before", "content: ''; border-width: 6px; border-color: var(--dp-scheduler-link-color) transparent transparent transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_arrow_up:before", "content: ''; border-width: 6px; border-color: transparent transparent var(--dp-scheduler-link-color) transparent; border-style: solid; width: 0; height:0; position: absolute;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_horizontal", "border-bottom-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_vertical", "border-right-color: #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_right:before", "border-color: transparent transparent transparent #aaaaaa;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_left:before", "border-color: transparent #aaaaaa transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_down:before", "border-color: #aaaaaa transparent transparent transparent;"), e.add(".scheduler_default_link_mshadow.scheduler_default_link_arrow_up:before", "border-color: transparent transparent #aaaaaa transparent;"), e.add(".scheduler_default_block", "background-color: #808080; opacity: 0.5;"), e.add(".scheduler_default_main .scheduler_default_event_group", "box-sizing: border-box; font-size: 13px; color: #666; padding: 2px; overflow:hidden; border:1px solid var(--dp-scheduler-event-border-color); background-color: #fff; display: flex; align-items: center; white-space: nowrap;"), e.add(".scheduler_default_main .scheduler_default_header_icon", "box-sizing: border-box; border: 1px solid var(--dp-scheduler-border-color); background-color: var(--dp-scheduler-header-bg-color); color: var(--dp-scheduler-header-color);"), e.add(".scheduler_default_header_icon:hover", "background-color: #ccc;"), e.add(".scheduler_default_header_icon_hide:before", "content: '\\00AB';"), e.add(".scheduler_default_header_icon_show:before", "content: '\\00BB';"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner", "padding-left: 10px; color: #666; cursor: text; background-position: 0px 50%; background-repeat: no-repeat; background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABUSURBVChTY0ACslAaK2CC0iCQDMSlECYmQFYIAl1AjFUxukIQwKoYm0IQwFCMSyEIaEJpMMClcD4Qp0CYEIBNIUzRPzAPCtAVYlWEDgyAGIdTGBgAbqEJYyjqa3oAAAAASUVORK5CYII=);"), e.add(".scheduler_default_row_new .scheduler_default_rowheader_inner:hover", "background: white; color: white;"), e.add(".scheduler_default_rowheader textarea", "padding: 3px;"), e.add(".scheduler_default_rowheader_scroll", "cursor: default; background: var(--dp-scheduler-header-bg-color);"), e.add(".scheduler_default_shadow_forbidden .scheduler_default_shadow_inner, .scheduler_default_shadow_overlap .scheduler_default_shadow_inner", "border: 1px solid #cc0000; background: #cc4125;"), e.add(".scheduler_default_event_moving_source", "opacity: 0.5;"), e.add(".scheduler_default_linkpoint", "background-color: white; border: 1px solid gray; border-radius: 5px;"), e.add(".scheduler_default_linkpoint.scheduler_default_linkpoint_hover", "background-color: black;"), e.add(".scheduler_default_event.scheduler_default_event_version .scheduler_default_event_inner", "overflow:hidden; background-color: #cfdde8; background-image: linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent); background-size: 20px 20px;"), e.add(".scheduler_default_crosshair_vertical, .scheduler_default_crosshair_horizontal, .scheduler_default_crosshair_left, .scheduler_default_crosshair_top", "background-color: gray; opacity: 0.2;"), e.add(".scheduler_default_link_dot", "border-radius: 10px; background-color: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_task_milestone .scheduler_default_event_inner", "position:absolute; top:16%; left:16%; right:16%; bottom:16%; background: var(--dp-scheduler-event-milestone-color); border: 0px none; transform: rotate(45deg); filter: none;"), e.add(".scheduler_default_event_left, .scheduler_default_event_right", "white-space: nowrap; color: #666; cursor: default; display: flex; align-items: center;");
202
202
  e.add(".scheduler_default_main:focus", "outline: none;");
203
203
  e.add(".scheduler_default_cell_focus", "outline: var(--dp-scheduler-focus-outline-color) 2px solid; outline-offset: -2px; z-index: 100; opacity: 0.5;"), e.add(".scheduler_default_cell_focus.scheduler_default_cell_focus_top", "border-top: 4px solid var(--dp-scheduler-focus-outline-color);"), e.add(".scheduler_default_cell_focus.scheduler_default_cell_focus_bottom", "border-bottom: 4px solid var(--dp-scheduler-focus-outline-color);"), e.add(".scheduler_default_selectionrectangle", "background-color: var(--dp-scheduler-selectionrectangle-color); border: 1px solid #000033; opacity: 0.4;"), e.add(".scheduler_default_link_shadow", "border:1px solid black;"), e.add(".scheduler_default_link_shadow_circle", "background-color:black;"), e.add(".scheduler_default_event_move_left", "box-sizing: border-box; padding: 2px; border: 1px solid #ccc; background: #fff; background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); display: flex; align-items: center;"), e.add(".scheduler_default_event_move_right", "box-sizing: border-box; padding: 2px; border: 1px solid #ccc; background: #fff; background: linear-gradient(to bottom, #ffffff 0%, #eeeeee); display: flex; align-items: center;"), e.add(".scheduler_default_link_hover", "box-shadow: 0px 0px 2px 2px rgba(255, 0, 0, 0.3)"), e.add(".scheduler_default_sorticon", "opacity: 0.2;background-position: center center; background-repeat: no-repeat; cursor: pointer;"), e.add(".scheduler_default_sorticon.scheduler_default_sorticon_asc", "background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBvbHlnb24gcG9pbnRzPSI1IDEuNSwgMTAgMTAsIDAgMTAiLz48L3N2Zz4=');"), e.add(".scheduler_default_sorticon.scheduler_default_sorticon_desc", "background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBvbHlnb24gcG9pbnRzPSI1IDguNSwgMCAwLCAxMCAwIi8+PC9zdmc+');"), e.add(".scheduler_default_sorticon.scheduler_default_sorticon_active", "opacity: 1;"), e.add(".scheduler_default_loading", "background-color: orange; color: white; padding: 2px;"), e.add(".scheduler_default_link_curve", "stroke: var(--dp-scheduler-link-color); fill: none; stroke-width: 2;"), e.add(".scheduler_default_link_curve:hover", "stroke-opacity: 0.5;"), e.add(".scheduler_default_link_curve_dot", "fill: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_curve_marker", "fill: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_curve_text", "fill: var(--dp-scheduler-link-color);"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve", "stroke: #aaaaaa;"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve_dot", "fill: #aaaaaa;"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve_marker", "fill: #aaaaaa;"), e.add(".scheduler_default_link_curve_mshadow.scheduler_default_link_curve_text", "fill: #aaaaaa;"), e.commit(), DayPilot.Global.defaultCss = !0;
204
204
  }
@@ -363,16 +363,10 @@ if (function () {
363
363
  DayPilot.reNonPassive(d, DayPilot.touch.start, y), DayPilot.reNonPassive(d, DayPilot.touch.end, b);
364
364
  }
365
365
  if ("Bubble" === n.action && t.isEvent && t.calendar.internal.touch) {
366
- var y = function (e, t, n) {
367
- return function (e) {
368
- e.cancelBubble = !0, e.preventDefault();
369
- var i = a(n, t, e);
370
- if (!i.preventDefault.value) {
371
- o(t, n, e);
372
- t.calendar.internal.touch.preventEventTap = !0, "function" == typeof n.onClicked && n.onClicked(i);
373
- }
374
- };
375
- }(l, t, n), b = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); }; }(l, t, n);
366
+ var y = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); var i = a(n, t, e); if (!i.preventDefault.value) {
367
+ o(t, n, e);
368
+ t.calendar.internal.touch.preventEventTap = !0, "function" == typeof n.onClicked && n.onClicked(i);
369
+ } }; }(l, t, n), b = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); }; }(l, t, n);
376
370
  DayPilot.reNonPassive(d, DayPilot.touch.start, y), DayPilot.reNonPassive(d, DayPilot.touch.end, b);
377
371
  }
378
372
  if ("Move" === n.action && t.isEvent && t.calendar.internal.touch) {
@@ -685,7 +679,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
685
679
  if (this instanceof t.Calendar && !this.P && (o = !0, this.P = !0), !o)
686
680
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
687
681
  var r = this;
688
- this.uniqueID = null, this.isCalendar = !0, this.v = "2025.2.674-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.cellDuration = 30, this.cellHeight = 30, this.columnMarginLeft = 0, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventBorderRadius = null, this.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.snapToGrid = !0, this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeHeaderRender = 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.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.Q = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.R(); }, this.R = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.S = function (e, t, n) { var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); __doPostBack(r.uniqueID, a); }, this.U = function (e, t, n) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { r.loadingStart(); }, 100); var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); this.backendUrl ? DayPilot.request(this.backendUrl, this.V, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.W, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = r; e.Q || (e.Q = !0, clearInterval(e.X), e.Y(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.Z(), e._(), e.nav.select = null, e.nav.cornerRight = null, e.nav.scrollable = null, e.nav.zoom = null, e.nav.loading = null, e.nav.header = null, e.nav.hourTable = null, e.nav.scrolltop = null, e.nav.scroll.onscroll = null, e.nav.scroll = null, e.nav.main = null, e.nav.message = null, e.nav.messageClose = null, e.nav.top = null, t.unregister(e)); }, this.disposed = function () { return this.Q; }, this.aa = function () { this.nav.top.dispose = this.dispose; }, this.V = function (e) { r.W(e.responseText); }, this.T = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = r.days, e.startDate = r.startDate, e.heightSpec = r.heightSpec, e.businessBeginsHour = r.businessBeginsHour, e.businessEndsHour = r.businessEndsHour, e.hashes = r.hashes, e.timeFormat = r.timeFormat, e.viewType = r.viewType, e.locale = r.locale, e; }, this.ba = function (e, t) { for (var n = e.parentNode; n && "TD" !== n.tagName;)
682
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.684-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.cellDuration = 30, this.cellHeight = 30, this.columnMarginLeft = 0, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventBorderRadius = null, this.eventsLoadMethod = "GET", this.headerDateFormat = null, this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelHtml = null, this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.locale = "en-us", this.snapToGrid = !0, this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeHeaderRender = 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.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.Q = !1, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.R(); }, this.R = function () { DayPilot.de(r.elements.selection), r.elements.selection = [], r.nav.activeSelection = null; }, this.cleanSelection = this.clearSelection, this.S = function (e, t, n) { var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); __doPostBack(r.uniqueID, a); }, this.U = function (e, t, n) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { r.loadingStart(); }, 100); var i = {}; i.action = e, i.parameters = n, i.data = t, i.header = this.T(); var a = "JSON" + DayPilot.JSON.stringify(i); this.backendUrl ? DayPilot.request(this.backendUrl, this.V, a, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, a, this.W, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = r; e.Q || (e.Q = !0, clearInterval(e.X), e.Y(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.Z(), e._(), e.nav.select = null, e.nav.cornerRight = null, e.nav.scrollable = null, e.nav.zoom = null, e.nav.loading = null, e.nav.header = null, e.nav.hourTable = null, e.nav.scrolltop = null, e.nav.scroll.onscroll = null, e.nav.scroll = null, e.nav.main = null, e.nav.message = null, e.nav.messageClose = null, e.nav.top = null, t.unregister(e)); }, this.disposed = function () { return this.Q; }, this.aa = function () { this.nav.top.dispose = this.dispose; }, this.V = function (e) { r.W(e.responseText); }, this.T = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = r.days, e.startDate = r.startDate, e.heightSpec = r.heightSpec, e.businessBeginsHour = r.businessBeginsHour, e.businessEndsHour = r.businessEndsHour, e.hashes = r.hashes, e.timeFormat = r.timeFormat, e.viewType = r.viewType, e.locale = r.locale, e; }, this.ba = function (e, t) { for (var n = e.parentNode; n && "TD" !== n.tagName;)
689
683
  n = n.parentNode; var i = r.eventBorderRadius; "number" == typeof i && (i += "px"); var a = document.createElement("div"); a.setAttribute("unselectable", "on"), a.style.position = "absolute", a.style.width = e.offsetWidth + "px", a.style.height = e.offsetHeight + "px", a.style.left = e.offsetLeft + "px", a.style.top = e.offsetTop + "px", a.style.boxSizing = "border-box", a.style.zIndex = 101, a.className = r.L("_shadow"); var o = document.createElement("div"); return o.className = r.L("_shadow_inner"), i && (o.style.borderRadius = i, a.style.borderRadius = i), a.appendChild(o), n.firstChild.appendChild(a), a; }, this.ca = {}, this.ca.locale = function () { var e = DayPilot.Locale.find(r.locale); return e ? e : DayPilot.Locale.US; }, this.ca.timeFormat = function () { return "Auto" !== r.timeFormat ? r.timeFormat : this.locale().timeFormat; }, this.ca.da = function () { return "Disabled" !== r.xssProtection; }, this.ca.ea = function () { if ("Auto" === r.weekStarts) {
690
684
  var e = s.locale();
691
685
  return e ? e.weekStarts : 0;
@@ -1138,10 +1132,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1138
1132
  var t = this.data, n = r.jb(t), i = {};
1139
1133
  i.header = {}, i.header.id = t.id, i.header.name = t.name, i.header.start = t.start, i.column = n, i.originalEvent = e, i.shift = e.shiftKey, i.ctrl = e.ctrlKey, i.meta = e.metaKey, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof r.onHeaderClick && (r.onHeaderClick(i), i.preventDefault.value) || "function" == typeof r.onHeaderClicked && r.onHeaderClicked(i);
1140
1134
  } }, this.jb = function (e) { return new DayPilot.CalendarColumn(e, r); }, this.kb = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.ja = function () { var e = this.nav.header, t = !0, n = this.za; for (n.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
1141
- this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.hb(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) {
1142
- var n = {};
1143
- n.command = e, this.U("Command", t, n);
1144
- }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.lb = function () { var e = this.nav.scroll; e.root = this, r.mb(), e.onscroll || (e.onscroll = function () { r.nb(); }); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.ob = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.pb = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp)); }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
1135
+ this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0); this.headerCreated = !0; this.hb(t); }, this.loadingStart = function () {
1136
+ this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText,
1137
+ this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = "");
1138
+ }, this.commandCallBack = function (e, t) { var n = {}; n.command = e, this.U("Command", t, n); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.lb = function () { var e = this.nav.scroll; e.root = this, r.mb(), e.onscroll || (e.onscroll = function () { r.nb(); }); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.ob = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.pb = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp)); }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
1145
1139
  t = e.data;
1146
1140
  else {
1147
1141
  if ("object" != typeof e)
@@ -1325,7 +1319,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1325
1319
  var DayPilot = {};
1326
1320
  if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
1327
1321
  "use strict";
1328
- "undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.2.674-lite"; var t = "navigator_" + (new Date).getTime(), n = this; this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () { if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.ca.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1322
+ "undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.3.684-lite"; var t = "navigator_" + (new Date).getTime(), n = this; this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () { if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.ca.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1329
1323
  for (var t in e)
1330
1324
  this[t] = e[t]; }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.Nb(); this.resetTarget && !e ? this.Ob(this.date) : !this.resetTarget && e && (n.date = e); var t = this.D(); return t && t.addEventListener("input", function () { n.date = n.Nb(), n.date && n.navigator.select(n.date, { dontNotify: !0 }); }), this; }, this.close = function () { document.removeEventListener("mousedown", n.close), document.removeEventListener("wheel", n.close), window.removeEventListener("resize", n.close), n.Cb && (n.Cb = !1, n.navigator && n.navigator.dispose(), n.div.innerHTML = "", n.div && n.div.parentNode === document.body && document.body.removeChild(n.div)); }, this.Pb = function (e) { this.date = new DayPilot.Date(e), this.Ob(this.date); }, this.select = function (e) { var t = {}; t.date = new DayPilot.Date(e), t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onTimeRangeSelect && (n.onTimeRangeSelect(t), t.preventDefault.value) || (this.Pb(e), "function" == typeof n.onTimeRangeSelected && n.onTimeRangeSelected(t)); }, this.Nb = function () { var e = this.D(); if (!e)
1331
1325
  return this.date; var t = null; if (t = "INPUT" === e.tagName ? e.value : e.innerText, !t)
@@ -1359,7 +1353,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1359
1353
  "use strict";
1360
1354
  if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
1361
1355
  var e = function () { }, t = {};
1362
- t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (n) { var i = this, a = null; this.v = "2025.2.674-lite", this.zIndex = 120, this.cssClassPrefix = "menu_default", this.cssOnly = !0, this.menuTitle = null, this.showMenuTitle = !1, this.hideOnMouseOut = !1, this.hideAfter = 200, this.theme = null, this.onShow = null, this.Rb = function () { }, n && DayPilot.isArray(n) && (this.items = n), this.toJSON = function () { return null; }, this.show = function (n, o) { o = o || {}; var r = null; if (n ? "string" == typeof n.id || "number" == typeof n.id ? r = n.id : "function" == typeof n.id ? r = n.id() : "function" == typeof n.value && (r = n.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.Rb.submenu = null, null !== t.mouse) {
1356
+ t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (n) { var i = this, a = null; this.v = "2025.3.684-lite", this.zIndex = 120, this.cssClassPrefix = "menu_default", this.cssOnly = !0, this.menuTitle = null, this.showMenuTitle = !1, this.hideOnMouseOut = !1, this.hideAfter = 200, this.theme = null, this.onShow = null, this.Rb = function () { }, n && DayPilot.isArray(n) && (this.items = n), this.toJSON = function () { return null; }, this.show = function (n, o) { o = o || {}; var r = null; if (n ? "string" == typeof n.id || "number" == typeof n.id ? r = n.id : "function" == typeof n.id ? r = n.id() : "function" == typeof n.value && (r = n.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.Rb.submenu = null, null !== t.mouse) {
1363
1357
  i.cssOnly || (i.cssOnly = !0);
1364
1358
  var s = null;
1365
1359
  if (n && n.isRow && n.$.row.task ? (s = new DayPilot.Task(n.$.row.task, n.calendar), s.menuType = "resource") : s = n && n.isEvent && n.data.task ? new DayPilot.Task(n, n.calendar) : n, "function" == typeof i.onShow) {
@@ -1473,8 +1467,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1473
1467
  l = e; i.Rb.x = l, d.style.left = l + "px"; }(), o.parentLink) {
1474
1468
  var N = o.parentLink, I = parseInt(new DayPilot.StyleReader(d).get("border-top-width")), R = DayPilot.abs(o.parentLink.parentNode), L = R.x + N.offsetWidth, z = R.y - I;
1475
1469
  L + T > E && (L = Math.max(0, R.x - T));
1476
- var U = document.body.scrollTop + document.documentElement.scrollTop;
1477
- z + M - U > A && (z = Math.max(0, A - M + U)), d.style.left = L + "px", d.style.top = z + "px";
1470
+ var B = document.body.scrollTop + document.documentElement.scrollTop;
1471
+ z + M - B > A && (z = Math.max(0, A - M + B)), d.style.left = L + "px", d.style.top = z + "px";
1478
1472
  }
1479
1473
  d.style.display = "", this.addShadow(d), this.Rb.div = d, o.submenu || (DayPilot.Menu.active = this);
1480
1474
  } }, this.update = function () { if (i.Rb.visible) {
@@ -1556,8 +1550,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1556
1550
  throw "No CSS registration method found";
1557
1551
  t.sheet.addRule(e, i, a);
1558
1552
  } }, e; }, i = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxwYXRoCiAgICAgICBpZD0icGF0aDMxNzMiCiAgICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoxLjg1MTk2ODUzO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICAgIGQ9Ik0gMC45NTQxNDgzOCwwLjY4MTYwMzEgNS4wMzkwNjI1LDUuNDExNTM4NiA5LjEyMzk3NjYsMC42ODE2MDMxIgogICAgICAgIC8+CiAgPC9nPgo8L3N2Zz4K", a = new n;
1559
- a.add(".modal_default_main", "border: 10px solid #ccc; max-width: 90%;"), a.add(".modal_default_main:focus", "outline: none;"), a.add(".modal_default_content", "padding: 10px 0px;"), a.add(".modal_default_inner", "padding: 20px;"), a.add(".modal_default_input", "padding: 10px 0px;"), a.add(".modal_default_buttons", "margin-top: 10px;"), a.add(".modal_default_buttons", "padding: 10px 0px;"), a.add(".modal_default_form_item", "padding: 10px 0px; position: relative;"), a.add(".modal_default_form_item_level1", "border-left: 2px solid #ccc; margin-left: 10px; padding-left: 20px;"), a.add(".modal_default_form_item.modal_default_form_title", "font-size: 1.5rem; font-weight: bold;"),
1560
- a.add(".modal_default_form_item input[type=text]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item textarea", "width: 100%; height: 200px; box-sizing: border-box;"), a.add(".modal_default_form_item input[type=select]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item label", "display: block;"), a.add(".modal_default_form_item select", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item_label", "margin: 2px 0px;"), a.add(".modal_default_form_item_image img", "max-width: 100%; height: auto;"), a.add(".modal_default_form_item_invalid", ""), a.add(".modal_default_form_item_invalid_message", "position: absolute; right: 0px; top: 9px; background-color: red; color: #ffffff; padding: 2px; border-radius: 2px;"), a.add(".modal_default_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_default_ok", "padding: 3px; width: 80px;"), a.add(".modal_default_cancel", "padding: 3px; width: 80px;"), a.add(".modal_default_form_item_date", "position: relative;"), a.add(".modal_default_form_item_date:after", "content: ''; position: absolute; right: 7px; top: 50%; margin-top: 3px; width: 10px; height: 15px; background-image:url(" + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3NSIKICAgICAgIHk9Ii0zLjAwOTk5NTciCiAgICAgICByeT0iMS4zMTE4NTA1IiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNjY2NjY2M7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNTk4MTQwMTI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MTkzMCIKICAgICAgIHdpZHRoPSIxLjUzNDQxMzYiCiAgICAgICBoZWlnaHQ9IjIuMjE5ODI1IgogICAgICAgeD0iMi4xNTU4NDgzIgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHJ5PSIwLjY3MTc4OTE3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iMS41MjM5NTA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QxOTQ4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjY3MTc4OTE3IgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHg9IjYuNDUyNzIzNSIKICAgICAgIGhlaWdodD0iMi4yMTk4MjUiCiAgICAgICB3aWR0aD0iMS41MzQ0MTM2IgogICAgICAgaWQ9InJlY3QyMDAzIgogICAgICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS41OTgxNDAxMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAwNSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIHk9Ii0xLjE2NTg0NjYiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iNi45OTI3MDA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDA3IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAxMyIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjEuNTIzOTUwNiIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHJ5PSIwLjI5NjAxNDciIC8+CiAgICA8cmVjdAogICAgICAgcnk9IjAuMjk2MDE0NyIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGlkPSJyZWN0MjAxNSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDIwMTciCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB4PSI2Ljk5MjcwMDYiCiAgICAgICB5PSIxLjgwMjkwMzQiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSI0LjczMjU5MDciCiAgICAgICB4PSIxLjU2MzAxMzEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBpZD0icmVjdDIwMTkiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgaWQ9InJlY3QyMDIxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==" + ")"), "undefined" != typeof navigator && navigator.userAgent.indexOf("Edge") !== -1 && a.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), a.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), a.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), a.add(".modal_default_form_item_searchable", "position: relative;"), a.add(".modal_default_form_item_searchable_icon", ""), a.add(".modal_default_form_item_searchable_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_time", "position: relative;"), a.add(".modal_default_form_item_time_icon", ""), a.add(".modal_default_form_item_time_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_datetime_parent", "display: flex;"), a.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), a.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), a.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), a.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), a.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), a.add(".modal_default_form_item_tabular_row", "display: table-row;"), a.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), a.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), a.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), a.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), a.add(".modal_default_form_item_tabular_table input[type=text], .modal_default_form_item_tabular_table input[type=number]", "width:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_plus", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_plus:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSA1LjAgMC41IEwgNS4wIDkuNSBNIDAuNSA1LjAgTCA5LjUgNS4wJyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_delete", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_delete:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgOS41IDkuNSBNIDAuNSA5LjUgTCA5LjUgMC41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), a.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), a.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), a.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), a.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_min_ok", "padding: 3px 10px;"), a.add(".modal_min_cancel", "padding: 3px 10px;"), a.add(".navigator_modal_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;"), a.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), a.add(".navigator_modal_month", "font-size: 11px;"), a.add(".navigator_modal_day", "color: black;"), a.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), a.add(".navigator_modal_dayheader", "color: black;"), a.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), a.add(".navigator_modal_dayother", "color: gray;"), a.add(".navigator_modal_todaybox", "border: 1px solid red;"), a.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), a.add(".navigator_modal_busy", "font-weight: bold;"), a.add(".navigator_modal_cell", "text-align: center;"), a.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), a.add(".navigator_modal_title", "text-align: center;"), a.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), a.add(".navigator_modal_dayheader", "text-align: center;"), a.add(".navigator_modal_weeknumber", "text-align: center;"), a.add(".navigator_modal_cell_text", "cursor: pointer;"), a.add(".navigator_modal_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), a.add(".navigator_modal_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "), a.commit(), DayPilot.Modal = function (e) { this.autoFocus = !0, this.focus = null, this.autoStretch = !0, this.autoStretchFirstLoadOnly = !1, this.className = null, this.theme = "modal_default", this.disposeOnClose = !0, this.dragDrop = !0, this.loadingHtml = null, this.maxHeight = null, this.scrollWithPage = !0, this.useIframe = !0, this.zIndex = 99999, this.left = null, this.width = 600, this.top = 20, this.height = 200, this.locale = null, this.closed = null, this.onClose = null, this.onClosed = null, this.onShow = null; var t = this; this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Zb = !1, this.$b = null, this._b = null, this.showHtml = function (e) { if (DayPilot.ModalStatic.displayed(this))
1553
+ a.add(".modal_default_main", "border: 10px solid #ccc; max-width: 90%;"), a.add(".modal_default_main:focus", "outline: none;"), a.add(".modal_default_content", "padding: 10px 0px;"), a.add(".modal_default_inner", "padding: 20px;"), a.add(".modal_default_input", "padding: 10px 0px;"), a.add(".modal_default_buttons", "margin-top: 10px;"), a.add(".modal_default_buttons", "padding: 10px 0px;"), a.add(".modal_default_form_item", "padding: 10px 0px; position: relative;"), a.add(".modal_default_form_item_level1", "border-left: 2px solid #ccc; margin-left: 10px; padding-left: 20px;"),
1554
+ a.add(".modal_default_form_item.modal_default_form_title", "font-size: 1.5rem; font-weight: bold;"), a.add(".modal_default_form_item input[type=text]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item textarea", "width: 100%; height: 200px; box-sizing: border-box;"), a.add(".modal_default_form_item input[type=select]", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item label", "display: block;"), a.add(".modal_default_form_item select", "width: 100%; box-sizing: border-box;"), a.add(".modal_default_form_item_label", "margin: 2px 0px;"), a.add(".modal_default_form_item_image img", "max-width: 100%; height: auto;"), a.add(".modal_default_form_item_invalid", ""), a.add(".modal_default_form_item_invalid_message", "position: absolute; right: 0px; top: 9px; background-color: red; color: #ffffff; padding: 2px; border-radius: 2px;"), a.add(".modal_default_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_default_ok", "padding: 3px; width: 80px;"), a.add(".modal_default_cancel", "padding: 3px; width: 80px;"), a.add(".modal_default_form_item_date", "position: relative;"), a.add(".modal_default_form_item_date:after", "content: ''; position: absolute; right: 7px; top: 50%; margin-top: 3px; width: 10px; height: 15px; background-image:url(" + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3NSIKICAgICAgIHk9Ii0zLjAwOTk5NTciCiAgICAgICByeT0iMS4zMTE4NTA1IiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNjY2NjY2M7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNTk4MTQwMTI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MTkzMCIKICAgICAgIHdpZHRoPSIxLjUzNDQxMzYiCiAgICAgICBoZWlnaHQ9IjIuMjE5ODI1IgogICAgICAgeD0iMi4xNTU4NDgzIgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHJ5PSIwLjY3MTc4OTE3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iMS41MjM5NTA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QxOTQ4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjY3MTc4OTE3IgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHg9IjYuNDUyNzIzNSIKICAgICAgIGhlaWdodD0iMi4yMTk4MjUiCiAgICAgICB3aWR0aD0iMS41MzQ0MTM2IgogICAgICAgaWQ9InJlY3QyMDAzIgogICAgICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS41OTgxNDAxMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAwNSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIHk9Ii0xLjE2NTg0NjYiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iNi45OTI3MDA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDA3IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAxMyIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjEuNTIzOTUwNiIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHJ5PSIwLjI5NjAxNDciIC8+CiAgICA8cmVjdAogICAgICAgcnk9IjAuMjk2MDE0NyIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGlkPSJyZWN0MjAxNSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDIwMTciCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB4PSI2Ljk5MjcwMDYiCiAgICAgICB5PSIxLjgwMjkwMzQiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSI0LjczMjU5MDciCiAgICAgICB4PSIxLjU2MzAxMzEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBpZD0icmVjdDIwMTkiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgaWQ9InJlY3QyMDIxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==" + ")"), "undefined" != typeof navigator && navigator.userAgent.indexOf("Edge") !== -1 && a.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), a.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), a.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), a.add(".modal_default_form_item_searchable", "position: relative;"), a.add(".modal_default_form_item_searchable_icon", ""), a.add(".modal_default_form_item_searchable_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_time", "position: relative;"), a.add(".modal_default_form_item_time_icon", ""), a.add(".modal_default_form_item_time_icon:after", "content:''; position: absolute; right: 5px; top: 50%; margin-top: -8px; width: 10px; height: 15px; background-image:url(" + i + ");"), a.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), a.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), a.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), a.add(".modal_default_form_item_datetime_parent", "display: flex;"), a.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), a.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), a.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), a.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), a.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), a.add(".modal_default_form_item_tabular_row", "display: table-row;"), a.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), a.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), a.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), a.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), a.add(".modal_default_form_item_tabular_table input[type=text], .modal_default_form_item_tabular_table input[type=number]", "width:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), a.add(".modal_default_form_item_tabular_plus", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_plus:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSA1LjAgMC41IEwgNS4wIDkuNSBNIDAuNSA1LjAgTCA5LjUgNS4wJyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_delete", "display: inline-block; background-color: #ccc; color: white; width: 20px; height: 20px; border-radius: 10px; box-sizing: border-box; position: relative; margin-left: 3px; margin-top: 3px; cursor: pointer;"), a.add(".modal_default_form_item_tabular_delete:after", "content: ''; position: absolute; left: 5px; top: 5px; width: 10px; height: 10px; background-image: url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTAnIGhlaWdodD0nMTAnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTSAwLjUgMC41IEwgOS41IDkuNSBNIDAuNSA5LjUgTCA5LjUgMC41JyBzdHlsZT0nZmlsbDpub25lO3N0cm9rZTojZmZmZmZmO3N0cm9rZS13aWR0aDoyO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbGluZWNhcDpidXR0JyAvPjwvc3ZnPg==\")"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), a.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), a.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), a.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), a.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), a.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), a.add(".modal_min_ok", "padding: 3px 10px;"), a.add(".modal_min_cancel", "padding: 3px 10px;"), a.add(".navigator_modal_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;"), a.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), a.add(".navigator_modal_month", "font-size: 11px;"), a.add(".navigator_modal_day", "color: black;"), a.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), a.add(".navigator_modal_dayheader", "color: black;"), a.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), a.add(".navigator_modal_dayother", "color: gray;"), a.add(".navigator_modal_todaybox", "border: 1px solid red;"), a.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), a.add(".navigator_modal_busy", "font-weight: bold;"), a.add(".navigator_modal_cell", "text-align: center;"), a.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), a.add(".navigator_modal_title", "text-align: center;"), a.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), a.add(".navigator_modal_dayheader", "text-align: center;"), a.add(".navigator_modal_weeknumber", "text-align: center;"), a.add(".navigator_modal_cell_text", "cursor: pointer;"), a.add(".navigator_modal_todaysection", "box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-top: 1px solid var(--dp-nav-border-color);"), a.add(".navigator_modal_todaysection_button", "cursor: pointer; color: #333; background-color: #f0f0f0; border: 1px solid var(--dp-nav-border-color); padding: 5px 10px; border-radius: 0px; "), a.commit(), DayPilot.Modal = function (e) { this.autoFocus = !0, this.focus = null, this.autoStretch = !0, this.autoStretchFirstLoadOnly = !1, this.className = null, this.theme = "modal_default", this.disposeOnClose = !0, this.dragDrop = !0, this.loadingHtml = null, this.maxHeight = null, this.scrollWithPage = !0, this.useIframe = !0, this.zIndex = 99999, this.left = null, this.width = 600, this.top = 20, this.height = 200, this.locale = null, this.closed = null, this.onClose = null, this.onClosed = null, this.onShow = null; var t = this; this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Zb = !1, this.$b = null, this._b = null, this.showHtml = function (e) { if (DayPilot.ModalStatic.displayed(this))
1561
1555
  throw "This modal dialog is already displayed."; if (this.div || this.bc(), this.qb(), this.useIframe) {
1562
1556
  var t = function (e, t) { return function () { e.setInnerHTML(e.id + "iframe", t); }; };
1563
1557
  window.setTimeout(t(this, e), 0);
@@ -1718,12 +1712,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1718
1712
  }
1719
1713
  else if ("title" === i) {
1720
1714
  var o = new s;
1721
- o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = e.name, n.zc.push(o), a.push(o);
1715
+ o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1,
1716
+ o.text = e.name, n.zc.push(o), a.push(o);
1722
1717
  }
1723
1718
  else if ("image" === i) {
1724
1719
  var o = new s;
1725
- o.isValue = !0, o.field = e.id,
1726
- o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null, n.zc.push(o), a.push(o);
1720
+ o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = i, o.interactive = !1, o.text = null, n.zc.push(o), a.push(o);
1727
1721
  }
1728
1722
  else if ("html" === i) {
1729
1723
  var o = new s;
@@ -1872,7 +1866,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1872
1866
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
1873
1867
  var e = {}, t = DayPilot.Util.isVueVNode;
1874
1868
  e.Month = function (n, i) {
1875
- this.v = "2025.2.674-lite", this.nav = {};
1869
+ this.v = "2025.3.684-lite", this.nav = {};
1876
1870
  var a = this;
1877
1871
  this.id = n, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.cellMarginBottom = 0, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventBorderRadius = null, 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 = "Auto", 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.eventRightClickHandling = "ContextMenu", 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.onEventRightClick = null, this.onEventRightClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeEventRender = null, this.onBeforeCellRender = null, this.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.Q = !1, this.W = function (e, t) { var e = JSON.parse(e); return e.CallBackRedirect ? void (document.location.href = e.CallBackRedirect) : "None" === e.UpdateType ? void a.fireAfterRenderDetached(e.CallBackData, !0) : (a.events.list = e.Events, "Full" === e.UpdateType && (a.startDate = e.StartDate, a.timeFormat = e.TimeFormat ? e.TimeFormat : a.timeFormat, "undefined" != typeof e.WeekStarts && (a.weekStarts = e.WeekStarts), a.hashes = e.Hashes), a.Y(), a.cd(), a.ha(), "Full" === e.UpdateType && (a.dd(), a.ed()), a.ma(), a.show(), a.na(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var n = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(n(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) { var t = null; if (e instanceof DayPilot.Event)
1878
1872
  t = e.data;
@@ -2352,7 +2346,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2352
2346
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
2353
2347
  var e = DayPilot.Util.isVueVNode;
2354
2348
  DayPilot.Navigator = function (t, n) {
2355
- this.v = "2025.2.674-lite";
2349
+ this.v = "2025.3.684-lite";
2356
2350
  var i = this;
2357
2351
  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.showToday = !1, this.showWeekNumbers = !1, this.todayHtml = null, this.todayHeight = 40, this.todayPosition = "Bottom", this.todayText = "Today", 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.onTodayClick = null, this.nav = {}, this.xb = {}, this.ld = function () { this.root.dp = this, this.root.className = this.L("_main"), "Horizontal" === this.orientation ? (r.md() || (this.root.style.width = this.showMonths * (7 * r.cellWidth() + this.nd()) + "px"), this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : r.md() || (this.root.style.width = 7 * r.cellWidth() + this.nd() + "px"), this.rtl && (this.root.style.direction = "rtl"), this.root.style.position = "relative", this.visible || (this.root.style.display = "none"); var e = document.createElement("input"); e.type = "hidden", e.name = i.id + "_state", e.id = e.name, this.root.appendChild(e), this.state = e, this.startDate ? this.startDate = new DayPilot.Date(this.startDate).firstDayOfMonth() : this.selectionDay ? this.startDate = new DayPilot.Date(this.selectionDay).firstDayOfMonth() : this.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.ta = function () { return 2 === i.api; }, this.dd = function () { this.root.innerHTML = ""; }, this.L = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.od = function (e, t) { var n = this.L("_" + t); DayPilot.Util.addClass(e, n); }, this.pd = function (e, t) { var n = this.L("_" + t); DayPilot.Util.removeClass(e, n); }, this.qd = function () { if (!r.md())
2358
2352
  return null; var e = 7; return this.showWeekNumbers && e++, 100 / e; }, this.rd = function () { return r.md() ? null : r.cellWidth(); }, this.sd = function (e) { return "number" != typeof e && (e = 1), r.md() ? this.qd() * e : this.rd() * e; }, this.td = function (e) { var t = r.md() ? "%" : "px"; return this.sd(e) + t; }, this.ed = function (t, n) { var a = {}; a.cells = [], a.days = [], a.weeks = []; var o = this.startDate.addMonths(t), s = n.before, l = n.after, d = o.firstDayOfMonth(), c = d.firstDayOfWeek(r.weekStarts()), u = d.addMonths(1), h = DayPilot.DateUtil.daysDiff(c, u), f = "Auto" === this.rowsPerMonth ? Math.ceil(h / 7) : 6; a.rowCount = f; var v = (new DayPilot.Date).getDatePart(), p = 7 * r.cellWidth() + this.nd(); a.width = p; var m = this.cellHeight * f + this.titleHeight + this.dayHeaderHeight; a.height = m; var g = document.createElement("div"); if (r.md() ? "Horizontal" === this.orientation && (g.style.width = 100 / i.showMonths + "%") : g.style.width = p + "px", g.style.height = m + "px", "Horizontal" === this.orientation)
@@ -2397,10 +2391,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2397
2391
  }
2398
2392
  var I = document.createElement("div");
2399
2393
  a.cells[M][C] = I;
2400
- var R = i.zd(M, C), L = R.x, z = R.y, U = r.md() ? "%" : "px";
2401
- I.day = k, I.x = M, I.y = C, I.left = L, I.top = z, I.isCurrentMonth = A, I.isNextMonth = H, I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.od(I, "cell"), k.getTime() === v.getTime() && A && this.od(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.od(I, "weekend"), I.style.position = "absolute", I.style.left = L + U, I.style.right = L + U, I.style.top = z + "px", I.style.width = i.td(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
2402
- var B = document.createElement("div");
2403
- B.style.position = "absolute", B.className = k.getTime() === v.getTime() && A ? this.L("_todaybox") : this.L("_daybox"), i.od(B, "cell_box"), B.style.left = "0px", B.style.top = "0px", B.style.right = "0px", B.style.bottom = "0px", I.appendChild(B);
2394
+ var R = i.zd(M, C), L = R.x, z = R.y, B = r.md() ? "%" : "px";
2395
+ I.day = k, I.x = M, I.y = C, I.left = L, I.top = z, I.isCurrentMonth = A, I.isNextMonth = H, I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.od(I, "cell"), k.getTime() === v.getTime() && A && this.od(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.od(I, "weekend"), I.style.position = "absolute", I.style.left = L + B, I.style.right = L + B, I.style.top = z + "px", I.style.width = i.td(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
2396
+ var U = document.createElement("div");
2397
+ U.style.position = "absolute", U.className = k.getTime() === v.getTime() && A ? this.L("_todaybox") : this.L("_daybox"), i.od(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", I.appendChild(U);
2404
2398
  var O = null;
2405
2399
  this.cells && this.cells[k.toStringSortable()] && (O = this.cells[k.toStringSortable()]);
2406
2400
  var j = O || {};
@@ -2415,7 +2409,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2415
2409
  I.onclick = this.Ad, function () { if ("function" == typeof i.onBeforeCellDomAdd || "function" == typeof i.onBeforeCellDomRemove) {
2416
2410
  var t = {};
2417
2411
  if (t.control = i, t.cell = j, t.element = null, I.domArgs = t, "function" == typeof i.onBeforeCellDomAdd && i.onBeforeCellDomAdd(t), t.element) {
2418
- var n = B;
2412
+ var n = U;
2419
2413
  if (n) {
2420
2414
  t.Oa = n;
2421
2415
  if (e(t.element)) {
@@ -2749,9 +2743,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2749
2743
  if ("undefined" == typeof DayPilot.Scheduler) {
2750
2744
  var t = navigator.userAgent.indexOf("iPad") > -1 || navigator.userAgent.indexOf("iPhone") > -1, n = {}, i = function () { }, a = !1, o = function () { return document.body; }, r = function () { return document.createElement("div"); };
2751
2745
  DayPilot.Scheduler = function (a, s) {
2752
- this.v = "2025.2.674-lite";
2746
+ this.v = "2025.3.684-lite";
2753
2747
  var l = this;
2754
- this.isScheduler = !0, this.id = a, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.businessWeekends = !1, this.cellDuration = 60, this.cellGroupBy = "Day", this.cellSweeping = !0, this.cellSweepingCacheSize = 1e3, this.cellWidth = 40, this.cellsMarkBusiness = !0, this.cssClassPrefix = "scheduler_default", this.days = 1, this.durationBarHeight = 3, this.durationBarVisible = !0, this.dynamicEventRendering = "Progressive", this.dynamicEventRenderingMargin = 50, this.dynamicEventRenderingMarginX = null, this.dynamicEventRenderingMarginY = null, this.dynamicEventRenderingCacheSweeping = !1, this.dynamicEventRenderingCacheSize = 200, this.eventEndSpec = "DateTime", this.eventHeight = 35, this.eventMinWidth = 1, this.eventResizeMargin = 5, this.eventTapAndHoldHandling = "Move", this.eventTextWrappingEnabled = !1, this.eventsLoadMethod = "GET", this.floatingEvents = !t, this.floatingTimeHeaders = !0, this.headerHeight = 30, this.heightSpec = "Max", this.height = 600, this.locale = "en-us", this.progressiveRowRendering = !0, this.progressiveRowRenderingPreload = 25, this.rowHeaderWidth = 80, this.rowsLoadMethod = "GET", this.scale = "CellDuration", this.scrollDelayEvents = 200, this.scrollDelayCells = t ? 100 : 0, this.scrollDelayFloats = 0, this.scrollDelayRows = 0, this.showToolTip = !0, this.snapToGrid = !0, this.startDate = DayPilot.Date.today(), this.tapAndHoldTimeout = 300, this.timeHeaders = [{ "groupBy": "Default" }, { "groupBy": "Cell" }], this.timeHeaderTextWrappingEnabled = !1, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.visible = !0, this.weekStarts = "Auto", this.width = null, this.xssProtection = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.timeHeaderClickHandling = "Enabled", this.timeHeaderRightClickHandling = "Enabled", this.timeRangeClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onEventClick = null, this.onEventClicked = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onRowClick = null, this.onRowClicked = null, this.onTimeHeaderClick = null, this.onTimeHeaderClicked = null, this.onTimeHeaderRightClick = null, this.onTimeHeaderRightClicked = null, this.onTimeRangeClick = null, this.onTimeRangeClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeEventRender = null, this.onBeforeTimeHeaderRender = null, this.onBeforeRowHeaderRender = null, this.onAfterUpdate = null, this.Q = !1, this.fe = -1, this.ge = !0, this.rowlist = [], this.events = {}, this.cells = {}, this.elements = {}, this.elements.events = [], this.elements.bars = [], this.elements.text = [], this.elements.cells = [], this.elements.linesVertical = [], this.elements.range = [], this.elements.timeHeader = [], this.xb = {}, this.xb.cells = [], this.xb.linesVertical = {}, this.xb.linesHorizontal = {}, this.xb.timeHeaderGroups = [], this.xb.timeHeader = {}, this.xb.events = [], this.nav = {}, this.scrollTo = function (e) { l.he(e); }, this.he = function (e) { if (e) {
2748
+ this.isScheduler = !0, this.id = a, this.beforeCellRenderCaching = !0, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.businessWeekends = !1, this.cellDuration = 60, this.cellGroupBy = "Day", this.cellSweeping = !0, this.cellSweepingCacheSize = 1e3, this.cellWidth = 40, this.cellsMarkBusiness = !0, this.cssClassPrefix = "scheduler_default", this.days = 1, this.durationBarHeight = 3, this.durationBarVisible = !0, this.dynamicEventRendering = "Progressive", this.dynamicEventRenderingMargin = 50, this.dynamicEventRenderingMarginX = null, this.dynamicEventRenderingMarginY = null, this.dynamicEventRenderingCacheSweeping = !1, this.dynamicEventRenderingCacheSize = 200, this.eventEndSpec = "DateTime", this.eventHeight = 35, this.eventMinWidth = 1, this.eventResizeMargin = 5, this.eventTapAndHoldHandling = "Move", this.eventTextWrappingEnabled = !1, this.eventsLoadMethod = "GET", this.floatingEvents = !t, this.floatingTimeHeaders = !0, this.headerHeight = 30, this.heightSpec = "Max", this.height = 600, this.locale = "en-us", this.progressiveRowRendering = !0, this.progressiveRowRenderingPreload = 25, this.rowHeaderWidth = 80, this.rowMarginTop = 0, this.rowMarginBottom = 0, this.rowsLoadMethod = "GET", this.scale = "CellDuration", this.scrollDelayEvents = 200, this.scrollDelayCells = t ? 100 : 0, this.scrollDelayFloats = 0, this.scrollDelayRows = 0, this.showToolTip = !0, this.snapToGrid = !0, this.startDate = DayPilot.Date.today(), this.tapAndHoldTimeout = 300, this.timeHeaders = [{ "groupBy": "Default" }, { "groupBy": "Cell" }], this.timeHeaderTextWrappingEnabled = !1, this.timeFormat = "Auto", this.useEventBoxes = "Always", this.visible = !0, this.weekStarts = "Auto", this.width = null, this.xssProtection = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.timeHeaderClickHandling = "Enabled", this.timeHeaderRightClickHandling = "Enabled", this.timeRangeClickHandling = "Enabled", this.timeRangeSelectedHandling = "Enabled", this.onEventClick = null, this.onEventClicked = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onRowClick = null, this.onRowClicked = null, this.onTimeHeaderClick = null, this.onTimeHeaderClicked = null, this.onTimeHeaderRightClick = null, this.onTimeHeaderRightClicked = null, this.onTimeRangeClick = null, this.onTimeRangeClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.onBeforeCellRender = null, this.onBeforeEventRender = null, this.onBeforeRowHeaderRender = null, this.onAfterUpdate = null, this.Q = !1, this.fe = -1, this.ge = !0, this.rowlist = [], this.events = {}, this.cells = {}, this.elements = {}, this.elements.events = [], this.elements.bars = [], this.elements.text = [], this.elements.cells = [], this.elements.linesVertical = [], this.elements.range = [], this.elements.timeHeader = [], this.xb = {}, this.xb.cells = [], this.xb.linesVertical = {}, this.xb.linesHorizontal = {}, this.xb.timeHeaderGroups = [], this.xb.timeHeader = {}, this.xb.events = [], this.nav = {}, this.scrollTo = function (e) { l.he(e); }, this.he = function (e) { if (e) {
2755
2749
  if (!l.Ka)
2756
2750
  return void (l.ie = e);
2757
2751
  var t;
@@ -2798,45 +2792,51 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2798
2792
  r < n && n < s && e.push(a);
2799
2793
  } return e.area = t, e; }, this.se = function () { if (this.floatingEvents) {
2800
2794
  var e = d.we();
2801
- l.xe(), e.forEach(function (t) { var n = t.event, i = e.area.pixels.left, a = n.part.left, o = i - a; l.ye(t, o, 0); });
2802
- } }, this.elements.sections = [], this.elements.hsections = [], this.pe = function (e, t, n) { var i = r(); i.className = l.L("_timeheader_float"), i.style.position = "absolute", i.style.left = t + "px", i.style.right = n + "px", i.style.top = "0px", i.style.bottom = "0px", i.style.overflow = "hidden"; var a = r(); a.className = l.L("_timeheader_float_inner"); var o = e.cell.th; a.innerHTML = l.$a(o.text, o.innerHTML), o.fontColor && (a.style.color = o.fontColor), i.appendChild(a), e.section = i, e.insertBefore(i, e.firstChild.nextSibling), e.firstChild.innerHTML = "", this.elements.hsections.push(e); }, this.oe = function () { for (var e = 0; e < this.elements.hsections.length; e++) {
2795
+ l.xe = performance.now(), e.forEach(function (t) { var n = t.event, i = e.area.pixels.left, a = n.part.left, o = i - a; l.ye(t, o, 0); }), l.ze();
2796
+ } }, this.elements.sections = [], this.elements.hsections = [], this.pe = function (e, t, n) { var i = r(); i.className = l.L("_timeheader_float"), i.style.position = "absolute", i.style.left = t + "px", i.style.right = n + "px", i.style.top = "0px", i.style.bottom = "0px", i.style.overflow = "hidden"; var a = r(); a.className = l.L("_timeheader_float_inner"); var o = e.cell.th; a.innerHTML = l.$a(o.text, o.innerHTML), o.fontColor && (a.style.color = o.fontColor), i.appendChild(a), i.Ae = { marginLeft: t, marginRight: n }, e.section = i, e.insertBefore(i, e.firstChild.nextSibling), e.firstChild.innerHTML = "", this.elements.hsections.push(e); }, this.oe = function () { for (var e = 0; e < this.elements.hsections.length; e++) {
2803
2797
  var t = this.elements.hsections[e], n = t.cell;
2804
2798
  n && t.firstChild && (t.firstChild.innerHTML = l.$a(n.th.text, n.th.innerHTML)), DayPilot.de(t.section), t.section = null;
2805
- } this.elements.hsections = []; }, this.ye = function (e, t, n) { var i = r(); i.className = l.L("_event_float"), i.style.position = "absolute", i.style.left = t + "px", i.style.right = n + "px", i.style.top = "0px", i.style.bottom = "0px", i.style.overflow = "hidden"; var a = r(); a.className = l.L("_event_float_inner"), a.innerHTML = e.event.client.html(), i.appendChild(a), e.section = i, e.insertBefore(i, e.firstChild.nextSibling), e.firstChild.innerHTML = ""; var o = e.event, s = o.cache || o.data; s.fontColor && (a.style.color = s.fontColor), this.elements.sections.push(e); }, this.xe = function () { for (var e = 0; e < this.elements.sections.length; e++) {
2806
- var t = this.elements.sections[e], n = t.event;
2807
- n && (t.firstChild.innerHTML = n.client.html()), DayPilot.de(t.section), t.section = null;
2808
- } this.elements.sections = []; }, this.setScrollX = function (e) { l.ze.enabled ? (l.ze.scrollXRequested = e, setTimeout(function () { var e = l.ze.scrollXRequested; "number" == typeof e && l.ke(e); }, 0)) : l.ke(e); }, this.ke = function (e) { var t = l.nav.scroll, n = l.Ae(); t.clientWidth + e > n && (e = n - t.clientWidth), l.divTimeScroll.scrollLeft = e, t.scrollLeft = e; }, this.setScrollY = function (e) { l.ze.enabled ? (l.ze.scrollYRequested = e, setTimeout(function () { var e = l.ze.scrollYRequested; "number" == typeof e && l.Be(e); }, 0)) : l.Be(e); }, this.Be = function (e) { var t = l.nav.scroll, n = l.fe; t.clientHeight + e > n && (e = n - t.clientHeight), l.divResScroll.scrollTop = e, t.scrollTop = e; }, this.setScroll = function (e, t) { l.setScrollX(e), l.setScrollY(t); }, this.ma = function () { if (this.nav.scroll) {
2809
- !function () { var e = l.Ae(); l.je.style.height = l.fe + "px", l.je.style.width = e + "px", e > l.nav.scroll.clientWidth ? l.nav.scroll.style.overflowX = "auto" : l.nav.scroll.style.overflowX = "hidden"; }();
2799
+ } this.elements.hsections = []; }, this.ye = function (e, t, n) { var i = e.section; if (i)
2800
+ return i.Ae && i.Ae.marginLeft === t && i.Ae.marginRight === n ? void (i.Ae.stamp = l.xe) : (e.section.style.left = t + "px", e.section.style.right = n + "px", void (i.Ae = { marginLeft: t, marginRight: n, stamp: l.xe })); i = r(), i.className = l.L("_event_float"), i.style.position = "absolute", i.style.left = t + "px", i.style.right = n + "px", i.style.top = "0px", i.style.bottom = "0px", i.style.overflow = "hidden"; var a = r(); a.className = l.L("_event_float_inner"), a.innerHTML = e.event.client.html(), i.appendChild(a), i.Ae = { marginLeft: t, marginRight: n, stamp: l.xe }, e.section = i, e.insertBefore(i, e.firstChild.nextSibling), e.firstChild.innerHTML = ""; var o = e.event, s = o.cache || o.data; s.fontColor && (a.style.color = s.fontColor), this.elements.sections.push(e); }, this.ze = function () { for (var e = [], t = 0; t < this.elements.sections.length; t++) {
2801
+ var n = this.elements.sections[t];
2802
+ if (n.section && n.section.Ae && n.section.Ae.stamp === l.xe)
2803
+ e.push(n);
2804
+ else {
2805
+ var i = n.event;
2806
+ i && (n.firstChild.innerHTML = i.client.html()), DayPilot.de(n.section), n.section = null;
2807
+ }
2808
+ } this.elements.sections = e; }, this.setScrollX = function (e) { l.Be.enabled ? (l.Be.scrollXRequested = e, setTimeout(function () { var e = l.Be.scrollXRequested; "number" == typeof e && l.ke(e); }, 0)) : l.ke(e); }, this.ke = function (e) { var t = l.nav.scroll, n = l.Ce(); t.clientWidth + e > n && (e = n - t.clientWidth), l.divTimeScroll.scrollLeft = e, t.scrollLeft = e; }, this.setScrollY = function (e) { l.Be.enabled ? (l.Be.scrollYRequested = e, setTimeout(function () { var e = l.Be.scrollYRequested; "number" == typeof e && l.De(e); }, 0)) : l.De(e); }, this.De = function (e) { var t = l.nav.scroll, n = l.fe; t.clientHeight + e > n && (e = n - t.clientHeight), l.divResScroll.scrollTop = e, t.scrollTop = e; }, this.setScroll = function (e, t) { l.setScrollX(e), l.setScrollY(t); }, this.ma = function () { if (this.nav.scroll) {
2809
+ !function () { var e = l.Ce(); l.je.style.height = l.fe + "px", l.je.style.width = e + "px", e > l.nav.scroll.clientWidth ? l.nav.scroll.style.overflowX = "auto" : l.nav.scroll.style.overflowX = "hidden"; }();
2810
2810
  var e = 1;
2811
2811
  this.nav.scroll.style.height = "30px";
2812
- var t = this.Xa(), n = t + this.Ce() + e;
2813
- if (t >= 0 && (this.nav.scroll.style.height = t + "px", this.De.style.height = t + "px"), this.nav.divider && ((!n || isNaN(n) || n < 0) && (n = 0), this.nav.divider.style.height = n + "px"), this.nav.top.style.height = n + "px", l.nav.resScrollSpace) {
2812
+ var t = this.Xa(), n = t + this.Ee() + e;
2813
+ if (t >= 0 && (this.nav.scroll.style.height = t + "px", this.Fe.style.height = t + "px"), this.nav.divider && ((!n || isNaN(n) || n < 0) && (n = 0), this.nav.divider.style.height = n + "px"), this.nav.top.style.height = n + "px", l.nav.resScrollSpace) {
2814
2814
  var i = 30;
2815
2815
  "Auto" === l.heightSpec && (i = DayPilot.sh(l.nav.scroll)), l.nav.resScrollSpace.style.height = i + "px";
2816
2816
  }
2817
2817
  for (var a = 0; a < this.elements.linesVertical.length; a++)
2818
2818
  this.elements.linesVertical[a].style.height = this.fe + "px";
2819
- } }, this.Ee = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(), this.timeHeader = []; var e = this.timeHeaders; e || (e = [{ "groupBy": this.cellGroupBy }, { "groupBy": "Cell" }]); for (var t = l.startDate.addDays(l.days), n = 0; n < e.length; n++) {
2819
+ } }, this.Ge = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(), this.timeHeader = []; var e = this.timeHeaders; e || (e = [{ "groupBy": this.cellGroupBy }, { "groupBy": "Cell" }]); for (var t = l.startDate.addDays(l.days), n = 0; n < e.length; n++) {
2820
2820
  var i = e[n].groupBy, a = e[n].format;
2821
2821
  "Default" === i && (i = this.cellGroupBy);
2822
2822
  for (var o = [], r = l.startDate; r.ticks < t.ticks;) {
2823
2823
  var s = {};
2824
- if (s.start = r, s.end = this.Fe(s.start, i), s.start.ticks === s.end.ticks)
2824
+ if (s.start = r, s.end = this.He(s.start, i), s.start.ticks === s.end.ticks)
2825
2825
  break;
2826
2826
  s.left = this.getPixels(s.start).left;
2827
2827
  var d = this.getPixels(s.end).left, c = d - s.left;
2828
- s.width = c, "string" == typeof a ? s.text = s.start.toString(a, f.Ge()) : s.text = this.He(s, i), c > 0 && o.push(s), r = s.end;
2828
+ s.width = c, "string" == typeof a ? s.text = s.start.toString(a, f.Ie()) : s.text = this.Je(s, i), c > 0 && o.push(s), r = s.end;
2829
2829
  }
2830
2830
  this.timeHeader.push(o);
2831
- } }, this.getPixels = function (e) { var t = l.startDate.addDays(l.days); e = e.ticks > t.ticks ? t.addTime(-1) : e; var n = e.ticks - this.startDate.ticks, i = l.Ab(n), a = l.cellWidth, o = Math.floor(i / a), r = o * a; return { left: i, boxLeft: r, boxRight: r + a, i: o }; }, this.getDate = function (e, t, n) { var i = this.Ie(e, n); if (!i)
2832
- return null; var a = i.x, o = l.Je(a); if (!o)
2833
- return null; var r = n && !t ? o.end : o.start; return t ? r.addTime(this.Bb(i.offset)) : r; }, this.Ie = function (e, t) { t && (e -= 1); var n = Math.floor(e / l.cellWidth), i = l.Je(n); if (!i)
2834
- return null; var a = {}; return a.x = n, a.offset = e % l.cellWidth, a.cell = i, a; }, this.Ke = function (e) { var t = e.ticks - this.startDate.ticks, n = 60 * l.Le() * 1e3; if (t < 0)
2835
- return { past: !0 }; var i = Math.floor(t / n); return { i: i, current: l.Je(i) }; }, this.Ab = function (e) { var t = 60 * l.Le() * 1e3, n = l.cellWidth; return Math.floor(n * e / t); }, this.Bb = function (e) { var t = 60 * l.Le() * 1e3, n = l.cellWidth; return Math.floor(e / n * t); }, this.Me = function (e) { DayPilot.Global.touch.start || n.Ne || (l.Oe = {}, l.va(this, e)); }, this.va = function (e, t) { e.event && l.Pe(e, t); }, this.xa = function (e) { if (!DayPilot.Global.touch.active && !DayPilot.Global.touch.start) {
2831
+ } }, this.getPixels = function (e) { var t = l.startDate.addDays(l.days); e = e.ticks > t.ticks ? t.addTime(-1) : e; var n = e.ticks - this.startDate.ticks, i = l.Ab(n), a = l.cellWidth, o = Math.floor(i / a), r = o * a; return { left: i, boxLeft: r, boxRight: r + a, i: o }; }, this.getDate = function (e, t, n) { var i = this.Ke(e, n); if (!i)
2832
+ return null; var a = i.x, o = l.Le(a); if (!o)
2833
+ return null; var r = n && !t ? o.end : o.start; return t ? r.addTime(this.Bb(i.offset)) : r; }, this.Ke = function (e, t) { t && (e -= 1); var n = Math.floor(e / l.cellWidth), i = l.Le(n); if (!i)
2834
+ return null; var a = {}; return a.x = n, a.offset = e % l.cellWidth, a.cell = i, a; }, this.Me = function (e) { var t = e.ticks - this.startDate.ticks, n = 60 * l.Ne() * 1e3; if (t < 0)
2835
+ return { past: !0 }; var i = Math.floor(t / n); return { i: i, current: l.Le(i) }; }, this.Ab = function (e) { var t = 60 * l.Ne() * 1e3, n = l.cellWidth; return Math.floor(n * e / t); }, this.Bb = function (e) { var t = 60 * l.Ne() * 1e3, n = l.cellWidth; return Math.floor(e / n * t); }, this.Oe = function (e) { DayPilot.Global.touch.start || n.Pe || (l.Qe = {}, l.va(this, e)); }, this.va = function (e, t) { e.event && l.Re(e, t); }, this.xa = function (e) { if (!DayPilot.Global.touch.active && !DayPilot.Global.touch.start) {
2836
2836
  var t = this.event;
2837
2837
  if (e.cancelBubble = !0, e.preventDefault(), !this.event.client.rightClickEnabled())
2838
2838
  return !1;
2839
- l.Qe(e);
2839
+ l.Se(e);
2840
2840
  var n = {};
2841
2841
  if (n.e = t, n.div = this, n.originalEvent = e, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onEventRightClick && (l.onEventRightClick(n), n.preventDefault.value))
2842
2842
  return !1;
@@ -2846,11 +2846,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2846
2846
  i ? i.show(t) : l.contextMenu && l.contextMenu.show(this.event);
2847
2847
  }
2848
2848
  return "function" == typeof l.onEventRightClicked && l.onEventRightClicked(n), !1;
2849
- } }, this.Je = function (e) { var t = l.Le(), n = 60 * t * 1e3; return { start: l.startDate.addTime(e * n), end: l.startDate.addTime((e + 1) * n), left: e * l.cellWidth, width: l.cellWidth }; }, this.Pe = function (e, t) { if ("boolean" == typeof t)
2849
+ } }, this.Le = function (e) { var t = l.Ne(), n = 60 * t * 1e3; return { start: l.startDate.addTime(e * n), end: l.startDate.addTime((e + 1) * n), left: e * l.cellWidth, width: l.cellWidth }; }, this.Re = function (e, t) { if ("boolean" == typeof t)
2850
2850
  throw new DayPilot.Exception("Invalid _eventClickSingle parameters"); var n = e.event; if (n) {
2851
2851
  var i = t.ctrlKey, a = t.metaKey;
2852
2852
  if (n.client.clickEnabled()) {
2853
- l.Qe(t);
2853
+ l.Se(t);
2854
2854
  var o = {};
2855
2855
  o.e = n, o.control = l, o.div = e, o.originalEvent = t, o.ctrl = i, o.meta = a, o.shift = t.shiftKey, o.preventDefault = function () { this.preventDefault.value = !0; }, o.toJSON = function () { return DayPilot.Util.copyProps(o, {}, ["e", "ctrl", "meta", "shift"]); }, "function" == typeof l.onEventClick && (l.onEventClick(o), o.preventDefault.value) || "function" == typeof l.onEventClicked && l.onEventClicked(o);
2856
2856
  }
@@ -2860,80 +2860,80 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2860
2860
  }
2861
2861
  "function" == typeof l.onEventDeleted && l.onEventDeleted(t);
2862
2862
  } }, this.getScrollX = function () { return this.nav.scroll.scrollLeft; }, this.getScrollY = function () { return this.nav.scroll.scrollTop; }, this.K = function (e, t, n, i) { if ("Disabled" !== this.eventResizeHandling) {
2863
- n = l.Re(n);
2863
+ n = l.Te(n);
2864
2864
  var a = {};
2865
2865
  a.e = e, a.async = !1, a.loaded = function () { o(); }, a.newStart = t, a.newEnd = n, a.what = i, a.preventDefault = function () { this.preventDefault.value = !0; }, a.control = l, a.toJSON = function () { return DayPilot.Util.copyProps(a, {}, ["e", "async", "newStart", "newEnd"]); };
2866
2866
  var o = function () { if (!a.preventDefault.value) {
2867
2867
  switch (a.loaded = {}, t = a.newStart, n = a.newEnd, l.eventResizeHandling) {
2868
- case "Update": l.Se(a);
2868
+ case "Update": l.Ue(a);
2869
2869
  }
2870
2870
  "function" == typeof l.onEventResized && l.onEventResized(a);
2871
2871
  } };
2872
2872
  "function" == typeof l.onEventResize && l.onEventResize(a), a.async || o();
2873
- } }, this.qb = function (e) { e = e || {}, clearTimeout(l.Te), l.timeHeader = null, l.cellProperties = {}, l.Ee(), l.Ue(), l.events.Ve(), l.ca.Md(), l.clearSelection(), this.ha(), l.We(), l.Xe(), l.rb(), l.Ye(), l.Ze(), l.$e(), l.ia(), this.Y(), this._e(), this.af(), l.ma(), this.bf(), e.immediateEvents ? l.na() : setTimeout(function () { l.na(); }, 100), this.visible ? l.ge !== l.visible && this.show() : this.hide(), this.ge = this.visible, this.qe(), l.cf(), this.df(); }, this.df = function () { if ("function" == typeof l.onAfterUpdate) {
2873
+ } }, this.qb = function (e) { e = e || {}, clearTimeout(l.Ve), l.timeHeader = null, l.cellProperties = {}, l.Ge(), l.We(), l.events.Xe(), l.ca.Md(), l.clearSelection(), l.ha(), l.Ye(), l.Ze(), l.rb(), l.$e(), l._e(), l.af(), l.ia(), l.Y(), l.bf(), l.cf = {}, l.df(), l.ma(), l.ef(), e.immediateEvents ? l.na() : setTimeout(function () { l.na(); }, 100), this.visible ? l.ge !== l.visible && this.show() : this.hide(), this.ge = this.visible, this.qe(), l.ff(), this.gf(); }, this.gf = function () { if ("function" == typeof l.onAfterUpdate) {
2874
2874
  var e = {};
2875
2875
  l.onAfterUpdate(e);
2876
2876
  } }, this.update = function (e) { if (!l.Ka)
2877
2877
  throw new DayPilot.Exception("You are trying to update a DayPilot.Scheduler object that hasn't been initialized."); if (l.Q)
2878
2878
  throw new DayPilot.Exception("You are trying to update a DayPilot.Scheduler object that has been disposed already. Calling .dispose() destroys the object and makes it unusable."); c.request(e); };
2879
2879
  var c = {};
2880
- c.timeout = null, c.options = null, c.enabled = !1, c.request = function (e) { c.enabled ? (clearTimeout(c.timeout), c.ef(e), c.timeout = setTimeout(c.doit)) : (c.ef(e), c.doit()); }, c.ef = function (e) { if (e) {
2880
+ c.timeout = null, c.options = null, c.enabled = !1, c.request = function (e) { c.enabled ? (clearTimeout(c.timeout), c.hf(e), c.timeout = setTimeout(c.doit)) : (c.hf(e), c.doit()); }, c.hf = function (e) { if (e) {
2881
2881
  c.options || (c.options = {});
2882
2882
  for (var t in e)
2883
2883
  c.options[t] = e[t];
2884
- } }, c.doit = function () { var e = c.options; return c.options = null, l.Ka ? (l.sb(e), l.qb({ "immediateEvents": !0 }), void l.vb()) : void l.sb(e); }, this.ff = function (e) { e.forEach(function (e) { l.gf(e.index); }); }, this.hf = function (e) { return e && 0 !== e.length ? e[0].isRow ? e : e.map(function (e) { return l.rowlist[e]; }) : []; }, this.if = function (e, t, n) { e = DayPilot.ua(e), e = l.hf(e), l.ff(e), this.jf ? (this.We(), this.Ze(), this._e(), e.forEach(function (e) { l.kf(e.index); }), e.forEach(function (e) { l.lf(e.index); }), this.bf(), this.mf()) : (e.forEach(function (e) { t || l.kf(e.index), l.lf(e.index); }), e.forEach(function (e) { l.nf(e.index); }), l.bf()), l.se(), n && n(), this.af(); }, this.Re = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().ticks === e.ticks ? e.addDays(-1) : e.getDatePart(); }, this.of = function (e) {
2885
- return "DateTime" === l.eventEndSpec ? e : e.getDatePart().addDays(1);
2886
- }, this.pf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart(); }, this.M = function (e, t, n, i, a) { if (l.qf = null, "Disabled" !== l.eventMoveHandling) {
2887
- n = l.Re(n);
2884
+ } }, c.doit = function () { var e = c.options; return c.options = null, l.Ka ? (l.sb(e), l.qb({ "immediateEvents": !0 }), void l.vb()) : void l.sb(e); }, this.if = function (e) { e.forEach(function (e) { l.jf(e.index); }); }, this.kf = function (e) { return e && 0 !== e.length ? e[0].isRow ? e : e.map(function (e) { return l.rowlist[e]; }) : []; }, this.lf = function (e, t, n) {
2885
+ e = DayPilot.ua(e), e = l.kf(e), l.if(e), this.mf ? (this.Ye(), this._e(), this.bf(), e.forEach(function (e) { l.nf(e.index); }), e.forEach(function (e) { l.of(e.index); }), this.ef(), this.pf()) : (e.forEach(function (e) { t || l.nf(e.index), l.of(e.index); }), e.forEach(function (e) { l.qf(e.index); }), l.ef()), l.se(), n && n(), this.df();
2886
+ }, this.Te = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().ticks === e.ticks ? e.addDays(-1) : e.getDatePart(); }, this.rf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart().addDays(1); }, this.sf = function (e) { return "DateTime" === l.eventEndSpec ? e : e.getDatePart(); }, this.M = function (e, t, n, i, a) { if (l.tf = null, "Disabled" !== l.eventMoveHandling) {
2887
+ n = l.Te(n);
2888
2888
  var o = {};
2889
2889
  o.e = e, o.newStart = t, o.newEnd = n, o.newResource = i, o.ctrl = !1, o.meta = !1, o.shift = !1, a && (o.shift = a.shiftKey, o.ctrl = a.ctrlKey, o.meta = a.metaKey), o.control = l, o.areaData = DayPilot.Global.movingAreaData, o.toJSON = function () { return DayPilot.Util.copyProps(o, {}, ["e", "newStart", "newEnd", "newResource", "ctrl", "meta", "shift"]); }, o.preventDefault = function () { this.preventDefault.value = !0; };
2890
2890
  var r = function () { if (o.loaded = function () { }, o.preventDefault.value)
2891
- return void l.rf(); switch (t = o.newStart, n = o.newEnd, l.eventMoveHandling) {
2892
- case "Update": l.Se(o);
2893
- } l.rf(), "function" == typeof l.onEventMoved && l.onEventMoved(o); };
2891
+ return void l.uf(); switch (t = o.newStart, n = o.newEnd, l.eventMoveHandling) {
2892
+ case "Update": l.Ue(o);
2893
+ } l.uf(), "function" == typeof l.onEventMoved && l.onEventMoved(o); };
2894
2894
  o.async = !1, o.loaded = function () { r(); }, "function" == typeof l.onEventMove && l.onEventMove(o), o.async || r();
2895
- } }, this.Se = function (e) { var t = e.e, n = e.newStart, i = e.newEnd, a = e.newResource; t.start(n), t.end(i), t.resource(a), l.events.update(t), l.events.sf(); }, this.tf = function (e) { if (e)
2895
+ } }, this.Ue = function (e) { var t = e.e, n = e.newStart, i = e.newEnd, a = e.newResource; t.start(n), t.end(i), t.resource(a), l.events.update(t), l.events.vf(); }, this.wf = function (e) { if (e)
2896
2896
  if (e.args)
2897
2897
  l.O(e.args.start, e.args.end, e.args.resource);
2898
2898
  else {
2899
- var t = l.uf(e);
2899
+ var t = l.xf(e);
2900
2900
  if (!t)
2901
2901
  return;
2902
2902
  l.O(t.start, t.end, t.resource);
2903
2903
  } }, this.O = function (e, t, n) { if ("Disabled" !== l.timeRangeSelectedHandling) {
2904
2904
  var i = t;
2905
- t = l.Re(i);
2905
+ t = l.Te(i);
2906
2906
  var a = {};
2907
2907
  if (a.control = l, a.start = e, a.end = t, a.resource = n, a.preventDefault = function () { this.preventDefault.value = !0; }, a.toJSON = function () { return DayPilot.Util.copyProps(a, {}, ["start", "end", "resource"]); }, "function" == typeof l.onTimeRangeSelect) {
2908
2908
  if (l.onTimeRangeSelect(a), a.preventDefault.value)
2909
2909
  return;
2910
2910
  e = a.start, t = a.end;
2911
2911
  }
2912
- t = l.of(t), l.vf(l.wf, e, t), l.xf(l.wf), "function" == typeof l.onTimeRangeSelected && l.onTimeRangeSelected(a);
2913
- } }, this.vf = function (e, t, n) { if (e) {
2912
+ t = l.rf(t), l.yf(l.zf, e, t), l.Af(l.zf), "function" == typeof l.onTimeRangeSelected && l.onTimeRangeSelected(a);
2913
+ } }, this.yf = function (e, t, n) { if (e) {
2914
2914
  var i, a = n;
2915
- t.getTime() < l.startDate.getTime() ? (e.start.x = 0, e.start.time = l.startDate.getTime()) : (i = l.Ke(t), e.start.x = i.i, e.start.time = t);
2915
+ t.getTime() < l.startDate.getTime() ? (e.start.x = 0, e.start.time = l.startDate.getTime()) : (i = l.Me(t), e.start.x = i.i, e.start.time = t);
2916
2916
  var o = l.startDate.addDays(l.days);
2917
- a.getTime() > o.getTime() ? (e.end.x = l.yf(), e.end.time = o.getTime()) : (i = l.Ke(a.addMilliseconds(-1)), e.end.x = i.i, e.end.time = n);
2918
- } }, this.zf = function (e, t) { l.Af(e, t); }, this.Af = function (e, t) { var n = {}; n.resource = e, n.row = e, n.ctrl = t.ctrlKey, n.shift = t.shiftKey, n.meta = t.metaKey, n.originalEvent = t, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onRowClick && (l.onRowClick(n), n.preventDefault.value) || "function" == typeof l.onRowClicked && l.onRowClicked(n); }, this.Bf = function (e) { var t = {}; t.header = e, t.control = l, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onTimeHeaderClick && (l.onTimeHeaderClick(t), t.preventDefault.value) || "function" == typeof l.onTimeHeaderClicked && l.onTimeHeaderClicked(t); }, this.getViewport = function () { var e = this.nav.scroll.scrollLeft, t = this.nav.scroll.scrollTop, n = {}, i = l.Cf(e, t), a = l.Df(i), o = l.Je(i.start.x), r = l.Je(i.end.x); return n.start = l.getDate(e, !0), n.end = l.getDate(e + l.nav.scroll.clientWidth, !0, !0), n.resources = a, o && (n.topLeft = { "start": o.start, "end": o.end, x: i.start.x, y: i.start.y, "resource": a[0] }), r && (n.bottomRight = { "start": r.start, "end": r.end, x: i.end.x, y: i.end.y, "resource": a[a.length - 1] }), n.rows = function () { return n.resources.map(function (e) { return l.rows.find(e); }); }, n.events = function () { var e = []; return n.rows().forEach(function (t) { e = e.concat(t.events.forRange(n.start, n.end)); }), e; }, n; }, this.Cf = function (e, t) { var n = {}; n.start = {}, n.end = {}; var i = l.Ie(e), a = l.Ie(e + l.nav.scroll.clientWidth); i && (n.start.x = i.x), a && (n.end.x = a.x); var o = t, r = t + l.nav.scroll.clientHeight; n.start.y = l.Ef(o).i, n.end.y = l.Ef(r).i, n.start.x = DayPilot.Util.atLeast(n.start.x, 0); var s = l.yf(); return n.end.x >= s && (n.end.x = s - 1), n; }, this.Df = function (e) { e || (e = this.Cf(this.nav.scroll.scrollLeft, this.nav.scroll.scrollTop)); var t = []; t.ignoreToJSON = !0; for (var n = e.start.y; n <= e.end.y; n++) {
2917
+ a.getTime() > o.getTime() ? (e.end.x = l.Bf(), e.end.time = o.getTime()) : (i = l.Me(a.addMilliseconds(-1)), e.end.x = i.i, e.end.time = n);
2918
+ } }, this.Cf = function (e, t) { l.Df(e, t); }, this.Df = function (e, t) { var n = {}; n.resource = e, n.row = e, n.ctrl = t.ctrlKey, n.shift = t.shiftKey, n.meta = t.metaKey, n.originalEvent = t, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onRowClick && (l.onRowClick(n), n.preventDefault.value) || "function" == typeof l.onRowClicked && l.onRowClicked(n); }, this.Ef = function (e) { var t = {}; t.header = e, t.control = l, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onTimeHeaderClick && (l.onTimeHeaderClick(t), t.preventDefault.value) || "function" == typeof l.onTimeHeaderClicked && l.onTimeHeaderClicked(t); }, this.getViewport = function () { var e = this.nav.scroll.scrollLeft, t = this.nav.scroll.scrollTop, n = {}, i = l.Ff(e, t), a = l.Gf(i), o = l.Le(i.start.x), r = l.Le(i.end.x); return n.start = l.getDate(e, !0), n.end = l.getDate(e + l.nav.scroll.clientWidth, !0, !0), n.resources = a, o && (n.topLeft = { "start": o.start, "end": o.end, x: i.start.x, y: i.start.y, "resource": a[0] }), r && (n.bottomRight = { "start": r.start, "end": r.end, x: i.end.x, y: i.end.y, "resource": a[a.length - 1] }), n.rows = function () { return n.resources.map(function (e) { return l.rows.find(e); }); }, n.events = function () { var e = []; return n.rows().forEach(function (t) { e = e.concat(t.events.forRange(n.start, n.end)); }), e; }, n; }, this.Ff = function (e, t) { var n = {}; n.start = {}, n.end = {}; var i = l.Ke(e), a = l.Ke(e + l.nav.scroll.clientWidth); i && (n.start.x = i.x), a && (n.end.x = a.x); var o = t, r = t + l.nav.scroll.clientHeight; n.start.y = l.Hf(o).i, n.end.y = l.Hf(r).i, n.start.x = DayPilot.Util.atLeast(n.start.x, 0); var s = l.Bf(); return n.end.x >= s && (n.end.x = s - 1), n; }, this.Gf = function (e) { e || (e = this.Ff(this.nav.scroll.scrollLeft, this.nav.scroll.scrollTop)); var t = []; t.ignoreToJSON = !0; for (var n = e.start.y; n <= e.end.y; n++) {
2919
2919
  var i = l.rowlist[n];
2920
2920
  i && t.push(i.id);
2921
2921
  } return t; }, this.L = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.rb = function () { l.nav.top.className !== l.L("_main") && (l.nav.top.className = l.L("_main"), l.nav.dh1.className = l.L("_divider_horizontal"), l.nav.dh2.className = l.L("_divider_horizontal"), l.divResScroll.className = l.L("_rowheader_scroll"), l.nav.divider.className = l.L("_divider") + " " + l.L("_splitter"), l.nav.scroll.className = l.L("_scrollable"), l.je.className = l.L("_matrix") + " " + l.L("_grid_main")); }, this.aa = function () { this.nav.top.dispose = this.dispose; }, this.dispose = function () { var e = l; if (e.Ka && !e.Q) {
2922
2922
  e.Q = !0;
2923
- for (var t in e.Ff) {
2924
- var i = e.Ff[t];
2923
+ for (var t in e.If) {
2924
+ var i = e.If[t];
2925
2925
  DayPilot.isArray(i) ? i.forEach(function (e) { clearTimeout(e); }) : clearTimeout(i);
2926
2926
  }
2927
- e.Y(), e.divCells = null, e.divCorner = null, e.divEvents = null, e.divHeader && (e.divHeader.rows = null), e.divHeader = null, e.divLines = null, e.divNorth = null, e.divRange = null, e.divResScroll = null, e.divStretch = null, e.divTimeScroll = null, e.De = null, e.je.calendar = null, e.je = null, e.nav.top.onmousemove = null, e.nav.top.onmouseout = null, e.nav.top.dispose = null, e.nav.top.ontouchstart = null, e.nav.top.ontouchmove = null, e.nav.top.ontouchend = null, e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top = null, e.nav.scroll.onscroll = null, e.nav.scroll.root = null, e.nav.scroll = null, n.qc(e), u = null;
2928
- } }, this.disposed = function () { return l.Q; }, this.ba = function (e) { var t = null; t = e.nodeType ? e.event : e; var n = l.Gf(t), i = l.rowlist, a = l.eventHeight, o = t.part && t.part.top && i[t.part.dayIndex] ? t.part.top + i[t.part.dayIndex].top : n.top, s = n.left, d = n.width, c = document.createElement("div"); c.style.position = "absolute", c.style.width = d + "px", c.style.height = a + "px", c.style.left = s + "px", c.style.top = o + "px", c.style.overflow = "hidden"; var u = r(); return c.appendChild(u), c.className = this.L("_shadow"), u.className = this.L("_shadow_inner"), l.divShadow.appendChild(c), c.calendar = l, c; }, this.Ef = function (e) { for (var t, n = l.rowlist, i = {}, a = 0, o = 0, r = n.length, s = 0; s < r; s++) {
2927
+ e.Y(), e.divCells = null, e.divCorner = null, e.divEvents = null, e.divHeader && (e.divHeader.rows = null), e.divHeader = null, e.divLines = null, e.divNorth = null, e.divRange = null, e.divResScroll = null, e.divStretch = null, e.divTimeScroll = null, e.Fe = null, e.je.calendar = null, e.je = null, e.nav.top.onmousemove = null, e.nav.top.onmouseout = null, e.nav.top.dispose = null, e.nav.top.ontouchstart = null, e.nav.top.ontouchmove = null, e.nav.top.ontouchend = null, e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top = null, e.nav.scroll.onscroll = null, e.nav.scroll.root = null, e.nav.scroll = null, n.qc(e), u = null;
2928
+ } }, this.disposed = function () { return l.Q; }, this.ba = function (e) { var t = null; t = e.nodeType ? e.event : e; var n = l.Jf(t), i = l.rowlist, a = l.eventHeight, o = t.part && t.part.top && i[t.part.dayIndex] ? t.part.top + i[t.part.dayIndex].top : n.top, s = n.left, d = n.width, c = document.createElement("div"); c.style.position = "absolute", c.style.width = d + "px", c.style.height = a + "px", c.style.left = s + "px", c.style.top = o + "px", c.style.overflow = "hidden"; var u = r(); return c.appendChild(u), c.className = this.L("_shadow"), u.className = this.L("_shadow_inner"), l.divShadow.appendChild(c), c.calendar = l, c; }, this.Hf = function (e) { for (var t, n = l.rowlist, i = {}, a = 0, o = 0, r = n.length, s = 0; s < r; s++) {
2929
2929
  var d = n[s];
2930
2930
  if (o += d.height, a = o - d.height, t = d, i.top = a, i.bottom = o, i.i = s, i.element = t, e < o)
2931
2931
  break;
2932
- } return i; }, this.Hf = function (e) { if (e > this.rowlist.length - 1)
2932
+ } return i; }, this.Kf = function (e) { if (e > this.rowlist.length - 1)
2933
2933
  throw new DayPilot.Exception("Row index too high"); for (var t = 0, n = 0; n <= e; n++)
2934
2934
  t += this.rowlist[n].height; var i = this.rowlist[e]; return { top: t - i.height, height: i.height, bottom: t, i: e, data: i }; }, this.events.find = function (e) { if (!l.events.list || "undefined" == typeof l.events.list.length)
2935
2935
  return null; if ("function" == typeof e)
2936
- return l.If(e); for (var t = l.events.list.length, n = 0; n < t; n++)
2936
+ return l.Lf(e); for (var t = l.events.list.length, n = 0; n < t; n++)
2937
2937
  if (l.events.list[n].id === e)
2938
2938
  return new DayPilot.Event(l.events.list[n], l); return null; }, this.events.findAll = function (e) { if ("function" == typeof e) {
2939
2939
  for (var t = l.events.list.length, n = [], i = 0; i < t; i++) {
@@ -2944,13 +2944,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2944
2944
  } if ("object" == typeof e)
2945
2945
  return l.events.findAll(function (t) { for (var n in e)
2946
2946
  if (e[n] !== t.data[n])
2947
- return !1; return !0; }); throw new DayPilot.Exception("function or object argument expected"); }, this.If = function (e) { for (var t = l.events.list.length, n = 0; n < t; n++) {
2947
+ return !1; return !0; }); throw new DayPilot.Exception("function or object argument expected"); }, this.Lf = function (e) { for (var t = l.events.list.length, n = 0; n < t; n++) {
2948
2948
  var i = new DayPilot.Event(l.events.list[n], l);
2949
2949
  if (e(i))
2950
2950
  return i;
2951
- } return null; }, this.events.focus = function (e) { var t = l.Jf(e); t && t.focus(); }, this.events.scrollIntoView = function (e) { if (l.Jf(e)) {
2951
+ } return null; }, this.events.focus = function (e) { var t = l.Mf(e); t && t.focus(); }, this.events.scrollIntoView = function (e) { if (l.Mf(e)) {
2952
2952
  var t = e.start(), n = l.getViewport();
2953
- !DayPilot.Util.overlaps(n.start, n.end, e.start(), e.end()) && DayPilot.Util.overlaps(l.sa(), l.Kf(), e.start(), e.end()) && l.scrollTo(t, "fast", "middle");
2953
+ !DayPilot.Util.overlaps(n.start, n.end, e.start(), e.end()) && DayPilot.Util.overlaps(l.sa(), l.Nf(), e.start(), e.end()) && l.scrollTo(t, "fast", "middle");
2954
2954
  var i = e.resource();
2955
2955
  l.getViewport().resources.indexOf(i) === -1 && l.scrollToResource(i);
2956
2956
  } }, this.events.all = function () { for (var e = [], t = 0; t < l.events.list.length; t++) {
@@ -2976,43 +2976,43 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2976
2976
  else {
2977
2977
  var o = e, r = "start=" + l.visibleStart().toString() + "&end=" + l.visibleEnd().toString();
2978
2978
  o += o.indexOf("?") > -1 ? "&" + r : "?" + r, DayPilot.ajax({ "method": "GET", "url": o, "success": a, "error": i });
2979
- } }, this.events.Lf = function (e) { var t = []; return l.rowlist.forEach(function (n) { l.Mf(n.index); for (var i = 0; i < n.events.length; i++) {
2979
+ } }, this.events.Of = function (e) { var t = []; return l.rowlist.forEach(function (n) { l.Pf(n.index); for (var i = 0; i < n.events.length; i++) {
2980
2980
  var a = n.events[i].data;
2981
- if (l.Nf(a, e)) {
2981
+ if (l.Qf(a, e)) {
2982
2982
  t.push(n), n.events.splice(i, 1);
2983
2983
  break;
2984
2984
  }
2985
- } }), t; }, this.events.Of = function (e) { if (!e)
2985
+ } }), t; }, this.events.Rf = function (e) { if (!e)
2986
2986
  return null; for (var t = l.rowlist, n = 0; n < t.length; n++) {
2987
2987
  var i = t[n];
2988
- l.Mf(i.index);
2988
+ l.Pf(i.index);
2989
2989
  for (var a = 0; a < i.events.length; a++) {
2990
2990
  var o = i.events[a];
2991
- if (l.Nf(o.data, e))
2991
+ if (l.Qf(o.data, e))
2992
2992
  return i.events[a];
2993
2993
  }
2994
- } return null; }, this.events.Pf = function (e) { var t = [], n = l.Qf(), i = DayPilot.indexOf(l.events.list, e); l.yb(i); var a = l.rowlist, o = !1; return a.forEach(function (a) { if (!o) {
2995
- l.Mf(a.index);
2996
- var r = l.Rf(e, a);
2994
+ } return null; }, this.events.Sf = function (e) { var t = [], n = l.Tf(), i = DayPilot.indexOf(l.events.list, e); l.yb(i); var a = l.rowlist, o = !1; return a.forEach(function (a) { if (!o) {
2995
+ l.Pf(a.index);
2996
+ var r = l.Uf(e, a);
2997
2997
  r && ("function" == typeof l.onBeforeEventRender && (r.cache = l.xb.events[i]), t.push(a), n || (o = !0));
2998
- } }), t; }, this.Nf = function (e, t) { return DayPilot.Util.isSameEvent(e, t); }, this.events.update = function (e, t, n) { if ("object" == typeof e && !(e instanceof DayPilot.Event)) {
2998
+ } }), t; }, this.Qf = function (e, t) { return DayPilot.Util.isSameEvent(e, t); }, this.events.update = function (e, t, n) { if ("object" == typeof e && !(e instanceof DayPilot.Event)) {
2999
2999
  var i = l.events.find(e.id);
3000
3000
  return l.events.remove(i), void l.events.add(e);
3001
- } var a = {}; if (a.oldEvent = new DayPilot.Event(e.copy(), l), a.newEvent = new DayPilot.Event(e.temp(), l), n = n || {}, l.events.list.find(function (t) { return l.Nf(t, e.data); })) {
3002
- l.ze.Sf && (l.ze.skip = !0);
3003
- var o = l.events.Lf(e.data);
3004
- e.commit(), o = o.concat(l.events.Pf(e.data)), l.events.Tf(o);
3001
+ } var a = {}; if (a.oldEvent = new DayPilot.Event(e.copy(), l), a.newEvent = new DayPilot.Event(e.temp(), l), n = n || {}, l.events.list.find(function (t) { return l.Qf(t, e.data); })) {
3002
+ l.Be.Vf && (l.Be.skip = !0);
3003
+ var o = l.events.Of(e.data);
3004
+ e.commit(), o = o.concat(l.events.Sf(e.data)), l.events.Wf(o);
3005
3005
  } }, this.events.remove = function (e) { if (e) {
3006
3006
  if ("string" == typeof e || "number" == typeof e) {
3007
3007
  var t = l.events.find(e);
3008
3008
  return void l.events.remove(t);
3009
3009
  }
3010
3010
  ({}).e = new DayPilot.Event(e.data, l);
3011
- var n = l.Uf(e.data);
3012
- n && l.events.list.splice(n.index, 1), l.ze.Sf && (l.ze.skip = !0);
3013
- var i = l.events.Lf(e.data);
3014
- l.events.Tf(i);
3015
- } }, this.events.add = function (e, t, n) { var n = n || {}, i = n.renderOnly; e instanceof DayPilot.Event || (e = new DayPilot.Event(e)), e.calendar = l, l.events.list || (l.events.list = []); var a = l.Uf(e); if (i) {
3011
+ var n = l.Xf(e.data);
3012
+ n && l.events.list.splice(n.index, 1), l.Be.Vf && (l.Be.skip = !0);
3013
+ var i = l.events.Of(e.data);
3014
+ l.events.Wf(i);
3015
+ } }, this.events.add = function (e, t, n) { var n = n || {}, i = n.renderOnly; e instanceof DayPilot.Event || (e = new DayPilot.Event(e)), e.calendar = l, l.events.list || (l.events.list = []); var a = l.Xf(e); if (i) {
3016
3016
  if (!a)
3017
3017
  throw new DayPilot.Exception("Unexpected: event not found in list");
3018
3018
  }
@@ -3021,78 +3021,78 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3021
3021
  throw new DayPilot.Exception("The event you are trying to add using DayPilot.Scheduler.events.add() is already loaded. A unique ID is required.");
3022
3022
  a || l.events.list.push(e.data);
3023
3023
  } if (l.Ka) {
3024
- l.ze.Sf && (l.ze.skip = !0);
3024
+ l.Be.Vf && (l.Be.skip = !0);
3025
3025
  ({}).e = e;
3026
- var o = l.events.Pf(e.data);
3027
- l.events.Tf(o);
3028
- } }, this.events.Vf = function (e) { var t = e instanceof DayPilot.Event ? e.data : e, n = new DayPilot.Date(t.start), i = new DayPilot.Date(t.end); return !!l.events.list.find(function (e) { if (l.Nf(t, e))
3026
+ var o = l.events.Sf(e.data);
3027
+ l.events.Wf(o);
3028
+ } }, this.events.Yf = function (e) { var t = e instanceof DayPilot.Event ? e.data : e, n = new DayPilot.Date(t.start), i = new DayPilot.Date(t.end); return !!l.events.list.find(function (e) { if (l.Qf(t, e))
3029
3029
  return !1; if (t.resource !== e.resource)
3030
- return !1; var a = new DayPilot.Date(e.start), o = new DayPilot.Date(e.end); return DayPilot.Util.overlaps(n, i, a, o); }); }, this.events.Wf = { "rows": [] }, this.events.Xf = null, this.events.Ve = function () { clearTimeout(l.events.Xf), l.events.Xf = null, l.events.Wf.rows = []; }, this.events.Yf = 0, this.events.Tf = function (e) { var t = l.events.Wf.rows; e.forEach(function (e) { t.push(e); }), l.events.Wf.rows = DayPilot.ua(t); var n = l.events.sf; l.events.Xf || (l.events.Xf = setTimeout(n, l.events.Yf)); }, this.events.sf = function () { clearTimeout(l.events.Xf), l.events.Xf = null; var e = l.events.Wf.rows; l.events.Wf.rows = [], l.Zf(e), l.$f(), l.Ka && (l.jf && l.We(), l.ma(), l.if(e)); }, this.ze = {}, this.ze.enabled = !1, this.ze.skip = !1, this.ze.skipUpdate = function () { return l.ze.skip; }, this.ze.skipped = function () { l.ze.skip = !1; }, this.ze._f = !1, this.ze.Sf = !1, this.jd = {}, this.jd.reactDOM = null, this.jd.react = null, this.ag = function (e) { var t = l.startDate; if (e.ticks === t.ticks)
3030
+ return !1; var a = new DayPilot.Date(e.start), o = new DayPilot.Date(e.end); return DayPilot.Util.overlaps(n, i, a, o); }); }, this.events.Zf = { "rows": [] }, this.events.$f = null, this.events.Xe = function () { clearTimeout(l.events.$f), l.events.$f = null, l.events.Zf.rows = []; }, this.events._f = 0, this.events.Wf = function (e) { var t = l.events.Zf.rows; e.forEach(function (e) { t.push(e); }), l.events.Zf.rows = DayPilot.ua(t); var n = l.events.vf; l.events.$f || (l.events.$f = setTimeout(n, l.events._f)); }, this.events.vf = function () { clearTimeout(l.events.$f), l.events.$f = null; var e = l.events.Zf.rows; l.events.Zf.rows = [], l.ag(e), l.bg(), l.Ka && (l.mf && l.Ye(), l.ma(), l.lf(e)); }, this.Be = {}, this.Be.enabled = !1, this.Be.skip = !1, this.Be.skipUpdate = function () { return l.Be.skip; }, this.Be.skipped = function () { l.Be.skip = !1; }, this.Be.cg = !1, this.Be.Vf = !1, this.jd = {}, this.jd.reactDOM = null, this.jd.react = null, this.dg = function (e) { var t = l.startDate; if (e.ticks === t.ticks)
3031
3031
  return e; var n = t; if (e.ticks < t.ticks) {
3032
3032
  for (; n.ticks > e.ticks;)
3033
- n = n.addTime(60 * -l.Le() * 1e3);
3033
+ n = n.addTime(60 * -l.Ne() * 1e3);
3034
3034
  return n;
3035
- } var i = this.Ke(e); if (i.current)
3036
- return i.current.start; throw new DayPilot.Exception("getBoxStart(): time not found"); }, this.Gf = function (e) { var t = this.Ef(l.coords.y); if ("function" != typeof e.end)
3035
+ } var i = this.Me(e); if (i.current)
3036
+ return i.current.start; throw new DayPilot.Exception("getBoxStart(): time not found"); }, this.Jf = function (e) { var t = this.Hf(l.coords.y); if ("function" != typeof e.end)
3037
3037
  throw new DayPilot.Exception("e.end function is not defined"); if (!e.end())
3038
- throw new DayPilot.Exception("e.end() returns null"); var i = DayPilot.DateUtil.diff(e.rawend(), e.start()); i = DayPilot.Util.atLeast(i, 1); var a = f.bg(i), o = 0, r = l.coords.x; a && (o = e.start().getTime() - this.ag(e.start()).getTime()); var s = 0; if (n.cg)
3038
+ throw new DayPilot.Exception("e.end() returns null"); var i = DayPilot.DateUtil.diff(e.rawend(), e.start()); i = DayPilot.Util.atLeast(i, 1); var a = f.eg(i), o = 0, r = l.coords.x; a && (o = e.start().getTime() - this.dg(e.start()).getTime()); var s = 0; if (n.fg)
3039
3039
  if (a) {
3040
- var d = e.start(), c = this.ag(d);
3041
- s = n.cg.getTime() - c.getTime();
3042
- var u = 60 * l.Le() * 1e3;
3040
+ var d = e.start(), c = this.dg(d);
3041
+ s = n.fg.getTime() - c.getTime();
3042
+ var u = 60 * l.Ne() * 1e3;
3043
3043
  s = Math.floor(s / u) * u;
3044
3044
  }
3045
3045
  else
3046
- s = n.cg.getTime() - e.start().getTime(); var h = this.getDate(r, !0).addTime(-s); n.dg && (h = e.start()); var v = l.snapToGrid; v && (h = this.ag(h)), h = h.addTime(o); var p = h.addTime(i), m = h, g = p, y = this.getPixels(m), b = this.getPixels(g.addTime(-1)), w = v ? y.boxLeft : y.left, x = v && a ? b.boxRight - w : b.left - w, D = {}; return D.top = t.top, D.left = w, D.row = t.element, D.rowIndex = t.i, D.width = x, D.start = h, D.end = p, D.relativeY = l.coords.y - t.top, D; }, this.Le = function () { switch (this.scale) {
3046
+ s = n.fg.getTime() - e.start().getTime(); var h = this.getDate(r, !0).addTime(-s); n.gg && (h = e.start()); var v = l.snapToGrid; v && (h = this.dg(h)), h = h.addTime(o); var p = h.addTime(i), m = h, g = p, y = this.getPixels(m), b = this.getPixels(g.addTime(-1)), w = v ? y.boxLeft : y.left, x = v && a ? b.boxRight - w : b.left - w, D = {}; return D.top = t.top, D.left = w, D.row = t.element, D.rowIndex = t.i, D.width = x, D.start = h, D.end = p, D.relativeY = l.coords.y - t.top, D; }, this.Ne = function () { switch (this.scale) {
3047
3047
  case "CellDuration": return this.cellDuration;
3048
3048
  case "Minute": return 1;
3049
3049
  case "Hour": return 60;
3050
3050
  case "Day": return 1440;
3051
3051
  case "Week": return 10080;
3052
- } throw new DayPilot.Exception("can't guess cellDuration value"); }, this.eg = function (e) { return e.end.ticks - e.start.ticks; }, this.fg = function () { var e = n.gg.width, t = n.gg.left, i = n.hg, a = n.dg.dpBorder, o = null, r = null, s = l.snapToGrid, d = !s; "left" === a ? (o = l.getDate(t, d), r = i.rawend()) : "right" === a && (o = i.start(), r = l.getDate(t + e, d, !0)), n.gg.start = o, n.gg.end = r; }, this.ig = function () { var e = l.coords, t = n.dg.dpBorder, i = n.dg.event, a = i.part.left; "right" === t && (a += i.part.width); var o, r, s = n.dg.event.calendar.cellWidth, d = i.part.width, c = i.part.left, u = 0, h = e.x - a, f = l.snapToGrid; if ("right" === t) {
3052
+ } throw new DayPilot.Exception("can't guess cellDuration value"); }, this.hg = function (e) { return e.end.ticks - e.start.ticks; }, this.ig = function () { var e = n.jg.width, t = n.jg.left, i = n.kg, a = n.gg.dpBorder, o = null, r = null, s = l.snapToGrid, d = !s; "left" === a ? (o = l.getDate(t, d), r = i.rawend()) : "right" === a && (o = i.start(), r = l.getDate(t + e, d, !0)), n.jg.start = o, n.jg.end = r; }, this.lg = function () { var e = l.coords, t = n.gg.dpBorder, i = n.gg.event, a = i.part.left; "right" === t && (a += i.part.width); var o, r, s = n.gg.event.calendar.cellWidth, d = i.part.width, c = i.part.left, u = 0, h = e.x - a, f = l.snapToGrid; if ("right" === t) {
3053
3053
  if (o = c, f) {
3054
- var v = l.Ie(d + c + h).cell, p = l.Ie(c).cell, m = p.left + p.width - c;
3054
+ var v = l.Ke(d + c + h).cell, p = l.Ke(c).cell, m = p.left + p.width - c;
3055
3055
  r = v.left + v.width - c, r < m && (r = m);
3056
3056
  }
3057
3057
  else
3058
3058
  r = d + h;
3059
- var g = l.Ae();
3060
- c + r > g && (r = g - c), n.gg.left = c, n.gg.width = r, n.gg.style.left = c + "px", n.gg.style.width = r + "px";
3059
+ var g = l.Ce();
3060
+ c + r > g && (r = g - c), n.jg.left = c, n.jg.width = r, n.jg.style.left = c + "px", n.jg.style.width = r + "px";
3061
3061
  }
3062
3062
  else {
3063
3063
  if ("left" !== t)
3064
3064
  throw new DayPilot.Exception("Invalid dpBorder.");
3065
3065
  f ? (h >= d && (h = d), o = Math.floor((c + h + 0) / s) * s, o < u && (o = u)) : o = c + h, r = d - (o - c);
3066
3066
  var y = c + d, b = s;
3067
- f ? "Never" === l.useEventBoxes && (b = d < s ? d : 1) : b = 1, r < b && (r = b, o = y - r), n.gg.left = o, n.gg.width = r, n.gg.style.left = o + "px", n.gg.style.width = r + "px";
3068
- } l.fg(); }, this.jg = function () { if (l.coords && n.kg) {
3069
- var e = n.lg, t = this.Gf(n.kg);
3067
+ f ? "Never" === l.useEventBoxes && (b = d < s ? d : 1) : b = 1, r < b && (r = b, o = y - r), n.jg.left = o, n.jg.width = r, n.jg.style.left = o + "px", n.jg.style.width = r + "px";
3068
+ } l.ig(); }, this.mg = function () { if (l.coords && n.ng) {
3069
+ var e = n.og, t = this.Jf(n.ng);
3070
3070
  e.row = t.row, e.style.height = DayPilot.Util.atLeast(t.row.height, 0) + "px", e.style.top = t.top + "px", e.style.left = t.left + "px", e.style.width = t.width + "px", e.start = t.start, e.end = t.end;
3071
- } }, this.mg = function () { return this.rowHeaderWidth; }, this.ng = function () { return this.og(l.progressiveRowRenderingPreload); }, this.og = function (e) { e = e || 0; var t = 0, n = l.rowlist.length; if (l.progressiveRowRendering) {
3071
+ } }, this.pg = function () { return this.rowHeaderWidth; }, this.qg = function () { return this.rg(l.progressiveRowRenderingPreload); }, this.rg = function (e) { e = e || 0; var t = 0, n = l.rowlist.length; if (l.progressiveRowRendering) {
3072
3072
  var i = l.ne();
3073
3073
  t = i.yStart, n = i.yEnd + 1, t = DayPilot.Util.atLeast(0, t - e), n = Math.min(l.rowlist.length, n + e);
3074
- } return { "start": t, "end": n }; }, this.Xe = function () { function e() { var e = l.divHeader; e && (e.rows = []); var t = e; t && (t.innerHTML = ""); } this.pg = !0; var t = this.mg(); e(); var n = this.divHeader; if (n.style.width = t + "px", n.style.height = l.fe + "px", l.divHeader = n, l.progressiveRowRendering)
3074
+ } return { "start": t, "end": n }; }, this.Ze = function () { function e() { var e = l.divHeader; e && (e.rows = []); var t = e; t && (t.innerHTML = ""); } this.sg = !0; var t = this.pg(); e(); var n = this.divHeader; if (n.style.width = t + "px", n.style.height = l.fe + "px", l.divHeader = n, l.progressiveRowRendering)
3075
3075
  i();
3076
3076
  else
3077
3077
  for (var a = this.rowlist.length, o = 0; o < a; o++)
3078
- l.qg(o); l.rg(), this.divResScroll.appendChild(n); }, this.sg = function () { if (l.progressiveRowRendering)
3079
- for (var e = this.ng(), t = 0; t < l.rowlist.length; t++)
3080
- e.start <= t && t < e.end ? l.qg(t) : l.tg(t); }, this.rg = function () { if (!l.ca.ug()) {
3078
+ l.tg(o); l.ug(), this.divResScroll.appendChild(n); }, this.vg = function () { if (l.progressiveRowRendering)
3079
+ for (var e = this.qg(), t = 0; t < l.rowlist.length; t++)
3080
+ e.start <= t && t < e.end ? l.tg(t) : l.wg(t); }, this.ug = function () { if (!l.ca.xg()) {
3081
3081
  var e = l.divHeader, t = r();
3082
3082
  t.style.position = "absolute", e.appendChild(t), l.nav.resScrollSpace = t;
3083
3083
  var n = r();
3084
3084
  n.style.position = "relative", n.style.height = "100%", n.className = this.L("_rowheader"), t.appendChild(n);
3085
- var i = this.mg(), t = l.nav.resScrollSpace;
3085
+ var i = this.pg(), t = l.nav.resScrollSpace;
3086
3086
  t.style.width = i + "px", t.style.top = this.fe + "px";
3087
- } }, this.tg = function (e) { var t = l.divHeader.rows[e]; t && (DayPilot.de(t), l.divHeader.rows[e] = null); }, this.gf = function (e) { this.tg(e), this.qg(e); }, this.qg = function (e) { var t = l.rowlist, n = l.divHeader; if (n && !n.rows[e]) {
3088
- var i = this.mg(), a = t[e];
3087
+ } }, this.wg = function (e) { var t = l.divHeader.rows[e]; t && (DayPilot.de(t), l.divHeader.rows[e] = null); }, this.jf = function (e) { this.wg(e), this.tg(e); }, this.tg = function (e) { var t = l.rowlist, n = l.divHeader; if (n && !n.rows[e]) {
3088
+ var i = this.pg(), a = t[e];
3089
3089
  if (a) {
3090
- var o = this.vg(a), s = r();
3090
+ var o = this.yg(a), s = r();
3091
3091
  s.style.position = "absolute", s.style.top = a.top + "px", n.rows[e] = s, s.row = a, s.index = e;
3092
3092
  var d = o.row, c = this.rowHeaderWidth;
3093
3093
  s.style.width = c + "px", s.style.border = "0px none";
3094
3094
  var u = d.toolTip || d.toolTip;
3095
- u && (s.title = u), "undefined" != typeof d.ariaLabel ? s.setAttribute("aria-label", d.ariaLabel) : s.setAttribute("aria-label", d.text || ""), s.onclick = l.wg;
3095
+ u && (s.title = u), "undefined" != typeof d.ariaLabel ? s.setAttribute("aria-label", d.ariaLabel) : s.setAttribute("aria-label", d.text || ""), s.onclick = l.zg;
3096
3096
  var h = r();
3097
3097
  h.style.width = c + "px", h.className = this.L("_rowheader"), d.cssClass && DayPilot.Util.addClass(h, d.cssClass), d.cssClass && DayPilot.Util.addClass(h, d.cssClass);
3098
3098
  var f = d.backColor || d.backColor;
@@ -3129,17 +3129,17 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3129
3129
  }
3130
3130
  s.appendChild(h), n.appendChild(s), h.style.width = i + "px";
3131
3131
  }
3132
- } }, this.wg = function (e) { var t = this.row, n = l.xg(t, this.index); l.zf(n, e); }, this.yg = function (e) { if ("Disabled" !== l.timeHeaderClickHandling) {
3132
+ } }, this.zg = function (e) { var t = this.row, n = l.Ag(t, this.index); l.Cf(n, e); }, this.Bg = function (e) { if ("Disabled" !== l.timeHeaderClickHandling) {
3133
3133
  var t = {};
3134
- t.start = this.cell.start, t.level = this.cell.level, t.end = this.cell.end, t.end || (t.end = new DayPilot.Date(t.start).addMinutes(l.Le())), l.Bf(t);
3135
- } }, this.zg = function (e) { if ("Disabled" !== l.timeHeaderRightClickHandling) {
3134
+ t.start = this.cell.start, t.level = this.cell.level, t.end = this.cell.end, t.end || (t.end = new DayPilot.Date(t.start).addMinutes(l.Ne())), l.Ef(t);
3135
+ } }, this.Cg = function (e) { if ("Disabled" !== l.timeHeaderRightClickHandling) {
3136
3136
  e.cancelBubble = !0, e.preventDefault();
3137
3137
  var t = {};
3138
- t.start = this.cell.start, t.level = this.cell.level, t.end = this.cell.end, t.end || (t.end = new DayPilot.Date(t.start).addMinutes(l.Le()));
3138
+ t.start = this.cell.start, t.level = this.cell.level, t.end = this.cell.end, t.end || (t.end = new DayPilot.Date(t.start).addMinutes(l.Ne()));
3139
3139
  var n = {};
3140
3140
  n.header = t, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof l.onTimeHeaderRightClick && (l.onTimeHeaderRightClick(n), n.preventDefault.value) || "function" == typeof l.onTimeHeaderRightClicked && l.onTimeHeaderRightClicked(n);
3141
- } }, this.xg = function (e) { return new DayPilot.Row(e, l); }, this.Mf = function (e) { var t = l.rowlist, n = t[e]; n.events || n.resetEvents(); }, this.Ag = {}, this.ha = function (e) { if (e ? this.events.list = e : this.events.list || (this.events.list = []), null != this.events.list && !DayPilot.isArray(this.events.list))
3142
- throw new DayPilot.Exception("DayPilot.Scheduler.events.list expects an array object"); u.prepareRows(!0); var t, n = this.events.list, i = "function" == typeof this.onBeforeEventRender; l.Ag = {}; for (var a = 0; a < n.length; a++) {
3141
+ } }, this.Ag = function (e) { return new DayPilot.Row(e, l); }, this.Pf = function (e) { var t = l.rowlist, n = t[e]; n.events || n.resetEvents(); }, this.Dg = {}, this.ha = function (e) { if (e ? this.events.list = e : this.events.list || (this.events.list = []), null != this.events.list && !DayPilot.isArray(this.events.list))
3142
+ throw new DayPilot.Exception("DayPilot.Scheduler.events.list expects an array object"); u.prepareRows(!0); var t, n = this.events.list, i = "function" == typeof this.onBeforeEventRender; l.Dg = {}; for (var a = 0; a < n.length; a++) {
3143
3143
  var o = n[a];
3144
3144
  if (o) {
3145
3145
  if ("object" != typeof o)
@@ -3151,23 +3151,23 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3151
3151
  if (!("string" == typeof o.id || "number" == typeof o.id))
3152
3152
  throw new DayPilot.Exception("All events must have an id property (string or number)");
3153
3153
  var r = "_" + o.id;
3154
- if (l.Ag[r])
3154
+ if (l.Dg[r])
3155
3155
  throw new DayPilot.Exception("Duplicate event IDs are not allowed: " + r);
3156
- l.Ag[r] = !0, i && this.yb(a), t = l.Bg(o.resource);
3156
+ l.Dg[r] = !0, i && this.yb(a), t = l.Eg(o.resource);
3157
3157
  for (var s = 0; t && s < t.length; s++) {
3158
- var d = t[s], c = this.Rf(o, d);
3158
+ var d = t[s], c = this.Uf(o, d);
3159
3159
  c && i && (c.cache = this.xb.events[a]);
3160
3160
  }
3161
3161
  }
3162
- } l.rowlist.forEach(function (e) { l.Cg(e); }), l.$f(); }, this.Dg = {};
3163
- var u = this.Dg;
3162
+ } l.rowlist.forEach(function (e) { l.Fg(e); }), l.bg(); }, this.Gg = {};
3163
+ var u = this.Gg;
3164
3164
  u.rowcache = {}, u.prepareRows = function (e) { u.rowcache = {}; for (var t = l.rowlist, n = 0; n < t.length; n++) {
3165
3165
  var i = t[n];
3166
- if (e && i.resetEvents(), l.Mf(i.index), i.id) {
3166
+ if (e && i.resetEvents(), l.Pf(i.index), i.id) {
3167
3167
  var a = typeof i.id + "_" + i.id;
3168
3168
  u.rowcache[a] || (u.rowcache[a] = []), u.rowcache[a].push(i);
3169
3169
  }
3170
- } }, u.loadEvent = function (e) { }, this.Bg = function (e) { var t = typeof e + "_" + e; return u.rowcache[t] || []; }, this.Qf = function () { for (var e = {}, t = 0; t < l.rowlist.length; t++) {
3170
+ } }, u.loadEvent = function (e) { }, this.Eg = function (e) { var t = typeof e + "_" + e; return u.rowcache[t] || []; }, this.Tf = function () { for (var e = {}, t = 0; t < l.rowlist.length; t++) {
3171
3171
  var n = l.rowlist[t], i = n.id;
3172
3172
  if (e[i])
3173
3173
  return !0;
@@ -3176,31 +3176,31 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3176
3176
  i[a] = n[a]; if ("string" == typeof i.start && (i.start = new DayPilot.Date(i.start)), "string" == typeof i.end && (i.end = new DayPilot.Date(i.end)), "function" == typeof this.onBeforeEventRender) {
3177
3177
  var o = {};
3178
3178
  o.e = i, o.data = i, this.onBeforeEventRender(o);
3179
- } t[e] = i; }, this.Cg = function (e) { e.lines = [], e.sections = null, e.events.sort(this.zb); for (var t = 0; t < e.events.length; t++) {
3179
+ } t[e] = i; }, this.Fg = function (e) { e.lines = [], e.sections = null, e.events.sort(this.zb); for (var t = 0; t < e.events.length; t++) {
3180
3180
  var n = e.events[t];
3181
3181
  e.putIntoLine(n);
3182
- } }, this.Zf = function (e) { e = DayPilot.ua(e), e = l.hf(e), e.forEach(function (e) { l.Cg(e); }), e.forEach(function (e) { l.Eg(e); }); }, this.Rf = function (e, t) { var n = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end); i = l.of(i); var a = n.ticks, o = i.ticks, r = l.startDate.ticks, s = l.startDate.addDays(l.days).ticks; if (o < a)
3182
+ } }, this.ag = function (e) { e = DayPilot.ua(e), e = l.kf(e), e.forEach(function (e) { l.Fg(e); }), e.forEach(function (e) { l.Hg(e); }); }, this.Uf = function (e, t) { var n = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end); i = l.rf(i); var a = n.ticks, o = i.ticks, r = l.startDate.ticks, s = l.startDate.addDays(l.days).ticks; if (o < a)
3183
3183
  return null; var d = null; if ("function" == typeof l.onBeforeEventRender) {
3184
3184
  var c = DayPilot.indexOf(l.events.list, e);
3185
3185
  d = l.xb.events[c];
3186
3186
  } if (t.id !== e.resource || (o <= r || a >= s) && (a !== o || a !== r))
3187
- return null; var u = new DayPilot.Event(e, l); u.part.dayIndex = l.rowlist.indexOf(t), u.part.start = r < a ? n : l.startDate, u.part.end = s > o ? i : l.startDate.addDays(l.days); var h = this.getPixels(u.part.start), v = this.getPixels(u.part.end.addTime(-1)); u.part.start === u.part.end && (v = this.getPixels(u.part.end.addMilliseconds(1))); var p = h.left, m = v.left; if (f.bg(o - a)) {
3187
+ return null; var u = new DayPilot.Event(e, l); u.part.dayIndex = l.rowlist.indexOf(t), u.part.start = r < a ? n : l.startDate, u.part.end = s > o ? i : l.startDate.addDays(l.days); var h = this.getPixels(u.part.start), v = this.getPixels(u.part.end.addTime(-1)); u.part.start === u.part.end && (v = this.getPixels(u.part.end.addMilliseconds(1))); var p = h.left, m = v.left; if (f.eg(o - a)) {
3188
3188
  var g = h.boxLeft, y = v.boxRight;
3189
3189
  u.part.left = g, u.part.width = y - g, u.part.barLeft = Math.max(p - u.part.left, 0), u.part.barWidth = Math.max(m - p, 1);
3190
3190
  }
3191
3191
  else
3192
3192
  u.part.left = p, u.part.width = Math.max(m - p, 1), u.part.barLeft = 0, u.part.barWidth = Math.max(m - p - 1, 1); var b = l.eventMinWidth; return u.part.width = Math.max(u.part.width, b), u.part.right = u.part.left + u.part.width, u.cache = d, t.events.push(u), u; }, this.zb = function (e, t) { if (!(e && t && e.start && t.start))
3193
3193
  return 0; var n = e.start().ticks - t.start().ticks; return 0 !== n ? n : t.end().ticks - e.end().ticks; }, this.rows = {}, this.rows.all = function () { for (var e = [], t = 0; t < l.rowlist.length; t++) {
3194
- var n = l.xg(l.rowlist[t]);
3194
+ var n = l.Ag(l.rowlist[t]);
3195
3195
  e.push(n);
3196
3196
  } return e; }, this.rows.each = function (e) { l.rows.all().forEach(e); }, this.rows.forEach = function (e) { l.rows.all().forEach(e); }, this.rows.find = function (e, t) { if ("string" == typeof e || "number" == typeof e || !e && t) {
3197
- var n = l.Bg(e);
3197
+ var n = l.Eg(e);
3198
3198
  e || (n = l.rowlist);
3199
3199
  var i = null;
3200
3200
  return "string" == typeof t || t instanceof DayPilot.Date ? (t = new DayPilot.Date(t), i = n.find(function (e) { return t === e.start; })) : i = n[0], i ? new DayPilot.Row(i, l) : null;
3201
3201
  } if ("function" != typeof e)
3202
- throw new DayPilot.Exception("Invalid rows.find() argument: id or function expected"); var a = t || 0, o = l.rowlist.find(function (t, n) { return !(n < a) && e(l.xg(t)); }); if (o)
3203
- return l.xg(o); }, this.rows.load = function (e, t, n) { if (!e)
3202
+ throw new DayPilot.Exception("Invalid rows.find() argument: id or function expected"); var a = t || 0, o = l.rowlist.find(function (t, n) { return !(n < a) && e(l.Ag(t)); }); if (o)
3203
+ return l.Ag(o); }, this.rows.load = function (e, t, n) { if (!e)
3204
3204
  throw new DayPilot.Exception("rows.load(): 'url' parameter required"); var i = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof n && n(t); }, a = function (e) { var n, a = e.request; try {
3205
3205
  n = JSON.parse(a.responseText);
3206
3206
  }
@@ -3223,22 +3223,22 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3223
3223
  if (e = l.rows.find(t.id), !e)
3224
3224
  return;
3225
3225
  e.data = t;
3226
- } var n = e.index, i = l.rowlist, a = i[n], o = e.data, r = e.parent() ? e.parent().$.row : null, s = l.Fg(o), e = l.Gg(s, r); e.level = a.level, e.index = n, e.top = a.top, e.height = a.height, i[n] = e, e.resetEvents(), l.Mf(e.index), l.Hg(e), l.Cg(e), l.gf(e.index), l._e(), l.bf(); }, this.Hg = function (e) { for (var t = l.events.list, n = t.length, i = "function" == typeof l.onBeforeEventRender, a = 0; a < n; a++) {
3226
+ } var n = e.index, i = l.rowlist, a = i[n], o = e.data, r = e.parent() ? e.parent().$.row : null, s = l.Ig(o), e = l.Jg(s, r); e.level = a.level, e.index = n, e.top = a.top, e.height = a.height, i[n] = e, e.resetEvents(), l.Pf(e.index), l.Kg(e), l.Fg(e), l.jf(e.index), l.bf(), l.ef(); }, this.Kg = function (e) { for (var t = l.events.list, n = t.length, i = "function" == typeof l.onBeforeEventRender, a = 0; a < n; a++) {
3227
3227
  var o = t[a];
3228
3228
  if (o) {
3229
3229
  if (o instanceof DayPilot.Event)
3230
3230
  throw new DayPilot.Exception("DayPilot.Scheduler: DayPilot.Event object detected in events.list array. Use raw event data instead.");
3231
3231
  if (o.resource === e.id) {
3232
3232
  i && this.yb(a);
3233
- var r = this.Rf(o, e);
3233
+ var r = this.Uf(o, e);
3234
3234
  r && i && (r.cache = this.xb.events[a]);
3235
3235
  }
3236
3236
  }
3237
- } }, this.Ue = function () { var e = this.resources; if ({}.i = 0, null != e && !DayPilot.isArray(e))
3238
- throw new DayPilot.Exception("DayPilot.Scheduler.resources expects an array object"); e = e || [], l.rowlist = [], this.Ig(e); }, this.sa = function () { return new DayPilot.Date(this.startDate); }, this.Kf = function () { return new DayPilot.Date(l.startDate).addDays(l.days); }, this.visibleStart = function () { return this.sa(); }, this.visibleEnd = function () { return this.Kf(); }, this.Gg = function (e) { var t = {}; return t.backColor = e.backColor, t.fontColor = e.fontColor, t.cssClass = e.cssClass, t.name = e.name, t.html = l.$a(e.name, e.html), t.id = e.id, t.toolTip = e.toolTip, t.tags = e.tags, t.height = l.eventHeight, t.level = 0, t.resource = e.Jg, t.lines = [], t.isRow = !0, t.getHeight = function () { return Math.max(l.eventHeight, this.lines.length * l.eventHeight); }, t.resetEvents = function () { var e = this; e.events = [], e.events.forRange = function (t, n) { t = new DayPilot.Date(t), n = n ? new DayPilot.Date(n) : l.startDate.addDays(l.days); for (var i = [], a = 0; a < e.events.length; a++) {
3239
- var o = e.events[a], r = l.of(o.end());
3237
+ } }, this.We = function () { var e = this.resources; if ({}.i = 0, null != e && !DayPilot.isArray(e))
3238
+ throw new DayPilot.Exception("DayPilot.Scheduler.resources expects an array object"); e = e || [], l.rowlist = [], this.Lg(e); }, this.sa = function () { return new DayPilot.Date(this.startDate); }, this.Nf = function () { return new DayPilot.Date(l.startDate).addDays(l.days); }, this.visibleStart = function () { return this.sa(); }, this.visibleEnd = function () { return this.Nf(); }, this.Jg = function (e) { var t = {}; return t.backColor = e.backColor, t.fontColor = e.fontColor, t.cssClass = e.cssClass, t.name = e.name, t.html = l.$a(e.name, e.html), t.id = e.id, t.toolTip = e.toolTip, t.tags = e.tags, t.height = l.eventHeight, t.level = 0, t.resource = e.Ae, t.lines = [], t.isRow = !0, t.getHeight = function () { return Math.max(l.eventHeight, this.lines.length * l.eventHeight); }, t.resetEvents = function () { var e = this; e.events = [], e.events.forRange = function (t, n) { t = new DayPilot.Date(t), n = n ? new DayPilot.Date(n) : l.startDate.addDays(l.days); for (var i = [], a = 0; a < e.events.length; a++) {
3239
+ var o = e.events[a], r = l.rf(o.end());
3240
3240
  DayPilot.Util.overlaps(o.start(), r, t, n) && i.push(o);
3241
- } return i; }; }, t.Kg = function () { var e = []; return e.add = function (e) { this.push(e); }, e.isFree = function (e, t, n) { for (var i = e + t - 1, a = this.length, o = 0; o < a; o++) {
3241
+ } return i; }; }, t.Mg = function () { var e = []; return e.add = function (e) { this.push(e); }, e.isFree = function (e, t, n) { for (var i = e + t - 1, a = this.length, o = 0; o < a; o++) {
3242
3242
  var r = this[o];
3243
3243
  if (!(i < r.part.left || e > r.part.left + r.part.width - 1)) {
3244
3244
  if (DayPilot.contains(n, r.data))
@@ -3249,59 +3249,57 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3249
3249
  var a = this.lines[i];
3250
3250
  if (a.isFree(e, n))
3251
3251
  return i;
3252
- } var a = t.Kg(); return this.lines.push(a), this.lines.length - 1; }, t.putIntoLine = function (e) { var n = t.findFreeLine(e.part.left, e.part.width); return this.lines[n].add(e), n; }, t; }, this.Ig = function (e) { if (e)
3252
+ } var a = t.Mg(); return this.lines.push(a), this.lines.length - 1; }, t.putIntoLine = function (e) { var n = t.findFreeLine(e.part.left, e.part.width); return this.lines[n].add(e), n; }, t; }, this.Lg = function (e) { if (e)
3253
3253
  for (var t = l.rowlist, n = 0; n < e.length; n++)
3254
3254
  if (e[n]) {
3255
3255
  var i = {};
3256
3256
  i.index = n;
3257
- var a = this.Fg(e[n], i), o = l.Gg(a, parent);
3257
+ var a = this.Ig(e[n], i), o = l.Jg(a, parent);
3258
3258
  o.index = n, t.push(o);
3259
- } }, this.vg = function (e) { var t = {}; return t.row = this.xg(e), DayPilot.Util.copyProps(e, t.row, ["html", "backColor", "fontColor", "cssClass", "toolTip"]), "function" == typeof this.onBeforeRowHeaderRender && this.onBeforeRowHeaderRender(t), t; }, this.Fg = function (e, t) { var n = { get $data() { return this.Jg; } }; for (var i in t)
3259
+ } }, this.yg = function (e) { var t = {}; return t.row = this.Ag(e), DayPilot.Util.copyProps(e, t.row, ["html", "backColor", "fontColor", "cssClass", "toolTip"]), "function" == typeof this.onBeforeRowHeaderRender && this.onBeforeRowHeaderRender(t), t; }, this.Ig = function (e, t) { var n = { get $data() { return this.Ae; } }; for (var i in t)
3260
3260
  n[i] = t[i]; for (var i in e)
3261
- n[i] = e[i]; return n.html = l.$a(e.name, e.html), n.Jg = e, n; }, this.Lg = function () { this.nav.top.dp = this, this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.L("_main")), this.nav.top.setAttribute("role", "region"), this.nav.top.setAttribute("aria-label", "scheduler"), this.nav.top.style.userSelect = "none", this.nav.top.style.webkitUserSelect = "none", this.nav.top.style.WebkitTapHighlightColor = "rgba(0,0,0,0)", this.nav.top.style.WebkitTouchCallout = "none", this.width && (this.nav.top.style.width = this.width), this.nav.top.style.lineHeight = "1.2", this.nav.top.style.position = "relative", this.visible || (this.nav.top.style.display = "none"), this.nav.top.ontouchstart = h.Mg, this.nav.top.ontouchmove = h.Ng, this.nav.top.ontouchend = h.Og; var e = this.rowHeaderWidth, t = r(); t.style.position = "absolute", t.style.left = "0px", t.style.width = e + "px"; var n = r(); n.style.height = "0px", n.style.boxSizing = "content-box", n.style.borderTop = "1px solid transparent", n.className = this.L("_divider_horizontal"), this.nav.dh1 = n, this.nav.left = t, t.appendChild(this.eb()), t.appendChild(n), t.appendChild(this.Pg()); var i = r(); i.style.position = "absolute", i.style.left = e + "px", i.style.width = "1px", i.style.height = this.Ce() + this.Xa() + "px", i.className = this.L("_splitter"), this.nav.divider = i; var a = r(); a.style.marginLeft = e + 1 + "px", a.style.marginRight = "1px", a.style.position = "relative", this.nav.right = a; var o = r(); o.style.position = "absolute", o.style.top = this.Ce() + "px", o.style.width = "100%", o.style.height = "0px", o.style.boxSizing = "content-box", o.style.borderBottom = "1px solid transparent", o.setAttribute("data-dh2", "true"), o.className = this.L("_divider_horizontal"), this.nav.dh2 = o, a.appendChild(l.Qg()), a.appendChild(l.Rg()), a.appendChild(o); var s = r(); s.style.clear = "left"; var d = r(); d.style.height = "1px", d.style.position = "absolute", d.style.left = "0px", d.style.right = "0px", d.style.display = "none", d.className = this.L("_divider_horizontal"), this.nav.dividerTop = d; var c = r(); c.style.height = "1px", c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.display = "none", c.className = this.L("_divider_horizontal") + " " + this.L("_divider_horizontal_frozen_bottom"), this.nav.dividerBottom = c, this.nav.top.appendChild(t), this.nav.top.appendChild(i), this.nav.top.appendChild(a), this.nav.top.appendChild(s), this.nav.top.appendChild(d), this.nav.top.appendChild(c); }, this.ia = function () { var e = this.Ce(); this.nav.corner && (this.nav.corner.style.height = e + "px"), this.divTimeScroll && (this.divTimeScroll.style.height = e + "px"), this.divNorth && (this.divNorth.style.height = e + "px"), this.nav.dh1 && this.nav.dh2 && (this.nav.dh1.style.top = e + "px", this.nav.dh2.style.top = e + "px"), this.nav.scroll.style.top = e + 1 + "px"; }, this.Sg = function () { var e = this.rowHeaderWidth; this.nav.corner && (this.nav.corner.style.width = e + "px"), this.divResScroll.style.width = e + "px", this.nav.left.style.width = e + "px", this.nav.divider.style.left = e - 1 + "px", this.nav.right.style.marginLeft = e + "px"; }, this.Tg = function () { var e = this.rowHeaderWidth, t = this.divHeader; t.style.width = e + "px"; for (var n = l.ng(), i = n.start; i < n.end; i++) {
3261
+ n[i] = e[i]; return n.html = l.$a(e.name, e.html), n.Ae = e, n; }, this.Ng = function () { this.nav.top.dp = this, this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.L("_main")), this.nav.top.setAttribute("role", "region"), this.nav.top.setAttribute("aria-label", "scheduler"), this.nav.top.style.userSelect = "none", this.nav.top.style.webkitUserSelect = "none", this.nav.top.style.WebkitTapHighlightColor = "rgba(0,0,0,0)", this.nav.top.style.WebkitTouchCallout = "none", this.width && (this.nav.top.style.width = this.width), this.nav.top.style.lineHeight = "1.2", this.nav.top.style.position = "relative", this.visible || (this.nav.top.style.display = "none"), this.nav.top.ontouchstart = h.Og, this.nav.top.ontouchmove = h.Pg, this.nav.top.ontouchend = h.Qg; var e = this.rowHeaderWidth, t = r(); t.style.position = "absolute", t.style.left = "0px", t.style.width = e + "px"; var n = r(); n.style.height = "0px", n.style.boxSizing = "content-box", n.style.borderTop = "1px solid transparent", n.className = this.L("_divider_horizontal"), this.nav.dh1 = n, this.nav.left = t, t.appendChild(this.eb()), t.appendChild(n), t.appendChild(this.Rg()); var i = r(); i.style.position = "absolute", i.style.left = e + "px", i.style.width = "1px", i.style.height = this.Ee() + this.Xa() + "px", i.className = this.L("_splitter"), this.nav.divider = i; var a = r(); a.style.marginLeft = e + 1 + "px", a.style.position = "relative", this.nav.right = a; var o = r(); o.style.position = "absolute", o.style.top = this.Ee() + "px", o.style.width = "100%", o.style.height = "1px", o.style.boxSizing = "border-box", o.style.borderBottom = "1px solid transparent", o.setAttribute("data-dh2", "true"), o.className = this.L("_divider_horizontal"), this.nav.dh2 = o, a.appendChild(l.Sg()), a.appendChild(l.Tg()), a.appendChild(o); var s = r(); s.style.clear = "left"; var d = r(); d.style.height = "1px", d.style.position = "absolute", d.style.left = "0px", d.style.right = "0px", d.style.display = "none", d.className = this.L("_divider_horizontal"), this.nav.dividerTop = d; var c = r(); c.style.height = "1px", c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.display = "none", c.className = this.L("_divider_horizontal") + " " + this.L("_divider_horizontal_frozen_bottom"), this.nav.dividerBottom = c, this.nav.top.appendChild(t), this.nav.top.appendChild(i), this.nav.top.appendChild(a), this.nav.top.appendChild(s), this.nav.top.appendChild(d), this.nav.top.appendChild(c); }, this.ia = function () { var e = this.Ee(); this.nav.corner && (this.nav.corner.style.height = e + "px"), this.divTimeScroll && (this.divTimeScroll.style.height = e + "px"), this.divNorth && (this.divNorth.style.height = e + "px"), this.nav.dh1 && this.nav.dh2 && (this.nav.dh1.style.top = e + "px", this.nav.dh2.style.top = e + "px"), this.nav.scroll.style.top = e + 1 + "px"; }, this.Ug = function () { var e = this.rowHeaderWidth; this.nav.corner && (this.nav.corner.style.width = e + "px"), this.divResScroll.style.width = e + "px", this.nav.left.style.width = e + "px", this.nav.divider.style.left = e - 1 + "px", this.nav.right.style.marginLeft = e + "px"; }, this.Vg = function () { var e = this.rowHeaderWidth, t = this.divHeader; t.style.width = e + "px"; for (var n = l.qg(), i = n.start; i < n.end; i++) {
3262
3262
  var a = t.rows[i];
3263
3263
  if (a) {
3264
3264
  var o = l.rowHeaderWidth;
3265
3265
  a.style.width = o + "px";
3266
3266
  a.firstChild.style.width = o + "px";
3267
3267
  }
3268
- } l.nav.resScrollSpace && (l.nav.resScrollSpace.style.width = e + "px"); }, this.$e = function () { this.Sg(), this.Tg(); }, this.eb = function () { var e = this.rowHeaderWidth, t = r(); l.nav.corner = t, t.style.width = e + "px", t.style.height = this.Ce() + "px", t.style.overflow = "hidden", t.style.position = "relative", t.oncontextmenu = function () { return !1; }, t.className = this.L("_corner"); var n = r(); return n.style.position = "absolute", n.style.top = "0px", n.style.left = "0px", n.style.right = "0px", n.style.bottom = "0px", n.className = this.L("_corner_inner"), n.innerHTML = "&nbsp;", this.divCorner = n, t.appendChild(n), t; }, this.Ce = function () { return l.timeHeaders ? l.timeHeaders.length * l.headerHeight : 0; }, this.Ug = null, this.Pg = function () { var e = r(); e.style.width = this.rowHeaderWidth + "px", e.style.height = this.Xa() + "px", e.style.overflow = "hidden", e.style.position = "relative", e.className = l.L("_rowheader_scroll"); var i = l.ca.ug(); i && (e.style.overflowY = "auto"), e.ontouchstart = function () { n.Vg = !0; }, e.oncontextmenu = function () { return !1; }, e.onscroll = function () { if (l.Ug && clearTimeout(l.Ug), i) {
3269
- var a = function () { var t = l.Wg() - l.nav.scroll.offsetHeight; e.scrollTop = Math.min(e.scrollTop, t), l.nav.scroll.scrollTop = e.scrollTop; };
3270
- t ? n.Vg && (l.Ug = setTimeout(a, 10)) : l.Ug = setTimeout(a, 10);
3268
+ } l.nav.resScrollSpace && (l.nav.resScrollSpace.style.width = e + "px"); }, this.af = function () { this.Ug(), this.Vg(); }, this.eb = function () { var e = this.rowHeaderWidth, t = r(); l.nav.corner = t, t.style.width = e + "px", t.style.height = this.Ee() + "px", t.style.overflow = "hidden", t.style.position = "relative", t.oncontextmenu = function () { return !1; }, t.className = this.L("_corner"); var n = r(); return n.style.position = "absolute", n.style.top = "0px", n.style.left = "0px", n.style.right = "0px", n.style.bottom = "0px", n.className = this.L("_corner_inner"), n.innerHTML = "&nbsp;", this.divCorner = n, t.appendChild(n), t; }, this.Ee = function () { return l.timeHeaders ? l.timeHeaders.length * l.headerHeight : 0; }, this.Wg = null, this.Rg = function () { var e = r(); e.style.width = this.rowHeaderWidth + "px", e.style.height = this.Xa() + "px", e.style.overflow = "hidden", e.style.position = "relative", e.className = l.L("_rowheader_scroll"); var i = l.ca.xg(); i && (e.style.overflowY = "auto"), e.ontouchstart = function () { n.Xg = !0; }, e.oncontextmenu = function () { return !1; }, e.onscroll = function () { if (l.Wg && clearTimeout(l.Wg), i) {
3269
+ var a = function () { var t = l.Yg() - l.nav.scroll.offsetHeight; e.scrollTop = Math.min(e.scrollTop, t), l.nav.scroll.scrollTop = e.scrollTop; };
3270
+ t ? n.Xg && (l.Wg = setTimeout(a, 10)) : l.Wg = setTimeout(a, 10);
3271
3271
  }
3272
3272
  else
3273
- l.Ug = setTimeout(function () { l.nav.scroll.scrollTop = e.scrollTop; }, 500); }, e.setAttribute("role", "region"), e.setAttribute("aria-label", "scheduler rows"); var a = r(); return this.divHeader = a, e.appendChild(a), this.divResScroll = e, this.De = e, e; }, this.Xg = null, this.Yg = null, this.Zg = function () { var e = function () { l.$g(), l.cf(); }, t = function () { var t = l.nav.top; if (t) {
3274
- if (!l.Xg)
3275
- return l.Xg = {}, void (l.Xg.width = t.offsetWidth);
3276
- l.Xg.width !== t.offsetWidth && (l.Xg.width = t.offsetWidth, e());
3277
- } }; if (!l.Yg) {
3273
+ l.Wg = setTimeout(function () { l.nav.scroll.scrollTop = e.scrollTop; }, 500); }, e.setAttribute("role", "region"), e.setAttribute("aria-label", "scheduler rows"); var a = r(); return this.divHeader = a, e.appendChild(a), this.divResScroll = e, this.Fe = e, e; }, this.Zg = null, this.$g = null, this._g = function () { var e = function () { l.ah(), l.ff(); }, t = function () { var t = l.nav.top; if (t) {
3274
+ if (!l.Zg)
3275
+ return l.Zg = {}, void (l.Zg.width = t.offsetWidth);
3276
+ l.Zg.width !== t.offsetWidth && (l.Zg.width = t.offsetWidth, e());
3277
+ } }; if (!l.$g) {
3278
3278
  var n = new ResizeObserver(DayPilot.debounce(t, 100));
3279
- n.observe(l.nav.top), l.Yg = n;
3280
- } }, this.$g = function () { l.Q || (l.ma(), l._g(), l.xb.drawArea = null); }, this._g = function () { var e = l.wf; l.clearSelection(), l.wf = e, l.xf(e, { "justDraw": !0 }); }, this.Qg = function () { var e = r(); e.style.overflow = "hidden", e.style.display = "block", e.style.position = "absolute", e.style.top = "0px", e.style.width = "100%", e.style.height = this.Ce() + "px", e.style.overflow = "hidden", e.className = l.L("_timeheader_scroll"), this.divTimeScroll = e; var t = r(); return t.style.width = this.Ae() + 5e3 + "px", this.divNorth = t, e.appendChild(t), e; }, this.Xa = function () { var e = 0, t = l.heightSpec; return "Fixed" === t ? this.height ? this.height : 0 : (e = l.Wg(), "Max" === t && e > l.height ? l.height : e); }, this.Wg = function () { var e; return this.fe !== -1 ? (e = this.fe, this.fe > 0 && "auto" === l.nav.scroll.style.overflowX && (e += DayPilot.sh(l.nav.scroll) + 1)) : e = this.rowlist.length * l.eventHeight, e; }, this.Rg = function () {
3279
+ n.observe(l.nav.top), l.$g = n;
3280
+ } }, this.ah = function () { l.Q || (l.ma(), l.bh(), l.xb.drawArea = null); }, this.bh = function () { var e = l.zf; l.clearSelection(), l.zf = e, l.Af(e, { "justDraw": !0 }); }, this.Sg = function () {
3281
3281
  var e = r();
3282
- e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Xa() + "px", e.style.top = this.Ce() + 1 + "px",
3283
- e.style.position = "absolute", e.style.width = "100%", e.className = this.L("_scrollable"), e.oncontextmenu = function () { return !1; }, this.nav.scroll = e, this.je = r();
3284
- var t = this.je;
3285
- t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.calendar = this, t.style.position = "absolute";
3286
- var n = this.Ae();
3287
- return n > 0 && (t.style.width = n + "px"), t.onmousedown = this.ah, t.onmousemove = this.bh, t.onmouseup = this.ch, t.oncontextmenu = this.dh, t.className = this.L("_matrix"), this.divStretch = r(), this.divStretch.style.position = "absolute", this.divStretch.style.height = "1px", t.appendChild(this.divStretch), this.divCells = r(), this.divCells.style.position = "absolute", this.divCells.oncontextmenu = this.dh, t.appendChild(this.divCells), this.divLines = r(), this.divLines.style.position = "absolute", this.divLines.oncontextmenu = this.dh, t.appendChild(this.divLines), this.divSeparators = r(), this.divSeparators.style.position = "absolute", this.divSeparators.oncontextmenu = this.dh, t.appendChild(this.divSeparators), this.divRange = r(), this.divRange.style.position = "absolute", this.divRange.oncontextmenu = this.dh, t.appendChild(this.divRange), this.divEvents = r(), this.divEvents.style.position = "absolute", t.appendChild(this.divEvents), this.divShadow = r(), this.divShadow.style.position = "absolute", t.appendChild(this.divShadow), e.appendChild(t), e;
3288
- }, this.pb = function () { n.eh || (n.eh = !0, DayPilot.re(document, "mouseup", n.ee), DayPilot.re(document, "touchmove", n.fh), DayPilot.re(document, "touchend", n.gh)); }, this.hh = function () { this.nav.scroll.root = this, this.nav.scroll.onscroll = this.cf, l.ih = this.nav.scroll.scrollLeft, l.jh = this.nav.scroll.scrollTop, this.divNorth && (l.kh = this.divNorth.clientWidth); }, this.lh = {}, this.lh.step = 300, this.lh.delay = 10, this.lh.mode = "display", this.lh.layers = !1, this.Eg = function (e) { for (var t = 0, n = 0; n < e.lines.length; n++) {
3282
+ e.style.overflow = "hidden", e.style.display = "block", e.style.position = "absolute", e.style.top = "0px", e.style.width = "100%", e.style.height = this.Ee() + "px", e.style.overflow = "hidden", e.className = l.L("_timeheader_scroll"), this.divTimeScroll = e;
3283
+ var t = r();
3284
+ return t.style.width = this.Ce() + 5e3 + "px", this.divNorth = t,
3285
+ e.appendChild(t), e;
3286
+ }, this.Xa = function () { var e = 0, t = l.heightSpec; return "Fixed" === t ? this.height ? this.height : 0 : (e = l.Yg(), "Max" === t && e > l.height ? l.height : e); }, this.Yg = function () { var e; return this.fe !== -1 ? (e = this.fe, this.fe > 0 && "auto" === l.nav.scroll.style.overflowX && (e += DayPilot.sh(l.nav.scroll) + 1)) : e = this.rowlist.length * l.eventHeight, e; }, this.Tg = function () { var e = r(); e.style.overflow = "auto", e.style.overflowX = "auto", e.style.overflowY = "auto", e.style.height = this.Xa() + "px", e.style.top = this.Ee() + 1 + "px", e.style.position = "absolute", e.style.width = "100%", e.className = this.L("_scrollable"), e.oncontextmenu = function () { return !1; }, this.nav.scroll = e, this.je = r(); var t = this.je; t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.calendar = this, t.style.position = "absolute"; var n = this.Ce(); return n > 0 && (t.style.width = n + "px"), t.onmousedown = this.ch, t.onmousemove = this.dh, t.onmouseup = this.eh, t.oncontextmenu = this.fh, t.className = this.L("_matrix"), this.divStretch = r(), this.divStretch.style.position = "absolute", this.divStretch.style.height = "1px", t.appendChild(this.divStretch), this.divCells = r(), this.divCells.style.position = "absolute", this.divCells.oncontextmenu = this.fh, t.appendChild(this.divCells), this.divLines = r(), this.divLines.style.position = "absolute", this.divLines.oncontextmenu = this.fh, t.appendChild(this.divLines), this.divSeparators = r(), this.divSeparators.style.position = "absolute", this.divSeparators.oncontextmenu = this.fh, t.appendChild(this.divSeparators), this.divRange = r(), this.divRange.style.position = "absolute", this.divRange.oncontextmenu = this.fh, t.appendChild(this.divRange), this.divEvents = r(), this.divEvents.style.position = "absolute", t.appendChild(this.divEvents), this.divShadow = r(), this.divShadow.style.position = "absolute", t.appendChild(this.divShadow), e.appendChild(t), e; }, this.pb = function () { n.gh || (n.gh = !0, DayPilot.re(document, "mouseup", n.ee), DayPilot.re(document, "touchmove", n.hh), DayPilot.re(document, "touchend", n.ih)); }, this.jh = function () { this.nav.scroll.root = this, this.nav.scroll.onscroll = this.ff, l.kh = this.nav.scroll.scrollLeft, l.lh = this.nav.scroll.scrollTop, this.divNorth && (l.mh = this.divNorth.clientWidth); }, this.nh = {}, this.nh.step = 300, this.nh.delay = 10, this.nh.mode = "display", this.nh.layers = !1, this.Hg = function (e) { for (var t = 0, n = 0; n < e.lines.length; n++) {
3289
3287
  for (var i = e.lines[n], a = 0; a < i.length; a++) {
3290
3288
  var o = i[a];
3291
- o.part.line = n, o.part.top = t, o.part.right = o.part.left + o.part.width;
3289
+ o.part.line = n, o.part.top = t + l.rowMarginTop, o.part.right = o.part.left + o.part.width;
3292
3290
  }
3293
3291
  t += l.eventHeight;
3294
- } }, this.Te = null, this.na = function (e) { if (!l.Q) {
3295
- var t = this.lh.step;
3296
- "display" === this.lh.mode ? this.divEvents.style.display = "none" : "visibility" === this.lh.mode && (this.divEvents.style.visibility = "hidden"), this.divEvents.setAttribute("role", "region"), this.divEvents.setAttribute("aria-label", "scheduler events");
3292
+ } }, this.Ve = null, this.na = function (e) { if (!l.Q) {
3293
+ var t = this.nh.step;
3294
+ "display" === this.nh.mode ? this.divEvents.style.display = "none" : "visibility" === this.nh.mode && (this.divEvents.style.visibility = "hidden"), this.divEvents.setAttribute("role", "region"), this.divEvents.setAttribute("aria-label", "scheduler events");
3297
3295
  var n = "Progressive" === this.dynamicEventRendering, i = this.ne(), a = i.pixels.top, o = i.pixels.bottom;
3298
- l.rowlist.filter(function (e) { var t = e.top - l.dynamicEventRenderingMargin, i = t + e.height + 2 * l.dynamicEventRenderingMargin; return !n || !(o <= t || a >= i); }).forEach(function (n) { l.Eg(n); for (var i = 0; i < n.lines.length; i++)
3296
+ l.rowlist.filter(function (e) { var t = e.top - l.dynamicEventRenderingMargin, i = t + e.height + 2 * l.dynamicEventRenderingMargin; return !n || !(o <= t || a >= i); }).forEach(function (n) { l.Hg(n); for (var i = 0; i < n.lines.length; i++)
3299
3297
  for (var a = n.lines[i], o = 0; o < a.length; o++) {
3300
3298
  var r = a[o], s = l.Ta(r);
3301
3299
  if (e && s && (t--, t <= 0))
3302
- return l.divEvents.style.visibility = "", l.divEvents.style.display = "", void (l.Te = setTimeout(function () { l.na(e); }, l.lh.delay));
3300
+ return l.divEvents.style.visibility = "", l.divEvents.style.display = "", void (l.Ve = setTimeout(function () { l.na(e); }, l.nh.delay));
3303
3301
  } }), this.divEvents.style.display = "", this.se();
3304
- } }, this.lf = function (e) { var t = l.rowlist[e]; this.Eg(t); for (var n = 0; n < t.lines.length; n++)
3302
+ } }, this.of = function (e) { var t = l.rowlist[e]; this.Hg(t); for (var n = 0; n < t.lines.length; n++)
3305
3303
  for (var i = t.lines[n], a = 0; a < i.length; a++) {
3306
3304
  var o = i[a];
3307
3305
  this.Ta(o);
@@ -3309,44 +3307,44 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3309
3307
  for (var e = this.elements.events.length, t = 0; t < e; t++) {
3310
3308
  var n = this.elements.events[t];
3311
3309
  this.Na(n);
3312
- } this.elements.events = []; }, this.kf = function (e) { if (this.elements.events) {
3310
+ } this.elements.events = []; }, this.nf = function (e) { if (this.elements.events) {
3313
3311
  for (var t = this.elements.events.length, n = [], i = 0; i < t; i++) {
3314
3312
  var a = this.elements.events[i];
3315
3313
  a.event.part.dayIndex === e && (this.Na(a), n.push(i));
3316
3314
  }
3317
3315
  for (var i = n.length - 1; i >= 0; i--)
3318
3316
  this.elements.events.splice(n[i], 1);
3319
- } }, this.Na = function (e) { e.remove(), e.onclick = null, e.oncontextmenu = null, e.onmouseover = null, e.onmouseout = null, e.onmousemove = null, e.onmousedown = null, e.ondblclick = null, e.event && (e.event.rendered = null, e.event = null); }, this.mh = function () { if ("Progressive" === this.dynamicEventRendering) {
3317
+ } }, this.Na = function (e) { e.remove(), e.onclick = null, e.oncontextmenu = null, e.onmouseover = null, e.onmouseout = null, e.onmousemove = null, e.onmousedown = null, e.ondblclick = null, e.event && (e.event.rendered = null, e.event = null); }, this.oh = function () { if ("Progressive" === this.dynamicEventRendering) {
3320
3318
  if (l.dynamicEventRenderingCacheSweeping) {
3321
3319
  var e = l.dynamicEventRenderingCacheSize || 0;
3322
3320
  this.divEvents.style.display = "none";
3323
3321
  for (var t = [], n = 0, i = this.elements.events.length, a = i - 1; a >= 0; a--) {
3324
3322
  var o = this.elements.events[a];
3325
- this.nh(o.event) ? e > 0 ? (e--, t.unshift(o)) : (this.Na(o), n++) : t.unshift(o);
3323
+ this.ph(o.event) ? e > 0 ? (e--, t.unshift(o)) : (this.Na(o), n++) : t.unshift(o);
3326
3324
  }
3327
3325
  this.elements.events = t, this.divEvents.style.display = "";
3328
3326
  }
3329
- } }, this.oh = function (e) { for (var t = this.ne(), n = this.elements.cells.length, i = n - 1; i >= 0; i--) {
3327
+ } }, this.qh = function (e) { for (var t = this.ne(), n = this.elements.cells.length, i = n - 1; i >= 0; i--) {
3330
3328
  var a = this.elements.cells[i];
3331
3329
  t.xStart < a.coords.x && a.coords.x <= t.xEnd && t.yStart < a.coords.y && a.coords.y <= t.yEnd || (e > 0 ? e-- : this.fb(a));
3332
3330
  } }, this.fb = function (e) { if (e && e.coords) {
3333
3331
  var t = e.coords.x, n = e.coords.y;
3334
3332
  DayPilot.rfa(l.elements.cells, e), DayPilot.de(e), l.xb.cells[t + "_" + n] = null;
3335
- } }, this.ph = function () { var e = "Progressive" === this.dynamicEventRendering; if (!this.nav.scroll)
3333
+ } }, this.rh = function () { var e = "Progressive" === this.dynamicEventRendering; if (!this.nav.scroll)
3336
3334
  return !1; for (var t = this.nav.scroll.scrollTop, n = t + this.nav.scroll.clientHeight, i = 0; i < this.rowlist.length; i++) {
3337
3335
  var a = this.rowlist[i], o = a.top, r = a.top + a.height;
3338
3336
  if (!e || !(n <= o || t >= r))
3339
3337
  for (var s = 0; s < a.lines.length; s++)
3340
3338
  for (var l = a.lines[s], d = 0; d < l.length; d++) {
3341
3339
  var c = l[d];
3342
- if (this.qh(c))
3340
+ if (this.uh(c))
3343
3341
  return !0;
3344
3342
  }
3345
- } return !1; }, this.qh = function (e) { if (e.rendered)
3346
- return !1; var t = "Progressive" === this.dynamicEventRendering, n = this.nav.scroll.scrollLeft, i = n + this.nav.scroll.clientWidth, a = e.part.left, o = e.part.left + e.part.width; return !t || !(i <= a || n >= o); }, this.nh = function (e) { if (!e.rendered)
3343
+ } return !1; }, this.uh = function (e) { if (e.rendered)
3344
+ return !1; var t = "Progressive" === this.dynamicEventRendering, n = this.nav.scroll.scrollLeft, i = n + this.nav.scroll.clientWidth, a = e.part.left, o = e.part.left + e.part.width; return !t || !(i <= a || n >= o); }, this.ph = function (e) { if (!e.rendered)
3347
3345
  return !0; var t = this.ne(), n = t.pixels.top, i = t.pixels.bottom, a = t.pixels.left - this.dynamicEventRenderingMargin, o = t.pixels.right + this.dynamicEventRenderingMargin, r = e.part.left, s = e.part.right, d = e.part.top, c = e.part.top + l.eventHeight; return o <= r || a >= s || (i <= d || n >= c); }, this.Ta = function (e, t) { t = t || {}; var n = t.forced; if (e.rendered)
3348
3346
  return !1; var i = "Progressive" === this.dynamicEventRendering, a = e.part.dayIndex, o = l.divEvents, s = l.rowlist, d = s[a], c = d.top, u = this.ne(), f = u.pixels.left - this.dynamicEventRenderingMargin, v = u.pixels.right + this.dynamicEventRenderingMargin, p = u.pixels.top, m = u.pixels.bottom, g = e.part.left, y = e.part.left + e.part.width, b = e.part.top + c, w = b + l.eventHeight, x = v <= g || f >= y, D = m <= b || p >= w; if (!n && i && (x || D))
3349
- return !1; var _ = e.part.width, C = l.eventHeight, k = e.cache || e.data; _ = DayPilot.Util.atLeast(0, _), C = DayPilot.Util.atLeast(0, C); var P = r(); P.style.position = "absolute", P.style.left = e.part.left + "px", P.style.top = c + e.part.top + "px", P.style.width = _ + "px", P.style.height = C + "px", l.eventTextWrappingEnabled || (P.style.whiteSpace = "nowrap"), P.style.overflow = "hidden", P.className = this.L("_event"), k.cssClass && DayPilot.Util.addClass(P, k.cssClass); "number" == typeof e.part.line && DayPilot.Util.addClass(P, this.L("_event_line" + e.part.line)), this.showToolTip && (P.title = e.client.toolTip() || ""), P.onmousemove = this.rh, P.onmousedown = this.uh, P.onmouseup = this.vh, P.ontouchstart = h.wh, P.ontouchmove = h.xh, P.ontouchend = h.yh, e.client.clickEnabled() && (P.onclick = this.Me), "undefined" != typeof k.ariaLabel ? P.setAttribute("aria-label", k.ariaLabel) : P.setAttribute("aria-label", k.text), P.setAttribute("tabindex", "-1"); var S = r(); S.className = l.L("_event_inner"), k.backColor && (S.style.background = k.backColor), k.fontColor && (S.style.color = k.fontColor), "darker" === k.borderColor && k.backColor ? S.style.borderColor = DayPilot.ColorUtil.darker(k.backColor, 2) : S.style.borderColor = k.borderColor, k.backImage && (S.style.backgroundImage = "url(" + k.backImage + ")", k.backRepeat && (S.style.backgroundRepeat = k.backRepeat)), P.appendChild(S); var M = e.start().getTime() === e.part.start.getTime(), T = e.rawend().getTime() === e.part.end.getTime(); if (M || DayPilot.Util.addClass(P, this.L("_event_continueleft")), T || DayPilot.Util.addClass(P, this.L("_event_continueright")), e.client.barVisible() && _ > 0) {
3347
+ return !1; var _ = e.part.width, C = l.eventHeight, k = e.cache || e.data; _ = DayPilot.Util.atLeast(0, _), C = DayPilot.Util.atLeast(0, C); var P = r(); P.style.position = "absolute", P.style.left = e.part.left + "px", P.style.top = c + e.part.top + "px", P.style.width = _ + "px", P.style.height = C + "px", l.eventTextWrappingEnabled || (P.style.whiteSpace = "nowrap"), P.style.overflow = "hidden", P.className = this.L("_event"), k.cssClass && DayPilot.Util.addClass(P, k.cssClass); "number" == typeof e.part.line && DayPilot.Util.addClass(P, this.L("_event_line" + e.part.line)), this.showToolTip && (P.title = e.client.toolTip() || ""), P.onmousemove = this.vh, P.onmousedown = this.wh, P.onmouseup = this.xh, P.ontouchstart = h.yh, P.ontouchmove = h.zh, P.ontouchend = h.Ah, e.client.clickEnabled() && (P.onclick = this.Oe), "undefined" != typeof k.ariaLabel ? P.setAttribute("aria-label", k.ariaLabel) : P.setAttribute("aria-label", k.text), P.setAttribute("tabindex", "-1"); var S = r(); S.className = l.L("_event_inner"), k.backColor && (S.style.background = k.backColor), k.fontColor && (S.style.color = k.fontColor), "darker" === k.borderColor && k.backColor ? S.style.borderColor = DayPilot.ColorUtil.darker(k.backColor, 2) : S.style.borderColor = k.borderColor, k.backImage && (S.style.backgroundImage = "url(" + k.backImage + ")", k.backRepeat && (S.style.backgroundRepeat = k.backRepeat)), P.appendChild(S); var M = e.start().getTime() === e.part.start.getTime(), T = e.rawend().getTime() === e.part.end.getTime(); if (M || DayPilot.Util.addClass(P, this.L("_event_continueleft")), T || DayPilot.Util.addClass(P, this.L("_event_continueright")), e.client.barVisible() && _ > 0) {
3350
3348
  var A = 100 * e.part.barLeft / _, E = Math.ceil(100 * e.part.barWidth / _), H = r();
3351
3349
  H.className = this.L("_event_bar"), H.style.position = "absolute", k.barBackColor && (H.style.backgroundColor = k.barBackColor);
3352
3350
  var N = r();
@@ -3354,95 +3352,95 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3354
3352
  } P.row = a, P.event = e, S.innerHTML = e.client.innerHTML(); var I = []; return function () { if ("Disabled" !== l.eventDeleteHandling && !k.deleteDisabled) {
3355
3353
  var e = l.durationBarVisible ? l.durationBarHeight : 0;
3356
3354
  I.push({ v: "Hover", w: 17, h: 17, top: e + 2, right: 2, css: l.L("_event_delete"), onClick: function (e) { l.ya(e.source); } });
3357
- } }(), k.areas && (I = I.concat(k.areas)), DayPilot.Areas.attach(P, e, { areas: I }), this.elements.events.push(P), o.appendChild(P), e.rendered = !0, !0; }, this.$a = function (e, t) { return l.ca.da() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.mf = function () { for (var e = 0; e < this.elements.events.length; e++) {
3355
+ } }(), k.areas && (I = I.concat(k.areas)), DayPilot.Areas.attach(P, e, { areas: I }), this.elements.events.push(P), o.appendChild(P), e.rendered = !0, !0; }, this.$a = function (e, t) { return l.ca.da() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.pf = function () { for (var e = 0; e < this.elements.events.length; e++) {
3358
3356
  var t = this.elements.events[e], n = t.event, i = n.part.dayIndex, a = l.rowlist[i], o = a.top, r = o + n.part.top, s = a.height, d = l.eventHeight, c = !1;
3359
3357
  n.part.top + d > s && (d = Math.max(0, s - n.part.top), c = !0), t.style.top = r + "px", t.style.height = d + "px";
3360
- } }, this.zh = function (e) { if (!e)
3358
+ } }, this.Bh = function (e) { if (!e)
3361
3359
  return null; for (var t = 0; t < l.elements.events.length; t++) {
3362
3360
  var n = l.elements.events[t];
3363
3361
  if (n.event === e || n.event.data === e.data)
3364
3362
  return n;
3365
- } return null; }, this.Jf = function (e) { var t = l.events.Of(e.data); if (!t)
3366
- return null; var n = l.rowlist[t.part.dayIndex]; return l.Eg(n), l.Ta(t, { "forced": !0 }), l.zh(t); }, this.rh = function (e) { for (var t = this; t && !t.event;)
3367
- t = t.parentNode; t.event; l.Ah(t, e), l.Qe(e); }, this.Oe = {}, this.uh = function (e) { l.Qe(e); var t = DayPilot.Util.mouseButton(e); e.preventDefault(), e.stopPropagation(), t.left && ("w-resize" === this.style.cursor || "e-resize" === this.style.cursor ? (n.Ne = !0, n.dg = this, n.hg = this.event, n.Bh = DayPilot.mc(e), o().style.cursor = this.style.cursor) : ("move" === this.style.cursor || this.event.client.moveEnabled()) && l.Ch(this, e)); }, this.vh = function (e) { DayPilot.Util.mouseButton(e).right && l.xa.call(this, e); }, this.Ch = function (e, t) { var n = l.Oe; l.Qe(t), n.Dh = !0, n.Oe = e, n.kg = e.event, n.Bh = DayPilot.mc(t), n.Eh = DayPilot.mo3(e, t).x, n.cg = l.getDate(l.coords.x, !0); }, this.Fh = {};
3368
- var h = l.Fh;
3369
- "undefined" == typeof DayPilot.Global.touch && (DayPilot.Global.touch = {}), DayPilot.Global.touch.active = !1, DayPilot.Global.touch.start = !1, h.Ff = [], h.wh = function (t) { if (!DayPilot.Global.touch.active && !DayPilot.Global.touch.start) {
3370
- t.stopPropagation(), h.Gh(), DayPilot.Global.touch.start = !0, DayPilot.Global.touch.active = !1;
3363
+ } return null; }, this.Mf = function (e) { var t = l.events.Rf(e.data); if (!t)
3364
+ return null; var n = l.rowlist[t.part.dayIndex]; return l.Hg(n), l.Ta(t, { "forced": !0 }), l.Bh(t); }, this.vh = function (e) { for (var t = this; t && !t.event;)
3365
+ t = t.parentNode; t.event; l.Ch(t, e), l.Se(e); }, this.Qe = {}, this.wh = function (e) { l.Se(e); var t = DayPilot.Util.mouseButton(e); e.preventDefault(), e.stopPropagation(), t.left && ("w-resize" === this.style.cursor || "e-resize" === this.style.cursor ? (n.Pe = !0, n.gg = this, n.kg = this.event, n.Dh = DayPilot.mc(e), o().style.cursor = this.style.cursor) : ("move" === this.style.cursor || this.event.client.moveEnabled()) && l.Eh(this, e)); }, this.xh = function (e) { DayPilot.Util.mouseButton(e).right && l.xa.call(this, e); }, this.Eh = function (e, t) { var n = l.Qe; l.Se(t), n.Fh = !0, n.Qe = e, n.ng = e.event, n.Dh = DayPilot.mc(t), n.Gh = DayPilot.mo3(e, t).x, n.fg = l.getDate(l.coords.x, !0); }, this.Hh = {};
3366
+ var h = l.Hh;
3367
+ "undefined" == typeof DayPilot.Global.touch && (DayPilot.Global.touch = {}), DayPilot.Global.touch.active = !1, DayPilot.Global.touch.start = !1, h.If = [], h.yh = function (t) { if (!DayPilot.Global.touch.active && !DayPilot.Global.touch.start) {
3368
+ t.stopPropagation(), h.Ih(), DayPilot.Global.touch.start = !0, DayPilot.Global.touch.active = !1;
3371
3369
  var n = this;
3372
- l.coords = h.Hh(t);
3370
+ l.coords = h.Jh(t);
3373
3371
  var i = l.tapAndHoldTimeout;
3374
- h.Ff.push(setTimeout(function () { DayPilot.Global.touch.active = !0, DayPilot.Global.touch.start = !1, t.preventDefault(); var i = n.event; switch (l.eventTapAndHoldHandling) {
3372
+ h.If.push(setTimeout(function () { DayPilot.Global.touch.active = !0, DayPilot.Global.touch.start = !1, t.preventDefault(); var i = n.event; switch (l.eventTapAndHoldHandling) {
3375
3373
  case "Move": if (i.client.moveEnabled()) {
3376
3374
  var a = e(t);
3377
- h.Ch(n, a);
3375
+ h.Eh(n, a);
3378
3376
  }
3379
3377
  } }, i));
3380
- } }, h.xh = function (e) { h.Gh(), DayPilot.Global.touch.start = !1; }, h.yh = function (e) { if (!DayPilot.Util.isMouseEvent(e)) {
3381
- if (h.Gh(), DayPilot.Global.touch.start) {
3378
+ } }, h.zh = function (e) { h.Ih(), DayPilot.Global.touch.start = !1; }, h.Ah = function (e) { if (!DayPilot.Util.isMouseEvent(e)) {
3379
+ if (h.Ih(), DayPilot.Global.touch.start) {
3382
3380
  DayPilot.Global.touch.start = !1, e.preventDefault(), e.stopPropagation();
3383
3381
  var t = this;
3384
- setTimeout(function () { l.Pe(t, e); });
3382
+ setTimeout(function () { l.Re(t, e); });
3385
3383
  }
3386
3384
  setTimeout(function () { DayPilot.Global.touch.start = !1, DayPilot.Global.touch.active = !1; }, 500);
3387
- } }, h.Mg = function (e) { if (!(DayPilot.Global.touch.active || DayPilot.Global.touch.start || e.touches.length > 1 || "Disabled" === l.timeRangeSelectedHandling)) {
3388
- h.Gh(), DayPilot.Global.touch.start = !0, DayPilot.Global.touch.active = !1;
3385
+ } }, h.Og = function (e) { if (!(DayPilot.Global.touch.active || DayPilot.Global.touch.start || e.touches.length > 1 || "Disabled" === l.timeRangeSelectedHandling)) {
3386
+ h.Ih(), DayPilot.Global.touch.start = !0, DayPilot.Global.touch.active = !1;
3389
3387
  var t = l.tapAndHoldTimeout;
3390
- h.Ff.push(setTimeout(function () { DayPilot.Global.touch.active = !0, DayPilot.Global.touch.start = !1, e.preventDefault(), l.coords = h.Hh(e), h.Ih = l.Jh(); }, t));
3391
- l.coords = h.Hh(e);
3392
- } }, h.Ng = function (e) { if (h.Gh(), DayPilot.Global.touch.start = !1, n.dg)
3393
- return e.preventDefault(), void h.Kh(); if (DayPilot.Global.touch.active) {
3394
- if (e.preventDefault(), l.coords = h.Hh(e), n.Oe)
3395
- return void h.Lh();
3396
- if (h.Ih) {
3397
- var t = h.Ih;
3398
- t.end = { x: Math.floor(l.coords.x / l.cellWidth), "time": l.getDate(l.coords.x, !0) }, l.xf(t);
3388
+ h.If.push(setTimeout(function () { DayPilot.Global.touch.active = !0, DayPilot.Global.touch.start = !1, e.preventDefault(), l.coords = h.Jh(e), h.Kh = l.Lh(); }, t));
3389
+ l.coords = h.Jh(e);
3390
+ } }, h.Pg = function (e) { if (h.Ih(), DayPilot.Global.touch.start = !1, n.gg)
3391
+ return e.preventDefault(), void h.Mh(); if (DayPilot.Global.touch.active) {
3392
+ if (e.preventDefault(), l.coords = h.Jh(e), n.Qe)
3393
+ return void h.Nh();
3394
+ if (h.Kh) {
3395
+ var t = h.Kh;
3396
+ t.end = { x: Math.floor(l.coords.x / l.cellWidth), "time": l.getDate(l.coords.x, !0) }, l.Af(t);
3399
3397
  }
3400
- } }, h.debug = function (e) { }, h.Og = function (e) { h.Gh(); if (DayPilot.Global.touch.active) {
3401
- if (n.Oe) {
3398
+ } }, h.debug = function (e) { }, h.Qg = function (e) { h.Ih(); if (DayPilot.Global.touch.active) {
3399
+ if (n.Qe) {
3402
3400
  e.preventDefault();
3403
- var t = n.kg;
3404
- if (l !== n.lg.calendar)
3401
+ var t = n.ng;
3402
+ if (l !== n.og.calendar)
3405
3403
  return;
3406
- var i = n.lg.start, a = n.lg.end, r = n.lg.row.id;
3407
- DayPilot.Util.removeClass(n.Oe, l.L("_event_moving_source")), DayPilot.de(n.lg), n.lg.calendar = null, o().style.cursor = "", n.Oe = null, n.kg = null, n.lg = null, l.M(t, i, a, r);
3404
+ var i = n.og.start, a = n.og.end, r = n.og.row.id;
3405
+ DayPilot.Util.removeClass(n.Qe, l.L("_event_moving_source")), DayPilot.de(n.og), n.og.calendar = null, o().style.cursor = "", n.Qe = null, n.ng = null, n.og = null, l.M(t, i, a, r);
3408
3406
  }
3409
- if (h.Ih) {
3410
- var s = h.Ih;
3411
- h.Ih = null;
3407
+ if (h.Kh) {
3408
+ var s = h.Kh;
3409
+ h.Kh = null;
3412
3410
  var d = l.elements.range2;
3413
- d && d.overlapping ? l.clearSelection() : l.tf(s);
3411
+ d && d.overlapping ? l.clearSelection() : l.wf(s);
3414
3412
  }
3415
3413
  }
3416
3414
  else if (DayPilot.Global.touch.start) {
3417
3415
  if (l.coords.x < l.getScrollX())
3418
3416
  return;
3419
- var s = l.Jh();
3420
- l.xf(s);
3417
+ var s = l.Lh();
3418
+ l.Af(s);
3421
3419
  var d = l.elements.range2;
3422
- d && d.overlapping ? l.clearSelection() : l.tf(s);
3423
- } setTimeout(function () { DayPilot.Global.touch.start = !1, DayPilot.Global.touch.active = !1; }, 500); }, h.Gh = function () { for (var e = 0; e < h.Ff.length; e++)
3424
- clearTimeout(h.Ff[e]); h.Ff = []; }, h.Hh = function (e) { function t(e, t, n) { var i = DayPilot.abs(n); return { x: e - i.x, y: t - i.y, toString: function () { return "x: " + this.x + ", y:" + this.y; } }; } var n = l.je, i = e.touches ? e.touches[0] : e; return t(i.pageX, i.pageY, n); }, h.Ch = function (e, t) { n.Oe = e, n.kg = e.event, n.Bh = t; var i = DayPilot.abs(e); n.Eh = t.x - i.x, n.cg = l.getDate(l.coords.x, !0), n.lg = l.ba(e), l.jg(); }, h.Kh = function () { if (!n.gg) {
3425
- var e = n.dg;
3426
- n.gg = l.ba(e);
3427
- } l.ig(); }, h.Lh = function () { if (!n.lg) {
3428
- var e = n.Oe;
3429
- n.lg = l.ba(e);
3430
- } n.lg.calendar.jg(); }, this.Ah = function (e, t) { var i = this.eventResizeMargin, a = e; if ("undefined" != typeof n) {
3420
+ d && d.overlapping ? l.clearSelection() : l.wf(s);
3421
+ } setTimeout(function () { DayPilot.Global.touch.start = !1, DayPilot.Global.touch.active = !1; }, 500); }, h.Ih = function () { for (var e = 0; e < h.If.length; e++)
3422
+ clearTimeout(h.If[e]); h.If = []; }, h.Jh = function (e) { function t(e, t, n) { var i = DayPilot.abs(n); return { x: e - i.x, y: t - i.y, toString: function () { return "x: " + this.x + ", y:" + this.y; } }; } var n = l.je, i = e.touches ? e.touches[0] : e; return t(i.pageX, i.pageY, n); }, h.Eh = function (e, t) { n.Qe = e, n.ng = e.event, n.Dh = t; var i = DayPilot.abs(e); n.Gh = t.x - i.x, n.fg = l.getDate(l.coords.x, !0), n.og = l.ba(e), l.mg(); }, h.Mh = function () { if (!n.jg) {
3423
+ var e = n.gg;
3424
+ n.jg = l.ba(e);
3425
+ } l.lg(); }, h.Nh = function () { if (!n.og) {
3426
+ var e = n.Qe;
3427
+ n.og = l.ba(e);
3428
+ } n.og.calendar.mg(); }, this.Ch = function (e, t) { var i = this.eventResizeMargin, a = e; if ("undefined" != typeof n) {
3431
3429
  var o = DayPilot.mo3(e, t);
3432
- if (o && (l.eventOffset = o, !n.dg && !n.Oe)) {
3430
+ if (o && (l.eventOffset = o, !n.gg && !n.Qe)) {
3433
3431
  var r = a.event.part.start.toString() === a.event.start().toString(), s = a.event.part.end.toString() === a.event.rawend().toString();
3434
- o.x <= i && a.event.client.resizeEnabled() ? r ? (e.style.cursor = "w-resize", e.dpBorder = "left") : e.style.cursor = "not-allowed" : e.offsetWidth - o.x <= i && a.event.client.resizeEnabled() ? s ? (e.style.cursor = "e-resize", e.dpBorder = "right") : e.style.cursor = "not-allowed" : n.dg || n.Oe || (a.event.client.clickEnabled() ? e.style.cursor = "pointer" : e.style.cursor = "default");
3432
+ o.x <= i && a.event.client.resizeEnabled() ? r ? (e.style.cursor = "w-resize", e.dpBorder = "left") : e.style.cursor = "not-allowed" : e.offsetWidth - o.x <= i && a.event.client.resizeEnabled() ? s ? (e.style.cursor = "e-resize", e.dpBorder = "right") : e.style.cursor = "not-allowed" : n.gg || n.Qe || (a.event.client.clickEnabled() ? e.style.cursor = "pointer" : e.style.cursor = "default");
3435
3433
  }
3436
- } }, this.yf = function () { var e = l.Le(); return l.days * (1440 / e); }, this.uf = function (e) { var e = e || n.Ih || l.wf; if (!e)
3434
+ } }, this.Bf = function () { var e = l.Ne(); return l.days * (1440 / e); }, this.xf = function (e) { var e = e || n.Kh || l.zf; if (!e)
3437
3435
  return null; var t = l.rowlist[e.start.y]; if (!t)
3438
- return null; var i, a, o = e, r = o.end.time > o.start.time, s = t.id, d = r ? o.start.x : o.end.x, c = r ? o.end.x : o.start.x, u = l.snapToGrid; u ? (i = l.Je(d).start, a = l.Je(c).end) : r ? (i = o.start.time, a = o.end.time) : (i = o.end.time, a = o.start.time); var h = new DayPilot.Selection(i, a, s, l); return h.allowed = !e.div || !e.div.overlapping, h; }, this.Ye = function () { this.xb.timeHeader = {}, l.elements.timeHeader.length > 0 && (l.elements.timeHeader = []); var e = r(); e.style.position = "relative", this.nav.timeHeader = e; for (var t = 0; t < this.timeHeader.length; t++)
3436
+ return null; var i, a, o = e, r = o.end.time > o.start.time, s = t.id, d = r ? o.start.x : o.end.x, c = r ? o.end.x : o.start.x, u = l.snapToGrid; u ? (i = l.Le(d).start, a = l.Le(c).end) : r ? (i = o.start.time, a = o.end.time) : (i = o.end.time, a = o.start.time); var h = new DayPilot.Selection(i, a, s, l); return h.allowed = !e.div || !e.div.overlapping, h; }, this.$e = function () { this.xb.timeHeader = {}, l.elements.timeHeader.length > 0 && (l.elements.timeHeader = []); var e = r(); e.style.position = "relative", this.nav.timeHeader = e; for (var t = 0; t < this.timeHeader.length; t++)
3439
3437
  for (var n = this.timeHeader[t], i = 0; i < n.length; i++)
3440
- this.Mh(i, t); var a = this.divNorth; 1 === a.childNodes.length ? a.replaceChild(e, a.childNodes[0]) : (a.innerHTML = "", a.appendChild(e)); var o = this.Ae(); a.style.width = o + 5e3 + "px", o > 0 && (this.divStretch.style.width = o + "px"); }, this.He = function (e, t) { var n = null, i = this.ca.Ge(), t = t || this.cellGroupBy, a = e.start; switch (t) {
3438
+ this.Oh(i, t); var a = this.divNorth; 1 === a.childNodes.length ? a.replaceChild(e, a.childNodes[0]) : (a.innerHTML = "", a.appendChild(e)); var o = this.Ce(); a.style.width = o + 5e3 + "px", o > 0 && (this.divStretch.style.width = o + "px"); }, this.Je = function (e, t) { var n = null, i = this.ca.Ie(), t = t || this.cellGroupBy, a = e.start; switch (t) {
3441
3439
  case "Minute":
3442
3440
  n = a.toString("m");
3443
3441
  break;
3444
3442
  case "Hour":
3445
- n = "Clock12Hours" === l.ca.Nh() ? a.toString("h tt", i) : a.toString("H", i);
3443
+ n = "Clock12Hours" === l.ca.Ph() ? a.toString("h tt", i) : a.toString("H", i);
3446
3444
  break;
3447
3445
  case "Day":
3448
3446
  n = a.toString(i.datePattern);
@@ -3464,10 +3462,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3464
3462
  break;
3465
3463
  case "Cell":
3466
3464
  var o = (e.end.ticks - e.start.ticks) / 6e4;
3467
- n = this.Oh(a, o);
3465
+ n = this.Qh(a, o);
3468
3466
  break;
3469
3467
  default: throw new DayPilot.Exception("Invalid groupBy value: " + t);
3470
- } return n; }, this.Oh = function (e, t) { var n = this.ca.Ge(), t = t || this.cellDuration; return t < 1 ? e.toString("ss") : t < 60 ? e.toString("mm") : t < 1440 ? "Clock12Hours" === l.ca.Nh() ? e.toString("h tt", n) : e.toString("H", n) : t < 10080 ? e.toString("d") : 10080 === t ? 1 === f.ea() ? e.weekNumberISO() : e.weekNumber() : e.toString("MMMM yyyy", n); }, this.Fe = function (e, t, n) { var i, a = l.startDate.addDays(l.days); t = t || this.cellGroupBy; var o = 60; switch (t) {
3468
+ } return n; }, this.Qh = function (e, t) { var n = this.ca.Ie(), t = t || this.cellDuration; return t < 1 ? e.toString("ss") : t < 60 ? e.toString("mm") : t < 1440 ? "Clock12Hours" === l.ca.Ph() ? e.toString("h tt", n) : e.toString("H", n) : t < 10080 ? e.toString("d") : 10080 === t ? 1 === f.ea() ? e.weekNumberISO() : e.weekNumber() : e.toString("MMMM yyyy", n); }, this.He = function (e, t, n) { var i, a = l.startDate.addDays(l.days); t = t || this.cellGroupBy; var o = 60; switch (t) {
3471
3469
  case "Minute":
3472
3470
  e.getMinutes() + e.getSeconds() + e.getMilliseconds() > 0 && (e = e.getDatePart().addHours(e.getHours()).addMinutes(e.getMinutes())), i = e.addMinutes(1);
3473
3471
  break;
@@ -3501,53 +3499,53 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3501
3499
  i = a;
3502
3500
  break;
3503
3501
  case "Cell":
3504
- var s = this.Ke(e);
3502
+ var s = this.Me(e);
3505
3503
  s.current && (i = s.current.end);
3506
3504
  break;
3507
3505
  default: throw n ? new DayPilot.Exception("Invalid scale value: " + t) : new DayPilot.Exception("Invalid groupBy value: " + t);
3508
- } return i.getTime() > a.getTime() && (i = a), i; }, this.Mh = function (e, t) { var n = this.nav.timeHeader, i = this.timeHeader[t][e], a = t < this.timeHeader.length - 1, o = i.left, s = i.width, d = t * l.headerHeight, c = l.headerHeight, u = r(); u.style.position = "absolute", u.style.top = d + "px", u.style.left = o + "px", u.style.width = s + "px", u.style.height = c + "px", i.toolTip && (u.title = i.toolTip), u.setAttribute("aria-hidden", "true"), i.cssClass && DayPilot.Util.addClass(u, i.cssClass), u.style.userSelect = "none", u.style.webkitUserSelect = "none", u.oncontextmenu = function () { return !1; }, u.cell = {}, u.cell.start = i.start, u.cell.end = i.end, u.cell.level = t, u.cell.th = i, u.onclick = this.yg, u.oncontextmenu = this.zg, DayPilot.re(u, DayPilot.touch.start, function (e) { e.stopPropagation(); }), u.style.overflow = "hidden", l.timeHeaderTextWrappingEnabled || (u.style.whiteSpace = "nowrap"); var h = r(); h.innerHTML = l.$a(i.text, i.innerHTML), i.backColor && (h.style.background = i.backColor), i.fontColor && (h.style.color = i.fontColor); var f = this.L("_timeheadercol"), v = this.L("_timeheadercol_inner"); a && (f = this.L("_timeheadergroup"), v = this.L("_timeheadergroup_inner")), DayPilot.Util.addClass(u, f), DayPilot.Util.addClass(h, v), DayPilot.Util.addClass(u, l.L("_timeheader_cell")), DayPilot.Util.addClass(h, l.L("_timeheader_cell_inner")), u.appendChild(h), this.xb.timeHeader[e + "_" + t] = u, this.elements.timeHeader.push(u), n.appendChild(u); }, this.$f = function () { l.rowlist.forEach(function (e) { var t = e.getHeight(); e.height !== t && (l.jf = !0), e.height = t; }), l.jf && (l.xb.drawArea = null); }, this.Ze = function () { l.rowlist.forEach(function (e) { var t = l.divHeader; if (t) {
3506
+ } return i.getTime() > a.getTime() && (i = a), i; }, this.Oh = function (e, t) { var n = this.nav.timeHeader, i = this.timeHeader[t][e], a = t < this.timeHeader.length - 1, o = i.left, s = i.width, d = t * l.headerHeight, c = l.headerHeight, u = r(); u.style.position = "absolute", u.style.top = d + "px", u.style.left = o + "px", u.style.width = s + "px", u.style.height = c + "px", i.toolTip && (u.title = i.toolTip), u.setAttribute("aria-hidden", "true"), i.cssClass && DayPilot.Util.addClass(u, i.cssClass), u.style.userSelect = "none", u.style.webkitUserSelect = "none", u.oncontextmenu = function () { return !1; }, u.cell = {}, u.cell.start = i.start, u.cell.end = i.end, u.cell.level = t, u.cell.th = i, u.onclick = this.Bg, u.oncontextmenu = this.Cg, DayPilot.re(u, DayPilot.touch.start, function (e) { e.stopPropagation(); }), u.style.overflow = "hidden", l.timeHeaderTextWrappingEnabled || (u.style.whiteSpace = "nowrap"); var h = r(); h.innerHTML = l.$a(i.text, i.innerHTML), i.backColor && (h.style.background = i.backColor), i.fontColor && (h.style.color = i.fontColor); var f = this.L("_timeheadercol"), v = this.L("_timeheadercol_inner"); a && (f = this.L("_timeheadergroup"), v = this.L("_timeheadergroup_inner")), DayPilot.Util.addClass(u, f), DayPilot.Util.addClass(h, v), DayPilot.Util.addClass(u, l.L("_timeheader_cell")), DayPilot.Util.addClass(h, l.L("_timeheader_cell_inner")), u.appendChild(h), this.xb.timeHeader[e + "_" + t] = u, this.elements.timeHeader.push(u), n.appendChild(u); }, this.bg = function () { l.rowlist.forEach(function (e) { var t = e.getHeight() + l.rowMarginTop + l.rowMarginBottom; e.height !== t && (l.mf = !0), e.height = t; }), l.mf && (l.xb.drawArea = null); }, this._e = function () { l.rowlist.forEach(function (e) { var t = l.divHeader; if (t) {
3509
3507
  var n = e.index;
3510
3508
  if (t.rows[n]) {
3511
3509
  var i = t.rows[n];
3512
- l.pg && (i.style.top = e.top + "px");
3510
+ l.sg && (i.style.top = e.top + "px");
3513
3511
  var a = e.height;
3514
3512
  i && i.firstChild && parseInt(i.firstChild.style.height, 10) !== a && (i.firstChild.style.height = a + "px");
3515
3513
  }
3516
- } }), l.pg && l.nav.resScrollSpace && (l.nav.resScrollSpace.style.top = l.fe + "px"); }, this.ah = function (e) { if (!DayPilot.Global.touch.start && !DayPilot.Global.touch.active) {
3517
- n.Ph, 1, l.Qe(e);
3514
+ } }), l.sg && l.nav.resScrollSpace && (l.nav.resScrollSpace.style.top = l.fe + "px"); }, this.ch = function (e) { if (!DayPilot.Global.touch.start && !DayPilot.Global.touch.active) {
3515
+ n.Rh, 1, l.Se(e);
3518
3516
  var t = DayPilot.Util.mouseButton(e);
3519
- if (l.Qh())
3517
+ if (l.Sh())
3520
3518
  return !1;
3521
3519
  if (t.middle || t.right)
3522
3520
  return !1;
3523
- if (l.Rh(l.coords))
3521
+ if (l.Th(l.coords))
3524
3522
  return !1;
3525
3523
  var i = t.left ? "left" : t.right ? "right" : t.middle ? "middle" : "unknown";
3526
- return l.Sh = i, n.Ih = l.Jh(), n.Ih && (n.Th = l), !1;
3527
- } }, this.Jh = function () { var e = {}, t = l.Ie(l.coords.x).x, n = l.getDate(l.coords.x, !0); return e.start = { y: l.Ef(l.coords.y).i, x: t, "time": n }, e.end = { x: t, "time": n }, e.calendar = l, l.xf(e), e; }, this.ch = function (e) { if (l.Oe = {}, l.wf) {
3524
+ return l.Uh = i, n.Kh = l.Lh(), n.Kh && (n.Vh = l), !1;
3525
+ } }, this.Lh = function () { var e = {}, t = l.Ke(l.coords.x).x, n = l.getDate(l.coords.x, !0); return e.start = { y: l.Hf(l.coords.y).i, x: t, "time": n }, e.end = { x: t, "time": n }, e.calendar = l, l.Af(e), e; }, this.eh = function (e) { if (l.Qe = {}, l.zf) {
3528
3526
  if (DayPilot.Util.mouseButton(e).left) {
3529
- var t = l.wf;
3530
- if (l.Rh(l.coords)) {
3531
- var i = function (e) { return function () { n.Ph = null; var t = l.uf(e); if (t) {
3527
+ var t = l.zf;
3528
+ if (l.Th(l.coords)) {
3529
+ var i = function (e) { return function () { n.Rh = null; var t = l.xf(e); if (t) {
3532
3530
  var i = {};
3533
3531
  i.start = t.start, i.end = t.end, i.resource = t.resource, i.preventDefault = function () { i.preventDefault.value = !0; }, "function" == typeof l.onTimeRangeClick && l.onTimeRangeClick(i), i.preventDefault.value || "function" == typeof l.onTimeRangeClicked && l.onTimeRangeClicked(i);
3534
3532
  } }; };
3535
3533
  "Disabled" !== l.timeRangeClickHandling && i(t)();
3536
3534
  }
3537
3535
  }
3538
- } }, this.Qh = function () { return !!(n.dg || n.Oe || n.Ih) || !!l.Oe.Dh; }, this.dragInProgress = function () { return l.Qh(); }, this.Qe = function (e) { var t = DayPilot.mo3(l.je, e); t = t || {}, t.stamp = t.x + "_" + t.y, l.coords && l.coords.stamp === t.stamp || (l.coords = t); }, this.bh = function (e) { if (!DayPilot.Global.touch.active) {
3536
+ } }, this.Sh = function () { return !!(n.gg || n.Qe || n.Kh) || !!l.Qe.Fh; }, this.dragInProgress = function () { return l.Sh(); }, this.Se = function (e) { var t = DayPilot.mo3(l.je, e); t = t || {}, t.stamp = t.x + "_" + t.y, l.coords && l.coords.stamp === t.stamp || (l.coords = t); }, this.dh = function (e) { if (!DayPilot.Global.touch.active) {
3539
3537
  var t = DayPilot.mc(e);
3540
- if (l.Qe(e), l.Oe.Dh) {
3541
- DayPilot.distance(l.Oe.Bh, t) > 2 && (DayPilot.Util.copyProps(l.Oe, n), o().style.cursor = "move", l.Oe = {});
3538
+ if (l.Se(e), l.Qe.Fh) {
3539
+ DayPilot.distance(l.Qe.Dh, t) > 2 && (DayPilot.Util.copyProps(l.Qe, n), o().style.cursor = "move", l.Qe = {});
3542
3540
  }
3543
- n.dg && n.hg.calendar === l ? (n.dg.event || (n.dg.event = n.hg), l.Uh()) : n.kg ? l.Vh() : n.Ih && n.Ih.calendar === l && (n.Ih.moved = !0, l.Wh());
3544
- } }, this.Wh = function () { var e = n.Ih, t = l.Ie(l.coords.x).x, i = l.getDate(l.coords.x, !0); e.end = { x: t, "time": i }, l.xf(e); }, this.Uh = function () { n.gg || (n.gg = l.ba(n.dg)), l.ig(); }, this.Vh = function () { if (!n.lg) {
3545
- DayPilot.Util.addClass(n.Oe, l.L("_event_moving_source"));
3546
- var e = n.kg;
3547
- n.lg = l.ba(e);
3548
- } l.jg(); }, this.dh = function (e) { return e.cancelBubble = !0, !1; }, this.Rh = function (e) { var t = l.wf; if (!t || !t.start || !t.end)
3549
- return !1; var n = this.Hf(t.start.y), i = t.start.x < t.end.x, a = (i ? t.start.x : t.end.x) * this.cellWidth, o = (i ? t.end.x : t.start.x) * this.cellWidth + this.cellWidth, r = n.top, s = n.bottom; return e.x >= a && e.x <= o && e.y >= r && e.y <= s; }, this.xf = function (e) { function t(e) { var t, n, o, s, d = e.end.time > e.start.time, c = e.start.y, u = e.start.time && e.end.time; if (i || !u) {
3550
- var h = d ? e.start.x : e.end.x, f = d ? e.end.x : e.start.x, v = l.Je(h), p = l.Je(f);
3541
+ n.gg && n.kg.calendar === l ? (n.gg.event || (n.gg.event = n.kg), l.Wh()) : n.ng ? l.Xh() : n.Kh && n.Kh.calendar === l && (n.Kh.moved = !0, l.Yh());
3542
+ } }, this.Yh = function () { var e = n.Kh, t = l.Ke(l.coords.x).x, i = l.getDate(l.coords.x, !0); e.end = { x: t, "time": i }, l.Af(e); }, this.Wh = function () { n.jg || (n.jg = l.ba(n.gg)), l.lg(); }, this.Xh = function () { if (!n.og) {
3543
+ DayPilot.Util.addClass(n.Qe, l.L("_event_moving_source"));
3544
+ var e = n.ng;
3545
+ n.og = l.ba(e);
3546
+ } l.mg(); }, this.fh = function (e) { return e.cancelBubble = !0, !1; }, this.Th = function (e) { var t = l.zf; if (!t || !t.start || !t.end)
3547
+ return !1; var n = this.Kf(t.start.y), i = t.start.x < t.end.x, a = (i ? t.start.x : t.end.x) * this.cellWidth, o = (i ? t.end.x : t.start.x) * this.cellWidth + this.cellWidth, r = n.top, s = n.bottom; return e.x >= a && e.x <= o && e.y >= r && e.y <= s; }, this.Af = function (e) { function t(e) { var t, n, o, s, d = e.end.time > e.start.time, c = e.start.y, u = e.start.time && e.end.time; if (i || !u) {
3548
+ var h = d ? e.start.x : e.end.x, f = d ? e.end.x : e.start.x, v = l.Le(h), p = l.Le(f);
3551
3549
  t = v.left, n = p.left + p.width;
3552
3550
  }
3553
3551
  else
@@ -3555,76 +3553,105 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3555
3553
  g = r(), g.style.position = "absolute";
3556
3554
  var y = r();
3557
3555
  y.className = l.L("_shadow_inner"), g.appendChild(y), l.divShadow.appendChild(g);
3558
- } return g.className = l.L("_shadow"), g.firstChild.innerHTML = "", g.style.left = t + "px", g.style.top = a[c].top + "px", g.style.width = m + "px", g.style.height = a[c].height - 1 + "px", g.calendar = l, l.elements.range2 = g, g; } if (e = e || n.Ih) {
3556
+ } return g.className = l.L("_shadow"), g.firstChild.innerHTML = "", g.style.left = t + "px", g.style.top = a[c].top + "px", g.style.width = m + "px", g.style.height = a[c].height - 1 + "px", g.calendar = l, l.elements.range2 = g, g; } if (e = e || n.Kh) {
3559
3557
  var i = l.snapToGrid, a = l.rowlist;
3560
3558
  t(e);
3561
- } }, this.Xh = function (e) { return { "start": { "x": e.start.x, "y": e.start.y, "time": e.start.time }, "end": { "x": e.end.x, "time": e.end.time }, "calendar": e.calendar, "args": e.args }; }, this.Ff = {}, this.Ff.na = null, this.Ff.drawCells = null, this.Ff.drawRows = null, this.Ff.click = null, this.Ff.resClick = [], this.Ff.updateFloats = null, this.cf = function () { if (!l.Q) {
3562
- l.af();
3559
+ } }, this.Zh = function (e) { return { "start": { "x": e.start.x, "y": e.start.y, "time": e.start.time }, "end": { "x": e.end.x, "time": e.end.time }, "calendar": e.calendar, "args": e.args }; }, this.If = {}, this.If.na = null, this.If.drawCells = null, this.If.drawRows = null, this.If.click = null, this.If.resClick = [], this.If.updateFloats = null, this.ff = function () { if (!l.Q) {
3560
+ l.df();
3563
3561
  var e = l.nav.scroll;
3564
- if (l.ih = e.scrollLeft, l.jh = e.scrollTop, l.kh = e.clientWidth, l.divTimeScroll && (l.divTimeScroll.scrollLeft = l.ih), t && n.Vg ? i() : l.divResScroll.scrollTop = l.jh, l.progressiveRowRendering && (l.Ff.drawRows && (clearTimeout(l.Ff.drawRows), l.Ff.drawRows = null), l.scrollDelayRows > 0 ? l.Ff.drawRows = setTimeout(function () { l.sg(); }, l.scrollDelayRows) : l.sg()), l.Ff.drawCells && (clearTimeout(l.Ff.drawCells), l.Ff.drawCells = null), l.scrollDelayCells > 0)
3565
- l.Ff.drawCells = setTimeout(l.Yh(), l.scrollDelayCells);
3562
+ if (l.kh = e.scrollLeft, l.lh = e.scrollTop, l.mh = e.clientWidth, l.divTimeScroll && (l.divTimeScroll.scrollLeft = l.kh), t && n.Xg ? i() : l.divResScroll.scrollTop = l.lh, l.progressiveRowRendering && (l.If.drawRows && (clearTimeout(l.If.drawRows), l.If.drawRows = null), l.scrollDelayRows > 0 ? l.If.drawRows = setTimeout(function () { l.vg(); }, l.scrollDelayRows) : l.vg()), l.If.drawCells && (clearTimeout(l.If.drawCells), l.If.drawCells = null), l.scrollDelayCells > 0)
3563
+ l.If.drawCells = setTimeout(l.$h(), l.scrollDelayCells);
3566
3564
  else {
3567
- l.Yh()();
3565
+ l.$h()();
3568
3566
  }
3569
- l.Ff.na && (clearTimeout(l.Ff.na), l.Ff.na = null), l.scrollDelayEvents > 0 ? l.Ff.na = setTimeout(l.Zh(), l.scrollDelayEvents) : l.na(), l.Ff.updateFloats && (clearTimeout(l.Ff.updateFloats), l.Ff.updateFloats = null), l.scrollDelayFloats > 0 ? l.Ff.updateFloats = setTimeout(function () { l.qe(); }, l.scrollDelayFloats) : l.qe(), l.onScrollCalled = !0;
3570
- } }, this.Yh = function () { return function () { l && l.bf(); }; }, this.Zh = function () { return function () { l && (l.ph() ? setTimeout(function () { l.mh(), setTimeout(function () { l.na(!0); }, 50); }, 50) : l.se()); }; }, this.af = function () { l.xb.drawArea = null; }, this.show = function () { l.visible = !0, l.ge = !0, l.nav.top.style.display = "", l.u(), l.$g(), l.cf(); }, this.hide = function () { l.visible = !1, l.ge = !1, l.nav.top.style.display = "none"; }, this.Uf = function (e) { if (!l.events.list)
3567
+ l.If.na && (clearTimeout(l.If.na), l.If.na = null), l.scrollDelayEvents > 0 ? l.If.na = setTimeout(l._h(), l.scrollDelayEvents) : l.na(), l.If.updateFloats && (clearTimeout(l.If.updateFloats), l.If.updateFloats = null), l.scrollDelayFloats > 0 ? l.If.updateFloats = setTimeout(function () { l.qe(); }, l.scrollDelayFloats) : l.qe(), l.onScrollCalled = !0;
3568
+ } }, this.$h = function () { return function () { l && l.ef(); }; }, this._h = function () { return function () { l && (l.rh() ? setTimeout(function () { l.oh(), setTimeout(function () { l.na(!0); }, 50); }, 50) : l.se()); }; }, this.df = function () { l.xb.drawArea = null; }, this.show = function () { l.visible = !0, l.ge = !0, l.nav.top.style.display = "", l.u(), l.ah(), l.ff(); }, this.hide = function () { l.visible = !1, l.ge = !1, l.nav.top.style.display = "none"; }, this.Xf = function (e) { if (!l.events.list)
3571
3569
  return null; for (var t = 0; t < this.events.list.length; t++) {
3572
3570
  var n = this.events.list[t];
3573
- if (l.Nf(n, e)) {
3571
+ if (l.Qf(n, e)) {
3574
3572
  var i = {};
3575
3573
  return i.ex = n, i.index = t, i;
3576
3574
  }
3577
- } return null; }, this.$h = function () { var e = this.ne(), t = e.xStart, n = e.xEnd - e.xStart, i = e.yStart, a = e.yEnd - e.yStart; this.cellProperties || (this.cellProperties = {}); for (var o = 0; o <= n; o++) {
3575
+ } return null; }, this.ai = function () { var e = this.ne(), t = e.xStart, n = e.xEnd - e.xStart, i = e.yStart, a = e.yEnd - e.yStart; this.cellProperties || (this.cellProperties = {}); for (var o = 0; o <= n; o++) {
3578
3576
  for (var r = t + o, s = 0; s < a; s++) {
3579
3577
  var l = i + s;
3580
3578
  this.hd(r, l);
3581
3579
  }
3582
- this._h(r);
3583
- } for (var d = this.ng(), l = d.start; l < d.end; l++)
3584
- this.ai(l); }, this.bf = function () { if (!l.Q) {
3580
+ this.bi(r);
3581
+ } for (var d = this.qg(), l = d.start; l < d.end; l++)
3582
+ this.ci(l); }, this.ef = function () { if (!l.Q) {
3585
3583
  var e = l.rowlist;
3586
3584
  if (e && e.length > 0) {
3587
3585
  if (this.cellSweeping) {
3588
3586
  var t = this.cellSweepingCacheSize;
3589
- this.oh(t);
3587
+ this.qh(t);
3590
3588
  }
3591
- this.$h();
3589
+ this.ai();
3592
3590
  }
3593
- this.jf = !1;
3591
+ this.mf = !1;
3594
3592
  } }, this.ne = function () { if (l.xb.drawArea)
3595
3593
  return l.xb.drawArea; if (!this.nav.scroll)
3596
- return null; var e = l.jh, t = {}, n = null != this.dynamicEventRenderingMarginX ? this.dynamicEventRenderingMarginX : this.dynamicEventRenderingMargin, i = null != this.dynamicEventRenderingMarginY ? this.dynamicEventRenderingMarginY : this.dynamicEventRenderingMargin, a = l.ih - n, o = a + l.kh + 2 * n, r = 0, s = 0; r = l.Ie(a).x, s = l.Ie(o, !0).x; var d = this.yf(); s = Math.min(s, d - 1), r = DayPilot.Util.atLeast(r, 0); var c = e - i, u = e + this.nav.scroll.offsetHeight + 2 * i, h = this.Ef(c).i, f = this.Ef(u).i; f < this.rowlist.length && f++, t.xStart = r, t.xEnd = s, t.yStart = h, t.yEnd = f; var v = l.nav.scroll; return 0 === v.clientWidth && (v = l.divTimeScroll), t.pixels = {}, t.pixels.left = v.scrollLeft, t.pixels.right = v.scrollLeft + v.clientWidth, t.pixels.top = v.scrollTop, t.pixels.bottom = v.scrollTop + v.clientHeight, t.pixels.width = v.scrollWidth, t.sw = DayPilot.sw(l.nav.scroll), l.xb.drawArea = t, t; }, this.Ae = function () { return l.yf() * l.cellWidth; }, this.ai = function (e) { var t = l.rowlist, n = l.divLines, i = "y_" + e; if (!this.xb.linesHorizontal[i]) {
3597
- var a = t[e], o = a.height, s = a.top + o - 1, d = this.Ae(), c = r();
3594
+ return null; var e = l.lh, t = {}, n = null != this.dynamicEventRenderingMarginX ? this.dynamicEventRenderingMarginX : this.dynamicEventRenderingMargin, i = null != this.dynamicEventRenderingMarginY ? this.dynamicEventRenderingMarginY : this.dynamicEventRenderingMargin, a = l.kh - n, o = a + l.mh + 2 * n, r = 0, s = 0; r = l.Ke(a).x, s = l.Ke(o, !0).x; var d = this.Bf(); s = Math.min(s, d - 1), r = DayPilot.Util.atLeast(r, 0); var c = e - i, u = e + this.nav.scroll.offsetHeight + 2 * i, h = this.Hf(c).i, f = this.Hf(u).i; f < this.rowlist.length && f++, t.xStart = r, t.xEnd = s, t.yStart = h, t.yEnd = f; var v = l.nav.scroll; return 0 === v.clientWidth && (v = l.divTimeScroll), t.pixels = {}, t.pixels.left = v.scrollLeft, t.pixels.right = v.scrollLeft + v.clientWidth, t.pixels.top = v.scrollTop, t.pixels.bottom = v.scrollTop + v.clientHeight, t.pixels.width = v.scrollWidth, t.sw = DayPilot.sw(l.nav.scroll), l.xb.drawArea = t, t; }, this.Ce = function () { return l.Bf() * l.cellWidth; }, this.ci = function (e) { var t = l.rowlist, n = l.divLines, i = "y_" + e; if (!this.xb.linesHorizontal[i]) {
3595
+ var a = t[e], o = a.height, s = a.top + o - 1, d = this.Ce(), c = r();
3598
3596
  c.style.left = "0px", c.style.top = s + "px", c.style.width = d + "px", c.style.height = "1px", c.style.fontSize = "1px", c.style.lineHeight = "1px", c.style.overflow = "hidden", c.style.position = "absolute", c.className = this.L("_matrix_horizontal_line"), n.appendChild(c), this.xb.linesHorizontal[i] = c;
3599
- } }, this._h = function (e) { var t = l.Je(e); if (t) {
3597
+ } }, this.bi = function (e) { var t = l.Le(e); if (t) {
3600
3598
  var n = l.divLines, i = l.fe, a = "x_" + e;
3601
3599
  if (!this.xb.linesVertical[a]) {
3602
3600
  var o = t.left + t.width - 1, s = r();
3603
3601
  s.style.left = o + "px", s.style.top = "0px", s.style.width = "1px", s.style.height = i + "px", s.style.fontSize = "1px", s.style.lineHeight = "1px", s.style.overflow = "hidden", s.style.position = "absolute", s.className = this.L("_matrix_vertical_line"), n.appendChild(s), this.elements.linesVertical.push(s), this.xb.linesVertical[a] = s;
3604
3602
  }
3605
- } }, this.We = function () { l.fe = l.bi(l.rowlist); }, this.bi = function (e) { for (var t = 0, n = 0; n < e.length; n++) {
3603
+ } }, this.Ye = function () { l.fe = l.di(l.rowlist); }, this.di = function (e) { for (var t = 0, n = 0; n < e.length; n++) {
3606
3604
  var i = e[n];
3607
3605
  i.top = t, t += i.height;
3608
- } return t; }, this._e = function () { l.elements.cells = [], l.xb.cells = [], l.divCells.innerHTML = "", l.ci(); }, this.ci = function () { l.divLines.innerHTML = "", l.xb.linesVertical = {}, l.xb.linesHorizontal = {}, l.elements.linesVertical = []; }, this.nf = function (e) { var t = []; for (var n in l.xb.cells)
3606
+ } return t; }, this.bf = function () { l.elements.cells = [], l.xb.cells = [], l.divCells.innerHTML = "", l.ei(); }, this.ei = function () { l.divLines.innerHTML = "", l.xb.linesVertical = {}, l.xb.linesHorizontal = {}, l.elements.linesVertical = []; }, this.qf = function (e) { var t = []; for (var n in l.xb.cells)
3609
3607
  t.push(l.xb.cells[n]); t.filter(function (t) { return t && t.coords && t.coords.y === e; }).forEach(function (e) { l.fb(e); }); }, this.hd = function (e, t) { if (this.Ka) {
3610
- var n = l.Je(e);
3608
+ var n = l.Le(e);
3611
3609
  if (n) {
3612
3610
  var i = l.rowlist, a = l.divCells, o = e + "_" + t;
3613
3611
  if (!this.xb.cells[o]) {
3614
- var s = this.di(e, t), d = r();
3615
- d.style.left = n.left + "px", d.style.top = i[t].top + "px", d.style.width = n.width + "px", d.style.height = i[t].height + "px", d.style.position = "absolute", s && s.backColor && (d.style.backgroundColor = s.backColor), d.className = this.L("_cell"), d.coords = {}, d.coords.x = e, d.coords.y = t, s && s.business && l.cellsMarkBusiness && DayPilot.Util.addClass(d, l.L("_cell_business")), a.appendChild(d), this.elements.cells.push(d), this.xb.cells[o] = d;
3612
+ var s = this.fi(e, t), d = l.gi(e, t), c = r();
3613
+ if (c.style.left = n.left + "px", c.style.top = i[t].top + "px", c.style.width = n.width + "px", c.style.height = i[t].height + "px", c.style.position = "absolute", s && s.backColor && (c.style.backgroundColor = s.backColor), c.className = this.L("_cell"), c.coords = {}, c.coords.x = e, c.coords.y = t, s) {
3614
+ if (s.cssClass && DayPilot.Util.addClass(c, s.cssClass), c.innerHTML = l.$a(s.text, s.html), s.backImage && (c.style.backgroundImage = 'url("' + s.backImage + '")'), s.backRepeat && (c.style.backgroundRepeat = s.backRepeat), s.business && l.cellsMarkBusiness && DayPilot.Util.addClass(c, l.L("_cell_business")), s.disabled && DayPilot.Util.addClass(c, l.L("_cell_disabled")), s.backColor && (c.style.backgroundColor = s.backColor), s.fontColor && (c.style.color = s.fontColor), s.horizontalAlignment || s.verticalAlignment) {
3615
+ switch (c.style.display = "flex", s.horizontalAlignment) {
3616
+ case "right":
3617
+ c.style.justifyContent = "flex-end";
3618
+ break;
3619
+ case "left":
3620
+ c.style.justifyContent = "flex-start";
3621
+ break;
3622
+ case "center": c.style.justifyContent = "center";
3623
+ }
3624
+ switch (s.verticalAlignment) {
3625
+ case "center":
3626
+ c.style.alignItems = "center";
3627
+ break;
3628
+ case "top":
3629
+ c.style.alignItems = "flex-start";
3630
+ break;
3631
+ case "bottom": c.style.alignItems = "flex-end";
3632
+ }
3633
+ }
3634
+ DayPilot.Areas.attach(c, d.cell, { "areas": s.areas || d.cell.areas });
3635
+ }
3636
+ a.appendChild(c), this.elements.cells.push(c), this.xb.cells[o] = c;
3616
3637
  }
3617
3638
  }
3618
- } }, this.clearSelection = function () { this.ei(); }, this.fi = function (e, t, n) { e = new DayPilot.Date(e), t = new DayPilot.Date(t); var i = l.le(n), a = l.Ke(e); if (!a.current)
3619
- throw new DayPilot.Exception("Time range selection 'start' out of timeline"); var o = l.Ke(new DayPilot.Date(t).addMilliseconds(-1)); if (!o.current)
3620
- throw new DayPilot.Exception("Time range selection 'end' out of timeline"); var r = {}; return r.start = { y: i.index, x: a.i, "time": e }, r.end = { x: o.i, "time": t }, r.calendar = this, r; }, this.selectTimeRange = function (e, t, n, i) { var a = l.fi(e, t, n); l.xf(a), i || setTimeout(function () { l.tf(a); }, 0); }, this.rf = function () { var e = n.lg && n.lg.source; e && DayPilot.Util.removeClass(e, l.L("_event_moving_source")), DayPilot.de(n.lg), n.lg = null, DayPilot.Global.movingLink && (DayPilot.Global.movingLink.clear(), DayPilot.Global.movingLink = null); }, this.ei = function () { l.divShadow && (l.divShadow.innerHTML = ""), l.elements.range = [], l.elements.range2 = null, l.wf = null, l.gi = null; }, this.ca = {};
3639
+ } }, this.gi = function (e, t) { var n = l.Le(e); if (!n)
3640
+ return null; var i = l.rowlist[t], a = i.id, o = n.start, r = n.end, s = {}; if (s.cell = { x: e, y: t, start: o, end: r, resource: a, row: l.Ag(i), properties: l.fi(e, t) }, s.control = l, "function" == typeof this.onBeforeCellRender) {
3641
+ var d = e + "_" + t;
3642
+ if (l.beforeCellRenderCaching && l.cf[d])
3643
+ return s;
3644
+ l.cf[d] = !0, this.onBeforeCellRender(s);
3645
+ } return s; }, this.clearSelection = function () { this.hi(); }, this.ii = function (e, t, n) { e = new DayPilot.Date(e), t = new DayPilot.Date(t); var i = l.le(n), a = l.Me(e); if (!a.current)
3646
+ throw new DayPilot.Exception("Time range selection 'start' out of timeline"); var o = l.Me(new DayPilot.Date(t).addMilliseconds(-1)); if (!o.current)
3647
+ throw new DayPilot.Exception("Time range selection 'end' out of timeline"); var r = {}; return r.start = { y: i.index, x: a.i, "time": e }, r.end = { x: o.i, "time": t }, r.calendar = this, r; }, this.selectTimeRange = function (e, t, n, i) { var a = l.ii(e, t, n); l.Af(a), i || setTimeout(function () { l.wf(a); }, 0); }, this.uf = function () { var e = n.og && n.og.source; e && DayPilot.Util.removeClass(e, l.L("_event_moving_source")), DayPilot.de(n.og), n.og = null, DayPilot.Global.movingLink && (DayPilot.Global.movingLink.clear(), DayPilot.Global.movingLink = null); }, this.hi = function () { l.divShadow && (l.divShadow.innerHTML = ""), l.elements.range = [], l.elements.range2 = null, l.zf = null, l.ji = null; }, this.ca = {};
3621
3648
  var f = this.ca;
3622
- f.Md = function () { delete l.xb.headerHeight; }, f.da = function () { return "Disabled" !== l.xssProtection; }, f.Ge = function () { return DayPilot.Locale.find(l.locale); }, f.Nh = function () { return "Auto" !== l.timeFormat ? l.timeFormat : f.Ge().timeFormat; }, f.ea = function () { if ("Auto" === l.weekStarts) {
3623
- var e = f.Ge();
3649
+ f.Md = function () { delete l.xb.headerHeight; }, f.da = function () { return "Disabled" !== l.xssProtection; }, f.Ie = function () { return DayPilot.Locale.find(l.locale); }, f.Ph = function () { return "Auto" !== l.timeFormat ? l.timeFormat : f.Ie().timeFormat; }, f.ea = function () { if ("Auto" === l.weekStarts) {
3650
+ var e = f.Ie();
3624
3651
  return e ? e.weekStarts : 0;
3625
- } return l.weekStarts || 0; }, f.ug = function () { var e = navigator.userAgent.toLowerCase(); return e.indexOf("mobile") !== -1 || e.indexOf("android") != -1; }, f.bg = function (e) { return "Always" === l.useEventBoxes || "Never" !== l.useEventBoxes && e < 60 * l.Le() * 1e3; }, this.di = function (e, t) { var n = e + "_" + t, i = l.rowlist; if (this.cellProperties || (this.cellProperties = {}), this.cellProperties[n])
3652
+ } return l.weekStarts || 0; }, f.xg = function () { var e = navigator.userAgent.toLowerCase(); return e.indexOf("mobile") !== -1 || e.indexOf("android") != -1; }, f.eg = function (e) { return "Always" === l.useEventBoxes || "Never" !== l.useEventBoxes && e < 60 * l.Ne() * 1e3; }, this.fi = function (e, t) { var n = e + "_" + t, i = l.rowlist; if (this.cellProperties || (this.cellProperties = {}), this.cellProperties[n])
3626
3653
  return this.cellProperties[n]; if (!this.cellProperties[n]) {
3627
- var a = i[t], o = a.id, r = l.Je(e), s = r.start, d = r.end, c = {};
3654
+ var a = i[t], o = a.id, r = l.Le(e), s = r.start, d = r.end, c = {};
3628
3655
  c.start = s, c.end = d, c.resource = o;
3629
3656
  var u = {};
3630
3657
  u.business = l.isBusiness(c), this.cellProperties[n] = u;
@@ -3643,7 +3670,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3643
3670
  return !0;
3644
3671
  if (o >= s)
3645
3672
  return !1;
3646
- } return !0; }, this.u = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.hi = function (e) { this.heightSpec = "Fixed", this.height = e - (this.Ce() + 2), this.ma(); }, this.setHeight = this.hi, this.le = function (e) { return l.Bg(e)[0]; }, this.wb = function () { if (this.id && this.id.tagName)
3673
+ } return !0; }, this.u = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.ki = function (e) { this.heightSpec = "Fixed", this.height = e - (this.Ee() + 2), this.ma(); }, this.setHeight = this.ki, this.le = function (e) { return l.Eg(e)[0]; }, this.wb = function () { if (this.id && this.id.tagName)
3647
3674
  this.nav.top = this.id;
3648
3675
  else {
3649
3676
  if ("string" != typeof this.id)
@@ -3655,17 +3682,19 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3655
3682
  if (this.nav.top.dp === l)
3656
3683
  return l;
3657
3684
  throw new DayPilot.Exception("The target placeholder was already initialized by another DayPilot component instance.");
3658
- } return this.ii(), this.Zg(), this; }, this.ii = function () { this.Lg(), this.pb(), this.aa(), this.hh(), this.qb(); var angular = l.ze.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.cf(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.af(), this.vb(), this.Ka = !0; var t = l.ie; t ? l.scrollTo(t) : l.cf(); }, this.ub = null, this.sb = function (e) { if (e) {
3659
- var t = { "resources": { "preInit": function () { var e = this.data; e && (l.resources = e); } }, "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? l.events.list = e.list : l.events.list = e); }, "postInit": function () { } }, "scrollTo": { "preInit": function () { }, "postInit": function () { this.data && l.he(this.data); } }, "scrollX": { "postInit": function () { this.data && l.ke(this.data); } }, "scrollY": { "postInit": function () { this.data && l.Be(this.data); } } };
3660
- l.ub = t, l.ze.scrollToRequested && (t.scrollTo.data = l.ze.scrollToRequested, l.ze.scrollToRequested = null), l.ze.scrollXRequested && (t.scrollX.data = l.ze.scrollXRequested, l.ze.scrollXRequested = null), l.ze.scrollYRequested && (t.scrollY.data = l.ze.scrollYRequested, l.ze.scrollYRequested = null);
3661
- for (var n in e)
3662
- t[n] || (l[n] = e[n]);
3663
- for (var n in e)
3664
- if (t[n]) {
3665
- var i = t[n];
3666
- i.data = e[n], i.preInit && i.preInit();
3667
- }
3668
- } }, this.vb = function () { var e = l.ub; for (var t in e) {
3685
+ } return this.li(), this._g(), this; }, this.li = function () { this.Ng(), this.pb(), this.aa(), this.jh(), this.qb(); var angular = l.Be.enabled; l.scrollToDate ? l.scrollTo(l.scrollToDate) : l.scrollX || l.scrollY ? l.setScroll(l.scrollX, l.scrollY) : angular || l.ff(), l.scrollToResourceId && (l.scrollToResource(l.scrollToResourceId), l.scrollToResourceId = null); var e = function () { l.scrollY && l.setScroll(l.scrollX, l.scrollY); }; setTimeout(e, 200), this.df(), this.vb(), this.Ka = !0; var t = l.ie; t ? l.scrollTo(t) : l.ff(); }, this.ub = null, this.sb = function (e) {
3686
+ if (e) {
3687
+ var t = { "resources": { "preInit": function () { var e = this.data; e && (l.resources = e); } }, "events": { "preInit": function () { var e = this.data; e && (DayPilot.isArray(e.list) ? l.events.list = e.list : l.events.list = e); }, "postInit": function () { } }, "scrollTo": { "preInit": function () { }, "postInit": function () { this.data && l.he(this.data); } }, "scrollX": { "postInit": function () { this.data && l.ke(this.data); } }, "scrollY": { "postInit": function () { this.data && l.De(this.data); } } };
3688
+ l.ub = t, l.Be.scrollToRequested && (t.scrollTo.data = l.Be.scrollToRequested, l.Be.scrollToRequested = null), l.Be.scrollXRequested && (t.scrollX.data = l.Be.scrollXRequested, l.Be.scrollXRequested = null), l.Be.scrollYRequested && (t.scrollY.data = l.Be.scrollYRequested, l.Be.scrollYRequested = null);
3689
+ for (var n in e)
3690
+ t[n] || (l[n] = e[n]);
3691
+ for (var n in e)
3692
+ if (t[n]) {
3693
+ var i = t[n];
3694
+ i.data = e[n], i.preInit && i.preInit();
3695
+ }
3696
+ }
3697
+ }, this.vb = function () { var e = l.ub; for (var t in e) {
3669
3698
  var n = e[t];
3670
3699
  n.postInit && n.postInit();
3671
3700
  } l.ub = {}; }, this.Qa = {}, this.Qa.Pa = null, this.Qa.Mb = function (e, t, n) { var i = l.Qa.Pa; if ("function" == typeof i.createVNode && "function" == typeof i.render) {
@@ -3674,55 +3703,46 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3674
3703
  } }, this.Qa.Ua = function (e, t) { var n = l.Qa.Pa; if ("function" == typeof n.render) {
3675
3704
  var i = e;
3676
3705
  DayPilot.isArray(e) && (i = n.h("div", null, e)), n.render(i, t);
3677
- } }, this.Qa.Sa = function (e) { var t = l.Qa.Pa; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.adjustEndIn = l.of, this.internal.adjustEndNormalize = l.pf, this.internal.xssTextHtml = l.$a, this.internal.touch = l.Fh, this.internal.skipUpdate = l.ze.skipUpdate, this.internal.skipped = l.ze.skipped, this.internal.loadOptions = l.sb, this.internal.postInit = l.vb, this.internal.enableAngular2 = function () { l.ze.enabled = !0; }, this.internal.eventsFromAttr = function () { l.ze.Sf = !0; }, this.internal.resourcesFromAttr = function () { l.ze._f = !0; }, this.internal.evImmediateRefresh = function () { l.events.sf(); }, this.internal.enableReact = function (e, t) { l.jd.react = e, l.jd.reactDOM = t; }, this.internal.reactRefs = function () { return DayPilot.Util.copyProps(l.jd, {}, ["react", "reactDOM"]); }, this.internal.enableVue = function (e) { l.Qa.Pa = e; }, this.internal.vueRef = function () { return l.Qa.Pa; }, this.internal.vueRendering = function () { return l.Qa.Ra; }, this.sb(s);
3678
- }, a = "${v}" === (new DayPilot.Scheduler).v, DayPilot.Row = function (e, t) {
3679
- if (!e)
3680
- throw new DayPilot.Exception("Now row object supplied when creating DayPilot.Row");
3681
- if (!t)
3682
- throw new DayPilot.Exception("No parent control supplied when creating DayPilot.Row");
3683
- this.ji = {};
3684
- var n = this.ji;
3685
- n.id = e.id, n.name = e.name, n.data = e.resource, n.tags = e.tags;
3686
- var i = this;
3687
- i.isRow = !0, i.menuType = "resource", i.name = e.name, i.id = e.id, i.tags = e.tags,
3688
- i.index = e.index, i.calendar = t, i.data = e.resource, i.ki = e, i.$ = {}, i.$.row = e, i.toJSON = function (e) { var t = {}; return t.start = this.start, t.name = this.name, t.id = this.id, t.index = this.index, t; }, i.events = {}, i.events.all = function () { for (var e = [], t = 0; t < i.ki.events.length; t++)
3689
- e.push(i.ki.events[t]); return e; }, i.events.isEmpty = function () { return 0 === i.ki.events.length; }, i.events.forRange = function (e, t) { return i.ki.events.forRange(e, t); }, i.events.totalDuration = function () { var e = 0; return i.events.all().forEach(function (t) { e += t.part.end.getTime() - t.part.start.getTime(); }), new DayPilot.Duration(e); }, i.remove = function () { t.rows.remove(i); }, i.addClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.addClass(a, e), i.$.row.cssClass = DayPilot.Util.addClassToString(i.$.row.cssClass, e), i.data.cssClass = e; }, i.removeClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.removeClass(a, e), i.$.row.cssClass = DayPilot.Util.removeClassFromString(i.$.row.cssClass, e), i.data.cssClass = DayPilot.Util.removeClassFromString(i.data.cssClass, e); };
3690
- }, n.Oe = null, n.kg = null, n.Bh = null, n.dg = null, n.hg = null, n.Ne = !1, n.eh = !1, n.Ph = null, n.li = null, n.qc = function (e) { DayPilot.ue(document, "mouseup", n.ee), DayPilot.ue(document, "touchmove", n.fh), DayPilot.ue(document, "touchend", n.gh), n.eh = !1; }, n.fh = function (e) { if (n.dg) {
3691
- var t = n.dg.event.calendar;
3692
- t.coords = t.Fh.Hh(e), t.Fh.Kh(), e.preventDefault();
3693
- } if (n.Oe) {
3706
+ } }, this.Qa.Sa = function (e) { var t = l.Qa.Pa; "function" == typeof t.render && t.render(null, e); }, this.internal = {}, this.internal.adjustEndIn = l.rf, this.internal.adjustEndNormalize = l.sf, this.internal.xssTextHtml = l.$a, this.internal.touch = l.Hh, this.internal.skipUpdate = l.Be.skipUpdate, this.internal.skipped = l.Be.skipped, this.internal.loadOptions = l.sb, this.internal.postInit = l.vb, this.internal.enableAngular2 = function () { l.Be.enabled = !0; }, this.internal.eventsFromAttr = function () { l.Be.Vf = !0; }, this.internal.resourcesFromAttr = function () { l.Be.cg = !0; }, this.internal.evImmediateRefresh = function () { l.events.vf(); }, this.internal.enableReact = function (e, t) { l.jd.react = e, l.jd.reactDOM = t; }, this.internal.reactRefs = function () { return DayPilot.Util.copyProps(l.jd, {}, ["react", "reactDOM"]); }, this.internal.enableVue = function (e) { l.Qa.Pa = e; }, this.internal.vueRef = function () { return l.Qa.Pa; }, this.internal.vueRendering = function () { return l.Qa.Ra; }, this.sb(s);
3707
+ }, a = "${v}" === (new DayPilot.Scheduler).v, DayPilot.Row = function (e, t) { if (!e)
3708
+ throw new DayPilot.Exception("Now row object supplied when creating DayPilot.Row"); if (!t)
3709
+ throw new DayPilot.Exception("No parent control supplied when creating DayPilot.Row"); this.mi = {}; var n = this.mi; n.id = e.id, n.name = e.name, n.data = e.resource, n.tags = e.tags; var i = this; i.isRow = !0, i.menuType = "resource", i.name = e.name, i.id = e.id, i.tags = e.tags, i.index = e.index, i.calendar = t, i.data = e.resource, i.ni = e, i.$ = {}, i.$.row = e, i.toJSON = function (e) { var t = {}; return t.start = this.start, t.name = this.name, t.id = this.id, t.index = this.index, t; }, i.events = {}, i.events.all = function () { for (var e = [], t = 0; t < i.ni.events.length; t++)
3710
+ e.push(i.ni.events[t]); return e; }, i.events.isEmpty = function () { return 0 === i.ni.events.length; }, i.events.forRange = function (e, t) { return i.ni.events.forRange(e, t); }, i.events.totalDuration = function () { var e = 0; return i.events.all().forEach(function (t) { e += t.part.end.getTime() - t.part.start.getTime(); }), new DayPilot.Duration(e); }, i.remove = function () { t.rows.remove(i); }, i.addClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.addClass(a, e), i.$.row.cssClass = DayPilot.Util.addClassToString(i.$.row.cssClass, e), i.data.cssClass = e; }, i.removeClass = function (e) { var n = t.divHeader, a = n.rows[i.index]; DayPilot.Util.removeClass(a, e), i.$.row.cssClass = DayPilot.Util.removeClassFromString(i.$.row.cssClass, e), i.data.cssClass = DayPilot.Util.removeClassFromString(i.data.cssClass, e); }; }, n.Qe = null, n.ng = null, n.Dh = null, n.gg = null, n.kg = null, n.Pe = !1, n.gh = !1, n.Rh = null, n.oi = null, n.qc = function (e) { DayPilot.ue(document, "mouseup", n.ee), DayPilot.ue(document, "touchmove", n.hh), DayPilot.ue(document, "touchend", n.ih), n.gh = !1; }, n.hh = function (e) { if (n.gg) {
3711
+ var t = n.gg.event.calendar;
3712
+ t.coords = t.Hh.Jh(e), t.Hh.Mh(), e.preventDefault();
3713
+ } if (n.Qe) {
3694
3714
  e.preventDefault();
3695
- var t = n.kg.calendar;
3696
- t.coords = t.Fh.Hh(e), t.Fh.Lh();
3697
- } }, n.gh = function (e) { n.Vg = !1, n.ee(e); }, n.ee = function (e) { if (n.dg) {
3698
- var t = function () { var e = n.hg, t = e.calendar; o().style.cursor = "", n.dg = null, n.hg = null, DayPilot.de(n.gg), n.gg = null, t && (t.mi = null); };
3699
- if (setTimeout(function () { n.Ne = !1; }), !n.gg)
3715
+ var t = n.ng.calendar;
3716
+ t.coords = t.Hh.Jh(e), t.Hh.Nh();
3717
+ } }, n.ih = function (e) { n.Xg = !1, n.ee(e); }, n.ee = function (e) { if (n.gg) {
3718
+ var t = function () { var e = n.kg, t = e.calendar; o().style.cursor = "", n.gg = null, n.kg = null, DayPilot.de(n.jg), n.jg = null, t && (t.pi = null); };
3719
+ if (setTimeout(function () { n.Pe = !1; }), !n.jg)
3700
3720
  return void t();
3701
- var a = n.hg, r = a.calendar, s = n.gg.start, l = n.gg.end, d = "left" === n.dg.dpBorder ? "start" : "end";
3721
+ var a = n.kg, r = a.calendar, s = n.jg.start, l = n.jg.end, d = "left" === n.gg.dpBorder ? "start" : "end";
3702
3722
  t(), r.K(a, s, l, d);
3703
3723
  }
3704
- else if (n.kg) {
3705
- var t = function () { DayPilot.Global.movingAreaData = null; var e = n.lg && n.lg.calendar; n.lg && (DayPilot.de(n.lg), n.lg.calendar = null), o().style.cursor = "", n.Oe = null, n.kg = null, e && (e.qf = null); };
3706
- if (!n.lg)
3724
+ else if (n.ng) {
3725
+ var t = function () { DayPilot.Global.movingAreaData = null; var e = n.og && n.og.calendar; n.og && (DayPilot.de(n.og), n.og.calendar = null), o().style.cursor = "", n.Qe = null, n.ng = null, e && (e.tf = null); };
3726
+ if (!n.og)
3707
3727
  return void t();
3708
- var a = n.kg, r = n.lg.calendar;
3728
+ var a = n.ng, r = n.og.calendar;
3709
3729
  if (!r)
3710
3730
  return void t();
3711
- if (n.lg.source = n.Oe, !n.lg.row)
3731
+ if (n.og.source = n.Qe, !n.og.row)
3712
3732
  return void t();
3713
- var s = n.lg.start, l = n.lg.end, c = n.lg.row.id;
3714
- n.lg.calendar = null, o().style.cursor = "", n.Oe = null, n.kg = null, r.M(a, s, l, c, e), DayPilot.Global.movingAreaData = null;
3733
+ var s = n.og.start, l = n.og.end, c = n.og.row.id;
3734
+ n.og.calendar = null, o().style.cursor = "", n.Qe = null, n.ng = null, r.M(a, s, l, c, e), DayPilot.Global.movingAreaData = null;
3715
3735
  }
3716
- else if (n.Ih) {
3717
- var u = DayPilot.Util.mouseButton(e), h = n.Ih, r = h.calendar, t = function () { };
3718
- r.gi = null;
3736
+ else if (n.Kh) {
3737
+ var u = DayPilot.Util.mouseButton(e), h = n.Kh, r = h.calendar, t = function () { };
3738
+ r.ji = null;
3719
3739
  e.ctrlKey || e.metaKey;
3720
- if (n.Ph)
3721
- return clearTimeout(n.Ph), n.Ph = null, void t();
3722
- r.wf = h, n.Ih = null;
3723
- var f = function (e) { return function () { n.Ph = null, r.tf(e), "Hold" !== r.timeRangeSelectedHandling && "HoldForever" !== r.timeRangeSelectedHandling ? i() : r.wf = e; }; }, v = r.Xh(h);
3724
- return t(), u.left ? (f(v)(), e.cancelBubble = !0, !1) : void (n.Ph = null);
3725
- } n.Eh = null, n.cg = null; };
3740
+ if (n.Rh)
3741
+ return clearTimeout(n.Rh), n.Rh = null, void t();
3742
+ r.zf = h, n.Kh = null;
3743
+ var f = function (e) { return function () { n.Rh = null, r.wf(e), "Hold" !== r.timeRangeSelectedHandling && "HoldForever" !== r.timeRangeSelectedHandling ? i() : r.zf = e; }; }, v = r.Zh(h);
3744
+ return t(), u.left ? (f(v)(), e.cancelBubble = !0, !1) : void (n.Rh = null);
3745
+ } n.Gh = null, n.fg = null; };
3726
3746
  }
3727
3747
  }(DayPilot);
3728
3748