@daypilot/daypilot-lite-angular 4.3.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,6 +69,15 @@ var DayPilot;
69
69
  class Navigator extends NavigatorPropsAndEvents {
70
70
  }
71
71
  DayPilot.Navigator = Navigator;
72
+ class DatePickerPropsAndEvents {
73
+ }
74
+ DayPilot.DatePickerPropsAndEvents = DatePickerPropsAndEvents;
75
+ class DatePickerConfig extends DatePickerPropsAndEvents {
76
+ }
77
+ DayPilot.DatePickerConfig = DatePickerConfig;
78
+ class DatePicker extends DatePickerPropsAndEvents {
79
+ }
80
+ DayPilot.DatePicker = DatePicker;
72
81
  class Locale {
73
82
  }
74
83
  DayPilot.Locale = Locale;
@@ -144,7 +153,7 @@ DayPilot Lite
144
153
  Copyright (c) 2005 - 2025 Annpoint s.r.o.
145
154
  https://www.daypilot.org/
146
155
  Licensed under Apache Software License 2.0
147
- Version: 2025.3.696-lite
156
+ Version: 2025.3.703-lite
148
157
  */
149
158
  var DayPilot = {};
150
159
  if ("undefined" == typeof DayPilot)
@@ -320,7 +329,11 @@ if (function () {
320
329
  var y = document.createElementNS(p, "use");
321
330
  y.setAttribute("href", n.symbol), m.appendChild(y), d.appendChild(m);
322
331
  }
323
- if (h && (d.className = h), n.toolTip && d.setAttribute("title", n.toolTip), n.backColor && (d.style.background = n.backColor), n.background && (d.style.background = n.background), n.fontColor && (d.style.color = n.fontColor), n.padding && (d.style.padding = n.padding + "px", d.style.boxSizing = "border-box"), n.verticalAlignment)
332
+ if (h && (d.className = h), n.toolTip && d.setAttribute("title", n.toolTip), n.backColor && (d.style.background = n.backColor), n.background && (d.style.background = n.background), n.fontColor && (d.style.color = n.fontColor), n.padding && (d.style.padding = n.padding + "px", d.style.boxSizing = "border-box"), n.borderColor) {
333
+ const g = n.borders;
334
+ g ? (g.top && (d.style.borderTop = "1px solid " + n.borderColor), g.right && (d.style.borderRight = "1px solid " + n.borderColor), g.bottom && (d.style.borderBottom = "1px solid " + n.borderColor), g.left && (d.style.borderLeft = "1px solid " + n.borderColor)) : d.style.border = "1px solid " + n.borderColor, d.style.boxSizing = "border-box";
335
+ }
336
+ if (n.verticalAlignment)
324
337
  switch (d.style.display = "flex", n.verticalAlignment) {
325
338
  case "center":
326
339
  d.style.alignItems = "center";
@@ -364,27 +377,35 @@ if (function () {
364
377
  d.onmousemove = function (e, t, n) { return function (i) { t.calendar.internal && t.calendar.internal.dragInProgress && t.calendar.internal.dragInProgress() || (i.cancelBubble = !0, e.style.cursor = n.cursor, n.dpBorder && (e.dpBorder = n.dpBorder)); }; }(l, t, n), d.onmouseout = function (e, t, n) { return function (t) { e.style.cursor = ""; }; }(l, t, n);
365
378
  }
366
379
  if (("ResizeEnd" === n.action || "ResizeStart" === n.action) && t.isEvent && t.calendar.internal.touch) {
367
- var g = function (e, t, n) { return function (i) { i.cancelBubble = !0; var a = t.calendar.internal.touch, o = i.touches ? i.touches[0] : i, r = { x: o.pageX, y: o.pageY }; t.calendar.coords = a.relativeCoords(i), a.preventEventTap = !0, t.calendar.isScheduler ? a.startResizing(e, "ResizeEnd" === n.action ? "right" : "left") : t.calendar.isCalendar && a.startResizing(e, "ResizeEnd" === n.action ? "bottom" : "top", r); }; }(l, t, n);
368
- DayPilot.rePassive(d, DayPilot.touch.start, g);
380
+ var b = function (e, t, n) {
381
+ return function (i) {
382
+ i.cancelBubble = !0;
383
+ var a = t.calendar.internal.touch, o = i.touches ? i.touches[0] : i, r = {
384
+ x: o.pageX, y: o.pageY
385
+ };
386
+ t.calendar.coords = a.relativeCoords(i), a.preventEventTap = !0, t.calendar.isScheduler ? a.startResizing(e, "ResizeEnd" === n.action ? "right" : "left") : t.calendar.isCalendar && a.startResizing(e, "ResizeEnd" === n.action ? "bottom" : "top", r);
387
+ };
388
+ }(l, t, n);
389
+ DayPilot.rePassive(d, DayPilot.touch.start, b);
369
390
  }
370
391
  if ("ContextMenu" === n.action && t.isEvent && t.calendar.internal.touch) {
371
- var g = function (e, t, n) { return function (i) { i.cancelBubble = !0, i.preventDefault(), r(e, t, n, i), t.calendar.internal.touch.preventEventTap = !0; }; }(l, t, n), b = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); }; }(l, t, n);
372
- DayPilot.reNonPassive(d, DayPilot.touch.start, g), DayPilot.reNonPassive(d, DayPilot.touch.end, b);
392
+ var b = function (e, t, n) { return function (i) { i.cancelBubble = !0, i.preventDefault(), r(e, t, n, i), t.calendar.internal.touch.preventEventTap = !0; }; }(l, t, n), w = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); }; }(l, t, n);
393
+ DayPilot.reNonPassive(d, DayPilot.touch.start, b), DayPilot.reNonPassive(d, DayPilot.touch.end, w);
373
394
  }
374
395
  if ("Bubble" === n.action && t.isEvent && t.calendar.internal.touch) {
375
- var g = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); var i = a(n, t, e); if (!i.preventDefault.value) {
396
+ var b = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); var i = a(n, t, e); if (!i.preventDefault.value) {
376
397
  o(t, n, e);
377
398
  t.calendar.internal.touch.preventEventTap = !0, "function" == typeof n.onClicked && n.onClicked(i);
378
- } }; }(l, t, n), b = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); }; }(l, t, n);
379
- DayPilot.reNonPassive(d, DayPilot.touch.start, g), DayPilot.reNonPassive(d, DayPilot.touch.end, b);
399
+ } }; }(l, t, n), w = function (e, t, n) { return function (e) { e.cancelBubble = !0, e.preventDefault(); }; }(l, t, n);
400
+ DayPilot.reNonPassive(d, DayPilot.touch.start, b), DayPilot.reNonPassive(d, DayPilot.touch.end, w);
380
401
  }
381
402
  if ("Move" === n.action && t.isEvent && t.calendar.internal.touch) {
382
- var g = function (e, t, n) { return function (n) { n.cancelBubble = !0; var i = t.calendar.internal.touch, a = n.touches ? n.touches[0] : n, o = { x: a.pageX, y: a.pageY }; t.calendar.coords = i.relativeCoords(n), DayPilot.Global && DayPilot.Global.touch && (DayPilot.Global.touch.active = !0), i.preventEventTap = !0, i.startMoving(e, o); }; }(l, t, n);
383
- DayPilot.rePassive(d, DayPilot.touch.start, g);
403
+ var b = function (e, t, n) { return function (n) { n.cancelBubble = !0; var i = t.calendar.internal.touch, a = n.touches ? n.touches[0] : n, o = { x: a.pageX, y: a.pageY }; t.calendar.coords = i.relativeCoords(n), DayPilot.Global && DayPilot.Global.touch && (DayPilot.Global.touch.active = !0), i.preventEventTap = !0, i.startMoving(e, o); }; }(l, t, n);
404
+ DayPilot.rePassive(d, DayPilot.touch.start, b);
384
405
  }
385
406
  if ("Bubble" === n.action && t.isEvent ? (d.onmousemove = function (e, t, n) { return function (e) { n.bubble ? n.bubble.showEvent(t, !0) : t.calendar.bubble && t.calendar.bubble.showEvent(t, !0); }; }(e, t, n), d.onmouseout = function (e, t, n) { return function (e) { "undefined" != typeof DayPilot.Bubble && (n.bubble ? n.bubble.hideOnMouseOut() : t.calendar.bubble && t.calendar.bubble.hideOnMouseOut()); }; }(e, t, n)) : "Bubble" === n.action && t.isRow ? (d.onmousemove = function (e, t, n) { return function (e) { n.bubble ? n.bubble.showResource(t, !0) : t.calendar.resourceBubble && t.calendar.resourceBubble.showResource(t, !0); }; }(e, t, n), d.onmouseout = function (e, t, n) { return function (e) { "undefined" != typeof DayPilot.Bubble && (n.bubble ? n.bubble.hideOnMouseOut() : t.calendar.resourceBubble && t.calendar.resourceBubble.hideOnMouseOut()); }; }(e, t, n)) : "Bubble" === n.action && "undefined" != typeof DayPilot.Bubble && n.bubble instanceof DayPilot.Bubble && (d.onmousemove = function (e, t, n) { return function (e) { n.bubble.showHtml(null, null); }; }(e, t, n), d.onmouseout = function (e, t, n) { return function (e) { "undefined" != typeof DayPilot.Bubble && n.bubble && n.bubble.hideOnMouseOut(); }; }(e, t, n)), "HoverMenu" === n.action && (d.onmousemove = function (e, t, n) { return function (e) { var i = n.menu; i && i.show && (i.visible ? i.source && "undefined" != typeof i.source.id && i.source.id !== t.id && i.show(t) : i.show(t), i.cancelHideTimeout()); }; }(e, t, n), d.onmouseout = function (e, t, n) { return function (e) { var t = n.menu; t && t.hideOnMouseOver && t.delayedHide(); }; }(e, t, n)), "None" === n.action) {
386
- var g = function (e, t, n) { return function (e) { var i = a(n, t, e); "function" == typeof n.onClicked && n.onClicked(i), e.preventDefault(), e.stopPropagation(); }; }(l, t, n);
387
- DayPilot.reNonPassive(d, DayPilot.touch.start, g);
407
+ var b = function (e, t, n) { return function (e) { var i = a(n, t, e); "function" == typeof n.onClicked && n.onClicked(i), e.preventDefault(), e.stopPropagation(); }; }(l, t, n);
408
+ DayPilot.reNonPassive(d, DayPilot.touch.start, b);
388
409
  }
389
410
  return d.onmousedown = function (e, t, n) { return function (i) { if ("function" == typeof n.onmousedown && n.onmousedown(i), "function" == typeof n.mousedown) {
390
411
  var a = {};
@@ -484,10 +505,14 @@ if (function () {
484
505
  throw "DayPilot.Duration(): Invalid end argument, DayPilot.Date expected";
485
506
  "string" == typeof r && (r = new DayPilot.Date(r)), "string" == typeof s && (s = new DayPilot.Date(s)), e = s.getTime() - r.getTime();
486
507
  }
487
- return this.ticks = e, DayPilot.Date.Cache.DurationCtor["" + e] ? DayPilot.Date.Cache.DurationCtor["" + e] : (DayPilot.Date.Cache.DurationCtor["" + e] = this, this.toString = function (e) { if (!e)
488
- return t.days() + "." + t.hours() + ":" + t.minutes() + ":" + t.seconds() + "." + t.milliseconds(); var n = t.minutes(); n = (n < 10 ? "0" : "") + n; var i = e; return i = i.replace("mm", n), i = i.replace("m", t.minutes()), i = i.replace("H", t.hours()), i = i.replace("h", t.hours()), i = i.replace("d", t.days()), i = i.replace("s", t.seconds()); }, this.totalHours = function () { return t.ticks / i; }, this.totalDays = function () { return t.ticks / n; }, this.totalMinutes = function () { return t.ticks / a; }, this.totalSeconds = function () { return t.ticks / o; }, this.days = function () {
489
- return Math.floor(t.totalDays());
490
- }, this.hours = function () { var e = t.ticks - t.days() * n; return Math.floor(e / i); }, this.minutes = function () { var e = t.ticks - Math.floor(t.totalHours()) * i; return Math.floor(e / a); }, this.seconds = function () { var e = t.ticks - Math.floor(t.totalMinutes()) * a; return Math.floor(e / o); }, void (this.milliseconds = function () { return t.ticks % o; }));
508
+ return this.ticks = e, DayPilot.Date.Cache.DurationCtor["" + e] ? DayPilot.Date.Cache.DurationCtor["" + e] : (DayPilot.Date.Cache.DurationCtor["" + e] = this, this.toString = function (e) {
509
+ if (!e)
510
+ return t.days() + "." + t.hours() + ":" + t.minutes() + ":" + t.seconds() + "." + t.milliseconds();
511
+ var n = t.minutes();
512
+ n = (n < 10 ? "0" : "") + n;
513
+ var i = e;
514
+ return i = i.replace("mm", n), i = i.replace("m", t.minutes()), i = i.replace("H", t.hours()), i = i.replace("h", t.hours()), i = i.replace("d", t.days()), i = i.replace("s", t.seconds());
515
+ }, this.totalHours = function () { return t.ticks / i; }, this.totalDays = function () { return t.ticks / n; }, this.totalMinutes = function () { return t.ticks / a; }, this.totalSeconds = function () { return t.ticks / o; }, this.days = function () { return Math.floor(t.totalDays()); }, this.hours = function () { var e = t.ticks - t.days() * n; return Math.floor(e / i); }, this.minutes = function () { var e = t.ticks - Math.floor(t.totalHours()) * i; return Math.floor(e / a); }, this.seconds = function () { var e = t.ticks - Math.floor(t.totalMinutes()) * a; return Math.floor(e / o); }, void (this.milliseconds = function () { return t.ticks % o; }));
491
516
  }, DayPilot.Duration.weeks = function (e) { return new DayPilot.Duration(1e3 * e * 60 * 60 * 24 * 7); }, DayPilot.Duration.days = function (e) { return new DayPilot.Duration(1e3 * e * 60 * 60 * 24); }, DayPilot.Duration.hours = function (e) { return new DayPilot.Duration(1e3 * e * 60 * 60); }, DayPilot.Duration.minutes = function (e) { return new DayPilot.Duration(1e3 * e * 60); }, DayPilot.Duration.seconds = function (e) { return new DayPilot.Duration(1e3 * e); }, DayPilot.TimeSpan = function () { throw "Please use DayPilot.Duration class instead of DayPilot.TimeSpan."; };
492
517
  try {
493
518
  DayPilot.TimeSpan.prototype = Object.create(DayPilot.Duration.prototype);
@@ -684,7 +709,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
684
709
  if (this instanceof t.Calendar && !this.P && (o = !0, this.P = !0), !o)
685
710
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
686
711
  var r = this;
687
- this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.696-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;)
712
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2025.3.703-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;)
688
713
  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) {
689
714
  var e = s.locale();
690
715
  return e ? e.weekStarts : 0;
@@ -703,8 +728,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
703
728
  return void (document.location.href = e.CallBackRedirect);
704
729
  if ("None" === e.UpdateType)
705
730
  return r.loadingStop(), void r.u();
706
- if (r.Y(), "Full" === e.UpdateType && (r.columns = e.Columns, r.days = e.Days, r.startDate = new DayPilot.Date(e.StartDate), r.heightSpec = e.HeightSpec ? e.HeightSpec : r.heightSpec, r.businessBeginsHour = e.BusinessBeginsHour ? e.BusinessBeginsHour : r.businessBeginsHour, r.businessEndsHour = e.BusinessEndsHour ? e.BusinessEndsHour : r.businessEndsHour, r.headerDateFormat = e.HeaderDateFormat ? e.HeaderDateFormat : r.headerDateFormat, r.viewType = e.ViewType, r.backColor = e.BackColor ? e.BackColor : r.backColor, r.eventHeaderVisible = e.EventHeaderVisible ? e.EventHeaderVisible : r.eventHeaderVisible,
707
- r.timeFormat = e.TimeFormat ? e.TimeFormat : r.timeFormat, r.locale = e.Locale ? e.Locale : r.locale, r.ga()), e.Hashes)
731
+ if (r.Y(), "Full" === e.UpdateType && (r.columns = e.Columns, r.days = e.Days, r.startDate = new DayPilot.Date(e.StartDate), r.heightSpec = e.HeightSpec ? e.HeightSpec : r.heightSpec,
732
+ r.businessBeginsHour = e.BusinessBeginsHour ? e.BusinessBeginsHour : r.businessBeginsHour, r.businessEndsHour = e.BusinessEndsHour ? e.BusinessEndsHour : r.businessEndsHour, r.headerDateFormat = e.HeaderDateFormat ? e.HeaderDateFormat : r.headerDateFormat, r.viewType = e.ViewType, r.backColor = e.BackColor ? e.BackColor : r.backColor, r.eventHeaderVisible = e.EventHeaderVisible ? e.EventHeaderVisible : r.eventHeaderVisible, r.timeFormat = e.TimeFormat ? e.TimeFormat : r.timeFormat, r.locale = e.Locale ? e.Locale : r.locale, r.ga()), e.Hashes)
708
733
  for (var n in e.Hashes)
709
734
  r.hashes[n] = e.Hashes[n];
710
735
  r.events.list = e.Events, r.ha(), r.ia(), "Full" === e.UpdateType && (r.ja(), r.ka(), r.la(), r.ma()), r.u(), r.na(), r.clearSelection(), r.afterRender(e.CallBackData, !0), r.loadingStop();
@@ -1114,7 +1139,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1114
1139
  var s, l = e ? document.createElement("div") : o.firstChild;
1115
1140
  e ? (l.unselectable = "on", l.style.MozUserSelect = "none", l.style.cursor = "default", l.style.position = "relative", l.className = r.L("_colheader"), l.style.height = r.headerHeight + "px", r.headerTextWrappingEnabled || (l.style.whiteSpace = "nowrap"), s = document.createElement("div"), s.className = r.L("_colheader_inner"), s.unselectable = "on", l.appendChild(s), o.appendChild(l)) : s = l.firstChild;
1116
1141
  var d = {};
1117
- d.header = {}, d.header.cssClass = null, d.header.verticalAlignment = "center", d.header.horizontalAlignment = "center", d.column = r.lb(a, r), "function" == typeof r.onBeforeHeaderRender && (DayPilot.Util.copyProps(a, d.header, ["id", "start", "name", "html", "backColor", "toolTip", "areas"]), r.onBeforeHeaderRender(d), DayPilot.Util.copyProps(d.header, a, ["html", "backColor", "toolTip", "areas", "cssClass", "verticalAlignment", "horizontalAlignment"])), a.toolTip && (s.title = a.toolTip), a.cssClass && DayPilot.Util.addClass(l, a.cssClass), a.backColor && (s.style.background = a.backColor), a.areas && DayPilot.Areas.attach(l, a);
1142
+ d.header = {}, d.header.cssClass = null, d.header.verticalAlignment = "center", d.header.horizontalAlignment = "center", d.column = r.lb(a, r), "function" == typeof r.onBeforeHeaderRender && (DayPilot.Util.copyProps(a, d.header, ["id", "start", "name", "html", "backColor", "toolTip", "areas"]),
1143
+ r.onBeforeHeaderRender(d), DayPilot.Util.copyProps(d.header, a, ["html", "backColor", "toolTip", "areas", "cssClass", "verticalAlignment", "horizontalAlignment"])), a.toolTip && (s.title = a.toolTip), a.cssClass && DayPilot.Util.addClass(l, a.cssClass), a.backColor && (s.style.background = a.backColor), a.areas && DayPilot.Areas.attach(l, a);
1118
1144
  var c = a.verticalAlignment;
1119
1145
  if (c)
1120
1146
  switch (s.style.display = "flex", c) {
@@ -1329,7 +1355,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1329
1355
  var DayPilot = {};
1330
1356
  if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (DayPilot) {
1331
1357
  "use strict";
1332
- "undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.3.696-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, this.showToday = !0, this.todayText = "Today", e)
1358
+ "undefined" == typeof DayPilot.DatePicker && (DayPilot.DatePicker = function (e) { this.v = "2025.3.703-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, this.showToday = !0, this.todayText = "Today", this.weekStarts = "Auto", e)
1333
1359
  for (var t in e)
1334
1360
  this[t] = e[t]; }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.Pb(); this.resetTarget && !e ? this.Qb(this.date) : !this.resetTarget && e && (n.date = e); var t = this.D(); return t && t.addEventListener("input", function () { n.date = n.Pb(), 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.Eb && (n.Eb = !1, n.navigator && n.navigator.dispose(), n.div.innerHTML = "", n.div && n.div.parentNode === document.body && document.body.removeChild(n.div)); }, this.Rb = function (e) { this.date = new DayPilot.Date(e), this.Qb(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.Rb(e), "function" == typeof n.onTimeRangeSelected && n.onTimeRangeSelected(t)); }, this.Pb = function () { var e = this.D(); if (!e)
1335
1361
  return this.date; var t = null; if (t = "INPUT" === e.tagName ? e.value : e.innerText, !t)
@@ -1343,7 +1369,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1343
1369
  } }, this.ca = {}, this.ca.locale = function () { return DayPilot.Locale.find(n.locale); }, this.D = function () { var e = this.target; return e && e.nodeType && 1 === e.nodeType ? e : document.getElementById(e); }, Object.defineProperty(this, "visible", { get: function () { return n.Eb; } }), this.show = function () { if (!this.Eb) {
1344
1370
  document.addEventListener("mousedown", n.close), document.addEventListener("wheel", n.close), window.addEventListener("resize", n.close);
1345
1371
  var e = this.D(), i = new DayPilot.Navigator(t);
1346
- i.api = 2, i.cssOnly = !0, i.theme = n.theme, i.weekStarts = "Auto", i.locale = n.locale, i.showToday = n.showToday, i.todayText = n.todayText, i.onTodayClick = function (e) { i.onTimeRangeSelected({ start: DayPilot.Date.today() }), e.preventDefault(); }, i.onTimeRangeSelected = function (e) { n.date = e.start; var t = e.start.addTime(i.Sb), a = t.toString(n.pattern, n.locale), e = {}; e.start = t, e.date = t, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onTimeRangeSelect && (n.onTimeRangeSelect(e), e.preventDefault.value) || (n.Qb(a), n.close(), "function" == typeof n.onTimeRangeSelected && n.onTimeRangeSelected(e)); }, this.navigator = i;
1372
+ i.api = 2, i.cssOnly = !0, i.theme = n.theme, i.weekStarts = "Auto", i.locale = n.locale, i.showToday = n.showToday, i.todayText = n.todayText, i.weekStarts = n.weekStarts, i.onTodayClick = function (e) { i.onTimeRangeSelected({ start: DayPilot.Date.today() }), e.preventDefault(); }, i.onTimeRangeSelected = function (e) { n.date = e.start; var t = e.start.addTime(i.Sb), a = t.toString(n.pattern, n.locale), e = {}; e.start = t, e.date = t, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onTimeRangeSelect && (n.onTimeRangeSelect(e), e.preventDefault.value) || (n.Qb(a), n.close(), "function" == typeof n.onTimeRangeSelected && n.onTimeRangeSelected(e)); }, this.navigator = i;
1347
1373
  var a = { x: 0, y: 0, w: 0, h: 0 };
1348
1374
  e && (a = DayPilot.abs(e));
1349
1375
  var o = a.h, r = n.targetAlignment, s = document.createElement("div");
@@ -1355,7 +1381,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1355
1381
  var c = a.x + a.w - i.nav.top.offsetWidth;
1356
1382
  s.style.left = c + "px";
1357
1383
  }
1358
- this.Eb = !0, this.onShow && this.onShow();
1384
+ if (this.Eb = !0, this.onShow) {
1385
+ var u = {};
1386
+ this.onShow(u);
1387
+ }
1359
1388
  } }, this.prepare(), this.init(); });
1360
1389
  }(DayPilot), "undefined" == typeof DayPilot)
1361
1390
  var DayPilot = {};
@@ -1363,7 +1392,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1363
1392
  "use strict";
1364
1393
  if ("undefined" == typeof DayPilot.Menu || !DayPilot.Menu.def) {
1365
1394
  var e = function () { }, t = {};
1366
- 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.696-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.Tb = 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.Tb.submenu = null, null !== t.mouse) {
1395
+ 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.703-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.Tb = 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.Tb.submenu = null, null !== t.mouse) {
1367
1396
  i.cssOnly || (i.cssOnly = !0);
1368
1397
  var s = null;
1369
1398
  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) {
@@ -1542,45 +1571,35 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1542
1571
  if (t[n] === e)
1543
1572
  return void t.splice(n, 1); }, DayPilot.ModalStatic.close = function (e) { DayPilot.ModalStatic.result(e), DayPilot.ModalStatic.hide(); }, DayPilot.ModalStatic.result = function (e) { var t = DayPilot.ModalStatic.list; t.length > 0 && (t[t.length - 1].result = e); }, DayPilot.ModalStatic.displayed = function (e) { for (var t = DayPilot.ModalStatic.list, n = 0; n < t.length; n++)
1544
1573
  if (t[n] === e)
1545
- return !0; return !1; }, DayPilot.ModalStatic.stretch = function () { if (this.list.length > 0) {
1546
- var e = this.list[this.list.length - 1];
1547
- e && e.stretch();
1548
- } }, DayPilot.ModalStatic.last = function () { var e = DayPilot.ModalStatic.list; return e.length > 0 ? e[e.length - 1] : null; };
1549
- var n = function () {
1550
- function e() {
1551
- for (var e = document.querySelectorAll("style[nonce]"), t = 0; t < e.length; t++) {
1552
- var n = e[t];
1553
- if (n.nonce)
1554
- return n.nonce;
1555
- }
1556
- if (document.currentScript && document.currentScript.nonce)
1557
- return document.currentScript.nonce;
1558
- for (var i = document.querySelectorAll("script[nonce]"), a = 0; a < i.length; a++) {
1559
- var o = i[a];
1560
- if (o.nonce)
1561
- return o.nonce;
1562
- }
1563
- return "";
1564
- }
1565
- if ("undefined" == typeof window) {
1566
- var t = {};
1567
- return t.add = function () { }, t.commit = function () { }, t;
1568
- }
1569
- var n = document.createElement("style");
1570
- n.nonce = e(), n.styleSheet || n.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(n);
1571
- var i = !!n.styleSheet, t = {};
1572
- return t.rules = [], t.commit = function () { try {
1573
- i && (n.styleSheet.cssText = this.rules.join("\n"));
1574
+ return !0; return !1; }, DayPilot.ModalStatic.stretch = function () {
1575
+ if (this.list.length > 0) {
1576
+ var e = this.list[this.list.length - 1];
1577
+ e && e.stretch();
1574
1578
  }
1575
- catch (e) { } }, t.add = function (e, t, a) { if (i)
1576
- return void this.rules.push(e + "{" + t + "}"); if (n.sheet.insertRule)
1577
- "undefined" == typeof a && (a = n.sheet.cssRules.length), n.sheet.insertRule(e + "{" + t + "}", a);
1578
- else {
1579
- if (!n.sheet.addRule)
1580
- throw "No CSS registration method found";
1581
- n.sheet.addRule(e, t, a);
1582
- } }, t;
1583
- }, i = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxwYXRoCiAgICAgICBpZD0icGF0aDMxNzMiCiAgICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoxLjg1MTk2ODUzO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICAgIGQ9Ik0gMC45NTQxNDgzOCwwLjY4MTYwMzEgNS4wMzkwNjI1LDUuNDExNTM4NiA5LjEyMzk3NjYsMC42ODE2MDMxIgogICAgICAgIC8+CiAgPC9nPgo8L3N2Zz4K", a = new n;
1579
+ }, DayPilot.ModalStatic.last = function () { var e = DayPilot.ModalStatic.list; return e.length > 0 ? e[e.length - 1] : null; };
1580
+ var n = function () { function e() { for (var e = document.querySelectorAll("style[nonce]"), t = 0; t < e.length; t++) {
1581
+ var n = e[t];
1582
+ if (n.nonce)
1583
+ return n.nonce;
1584
+ } if (document.currentScript && document.currentScript.nonce)
1585
+ return document.currentScript.nonce; for (var i = document.querySelectorAll("script[nonce]"), a = 0; a < i.length; a++) {
1586
+ var o = i[a];
1587
+ if (o.nonce)
1588
+ return o.nonce;
1589
+ } return ""; } if ("undefined" == typeof window) {
1590
+ var t = {};
1591
+ return t.add = function () { }, t.commit = function () { }, t;
1592
+ } var n = document.createElement("style"); n.nonce = e(), n.styleSheet || n.appendChild(document.createTextNode("")), (document.head || document.getElementsByTagName("head")[0]).appendChild(n); var i = !!n.styleSheet, t = {}; return t.rules = [], t.commit = function () { try {
1593
+ i && (n.styleSheet.cssText = this.rules.join("\n"));
1594
+ }
1595
+ catch (e) { } }, t.add = function (e, t, a) { if (i)
1596
+ return void this.rules.push(e + "{" + t + "}"); if (n.sheet.insertRule)
1597
+ "undefined" == typeof a && (a = n.sheet.cssRules.length), n.sheet.insertRule(e + "{" + t + "}", a);
1598
+ else {
1599
+ if (!n.sheet.addRule)
1600
+ throw "No CSS registration method found";
1601
+ n.sheet.addRule(e, t, a);
1602
+ } }, t; }, i = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxwYXRoCiAgICAgICBpZD0icGF0aDMxNzMiCiAgICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoxLjg1MTk2ODUzO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICAgIGQ9Ik0gMC45NTQxNDgzOCwwLjY4MTYwMzEgNS4wMzkwNjI1LDUuNDExNTM4NiA5LjEyMzk3NjYsMC42ODE2MDMxIgogICAgICAgIC8+CiAgPC9nPgo8L3N2Zz4K", a = new n;
1584
1603
  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;"), 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,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5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ToxIiAvPgogIDwvZz4KPC9zdmc+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._b = !1, this.bc = null, this.cc = null, this.showHtml = function (e) { if (DayPilot.ModalStatic.displayed(this))
1585
1604
  throw "This modal dialog is already displayed."; if (this.div || this.dc(), this.sb(), this.useIframe) {
1586
1605
  var t = function (e, t) { return function () { e.setInnerHTML(e.id + "iframe", t); }; };
@@ -1704,19 +1723,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1704
1723
  throw "Unable to find the opener DayPilot.Modal instance."; t.stretch(); }, DayPilot.Modal.closeSerialized = function () { var e = DayPilot.Modal.opener() || DayPilot.ModalStatic.last(); e && e.closeSerialized(); }, DayPilot.Modal.opener = function () { return "undefined" != typeof DayPilot && "undefined" != typeof DayPilot.ModalStatic && DayPilot.ModalStatic.list.length > 0 ? DayPilot.ModalStatic.list[DayPilot.ModalStatic.list.length - 1] : parent && parent.DayPilot && parent.DayPilot.ModalStatic && parent.DayPilot.ModalStatic.list[parent.DayPilot.ModalStatic.list.length - 1]; }, DayPilot.Modal.Experimental = {}, DayPilot.Modal.Experimental.Form = r, "undefined" == typeof DayPilot.getPromise && (DayPilot.getPromise = function (e) { return "undefined" != typeof Promise ? new Promise(e) : (DayPilot.Promise = function (e) { var t = this; this.then = function (t, n) { return t = t || function () { }, n = n || function () { }, e(t, n), DayPilot.getPromise(e); }, this["catch"] = function (n) { return t.then(null, n), DayPilot.getPromise(e); }; }, new DayPilot.Promise(e)); });
1705
1724
  var r = function (e) { this.form = [], this.data = {}, this.theme = "form_default", this.zIndex = 99999, this.locale = "en-us", this.plugins = {}, this.onKey = null, this.Bc = [], this.Cc = null, this.canceling = !1, this.Dc = [], this.f = [], this.Ec = null, e = e || {}; for (var t in e)
1706
1725
  this[t] = e[t]; };
1707
- r.prototype.create = function () { return this.load(), this.render(), this.Ec; }, r.prototype.render = function () { var e = this; this.Ec = document.createElement("div"), this.Bc.forEach(function (t) { e.createView(t); }), this.applyState(); }, r.prototype.createView = function (e) { var t = this.theme, n = this, i = document.createElement("div"); if (i.className = t + "_form_item " + t + "_form_item_level" + e.level, e.interactive || "title" !== e.type ? i.className += " " + t + "_form_item_" + e.type : i.className += " " + t + "_form_title", e.data.cssClass && (i.className += " " + e.data.cssClass), !e.isValue) {
1708
- var a = document.createElement("div");
1709
- a.className = t + "_form_item_label", a.innerText = e.text, i.appendChild(a);
1710
- } var o = this.createInteractive(e); o.onInput = function (e) { if (e = e || {}, n.Fc(o, { "debounce": !e.immediate }), "function" == typeof n.onChange) {
1711
- var t = {};
1712
- t.result = n.serialize(), n.onChange(t);
1713
- } }, o.onBlur = function () { n.canceling || n.Fc(o); }, o.apply(e), o.Ec = i, o.row = e, o.element && i.appendChild(o.element), this.f.push(o), this.Ec.appendChild(i); }, r.prototype.validate = function () {
1714
- var e = this, t = !0;
1715
- return this.f.forEach(function (n) {
1716
- var i = e.Fc(n);
1717
- t = t && i;
1718
- }), t;
1719
- }, r.prototype.Fc = function (e, t) { function n() { e.Gc && (e.Gc.remove(), e.Gc = null), e.Ec.classList.add(u); var t = document.createElement("div"); t.classList.add(h), t.innerText = c.message, e.Gc = t, e.Ec.appendChild(t); } t = t || {}; var i = t.debounce, a = t.silent, o = e.row, r = !0, s = "function" == typeof o.data.onValidate ? o.data.onValidate : null, l = "function" == typeof o.data.validate ? o.data.validate : null, d = s || l; if (d) {
1726
+ r.prototype.create = function () { return this.load(), this.render(), this.Ec; }, r.prototype.render = function () { var e = this; this.Ec = document.createElement("div"), this.Bc.forEach(function (t) { e.createView(t); }), this.applyState(); }, r.prototype.createView = function (e) {
1727
+ var t = this.theme, n = this, i = document.createElement("div");
1728
+ if (i.className = t + "_form_item " + t + "_form_item_level" + e.level, e.interactive || "title" !== e.type ? i.className += " " + t + "_form_item_" + e.type : i.className += " " + t + "_form_title", e.data.cssClass && (i.className += " " + e.data.cssClass), !e.isValue) {
1729
+ var a = document.createElement("div");
1730
+ a.className = t + "_form_item_label", a.innerText = e.text, i.appendChild(a);
1731
+ }
1732
+ var o = this.createInteractive(e);
1733
+ o.onInput = function (e) { if (e = e || {}, n.Fc(o, { "debounce": !e.immediate }), "function" == typeof n.onChange) {
1734
+ var t = {};
1735
+ t.result = n.serialize(), n.onChange(t);
1736
+ } }, o.onBlur = function () { n.canceling || n.Fc(o); }, o.apply(e), o.Ec = i, o.row = e, o.element && i.appendChild(o.element), this.f.push(o), this.Ec.appendChild(i);
1737
+ }, r.prototype.validate = function () { var e = this, t = !0; return this.f.forEach(function (n) { var i = e.Fc(n); t = t && i; }), t; }, r.prototype.Fc = function (e, t) { function n() { e.Gc && (e.Gc.remove(), e.Gc = null), e.Ec.classList.add(u); var t = document.createElement("div"); t.classList.add(h), t.innerText = c.message, e.Gc = t, e.Ec.appendChild(t); } t = t || {}; var i = t.debounce, a = t.silent, o = e.row, r = !0, s = "function" == typeof o.data.onValidate ? o.data.onValidate : null, l = "function" == typeof o.data.validate ? o.data.validate : null, d = s || l; if (d) {
1720
1738
  var c = {};
1721
1739
  c.valid = !0, c.value = e.save()[o.field], c.message = "Error", c.values = this.serialize(), c.result = this.serialize(), d(c);
1722
1740
  var u = this.theme + "_form_item_invalid", h = this.theme + "_form_item_invalid_message";
@@ -1897,7 +1915,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1897
1915
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
1898
1916
  var e = {}, t = DayPilot.Util.isVueVNode;
1899
1917
  e.Month = function (n, i) {
1900
- this.v = "2025.3.696-lite", this.nav = {};
1918
+ this.v = "2025.3.703-lite", this.nav = {};
1901
1919
  var a = this;
1902
1920
  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.ed(), a.ha(), "Full" === e.UpdateType && (a.fd(), a.gd()), 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)
1903
1921
  t = e.data;
@@ -2033,10 +2051,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2033
2051
  var h = a.eventBorderRadius;
2034
2052
  for ("number" == typeof h && (h += "px"); l > 0 && n < this.rows.length;) {
2035
2053
  var f = Math.min(this.getColCount() - t, l), v = this.rows[n], p = this.getRowTop(n), m = v.getHeight(), y = document.createElement("div");
2036
- y.setAttribute("unselectable", "on"), y.style.position = "absolute", y.style.left = this.getCellWidth() * t + "%", y.style.width = this.getCellWidth() * f + "%", y.style.top = p + "px", y.style.height = m + "px", y.style.cursor = u, y.classList.add(a.L("_shadow"));
2054
+ y.setAttribute("unselectable", "on"), y.style.position = "absolute", y.style.left = this.getCellWidth() * t + "%", y.style.width = this.getCellWidth() * f + "%", y.style.top = p + "px", y.style.height = m + "px", y.style.cursor = u,
2055
+ y.classList.add(a.L("_shadow"));
2037
2056
  var g = document.createElement("div");
2038
- g.setAttribute("unselectable", "on"), y.appendChild(g), g.style.position = "absolute", g.style.top = "0px", g.style.right = "0px", g.style.left = "0px", g.style.bottom = "0px", g.classList.add(a.L("_shadow_inner")), h && (l === o && (y.style.borderTopLeftRadius = h, y.style.borderBottomLeftRadius = h, g.style.borderTopLeftRadius = h, g.style.borderBottomLeftRadius = h),
2039
- l <= f && (y.style.borderTopRightRadius = h, y.style.borderBottomRightRadius = h, g.style.borderTopRightRadius = h, g.style.borderBottomRightRadius = h)), this.nav.top.appendChild(y), this.shadow.list.push(y), l -= f + 7 - this.getColCount(), t = 0, n++;
2057
+ g.setAttribute("unselectable", "on"), y.appendChild(g), g.style.position = "absolute", g.style.top = "0px", g.style.right = "0px", g.style.left = "0px", g.style.bottom = "0px", g.classList.add(a.L("_shadow_inner")), h && (l === o && (y.style.borderTopLeftRadius = h, y.style.borderBottomLeftRadius = h, g.style.borderTopLeftRadius = h, g.style.borderBottomLeftRadius = h), l <= f && (y.style.borderTopRightRadius = h, y.style.borderBottomRightRadius = h, g.style.borderTopRightRadius = h, g.style.borderBottomRightRadius = h)), this.nav.top.appendChild(y), this.shadow.list.push(y), l -= f + 7 - this.getColCount(), t = 0, n++;
2040
2058
  }
2041
2059
  }, this.clearShadow = function () { if (this.shadow) {
2042
2060
  for (var e = 0; e < this.shadow.list.length; e++)
@@ -2376,7 +2394,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2376
2394
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.def) {
2377
2395
  var e = DayPilot.Util.isVueVNode;
2378
2396
  DayPilot.Navigator = function (t, n) {
2379
- this.v = "2025.3.696-lite";
2397
+ this.v = "2025.3.703-lite";
2380
2398
  var i = this;
2381
2399
  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.zb = {}, this.nd = function () { this.root.dp = this, this.root.className = this.L("_main"), "Horizontal" === this.orientation ? (r.od() || (this.root.style.width = this.showMonths * (7 * r.cellWidth() + this.pd()) + "px"), this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : r.od() || (this.root.style.width = 7 * r.cellWidth() + this.pd() + "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.fd = function () { this.root.innerHTML = ""; }, this.L = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.qd = function (e, t) { var n = this.L("_" + t); DayPilot.Util.addClass(e, n); }, this.rd = function (e, t) { var n = this.L("_" + t); DayPilot.Util.removeClass(e, n); }, this.sd = function () { if (!r.od())
2382
2400
  return null; var e = 7; return this.showWeekNumbers && e++, 100 / e; }, this.td = function () { return r.od() ? null : r.cellWidth(); }, this.ud = function (e) { return "number" != typeof e && (e = 1), r.od() ? this.sd() * e : this.td() * e; }, this.vd = function (e) { var t = r.od() ? "%" : "px"; return this.ud(e) + t; }, this.gd = function (t, n) {
@@ -2443,7 +2461,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2443
2461
  var I = document.createElement("div");
2444
2462
  a.cells[M][C] = I;
2445
2463
  var R = i.Bd(M, C), L = R.x, B = R.y, z = r.od() ? "%" : "px";
2446
- I.day = k, I.x = M, I.y = C, I.left = L, I.top = B, I.isCurrentMonth = A, I.isNextMonth = H, I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.qd(I, "cell"), k.getTime() === v.getTime() && A && this.qd(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.qd(I, "weekend"), I.style.position = "absolute", I.style.left = L + z, I.style.right = L + z, I.style.top = B + "px", I.style.width = i.vd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
2464
+ I.day = k, I.x = M, I.y = C, I.left = L, I.top = B, I.isCurrentMonth = A,
2465
+ I.isNextMonth = H, I.isPrevMonth = E, I.showBefore = s, I.showAfter = l, I.className = this.L(A ? "_day" : "_dayother"), i.qd(I, "cell"), k.getTime() === v.getTime() && A && this.qd(I, "today"), 0 !== k.dayOfWeek() && 6 !== k.dayOfWeek() || this.qd(I, "weekend"), I.style.position = "absolute", I.style.left = L + z, I.style.right = L + z, I.style.top = B + "px", I.style.width = i.vd(), I.style.height = this.cellHeight + "px", I.style.lineHeight = this.cellHeight + "px";
2447
2466
  var U = document.createElement("div");
2448
2467
  U.style.position = "absolute", U.className = k.getTime() === v.getTime() && A ? this.L("_todaybox") : this.L("_daybox"), i.qd(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", I.appendChild(U);
2449
2468
  var O = null;
@@ -2771,7 +2790,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2771
2790
  var n = a.ordered();
2772
2791
  n.start = new o(n.start).nextVisible(), n.end = new o(n.end).previousVisible(), i.selectionDay = new o(n.start).date(), i.selectionStart = i.selectionDay, i.selectionEnd = new o(n.end).date(), a.start = null, a.end = null, i.fd(), i.nd(), i.Ld(), i.Fd(), i.Gd();
2773
2792
  i.O({ "mode": "FreeHand" });
2774
- } a.start = null, a.end = null; }, this.dispose = function () { var e = i; e.root && (e.root.removeAttribute("style"), e.root.removeAttribute("class"), e.root.dp = null, e.root.innerHTML = null, e.root = null, e.Q = !0); }, this.aa = function () { this.root.dispose = this.dispose; }, this.Init = this.init, this.ub(n);
2793
+ } a.start = null, a.end = null; }, this.dispose = function () { var e = i; e.root && (e.root.removeAttribute("style"), e.root.removeAttribute("class"), e.root.dp = null, e.root.innerHTML = null, e.root = null, e.Q = !0); }, this.disposed = function () { return this.Q; }, this.aa = function () { this.root.dispose = this.dispose; }, this.Init = this.init, this.ub(n);
2775
2794
  }, "undefined" != typeof jQuery && !function (e) { e.fn.daypilotNavigator = function (e) { var t = null, n = this.each(function () { if (!this.daypilot) {
2776
2795
  var n = new DayPilot.Navigator(this.id);
2777
2796
  this.daypilot = n;
@@ -2795,7 +2814,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2795
2814
  if ("undefined" == typeof DayPilot.Scheduler) {
2796
2815
  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"); };
2797
2816
  DayPilot.Scheduler = function (a, s) {
2798
- this.v = "2025.3.696-lite";
2817
+ this.v = "2025.3.703-lite";
2799
2818
  var l = this;
2800
2819
  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.eventBorderRadius = null, 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.he = -1, this.ie = !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.zb = {}, this.zb.cells = [], this.zb.linesVertical = {}, this.zb.linesHorizontal = {}, this.zb.timeHeaderGroups = [], this.zb.timeHeader = {}, this.zb.events = [], this.nav = {}, this.scrollTo = function (e) { l.je(e); }, this.je = function (e) { if (e) {
2801
2820
  if (!l.Ma)
@@ -2898,22 +2917,24 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2898
2917
  i ? i.show(t) : l.contextMenu && l.contextMenu.show(this.event);
2899
2918
  }
2900
2919
  return "function" == typeof l.onEventRightClicked && l.onEventRightClicked(n), !1;
2901
- } }, this.Ne = function (e) { var t = l.Pe(), 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.Te = function (e, t) { if ("boolean" == typeof t)
2902
- throw new DayPilot.Exception("Invalid _eventClickSingle parameters"); var n = e.event; if (n) {
2903
- var i = t.ctrlKey, a = t.metaKey;
2904
- if (n.client.clickEnabled()) {
2905
- l.Ue(t);
2906
- var o = {};
2907
- 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);
2920
+ } }, this.Ne = function (e) { var t = l.Pe(), 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.Te = function (e, t) {
2921
+ if ("boolean" == typeof t)
2922
+ throw new DayPilot.Exception("Invalid _eventClickSingle parameters");
2923
+ var n = e.event;
2924
+ if (n) {
2925
+ var i = t.ctrlKey, a = t.metaKey;
2926
+ if (n.client.clickEnabled()) {
2927
+ l.Ue(t);
2928
+ var o = {};
2929
+ 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);
2930
+ }
2908
2931
  }
2909
- } }, this.ya = function (e) { var t = {}; if (t.e = e, t.preventDefault = function () { this.preventDefault.value = !0; }, t.control = l, t.toJSON = function () { return DayPilot.Util.copyProps(t, {}, ["e"]); }, "function" != typeof l.onEventDelete || (l.onEventDelete(t), !t.preventDefault.value)) {
2932
+ }, this.ya = function (e) { var t = {}; if (t.e = e, t.preventDefault = function () { this.preventDefault.value = !0; }, t.control = l, t.toJSON = function () { return DayPilot.Util.copyProps(t, {}, ["e"]); }, "function" != typeof l.onEventDelete || (l.onEventDelete(t), !t.preventDefault.value)) {
2910
2933
  switch (l.eventDeleteHandling) {
2911
2934
  case "Update": l.events.remove(e);
2912
2935
  }
2913
2936
  "function" == typeof l.onEventDeleted && l.onEventDeleted(t);
2914
- } }, this.getScrollX = function () {
2915
- return this.nav.scroll.scrollLeft;
2916
- }, this.getScrollY = function () { return this.nav.scroll.scrollTop; }, this.K = function (e, t, n, i) { if ("Disabled" !== this.eventResizeHandling) {
2937
+ } }, 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) {
2917
2938
  n = l.Ve(n);
2918
2939
  var a = {};
2919
2940
  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"]); };
@@ -3162,13 +3183,16 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3162
3183
  case "center": m.style.justifyContent = "center";
3163
3184
  }
3164
3185
  h.appendChild(m);
3165
- var y = r();
3166
- y.style.position = "absolute", y.style.bottom = "0px", y.style.width = "100%", y.style.height = "0px", y.style.boxSizing = "content-box", y.style.borderBottom = "1px solid transparent", y.className = this.L("_resourcedivider"), h.appendChild(y);
3167
- var g = r(), b = r();
3168
- b.innerHTML = l.ab(d.text, d.html), b.className = l.L("_rowheader_inner_text"), s.textDiv = b, s.cellDiv = h, g.appendChild(b), m.appendChild(g);
3169
- var w = d.verticalAlignment || d.verticalAlignment;
3170
- if (w)
3171
- switch (m.style.display = "flex", w) {
3186
+ const y = d.areas || [];
3187
+ var g = l.Cg(a);
3188
+ DayPilot.Areas.attach(h, g, { areas: y });
3189
+ var b = r();
3190
+ b.style.position = "absolute", b.style.bottom = "0px", b.style.width = "100%", b.style.height = "0px", b.style.boxSizing = "content-box", b.style.borderBottom = "1px solid transparent", b.className = this.L("_resourcedivider"), h.appendChild(b);
3191
+ var w = r(), D = r();
3192
+ D.innerHTML = l.ab(d.text, d.html), D.className = l.L("_rowheader_inner_text"), s.textDiv = D, s.cellDiv = h, w.appendChild(D), m.appendChild(w);
3193
+ var x = d.verticalAlignment || d.verticalAlignment;
3194
+ if (x)
3195
+ switch (m.style.display = "flex", x) {
3172
3196
  case "center":
3173
3197
  m.style.alignItems = "center";
3174
3198
  break;
@@ -3273,7 +3297,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3273
3297
  if (e = l.rows.find(t.id), !e)
3274
3298
  return;
3275
3299
  e.data = t;
3276
- } var n = e.index, i = l.rowlist, a = i[n], o = e.data, r = e.parent() ? e.parent().$.row : null, s = l.Kg(o), e = l.Lg(s, r); e.level = a.level, e.index = n, e.top = a.top, e.height = a.height, i[n] = e, e.resetEvents(), l.Rf(e.index), l.Mg(e), l.Hg(e), l.lf(e.index), l.df(), l.gf(); }, this.Mg = function (e) { for (var t = l.events.list, n = t.length, i = "function" == typeof l.onBeforeEventRender, a = 0; a < n; a++) {
3300
+ } var n = e.index, i = l.rowlist, a = i[n], o = e.data, r = l.Kg(o), e = l.Lg(r); e.level = a.level, e.index = n, e.top = a.top, e.height = a.height, i[n] = e, e.resetEvents(), l.Rf(e.index), l.Mg(e), l.Hg(e), l.lf(e.index), l.df(), l.gf(); }, this.Mg = function (e) { for (var t = l.events.list, n = t.length, i = "function" == typeof l.onBeforeEventRender, a = 0; a < n; a++) {
3277
3301
  var o = t[a];
3278
3302
  if (o) {
3279
3303
  if (o instanceof DayPilot.Event)
@@ -3285,7 +3309,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3285
3309
  }
3286
3310
  }
3287
3311
  } }, this.Ye = function () { var e = this.resources; if ({}.i = 0, null != e && !DayPilot.isArray(e))
3288
- throw new DayPilot.Exception("DayPilot.Scheduler.resources expects an array object"); e = e || [], l.rowlist = [], this.Ng(e); }, this.sa = function () { return new DayPilot.Date(this.startDate); }, this.Pf = function () { return new DayPilot.Date(l.startDate).addDays(l.days); }, this.visibleStart = function () { return this.sa(); }, this.visibleEnd = function () { return this.Pf(); }, this.Lg = function (e) { var t = {}; return t.backColor = e.backColor, t.fontColor = e.fontColor, t.cssClass = e.cssClass, t.name = e.name, t.html = l.ab(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.Ce, 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++) {
3312
+ throw new DayPilot.Exception("DayPilot.Scheduler.resources expects an array object"); e = e || [], l.rowlist = [], this.Ng(e); }, this.sa = function () { return new DayPilot.Date(this.startDate); }, this.Pf = function () { return new DayPilot.Date(l.startDate).addDays(l.days); }, this.visibleStart = function () { return this.sa(); }, this.visibleEnd = function () { return this.Pf(); }, this.Lg = function (e) { var t = {}; return t.backColor = e.backColor, t.fontColor = e.fontColor, t.cssClass = e.cssClass, t.name = e.name, t.html = l.ab(e.name, e.html), t.id = e.id, t.toolTip = e.toolTip, t.areas = e.areas, t.tags = e.tags, t.height = l.eventHeight, t.level = 0, t.resource = e.Ce, 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++) {
3289
3313
  var o = e.events[a], r = l.tf(o.end());
3290
3314
  DayPilot.Util.overlaps(o.start(), r, t, n) && i.push(o);
3291
3315
  } return i; }; }, t.Og = 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++) {
@@ -3306,22 +3330,20 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3306
3330
  i.index = n;
3307
3331
  var a = this.Kg(e[n], i), o = l.Lg(a, parent);
3308
3332
  o.index = n, t.push(o);
3309
- } }, this.Ag = function (e) { var t = {}; return t.row = this.Cg(e), DayPilot.Util.copyProps(e, t.row, ["html", "backColor", "fontColor", "cssClass", "toolTip"]), "function" == typeof this.onBeforeRowHeaderRender && this.onBeforeRowHeaderRender(t), t; }, this.Kg = function (e, t) { var n = { get $data() { return this.Ce; } }; for (var i in t)
3333
+ } }, this.Ag = function (e) { var t = {}; return t.row = this.Cg(e), DayPilot.Util.copyProps(e, t.row, ["html", "backColor", "fontColor", "cssClass", "toolTip", "areas"]), "function" == typeof this.onBeforeRowHeaderRender && this.onBeforeRowHeaderRender(t), t; }, this.Kg = function (e, t) { var n = { get $data() { return this.Ce; } }; for (var i in t)
3310
3334
  n[i] = t[i]; for (var i in e)
3311
- n[i] = e[i]; return n.html = l.ab(e.name, e.html), n.Ce = e, n; }, this.Pg = 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.Qg, this.nav.top.ontouchmove = h.Rg, this.nav.top.ontouchend = h.Sg; 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.gb()), t.appendChild(n), t.appendChild(this.Tg()); var i = r(); i.style.position = "absolute", i.style.left = e + "px", i.style.width = "1px", i.style.height = this.Ge() + this.Za() + "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.Ge() + "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.Ug()), a.appendChild(l.Vg()), 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.Ge(); 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.Wg = 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.Xg = function () { var e = this.rowHeaderWidth, t = this.divHeader; t.style.width = e + "px"; for (var n = l.sg(), i = n.start; i < n.end; i++) {
3335
+ n[i] = e[i]; return n.html = l.ab(e.name, e.html), n.Ce = e, n; }, this.Pg = 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.Qg, this.nav.top.ontouchmove = h.Rg, this.nav.top.ontouchend = h.Sg; 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.gb()), t.appendChild(n), t.appendChild(this.Tg()); var i = r(); i.style.position = "absolute", i.style.left = e + "px", i.style.width = "1px", i.style.height = this.Ge() + this.Za() + "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.Ge() + "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.Ug()), a.appendChild(l.Vg()), 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.Ge(); 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.Wg = function () {
3336
+ var e = this.rowHeaderWidth;
3337
+ this.nav.corner && (this.nav.corner.style.width = e + "px"), this.divResScroll.style.width = e + "px", this.nav.left.style.width = e + "px",
3338
+ this.nav.divider.style.left = e - 1 + "px", this.nav.right.style.marginLeft = e + "px";
3339
+ }, this.Xg = function () { var e = this.rowHeaderWidth, t = this.divHeader; t.style.width = e + "px"; for (var n = l.sg(), i = n.start; i < n.end; i++) {
3312
3340
  var a = t.rows[i];
3313
3341
  if (a) {
3314
3342
  var o = l.rowHeaderWidth;
3315
3343
  a.style.width = o + "px";
3316
3344
  a.firstChild.style.width = o + "px";
3317
3345
  }
3318
- } l.nav.resScrollSpace && (l.nav.resScrollSpace.style.width = e + "px"); }, this.cf = function () { this.Wg(), this.Xg(); }, this.gb = function () {
3319
- var e = this.rowHeaderWidth, t = r();
3320
- l.nav.corner = t,
3321
- t.style.width = e + "px", t.style.height = this.Ge() + "px", t.style.overflow = "hidden", t.style.position = "relative", t.oncontextmenu = function () { return !1; }, t.className = this.L("_corner");
3322
- var n = r();
3323
- 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;
3324
- }, this.Ge = function () { return l.timeHeaders ? l.timeHeaders.length * l.headerHeight : 0; }, this.Yg = null, this.Tg = function () { var e = r(); e.style.width = this.rowHeaderWidth + "px", e.style.height = this.Za() + "px", e.style.overflow = "hidden", e.style.position = "relative", e.className = l.L("_rowheader_scroll"); var i = l.ca.zg(); i && (e.style.overflowY = "auto"), e.ontouchstart = function () { n.Zg = !0; }, e.oncontextmenu = function () { return !1; }, e.onscroll = function () { if (l.Yg && clearTimeout(l.Yg), i) {
3346
+ } l.nav.resScrollSpace && (l.nav.resScrollSpace.style.width = e + "px"); }, this.cf = function () { this.Wg(), this.Xg(); }, this.gb = function () { var e = this.rowHeaderWidth, t = r(); l.nav.corner = t, t.style.width = e + "px", t.style.height = this.Ge() + "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.Ge = function () { return l.timeHeaders ? l.timeHeaders.length * l.headerHeight : 0; }, this.Yg = null, this.Tg = function () { var e = r(); e.style.width = this.rowHeaderWidth + "px", e.style.height = this.Za() + "px", e.style.overflow = "hidden", e.style.position = "relative", e.className = l.L("_rowheader_scroll"); var i = l.ca.zg(); i && (e.style.overflowY = "auto"), e.ontouchstart = function () { n.Zg = !0; }, e.oncontextmenu = function () { return !1; }, e.onscroll = function () { if (l.Yg && clearTimeout(l.Yg), i) {
3325
3347
  var a = function () { var t = l.$g() - l.nav.scroll.offsetHeight; e.scrollTop = Math.min(e.scrollTop, t), l.nav.scroll.scrollTop = e.scrollTop; };
3326
3348
  t ? n.Zg && (l.Yg = setTimeout(a, 10)) : l.Yg = setTimeout(a, 10);
3327
3349
  }
@@ -3701,33 +3723,33 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
3701
3723
  f.Od = function () { delete l.zb.headerHeight; }, f.da = function () { return "Disabled" !== l.xssProtection; }, f.Ke = function () { return DayPilot.Locale.find(l.locale); }, f.Rh = function () { return "Auto" !== l.timeFormat ? l.timeFormat : f.Ke().timeFormat; }, f.ea = function () { if ("Auto" === l.weekStarts) {
3702
3724
  var e = f.Ke();
3703
3725
  return e ? e.weekStarts : 0;
3704
- } return l.weekStarts || 0; }, f.zg = function () { var e = navigator.userAgent.toLowerCase(); return e.indexOf("mobile") !== -1 || e.indexOf("android") != -1; }, f.gg = function (e) { return "Always" === l.useEventBoxes || "Never" !== l.useEventBoxes && e < 60 * l.Pe() * 1e3; }, this.hi = function (e, t) { var n = e + "_" + t, i = l.rowlist; if (this.cellProperties || (this.cellProperties = {}), this.cellProperties[n])
3705
- return this.cellProperties[n]; if (!this.cellProperties[n]) {
3706
- var a = i[t], o = a.id, r = l.Ne(e), s = r.start, d = r.end, c = {};
3707
- c.start = s, c.end = d, c.resource = o;
3708
- var u = {};
3709
- u.business = l.isBusiness(c), this.cellProperties[n] = u;
3710
- } return this.cellProperties[n]; }, this.isBusiness = function (e, t) {
3711
- var n = e.start, i = e.end, a = (i.getTime() - n.getTime()) / 6e4;
3712
- if (a <= 1440 && !(l.businessWeekends || t || 0 !== e.start.dayOfWeek() && 6 !== e.start.dayOfWeek()))
3713
- return !1;
3714
- if (a < 720) {
3715
- var o = n.getHours();
3716
- o += n.getMinutes() / 60, o += n.getSeconds() / 3600, o += n.getMilliseconds() / 36e5;
3717
- var r = this.businessBeginsHour, s = this.businessEndsHour;
3718
- if (0 === s && (s = 24), r === s)
3719
- return !1;
3720
- if (!(r < s))
3721
- return o < s || o >= r;
3722
- if (o < r)
3723
- return !1;
3724
- if (s >= 24)
3725
- return !0;
3726
- if (o >= s)
3727
- return !1;
3726
+ } return l.weekStarts || 0; }, f.zg = function () { var e = navigator.userAgent.toLowerCase(); return e.indexOf("mobile") !== -1 || e.indexOf("android") != -1; }, f.gg = function (e) { return "Always" === l.useEventBoxes || "Never" !== l.useEventBoxes && e < 60 * l.Pe() * 1e3; }, this.hi = function (e, t) {
3727
+ var n = e + "_" + t, i = l.rowlist;
3728
+ if (this.cellProperties || (this.cellProperties = {}), this.cellProperties[n])
3729
+ return this.cellProperties[n];
3730
+ if (!this.cellProperties[n]) {
3731
+ var a = i[t], o = a.id, r = l.Ne(e), s = r.start, d = r.end, c = {};
3732
+ c.start = s, c.end = d, c.resource = o;
3733
+ var u = {};
3734
+ u.business = l.isBusiness(c), this.cellProperties[n] = u;
3728
3735
  }
3729
- return !0;
3730
- }, this.u = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.mi = function (e) { this.heightSpec = "Fixed", this.height = e - (this.Ge() + 2), this.ma(); }, this.setHeight = this.mi, this.ne = function (e) { return l.Gg(e)[0]; }, this.yb = function () { if (this.id && this.id.tagName)
3736
+ return this.cellProperties[n];
3737
+ }, this.isBusiness = function (e, t) { var n = e.start, i = e.end, a = (i.getTime() - n.getTime()) / 6e4; if (a <= 1440 && !(l.businessWeekends || t || 0 !== e.start.dayOfWeek() && 6 !== e.start.dayOfWeek()))
3738
+ return !1; if (a < 720) {
3739
+ var o = n.getHours();
3740
+ o += n.getMinutes() / 60, o += n.getSeconds() / 3600, o += n.getMilliseconds() / 36e5;
3741
+ var r = this.businessBeginsHour, s = this.businessEndsHour;
3742
+ if (0 === s && (s = 24), r === s)
3743
+ return !1;
3744
+ if (!(r < s))
3745
+ return o < s || o >= r;
3746
+ if (o < r)
3747
+ return !1;
3748
+ if (s >= 24)
3749
+ return !0;
3750
+ if (o >= s)
3751
+ return !1;
3752
+ } return !0; }, this.u = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.mi = function (e) { this.heightSpec = "Fixed", this.height = e - (this.Ge() + 2), this.ma(); }, this.setHeight = this.mi, this.ne = function (e) { return l.Gg(e)[0]; }, this.yb = function () { if (this.id && this.id.tagName)
3731
3753
  this.nav.top = this.id;
3732
3754
  else {
3733
3755
  if ("string" != typeof this.id)