@daypilot/daypilot-lite-angular 3.12.1 → 3.13.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 MenuBar {
70
70
  }
71
71
  DayPilot.MenuBar = MenuBar;
72
+ class SwitcherPropsAndEvents {
73
+ }
74
+ DayPilot.SwitcherPropsAndEvents = SwitcherPropsAndEvents;
75
+ class SwitcherConfig extends SwitcherPropsAndEvents {
76
+ }
77
+ DayPilot.SwitcherConfig = SwitcherConfig;
78
+ class Switcher extends SwitcherPropsAndEvents {
79
+ }
80
+ DayPilot.Switcher = Switcher;
72
81
  class Date {
73
82
  }
74
83
  DayPilot.Date = Date;
@@ -121,7 +130,7 @@ DayPilot Lite
121
130
  Copyright (c) 2005 - 2023 Annpoint s.r.o.
122
131
  https://www.daypilot.org/
123
132
  Licensed under Apache Software License 2.0
124
- Version: 2023.1.450-lite
133
+ Version: 2023.2.457-lite
125
134
  */
126
135
  if ("undefined" == typeof DayPilot)
127
136
  var DayPilot = {};
@@ -488,7 +497,112 @@ if (function () {
488
497
  return null;
489
498
  var t = e.toLowerCase();
490
499
  return t.length > 2 && (t = DayPilot.Util.replaceCharAt(t, 2, "-")), DayPilot.Locale.all[t];
491
- }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "M/d/yyyy", "dateTimePattern": "M/d/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("es-es", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["D", "L", "M", "X", "J", "V", "S"], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("es-mx", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["do.", "lu.", "ma.", "mi.", "ju.", "vi.", "sá."], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "hh:mm tt", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy hh:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("eu-es", { "dayNames": ["igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata"], "dayNamesShort": ["ig", "al", "as", "az", "og", "or", "lr"], "monthNames": ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua", ""], "monthNamesShort": ["urt.", "ots.", "mar.", "api.", "mai.", "eka.", "uzt.", "abu.", "ira.", "urr.", "aza.", "abe.", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fi-fi", { "dayNames": ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], "dayNamesShort": ["su", "ma", "ti", "ke", "to", "pe", "la"], "monthNames": ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu", ""], "monthNamesShort": ["tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-be", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yy", "dateTimePattern": "dd-MM-yy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-ch", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-fr", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-lu", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("gl-es", { "dayNames": ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"], "dayNamesShort": ["do", "lu", "ma", "mé", "xo", "ve", "sá"], "monthNames": ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro", ""], "monthNamesShort": ["xan", "feb", "mar", "abr", "maio", "xuño", "xul", "ago", "set", "out", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-it", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-ch", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ja-jp", { "dayNames": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dayNamesShort": ["日", "月", "火", "水", "木", "金", "土"], "monthNames": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("nb-no", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-nl", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "d-M-yyyy", "dateTimePattern": "d-M-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-be", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nn-no", { "dayNames": ["søndag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag"], "dayNamesShort": ["sø", "må", "ty", "on", "to", "fr", "la"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-br", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("pl-pl", { "dayNames": ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"], "dayNamesShort": ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], "monthNames": ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień", ""], "monthNamesShort": ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-pt", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("ro-ro", { "dayNames": ["duminică", "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă"], "dayNamesShort": ["D", "L", "Ma", "Mi", "J", "V", "S"], "monthNames": ["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie", ""], "monthNamesShort": ["ian.", "feb.", "mar.", "apr.", "mai.", "iun.", "iul.", "aug.", "sep.", "oct.", "nov.", "dec.", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ru-ru", { "dayNames": ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], "dayNamesShort": ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""], "monthNamesShort": ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sk-sk", { "dayNames": ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"], "dayNamesShort": ["ne", "po", "ut", "st", "št", "pi", "so"], "monthNames": ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sv-se", { "dayNames": ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"], "dayNamesShort": ["sö", "må", "ti", "on", "to", "fr", "lö"], "monthNames": ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("tr-tr", { "dayNames": ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], "dayNamesShort": ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], "monthNames": ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık", ""], "monthNamesShort": ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", ""], "timePattern": "HH:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("uk-ua", { "dayNames": ["неділя", "понеділок", "вівторок", "середа", "четвер", "п'ятниця", "субота"], "dayNamesShort": ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["січень", "лютий", "березень", "квітень", "травень", "червень", "липень", "серпень", "вересень", "жовтень", "листопад", "грудень", ""], "monthNamesShort": ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-cn", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "timePattern": "H:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.US = DayPilot.Locale.find("en-us"), DayPilot.Duration = function (e) {
500
+ }, DayPilot.Locale.register = function (e) { DayPilot.Locale.all[e.id] = e; }, DayPilot.Locale.register(new DayPilot.Locale("ca-es", { "dayNames": ["diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte"], "dayNamesShort": ["dg", "dl", "dt", "dc", "dj", "dv", "ds"], "monthNames": ["gener", "febrer", "març", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", ""], "monthNamesShort": ["gen.", "febr.", "març", "abr.", "maig", "juny", "jul.", "ag.", "set.", "oct.", "nov.", "des.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("cs-cz", { "dayNames": ["neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota"], "dayNamesShort": ["ne", "po", "út", "st", "čt", "pá", "so"], "monthNames": ["leden", "únor", "březen", "duben", "květen", "červen", "červenec", "srpen", "září", "říjen", "listopad", "prosinec", ""], "monthNamesShort": ["I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX", "X", "XI", "XII", ""], "timePattern": "H:mm", "datePattern": "d. M. yyyy", "dateTimePattern": "d. M. yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("da-dk", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yyyy", "dateTimePattern": "dd-MM-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-at", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Jänner", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-ch", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-de", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("de-lu", { "dayNames": ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"], "dayNamesShort": ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"], "monthNames": ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""], "monthNamesShort": ["Jan", "Feb", "Mrz", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-au", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-ca", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("en-gb", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("en-us", { "dayNames": ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], "dayNamesShort": ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], "monthNames": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""], "monthNamesShort": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""], "timePattern": "h:mm tt", "datePattern": "M/d/yyyy", "dateTimePattern": "M/d/yyyy h:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("es-es", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["D", "L", "M", "X", "J", "V", "S"], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("es-mx", { "dayNames": ["domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado"], "dayNamesShort": ["do.", "lu.", "ma.", "mi.", "ju.", "vi.", "sá."], "monthNames": ["enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", ""], "monthNamesShort": ["ene.", "feb.", "mar.", "abr.", "may.", "jun.", "jul.", "ago.", "sep.", "oct.", "nov.", "dic.", ""], "timePattern": "hh:mm tt", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy hh:mm tt", "timeFormat": "Clock12Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("eu-es", { "dayNames": ["igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata"], "dayNamesShort": ["ig", "al", "as", "az", "og", "or", "lr"], "monthNames": ["urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua", ""], "monthNamesShort": ["urt.", "ots.", "mar.", "api.", "mai.", "eka.", "uzt.", "abu.", "ira.", "urr.", "aza.", "abe.", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fi-fi", { "dayNames": ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai"], "dayNamesShort": ["su", "ma", "ti", "ke", "to", "pe", "la"], "monthNames": ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu", ""], "monthNamesShort": ["tammi", "helmi", "maalis", "huhti", "touko", "kesä", "heinä", "elo", "syys", "loka", "marras", "joulu", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-be", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd-MM-yy", "dateTimePattern": "dd-MM-yy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-ch", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-fr", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("fr-lu", { "dayNames": ["dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi"], "dayNamesShort": ["di", "lu", "ma", "me", "je", "ve", "sa"], "monthNames": ["janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre", ""], "monthNamesShort": ["janv.", "févr.", "mars", "avr.", "mai", "juin", "juil.", "août", "sept.", "oct.", "nov.", "déc.", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("gl-es", { "dayNames": ["domingo", "luns", "martes", "mércores", "xoves", "venres", "sábado"], "dayNamesShort": ["do", "lu", "ma", "mé", "xo", "ve", "sá"], "monthNames": ["xaneiro", "febreiro", "marzo", "abril", "maio", "xuño", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro", ""], "monthNamesShort": ["xan", "feb", "mar", "abr", "maio", "xuño", "xul", "ago", "set", "out", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-it", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("it-ch", { "dayNames": ["domenica", "lunedì", "martedì", "mercoledì", "giovedì", "venerdì", "sabato"], "dayNamesShort": ["do", "lu", "ma", "me", "gi", "ve", "sa"], "monthNames": ["gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", ""], "monthNamesShort": ["gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ja-jp", { "dayNames": ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"], "dayNamesShort": ["日", "月", "火", "水", "木", "金", "土"], "monthNames": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "yyyy/MM/dd", "dateTimePattern": "yyyy/MM/dd H:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("nb-no", { "dayNames": ["søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag"], "dayNamesShort": ["sø", "ma", "ti", "on", "to", "fr", "lø"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-nl", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "d-M-yyyy", "dateTimePattern": "d-M-yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nl-be", { "dayNames": ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"], "dayNamesShort": ["zo", "ma", "di", "wo", "do", "vr", "za"], "monthNames": ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "H:mm", "datePattern": "d/MM/yyyy", "dateTimePattern": "d/MM/yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("nn-no", { "dayNames": ["søndag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag"], "dayNamesShort": ["sø", "må", "ty", "on", "to", "fr", "la"], "monthNames": ["januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", ""], "timePattern": "HH:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-br", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("pl-pl", { "dayNames": ["niedziela", "poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota"], "dayNamesShort": ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So"], "monthNames": ["styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień", ""], "monthNamesShort": ["sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "paź", "lis", "gru", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("pt-pt", { "dayNames": ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"], "dayNamesShort": ["D", "S", "T", "Q", "Q", "S", "S"], "monthNames": ["janeiro", "fevereiro", "março", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", ""], "monthNamesShort": ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez", ""], "timePattern": "HH:mm", "datePattern": "dd/MM/yyyy", "dateTimePattern": "dd/MM/yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 0 })), DayPilot.Locale.register(new DayPilot.Locale("ro-ro", { "dayNames": ["duminică", "luni", "marți", "miercuri", "joi", "vineri", "sâmbătă"], "dayNamesShort": ["D", "L", "Ma", "Mi", "J", "V", "S"], "monthNames": ["ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie", ""], "monthNamesShort": ["ian.", "feb.", "mar.", "apr.", "mai.", "iun.", "iul.", "aug.", "sep.", "oct.", "nov.", "dec.", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("ru-ru", { "dayNames": ["воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота"], "dayNamesShort": ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь", ""], "monthNamesShort": ["янв", "фев", "мар", "апр", "май", "июн", "июл", "авг", "сен", "окт", "ноя", "дек", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sk-sk", { "dayNames": ["nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota"], "dayNamesShort": ["ne", "po", "ut", "st", "št", "pi", "so"], "monthNames": ["január", "február", "marec", "apríl", "máj", "jún", "júl", "august", "september", "október", "november", "december", ""], "monthNamesShort": ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", ""], "timePattern": "H:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("sv-se", { "dayNames": ["söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag"], "dayNamesShort": ["sö", "må", "ti", "on", "to", "fr", "lö"], "monthNames": ["januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", ""], "monthNamesShort": ["jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", ""], "timePattern": "HH:mm", "datePattern": "yyyy-MM-dd", "dateTimePattern": "yyyy-MM-dd HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("tr-tr", { "dayNames": ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"], "dayNamesShort": ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], "monthNames": ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık", ""], "monthNamesShort": ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara", ""], "timePattern": "HH:mm", "datePattern": "d.M.yyyy", "dateTimePattern": "d.M.yyyy HH:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("uk-ua", { "dayNames": ["неділя", "понеділок", "вівторок", "середа", "четвер", "п'ятниця", "субота"], "dayNamesShort": ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], "monthNames": ["січень", "лютий", "березень", "квітень", "травень", "червень", "липень", "серпень", "вересень", "жовтень", "листопад", "грудень", ""], "monthNamesShort": ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру", ""], "timePattern": "H:mm", "datePattern": "dd.MM.yyyy", "dateTimePattern": "dd.MM.yyyy H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.register(new DayPilot.Locale("zh-cn", { "dayNames": ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], "dayNamesShort": ["日", "一", "二", "三", "四", "五", "六"], "monthNames": ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月", ""], "monthNamesShort": ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月", ""], "timePattern": "H:mm", "datePattern": "yyyy/M/d", "dateTimePattern": "yyyy/M/d H:mm", "timeFormat": "Clock24Hours", "weekStarts": 1 })), DayPilot.Locale.US = DayPilot.Locale.find("en-us"), DayPilot.Switcher = function (e) {
501
+ function t(e, t, a) { var n = {}; n.start = e, n.end = t, n.day = a, n.target = i.k.control, n.preventDefault = function () { this.preventDefault.value = !0; }; var o = i.G; o && o.start === n.start && o.end === n.end && o.day === n.day && o.target === n.target || (i.G = n, "function" == typeof i.onChange && (i.onChange(n), n.preventDefault.value) || "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(n), n.preventDefault.value) || (i.k.q(i.l), "function" == typeof i.onChanged && i.onChanged(n), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(n))); }
502
+ var i = this;
503
+ this.f = [], this.i = [], this.j = {}, this.selectedClass = null, this.k = null, this.l = DayPilot.Date.today(), this.onChange = null, this.onChanged = null, this.onSelect = null, this.j.updateMode = function (e) { var t = i.j.control; t && (t.selectMode = e, t.select(i.l)); }, this.addView = function (e, t) {
504
+ var a;
505
+ if ("string" == typeof e) {
506
+ if (a = document.getElementById(e), !a)
507
+ throw "Element not found: " + e;
508
+ }
509
+ else
510
+ a = e;
511
+ var n = a, o = {};
512
+ return o.m = !0, o.n = n.id, o.control = n, o.o = t || {}, o.p = function () { n.hide ? n.hide() : n.nav && n.nav.top ? n.nav.top.style.display = "none" : n.style.display = "none"; }, o.q = function (e) { (function () { return !!n.backendUrl || !("function" != typeof WebForm_DoCallback || !n.uniqueID); })() ? n.commandCallBack && n.commandCallBack("navigate", { "day": e }) : (n.startDate = e, n.update()); }, o.s = function () { i.t(), n.show ? n.show() : n.nav && n.nav.top ? n.nav.top.style.display = "" : n.style.display = ""; }, o.u = function () {
513
+ if (o.o.navigatorSelectMode)
514
+ return o.o.navigatorSelectMode;
515
+ if (n.isCalendar)
516
+ switch (n.viewType) {
517
+ case "Day": return "day";
518
+ case "Week": return "week";
519
+ case "WorkWeek": return "week";
520
+ default: return "day";
521
+ }
522
+ else if (n.isMonth)
523
+ switch (n.viewType) {
524
+ case "Month": return "month";
525
+ case "Weeks": return "week";
526
+ default: return "day";
527
+ }
528
+ return "day";
529
+ }, this.f.push(o), o;
530
+ }, this.addTrigger = function (e, t) {
531
+ var a;
532
+ if ("string" == typeof e) {
533
+ if (a = document.getElementById(e), !a)
534
+ throw "Element not found: " + e;
535
+ }
536
+ else
537
+ a = e;
538
+ var n = this.z(t);
539
+ n || (n = this.addView(t));
540
+ var o = {};
541
+ return o.A = !0, o.B = a, o.n = a.id, o.C = n, o.D = function (e) { i.show(o), i.E(o), e && (e.preventDefault ? e.preventDefault() : e.returnValue = !1); }, DayPilot.re(a, "click", o.D), this.i.push(o), o;
542
+ }, this.addButton = this.addTrigger, this.select = function (e) { var t = this.F(e); t ? t.D() : this.i.length > 0 && this.i[0].D(); }, this.F = function (e) {
543
+ for (var t = 0; t < this.i.length; t++) {
544
+ var i = this.i[t];
545
+ if (i.n === e)
546
+ return i;
547
+ }
548
+ return null;
549
+ }, this.E = function (e) {
550
+ if (this.selectedClass) {
551
+ for (var t = 0; t < this.i.length; t++) {
552
+ var i = this.i[t];
553
+ DayPilot.Util.removeClass(i.B, this.selectedClass);
554
+ }
555
+ DayPilot.Util.addClass(e.B, this.selectedClass);
556
+ }
557
+ }, this.addNavigator = function (e) {
558
+ i.j.control = e, e.timeRangeSelectedHandling = "JavaScript", e.onTimeRangeSelected = function () {
559
+ var a, n, o;
560
+ if (1 === e.api)
561
+ a = arguments[0], n = arguments[1], o = arguments[2];
562
+ else {
563
+ var r = arguments[0];
564
+ a = r.start, n = r.end, o = r.day;
565
+ }
566
+ i.l = o, t(a, n, o);
567
+ };
568
+ }, this.show = function (e) {
569
+ var a, n;
570
+ if (e.A)
571
+ n = e, a = n.C;
572
+ else if (a = e.m ? e : this.z(e), this.k === a)
573
+ return;
574
+ if (i.onSelect) {
575
+ var o = {};
576
+ o.source = n ? n.B : null, o.target = a.control, i.onSelect(o);
577
+ }
578
+ this.k = a, a.s();
579
+ var r = a.u();
580
+ i.j.updateMode(r), t(i.j.control.selectionStart, i.j.control.selectionEnd.addDays(1), i.j.control.selectionDay);
581
+ }, this.z = function (e) {
582
+ for (var t = 0; t < this.f.length; t++)
583
+ if (this.f[t].control === e)
584
+ return this.f[t];
585
+ return null;
586
+ }, this.t = function () {
587
+ for (var e = 0; e < this.f.length; e++)
588
+ this.f[e].p();
589
+ }, Object.defineProperty(this, "active", {
590
+ get: function () { return i.k; }
591
+ }), this.events = {}, this.events.load = function (e, t, a) {
592
+ if (!i.k || !i.k.control)
593
+ throw "DayPilot.Switcher.events.load(): Active view not found";
594
+ i.k.control.events.load(e, t, a);
595
+ }, this.G = null, this.H = function () {
596
+ if (e)
597
+ for (var t in e)
598
+ if ("triggers" === t) {
599
+ var a = e.triggers || [];
600
+ a.forEach(function (e) { i.addTrigger(e.id, e.view); });
601
+ }
602
+ else
603
+ "navigator" === t ? i.addNavigator(e.navigator) : i[t] = e[t];
604
+ }, this.H();
605
+ }, DayPilot.Duration = function (e) {
492
606
  var t = this, i = 864e5, a = 36e5, n = 6e4, o = 1e3;
493
607
  if (2 === arguments.length) {
494
608
  var r = arguments[0], s = arguments[1];
@@ -534,8 +648,7 @@ if (function () {
534
648
  }
535
649
  var r = e(a);
536
650
  return n[r] ? n[r] : (n[r] = this, n[a] = this, o && r !== t && DayPilot.DateUtil.hasTzSpec(t) && (n[t] = this), Object.defineProperty && !DayPilot.browser.ielt9 ? (Object.defineProperty(this, "ticks", { get: function () { return a; } }), Object.defineProperty(this, "value", { "value": r, "writable": !1, "enumerable": !0 })) : (this.ticks = a, this.value = r), DayPilot.Date.Config.legacyShowD && (this.d = new Date(a)), void (DayPilot.Stats.dateObjects += 1));
537
- }, DayPilot.Date.Config = {}, DayPilot.Date.Config.legacyShowD = !1, DayPilot.Date.Cache = {}, DayPilot.Date.Cache.Parsing = {},
538
- DayPilot.Date.Cache.Ctor = {}, DayPilot.Date.Cache.Ticks = {}, DayPilot.Date.Cache.DurationCtor = {}, DayPilot.Date.Cache.clear = function () { DayPilot.Date.Cache.Parsing = {}, DayPilot.Date.Cache.Ctor = {}, DayPilot.Date.Cache.Ticks = {}, DayPilot.Date.Cache.DurationCtor = {}; }, DayPilot.Date.prototype.addDays = function (e) { return e ? new DayPilot.Date(this.ticks + 24 * e * 60 * 60 * 1e3) : this; }, DayPilot.Date.prototype.addHours = function (e) { return e ? this.addTime(60 * e * 60 * 1e3) : this; }, DayPilot.Date.prototype.addMilliseconds = function (e) { return e ? this.addTime(e) : this; }, DayPilot.Date.prototype.addMinutes = function (e) { return e ? this.addTime(60 * e * 1e3) : this; }, DayPilot.Date.prototype.addMonths = function (e) {
651
+ }, DayPilot.Date.Config = {}, DayPilot.Date.Config.legacyShowD = !1, DayPilot.Date.Cache = {}, DayPilot.Date.Cache.Parsing = {}, DayPilot.Date.Cache.Ctor = {}, DayPilot.Date.Cache.Ticks = {}, DayPilot.Date.Cache.DurationCtor = {}, DayPilot.Date.Cache.clear = function () { DayPilot.Date.Cache.Parsing = {}, DayPilot.Date.Cache.Ctor = {}, DayPilot.Date.Cache.Ticks = {}, DayPilot.Date.Cache.DurationCtor = {}; }, DayPilot.Date.prototype.addDays = function (e) { return e ? new DayPilot.Date(this.ticks + 24 * e * 60 * 60 * 1e3) : this; }, DayPilot.Date.prototype.addHours = function (e) { return e ? this.addTime(60 * e * 60 * 1e3) : this; }, DayPilot.Date.prototype.addMilliseconds = function (e) { return e ? this.addTime(e) : this; }, DayPilot.Date.prototype.addMinutes = function (e) { return e ? this.addTime(60 * e * 1e3) : this; }, DayPilot.Date.prototype.addMonths = function (e) {
539
652
  if (!e)
540
653
  return this;
541
654
  var t = new Date(this.ticks), i = t.getUTCFullYear(), a = t.getUTCMonth() + 1;
@@ -842,39 +955,39 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
842
955
  if (!t.resizingShadow)
843
956
  return t.resizing.style.cursor = "default", document.body.style.cursor = "default", t.resizing = null, void (DayPilot.Global.resizing = null);
844
957
  var a = t.resizing.event, n = t.resizingShadow.clientHeight + 4, o = t.resizingShadow.offsetTop, r = t.resizing.dpBorder;
845
- t.deleteShadow(t.resizingShadow), t.resizingShadow = null, t.resizing.style.cursor = "default", a.calendar.nav.top.style.cursor = "auto", t.resizing.onclick = null, t.resizing = null, DayPilot.Global.resizing = null, a.calendar.f(a, n, o, r);
958
+ t.deleteShadow(t.resizingShadow), t.resizingShadow = null, t.resizing.style.cursor = "default", a.calendar.nav.top.style.cursor = "auto", t.resizing.onclick = null, t.resizing = null, DayPilot.Global.resizing = null, a.calendar.I(a, n, o, r);
846
959
  }
847
960
  else if (t.moving) {
848
961
  if (!t.movingShadow)
849
962
  return t.moving = null, DayPilot.Global.moving = null, void (document.body.style.cursor = "default");
850
963
  var o = t.movingShadow.offsetTop, a = t.moving.event;
851
- t.deleteShadow(t.movingShadow), DayPilot.Util.removeClass(t.moving, a.calendar.i("_event_moving_source"));
964
+ t.deleteShadow(t.movingShadow), DayPilot.Util.removeClass(t.moving, a.calendar.J("_event_moving_source"));
852
965
  var s = t.movingShadow.column;
853
- t.moving = null, DayPilot.Global.moving = null, t.movingShadow = null, a.calendar.nav.top.style.cursor = "auto", a.calendar.j(a, s, o, i);
966
+ t.moving = null, DayPilot.Global.moving = null, t.movingShadow = null, a.calendar.nav.top.style.cursor = "auto", a.calendar.K(a, s, o, i);
854
967
  }
855
968
  else if (t.selecting && null !== t.topSelectedCell) {
856
969
  var l = t.selecting.calendar;
857
970
  t.selecting = !1;
858
971
  var d = l.getSelection();
859
- l.k(d.start, d.end, d.resource), "Hold" !== l.timeRangeSelectedHandling && "HoldForever" !== l.timeRangeSelectedHandling && e();
972
+ l.L(d.start, d.end, d.resource), "Hold" !== l.timeRangeSelectedHandling && "HoldForever" !== l.timeRangeSelectedHandling && e();
860
973
  }
861
974
  else
862
975
  t.selecting = !1;
863
976
  }, t.deleteShadow = function (e) { e && e.parentNode && e.parentNode.removeChild(e); }, t.moveShadow = function (e) { var i = t.movingShadow, a = i.parentNode; a.style.display = "none", i.parentNode.removeChild(i), e.firstChild.appendChild(i), i.style.left = "0px", a.style.display = "", i.style.width = t.movingShadow.parentNode.offsetWidth + 1 + "px"; }, t.Calendar = function (e, i) {
864
977
  var a = !1;
865
- if (this instanceof t.Calendar && !this.l && (a = !0, this.l = !0), !a)
978
+ if (this instanceof t.Calendar && !this.M && (a = !0, this.M = !0), !a)
866
979
  throw "DayPilot.Calendar() is a constructor and must be called as 'var c = new DayPilot.Calendar(id);'";
867
980
  var n = this;
868
- this.uniqueID = null, this.isCalendar = !0, this.v = "2023.1.450-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellHeight = 30, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.loadingLabelBackColor = "ff0000", this.loadingLabelFontColor = "#ffffff", this.loadingLabelFontFamily = "Tahoma, Arial, Helvetica, sans-serif", this.loadingLabelFontSize = "10pt", this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeEventRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.m(); }, this.m = function () { DayPilot.de(n.elements.selection), n.elements.selection = [], n.nav.activeSelection = null; }, this.n = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.cleanSelection = this.clearSelection, this.o = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.p(); var o = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(n.uniqueID, o); }, this.q = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { n.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.p(); var o = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.s, o, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, o, this.t, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = n; e.u(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.z(), e.A(), 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.B = function () { this.nav.top.dispose = this.dispose; }, this.s = function (e) { n.t(e.responseText); }, this.p = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = n.days, e.startDate = n.startDate, e.heightSpec = n.heightSpec, e.businessBeginsHour = n.businessBeginsHour, e.businessEndsHour = n.businessEndsHour, e.hashes = n.hashes, e.timeFormat = n.timeFormat, e.viewType = n.viewType, e.locale = n.locale, e; }, this.C = function (e, t) {
981
+ this.uniqueID = null, this.isCalendar = !0, this.v = "2023.2.457-lite", this.id = e, this.clientName = e, this.cache = {}, this.cache.pixels = {}, this.elements = {}, this.elements.events = [], this.elements.selection = [], this.nav = {}, this.afterRender = function () { }, this.fasterDispose = !0, this.angularAutoApply = !1, this.api = 2, this.businessBeginsHour = 9, this.businessEndsHour = 18, this.cellHeight = 30, this.columnMarginRight = 5, this.columnsLoadMethod = "GET", this.contextMenu = null, this.days = 1, this.durationBarVisible = !0, this.eventHeaderHeight = 14, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.headerTextWrappingEnabled = !1, this.height = 300, this.heightSpec = "BusinessHours", this.hideUntilInit = !0, this.hourWidth = 60, this.initScrollPos = "Auto", this.loadingLabelText = "Loading...", this.loadingLabelVisible = !0, this.loadingLabelBackColor = "ff0000", this.loadingLabelFontColor = "#ffffff", this.loadingLabelFontFamily = "Tahoma, Arial, Helvetica, sans-serif", this.loadingLabelFontSize = "10pt", this.locale = "en-us", this.showToolTip = !0, this.startDate = (new DayPilot.Date).getDatePart(), this.cssClassPrefix = "calendar_default", this.theme = null, this.timeFormat = "Auto", this.viewType = "Days", this.visible = !0, this.xssProtection = "Enabled", this.headerClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventResizeHandling = "Update", this.eventRightClickHandling = "ContextMenu", this.eventMoveHandling = "Update", this.eventDeleteHandling = "Disabled", this.timeRangeSelectedHandling = "Enabled", this.onBeforeEventRender = null, this.onEventClick = null, this.onEventClicked = null, this.onEventDelete = null, this.onEventDeleted = null, this.onEventMove = null, this.onEventMoved = null, this.onEventResize = null, this.onEventResized = null, this.onEventRightClick = null, this.onEventRightClicked = null, this.onHeaderClick = null, this.onHeaderClicked = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.clearSelection = function () { t.topSelectedCell = null, t.bottomSelectedCell = null, this.N(); }, this.N = function () { DayPilot.de(n.elements.selection), n.elements.selection = [], n.nav.activeSelection = null; }, this.O = navigator && navigator.userAgent && navigator.userAgent.indexOf("MSIE") !== -1, this.cleanSelection = this.clearSelection, this.P = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); __doPostBack(n.uniqueID, o); }, this.R = function (e, t, i) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.callbackTimeout = window.setTimeout(function () { n.loadingStart(); }, 100); var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var o = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.S, o, this.ajaxError) : "function" == typeof WebForm_DoCallback && WebForm_DoCallback(this.uniqueID, o, this.T, this.clientName, this.onCallbackError, !0); }, this.onCallbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.dispose = function () { var e = n; e.U(), e.nav.scroll.root = null, DayPilot.pu(e.nav.loading), e.V(), e.W(), 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.X = function () { this.nav.top.dispose = this.dispose; }, this.S = function (e) { n.T(e.responseText); }, this.Q = function () { var e = {}; return e.control = "dpc", e.id = this.id, e.v = this.v, e.days = n.days, e.startDate = n.startDate, e.heightSpec = n.heightSpec, e.businessBeginsHour = n.businessBeginsHour, e.businessEndsHour = n.businessEndsHour, e.hashes = n.hashes, e.timeFormat = n.timeFormat, e.viewType = n.viewType, e.locale = n.locale, e; }, this.Y = function (e, t) {
869
982
  for (var i = e.parentNode; i && "TD" !== i.tagName;)
870
983
  i = i.parentNode;
871
984
  var a = document.createElement("div");
872
- 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 = n.i("_shadow");
985
+ 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 = n.J("_shadow");
873
986
  var o = document.createElement("div");
874
- return o.className = n.i("_shadow_inner"), a.appendChild(o), i.firstChild.appendChild(a), a;
875
- }, this.D = {}, this.D.locale = function () { var e = DayPilot.Locale.find(n.locale); return e ? e : DayPilot.Locale.US; }, this.D.timeFormat = function () { return "Auto" !== n.timeFormat ? n.timeFormat : this.locale().timeFormat; }, this.D.E = function () { return "Disabled" !== n.xssProtection; };
876
- var o = this.D;
877
- this.t = function (e, t) {
987
+ return o.className = n.J("_shadow_inner"), a.appendChild(o), i.firstChild.appendChild(a), a;
988
+ }, this.Z = {}, this.Z.locale = function () { var e = DayPilot.Locale.find(n.locale); return e ? e : DayPilot.Locale.US; }, this.Z.timeFormat = function () { return "Auto" !== n.timeFormat ? n.timeFormat : this.locale().timeFormat; }, this.Z._ = function () { return "Disabled" !== n.xssProtection; };
989
+ var o = this.Z;
990
+ this.T = function (e, t) {
878
991
  if (e && 0 === e.indexOf("$$$")) {
879
992
  if (!window.console)
880
993
  throw "Error received from the server side: " + e;
@@ -884,16 +997,16 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
884
997
  if (e.CallBackRedirect)
885
998
  return void (document.location.href = e.CallBackRedirect);
886
999
  if ("None" === e.UpdateType)
887
- return n.loadingStop(), void n.F();
888
- if (n.u(), "Full" === e.UpdateType && (n.columns = e.Columns, n.days = e.Days, n.startDate = new DayPilot.Date(e.StartDate), n.heightSpec = e.HeightSpec ? e.HeightSpec : n.heightSpec, n.businessBeginsHour = e.BusinessBeginsHour ? e.BusinessBeginsHour : n.businessBeginsHour, n.businessEndsHour = e.BusinessEndsHour ? e.BusinessEndsHour : n.businessEndsHour, n.headerDateFormat = e.HeaderDateFormat ? e.HeaderDateFormat : n.headerDateFormat, n.viewType = e.ViewType, n.backColor = e.BackColor ? e.BackColor : n.backColor, n.eventHeaderVisible = e.EventHeaderVisible ? e.EventHeaderVisible : n.eventHeaderVisible, n.timeFormat = e.TimeFormat ? e.TimeFormat : n.timeFormat, n.locale = e.Locale ? e.Locale : n.locale, n.G()), e.Hashes)
1000
+ return n.loadingStop(), void n.s();
1001
+ if (n.U(), "Full" === e.UpdateType && (n.columns = e.Columns, n.days = e.Days, n.startDate = new DayPilot.Date(e.StartDate), n.heightSpec = e.HeightSpec ? e.HeightSpec : n.heightSpec, n.businessBeginsHour = e.BusinessBeginsHour ? e.BusinessBeginsHour : n.businessBeginsHour, n.businessEndsHour = e.BusinessEndsHour ? e.BusinessEndsHour : n.businessEndsHour, n.headerDateFormat = e.HeaderDateFormat ? e.HeaderDateFormat : n.headerDateFormat, n.viewType = e.ViewType, n.backColor = e.BackColor ? e.BackColor : n.backColor, n.eventHeaderVisible = e.EventHeaderVisible ? e.EventHeaderVisible : n.eventHeaderVisible, n.timeFormat = e.TimeFormat ? e.TimeFormat : n.timeFormat, n.locale = e.Locale ? e.Locale : n.locale, n.aa()), e.Hashes)
889
1002
  for (var i in e.Hashes)
890
1003
  n.hashes[i] = e.Hashes[i];
891
- n.events.list = e.Events, n.H(), n.I(), "Full" === e.UpdateType && (n.J(), n.K(), n.L(), n.M()), n.F(), n.N(), n.clearSelection(), n.afterRender(e.CallBackData, !0), n.loadingStop();
892
- }, this.O = function () { return this.P() / 36e5; }, this.Q = function () { return this.businessBeginsHour > this.businessEndsHour ? 24 - this.businessBeginsHour + this.businessEndsHour : this.businessEndsHour - this.businessBeginsHour; }, this.R = function () { return this.P() / 18e5; }, this.P = function () { var e = 0; return e = "BusinessHoursNoScroll" === this.heightSpec ? this.Q() : 24, 60 * e * 60 * 1e3; }, this.S = function () { return "BusinessHoursNoScroll" === this.heightSpec ? this.businessBeginsHour : 0; }, this.T = function () { return 2 === n.api; }, this.eventClickCallBack = function (e, t) { this.q("EventClick", t, e); }, this.eventClickPostBack = function (e, t) { this.o("EventClick", t, e); }, this.U = function (e) {
1004
+ n.events.list = e.Events, n.ba(), n.ca(), "Full" === e.UpdateType && (n.da(), n.ea(), n.fa(), n.ga()), n.s(), n.ha(), n.clearSelection(), n.afterRender(e.CallBackData, !0), n.loadingStop();
1005
+ }, this.ia = function () { return this.ja() / 36e5; }, this.ka = function () { return this.businessBeginsHour > this.businessEndsHour ? 24 - this.businessBeginsHour + this.businessEndsHour : this.businessEndsHour - this.businessBeginsHour; }, this.la = function () { return this.ja() / 18e5; }, this.ja = function () { var e = 0; return e = "BusinessHoursNoScroll" === this.heightSpec ? this.ka() : 24, 60 * e * 60 * 1e3; }, this.ma = function () { return "BusinessHoursNoScroll" === this.heightSpec ? this.businessBeginsHour : 0; }, this.na = function () { return 2 === n.api; }, this.eventClickCallBack = function (e, t) { this.R("EventClick", t, e); }, this.eventClickPostBack = function (e, t) { this.P("EventClick", t, e); }, this.oa = function (e) {
893
1006
  var t = this, i = t.event;
894
- if (n.T()) {
1007
+ if (n.na()) {
895
1008
  var a = {};
896
- if (a.e = i, a.originalEvent = e, a.meta = e.metaKey, a.ctrl = e.ctrlKey, a.control = n, a.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventClick && (n.V.apply(function () { n.onEventClick(a); }), a.preventDefault.value))
1009
+ if (a.e = i, a.originalEvent = e, a.meta = e.metaKey, a.ctrl = e.ctrlKey, a.control = n, a.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventClick && (n.pa.apply(function () { n.onEventClick(a); }), a.preventDefault.value))
897
1010
  return;
898
1011
  switch (n.eventClickHandling) {
899
1012
  case "CallBack":
@@ -906,7 +1019,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
906
1019
  var o = i.client.contextMenu();
907
1020
  o ? o.show(i) : n.contextMenu && n.contextMenu.show(i);
908
1021
  }
909
- "function" == typeof n.onEventClicked && n.V.apply(function () { n.onEventClicked(a); });
1022
+ "function" == typeof n.onEventClicked && n.pa.apply(function () { n.onEventClicked(a); });
910
1023
  }
911
1024
  else
912
1025
  switch (n.eventClickHandling) {
@@ -918,7 +1031,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
918
1031
  break;
919
1032
  case "JavaScript": n.onEventClick(i);
920
1033
  }
921
- }, this.W = function (e) {
1034
+ }, this.qa = function (e) {
922
1035
  var t = this.event;
923
1036
  if (e.stopPropagation && e.stopPropagation(), !t.client.rightClickEnabled())
924
1037
  return !1;
@@ -931,10 +1044,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
931
1044
  a ? a.show(t) : n.contextMenu && n.contextMenu.show(this.event);
932
1045
  }
933
1046
  return "function" == typeof n.onEventRightClicked && n.onEventRightClicked(i), e.preventDefault && e.preventDefault(), !1;
934
- }, this.eventDeleteCallBack = function (e, t) { this.q("EventDelete", t, e); }, this.eventDeletePostBack = function (e, t) { this.o("EventDelete", t, e); }, this.X = function (e) {
935
- if (n.T()) {
1047
+ }, this.eventDeleteCallBack = function (e, t) { this.R("EventDelete", t, e); }, this.eventDeletePostBack = function (e, t) { this.P("EventDelete", t, e); }, this.ra = function (e) {
1048
+ if (n.na()) {
936
1049
  var t = {};
937
- if (t.e = e, t.control = n, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventDelete && (n.V.apply(function () { n.onEventDelete(t); }), t.preventDefault.value))
1050
+ if (t.e = e, t.control = n, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventDelete && (n.pa.apply(function () { n.onEventDelete(t); }), t.preventDefault.value))
938
1051
  return;
939
1052
  switch (n.eventDeleteHandling) {
940
1053
  case "CallBack":
@@ -945,7 +1058,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
945
1058
  break;
946
1059
  case "Update": n.events.remove(e);
947
1060
  }
948
- "function" == typeof n.onEventDeleted && n.V.apply(function () { n.onEventDeleted(t); });
1061
+ "function" == typeof n.onEventDeleted && n.pa.apply(function () { n.onEventDeleted(t); });
949
1062
  }
950
1063
  else
951
1064
  switch (n.eventDeleteHandling) {
@@ -963,27 +1076,27 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
963
1076
  if (!i)
964
1077
  throw "newEnd is null";
965
1078
  var n = {};
966
- n.e = e, n.newStart = t, n.newEnd = i, this.q("EventResize", a, n);
1079
+ n.e = e, n.newStart = t, n.newEnd = i, this.R("EventResize", a, n);
967
1080
  }, this.eventResizePostBack = function (e, t, i, a) {
968
1081
  if (!t)
969
1082
  throw "newStart is null";
970
1083
  if (!i)
971
1084
  throw "newEnd is null";
972
1085
  var n = {};
973
- n.e = e, n.newStart = t, n.newEnd = i, this.o("EventResize", a, n);
974
- }, this.f = function (e, t, i, a) {
1086
+ n.e = e, n.newStart = t, n.newEnd = i, this.P("EventResize", a, n);
1087
+ }, this.I = function (e, t, i, a) {
975
1088
  var o = 1, r = new Date, s = new Date, l = e.start(), d = e.end();
976
1089
  if ("top" === a) {
977
- var c = l.getDatePart(), u = Math.floor((i - o) / n.cellHeight), h = 30 * u, f = 60 * h * 1e3, m = 60 * n.S() * 60 * 1e3;
1090
+ var c = l.getDatePart(), u = Math.floor((i - o) / n.cellHeight), h = 30 * u, f = 60 * h * 1e3, m = 60 * n.ma() * 60 * 1e3;
978
1091
  r = c.addTime(f + m), s = e.end();
979
1092
  }
980
1093
  else if ("bottom" === a) {
981
- var c = d.getDatePart(), u = Math.floor((i + t - o) / n.cellHeight), h = 30 * u, f = 60 * h * 1e3, m = 60 * n.S() * 60 * 1e3;
1094
+ var c = d.getDatePart(), u = Math.floor((i + t - o) / n.cellHeight), h = 30 * u, f = 60 * h * 1e3, m = 60 * n.ma() * 60 * 1e3;
982
1095
  r = l, s = c.addTime(f + m);
983
1096
  }
984
- if (n.T()) {
1097
+ if (n.na()) {
985
1098
  var p = {};
986
- if (p.e = e, p.control = n, p.newStart = r, p.newEnd = s, p.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventResize && (n.V.apply(function () { n.onEventResize(p); }), p.preventDefault.value))
1099
+ if (p.e = e, p.control = n, p.newStart = r, p.newEnd = s, p.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventResize && (n.pa.apply(function () { n.onEventResize(p); }), p.preventDefault.value))
987
1100
  return;
988
1101
  switch (n.eventResizeHandling) {
989
1102
  case "PostBack":
@@ -994,7 +1107,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
994
1107
  break;
995
1108
  case "Update": e.start(r), e.end(s), n.events.update(e);
996
1109
  }
997
- "function" == typeof n.onEventResized && n.V.apply(function () { n.onEventResized(p); });
1110
+ "function" == typeof n.onEventResized && n.pa.apply(function () { n.onEventResized(p); });
998
1111
  }
999
1112
  else
1000
1113
  switch (n.eventResizeHandling) {
@@ -1012,23 +1125,23 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1012
1125
  if (!i)
1013
1126
  throw "newEnd is null";
1014
1127
  var o = {};
1015
- o.e = e, o.newStart = t, o.newEnd = i, this.o("EventMove", n, o);
1128
+ o.e = e, o.newStart = t, o.newEnd = i, this.P("EventMove", n, o);
1016
1129
  }, this.eventMoveCallBack = function (e, t, i, a, n) {
1017
1130
  if (!t)
1018
1131
  throw "newStart is null";
1019
1132
  if (!i)
1020
1133
  throw "newEnd is null";
1021
1134
  var o = {};
1022
- o.e = e, o.newStart = t, o.newEnd = i, this.q("EventMove", n, o);
1023
- }, this.j = function (e, t, i, a) {
1135
+ o.e = e, o.newStart = t, o.newEnd = i, this.R("EventMove", n, o);
1136
+ }, this.K = function (e, t, i, a) {
1024
1137
  var o = 1, r = Math.floor((i - o) / n.cellHeight), s = 30 * r * 60 * 1e3, l = e.start(), d = e.end(), c = new Date;
1025
1138
  l instanceof DayPilot.Date && (l = l.toDate()), c.setTime(Date.UTC(l.getUTCFullYear(), l.getUTCMonth(), l.getUTCDate()));
1026
- var u = l.getTime() - (c.getTime() + 3600 * l.getUTCHours() * 1e3 + 30 * Math.floor(l.getUTCMinutes() / 30) * 60 * 1e3), h = d.getTime() - l.getTime(), f = this.Y[t], m = f.id, p = f.start.getTime(), v = new Date;
1139
+ var u = l.getTime() - (c.getTime() + 3600 * l.getUTCHours() * 1e3 + 30 * Math.floor(l.getUTCMinutes() / 30) * 60 * 1e3), h = d.getTime() - l.getTime(), f = this.sa[t], m = f.id, p = f.start.getTime(), v = new Date;
1027
1140
  v.setTime(p + s + u);
1028
1141
  var y = new DayPilot.Date(v), g = y.addTime(h);
1029
- if (n.T()) {
1142
+ if (n.na()) {
1030
1143
  var b = {};
1031
- if (b.e = e, b.newStart = y, b.newEnd = g, b.newResource = m, b.ctrl = a.ctrlKey, b.shift = a.shiftKey, b.control = n, b.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventMove && (n.V.apply(function () { n.onEventMove(b); }), b.preventDefault.value))
1144
+ if (b.e = e, b.newStart = y, b.newEnd = g, b.newResource = m, b.ctrl = a.ctrlKey, b.shift = a.shiftKey, b.control = n, b.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onEventMove && (n.pa.apply(function () { n.onEventMove(b); }), b.preventDefault.value))
1032
1145
  return;
1033
1146
  switch (n.eventMoveHandling) {
1034
1147
  case "PostBack":
@@ -1039,7 +1152,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1039
1152
  break;
1040
1153
  case "Update": e.start(y), e.end(g), e.resource(m), n.events.update(e);
1041
1154
  }
1042
- "function" == typeof n.onEventMoved && n.V.apply(function () { n.onEventMoved(b); });
1155
+ "function" == typeof n.onEventMoved && n.pa.apply(function () { n.onEventMoved(b); });
1043
1156
  }
1044
1157
  else
1045
1158
  switch (n.eventMoveHandling) {
@@ -1051,10 +1164,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1051
1164
  break;
1052
1165
  case "JavaScript": n.onEventMove(e, y, g, f.id, !1);
1053
1166
  }
1054
- }, this.timeRangeSelectedPostBack = function (e, t, i, a) { var n = {}; n.start = e, n.end = t, this.o("TimeRangeSelected", a, n); }, this.timeRangeSelectedCallBack = function (e, t, i, a) { var n = {}; n.start = e, n.end = t, this.q("TimeRangeSelected", a, n); }, this.k = function (e, t, i) {
1055
- if (e = new DayPilot.Date(e), t = new DayPilot.Date(t), this.T()) {
1167
+ }, this.timeRangeSelectedPostBack = function (e, t, i, a) { var n = {}; n.start = e, n.end = t, this.P("TimeRangeSelected", a, n); }, this.timeRangeSelectedCallBack = function (e, t, i, a) { var n = {}; n.start = e, n.end = t, this.R("TimeRangeSelected", a, n); }, this.L = function (e, t, i) {
1168
+ if (e = new DayPilot.Date(e), t = new DayPilot.Date(t), this.na()) {
1056
1169
  var a = {};
1057
- if (a.start = e, a.end = t, a.resource = i, a.control = n, a.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onTimeRangeSelect && (n.V.apply(function () { n.onTimeRangeSelect(a); }), a.preventDefault.value))
1170
+ if (a.start = e, a.end = t, a.resource = i, a.control = n, a.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onTimeRangeSelect && (n.pa.apply(function () { n.onTimeRangeSelect(a); }), a.preventDefault.value))
1058
1171
  return;
1059
1172
  switch (n.timeRangeSelectedHandling) {
1060
1173
  case "PostBack":
@@ -1062,7 +1175,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1062
1175
  break;
1063
1176
  case "CallBack": n.timeRangeSelectedCallBack(e, t);
1064
1177
  }
1065
- "function" == typeof n.onTimeRangeSelected && n.V.apply(function () { n.onTimeRangeSelected(a); });
1178
+ "function" == typeof n.onTimeRangeSelected && n.pa.apply(function () { n.onTimeRangeSelected(a); });
1066
1179
  }
1067
1180
  else
1068
1181
  switch (n.timeRangeSelectedHandling) {
@@ -1074,13 +1187,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1074
1187
  break;
1075
1188
  case "JavaScript": n.onTimeRangeSelected(e, t);
1076
1189
  }
1077
- }, this.Z = function (e) {
1190
+ }, this.ta = function (e) {
1078
1191
  if (!t.selecting && "Disabled" !== n.timeRangeSelectedHandling) {
1079
1192
  var i = e.which;
1080
1193
  if (1 === i || 0 === i)
1081
- return t.firstMousePos = DayPilot.mc(e), t.selecting = {}, t.selecting.calendar = n, t.selectedCells && (n.clearSelection(), t.selectedCells = []), t.column = t.getColumn(this), t.selectedCells.push(this), t.firstSelected = this, t.topSelectedCell = this, t.bottomSelectedCell = this, n._(), !1;
1194
+ return t.firstMousePos = DayPilot.mc(e), t.selecting = {}, t.selecting.calendar = n, t.selectedCells && (n.clearSelection(), t.selectedCells = []), t.column = t.getColumn(this), t.selectedCells.push(this), t.firstSelected = this, t.topSelectedCell = this, t.bottomSelectedCell = this, n.ua(), !1;
1082
1195
  }
1083
- }, this._ = function () {
1196
+ }, this.ua = function () {
1084
1197
  this.getSelection();
1085
1198
  !function () {
1086
1199
  var e = t.topSelectedCell, i = t.bottomSelectedCell, a = function () {
@@ -1090,7 +1203,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1090
1203
  if (t[i] === e)
1091
1204
  return i;
1092
1205
  return -1;
1093
- }(), o = n.Y[a];
1206
+ }(), o = n.sa[a];
1094
1207
  if (o) {
1095
1208
  var r = o.start, s = n.getPixels(e.start, r).boxTop, l = n.getPixels(i.end, r).boxBottom, d = l - s, c = function () {
1096
1209
  if (n.nav.activeSelection)
@@ -1098,17 +1211,17 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1098
1211
  var e = document.createElement("div");
1099
1212
  e.setAttribute("unselectable", "on"), e.style.position = "absolute", e.style.left = "0px", e.style.width = "100%";
1100
1213
  var t = document.createElement("div");
1101
- return t.setAttribute("unselectable", "on"), t.className = n.i("_shadow_inner"), e.appendChild(t), n.nav.events.rows[0].cells[a].selection.appendChild(e), n.elements.selection.push(e), n.nav.activeSelection = e, e;
1214
+ return t.setAttribute("unselectable", "on"), t.className = n.J("_shadow_inner"), e.appendChild(t), n.nav.events.rows[0].cells[a].selection.appendChild(e), n.elements.selection.push(e), n.nav.activeSelection = e, e;
1102
1215
  }();
1103
- c.className = n.i("_shadow"), c.firstChild.innerHTML = "", c.style.top = s + "px", c.style.height = d + "px";
1216
+ c.className = n.J("_shadow"), c.firstChild.innerHTML = "", c.style.top = s + "px", c.style.height = d + "px";
1104
1217
  }
1105
1218
  }();
1106
- }, this.aa = function (e) {
1219
+ }, this.va = function (e) {
1107
1220
  if ("undefined" != typeof t && t.selecting) {
1108
1221
  var i = DayPilot.mc(e);
1109
- t.getColumn(this) === t.column && (n.clearSelection(), i.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(this), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(this), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), n._());
1222
+ t.getColumn(this) === t.column && (n.clearSelection(), i.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(this), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(this), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), n.ua());
1110
1223
  }
1111
- }, this.getSelection = function () { var e = t.topSelectedCell.start, i = t.bottomSelectedCell.end, a = t.topSelectedCell.resource; return new DayPilot.Selection(e, i, a, n); }, this.ba = function (e) {
1224
+ }, this.getSelection = function () { var e = t.topSelectedCell.start, i = t.bottomSelectedCell.end, a = t.topSelectedCell.resource; return new DayPilot.Selection(e, i, a, n); }, this.wa = function (e) {
1112
1225
  if (e < 0)
1113
1226
  return null;
1114
1227
  for (var t = 0, i = n.nav.events.rows[0].cells, a = 0; a < i.length; a++) {
@@ -1116,11 +1229,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1116
1229
  return a;
1117
1230
  }
1118
1231
  return null;
1119
- }, this.ca = {}, this.ca.getCellCoords = function () {
1232
+ }, this.xa = {}, this.xa.getCellCoords = function () {
1120
1233
  var e = {};
1121
1234
  if (e.x = 0, e.y = 0, !n.coords)
1122
1235
  return null;
1123
- e.x = n.ba(n.coords.x);
1236
+ e.x = n.wa(n.coords.x);
1124
1237
  var t = 0, i = Math.floor((n.coords.y - t) / n.cellHeight);
1125
1238
  return e.y = i, e.x < 0 ? null : e;
1126
1239
  }, this.columns = {}, this.columns.list = [], this.columns.load = function (e, t, i) {
@@ -1139,18 +1252,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1139
1252
  var s = {};
1140
1253
  if (s.preventDefault = function () { this.preventDefault.value = !0; }, s.data = i, "function" == typeof t && t(s), s.preventDefault.value)
1141
1254
  return;
1142
- n.columns.list = i, n.da && n.update();
1255
+ n.columns.list = i, n.ya && n.update();
1143
1256
  }
1144
1257
  };
1145
1258
  n.columnsLoadMethod && "POST" === n.columnsLoadMethod.toUpperCase() ? DayPilot.ajax({ "method": "POST", "url": e, "success": o, "error": a }) : DayPilot.ajax({ "method": "GET", "url": e, "success": o, "error": a });
1146
- }, this.G = function () {
1259
+ }, this.aa = function () {
1147
1260
  var e;
1148
- e = "Resources" !== n.viewType ? this.ea() : n.columns.list, this.Y = [];
1261
+ e = "Resources" !== n.viewType ? this.za() : n.columns.list, this.sa = [];
1149
1262
  for (var t = 0; t < e.length; t++) {
1150
- var i = this.fa(e[t]);
1151
- this.Y.push(i);
1263
+ var i = this.Aa(e[t]);
1264
+ this.sa.push(i);
1152
1265
  }
1153
- }, this.fa = function (e) {
1266
+ }, this.Aa = function (e) {
1154
1267
  var t = {};
1155
1268
  return t.name = e.name, t.html = e.html, t.id = e.id, t.toolTip = e.toolTip, t.data = e, e.start ? t.start = new DayPilot.Date(e.start) : t.start = new DayPilot.Date(n.startDate), t.putIntoBlock = function (e) {
1156
1269
  for (var t = 0; t < this.blocks.length; t++) {
@@ -1191,7 +1304,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1191
1304
  return !0;
1192
1305
  }, i.push(e), this.lines.push(i), this.lines.length - 1;
1193
1306
  }, t;
1194
- }, this.ea = function () {
1307
+ }, this.za = function () {
1195
1308
  var e = [], t = this.startDate.getDatePart(), i = this.days;
1196
1309
  switch (this.viewType) {
1197
1310
  case "Day":
@@ -1210,22 +1323,22 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1210
1323
  return e;
1211
1324
  }, this.visibleStart = function () {
1212
1325
  if ("Resources" === n.viewType) {
1213
- if (0 === n.Y.length)
1326
+ if (0 === n.sa.length)
1214
1327
  return DayPilot.Date.today();
1215
- var e = n.Y.map(function (e) { return e.start.getTime(); }), t = Math.min.apply(null, e);
1328
+ var e = n.sa.map(function (e) { return e.start.getTime(); }), t = Math.min.apply(null, e);
1216
1329
  return new DayPilot.Date(t);
1217
1330
  }
1218
- return this.Y[0].start;
1331
+ return this.sa[0].start;
1219
1332
  }, this.visibleEnd = function () {
1220
1333
  if ("Resources" === n.viewType) {
1221
- if (0 === n.Y.length)
1334
+ if (0 === n.sa.length)
1222
1335
  return DayPilot.Date.today().addDays(1);
1223
- var e = n.Y.map(function (e) { return e.start.getTime(); }), t = Math.max.apply(null, e);
1336
+ var e = n.sa.map(function (e) { return e.start.getTime(); }), t = Math.max.apply(null, e);
1224
1337
  return new DayPilot.Date(t).addDays(1);
1225
1338
  }
1226
- var t = this.Y.length - 1;
1227
- return this.Y[t].start.addDays(1);
1228
- }, this.i = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.u = function () {
1339
+ var t = this.sa.length - 1;
1340
+ return this.sa[t].start.addDays(1);
1341
+ }, this.J = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.U = function () {
1229
1342
  if (this.elements.events)
1230
1343
  for (var e = 0; e < this.elements.events.length; e++) {
1231
1344
  var t = this.elements.events[e], i = t.event;
@@ -1236,9 +1349,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1236
1349
  t.helper = null, t.data = null, t.event = null, DayPilot.de(t);
1237
1350
  }
1238
1351
  this.elements.events = [];
1239
- }, this.ga = function (e) {
1352
+ }, this.Ba = function (e) {
1240
1353
  var i = e.cache || e.data, a = this.nav.events, o = document.createElement("div");
1241
- o.style.position = "absolute", o.style.left = e.part.left + "%", o.style.top = e.part.top + "px", o.style.width = e.part.width + "%", o.style.height = Math.max(e.part.height, 2) + "px", o.style.overflow = "hidden", o.data = e, o.event = e, o.unselectable = "on", o.style.MozUserSelect = "none", o.style.KhtmlUserSelect = "none", o.className = this.i("_event"), i.cssClass && DayPilot.Util.addClass(o, i.cssClass), o.isFirst = e.part.start.getTime() === e.start().getTime(), o.isLast = e.part.end.getTime() === e.end().getTime(), o.onclick = this.U, DayPilot.re(o, "contextmenu", this.W), o.onmouseout = function (e) { o.deleteIcon && (o.deleteIcon.style.display = "none"); }, o.onmousemove = function (i) {
1354
+ o.style.position = "absolute", o.style.left = e.part.left + "%", o.style.top = e.part.top + "px", o.style.width = e.part.width + "%", o.style.height = Math.max(e.part.height, 2) + "px", o.style.overflow = "hidden", o.data = e, o.event = e, o.unselectable = "on", o.style.MozUserSelect = "none", o.style.KhtmlUserSelect = "none", o.className = this.J("_event"), i.cssClass && DayPilot.Util.addClass(o, i.cssClass), o.isFirst = e.part.start.getTime() === e.start().getTime(), o.isLast = e.part.end.getTime() === e.end().getTime(), o.onclick = this.oa, DayPilot.re(o, "contextmenu", this.qa), o.onmouseout = function (e) { o.deleteIcon && (o.deleteIcon.style.display = "none"); }, o.onmousemove = function (i) {
1242
1355
  var a = 5;
1243
1356
  if ("undefined" != typeof t) {
1244
1357
  var r = DayPilot.mo3(o, i);
@@ -1254,7 +1367,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1254
1367
  if (1 === a && e.client.moveEnabled()) {
1255
1368
  t.moving = this, DayPilot.Global.moving = this, t.moving.event = this.event;
1256
1369
  var o = t.moving.helper = {};
1257
- o.oldColumn = n.Y[this.data.part.dayIndex].id, t.originalMouse = DayPilot.mc(i), t.originalTop = this.offsetTop;
1370
+ o.oldColumn = n.sa[this.data.part.dayIndex].id, t.originalMouse = DayPilot.mc(i), t.originalTop = this.offsetTop;
1258
1371
  var r = DayPilot.mo3(this, i);
1259
1372
  r ? t.moveOffsetY = r.y : t.moveOffsetY = 0, n.nav.top.style.cursor = "move";
1260
1373
  }
@@ -1264,31 +1377,31 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1264
1377
  return !1;
1265
1378
  };
1266
1379
  var r = document.createElement("div");
1267
- if (r.setAttribute("unselectable", "on"), r.className = n.i("_event_inner"), r.innerHTML = e.client.html(), "darker" === i.borderColor && i.backColor ? r.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : r.style.borderColor = i.borderColor, i.backColor && (r.style.background = i.backColor, (DayPilot.browser.ie9 || DayPilot.browser.ielt9) && (r.style.filter = "")), i.fontColor && (r.style.color = i.fontColor), o.appendChild(r), e.client.barVisible()) {
1380
+ if (r.setAttribute("unselectable", "on"), r.className = n.J("_event_inner"), r.innerHTML = e.client.html(), "darker" === i.borderColor && i.backColor ? r.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : r.style.borderColor = i.borderColor, i.backColor && (r.style.background = i.backColor, (DayPilot.browser.ie9 || DayPilot.browser.ielt9) && (r.style.filter = "")), i.fontColor && (r.style.color = i.fontColor), o.appendChild(r), e.client.barVisible()) {
1268
1381
  var s = e.part.height - 2, l = 100 * e.part.barTop / s, d = Math.ceil(100 * e.part.barHeight / s), c = document.createElement("div");
1269
- c.setAttribute("unselectable", "on"), c.className = this.i("_event_bar"), c.style.position = "absolute", i.barBackColor && (c.style.backgroundColor = i.barBackColor);
1382
+ c.setAttribute("unselectable", "on"), c.className = this.J("_event_bar"), c.style.position = "absolute", i.barBackColor && (c.style.backgroundColor = i.barBackColor);
1270
1383
  var u = document.createElement("div");
1271
- u.setAttribute("unselectable", "on"), u.className = this.i("_event_bar_inner"), u.style.top = l + "%", 0 < d && d <= 1 ? u.style.height = "1px" : u.style.height = d + "%", i.barColor && (u.style.backgroundColor = i.barColor), c.appendChild(u), o.appendChild(c);
1384
+ u.setAttribute("unselectable", "on"), u.className = this.J("_event_bar_inner"), u.style.top = l + "%", 0 < d && d <= 1 ? u.style.height = "1px" : u.style.height = d + "%", i.barColor && (u.style.backgroundColor = i.barColor), c.appendChild(u), o.appendChild(c);
1272
1385
  }
1273
1386
  if (e.client.deleteEnabled()) {
1274
1387
  var h = document.createElement("div");
1275
- h.style.position = "absolute", h.style.right = "2px", h.style.top = "2px", h.style.width = "17px", h.style.height = "17px", h.className = n.i("_event_delete"), h.onmousedown = function (e) { e.stopPropagation(); }, h.onclick = function (e) { e.stopPropagation(); var t = this.parentNode.event; t && n.X(t); }, h.style.display = "none", o.deleteIcon = h, o.appendChild(h);
1388
+ h.style.position = "absolute", h.style.right = "2px", h.style.top = "2px", h.style.width = "17px", h.style.height = "17px", h.className = n.J("_event_delete"), h.onmousedown = function (e) { e.stopPropagation(); }, h.onclick = function (e) { e.stopPropagation(); var t = this.parentNode.event; t && n.ra(t); }, h.style.display = "none", o.deleteIcon = h, o.appendChild(h);
1276
1389
  }
1277
1390
  var f = i.areas ? DayPilot.Areas.copy(i.areas) : [];
1278
1391
  if (DayPilot.Areas.attach(o, e, { "areas": f }), a.rows[0].cells[e.part.dayIndex]) {
1279
- a.rows[0].cells[e.part.dayIndex].firstChild.appendChild(o), n.ha(o);
1392
+ a.rows[0].cells[e.part.dayIndex].firstChild.appendChild(o), n.Ca(o);
1280
1393
  }
1281
1394
  n.elements.events.push(o);
1282
- }, this.ha = function (e) {
1395
+ }, this.Ca = function (e) {
1283
1396
  for (var t = e && e.childNodes ? e.childNodes.length : 0, i = 0; i < t; i++)
1284
1397
  try {
1285
1398
  var a = e.childNodes[i];
1286
- 1 === a.nodeType && (a.unselectable = "on", this.ha(a));
1399
+ 1 === a.nodeType && (a.unselectable = "on", this.Ca(a));
1287
1400
  }
1288
1401
  catch (e) { }
1289
- }, this.N = function () {
1290
- for (var e = 0; e < this.Y.length; e++) {
1291
- var t = this.Y[e];
1402
+ }, this.ha = function () {
1403
+ for (var e = 0; e < this.sa.length; e++) {
1404
+ var t = this.sa[e];
1292
1405
  if (t.blocks)
1293
1406
  for (var i = 0; i < t.blocks.length; i++)
1294
1407
  for (var a = t.blocks[i], n = 0; n < a.lines.length; n++)
@@ -1296,13 +1409,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1296
1409
  var s = o[r];
1297
1410
  s.part.width = 100 / a.lines.length, s.part.left = s.part.width * n;
1298
1411
  var l = n === a.lines.length - 1;
1299
- l || (s.part.width = 1.5 * s.part.width), this.ga(s);
1412
+ l || (s.part.width = 1.5 * s.part.width), this.Ba(s);
1300
1413
  }
1301
1414
  }
1302
- }, this.ia = function () { this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.i("_main")), this.nav.top.style.MozUserSelect = "none", this.nav.top.style.KhtmlUserSelect = "none", this.nav.top.style.position = "relative", this.nav.top.style.width = this.width ? this.width : "100%", this.hideUntilInit && (this.nav.top.style.visibility = "hidden"), this.visible || (this.nav.top.style.display = "none"), this.nav.scroll = document.createElement("div"), this.nav.scroll.style.height = this.ja() + "px", "BusinessHours" === this.heightSpec ? this.nav.scroll.style.overflow = "auto" : this.nav.scroll.style.overflow = "hidden", this.nav.scroll.style.position = "relative"; var e = this.ka(); this.nav.top.appendChild(e), this.nav.scroll.style.zoom = 1; var t = this.la(); this.nav.scrollable = t.firstChild, this.nav.scroll.appendChild(t), this.nav.top.appendChild(this.nav.scroll), this.nav.scrollLayer = document.createElement("div"), this.nav.scrollLayer.style.position = "absolute", this.nav.scrollLayer.style.top = "0px", this.nav.scrollLayer.style.left = "0px", this.nav.top.appendChild(this.nav.scrollLayer), this.nav.loading = document.createElement("div"), this.nav.loading.style.position = "absolute", this.nav.loading.style.top = "0px", this.nav.loading.style.left = this.hourWidth + 5 + "px", this.nav.loading.style.backgroundColor = this.loadingLabelBackColor, this.nav.loading.style.fontSize = this.loadingLabelFontSize, this.nav.loading.style.fontFamily = this.loadingLabelFontFamily, this.nav.loading.style.color = this.loadingLabelFontColor, this.nav.loading.style.padding = "2px", this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.display = "none", this.nav.top.appendChild(this.nav.loading); }, this.L = function () { this.fasterDispose || DayPilot.pu(this.nav.hourTable), this.nav.scrollable.rows[0].cells[0].innerHTML = "", this.nav.hourTable = this.ma(), this.nav.scrollable.rows[0].cells[0].appendChild(this.nav.hourTable); }, this.la = function () { var e = document.createElement("div"); e.style.zoom = 1, e.style.position = "relative"; var t = document.createElement("table"); t.cellSpacing = "0", t.cellPadding = "0", t.border = "0", t.style.border = "0px none", t.style.width = "100%", t.style.position = "absolute"; var i, a = t.insertRow(-1); i = a.insertCell(-1), i.valign = "top", i.style.padding = "0px", i.style.border = "0px none", this.nav.hourTable = this.ma(), i.appendChild(this.nav.hourTable), i = a.insertCell(-1), i.valign = "top", i.width = "100%", i.style.padding = "0px", i.style.border = "0px none"; var n = document.createElement("div"); return n.style.position = "relative", i.appendChild(n), n.appendChild(this.na()), n.appendChild(this.oa()), e.appendChild(t), this.nav.zoom = e, e; }, this.na = function () { var e = document.createElement("table"); return e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.main = e, this.nav.events = e, e; }, this.oa = function () {
1415
+ }, this.Da = function () { this.nav.top.innerHTML = "", DayPilot.Util.addClass(this.nav.top, this.J("_main")), this.nav.top.style.MozUserSelect = "none", this.nav.top.style.KhtmlUserSelect = "none", this.nav.top.style.position = "relative", this.nav.top.style.width = this.width ? this.width : "100%", this.hideUntilInit && (this.nav.top.style.visibility = "hidden"), this.visible || (this.nav.top.style.display = "none"), this.nav.scroll = document.createElement("div"), this.nav.scroll.style.height = this.Ea() + "px", "BusinessHours" === this.heightSpec ? this.nav.scroll.style.overflow = "auto" : this.nav.scroll.style.overflow = "hidden", this.nav.scroll.style.position = "relative"; var e = this.Fa(); this.nav.top.appendChild(e), this.nav.scroll.style.zoom = 1; var t = this.Ga(); this.nav.scrollable = t.firstChild, this.nav.scroll.appendChild(t), this.nav.top.appendChild(this.nav.scroll), this.nav.scrollLayer = document.createElement("div"), this.nav.scrollLayer.style.position = "absolute", this.nav.scrollLayer.style.top = "0px", this.nav.scrollLayer.style.left = "0px", this.nav.top.appendChild(this.nav.scrollLayer), this.nav.loading = document.createElement("div"), this.nav.loading.style.position = "absolute", this.nav.loading.style.top = "0px", this.nav.loading.style.left = this.hourWidth + 5 + "px", this.nav.loading.style.backgroundColor = this.loadingLabelBackColor, this.nav.loading.style.fontSize = this.loadingLabelFontSize, this.nav.loading.style.fontFamily = this.loadingLabelFontFamily, this.nav.loading.style.color = this.loadingLabelFontColor, this.nav.loading.style.padding = "2px", this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.display = "none", this.nav.top.appendChild(this.nav.loading); }, this.fa = function () { this.fasterDispose || DayPilot.pu(this.nav.hourTable), this.nav.scrollable.rows[0].cells[0].innerHTML = "", this.nav.hourTable = this.Ha(), this.nav.scrollable.rows[0].cells[0].appendChild(this.nav.hourTable); }, this.Ga = function () { var e = document.createElement("div"); e.style.zoom = 1, e.style.position = "relative"; var t = document.createElement("table"); t.cellSpacing = "0", t.cellPadding = "0", t.border = "0", t.style.border = "0px none", t.style.width = "100%", t.style.position = "absolute"; var i, a = t.insertRow(-1); i = a.insertCell(-1), i.valign = "top", i.style.padding = "0px", i.style.border = "0px none", this.nav.hourTable = this.Ha(), i.appendChild(this.nav.hourTable), i = a.insertCell(-1), i.valign = "top", i.width = "100%", i.style.padding = "0px", i.style.border = "0px none"; var n = document.createElement("div"); return n.style.position = "relative", i.appendChild(n), n.appendChild(this.Ia()), n.appendChild(this.Ja()), e.appendChild(t), this.nav.zoom = e, e; }, this.Ia = function () { var e = document.createElement("table"); return e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.main = e, this.nav.events = e, e; }, this.Ja = function () {
1303
1416
  var e = document.createElement("table");
1304
1417
  e.style.top = "0px", e.cellPadding = "0", e.cellSpacing = "0", e.border = "0", e.style.position = "absolute", e.style.width = "100%", e.style.border = "0px none", e.style.tableLayout = "fixed", this.nav.events = e;
1305
- for (var t = this.Y, i = t.length, a = e.insertRow(-1), o = 0; o < i; o++) {
1418
+ for (var t = this.sa, i = t.length, a = e.insertRow(-1), o = 0; o < i; o++) {
1306
1419
  var r = a.insertCell(-1);
1307
1420
  r.style.padding = "0px", r.style.border = "0px none", r.style.height = "0px", r.style.overflow = "visible", n.rtl || (r.style.textAlign = "left");
1308
1421
  var s = document.createElement("div");
@@ -1311,49 +1424,49 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1311
1424
  r.selection = l, r.appendChild(s), r.appendChild(l);
1312
1425
  }
1313
1426
  return e;
1314
- }, this.ma = function () {
1427
+ }, this.Ha = function () {
1315
1428
  var e = document.createElement("table");
1316
1429
  e.cellSpacing = "0", e.cellPadding = "0", e.border = "0", e.style.border = "0px none", e.style.width = this.hourWidth + "px", e.oncontextmenu = function () { return !1; };
1317
- for (var t = n.O(), i = 0; i < t; i++)
1318
- this.pa(e, i);
1430
+ for (var t = n.ia(), i = 0; i < t; i++)
1431
+ this.Ka(e, i);
1319
1432
  return e;
1320
- }, this.pa = function (e, t) { var i = 2 * this.cellHeight, a = e.insertRow(-1); a.style.height = i + "px"; var r = a.insertCell(-1); r.valign = "bottom", r.unselectable = "on", r.style.cursor = "default", r.style.padding = "0px", r.style.border = "0px none"; var s = document.createElement("div"); s.style.position = "relative", s.className = this.i("_rowheader"), s.style.width = this.hourWidth + "px", s.style.height = i + "px", s.style.overflow = "hidden", s.unselectable = "on"; var l = document.createElement("div"); l.className = this.i("_rowheader_inner"), l.unselectable = "on"; var d = document.createElement("div"); d.unselectable = "on"; var c = this.startDate.addHours(t).addHours(n.S()), u = c.getHours(), h = u < 12, f = o.timeFormat(); "Clock12Hours" === f && (u %= 12, 0 === u && (u = 12)), d.innerHTML = u; var m = document.createElement("span"); m.unselectable = "on", m.className = this.i("_rowheader_minutes"); var p; p = "Clock12Hours" === f ? h ? "AM" : "PM" : "00", m.innerHTML = p, d.appendChild(m), l.appendChild(d), s.appendChild(l), r.appendChild(s); }, this.ja = function () {
1433
+ }, this.Ka = function (e, t) { var i = 2 * this.cellHeight, a = e.insertRow(-1); a.style.height = i + "px"; var r = a.insertCell(-1); r.valign = "bottom", r.unselectable = "on", r.style.cursor = "default", r.style.padding = "0px", r.style.border = "0px none"; var s = document.createElement("div"); s.style.position = "relative", s.className = this.J("_rowheader"), s.style.width = this.hourWidth + "px", s.style.height = i + "px", s.style.overflow = "hidden", s.unselectable = "on"; var l = document.createElement("div"); l.className = this.J("_rowheader_inner"), l.unselectable = "on"; var d = document.createElement("div"); d.unselectable = "on"; var c = this.startDate.addHours(t).addHours(n.ma()), u = c.getHours(), h = u < 12, f = o.timeFormat(); "Clock12Hours" === f && (u %= 12, 0 === u && (u = 12)), d.innerHTML = u; var m = document.createElement("span"); m.unselectable = "on", m.className = this.J("_rowheader_minutes"); var p; p = "Clock12Hours" === f ? h ? "AM" : "PM" : "00", m.innerHTML = p, d.appendChild(m), l.appendChild(d), s.appendChild(l), r.appendChild(s); }, this.Ea = function () {
1321
1434
  switch (this.heightSpec) {
1322
1435
  case "Full": return 48 * this.cellHeight;
1323
1436
  case "BusinessHours":
1324
- var e = this.Q();
1437
+ var e = this.ka();
1325
1438
  return e * this.cellHeight * 2;
1326
1439
  case "BusinessHoursNoScroll":
1327
- var e = this.Q();
1440
+ var e = this.ka();
1328
1441
  return e * this.cellHeight * 2;
1329
1442
  default: throw "DayPilot.Calendar: Unexpected 'heightSpec' value.";
1330
1443
  }
1331
- }, this.qa = function () {
1444
+ }, this.La = function () {
1332
1445
  var e = n.nav.corner ? n.nav.corner.parentNode : null;
1333
1446
  if (e) {
1334
1447
  e.innerHTML = "";
1335
- var t = this.ra();
1448
+ var t = this.Ma();
1336
1449
  e.appendChild(t), n.nav.corner = t;
1337
1450
  }
1338
- }, this.ka = function () {
1451
+ }, this.Fa = function () {
1339
1452
  var e = document.createElement("div");
1340
1453
  e.style.overflow = "auto";
1341
1454
  var t = document.createElement("table");
1342
1455
  t.cellPadding = "0", t.cellSpacing = "0", t.border = "0", t.style.width = "100%", t.style.borderCollapse = "separate", t.style.border = "0px none";
1343
1456
  var i = t.insertRow(-1), a = i.insertCell(-1);
1344
1457
  a.style.padding = "0px", a.style.border = "0px none";
1345
- var n = this.ra();
1458
+ var n = this.Ma();
1346
1459
  a.appendChild(n), this.nav.corner = n, a = i.insertCell(-1), a.style.width = "100%", a.valign = "top", a.style.position = "relative", a.style.padding = "0px", a.style.border = "0px none", this.nav.header = document.createElement("table"), this.nav.header.cellPadding = "0", this.nav.header.cellSpacing = "0", this.nav.header.border = "0", this.nav.header.width = "100%", this.nav.header.style.tableLayout = "fixed", this.nav.header.oncontextmenu = function () { return !1; };
1347
1460
  var o = "hidden" !== this.nav.scroll.style.overflow;
1348
1461
  if (a.appendChild(this.nav.header), o) {
1349
1462
  a = i.insertCell(-1), a.unselectable = "on";
1350
1463
  var r = document.createElement("div");
1351
- r.unselectable = "on", r.style.position = "relative", r.style.width = "16px", r.style.height = this.headerHeight + "px", r.className = this.i("_cornerright");
1464
+ r.unselectable = "on", r.style.position = "relative", r.style.width = "16px", r.style.height = this.headerHeight + "px", r.className = this.J("_cornerright");
1352
1465
  var s = document.createElement("div");
1353
- s.className = this.i("_cornerright_inner"), r.appendChild(s), a.appendChild(r), this.nav.cornerRight = r;
1466
+ s.className = this.J("_cornerright_inner"), r.appendChild(s), a.appendChild(r), this.nav.cornerRight = r;
1354
1467
  }
1355
1468
  return e.appendChild(t), e;
1356
- }, this.ra = function () { var e = document.createElement("div"); e.style.position = "relative", e.className = this.i("_corner"), e.style.width = this.hourWidth + "px", e.style.height = this.headerHeight + "px", e.oncontextmenu = function () { return !1; }; var t = document.createElement("div"); return t.unselectable = "on", t.className = this.i("_corner_inner"), e.appendChild(t), e; }, this.z = function () {
1469
+ }, this.Ma = function () { var e = document.createElement("div"); e.style.position = "relative", e.className = this.J("_corner"), e.style.width = this.hourWidth + "px", e.style.height = this.headerHeight + "px", e.oncontextmenu = function () { return !1; }; var t = document.createElement("div"); return t.unselectable = "on", t.className = this.J("_corner_inner"), e.appendChild(t), e; }, this.V = function () {
1357
1470
  var e = this.nav.main;
1358
1471
  e.root = null, e.onmouseup = null;
1359
1472
  for (var t = 0; t < e.rows.length; t++)
@@ -1362,9 +1475,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1362
1475
  n.root = null, n.onmousedown = null, n.onmousemove = null, n.onmouseout = null, n.onmouseup = null;
1363
1476
  }
1364
1477
  this.fasterDispose || DayPilot.pu(e);
1365
- }, this.K = function () {
1366
- var e = this.nav.main, i = 18e5, a = this.R(), o = n.Y;
1367
- for (e && this.z(); e && e.rows && e.rows.length > 0;)
1478
+ }, this.ea = function () {
1479
+ var e = this.nav.main, i = 18e5, a = this.la(), o = n.sa;
1480
+ for (e && this.V(); e && e.rows && e.rows.length > 0;)
1368
1481
  this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
1369
1482
  this.tableCreated = !0;
1370
1483
  for (var r = o.length, s = this.nav.events; s && s.rows && s.rows.length > 0;)
@@ -1381,13 +1494,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1381
1494
  var l = e.insertRow(-1);
1382
1495
  l.style.MozUserSelect = "none", l.style.KhtmlUserSelect = "none";
1383
1496
  for (var d = 0; d < r; d++) {
1384
- var m = this.Y[d], c = l.insertCell(-1);
1385
- c.start = m.start.addTime(f * i), c.end = c.start.addTime(i), c.resource = m.id, c.onmousedown = this.Z, c.onmouseup = function () { return !1; }, c.onclick = function () { return !1; }, c.root = this, c.style.padding = "0px", c.style.border = "0px none", c.style.verticalAlign = "top", c.style.height = n.cellHeight + "px", c.style.overflow = "hidden", c.unselectable = "on";
1497
+ var m = this.sa[d], c = l.insertCell(-1);
1498
+ c.start = m.start.addTime(f * i), c.end = c.start.addTime(i), c.resource = m.id, c.onmousedown = this.ta, c.onmouseup = function () { return !1; }, c.onclick = function () { return !1; }, c.root = this, c.style.padding = "0px", c.style.border = "0px none", c.style.verticalAlign = "top", c.style.height = n.cellHeight + "px", c.style.overflow = "hidden", c.unselectable = "on";
1386
1499
  var u = document.createElement("div");
1387
- u.unselectable = "on", u.style.height = n.cellHeight + "px", u.style.position = "relative", u.className = this.i("_cell");
1388
- this.sa(c.start, c.end) && DayPilot.Util.addClass(u, n.i("_cell_business"));
1500
+ u.unselectable = "on", u.style.height = n.cellHeight + "px", u.style.position = "relative", u.className = this.J("_cell");
1501
+ this.Na(c.start, c.end) && DayPilot.Util.addClass(u, n.J("_cell_business"));
1389
1502
  var p = document.createElement("div");
1390
- p.setAttribute("unselectable", "on"), p.className = this.i("_cell_inner"), u.appendChild(p), c.appendChild(u), c.appendChild(u);
1503
+ p.setAttribute("unselectable", "on"), p.className = this.J("_cell_inner"), u.appendChild(p), c.appendChild(u), c.appendChild(u);
1391
1504
  }
1392
1505
  }
1393
1506
  e.root = this, n.nav.scrollable.onmousemove = function (e) {
@@ -1395,7 +1508,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1395
1508
  n.coords = DayPilot.mo3(i, e);
1396
1509
  var a = DayPilot.mc(e);
1397
1510
  if (t.resizing) {
1398
- t.resizingShadow || (t.resizingShadow = n.C(t.resizing, !1, n.shadow));
1511
+ t.resizingShadow || (t.resizingShadow = n.Y(t.resizing, !1, n.shadow));
1399
1512
  var o = n.cellHeight, r = 1, s = a.y - t.originalMouse.y;
1400
1513
  if ("bottom" === t.resizing.dpBorder) {
1401
1514
  var l = Math.floor((t.originalHeight + t.originalTop + s + o / 2) / o) * o - t.originalTop + r;
@@ -1411,23 +1524,23 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1411
1524
  }
1412
1525
  }
1413
1526
  else if (t.moving) {
1414
- if (t.movingShadow || (t.movingShadow = n.C(t.moving, !n.n, n.shadow), t.movingShadow.style.width = t.movingShadow.parentNode.offsetWidth + 1 + "px"), !n.coords)
1527
+ if (t.movingShadow || (t.movingShadow = n.Y(t.moving, !n.O, n.shadow), t.movingShadow.style.width = t.movingShadow.parentNode.offsetWidth + 1 + "px"), !n.coords)
1415
1528
  return;
1416
1529
  var o = n.cellHeight, r = 1, u = t.moveOffsetY;
1417
1530
  u || (u = o / 2);
1418
1531
  var c = Math.floor((n.coords.y - u - r + o / 2) / o) * o + r;
1419
1532
  c < r && (c = r);
1420
1533
  var h = n.nav.events, d = n.nav.main.clientHeight, f = parseInt(t.movingShadow.style.height);
1421
- c + f > d && (c = d - f), DayPilot.Util.addClass(t.moving, n.i("_event_moving_source")), t.movingShadow.parentNode.style.display = "none", t.movingShadow.style.top = c + "px", t.movingShadow.parentNode.style.display = "";
1534
+ c + f > d && (c = d - f), DayPilot.Util.addClass(t.moving, n.J("_event_moving_source")), t.movingShadow.parentNode.style.display = "none", t.movingShadow.style.top = c + "px", t.movingShadow.parentNode.style.display = "";
1422
1535
  var m = h.clientWidth / h.rows[0].cells.length, p = Math.floor((n.coords.x - 45) / m);
1423
1536
  p < 0 && (p = 0), p < h.rows[0].cells.length && p >= 0 && t.movingShadow.column !== p && (t.movingShadow.column = p, t.moveShadow(h.rows[0].cells[p]));
1424
1537
  }
1425
1538
  else if (t.selecting) {
1426
- var a = DayPilot.mc(e), v = n.ca.getCellCoords(), y = t.column, g = n.nav.main.rows[v.y].cells[y];
1427
- a.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(g), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(g), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), n._();
1539
+ var a = DayPilot.mc(e), v = n.xa.getCellCoords(), y = t.column, g = n.nav.main.rows[v.y].cells[y];
1540
+ a.y < t.firstMousePos.y ? (t.selectedCells = t.getCellsBelow(g), t.topSelectedCell = t.selectedCells[0], t.bottomSelectedCell = t.firstSelected) : (t.selectedCells = t.getCellsAbove(g), t.topSelectedCell = t.firstSelected, t.bottomSelectedCell = t.selectedCells[0]), n.ua();
1428
1541
  }
1429
1542
  }, n.nav.scrollable.style.display = "";
1430
- }, this.sa = function (e, t) { return this.businessBeginsHour < this.businessEndsHour ? !(e.getHours() < this.businessBeginsHour || e.getHours() >= this.businessEndsHour || 6 === e.getDayOfWeek() || 0 === e.getDayOfWeek()) : e.getHours() >= this.businessBeginsHour || e.getHours() < this.businessEndsHour; }, this.A = function () {
1543
+ }, this.Na = function (e, t) { return this.businessBeginsHour < this.businessEndsHour ? !(e.getHours() < this.businessBeginsHour || e.getHours() >= this.businessEndsHour || 6 === e.getDayOfWeek() || 0 === e.getDayOfWeek()) : e.getHours() >= this.businessBeginsHour || e.getHours() < this.businessEndsHour; }, this.W = function () {
1431
1544
  var e = this.nav.header;
1432
1545
  if (e && e.rows)
1433
1546
  for (var t = 0; t < e.rows.length; t++)
@@ -1436,32 +1549,32 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1436
1549
  n.onclick = null, n.onmousemove = null, n.onmouseout = null;
1437
1550
  }
1438
1551
  this.fasterDispose || DayPilot.pu(e);
1439
- }, this.ta = function (e) {
1440
- for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.Y, a = i.length, o = 0; o < a; o++) {
1552
+ }, this.Oa = function (e) {
1553
+ for (var t = e ? this.nav.header.insertRow(-1) : this.nav.header.rows[0], i = this.sa, a = i.length, o = 0; o < a; o++) {
1441
1554
  var r = i[o], s = e ? t.insertCell(-1) : t.cells[o];
1442
- s.data = r, s.style.overflow = "hidden", s.style.padding = "0px", s.style.border = "0px none", s.style.height = this.headerHeight + "px", s.onclick = n.ua;
1555
+ s.data = r, s.style.overflow = "hidden", s.style.padding = "0px", s.style.border = "0px none", s.style.height = this.headerHeight + "px", s.onclick = n.Pa;
1443
1556
  var l = e ? document.createElement("div") : s.firstChild;
1444
1557
  if (e) {
1445
- l.unselectable = "on", l.style.MozUserSelect = "none", l.style.cursor = "default", l.style.position = "relative", l.className = n.i("_colheader"), l.style.height = this.headerHeight + "px", n.headerTextWrappingEnabled || (l.style.whiteSpace = "nowrap");
1558
+ l.unselectable = "on", l.style.MozUserSelect = "none", l.style.cursor = "default", l.style.position = "relative", l.className = n.J("_colheader"), l.style.height = this.headerHeight + "px", n.headerTextWrappingEnabled || (l.style.whiteSpace = "nowrap");
1446
1559
  var d = document.createElement("div");
1447
- d.className = n.i("_colheader_inner"), d.unselectable = "on", l.appendChild(d), s.appendChild(l);
1560
+ d.className = n.J("_colheader_inner"), d.unselectable = "on", l.appendChild(d), s.appendChild(l);
1448
1561
  }
1449
1562
  r.toolTip && (d.title = r.toolTip);
1450
1563
  var d = l.firstChild;
1451
- d.innerHTML = n.va(r.name, r.html);
1564
+ d.innerHTML = n.Qa(r.name, r.html);
1452
1565
  }
1453
- }, this.ua = function (e) {
1566
+ }, this.Pa = function (e) {
1454
1567
  if ("Disabled" !== n.headerClickHandling) {
1455
- var t = this.data, i = n.wa(t), a = {};
1568
+ var t = this.data, i = n.Ra(t), a = {};
1456
1569
  a.header = {}, a.header.id = t.id, a.header.name = t.name, a.header.start = t.start, a.column = i, a.originalEvent = e, a.shift = e.shiftKey, a.ctrl = e.ctrlKey, a.meta = e.metaKey, a.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof n.onHeaderClick && (n.onHeaderClick(a), a.preventDefault.value) || "function" == typeof n.onHeaderClicked && n.onHeaderClicked(a);
1457
1570
  }
1458
- }, this.wa = function (e) { return new DayPilot.CalendarColumn(e, n); }, this.xa = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.J = function () {
1459
- var e = this.nav.header, t = !0, i = this.Y;
1571
+ }, this.Ra = function (e) { return new DayPilot.CalendarColumn(e, n); }, this.Sa = function () { return this.width && this.width.indexOf("px") !== -1 ? "Pixel" : "Percentage"; }, this.da = function () {
1572
+ var e = this.nav.header, t = !0, i = this.sa;
1460
1573
  for (i.length; this.headerCreated && e && e.rows && e.rows.length > 0;)
1461
1574
  this.fasterDispose || DayPilot.pu(e.rows[0]), e.deleteRow(0);
1462
1575
  this.headerCreated = !0;
1463
- this.ta(t);
1464
- }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.q("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.ya = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { n.za(); }); var t = "undefined" != typeof this.Aa.scrollpos ? this.Aa.scrollpos : this.initScrollPos; t && ("Auto" === t && (t = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), e.root = this, 0 === e.scrollTop && (e.scrollTop = t)); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.Ba = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.Ca = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp), DayPilot.re(window, "unload", t.gUnload)); }, this.events = {}, this.events.add = function (e) {
1576
+ this.Oa(t);
1577
+ }, this.loadingStart = function () { this.loadingLabelVisible && (this.nav.loading.innerHTML = this.loadingLabelText, this.nav.loading.style.top = this.headerHeight + 5 + "px", this.nav.loading.style.display = ""); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.R("Command", t, i); }, this.loadingStop = function (e) { this.callbackTimeout && window.clearTimeout(this.callbackTimeout), this.nav.loading.style.display = "none"; }, this.Ta = function () { var e = this.nav.scroll; e.onscroll || (e.onscroll = function () { n.Ua(); }); var t = "undefined" != typeof this.Va.scrollpos ? this.Va.scrollpos : this.initScrollPos; t && ("Auto" === t && (t = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), e.root = this, 0 === e.scrollTop && (e.scrollTop = t)); }, this.callbackError = function (e, t) { alert("Error!\r\nResult: " + e + "\r\nContext:" + t); }, this.Wa = function () { var e = DayPilot.sw(this.nav.scroll), t = this.nav.cornerRight; t && (t.style.width = e + "px"); }, this.Xa = function () { t.globalHandlers || (t.globalHandlers = !0, DayPilot.re(document, "mouseup", t.gMouseUp), DayPilot.re(window, "unload", t.gUnload)); }, this.events = {}, this.events.add = function (e) {
1465
1578
  var t = null;
1466
1579
  if (e instanceof DayPilot.Event)
1467
1580
  t = e.data;
@@ -1470,7 +1583,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1470
1583
  throw "DayPilot.Calendar.events.add() expects an object or DayPilot.Event instance.";
1471
1584
  t = e;
1472
1585
  }
1473
- n.events.list || (n.events.list = []), n.events.list.push(t), n.update(), n.V.notify();
1586
+ n.events.list || (n.events.list = []), n.events.list.push(t), n.update(), n.pa.notify();
1474
1587
  }, this.events.find = function (e) {
1475
1588
  if (!n.events.list)
1476
1589
  return null;
@@ -1490,7 +1603,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1490
1603
  n.events.list.splice(i, 1, e);
1491
1604
  }
1492
1605
  }
1493
- n.update(), n.V.notify();
1606
+ n.update(), n.pa.notify();
1494
1607
  }, this.events.remove = function (e) {
1495
1608
  var t;
1496
1609
  if (e instanceof DayPilot.Event)
@@ -1504,7 +1617,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1504
1617
  i && (t = i.data);
1505
1618
  }
1506
1619
  var a = DayPilot.indexOf(n.events.list, t);
1507
- n.events.list.splice(a, 1), n.update(), n.V.notify();
1620
+ n.events.list.splice(a, 1), n.update(), n.pa.notify();
1508
1621
  }, this.events.load = function (e, t, i) {
1509
1622
  var a = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, o = function (e) {
1510
1623
  var i, o = e.request;
@@ -1519,7 +1632,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1519
1632
  var s = {};
1520
1633
  if (s.preventDefault = function () { this.preventDefault.value = !0; }, s.data = i, "function" == typeof t && t(s), s.preventDefault.value)
1521
1634
  return;
1522
- n.events.list = i, n.da && n.update();
1635
+ n.events.list = i, n.ya && n.update();
1523
1636
  }
1524
1637
  };
1525
1638
  if (n.eventsLoadMethod && "POST" === n.eventsLoadMethod.toUpperCase())
@@ -1528,23 +1641,23 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1528
1641
  var r = e, s = "start=" + n.visibleStart().toString() + "&end=" + n.visibleEnd().toString();
1529
1642
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": a });
1530
1643
  }
1531
- }, this.Da = function () {
1532
- if (n.nav.top.className !== n.i("_main")) {
1533
- n.nav.top.className = n.i("_main");
1644
+ }, this.Ya = function () {
1645
+ if (n.nav.top.className !== n.J("_main")) {
1646
+ n.nav.top.className = n.J("_main");
1534
1647
  var e = n.nav.corner;
1535
- e.className = n.i("_corner"), e.firstChild.className = n.i("_corner_inner");
1648
+ e.className = n.J("_corner"), e.firstChild.className = n.J("_corner_inner");
1536
1649
  var t = n.nav.cornerRight;
1537
- t && (t.className = n.i("_cornerright"), t.firstChild.className = n.i("_cornerright_inner"));
1650
+ t && (t.className = n.J("_cornerright"), t.firstChild.className = n.J("_cornerright_inner"));
1538
1651
  }
1539
1652
  }, this.update = function (e) {
1540
- if (n.Ea(e), this.da) {
1541
- n.Fa(), n.u(), n.nav.top.style.cursor = "auto";
1542
- n.G(), n.J(), n.K(), n.L(), n.M(), n.qa(), n.Da(), n.Ga(), n.H(), n.I(), n.F(), n.N(), n.clearSelection(), this.visible ? this.show() : this.hide();
1653
+ if (n.Za(e), this.ya) {
1654
+ n.$a(), n.U(), n.nav.top.style.cursor = "auto";
1655
+ n.aa(), n.da(), n.ea(), n.fa(), n.ga(), n.La(), n.Ya(), n._a(), n.ba(), n.ca(), n.s(), n.ha(), n.clearSelection(), this.visible ? this.show() : this.hide();
1543
1656
  }
1544
- }, this.Ha = null, this.Ea = function (e) {
1657
+ }, this.ab = null, this.Za = function (e) {
1545
1658
  if (e) {
1546
1659
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? n.events.list = e.list : n.events.list = e; } }, "columns": { "preInit": function () { n.columns.list = this.data; } } };
1547
- this.Ha = t;
1660
+ this.ab = t;
1548
1661
  for (var i in e)
1549
1662
  if (t[i]) {
1550
1663
  var a = t[i];
@@ -1553,13 +1666,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1553
1666
  else
1554
1667
  n[i] = e[i];
1555
1668
  }
1556
- }, this.Ia = function () {
1557
- var e = this.Ha;
1669
+ }, this.bb = function () {
1670
+ var e = this.ab;
1558
1671
  for (var t in e) {
1559
1672
  var i = e[t];
1560
1673
  i.postInit && i.postInit();
1561
1674
  }
1562
- }, this.Ja = function () {
1675
+ }, this.cb = function () {
1563
1676
  if (this.id && this.id.tagName)
1564
1677
  this.nav.top = this.id;
1565
1678
  else {
@@ -1568,8 +1681,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1568
1681
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
1569
1682
  throw "DayPilot.Calendar: The placeholder element not found: '" + e + "'.";
1570
1683
  }
1571
- }, this.Ka = {}, this.Ka.events = [], this.La = function (e) {
1572
- var t = this.Ka.events, i = this.events.list[e], a = {};
1684
+ }, this.db = {}, this.db.events = [], this.eb = function (e) {
1685
+ var t = this.db.events, i = this.events.list[e], a = {};
1573
1686
  for (var n in i)
1574
1687
  a[n] = i[n];
1575
1688
  if ("function" == typeof this.onBeforeEventRender) {
@@ -1577,9 +1690,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1577
1690
  o.data = a, this.onBeforeEventRender(o);
1578
1691
  }
1579
1692
  t[e] = a;
1580
- }, this.H = function () {
1693
+ }, this.ba = function () {
1581
1694
  var e = this.events.list;
1582
- if (n.Ka.events = [], e) {
1695
+ if (n.db.events = [], e) {
1583
1696
  if (!DayPilot.isArray(e))
1584
1697
  throw new DayPilot.Exception("DayPilot.Calendar.events.list expects an array object. You supplied: " + typeof e);
1585
1698
  var t = e.length, i = 864e5;
@@ -1600,19 +1713,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1600
1713
  }
1601
1714
  if ("function" == typeof this.onBeforeEventRender)
1602
1715
  for (var o = 0; o < t; o++)
1603
- this.La(o);
1604
- for (var o = 0; o < this.Y.length; o++) {
1716
+ this.eb(o);
1717
+ for (var o = 0; o < this.sa.length; o++) {
1605
1718
  var l = {};
1606
1719
  l.minEnd = 1e6, l.maxStart = -1, this.scrollLabels.push(l);
1607
- var d = this.Y[o];
1720
+ var d = this.sa[o];
1608
1721
  d.events = [], d.lines = [], d.blocks = [];
1609
1722
  for (var c = new DayPilot.Date(d.start), u = c.getTime(), h = c.addTime(i), f = h.getTime(), m = 0; m < t; m++)
1610
1723
  if (!a[m]) {
1611
1724
  var r = e[m], p = r.start, v = r.end, y = p.getTime(), g = v.getTime();
1612
1725
  if (!(g < y)) {
1613
1726
  var b = !(g <= u || y >= f);
1614
- if ("Resources" === n.viewType && (b = b && d.id === r.resource),
1615
- b) {
1727
+ if ("Resources" === n.viewType && (b = b && d.id === r.resource), b) {
1616
1728
  var D = new DayPilot.Event(r, n);
1617
1729
  D.part.dayIndex = o, D.part.start = u < y ? r.start : c, D.part.end = f > g ? r.end : h;
1618
1730
  var x = this.getPixels(D.part.start, d.start), w = this.getPixels(D.part.end, d.start), C = x.top, P = w.top;
@@ -1621,21 +1733,21 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1621
1733
  var _ = w.boxBottom;
1622
1734
  D.part.top = Math.floor(C / this.cellHeight) * this.cellHeight + 1, D.part.height = Math.max(Math.ceil(_ / this.cellHeight) * this.cellHeight - D.part.top, this.cellHeight - 1) + 1, D.part.barTop = Math.max(C - D.part.top - 1, 0), D.part.barHeight = Math.max(P - C - 2, 1);
1623
1735
  var p = D.part.top, v = D.part.top + D.part.height;
1624
- p > l.maxStart && (l.maxStart = p), v < l.minEnd && (l.minEnd = v), p < this.minStart && (this.minStart = p), v > this.maxEnd && (this.maxEnd = v), d.events.push(D), "function" == typeof this.onBeforeEventRender && (D.cache = this.Ka.events[m]), D.part.start.getTime() === y && D.part.end.getTime() === g && (a[m] = !0);
1736
+ p > l.maxStart && (l.maxStart = p), v < l.minEnd && (l.minEnd = v), p < this.minStart && (this.minStart = p), v > this.maxEnd && (this.maxEnd = v), d.events.push(D), "function" == typeof this.onBeforeEventRender && (D.cache = this.db.events[m]), D.part.start.getTime() === y && D.part.end.getTime() === g && (a[m] = !0);
1625
1737
  }
1626
1738
  }
1627
1739
  }
1628
1740
  }
1629
- for (var o = 0; o < this.Y.length; o++) {
1630
- var d = this.Y[o];
1631
- d.events.sort(this.Ma);
1741
+ for (var o = 0; o < this.sa.length; o++) {
1742
+ var d = this.sa[o];
1743
+ d.events.sort(this.fb);
1632
1744
  for (var m = 0; m < d.events.length; m++) {
1633
1745
  var r = d.events[m];
1634
1746
  d.putIntoBlock(r);
1635
1747
  }
1636
1748
  for (var m = 0; m < d.blocks.length; m++) {
1637
1749
  var k = d.blocks[m];
1638
- k.events.sort(this.Ma);
1750
+ k.events.sort(this.fb);
1639
1751
  for (var S = 0; S < k.events.length; S++) {
1640
1752
  var r = k.events[S];
1641
1753
  k.putIntoLine(r);
@@ -1643,7 +1755,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1643
1755
  }
1644
1756
  }
1645
1757
  }
1646
- }, this.Ma = function (e, t) {
1758
+ }, this.fb = function (e, t) {
1647
1759
  if (!(e && t && e.start && t.start))
1648
1760
  return 0;
1649
1761
  var i = e.start().getTime() - t.start().getTime();
@@ -1657,30 +1769,30 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1657
1769
  var o = 18e5, r = a - i, s = r % o, l = r - s, d = l + o;
1658
1770
  0 === s && (d = l);
1659
1771
  var c = {};
1660
- return c.cut = !1, c.top = this.Na(r), c.boxTop = this.Na(l), c.boxBottom = this.Na(d), this.cache.pixels[a + "_" + i] = c, c;
1661
- }, this.Na = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.Fa = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.I = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.M = function () { var e = this.ja(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.V = {}, this.V.scope = null, this.V.notify = function () { n.V.scope && n.V.scope["$apply"](); }, this.V.apply = function (e) { e(); }, this.za = function () {
1772
+ return c.cut = !1, c.top = this.gb(r), c.boxTop = this.gb(l), c.boxBottom = this.gb(d), this.cache.pixels[a + "_" + i] = c, c;
1773
+ }, this.gb = function (e) { return Math.floor(this.cellHeight * e / 18e5); }, this.$a = function () { this.startDate = new DayPilot.Date(this.startDate).getDatePart(); }, this.ca = function () { this.nav.corner && (this.nav.corner.style.height = this.headerHeight + "px"); }, this.ga = function () { var e = this.Ea(); this.nav.scroll && e > 0 && (this.nav.scroll.style.height = e + "px"); }, this.pa = {}, this.pa.scope = null, this.pa.notify = function () { n.pa.scope && n.pa.scope["$apply"](); }, this.pa.apply = function (e) { e(); }, this.Ua = function () {
1662
1774
  if (n.nav.scroll) {
1663
1775
  var e = n.nav.scroll.scrollTop, t = e / (2 * n.cellHeight);
1664
- n.Aa.scrollHour = t;
1776
+ n.Va.scrollHour = t;
1665
1777
  }
1666
- }, this.Ga = function () { var e = 0; n.Aa.scrollHour ? e = 2 * n.cellHeight * n.Aa.scrollHour : "Auto" === n.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), n.nav.scroll.scrollTop = e; }, this.Oa = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.F = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { n.visible = !0, n.nav.top.style.display = ""; }, this.hide = function () { n.visible = !1, n.nav.top.style.display = "none"; }, this.Pa = function () { this.Fa(), this.G(), this.ia(), this.J(), this.K(), this.Ba(), this.ya(), this.Ca(), t.register(this), this.Qa(), this.q("Init"); }, this.Aa = {}, this.Ra = function () { this.Aa.themes = [], this.Aa.themes.push(this.theme || this.cssClassPrefix); }, this.Sa = function () {
1667
- for (var e = this.Aa.themes, t = 0; t < e.length; t++) {
1778
+ }, this._a = function () { var e = 0; n.Va.scrollHour ? e = 2 * n.cellHeight * n.Va.scrollHour : "Auto" === n.initScrollPos && (e = "BusinessHours" === this.heightSpec ? 2 * this.cellHeight * this.businessBeginsHour : 0), n.nav.scroll.scrollTop = e; }, this.hb = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof n.events.list || !n.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { n.visible = !0, n.nav.top.style.display = ""; }, this.hide = function () { n.visible = !1, n.nav.top.style.display = "none"; }, this.ib = function () { this.$a(), this.aa(), this.Da(), this.da(), this.ea(), this.Wa(), this.Ta(), this.Xa(), t.register(this), this.jb(), this.R("Init"); }, this.Va = {}, this.kb = function () { this.Va.themes = [], this.Va.themes.push(this.theme || this.cssClassPrefix); }, this.lb = function () {
1779
+ for (var e = this.Va.themes, t = 0; t < e.length; t++) {
1668
1780
  var i = e[t];
1669
1781
  DayPilot.Util.removeClass(this.nav.top, i + "_main");
1670
1782
  }
1671
- this.Aa.themes = [];
1672
- }, this.Ta = function () {
1783
+ this.Va.themes = [];
1784
+ }, this.mb = function () {
1673
1785
  if (this.afterRender(null, !1), "function" == typeof this.onAfterRender) {
1674
1786
  var e = {};
1675
1787
  e.isCallBack = !1, this.onAfterRender(e);
1676
1788
  }
1677
- }, this.Ua = function () {
1678
- if ("function" == typeof this.onInit && !this.Va) {
1679
- this.Va = !0;
1789
+ }, this.nb = function () {
1790
+ if ("function" == typeof this.onInit && !this.ob) {
1791
+ this.ob = !0;
1680
1792
  var e = {};
1681
1793
  this.onInit(e);
1682
1794
  }
1683
- }, this.Wa = function () { var e = n.nav.top; return e.offsetWidth > 0 && e.offsetHeight > 0; }, this.Qa = function () { var e = n.Wa; e() || (n.Xa = setInterval(function () { e() && (n.ya(), n.Ba(), clearInterval(n.Xa)); }, 100)); }, this.va = function (e, t) { return n.D.E() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = n.Ea, this.internal.xssTextHtml = n.va, this.init = function () { this.Ja(); var e = this.Oa(); return this.Ra(), e ? void this.Pa() : (this.Fa(), this.G(), this.H(), this.ia(), this.J(), this.K(), this.F(), this.Ba(), this.ya(), this.Ca(), t.register(this), this.events && (this.I(), this.N()), this.Ta(), this.Ua(), this.Qa(), this.da = !0, this); }, this.Init = this.init, this.Ea(i);
1795
+ }, this.pb = function () { var e = n.nav.top; return e.offsetWidth > 0 && e.offsetHeight > 0; }, this.jb = function () { var e = n.pb; e() || (n.qb = setInterval(function () { e() && (n.Ta(), n.Wa(), clearInterval(n.qb)); }, 100)); }, this.Qa = function (e, t) { return n.Z._() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = n.Za, this.internal.xssTextHtml = n.Qa, this.init = function () { this.cb(); var e = this.hb(); return this.kb(), e ? void this.ib() : (this.$a(), this.aa(), this.ba(), this.Da(), this.da(), this.ea(), this.s(), this.Wa(), this.Ta(), this.Xa(), t.register(this), this.events && (this.ca(), this.ha()), this.mb(), this.nb(), this.jb(), this.ya = !0, this); }, this.Init = this.init, this.Za(i);
1684
1796
  }, DayPilot.CalendarColumn = function (e, t) { var i = this; i.id = e.id, i.name = e.name, i.data = e.data, i.start = new DayPilot.Date(e.start), i.calendar = t, i.toJSON = function () { var e = {}; return e.id = this.id, this.start && (e.start = this.start.toString()), e.name = this.name, e; }; }, DayPilot.Calendar = t.Calendar, "undefined" != typeof jQuery && !function (e) {
1685
1797
  e.fn.daypilotCalendar = function (e) {
1686
1798
  var t = null, i = this.each(function () {
@@ -1699,7 +1811,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1699
1811
  e && e.directive("daypilotCalendar", ["$parse", function (e) {
1700
1812
  return { "restrict": "E", "template": "<div></div>", "replace": !0, "link": function (t, i, a) {
1701
1813
  var n = new DayPilot.Calendar(i[0]);
1702
- n.V.scope = t, n.init();
1814
+ n.pa.scope = t, n.init();
1703
1815
  var o = a["id"];
1704
1816
  o && (t[o] = n);
1705
1817
  var r = a["publishAs"];
@@ -1712,7 +1824,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1712
1824
  l.call(t, d, function (e) {
1713
1825
  for (var t in e)
1714
1826
  n[t] = e[t];
1715
- n.update(), n.Ua();
1827
+ n.update(), n.nb();
1716
1828
  }, !0), l.call(t, c, function (e) { n.events.list = e, n.update(); }, !0);
1717
1829
  } };
1718
1830
  }]);
@@ -1722,14 +1834,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
1722
1834
  var DayPilot = {};
1723
1835
  if (function () {
1724
1836
  "undefined" != typeof DayPilot.DatePicker && DayPilot.DatePicker.close || (DayPilot.DatePicker = function (e) {
1725
- this.v = "2023.1.450-lite";
1837
+ this.v = "2023.2.457-lite";
1726
1838
  var t = "navigator_" + (new Date).getTime(), i = this;
1727
1839
  this.onShow = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.prepare = function () {
1728
- if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.D.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1840
+ if (this.locale = "en-us", this.target = null, this.targetAlignment = "left", this.resetTarget = !0, this.pattern = this.Z.locale().datePattern, this.theme = "navigator_default", this.patterns = [], this.zIndex = null, e)
1729
1841
  for (var t in e)
1730
1842
  this[t] = e[t];
1731
- }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.Ya(); this.resetTarget && !e ? this.Za(this.date) : this.resetTarget || (i.date = e); var t = this.$a(); return t && t.addEventListener("input", function () { i.date = i.Ya(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.Wa && (this.Wa = !1, this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.setDate = function (e) { this.date = new DayPilot.Date(e), this.Za(this.date); }, this.Ya = function () {
1732
- var e = this.$a();
1843
+ }, this.init = function () { this.date = new DayPilot.Date(this.date); var e = this.rb(); this.resetTarget && !e ? this.sb(this.date) : this.resetTarget || (i.date = e); var t = this.B(); return t && t.addEventListener("input", function () { i.date = i.rb(), i.date && i.navigator.select(i.date, { dontNotify: !0 }); }), document.addEventListener("mousedown", function () { i.close(); }), this; }, this.close = function () { this.pb && (this.pb = !1, this.navigator && this.navigator.dispose(), this.div.innerHTML = "", this.div && this.div.parentNode === document.body && document.body.removeChild(this.div)); }, this.setDate = function (e) { this.date = new DayPilot.Date(e), this.sb(this.date); }, this.rb = function () {
1844
+ var e = this.B();
1733
1845
  if (!e)
1734
1846
  return this.date;
1735
1847
  var t = null;
@@ -1741,26 +1853,26 @@ if (function () {
1741
1853
  a = DayPilot.Date.parse(t, i.patterns[n]);
1742
1854
  }
1743
1855
  return a;
1744
- }, this.Za = function (e) {
1745
- var t = this.$a();
1856
+ }, this.sb = function (e) {
1857
+ var t = this.B();
1746
1858
  if (t) {
1747
1859
  var a = e.toString(i.pattern, i.locale);
1748
1860
  "INPUT" === t.tagName ? t.value = a : t.innerHTML = a;
1749
1861
  }
1750
- }, this.D = {}, this.D.locale = function () { return DayPilot.Locale.find(i.locale); }, this.$a = function () { var e = this.target; return e && e.nodeType && 1 === e.nodeType ? e : document.getElementById(e); }, Object.defineProperty(this, "visible", { get: function () { return i.Wa; } }), this.show = function () {
1751
- if (!this.Wa) {
1752
- var e = this.$a(), a = this.navigator, a = new DayPilot.Navigator(t);
1753
- a.api = 2, a.cssOnly = !0, a.theme = i.theme, a.weekStarts = "Auto", a.locale = i.locale, a.onTimeRangeSelected = function (e) { i.date = e.start; var t = e.start.addTime(a._a), n = t.toString(i.pattern, i.locale), e = {}; e.start = t, e.date = t, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(e), e.preventDefault.value) || (i.Za(n), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(e)); }, this.navigator = a;
1862
+ }, this.Z = {}, this.Z.locale = function () { return DayPilot.Locale.find(i.locale); }, this.B = function () { var e = this.target; return e && e.nodeType && 1 === e.nodeType ? e : document.getElementById(e); }, Object.defineProperty(this, "visible", { get: function () { return i.pb; } }), this.show = function () {
1863
+ if (!this.pb) {
1864
+ var e = this.B(), a = this.navigator, a = new DayPilot.Navigator(t);
1865
+ a.api = 2, a.cssOnly = !0, a.theme = i.theme, a.weekStarts = "Auto", a.locale = i.locale, a.onTimeRangeSelected = function (e) { i.date = e.start; var t = e.start.addTime(a.tb), n = t.toString(i.pattern, i.locale), e = {}; e.start = t, e.date = t, e.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(e), e.preventDefault.value) || (i.sb(n), i.close(), "function" == typeof i.onTimeRangeSelected && i.onTimeRangeSelected(e)); }, this.navigator = a;
1754
1866
  var n = DayPilot.abs(e), o = e.offsetHeight, r = i.targetAlignment, s = document.createElement("div");
1755
1867
  s.style.position = "absolute", "left" === r && (s.style.left = n.x + "px"), s.style.top = n.y + o + "px", i.zIndex && (s.style.zIndex = i.zIndex);
1756
1868
  var l = document.createElement("div");
1757
1869
  l.id = t, s.appendChild(l), s.addEventListener("mousedown", function (e) { var e = e || window.event; e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }), document.body.appendChild(s), this.div = s;
1758
- var d = i.Ya() || (new DayPilot.Date).getDatePart();
1759
- if (a.startDate = d, a._a = d.getTimePart(), a.selectionDay = d.getDatePart(), a.init(), "right" === r) {
1870
+ var d = i.rb() || (new DayPilot.Date).getDatePart();
1871
+ if (a.startDate = d, a.tb = d.getTimePart(), a.selectionDay = d.getDatePart(), a.init(), "right" === r) {
1760
1872
  var c = n.x + e.offsetWidth - a.nav.top.offsetWidth;
1761
1873
  s.style.left = c + "px";
1762
1874
  }
1763
- this.Wa = !0, this.onShow && this.onShow();
1875
+ this.pb = !0, this.onShow && this.onShow();
1764
1876
  }
1765
1877
  }, this.prepare(), this.init();
1766
1878
  });
@@ -1772,10 +1884,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1772
1884
  var e = function () { }, t = {};
1773
1885
  t.mouse = null, t.menu = null, t.handlersRegistered = !1, t.hideTimeout = null, t.waitingSubmenu = null, DayPilot.Menu = function (i) {
1774
1886
  var a = this, n = null;
1775
- this.v = "2023.1.450-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.ab = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) {
1887
+ this.v = "2023.2.457-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.ub = function () { }, i && DayPilot.isArray(i) && (this.items = i), this.toJSON = function () { return null; }, this.show = function (i, o) {
1776
1888
  o = o || {};
1777
1889
  var r = null;
1778
- if (i ? "string" == typeof i.id || "number" == typeof i.id ? r = i.id : "function" == typeof i.id ? r = i.id() : "function" == typeof i.value && (r = i.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.ab.submenu = null, null !== t.mouse) {
1890
+ if (i ? "string" == typeof i.id || "number" == typeof i.id ? r = i.id : "function" == typeof i.id ? r = i.id() : "function" == typeof i.value && (r = i.value()) : r = null, "undefined" != typeof DayPilot.Bubble && DayPilot.Bubble.hideActive(), o.submenu || t.menuClean(), this.ub.submenu = null, null !== t.mouse) {
1779
1891
  a.cssOnly || (a.cssOnly = !0);
1780
1892
  var s = null;
1781
1893
  if (i && i.isRow && i.$.row.task ? (s = new DayPilot.Task(i.$.row.task, i.calendar), s.menuType = "resource") : s = i && i.isEvent && i.data.task ? new DayPilot.Task(i, i.calendar) : i, "function" == typeof a.onShow) {
@@ -1784,15 +1896,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1784
1896
  return;
1785
1897
  }
1786
1898
  var d = document.createElement("div");
1787
- if (d.style.position = "absolute", d.style.top = "0px", d.style.left = "0px", d.style.display = "none", d.style.overflow = "hidden", d.style.zIndex = this.zIndex + 1, d.className = this.bb("main"), d.onclick = function (e) { e.cancelBubble = !0, this.parentNode.removeChild(this); }, this.hideOnMouseOut && (d.onmousemove = function (e) { clearTimeout(t.hideTimeout); }, d.onmouseleave = function (e) { a.delayedHide({ "hideParent": !0 }); }), !this.items || 0 === this.items.length)
1899
+ if (d.style.position = "absolute", d.style.top = "0px", d.style.left = "0px", d.style.display = "none", d.style.overflow = "hidden", d.style.zIndex = this.zIndex + 1, d.className = this.vb("main"), d.onclick = function (e) { e.cancelBubble = !0, this.parentNode.removeChild(this); }, this.hideOnMouseOut && (d.onmousemove = function (e) { clearTimeout(t.hideTimeout); }, d.onmouseleave = function (e) { a.delayedHide({ "hideParent": !0 }); }), !this.items || 0 === this.items.length)
1788
1900
  throw "No menu items defined.";
1789
1901
  if (this.showMenuTitle) {
1790
1902
  var c = document.createElement("div");
1791
- c.innerHTML = this.menuTitle, c.className = this.bb("title"), d.appendChild(c);
1903
+ c.innerHTML = this.menuTitle, c.className = this.vb("title"), d.appendChild(c);
1792
1904
  }
1793
1905
  for (var u = 0; u < this.items.length; u++) {
1794
1906
  var h = this.items[u], f = document.createElement("div");
1795
- if (DayPilot.Util.addClass(f, this.bb("item")), h.items && (DayPilot.Util.addClass(f, this.bb("item_haschildren")), DayPilot.Util.addClass(d, this.bb("withchildren"))), "undefined" != typeof h && !h.hidden) {
1907
+ if (DayPilot.Util.addClass(f, this.vb("item")), h.items && (DayPilot.Util.addClass(f, this.vb("item_haschildren")), DayPilot.Util.addClass(d, this.vb("withchildren"))), "undefined" != typeof h && !h.hidden) {
1796
1908
  if ("-" === h.text) {
1797
1909
  var m = document.createElement("div");
1798
1910
  m.addEventListener("click", function (e) { e.stopPropagation(); }), f.appendChild(m);
@@ -1800,7 +1912,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1800
1912
  else {
1801
1913
  var p = document.createElement("a");
1802
1914
  if (p.style.position = "relative", p.style.display = "block", h.cssClass && DayPilot.Util.addClass(p, h.cssClass), h.disabled)
1803
- DayPilot.Util.addClass(p, a.bb("item_disabled"));
1915
+ DayPilot.Util.addClass(p, a.vb("item_disabled"));
1804
1916
  else {
1805
1917
  if (h.onclick || h.onClick) {
1806
1918
  p.item = h, p.onclick = function (e, t) {
@@ -1828,7 +1940,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1828
1940
  DayPilot.reNonPassive(p, "touchstart", function (e) { e.stopPropagation(), e.preventDefault(), p.source.calendar.internal.touch.active = !0; }), DayPilot.reNonPassive(p, "touchend", v(h, p));
1829
1941
  }
1830
1942
  if (h.items && !h.disabled) {
1831
- var y = function (e, t) { return function (i) { i.preventDefault(), i.stopPropagation(), a.cb(e, t); }; };
1943
+ var y = function (e, t) { return function (i) { i.preventDefault(), i.stopPropagation(), a.wb(e, t); }; };
1832
1944
  p.ontouchend = y(h, p);
1833
1945
  }
1834
1946
  if (h.onclick)
@@ -1864,13 +1976,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1864
1976
  }
1865
1977
  h.items && p.addEventListener("click", function (e) { e.stopPropagation(); }), p.source = s, p.menuSource = i;
1866
1978
  var g = document.createElement("span");
1867
- if (g.className = a.bb("item_text"), g.innerHTML = DayPilot.Util.escapeTextHtml(h.text, h.html), p.appendChild(g), h.image) {
1979
+ if (g.className = a.vb("item_text"), g.innerHTML = DayPilot.Util.escapeTextHtml(h.text, h.html), p.appendChild(g), h.image) {
1868
1980
  var b = document.createElement("img");
1869
1981
  b.src = h.image, b.style.position = "absolute", b.style.top = "0px", b.style.left = "0px", p.appendChild(b);
1870
1982
  }
1871
1983
  if (h.icon) {
1872
1984
  var D = document.createElement("span");
1873
- D.className = a.bb("item_icon");
1985
+ D.className = a.vb("item_icon");
1874
1986
  var x = document.createElement("i");
1875
1987
  x.className = h.icon, D.appendChild(x), p.appendChild(D);
1876
1988
  }
@@ -1880,7 +1992,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1880
1992
  var P = document.createElementNS(w, "use");
1881
1993
  P.setAttribute("href", h.symbol), C.appendChild(P);
1882
1994
  var _ = document.createElement("span");
1883
- _.className = a.bb("item_symbol"), _.style.position = "absolute", _.style.top = "0px", _.style.left = "0px", _.appendChild(C), p.appendChild(_);
1995
+ _.className = a.vb("item_symbol"), _.style.position = "absolute", _.style.top = "0px", _.style.left = "0px", _.appendChild(C), p.appendChild(_);
1884
1996
  }
1885
1997
  var k = function (e, i) {
1886
1998
  return function () {
@@ -1890,7 +2002,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1890
2002
  return;
1891
2003
  clearTimeout(o.timeout), t.waitingSubmenu = null;
1892
2004
  }
1893
- e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = n, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, a.cb(n, i); }, 300));
2005
+ e.disabled || (t.waitingSubmenu = {}, t.waitingSubmenu.parent = n, t.waitingSubmenu.timeout = setTimeout(function () { t.waitingSubmenu = null, a.wb(n, i); }, 300));
1894
2006
  };
1895
2007
  };
1896
2008
  p.onmouseover = k(h, p), f.appendChild(p);
@@ -1899,7 +2011,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1899
2011
  }
1900
2012
  }
1901
2013
  var S = function (e) { window.setTimeout(function () { t.menuClean(), DayPilot.MenuBar.deactivate(); }, 100); };
1902
- d.onclick = S, d.ontouchend = S, d.onmousedown = function (e) { e = e || window.event, e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }, d.oncontextmenu = function () { return !1; }, document.body.appendChild(d), a.ab.visible = !0, a.ab.source = i, d.style.display = "";
2014
+ d.onclick = S, d.ontouchend = S, d.onmousedown = function (e) { e = e || window.event, e.cancelBubble = !0, e.stopPropagation && e.stopPropagation(); }, d.oncontextmenu = function () { return !1; }, document.body.appendChild(d), a.ub.visible = !0, a.ub.source = i, d.style.display = "";
1903
2015
  var M = d.offsetHeight, T = d.offsetWidth;
1904
2016
  d.style.display = "none";
1905
2017
  var A = document.documentElement.clientHeight, H = window.innerWidth, E = "number" == typeof o.windowMargin ? o.windowMargin : 5;
@@ -1929,21 +2041,21 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1929
2041
  }(), o.parentLink) {
1930
2042
  var N = o.parentLink, I = parseInt(new DayPilot.StyleReader(d).get("border-top-width")), z = DayPilot.abs(o.parentLink.parentNode), O = z.x + N.offsetWidth, U = z.y - I;
1931
2043
  O + T > H && (O = Math.max(0, z.x - T));
1932
- var L = document.body.scrollTop + document.documentElement.scrollTop;
1933
- U + M - L > A && (U = Math.max(0, A - M + L)), d.style.left = O + "px", d.style.top = U + "px";
2044
+ var R = document.body.scrollTop + document.documentElement.scrollTop;
2045
+ U + M - R > A && (U = Math.max(0, A - M + R)), d.style.left = O + "px", d.style.top = U + "px";
1934
2046
  }
1935
- d.style.display = "", this.addShadow(d), this.ab.div = d, o.submenu || (DayPilot.Menu.active = this);
2047
+ d.style.display = "", this.addShadow(d), this.ub.div = d, o.submenu || (DayPilot.Menu.active = this);
1936
2048
  }
1937
- }, this.cb = function (e, t) {
2049
+ }, this.wb = function (e, t) {
1938
2050
  var i = e, n = t.source;
1939
- if ((!a.ab.submenu || a.ab.submenu.item !== e) && (a.ab.submenu && a.ab.submenu.item !== e && (DayPilot.Util.removeClass(a.ab.submenu.link.parentNode, a.bb("item_haschildren_active")), a.ab.submenu.menu.hide(), a.ab.submenu = null), e.items)) {
2051
+ if ((!a.ub.submenu || a.ub.submenu.item !== e) && (a.ub.submenu && a.ub.submenu.item !== e && (DayPilot.Util.removeClass(a.ub.submenu.link.parentNode, a.vb("item_haschildren_active")), a.ub.submenu.menu.hide(), a.ub.submenu = null), e.items)) {
1940
2052
  var o = a.cloneOptions();
1941
- o.items = e.items, a.ab.submenu = {}, a.ab.submenu.menu = new DayPilot.Menu(o), a.ab.submenu.menu.db = a, a.ab.submenu.menu.show(n, { "submenu": !0, "parentLink": t, "parentItem": i }), a.ab.submenu.item = e, a.ab.submenu.link = t, DayPilot.Util.addClass(t.parentNode, a.bb("item_haschildren_active"));
2053
+ o.items = e.items, a.ub.submenu = {}, a.ub.submenu.menu = new DayPilot.Menu(o), a.ub.submenu.menu.xb = a, a.ub.submenu.menu.show(n, { "submenu": !0, "parentLink": t, "parentItem": i }), a.ub.submenu.item = e, a.ub.submenu.link = t, DayPilot.Util.addClass(t.parentNode, a.vb("item_haschildren_active"));
1942
2054
  }
1943
- }, this.bb = function (e) { var t = this.theme || this.cssClassPrefix, i = this.cssOnly ? "_" : ""; return t ? t + i + e : ""; }, this.cloneOptions = function () { return DayPilot.Util.copyProps(o, {}, ["cssClassPrefix", "theme", "hideAfter", "hideOnMouseOut", "zIndex"]); }, this.hide = function (e) {
1944
- e = e || {}, this.ab.submenu && this.ab.submenu.menu.hide();
2055
+ }, this.vb = function (e) { var t = this.theme || this.cssClassPrefix, i = this.cssOnly ? "_" : ""; return t ? t + i + e : ""; }, this.cloneOptions = function () { return DayPilot.Util.copyProps(o, {}, ["cssClassPrefix", "theme", "hideAfter", "hideOnMouseOut", "zIndex"]); }, this.hide = function (e) {
2056
+ e = e || {}, this.ub.submenu && this.ub.submenu.menu.hide();
1945
2057
  var i = t.waitingSubmenu;
1946
- if (i && (t.waitingSubmenu = null, clearTimeout(i.timeout)), this.removeShadow(), this.ab.div && this.ab.div.parentNode === document.body && document.body.removeChild(this.ab.div), n && (DayPilot.de(n), n = null), a.ab.visible = !1, a.ab.source = null, a.db && e.hideParent && a.db.hide(e), DayPilot.Menu.active === a && (DayPilot.Menu.active = null), "function" == typeof this.onHide) {
2058
+ if (i && (t.waitingSubmenu = null, clearTimeout(i.timeout)), this.removeShadow(), this.ub.div && this.ub.div.parentNode === document.body && document.body.removeChild(this.ub.div), n && (DayPilot.de(n), n = null), a.ub.visible = !1, a.ub.source = null, a.xb && e.hideParent && a.xb.hide(e), DayPilot.Menu.active === a && (DayPilot.Menu.active = null), "function" == typeof this.onHide) {
1947
2059
  var o = {};
1948
2060
  this.onHide(o);
1949
2061
  }
@@ -1954,31 +2066,31 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1954
2066
  this[r] = o[r];
1955
2067
  }, DayPilot.MenuBar = function (e, t) {
1956
2068
  var i = this;
1957
- t = t || {}, this.items = [], this.theme = "menubar_default", this.windowMargin = 0, this.nav = {}, this.elements = {}, this.elements.items = DayPilot.list(), this.eb = null, this.da = !1;
2069
+ t = t || {}, this.items = [], this.theme = "menubar_default", this.windowMargin = 0, this.nav = {}, this.elements = {}, this.elements.items = DayPilot.list(), this.k = null, this.ya = !1;
1958
2070
  for (var a in t)
1959
2071
  this[a] = t[a];
1960
- this.fb = function (e) { return this.theme + "_" + e; }, this.F = function () {
2072
+ this.yb = function (e) { return this.theme + "_" + e; }, this.s = function () {
1961
2073
  this.nav.top = document.getElementById(e);
1962
2074
  var t = this.nav.top;
1963
- t.className = this.fb("main"), DayPilot.list(i.items).forEach(function (e) {
2075
+ t.className = this.yb("main"), DayPilot.list(i.items).forEach(function (e) {
1964
2076
  var a = document.createElement("span");
1965
- a.innerHTML = DayPilot.Util.escapeTextHtml(e.text, e.html), a.className = i.fb("item"), e.cssClass && a.classList.add(e.cssClass), a.data = e, a.onclick = function (t) {
2077
+ a.innerHTML = DayPilot.Util.escapeTextHtml(e.text, e.html), a.className = i.yb("item"), e.cssClass && a.classList.add(e.cssClass), a.data = e, a.onclick = function (t) {
1966
2078
  if (i.active && i.active.item === e)
1967
- i.gb();
2079
+ i.zb();
1968
2080
  else if (e.children)
1969
- return void i.hb(a);
2081
+ return void i.Ab(a);
1970
2082
  if ("function" == typeof e.onClick) {
1971
2083
  var n = {};
1972
2084
  n.item = e, n.originalEvent = t, e.onClick(n);
1973
2085
  }
1974
- }, a.onmousedown = function (e) { e.stopPropagation(); }, a.onmouseover = function () { i.active && i.active.item !== e && i.hb(a); }, t.appendChild(a), i.elements.items.push(a);
2086
+ }, a.onmousedown = function (e) { e.stopPropagation(); }, a.onmouseover = function () { i.active && i.active.item !== e && i.Ab(a); }, t.appendChild(a), i.elements.items.push(a);
1975
2087
  });
1976
- }, this.gb = function () { var e = i.fb("item_active"); i.elements.items.forEach(function (t) { DayPilot.Util.removeClass(t, e); }), i.active && i.active.menu && i.active.menu.hide(), i.active = null; }, this.ib = function (e) { return !!i.active && i.active.item === e.data; }, this.hb = function (e) {
1977
- if (!i.ib(e)) {
1978
- i.gb();
2088
+ }, this.zb = function () { var e = i.yb("item_active"); i.elements.items.forEach(function (t) { DayPilot.Util.removeClass(t, e); }), i.active && i.active.menu && i.active.menu.hide(), i.active = null; }, this.Bb = function (e) { return !!i.active && i.active.item === e.data; }, this.Ab = function (e) {
2089
+ if (!i.Bb(e)) {
2090
+ i.zb();
1979
2091
  var t = e.data, a = i.active = {};
1980
2092
  a.item = t, a.div = e;
1981
- var n = i.fb("item_active");
2093
+ var n = i.yb("item_active");
1982
2094
  DayPilot.Util.addClass(e, n);
1983
2095
  var o = DayPilot.abs(e);
1984
2096
  if (t.children) {
@@ -1988,8 +2100,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1988
2100
  }
1989
2101
  DayPilot.MenuBar.active = i;
1990
2102
  }
1991
- }, this.init = function () { return this.F(), this.da = !0, this; }, this.dispose = function () { this.da && (this.nav.top.innerHTML = "", this.elements.items = []); };
1992
- }, DayPilot.MenuBar.deactivate = function () { DayPilot.MenuBar.active && (DayPilot.MenuBar.active.gb(), DayPilot.MenuBar.active = null); }, t.menuClean = function () { "undefined" != typeof DayPilot.Menu.active && DayPilot.Menu.active && (DayPilot.Menu.active.hide(), DayPilot.Menu.active = null); }, t.mouseDown = function (e) { "undefined" != typeof t && (t.menuClean(), DayPilot.MenuBar.deactivate()); }, t.mouseMove = function (e) { "undefined" != typeof t && (t.mouse = t.mousePosition(e)); }, t.touchMove = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchStart = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchEnd = function (e) { }, t.touchPosition = function (e) {
2103
+ }, this.init = function () { return this.s(), this.ya = !0, this; }, this.dispose = function () { this.ya && (this.nav.top.innerHTML = "", this.elements.items = []); };
2104
+ }, DayPilot.MenuBar.deactivate = function () { DayPilot.MenuBar.active && (DayPilot.MenuBar.active.zb(), DayPilot.MenuBar.active = null); }, t.menuClean = function () { "undefined" != typeof DayPilot.Menu.active && DayPilot.Menu.active && (DayPilot.Menu.active.hide(), DayPilot.Menu.active = null); }, t.mouseDown = function (e) { "undefined" != typeof t && (t.menuClean(), DayPilot.MenuBar.deactivate()); }, t.mouseMove = function (e) { "undefined" != typeof t && (t.mouse = t.mousePosition(e)); }, t.touchMove = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchStart = function (e) { "undefined" != typeof t && (t.mouse = t.touchPosition(e)); }, t.touchEnd = function (e) { }, t.touchPosition = function (e) {
1993
2105
  if (!e || !e.touches)
1994
2106
  return null;
1995
2107
  var t = e.touches[0], i = {};
@@ -1998,7 +2110,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
1998
2110
  if (e = e || {}, e.calendar) {
1999
2111
  var i = DayPilot.Menu.active;
2000
2112
  if (i) {
2001
- var a = i.ab.source;
2113
+ var a = i.ub.source;
2002
2114
  a && a.calendar === e.calendar && t.menuClean();
2003
2115
  }
2004
2116
  }
@@ -2068,36 +2180,36 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2068
2180
  }
2069
2181
  }, i;
2070
2182
  }, a = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxwYXRoCiAgICAgICBpZD0icGF0aDMxNzMiCiAgICAgICBzdHlsZT0iZmlsbDpub25lO3N0cm9rZTojOTk5OTk5O3N0cm9rZS13aWR0aDoxLjg1MTk2ODUzO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZSIKICAgICAgIGQ9Ik0gMC45NTQxNDgzOCwwLjY4MTYwMzEgNS4wMzkwNjI1LDUuNDExNTM4NiA5LjEyMzk3NjYsMC42ODE2MDMxIgogICAgICAgIC8+CiAgPC9nPgo8L3N2Zz4K", n = new i;
2071
- n.add(".modal_default_main", "border: 10px solid #ccc; max-width: 90%;"), n.add(".modal_default_main:focus", "outline: none;"), n.add(".modal_default_content", "padding: 10px 0px;"), n.add(".modal_default_inner", "padding: 20px;"), n.add(".modal_default_input", "padding: 10px 0px;"), n.add(".modal_default_buttons", "margin-top: 10px;"), n.add(".modal_default_buttons", "padding: 10px 0px;"), n.add(".modal_default_form_item", "padding: 10px 0px; position: relative;"), n.add(".modal_default_form_item_level1", "border-left: 2px solid #ccc; margin-left: 10px; padding-left: 20px;"), n.add(".modal_default_form_item.modal_default_form_title", "font-size: 1.5rem; font-weight: bold;"), n.add(".modal_default_form_item input[type=text]", "width: 100%; box-sizing: border-box;"), n.add(".modal_default_form_item textarea", "width: 100%; height: 200px; box-sizing: border-box;"), n.add(".modal_default_form_item input[type=select]", "width: 100%; box-sizing: border-box;"), n.add(".modal_default_form_item label", "display: block;"), n.add(".modal_default_form_item select", "width: 100%; box-sizing: border-box;"), n.add(".modal_default_form_item_label", "margin: 2px 0px;"), n.add(".modal_default_form_item_image img", "max-width: 100%; height: auto;"), n.add(".modal_default_form_item_invalid", ""), n.add(".modal_default_form_item_invalid_message", "position: absolute; right: 0px; top: 9px; background-color: red; color: #ffffff; padding: 2px; border-radius: 2px;"), n.add(".modal_default_background", "opacity: 0.5; background-color: #000;"), n.add(".modal_default_ok", "padding: 3px; width: 80px;"), n.add(".modal_default_cancel", "padding: 3px; width: 80px;"), n.add(".modal_default_form_item_date", "position: relative;"), n.add(".modal_default_form_item_date:after", "content: ''; position: absolute; right: 7px; top: 50%; margin-top: 3px; width: 10px; height: 15px; background-image:url(" + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3NSIKICAgICAgIHk9Ii0zLjAwOTk5NTciCiAgICAgICByeT0iMS4zMTE4NTA1IiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNjY2NjY2M7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNTk4MTQwMTI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MTkzMCIKICAgICAgIHdpZHRoPSIxLjUzNDQxMzYiCiAgICAgICBoZWlnaHQ9IjIuMjE5ODI1IgogICAgICAgeD0iMi4xNTU4NDgzIgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHJ5PSIwLjY3MTc4OTE3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iMS41MjM5NTA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QxOTQ4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjY3MTc4OTE3IgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHg9IjYuNDUyNzIzNSIKICAgICAgIGhlaWdodD0iMi4yMTk4MjUiCiAgICAgICB3aWR0aD0iMS41MzQ0MTM2IgogICAgICAgaWQ9InJlY3QyMDAzIgogICAgICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS41OTgxNDAxMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAwNSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIHk9Ii0xLjE2NTg0NjYiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iNi45OTI3MDA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDA3IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAxMyIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjEuNTIzOTUwNiIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHJ5PSIwLjI5NjAxNDciIC8+CiAgICA8cmVjdAogICAgICAgcnk9IjAuMjk2MDE0NyIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGlkPSJyZWN0MjAxNSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDIwMTciCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB4PSI2Ljk5MjcwMDYiCiAgICAgICB5PSIxLjgwMjkwMzQiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSI0LjczMjU5MDciCiAgICAgICB4PSIxLjU2MzAxMzEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBpZD0icmVjdDIwMTkiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgaWQ9InJlY3QyMDIxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==" + ")"), navigator.userAgent.indexOf("Edge") !== -1 && n.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), n.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), n.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), n.add(".modal_default_form_item_searchable", "position: relative;"), n.add(".modal_default_form_item_searchable_icon", ""), n.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(" + a + ");"), n.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_time", "position: relative;"), n.add(".modal_default_form_item_time_icon", ""), n.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(" + a + ");"),
2072
- n.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_datetime_parent", "display: flex;"), n.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), n.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), n.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), n.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), n.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), n.add(".modal_default_form_item_tabular_row", "display: table-row;"), n.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), n.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), n.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), n.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), n.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;"), n.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), n.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;"), n.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==\")"), n.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;"), n.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==\")"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), n.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), n.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), n.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), n.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), n.add(".modal_min_ok", "padding: 3px 10px;"), n.add(".modal_min_cancel", "padding: 3px 10px;"), n.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;"), n.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), n.add(".navigator_modal_month", "font-size: 11px;"), n.add(".navigator_modal_day", "color: black;"), n.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), n.add(".navigator_modal_dayheader", "color: black;"), n.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), n.add(".navigator_modal_dayother", "color: gray;"), n.add(".navigator_modal_todaybox", "border: 1px solid red;"), n.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), n.add(".navigator_modal_busy", "font-weight: bold;"), n.add(".navigator_modal_cell", "text-align: center;"), n.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), n.add(".navigator_modal_title", "text-align: center;"), n.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), n.add(".navigator_modal_dayheader", "text-align: center;"), n.add(".navigator_modal_weeknumber", "text-align: center;"), n.add(".navigator_modal_cell_text", "cursor: pointer;"), n.commit(), DayPilot.Modal = function (e) {
2183
+ n.add(".modal_default_main", "border: 10px solid #ccc; max-width: 90%;"), n.add(".modal_default_main:focus", "outline: none;"), n.add(".modal_default_content", "padding: 10px 0px;"), n.add(".modal_default_inner", "padding: 20px;"), n.add(".modal_default_input", "padding: 10px 0px;"), n.add(".modal_default_buttons", "margin-top: 10px;"), n.add(".modal_default_buttons", "padding: 10px 0px;"), n.add(".modal_default_form_item", "padding: 10px 0px; position: relative;"), n.add(".modal_default_form_item_level1", "border-left: 2px solid #ccc; margin-left: 10px; padding-left: 20px;"), n.add(".modal_default_form_item.modal_default_form_title", "font-size: 1.5rem; font-weight: bold;"), n.add(".modal_default_form_item input[type=text]", "width: 100%; box-sizing: border-box;"), n.add(".modal_default_form_item textarea", "width: 100%; height: 200px; box-sizing: border-box;"), n.add(".modal_default_form_item input[type=select]", "width: 100%; box-sizing: border-box;"), n.add(".modal_default_form_item label", "display: block;"), n.add(".modal_default_form_item select", "width: 100%; box-sizing: border-box;"), n.add(".modal_default_form_item_label", "margin: 2px 0px;"), n.add(".modal_default_form_item_image img", "max-width: 100%; height: auto;"), n.add(".modal_default_form_item_invalid", ""), n.add(".modal_default_form_item_invalid_message", "position: absolute; right: 0px; top: 9px; background-color: red; color: #ffffff; padding: 2px; border-radius: 2px;"), n.add(".modal_default_background", "opacity: 0.5; background-color: #000;"), n.add(".modal_default_ok", "padding: 3px; width: 80px;"), n.add(".modal_default_cancel", "padding: 3px; width: 80px;"), n.add(".modal_default_form_item_date", "position: relative;"), n.add(".modal_default_form_item_date:after", "content: ''; position: absolute; right: 7px; top: 50%; margin-top: 3px; width: 10px; height: 15px; background-image:url(" + "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIgogICB3aWR0aD0iMTAiCiAgIGhlaWdodD0iMTUiCj4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLDUpIj4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojY2NjY2NjO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjM4MDM3MzM2O3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDE5MjgiCiAgICAgICB3aWR0aD0iOS45MTUzMDYxIgogICAgICAgaGVpZ2h0PSIxMS4zNjkzNyIKICAgICAgIHg9IjAuMTE3MTg3NSIKICAgICAgIHk9Ii0zLjAwOTk5NTciCiAgICAgICByeT0iMS4zMTE4NTA1IiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNjY2NjY2M7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNTk4MTQwMTI7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MTkzMCIKICAgICAgIHdpZHRoPSIxLjUzNDQxMzYiCiAgICAgICBoZWlnaHQ9IjIuMjE5ODI1IgogICAgICAgeD0iMi4xNTU4NDgzIgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHJ5PSIwLjY3MTc4OTE3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iMS41MjM5NTA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QxOTQ4IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjY3MTc4OTE3IgogICAgICAgeT0iLTQuMzkzNzAwMSIKICAgICAgIHg9IjYuNDUyNzIzNSIKICAgICAgIGhlaWdodD0iMi4yMTk4MjUiCiAgICAgICB3aWR0aD0iMS41MzQ0MTM2IgogICAgICAgaWQ9InJlY3QyMDAzIgogICAgICAgc3R5bGU9ImZpbGw6I2NjY2NjYztmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS41OTgxNDAxMjtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAwNSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIHk9Ii0xLjE2NTg0NjYiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSItMS4xNjU4NDY2IgogICAgICAgeD0iNi45OTI3MDA2IgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDA3IgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogICAgPHJlY3QKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIKICAgICAgIGlkPSJyZWN0MjAxMyIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHg9IjEuNTIzOTUwNiIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHJ5PSIwLjI5NjAxNDciIC8+CiAgICA8cmVjdAogICAgICAgcnk9IjAuMjk2MDE0NyIKICAgICAgIHk9IjEuODAyOTAzNCIKICAgICAgIHg9IjQuMjE5MjYzMSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGlkPSJyZWN0MjAxNSIKICAgICAgIHN0eWxlPSJmaWxsOiNmZmZmZmY7ZmlsbC1vcGFjaXR5OjE7c3Ryb2tlOm5vbmU7c3Ryb2tlLXdpZHRoOjEuNDIxODkxOTM7c3Ryb2tlLWxpbmVjYXA6YnV0dDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6NDtzdHJva2UtZGFzaGFycmF5Om5vbmU7c3Ryb2tlLW9wYWNpdHk6MSIgLz4KICAgIDxyZWN0CiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiCiAgICAgICBpZD0icmVjdDIwMTciCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB4PSI2Ljk5MjcwMDYiCiAgICAgICB5PSIxLjgwMjkwMzQiCiAgICAgICByeT0iMC4yOTYwMTQ3IiAvPgogICAgPHJlY3QKICAgICAgIHJ5PSIwLjI5NjAxNDciCiAgICAgICB5PSI0LjczMjU5MDciCiAgICAgICB4PSIxLjU2MzAxMzEiCiAgICAgICBoZWlnaHQ9IjEuODI5OTA5MSIKICAgICAgIHdpZHRoPSIxLjgzNDIyNTEiCiAgICAgICBpZD0icmVjdDIwMTkiCiAgICAgICBzdHlsZT0iZmlsbDojZmZmZmZmO2ZpbGwtb3BhY2l0eToxO3N0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxLjQyMTg5MTkzO3N0cm9rZS1saW5lY2FwOmJ1dHQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjQ7c3Ryb2tlLWRhc2hhcnJheTpub25lO3N0cm9rZS1vcGFjaXR5OjEiIC8+CiAgICA8cmVjdAogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIgogICAgICAgaWQ9InJlY3QyMDIxIgogICAgICAgd2lkdGg9IjEuODM0MjI1MSIKICAgICAgIGhlaWdodD0iMS44Mjk5MDkxIgogICAgICAgeD0iNC4yNTgzMjU2IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgcnk9IjAuMjk2MDE0NyIgLz4KICAgIDxyZWN0CiAgICAgICByeT0iMC4yOTYwMTQ3IgogICAgICAgeT0iNC43MzI1OTA3IgogICAgICAgeD0iNy4wMzE3NjMxIgogICAgICAgaGVpZ2h0PSIxLjgyOTkwOTEiCiAgICAgICB3aWR0aD0iMS44MzQyMjUxIgogICAgICAgaWQ9InJlY3QyMDIzIgogICAgICAgc3R5bGU9ImZpbGw6I2ZmZmZmZjtmaWxsLW9wYWNpdHk6MTtzdHJva2U6bm9uZTtzdHJva2Utd2lkdGg6MS40MjE4OTE5MztzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2Utb3BhY2l0eToxIiAvPgogIDwvZz4KPC9zdmc+Cg==" + ")"),
2184
+ navigator.userAgent.indexOf("Edge") !== -1 && n.add(".modal_default_form_item_date input::-ms-clear", "display: none;"), n.add(".modal_default_form_item_scrollable_scroll", "width: 100%; height: 200px; box-sizing: border-box; border: 1px solid #ccc; overflow-y: auto;"), n.add(".modal_default_form_item_scrollable_scroll_content", "padding: 5px;"), n.add(".modal_default_form_item_searchable", "position: relative;"), n.add(".modal_default_form_item_searchable_icon", ""), n.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(" + a + ");"), n.add(".modal_default_form_item_searchable_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_searchable_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_searchable_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_time", "position: relative;"), n.add(".modal_default_form_item_time_icon", ""), n.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(" + a + ");"), n.add(".modal_default_form_item_time_list", "box-sizing: border-box; border: 1px solid #999; max-height: 150px; overflow-y: auto;"), n.add(".modal_default_form_item_time_list_item", "background: white; padding: 2px; cursor: default;"), n.add(".modal_default_form_item_time_list_item_highlight", "background: #ccc;"), n.add(".modal_default_form_item_datetime_parent", "display: flex;"), n.add(".modal_default_form_item_datetime .modal_default_form_item_time_main", "margin-left: 5px;"), n.add(".modal_default_form_item_datetime input[type='text'].modal_default_input_date ", ""), n.add(".modal_default_form_item_tabular_main", "margin-top: 10px;"), n.add(".modal_default_form_item_tabular_table", "display: table; width: 100%; xbackground-color: #fff; border-collapse: collapse;"), n.add(".modal_default_form_item_tabular_tbody", "display: table-row-group;"), n.add(".modal_default_form_item_tabular_row", "display: table-row;"), n.add(".modal_default_form_item_tabular_row.modal_default_form_item_tabular_header", ""), n.add(".modal_default_form_item_tabular_cell.modal_default_form_item_tabular_rowaction", "padding: 0px; width: 23px;"), n.add(".modal_default_form_item_tabular_cell", "display: table-cell; border: 0px; padding: 2px 2px 2px 0px; cursor: default; vertical-align: bottom;"), n.add(".modal_default_form_item_tabular_header .modal_default_form_item_tabular_cell", "padding-left: 0px; padding-bottom: 0px;"), n.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;"), n.add(".modal_default_form_item_tabular_table select", "width:100%; height:100%; box-sizing: border-box;"), n.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;"), n.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==\")"), n.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;"), n.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==\")"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_plus_max.modal_default_form_item_tabular_plus", "display: none;"), n.add(".modal_default_form_item_tabular_disabled .modal_default_form_item_tabular_delete", "visibility: hidden;"), n.add(".modal_default_form_item_tabular_empty", "height: 1px; margin: 5px 23px 5px 0px; background-color: #ccc;"), n.add(".modal_default_form_item_tabular_spacer .modal_default_form_item_tabular_cell", "padding: 0px;"), n.add(".modal_min_main", "border: 1px solid #ccc; max-width: 90%;"), n.add(".modal_min_background", "opacity: 0.5; background-color: #000;"), n.add(".modal_min_ok", "padding: 3px 10px;"), n.add(".modal_min_cancel", "padding: 3px 10px;"), n.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;"), n.add(".navigator_modal_main *, .navigator_modal_main *:before, .navigator_modal_main *:after", "box-sizing: content-box;"), n.add(".navigator_modal_month", "font-size: 11px;"), n.add(".navigator_modal_day", "color: black;"), n.add(".navigator_modal_weekend", "background-color: #f0f0f0;"), n.add(".navigator_modal_dayheader", "color: black;"), n.add(".navigator_modal_line", "border-bottom: 1px solid #c0c0c0;"), n.add(".navigator_modal_dayother", "color: gray;"), n.add(".navigator_modal_todaybox", "border: 1px solid red;"), n.add(".navigator_modal_title, .navigator_modal_titleleft, .navigator_modal_titleright", "border-top: 1px solid #c0c0c0;border-bottom: 1px solid #c0c0c0;color: #333;background: #f3f3f3;"), n.add(".navigator_modal_busy", "font-weight: bold;"), n.add(".navigator_modal_cell", "text-align: center;"), n.add(".navigator_modal_select .navigator_modal_cell_box", "background-color: #FFE794; opacity: 0.5;"), n.add(".navigator_modal_title", "text-align: center;"), n.add(".navigator_modal_titleleft, .navigator_modal_titleright", "text-align: center;"), n.add(".navigator_modal_dayheader", "text-align: center;"), n.add(".navigator_modal_weeknumber", "text-align: center;"), n.add(".navigator_modal_cell_text", "cursor: pointer;"), n.commit(), DayPilot.Modal = function (e) {
2073
2185
  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;
2074
2186
  var t = this;
2075
- this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.jb = !1, this.kb = null, this.lb = null, this.showHtml = function (e) {
2187
+ this.id = "_" + (new Date).getTime() + "n" + 10 * Math.random(), this.Cb = !1, this.Db = null, this.Eb = null, this.showHtml = function (e) {
2076
2188
  if (DayPilot.ModalStatic.displayed(this))
2077
2189
  throw "This modal dialog is already displayed.";
2078
- if (this.div || this.mb(), this.nb(), this.useIframe) {
2190
+ if (this.div || this.Fb(), this.Gb(), this.useIframe) {
2079
2191
  var t = function (e, t) { return function () { e.setInnerHTML(e.id + "iframe", t); }; };
2080
2192
  window.setTimeout(t(this, e), 0);
2081
2193
  }
2082
2194
  else
2083
2195
  e.nodeType ? this.div.appendChild(e) : this.div.innerHTML = e;
2084
- this.nb(), this.ob(), this.pb();
2196
+ this.Gb(), this.Hb(), this.Ib();
2085
2197
  }, this.showUrl = function (e) {
2086
2198
  if (DayPilot.ModalStatic.displayed(this))
2087
2199
  throw "This modal dialog is already displayed.";
2088
2200
  if (this.useIframe) {
2089
- this.div || this.mb();
2201
+ this.div || this.Fb();
2090
2202
  var i = this.loadingHtml;
2091
- i && (this.iframe.src = "about:blank", this.setInnerHTML(this.id + "iframe", i)), this.re(this.iframe, "load", this.qb), this.iframe.src = e, this.nb(), this.ob(), this.pb();
2203
+ i && (this.iframe.src = "about:blank", this.setInnerHTML(this.id + "iframe", i)), this.re(this.iframe, "load", this.Jb), this.iframe.src = e, this.Gb(), this.Hb(), this.Ib();
2092
2204
  }
2093
2205
  else
2094
- t.rb({ "url": e, "success": function (e) { var i = e.request.responseText; t.showHtml(i); }, "error": function (e) { t.showHtml("Error loading the modal dialog"); } });
2095
- }, this.pb = function () {
2206
+ t.Kb({ "url": e, "success": function (e) { var i = e.request.responseText; t.showHtml(i); }, "error": function (e) { t.showHtml("Error loading the modal dialog"); } });
2207
+ }, this.Ib = function () {
2096
2208
  if ("function" == typeof t.onShow) {
2097
2209
  var e = {};
2098
- e.root = t.sb(), e.modal = t, t.onShow(e);
2210
+ e.root = t.Lb(), e.modal = t, t.onShow(e);
2099
2211
  }
2100
- }, this.sb = function () { return t.iframe ? t.iframe.contentWindow.document : t.div; }, this.rb = function (e) {
2212
+ }, this.Lb = function () { return t.iframe ? t.iframe.contentWindow.document : t.div; }, this.Kb = function (e) {
2101
2213
  var t = new XMLHttpRequest;
2102
2214
  if (t) {
2103
2215
  var i = e.method || "GET", a = e.success || function () { }, n = e.error || function () { }, o = e.data, r = e.url;
@@ -2115,30 +2227,30 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2115
2227
  window.console && console.log("HTTP error " + t.status);
2116
2228
  }, 4 !== t.readyState && ("object" == typeof o && (o = JSON.stringify(o)), t.send(o));
2117
2229
  }
2118
- }, this.nb = function () { delete this.result; var e = window, i = document, a = e.pageYOffset ? e.pageYOffset : i.documentElement && i.documentElement.scrollTop ? i.documentElement.scrollTop : i.body.scrollTop; this.theme && (this.hideDiv.className = this.theme + "_background"), this.zIndex && (this.hideDiv.style.zIndex = this.zIndex), this.hideDiv.style.display = "", window.setTimeout(function () { t.hideDiv && (t.hideDiv.onclick = function () { t.hide({ "backgroundClick": !0 }); }); }, 500), this.theme ? this.div.className = this.theme + "_main" : this.div.className = "", this.className && (this.div.className += " " + this.className), this.left ? this.div.style.left = this.left + "px" : this.div.style.marginLeft = "-" + Math.floor(this.width / 2) + "px", this.div.style.position = "absolute", this.div.style.boxSizing = "content-box", this.div.style.top = a + this.top + "px", this.div.style.width = this.width + "px", this.zIndex && (this.div.style.zIndex = this.zIndex), this.height && (this.useIframe || !this.autoStretch ? this.div.style.height = this.height + "px" : this.div.style.height = ""), this.useIframe && this.height && (this.iframe.style.height = this.height + "px"), this.div.style.display = "", this.ub(), DayPilot.ModalStatic.remove(this), DayPilot.ModalStatic.list.push(this); }, this.qb = function () { t.iframe.contentWindow.modal = t, t.autoStretch && t.stretch(); }, this.stretch = function () {
2119
- var e = function () { return t.tb().y; }, i = function () { return t.tb().x; };
2230
+ }, this.Gb = function () { delete this.result; var e = window, i = document, a = e.pageYOffset ? e.pageYOffset : i.documentElement && i.documentElement.scrollTop ? i.documentElement.scrollTop : i.body.scrollTop; this.theme && (this.hideDiv.className = this.theme + "_background"), this.zIndex && (this.hideDiv.style.zIndex = this.zIndex), this.hideDiv.style.display = "", window.setTimeout(function () { t.hideDiv && (t.hideDiv.onclick = function () { t.hide({ "backgroundClick": !0 }); }); }, 500), this.theme ? this.div.className = this.theme + "_main" : this.div.className = "", this.className && (this.div.className += " " + this.className), this.left ? this.div.style.left = this.left + "px" : this.div.style.marginLeft = "-" + Math.floor(this.width / 2) + "px", this.div.style.position = "absolute", this.div.style.boxSizing = "content-box", this.div.style.top = a + this.top + "px", this.div.style.width = this.width + "px", this.zIndex && (this.div.style.zIndex = this.zIndex), this.height && (this.useIframe || !this.autoStretch ? this.div.style.height = this.height + "px" : this.div.style.height = ""), this.useIframe && this.height && (this.iframe.style.height = this.height + "px"), this.div.style.display = "", this.Nb(), DayPilot.ModalStatic.remove(this), DayPilot.ModalStatic.list.push(this); }, this.Jb = function () { t.iframe.contentWindow.modal = t, t.autoStretch && t.stretch(); }, this.stretch = function () {
2231
+ var e = function () { return t.Mb().y; }, i = function () { return t.Mb().x; };
2120
2232
  if (this.useIframe) {
2121
- for (var a = i() - 40, n = this.width; n < a && this.vb(); n += 10)
2233
+ for (var a = i() - 40, n = this.width; n < a && this.Ob(); n += 10)
2122
2234
  this.div.style.width = n + "px", this.div.style.marginLeft = "-" + Math.floor(n / 2) + "px";
2123
- for (var o = this.maxHeight || e() - 2 * this.top, r = this.height; r < o && this.wb(); r += 10)
2235
+ for (var o = this.maxHeight || e() - 2 * this.top, r = this.height; r < o && this.Pb(); r += 10)
2124
2236
  this.iframe.style.height = r + "px", this.div.style.height = r + "px";
2125
- this.autoStretchFirstLoadOnly && this.ue(this.iframe, "load", this.qb);
2237
+ this.autoStretchFirstLoadOnly && this.ue(this.iframe, "load", this.Jb);
2126
2238
  }
2127
2239
  else
2128
2240
  this.div.style.height = "";
2129
- }, this.vb = function () {
2241
+ }, this.Ob = function () {
2130
2242
  for (var e = this.iframe.contentWindow.document, t = "BackCompat" === e.compatMode ? e.body : e.documentElement, i = t.scrollWidth, a = e.body.children, n = 0; n < a.length; n++) {
2131
2243
  var o = a[n].offsetLeft + a[n].offsetWidth;
2132
2244
  i = Math.max(i, o);
2133
2245
  }
2134
2246
  return i > t.clientWidth;
2135
- }, this.wb = function () {
2247
+ }, this.Pb = function () {
2136
2248
  for (var e = this.iframe.contentWindow.document, t = "BackCompat" === e.compatMode ? e.body : e.documentElement, i = t.scrollHeight, a = e.body.children, n = 0; n < a.length; n++) {
2137
2249
  var o = a[n].offsetTop + a[n].offsetHeight;
2138
2250
  i = Math.max(i, o);
2139
2251
  }
2140
2252
  return i > t.clientHeight;
2141
- }, this.tb = function () {
2253
+ }, this.Mb = function () {
2142
2254
  var e = document;
2143
2255
  if ("CSS1Compat" === e.compatMode && e.documentElement && e.documentElement.clientWidth) {
2144
2256
  var t = e.documentElement.clientWidth, i = e.documentElement.clientHeight;
@@ -2146,32 +2258,32 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2146
2258
  }
2147
2259
  var t = e.body.clientWidth, i = e.body.clientHeight;
2148
2260
  return { x: t, y: i };
2149
- }, this.ob = function () { this.jb || (this.re(window, "resize", this.xb), this.re(window, "scroll", this.yb), this.dragDrop && (this.re(document, "mousemove", this.zb), this.re(document, "mouseup", this.Ab)), this.jb = !0); }, this.Bb = function () { this.ue(window, "resize", this.xb), this.ue(window, "scroll", this.yb), this.dragDrop && (this.ue(document, "mousemove", this.zb), this.ue(document, "mouseup", this.Ab)), this.jb = !1; }, this.Cb = function (e) { e.target === t.div && (e.preventDefault(), t.div.style.cursor = "move", t.Db(), t.lb = t.mc(e || window.event), t.kb = { x: t.div.offsetLeft, y: t.div.offsetTop }); }, this.zb = function (e) {
2150
- if (t.lb) {
2151
- var e = e || window.event, i = t.mc(e), a = i.x - t.lb.x, n = i.y - t.lb.y;
2152
- t.div.style.marginLeft = "0px", t.div.style.top = t.kb.y + n + "px", t.div.style.left = t.kb.x + a + "px";
2261
+ }, this.Hb = function () { this.Cb || (this.re(window, "resize", this.Qb), this.re(window, "scroll", this.Rb), this.dragDrop && (this.re(document, "mousemove", this.Sb), this.re(document, "mouseup", this.Tb)), this.Cb = !0); }, this.Ub = function () { this.ue(window, "resize", this.Qb), this.ue(window, "scroll", this.Rb), this.dragDrop && (this.ue(document, "mousemove", this.Sb), this.ue(document, "mouseup", this.Tb)), this.Cb = !1; }, this.Vb = function (e) { e.target === t.div && (e.preventDefault(), t.div.style.cursor = "move", t.Wb(), t.Eb = t.mc(e || window.event), t.Db = { x: t.div.offsetLeft, y: t.div.offsetTop }); }, this.Sb = function (e) {
2262
+ if (t.Eb) {
2263
+ var e = e || window.event, i = t.mc(e), a = i.x - t.Eb.x, n = i.y - t.Eb.y;
2264
+ t.div.style.marginLeft = "0px", t.div.style.top = t.Db.y + n + "px", t.div.style.left = t.Db.x + a + "px";
2153
2265
  }
2154
- }, this.Ab = function (e) { t.lb && (t.Eb(), t.div.style.cursor = null, t.lb = null); }, this.Db = function () {
2266
+ }, this.Tb = function (e) { t.Eb && (t.Xb(), t.div.style.cursor = null, t.Eb = null); }, this.Wb = function () {
2155
2267
  if (this.useIframe) {
2156
2268
  var e = document.createElement("div");
2157
2269
  e.style.backgroundColor = "#ffffff", e.style.filter = "alpha(opacity=80)", e.style.opacity = "0.80", e.style.width = "100%", e.style.height = this.height + "px", e.style.position = "absolute", e.style.left = "0px", e.style.top = "0px", this.div.appendChild(e), this.mask = e;
2158
2270
  }
2159
- }, this.Eb = function () { this.useIframe && (this.div.removeChild(this.mask), this.mask = null); }, this.xb = function () { t.Fb(), t.ub(); }, this.yb = function () { t.Fb(); }, this.ub = function () {
2271
+ }, this.Xb = function () { this.useIframe && (this.div.removeChild(this.mask), this.mask = null); }, this.Qb = function () { t.Yb(), t.Nb(); }, this.Rb = function () { t.Yb(); }, this.Nb = function () {
2160
2272
  if (!t.left && t.div) {
2161
2273
  var e = t.div.offsetWidth;
2162
2274
  t.div.style.marginLeft = "-" + Math.floor(e / 2) + "px";
2163
2275
  }
2164
- }, this.Fb = function () {
2276
+ }, this.Yb = function () {
2165
2277
  if (t.hideDiv && t.div && "none" !== t.hideDiv.style.display && "none" !== t.div.style.display) {
2166
- var e = t.Gb.scrollY();
2278
+ var e = t.Zb.scrollY();
2167
2279
  t.scrollWithPage || (t.div.style.top = e + t.top + "px");
2168
2280
  }
2169
- }, this.Gb = {}, this.Gb.container = function () { return t.container || document.body; }, this.Gb.scrollY = function () { var e = t.Gb.container(); return e === document.body ? window.pageYOffset ? window.pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop : e.scrollTop; }, this.re = function (e, t, i) { e.addEventListener ? e.addEventListener(t, i, !1) : e.attachEvent && e.attachEvent("on" + t, i); }, this.ue = function (e, t, i) { e.removeEventListener ? e.removeEventListener(t, i, !1) : e.detachEvent && e.detachEvent("on" + t, i); }, this.mc = function (e) { return e.pageX || e.pageY ? { x: e.pageX, y: e.pageY } : { x: e.clientX + document.documentElement.scrollLeft, y: e.clientY + document.documentElement.scrollTop }; }, this.abs = function (e) {
2281
+ }, this.Zb = {}, this.Zb.container = function () { return t.container || document.body; }, this.Zb.scrollY = function () { var e = t.Zb.container(); return e === document.body ? window.pageYOffset ? window.pageYOffset : document.documentElement && document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop : e.scrollTop; }, this.re = function (e, t, i) { e.addEventListener ? e.addEventListener(t, i, !1) : e.attachEvent && e.attachEvent("on" + t, i); }, this.ue = function (e, t, i) { e.removeEventListener ? e.removeEventListener(t, i, !1) : e.detachEvent && e.detachEvent("on" + t, i); }, this.mc = function (e) { return e.pageX || e.pageY ? { x: e.pageX, y: e.pageY } : { x: e.clientX + document.documentElement.scrollLeft, y: e.clientY + document.documentElement.scrollTop }; }, this.abs = function (e) {
2170
2282
  for (var t = { x: e.offsetLeft, y: e.offsetTop }; e.offsetParent;)
2171
2283
  e = e.offsetParent, t.x += e.offsetLeft, t.y += e.offsetTop;
2172
2284
  return t;
2173
- }, this.mb = function () { var e = t.Gb.container(), i = e === document.body, a = i ? "fixed" : "absolute", n = document.createElement("div"); n.id = this.id + "hide", n.style.position = a, n.style.left = "0px", n.style.top = "0px", n.style.right = "0px", n.style.bottom = "0px", n.oncontextmenu = function () { return !1; }, n.onmousedown = function () { return !1; }, e.appendChild(n); var o = document.createElement("div"); o.id = this.id + "popup", o.style.position = a, o.style.left = "50%", o.style.top = "0px", o.style.backgroundColor = "white", o.style.width = "50px", o.style.height = "50px", this.dragDrop && (o.onmousedown = this.Cb), o.addEventListener("keydown", function (e) { e.stopPropagation(); }); var r = null; this.useIframe && (r = document.createElement("iframe"), r.id = this.id + "iframe", r.name = this.id + "iframe", r.frameBorder = "0", r.style.width = "100%", r.style.height = "50px", o.appendChild(r)), e.appendChild(o), this.div = o, this.iframe = r, this.hideDiv = n; }, this.setInnerHTML = function (e, i) { var a = window.frames[e], n = a.contentWindow || a.document || a.contentDocument; n.document && (n = n.document), null == n.body && n.write("<body></body>"), i.nodeType ? n.body.appendChild(i) : n.body.innerHTML = i, t.autoStretch && (t.autoStretchFirstLoadOnly && t.Hb || (t.stretch(), t.Hb = !0)); }, this.close = function (e) { this.result = e, this.hide(); }, this.closeSerialized = function () {
2174
- for (var e = t.sb(), i = e.querySelectorAll("input, textarea, select"), a = {}, n = 0; n < i.length; n++) {
2285
+ }, this.Fb = function () { var e = t.Zb.container(), i = e === document.body, a = i ? "fixed" : "absolute", n = document.createElement("div"); n.id = this.id + "hide", n.style.position = a, n.style.left = "0px", n.style.top = "0px", n.style.right = "0px", n.style.bottom = "0px", n.oncontextmenu = function () { return !1; }, n.onmousedown = function () { return !1; }, e.appendChild(n); var o = document.createElement("div"); o.id = this.id + "popup", o.style.position = a, o.style.left = "50%", o.style.top = "0px", o.style.backgroundColor = "white", o.style.width = "50px", o.style.height = "50px", this.dragDrop && (o.onmousedown = this.Vb), o.addEventListener("keydown", function (e) { e.stopPropagation(); }); var r = null; this.useIframe && (r = document.createElement("iframe"), r.id = this.id + "iframe", r.name = this.id + "iframe", r.frameBorder = "0", r.style.width = "100%", r.style.height = "50px", o.appendChild(r)), e.appendChild(o), this.div = o, this.iframe = r, this.hideDiv = n; }, this.setInnerHTML = function (e, i) { var a = window.frames[e], n = a.contentWindow || a.document || a.contentDocument; n.document && (n = n.document), null == n.body && n.write("<body></body>"), i.nodeType ? n.body.appendChild(i) : n.body.innerHTML = i, t.autoStretch && (t.autoStretchFirstLoadOnly && t.$b || (t.stretch(), t.$b = !0)); }, this.close = function (e) { this.result = e, this.hide(); }, this.closeSerialized = function () {
2286
+ for (var e = t.Lb(), i = e.querySelectorAll("input, textarea, select"), a = {}, n = 0; n < i.length; n++) {
2175
2287
  var o = i[n], r = o.name;
2176
2288
  if (r) {
2177
2289
  var s = o.value;
@@ -2179,11 +2291,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2179
2291
  }
2180
2292
  }
2181
2293
  t.close(a);
2182
- }, this.hide = function (e) { e = e || {}; var i = {}; i.backgroundClick = !!e.backgroundClick, i.result = this.result, i.canceled = "undefined" == typeof this.result, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof this.onClose && (this.onClose(i), i.preventDefault.value) || (this.div && (this.div.style.display = "none", this.hideDiv.style.display = "none", this.useIframe || (this.div.innerHTML = null)), window.focus(), DayPilot.ModalStatic.remove(this), "function" == typeof this.onClosed ? this.onClosed(i) : this.closed && this.closed(), delete this.result, this.disposeOnClose && (t.Bb(), t.Ib(t.div), t.Ib(t.hideDiv), t.div = null, t.hideDiv = null, t.iframe = null)); }, this.Ib = function (e) { e && e.parentNode && e.parentNode.removeChild(e); }, this.Jb = function () {
2294
+ }, this.hide = function (e) { e = e || {}; var i = {}; i.backgroundClick = !!e.backgroundClick, i.result = this.result, i.canceled = "undefined" == typeof this.result, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof this.onClose && (this.onClose(i), i.preventDefault.value) || (this.div && (this.div.style.display = "none", this.hideDiv.style.display = "none", this.useIframe || (this.div.innerHTML = null)), window.focus(), DayPilot.ModalStatic.remove(this), "function" == typeof this.onClosed ? this.onClosed(i) : this.closed && this.closed(), delete this.result, this.disposeOnClose && (t.Ub(), t._b(t.div), t._b(t.hideDiv), t.div = null, t.hideDiv = null, t.iframe = null)); }, this._b = function (e) { e && e.parentNode && e.parentNode.removeChild(e); }, this.bc = function () {
2183
2295
  if (e)
2184
2296
  for (var t in e)
2185
2297
  this[t] = e[t];
2186
- }, this.Jb();
2298
+ }, this.bc();
2187
2299
  }, DayPilot.Modal.alert = function (e, t) { t = t || {}, t.height = t.height || 40, t.useIframe = !1; var i = t.okText || "OK"; t.cancelText || "Cancel"; return DayPilot.getPromise(function (a, n) { t.onClosed = function (e) { a(e); }; var o = new DayPilot.Modal(t), r = document.createElement("div"); r.className = o.theme + "_inner"; var s = document.createElement("div"); s.className = o.theme + "_content", s.innerHTML = e; var l = document.createElement("div"); l.className = o.theme + "_buttons"; var d = document.createElement("button"); d.innerText = i, d.className = o.theme + "_ok", d.onclick = function (e) { DayPilot.ModalStatic.close("OK"); }, l.appendChild(d), r.appendChild(s), r.appendChild(l), o.showHtml(r), o.autoFocus && d.focus(); }); }, DayPilot.Modal.confirm = function (e, t) { t = t || {}, t.height = t.height || 40, t.useIframe = !1; var i = t.okText || "OK", a = t.cancelText || "Cancel"; return DayPilot.getPromise(function (n, o) { t.onClosed = function (e) { n(e); }; var r = new DayPilot.Modal(t), s = document.createElement("div"); s.className = r.theme + "_inner"; var l = document.createElement("div"); l.className = r.theme + "_content", l.innerHTML = e; var d = document.createElement("div"); d.className = r.theme + "_buttons"; var c = document.createElement("button"); c.innerText = i, c.className = r.theme + "_ok", c.onclick = function (e) { DayPilot.ModalStatic.close("OK"); }; var u = document.createTextNode(" "), h = document.createElement("button"); h.innerText = a, h.className = r.theme + "_cancel", h.onclick = function (e) { DayPilot.ModalStatic.close(); }, d.appendChild(c), d.appendChild(u), d.appendChild(h), s.appendChild(l), s.appendChild(d), r.showHtml(s), r.autoFocus && c.focus(); }); }, DayPilot.Modal.prompt = function (e, t, i) {
2188
2300
  "object" == typeof t && (i = t, t = ""), i = i || {}, i.height = i.height || 40, i.useIframe = !1;
2189
2301
  var a = i.okText || "OK", n = i.cancelText || "Cancel", o = t || "";
@@ -2295,11 +2407,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2295
2407
  t.stretch();
2296
2408
  }, 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, i) { return t = t || function () { }, i = i || function () { }, e(t, i), DayPilot.getPromise(e); }, this["catch"] = function (i) { return t.then(null, i), DayPilot.getPromise(e); }; }, new DayPilot.Promise(e)); });
2297
2409
  var r = function (e) {
2298
- this.form = [], this.data = {}, this.theme = "form_default", this.zIndex = 99999, this.locale = "en-us", this.plugins = {}, this.onKey = null, this.Kb = [], this.Lb = null, this.canceling = !1, this.Mb = [], this.Nb = [], this.Ob = null, e = e || {};
2410
+ this.form = [], this.data = {}, this.theme = "form_default", this.zIndex = 99999, this.locale = "en-us", this.plugins = {}, this.onKey = null, this.cc = [], this.dc = null, this.canceling = !1, this.ec = [], this.f = [], this.fc = null, e = e || {};
2299
2411
  for (var t in e)
2300
2412
  this[t] = e[t];
2301
2413
  };
2302
- r.prototype.create = function () { return this.load(), this.render(), this.Ob; }, r.prototype.render = function () { var e = this; this.Ob = document.createElement("div"), this.Kb.forEach(function (t) { e.createView(t); }), this.applyState(); }, r.prototype.createView = function (e) {
2414
+ r.prototype.create = function () { return this.load(), this.render(), this.fc; }, r.prototype.render = function () { var e = this; this.fc = document.createElement("div"), this.cc.forEach(function (t) { e.createView(t); }), this.applyState(); }, r.prototype.createView = function (e) {
2303
2415
  var t = this.theme, i = this, a = document.createElement("div");
2304
2416
  if (a.className = t + "_form_item " + t + "_form_item_level" + e.level, e.interactive || "title" !== e.type ? a.className += " " + t + "_form_item_" + e.type : a.className += " " + t + "_form_title", e.data.cssClass && (a.className += " " + e.data.cssClass), !e.isValue) {
2305
2417
  var n = document.createElement("div");
@@ -2307,13 +2419,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2307
2419
  }
2308
2420
  var o = this.createInteractive(e);
2309
2421
  o.onInput = function (e) {
2310
- if (e = e || {}, i.Pb(o, { "debounce": !e.immediate }), "function" == typeof i.onChange) {
2422
+ if (e = e || {}, i.gc(o, { "debounce": !e.immediate }), "function" == typeof i.onChange) {
2311
2423
  var t = {};
2312
2424
  t.result = i.serialize(), i.onChange(t);
2313
2425
  }
2314
- }, o.onBlur = function () { i.canceling || i.Pb(o); }, o.apply(e), o.Ob = a, o.row = e, o.element && a.appendChild(o.element), this.Nb.push(o), this.Ob.appendChild(a);
2315
- }, r.prototype.validate = function () { var e = this, t = !0; return this.Nb.forEach(function (i) { var a = e.Pb(i); t = t && a; }), t; }, r.prototype.Pb = function (e, t) {
2316
- function i() { e.Qb && (e.Qb.remove(), e.Qb = null), e.Ob.classList.add(u); var t = document.createElement("div"); t.classList.add(h), t.innerText = c.message, e.Qb = t, e.Ob.appendChild(t); }
2426
+ }, o.onBlur = function () { i.canceling || i.gc(o); }, o.apply(e), o.fc = a, o.row = e, o.element && a.appendChild(o.element), this.f.push(o), this.fc.appendChild(a);
2427
+ }, r.prototype.validate = function () { var e = this, t = !0; return this.f.forEach(function (i) { var a = e.gc(i); t = t && a; }), t; }, r.prototype.gc = function (e, t) {
2428
+ function i() { e.hc && (e.hc.remove(), e.hc = null), e.fc.classList.add(u); var t = document.createElement("div"); t.classList.add(h), t.innerText = c.message, e.hc = t, e.fc.appendChild(t); }
2317
2429
  t = t || {};
2318
2430
  var a = t.debounce, n = 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;
2319
2431
  if (d) {
@@ -2321,11 +2433,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2321
2433
  c.valid = !0, c.value = e.save()[o.field], c.message = "Error", c.values = this.serialize(), c.result = this.serialize(), d(c);
2322
2434
  var u = this.theme + "_form_item_invalid", h = this.theme + "_form_item_invalid_message";
2323
2435
  if (c.valid)
2324
- clearTimeout(this.Mb[o.field]), e.Qb && (e.Qb.remove(), e.Qb = null), e.Ob.classList.remove(u);
2436
+ clearTimeout(this.ec[o.field]), e.hc && (e.hc.remove(), e.hc = null), e.fc.classList.remove(u);
2325
2437
  else if (!n)
2326
2438
  if (a) {
2327
2439
  var f = 1e3;
2328
- clearTimeout(this.Mb[o.field]), this.Mb[o.field] = setTimeout(function () { i(); }, f);
2440
+ clearTimeout(this.ec[o.field]), this.ec[o.field] = setTimeout(function () { i(); }, f);
2329
2441
  }
2330
2442
  else
2331
2443
  i();
@@ -2345,34 +2457,34 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2345
2457
  }
2346
2458
  for (var n in i)
2347
2459
  this.setValue(n, i[n]);
2348
- }, r.prototype.setValue = function (e, t) { this.Kb.forEach(function (i) { i.applyValue(e, t); }); }, r.prototype.updateDependentState = function () { var e = this, t = [!0]; (this.Lb ? this.Lb : this.Kb).forEach(function (i) { var a = e.updateState(i, { enabled: t[i.level] && !i.data.disabled }); a.isValue && (t[a.level + 1] = a.enabled && a.checked); }); }, r.prototype.processFormItem = function (e, t) {
2460
+ }, r.prototype.setValue = function (e, t) { this.cc.forEach(function (i) { i.applyValue(e, t); }); }, r.prototype.updateDependentState = function () { var e = this, t = [!0]; (this.dc ? this.dc : this.cc).forEach(function (i) { var a = e.updateState(i, { enabled: t[i.level] && !i.data.disabled }); a.isValue && (t[a.level + 1] = a.enabled && a.checked); }); }, r.prototype.processFormItem = function (e, t) {
2349
2461
  var i = this, a = this.getFieldType(e), n = [];
2350
2462
  if ("radio" === a) {
2351
2463
  if (e.name) {
2352
2464
  var o = new s;
2353
- o.field = e.id, o.data = e, o.level = t, o.type = "label", o.interactive = !1, o.text = e.name, i.Kb.push(o), n.push(o);
2465
+ o.field = e.id, o.data = e, o.level = t, o.type = "label", o.interactive = !1, o.text = e.name, i.cc.push(o), n.push(o);
2354
2466
  }
2355
- e.options.forEach(function (o) { var r = new s; r.field = e.id, r.data = o, r.level = t, r.type = a, r.isValue = !0, r.text = o.name, r.resolved = o.id, i.Kb.push(r), n.push(r), o.children && o.children.forEach(function (e) { var a = i.processFormItem(e, t + 1); n = n.concat(a); }); });
2467
+ e.options.forEach(function (o) { var r = new s; r.field = e.id, r.data = o, r.level = t, r.type = a, r.isValue = !0, r.text = o.name, r.resolved = o.id, i.cc.push(r), n.push(r), o.children && o.children.forEach(function (e) { var a = i.processFormItem(e, t + 1); n = n.concat(a); }); });
2356
2468
  }
2357
2469
  else if ("title" === a) {
2358
2470
  var o = new s;
2359
- o.field = e.id, o.data = e, o.level = t, o.type = a, o.interactive = !1, o.text = e.name, i.Kb.push(o), n.push(o);
2471
+ o.field = e.id, o.data = e, o.level = t, o.type = a, o.interactive = !1, o.text = e.name, i.cc.push(o), n.push(o);
2360
2472
  }
2361
2473
  else if ("image" === a) {
2362
2474
  var o = new s;
2363
- o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = a, o.interactive = !1, o.text = null, i.Kb.push(o), n.push(o);
2475
+ o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = a, o.interactive = !1, o.text = null, i.cc.push(o), n.push(o);
2364
2476
  }
2365
2477
  else if ("html" === a) {
2366
2478
  var o = new s;
2367
- o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = a, o.interactive = !1, o.text = null, i.Kb.push(o), n.push(o);
2479
+ o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = a, o.interactive = !1, o.text = null, i.cc.push(o), n.push(o);
2368
2480
  }
2369
2481
  else if ("scrollable" === a) {
2370
2482
  var o = new s;
2371
- o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = a, o.interactive = !1, o.text = null, i.Kb.push(o), n.push(o);
2483
+ o.isValue = !0, o.field = e.id, o.data = e, o.level = t, o.type = a, o.interactive = !1, o.text = null, i.cc.push(o), n.push(o);
2372
2484
  }
2373
2485
  else {
2374
2486
  var o = new s;
2375
- o.field = e.id, o.data = e, o.level = t, o.type = a, o.text = e.name, o.children = [], i.Kb.push(o), n.push(o);
2487
+ o.field = e.id, o.data = e, o.level = t, o.type = a, o.text = e.name, o.children = [], i.cc.push(o), n.push(o);
2376
2488
  }
2377
2489
  return "checkbox" === a && (o.isValue = !0, o.resolved = !0, e.children && e.children.forEach(function (e) { var a = i.processFormItem(e, t + 1); n = n.concat(a); })), n;
2378
2490
  }, r.prototype.doOnKey = function (e) {
@@ -2437,21 +2549,21 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2437
2549
  }
2438
2550
  i || (e.preventDefault(), e.stopPropagation());
2439
2551
  }, a.onfocus = function () { n.show(); }, a.onclick = function () { n.show(); }, a.oninput = function (e) { i.onInput(); }, a.onblur = function (e) { i.onBlur(); }, i.element = a, i.picker = n, i.canFocus = function () { return !i.element.disabled; }, i.focus = function () { i.element.focus(); }, i.save = function () { var t = n.date ? n.date.toString() : null, i = {}; return i[e.field] = t, i; }, i;
2440
- }, "time": function () { return t.Rb(e); }, "datetime": function () { return t.Sb(e); }, "select": function () { var t = new l; t.apply = function (e) { t.row = e; var i = t.element; i.value = e.value, i.disabled = !e.enabled; }; var i = document.createElement("select"); return i.name = e.field, e.data.options && e.data.options.forEach && e.data.options.forEach(function (e) { var t = document.createElement("option"); t.innerText = e.name || e.id, t.value = e.id, t.Tb = e.id, i.appendChild(t); }), i.onchange = function (e) { t.onInput({ "immediate": !0 }); }, i.onblur = function (e) { t.onBlur(); }, t.element = i, t.canFocus = function () { return !t.element.disabled; }, t.focus = function () { t.element.focus(); }, t.save = function () { var t = null, a = i.options[i.selectedIndex]; a && "undefined" != typeof a.Tb && (t = a.Tb); var n = {}; return n[e.field] = t, n; }, t; }, "searchable": function () { var i = new l; i.apply = function (e) { i.row = e; var t = i.searchable; t.disabled = !e.enabled, t.select(e.value); }; var a = new d({ data: e.data.options || [], name: e.field, theme: t.theme + "_form_item_searchable", listZIndex: t.zIndex + 1, onSelect: function (e) { e.ui && i.onInput({ "immediate": !0 }); } }), n = a.create(); return i.element = n, i.searchable = a, i.canFocus = function () { return !i.searchable.disabled; }, i.focus = function () { i.searchable.focus(); }, i.save = function () { var t = a.selected && a.selected.id, i = {}; return i[e.field] = t, i; }, i; }, "radio": function () {
2552
+ }, "time": function () { return t.ic(e); }, "datetime": function () { return t.jc(e); }, "select": function () { var t = new l; t.apply = function (e) { t.row = e; var i = t.element; i.value = e.value, i.disabled = !e.enabled; }; var i = document.createElement("select"); return i.name = e.field, e.data.options && e.data.options.forEach && e.data.options.forEach(function (e) { var t = document.createElement("option"); t.innerText = e.name || e.id, t.value = e.id, t.kc = e.id, i.appendChild(t); }), i.onchange = function (e) { t.onInput({ "immediate": !0 }); }, i.onblur = function (e) { t.onBlur(); }, t.element = i, t.canFocus = function () { return !t.element.disabled; }, t.focus = function () { t.element.focus(); }, t.save = function () { var t = null, a = i.options[i.selectedIndex]; a && "undefined" != typeof a.kc && (t = a.kc); var n = {}; return n[e.field] = t, n; }, t; }, "searchable": function () { var i = new l; i.apply = function (e) { i.row = e; var t = i.searchable; t.disabled = !e.enabled, t.select(e.value); }; var a = new d({ data: e.data.options || [], name: e.field, theme: t.theme + "_form_item_searchable", listZIndex: t.zIndex + 1, onSelect: function (e) { e.ui && i.onInput({ "immediate": !0 }); } }), n = a.create(); return i.element = n, i.searchable = a, i.canFocus = function () { return !i.searchable.disabled; }, i.focus = function () { i.searchable.focus(); }, i.save = function () { var t = a.selected && a.selected.id, i = {}; return i[e.field] = t, i; }, i; }, "radio": function () {
2441
2553
  var i = new l;
2442
2554
  i.apply = function (e) { i.row = e; var t = i.radio; t.checked = e.checked, t.disabled = !e.enabled; };
2443
2555
  var a = document.createElement("label"), n = document.createElement("input");
2444
- n.type = "radio", n.name = e.field, n.Tb = e.resolved, n.onchange = function (e) { var a = i.row; t.findRowsByField(a.field).forEach(function (e) { t.updateState(e, { checked: !1 }); }), t.updateState(a, { checked: !0 }), t.applyState(), i.onInput({ "immediate": !0 }); }, n.onblur = function (e) { i.onBlur(); }, a.appendChild(n);
2556
+ n.type = "radio", n.name = e.field, n.kc = e.resolved, n.onchange = function (e) { var a = i.row; t.findRowsByField(a.field).forEach(function (e) { t.updateState(e, { checked: !1 }); }), t.updateState(a, { checked: !0 }), t.applyState(), i.onInput({ "immediate": !0 }); }, n.onblur = function (e) { i.onBlur(); }, a.appendChild(n);
2445
2557
  var o = document.createTextNode(e.text);
2446
2558
  return a.append(o), i.element = a, i.radio = n, i.canFocus = function () { return !1; }, i.focus = function () { i.radio.focus(); }, i.save = function () {
2447
2559
  if (!n.checked)
2448
2560
  return {};
2449
- var t = n.Tb, i = {};
2561
+ var t = n.kc, i = {};
2450
2562
  return i[e.field] = t, i;
2451
2563
  }, i;
2452
- }, "checkbox": function () { var i = new l; i.apply = function (e) { i.row = e; var t = i.checkbox; t.checked = e.checked, t.disabled = !e.enabled; }; var a = document.createElement("label"), n = document.createElement("input"); n.type = "checkbox", n.name = e.field, n.Tb = e.resolved, n.onchange = function (e) { var a = i.row; t.updateState(a, { checked: this.checked }), t.applyState(), i.onInput({ "immediate": !0 }); }, n.onblur = function (e) { i.onBlur(); }, a.appendChild(n); var o = document.createTextNode(e.text); return a.append(o), i.element = a, i.checkbox = n, i.canFocus = function () { return !1; }, i.focus = function () { i.checkbox.focus(); }, i.save = function () { var t = n.checked, i = {}; return i[e.field] = t, i; }, i; }, "table": function () { var i = new l; i.apply = function (e) { i.row = e; var t = i.table; t.disabled = !e.enabled, t.load(e.value || []); }; var a = new c({ name: e.field, form: t, theme: t.theme + "_form_item_tabular", item: e.data, onInput: function (e) { i.onInput(); } }), n = a.create(); return i.element = n, i.table = a, i.canFocus = function () { return !1; }, i.focus = function () { i.table.focus(); }, i.save = function () { var t = a.save(), i = {}; return i[e.field] = t, i; }, i; } };
2564
+ }, "checkbox": function () { var i = new l; i.apply = function (e) { i.row = e; var t = i.checkbox; t.checked = e.checked, t.disabled = !e.enabled; }; var a = document.createElement("label"), n = document.createElement("input"); n.type = "checkbox", n.name = e.field, n.kc = e.resolved, n.onchange = function (e) { var a = i.row; t.updateState(a, { checked: this.checked }), t.applyState(), i.onInput({ "immediate": !0 }); }, n.onblur = function (e) { i.onBlur(); }, a.appendChild(n); var o = document.createTextNode(e.text); return a.append(o), i.element = a, i.checkbox = n, i.canFocus = function () { return !1; }, i.focus = function () { i.checkbox.focus(); }, i.save = function () { var t = n.checked, i = {}; return i[e.field] = t, i; }, i; }, "table": function () { var i = new l; i.apply = function (e) { i.row = e; var t = i.table; t.disabled = !e.enabled, t.load(e.value || []); }; var a = new c({ name: e.field, form: t, theme: t.theme + "_form_item_tabular", item: e.data, onInput: function (e) { i.onInput(); } }), n = a.create(); return i.element = n, i.table = a, i.canFocus = function () { return !1; }, i.focus = function () { i.table.focus(); }, i.save = function () { var t = a.save(), i = {}; return i[e.field] = t, i; }, i; } };
2453
2565
  return t.plugins && t.plugins[e.type] ? t.plugins[e.type](e) : i[e.type]();
2454
- }, r.prototype.Rb = function (e) {
2566
+ }, r.prototype.ic = function (e) {
2455
2567
  var t = this, i = new l;
2456
2568
  i.apply = function (e) { i.row = e; var t = i.searchable; t.disabled = !e.enabled, t.select(e.value); };
2457
2569
  var a = [], n = e.data.timeInterval || 15;
@@ -2462,7 +2574,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2462
2574
  }
2463
2575
  var m = new d({ data: a, name: e.field, theme: t.theme + "_form_item_time", listZIndex: t.zIndex + 1, strategy: "startsWith", onSelect: function (e) { e.ui && i.onInput({ "immediate": !0 }); } }), p = m.create();
2464
2576
  return i.element = p, i.searchable = m, i.canFocus = function () { return !i.searchable.disabled; }, i.focus = function () { i.searchable.focus(); }, i.save = function () { var t = m.selected && m.selected.id, i = {}; return i[e.field] = t, i; }, i;
2465
- }, r.prototype.Sb = function (e) {
2577
+ }, r.prototype.jc = function (e) {
2466
2578
  var t = this, i = new l;
2467
2579
  i.apply = function (e) {
2468
2580
  i.row = e;
@@ -2477,8 +2589,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2477
2589
  var l = DayPilot.Locale.find(s) || DayPilot.Locale.US;
2478
2590
  r.locale = s, r.pattern = l.datePattern;
2479
2591
  }
2480
- o.disabled = !e.enabled,
2481
- r.date = new DayPilot.Date(e.value);
2592
+ o.disabled = !e.enabled, r.date = new DayPilot.Date(e.value);
2482
2593
  var d = new DayPilot.Date(e.value).toString(e.data.dateFormat || r.pattern, r.locale);
2483
2594
  o.value = d;
2484
2595
  };
@@ -2513,9 +2624,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2513
2624
  return i.searchable = f, f.create();
2514
2625
  }(), o = document.createElement("div");
2515
2626
  return o.className = t.theme + "_form_item_datetime_parent", o.appendChild(a), o.appendChild(n), i.element = o, i.canFocus = function () { return !i.searchable.disabled; }, i.focus = function () { i.dateInput.focus(); }, i.save = function () { var t = i.searchable.selected && i.searchable.selected.id, a = i.picker.date ? i.picker.date.toString() : null, n = new DayPilot.Date(a).getDatePart(), o = DayPilot.Date.parse(n.toString("yyyy-dd-MM ") + t, "yyyy-dd-MM HH:mm"), r = {}; return r[e.field] = o, r; }, i;
2516
- }, r.prototype.findRowsByField = function (e) { return this.Kb.filter(function (t) { return t.field === e; }); }, r.prototype.findViewById = function (e, t) { return this.Nb.find(function (i) { return i.row.field === e && ("radio" !== i.row.type || i.row.resolved === t); }); }, r.prototype.firstFocusable = function () { return this.Nb.find(function (e) { return e.canFocus && e.canFocus(); }); }, r.prototype.updateState = function (e, t) {
2517
- var i = this.Lb ? this.Lb : this.Kb, a = i.indexOf(e);
2518
- return this.Lb = i.map(function (i) {
2627
+ }, r.prototype.findRowsByField = function (e) { return this.cc.filter(function (t) { return t.field === e; }); }, r.prototype.findViewById = function (e, t) { return this.f.find(function (i) { return i.row.field === e && ("radio" !== i.row.type || i.row.resolved === t); }); }, r.prototype.firstFocusable = function () { return this.f.find(function (e) { return e.canFocus && e.canFocus(); }); }, r.prototype.updateState = function (e, t) {
2628
+ var i = this.dc ? this.dc : this.cc, a = i.indexOf(e);
2629
+ return this.dc = i.map(function (i) {
2519
2630
  if (i !== e)
2520
2631
  return i;
2521
2632
  if (e.propsEqual(t))
@@ -2524,15 +2635,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2524
2635
  for (var n in t)
2525
2636
  a[n] = t[n];
2526
2637
  return a;
2527
- }), this.Lb[a];
2528
- }, r.prototype.updateInteractive = function (e) { var t = this.Lb.indexOf(e); this.Nb[t].apply(e); }, r.prototype.applyState = function () {
2638
+ }), this.dc[a];
2639
+ }, r.prototype.updateInteractive = function (e) { var t = this.dc.indexOf(e); this.f[t].apply(e); }, r.prototype.applyState = function () {
2529
2640
  var e = this;
2530
- if (this.updateDependentState(), this.Lb) {
2531
- this.Lb.filter(function (t, i) { return e.Kb[i] !== t; }).forEach(function (t) { e.updateInteractive(t); }), this.Kb = this.Lb, this.Lb = null;
2641
+ if (this.updateDependentState(), this.dc) {
2642
+ this.dc.filter(function (t, i) { return e.cc[i] !== t; }).forEach(function (t) { e.updateInteractive(t); }), this.cc = this.dc, this.dc = null;
2532
2643
  }
2533
2644
  }, r.prototype.getFieldType = function (e) { return ["text", "date", "select", "searchable", "radio", "checkbox", "table", "title", "image", "html", "textarea", "scrollable", "time", "datetime"].indexOf(e.type) !== -1 ? e.type : e.type && this.plugins && this.plugins[e.type] ? e.type : e.image ? "image" : e.html || e.text ? "html" : e.id ? e.options ? "searchable" : e.dateFormat ? "date" : e.columns ? "table" : "text" : "title"; }, r.prototype.serialize = function () {
2534
2645
  var e = {};
2535
- return this.Nb.forEach(function (t) {
2646
+ return this.f.forEach(function (t) {
2536
2647
  var i = t.save();
2537
2648
  for (var a in i)
2538
2649
  e[a] = i[a];
@@ -2551,18 +2662,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2551
2662
  return !0;
2552
2663
  }, s.prototype.guid = function () { var e = function () { return (65536 * (1 + Math.random()) | 0).toString(16).substring(1); }; return "" + e() + e() + "-" + e() + "-" + e() + "-" + e() + "-" + e() + e() + e(); }, s.prototype.applyValue = function (e, t) { this.field === e && (this.value = t, this.isValue && t === this.resolved && (this.checked = !0)); };
2553
2664
  var l = function () { this.element = null, this.canFocus = function () { return !1; }, this.apply = function (e) { }, this.focus = function () { }, this.save = function () { return {}; }; }, d = function (e) {
2554
- this.data = [], this.name = null, this.theme = "searchable_default", this.Ub = !1, this.listZIndex = 1e5, this.onSelect = null, this.Vb = null, this.Wb = null, this.Xb = !1, this.Yb = null, this.Zb = null, this.$b = [], this._b = null, e = e || {};
2555
- var t = this, i = { "selected": { post: function (e) { "object" == typeof e && e.id ? t.Vb = e : "string" != typeof e && "number" != typeof e || t.select(e); } } };
2556
- Object.defineProperty(this, "selected", { get: function () { return this.Vb; } }), Object.defineProperty(this, "disabled", { get: function () { return this.Ub; }, set: function (e) { this.Ub = e, this.Yb && (this.Yb.disabled = e, e && this.bc()); } });
2665
+ this.data = [], this.name = null, this.theme = "searchable_default", this.lc = !1, this.listZIndex = 1e5, this.onSelect = null, this.nc = null, this.oc = null, this.pc = !1, this.qc = null, this.rc = null, this.o = [], this.sc = null, e = e || {};
2666
+ var t = this, i = { "selected": { post: function (e) { "object" == typeof e && e.id ? t.nc = e : "string" != typeof e && "number" != typeof e || t.select(e); } } };
2667
+ Object.defineProperty(this, "selected", { get: function () { return this.nc; } }), Object.defineProperty(this, "disabled", { get: function () { return this.lc; }, set: function (e) { this.lc = e, this.qc && (this.qc.disabled = e, e && this.tc()); } });
2557
2668
  for (var a in e)
2558
2669
  i[a] || (this[a] = e[a]);
2559
2670
  for (var a in e)
2560
2671
  i[a] && i[a].post(e[a]);
2561
2672
  };
2562
- d.prototype.select = function (e) { return this.Vb = this.data.find(function (t) { return t.id === e; }), this.cc(!1), this; }, d.prototype.create = function () {
2673
+ d.prototype.select = function (e) { return this.nc = this.data.find(function (t) { return t.id === e; }), this.uc(!1), this; }, d.prototype.create = function () {
2563
2674
  function e(e) {
2564
2675
  var i = l.strategy;
2565
- "includes" !== l.strategy && "startsWith" !== l.strategy && (i = "includes"), e = e || i || "includes", h.style.display = "", h.style.top = m.offsetHeight + "px", h.style.left = "0px", h.style.width = m.offsetWidth + "px", h.innerHTML = "", h.addEventListener("mousedown", function (e) { e.preventDefault(); }), l.Wb = null, l.$b = [];
2676
+ "includes" !== l.strategy && "startsWith" !== l.strategy && (i = "includes"), e = e || i || "includes", h.style.display = "", h.style.top = m.offsetHeight + "px", h.style.left = "0px", h.style.width = m.offsetWidth + "px", h.innerHTML = "", h.addEventListener("mousedown", function (e) { e.preventDefault(); }), l.oc = null, l.o = [];
2566
2677
  var n = null;
2567
2678
  l.data.forEach(function (i) {
2568
2679
  var o = i.name || i.id;
@@ -2573,27 +2684,27 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2573
2684
  else if ("startsWith" === e && 0 !== o.toLowerCase().indexOf(m.value.toLowerCase()))
2574
2685
  return;
2575
2686
  var r = document.createElement("div");
2576
- r.className = l.theme + "_list_item", r.innerText = o, r.item = i, i === l.Vb && (l.Wb = r), n || (n = r), r.addEventListener("mousedown", function (e) { a(r), e.preventDefault(); }), r.addEventListener("mousemove", function (e) { l.Wb !== r && (l.Wb = r, t({ dontScroll: !0 })); }), h.appendChild(r), l.$b.push(r);
2577
- }), l.Wb || (l.Wb = n), t();
2687
+ r.className = l.theme + "_list_item", r.innerText = o, r.item = i, i === l.nc && (l.oc = r), n || (n = r), r.addEventListener("mousedown", function (e) { a(r), e.preventDefault(); }), r.addEventListener("mousemove", function (e) { l.oc !== r && (l.oc = r, t({ dontScroll: !0 })); }), h.appendChild(r), l.o.push(r);
2688
+ }), l.oc || (l.oc = n), t();
2578
2689
  }
2579
- function t(e) { e = e || {}; var t = !e.dontScroll; document.querySelectorAll("." + l.theme + "_list_item_highlight").forEach(function (e) { e.className = e.className.replace(l.theme + "_list_item_highlight", ""); }), l.Wb && (l.Wb.className += " " + l.theme + "_list_item_highlight", t && !i(l.Wb, h) && l.Wb.scrollIntoView()); }
2690
+ function t(e) { e = e || {}; var t = !e.dontScroll; document.querySelectorAll("." + l.theme + "_list_item_highlight").forEach(function (e) { e.className = e.className.replace(l.theme + "_list_item_highlight", ""); }), l.oc && (l.oc.className += " " + l.theme + "_list_item_highlight", t && !i(l.oc, h) && l.oc.scrollIntoView()); }
2580
2691
  function i(e, t) { var i = e.getBoundingClientRect(), a = t.getBoundingClientRect(); return i.top >= a.top && i.bottom <= a.bottom; }
2581
- function a(e) { var t = e.item; l.Vb = t, l.cc(!0), o(), r(); }
2582
- function n() { l.bc(); }
2583
- function o() { l.dc(); }
2584
- function r() { l.Xb = !0, m.setAttribute("readonly", "readonly"), m.focus(); }
2585
- function s() { l.Xb = !1, m.removeAttribute("readonly"), m.select(), e("all"); }
2692
+ function a(e) { var t = e.item; l.nc = t, l.uc(!0), o(), r(); }
2693
+ function n() { l.tc(); }
2694
+ function o() { l.p(); }
2695
+ function r() { l.pc = !0, m.setAttribute("readonly", "readonly"), m.focus(); }
2696
+ function s() { l.pc = !1, m.removeAttribute("readonly"), m.select(), e("all"); }
2586
2697
  var l = this, d = this, c = document.createElement("div");
2587
2698
  c.className = this.theme + "_main", c.style.position = "relative";
2588
2699
  var u = document.createElement("div");
2589
- u.className = this.theme + "_icon", u.style.position = "absolute", u.style.right = "0", u.style.top = "0", u.style.bottom = "0", u.style.width = "20px", u.addEventListener("mousedown", function (e) { e.preventDefault(), l.Xb ? (l.focus(), s()) : (n(), r()); });
2700
+ u.className = this.theme + "_icon", u.style.position = "absolute", u.style.right = "0", u.style.top = "0", u.style.bottom = "0", u.style.width = "20px", u.addEventListener("mousedown", function (e) { e.preventDefault(), l.pc ? (l.focus(), s()) : (n(), r()); });
2590
2701
  var h = document.createElement("div");
2591
2702
  h.className = this.theme + "_list", h.style.display = "none", h.style.position = "absolute", h.style.zIndex = this.listZIndex;
2592
2703
  var f = document.createElement("input");
2593
- f.type = "hidden", f.name = this.name, f.searchable = d, this._b = f;
2704
+ f.type = "hidden", f.name = this.name, f.searchable = d, this.sc = f;
2594
2705
  var m = document.createElement("input");
2595
- return m.type = "text", m.className = this.theme + "_input", m.disabled = this.Ub, m.addEventListener("click", function (e) { s(); }), m.addEventListener("focus", function (t) { e("all"); }), m.addEventListener("input", function (t) { e(); }), m.addEventListener("blur", function (e) { m.removeAttribute("readonly"), n(); }), m.addEventListener("keydown", function (e) {
2596
- if (l.Xb) {
2706
+ return m.type = "text", m.className = this.theme + "_input", m.disabled = this.lc, m.addEventListener("click", function (e) { s(); }), m.addEventListener("focus", function (t) { e("all"); }), m.addEventListener("input", function (t) { e(); }), m.addEventListener("blur", function (e) { m.removeAttribute("readonly"), n(); }), m.addEventListener("keydown", function (e) {
2707
+ if (l.pc) {
2597
2708
  if ("Enter" === e.key)
2598
2709
  return;
2599
2710
  if ("Esc" === e.key || "Escape" === e.key)
@@ -2601,24 +2712,24 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2601
2712
  s();
2602
2713
  }
2603
2714
  if ("ArrowDown" === e.key) {
2604
- var i = d.$b.indexOf(d.Wb);
2605
- i + 1 < d.$b.length && (d.Wb = d.$b[i + 1]), t();
2715
+ var i = d.o.indexOf(d.oc);
2716
+ i + 1 < d.o.length && (d.oc = d.o[i + 1]), t();
2606
2717
  }
2607
2718
  else if ("ArrowUp" === e.key) {
2608
- var i = d.$b.indexOf(d.Wb);
2609
- i - 1 >= 0 && (d.Wb = d.$b[i - 1]), t();
2719
+ var i = d.o.indexOf(d.oc);
2720
+ i - 1 >= 0 && (d.oc = d.o[i - 1]), t();
2610
2721
  }
2611
2722
  else
2612
- "Enter" === e.key ? l.Wb ? (e.stopPropagation(), a(l.Wb)) : (e.stopPropagation(), n(), r()) : "Esc" !== e.key && "Escape" !== e.key || (e.stopPropagation(), n(), r());
2613
- }), this.Yb = m, this.Zb = h, this.Vb || (this.Vb = this.data[0], this.Vb && (m.value = this.Vb.name)), c.appendChild(m), c.appendChild(u), c.appendChild(f), c.appendChild(h), c;
2614
- }, d.prototype.bc = function () { this.dc(), this.Vb ? this.Yb.value = this.Vb.name : (this.Yb.value = "", this.cc(!0)); }, d.prototype.focus = function () { this.Xb = !0, this.Yb.setAttribute("readonly", "readonly"), this.Yb.focus(), this.bc(); }, d.prototype.dc = function () { this.Zb.style.display = "none"; }, d.prototype.cc = function (e) {
2615
- if (this._b.value = this.selected ? this.selected.id : null, this.Vb ? this.Yb.value = this.Vb.name : this.Yb.value = "", "function" == typeof this.onSelect) {
2723
+ "Enter" === e.key ? l.oc ? (e.stopPropagation(), a(l.oc)) : (e.stopPropagation(), n(), r()) : "Esc" !== e.key && "Escape" !== e.key || (e.stopPropagation(), n(), r());
2724
+ }), this.qc = m, this.rc = h, this.nc || (this.nc = this.data[0], this.nc && (m.value = this.nc.name)), c.appendChild(m), c.appendChild(u), c.appendChild(f), c.appendChild(h), c;
2725
+ }, d.prototype.tc = function () { this.p(), this.nc ? this.qc.value = this.nc.name : (this.qc.value = "", this.uc(!0)); }, d.prototype.focus = function () { this.pc = !0, this.qc.setAttribute("readonly", "readonly"), this.qc.focus(), this.tc(); }, d.prototype.p = function () { this.rc.style.display = "none"; }, d.prototype.uc = function (e) {
2726
+ if (this.sc.value = this.selected ? this.selected.id : null, this.nc ? this.qc.value = this.nc.name : this.qc.value = "", "function" == typeof this.onSelect) {
2616
2727
  var t = { control: this, ui: e };
2617
2728
  this.onSelect(t);
2618
2729
  }
2619
2730
  };
2620
2731
  var c = function (e) {
2621
- this.form = null, this.item = null, this.data = null, this.name = null, this.theme = "edit_table_default", this.onInput = null, this.nav = {}, this.ec = null, this.Kb = [], e = e || {};
2732
+ this.form = null, this.item = null, this.data = null, this.name = null, this.theme = "edit_table_default", this.onInput = null, this.nav = {}, this.vc = null, this.cc = [], e = e || {};
2622
2733
  for (var t in e)
2623
2734
  this[t] = e[t];
2624
2735
  };
@@ -2629,11 +2740,11 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2629
2740
  i.type = "hidden", i.name = e.name, i.table = this, t.appendChild(i);
2630
2741
  var a = document.createElement("div");
2631
2742
  a.className = this.theme + "_table";
2632
- var n = this.fc();
2743
+ var n = this.wc();
2633
2744
  a.appendChild(n);
2634
- var o = e.gc({});
2745
+ var o = e.xc({});
2635
2746
  o.spacer = !0;
2636
- var r = this.hc(o);
2747
+ var r = this.yc(o);
2637
2748
  r.classList.add(e.theme + "_spacer"), a.appendChild(r);
2638
2749
  var s = document.createElement("div");
2639
2750
  s.className = e.theme + "_tbody", a.appendChild(s), t.appendChild(a);
@@ -2647,18 +2758,18 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2647
2758
  var n = {};
2648
2759
  n.result = e.form.serialize(), n.value = {}, i(n), a = n.value;
2649
2760
  }
2650
- var o = e.gc(a);
2651
- e.Kb.push(o), e.ic(), e.jc();
2761
+ var o = e.xc(a);
2762
+ e.cc.push(o), e.zc(), e.Ac();
2652
2763
  }
2653
2764
  }), this.nav.plus = c, d.appendChild(c), t.appendChild(d), t;
2654
- }, c.prototype.fc = function () { var e = this, t = document.createElement("div"); return t.classList.add(this.theme + "_row"), t.classList.add(this.theme + "_header"), this.item.columns.forEach(function (i) { var a = document.createElement("div"); a.classList.add(e.theme + "_cell"), a.innerText = i.name, t.appendChild(a); }), t; }, c.prototype.kc = function () { var e = this.item.max || 0; return !!(e && this.Kb.length >= e); }, c.prototype.save = function () { var e = this, t = []; return e.Kb.forEach(function (e) { var i = {}; e.cells.forEach(function (e) { i[e.id] = e.value; }), t.push(i); }), t; }, c.prototype.load = function (e) {
2765
+ }, c.prototype.wc = function () { var e = this, t = document.createElement("div"); return t.classList.add(this.theme + "_row"), t.classList.add(this.theme + "_header"), this.item.columns.forEach(function (i) { var a = document.createElement("div"); a.classList.add(e.theme + "_cell"), a.innerText = i.name, t.appendChild(a); }), t; }, c.prototype.Bc = function () { var e = this.item.max || 0; return !!(e && this.cc.length >= e); }, c.prototype.save = function () { var e = this, t = []; return e.cc.forEach(function (e) { var i = {}; e.cells.forEach(function (e) { i[e.id] = e.value; }), t.push(i); }), t; }, c.prototype.load = function (e) {
2655
2766
  if ("[object Array]" !== Object.prototype.toString.call(e))
2656
2767
  throw new Error("Array expected");
2657
- this.data = e, this.lc(), this.ic();
2658
- }, c.prototype.nc = function () { this.disabled ? this.nav.main.classList.add(this.theme + "_disabled") : this.nav.main.classList.remove(this.theme + "_disabled"), this.kc() ? this.nav.plus.classList.add(this.theme + "_plus_max") : this.nav.plus.classList.remove(this.theme + "_plus_max"); }, c.prototype.lc = function () { var e = this; this.Kb = [], this.data.forEach(function (t) { var i = e.gc(t); e.Kb.push(i); }); }, c.prototype.oc = function (e) { var t = this, i = t.Kb.indexOf(e); t.Kb.splice(i, 1); }, c.prototype.gc = function (e) {
2768
+ this.data = e, this.Cc(), this.zc();
2769
+ }, c.prototype.Dc = function () { this.disabled ? this.nav.main.classList.add(this.theme + "_disabled") : this.nav.main.classList.remove(this.theme + "_disabled"), this.Bc() ? this.nav.plus.classList.add(this.theme + "_plus_max") : this.nav.plus.classList.remove(this.theme + "_plus_max"); }, c.prototype.Cc = function () { var e = this; this.cc = [], this.data.forEach(function (t) { var i = e.xc(t); e.cc.push(i); }); }, c.prototype.Ec = function (e) { var t = this, i = t.cc.indexOf(e); t.cc.splice(i, 1); }, c.prototype.xc = function (e) {
2659
2770
  var t = this, i = {};
2660
2771
  return i.data = e, i.cells = [], t.item.columns.forEach(function (a) {
2661
- var n = a.id, o = e[n], r = t.pc(a);
2772
+ var n = a.id, o = e[n], r = t.Fc(a);
2662
2773
  if ("undefined" == typeof o)
2663
2774
  if ("text" === r)
2664
2775
  o = "";
@@ -2671,19 +2782,19 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2671
2782
  var l = {};
2672
2783
  l.id = n, l.value = o, l.type = r, l.data = a, i.cells.push(l);
2673
2784
  }), i;
2674
- }, c.prototype.pc = function (e) { var t = e.type; return t || (t = e.options ? "select" : "text"), t; }, c.prototype.ic = function () {
2785
+ }, c.prototype.Fc = function (e) { var t = e.type; return t || (t = e.options ? "select" : "text"), t; }, c.prototype.zc = function () {
2675
2786
  var e = this;
2676
- if (this.nav.body.innerHTML = "", this.nav.after.innerHTML = "", this.Kb.forEach(function (t) { var i = e.hc(t); e.nav.body.appendChild(i); }), 0 === this.Kb.length) {
2677
- var t = e.qc();
2787
+ if (this.nav.body.innerHTML = "", this.nav.after.innerHTML = "", this.cc.forEach(function (t) { var i = e.yc(t); e.nav.body.appendChild(i); }), 0 === this.cc.length) {
2788
+ var t = e.Gc();
2678
2789
  e.nav.after.appendChild(t);
2679
2790
  }
2680
- this.nc();
2681
- }, c.prototype.qc = function () { var e = document.createElement("div"); return e.className = this.theme + "_empty", e; }, c.prototype.hc = function (e) {
2791
+ this.Dc();
2792
+ }, c.prototype.Gc = function () { var e = document.createElement("div"); return e.className = this.theme + "_empty", e; }, c.prototype.yc = function (e) {
2682
2793
  var t = this, i = document.createElement("div");
2683
2794
  i.className = t.theme + "_row", e.cells.forEach(function (a) {
2684
2795
  var n = document.createElement("div");
2685
2796
  n.className = t.theme + "_cell";
2686
- var o = t.rc(a);
2797
+ var o = t.Hc(a);
2687
2798
  if (e.spacer) {
2688
2799
  var r = document.createElement("div");
2689
2800
  r.style.height = "0px", r.style.overflow = "hidden", r.appendChild(o), n.appendChild(r);
@@ -2695,22 +2806,22 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function (D
2695
2806
  var a = document.createElement("div");
2696
2807
  a.classList.add(t.theme + "_cell"), a.classList.add(t.theme + "_rowaction");
2697
2808
  var n = document.createElement("span");
2698
- return n.className = this.theme + "_delete", n.addEventListener("click", function (i) { t.disabled || (t.oc(e), t.ic(), t.jc()); }), e.spacer || a.appendChild(n), i.appendChild(a), i;
2699
- }, c.prototype.jc = function () {
2809
+ return n.className = this.theme + "_delete", n.addEventListener("click", function (i) { t.disabled || (t.Ec(e), t.zc(), t.Ac()); }), e.spacer || a.appendChild(n), i.appendChild(a), i;
2810
+ }, c.prototype.Ac = function () {
2700
2811
  var e = this;
2701
2812
  if ("function" == typeof e.onInput) {
2702
2813
  var t = {};
2703
2814
  e.onInput(t);
2704
2815
  }
2705
- }, c.prototype.rc = function (e) {
2816
+ }, c.prototype.Hc = function (e) {
2706
2817
  var t = this, i = e.type;
2707
2818
  if ("text" === i || "number" === i) {
2708
2819
  var a = document.createElement("input");
2709
- return a.type = i, t.disabled && (a.disabled = !0), e.value && (a.value = e.value), a.addEventListener("keyup", function (a) { "number" === i ? e.value = Number(this.value) : e.value = this.value, t.jc(); }), a;
2820
+ return a.type = i, t.disabled && (a.disabled = !0), e.value && (a.value = e.value), a.addEventListener("keyup", function (a) { "number" === i ? e.value = Number(this.value) : e.value = this.value, t.Ac(); }), a;
2710
2821
  }
2711
2822
  if ("select" === i) {
2712
2823
  var n = document.createElement("select");
2713
- return t.disabled && (n.disabled = !0), e.data.options.forEach(function (t) { var i = document.createElement("option"); i.innerText = t.name, i.value = t.id, i.Tb = t.id, n.appendChild(i), e.value === t.id && i.setAttribute("selected", !0); }), n.addEventListener("change", function (i) { var a = n.options[n.selectedIndex]; a && "undefined" != typeof a.Tb && (e.value = a.Tb), t.jc(); }), n;
2824
+ return t.disabled && (n.disabled = !0), e.data.options.forEach(function (t) { var i = document.createElement("option"); i.innerText = t.name, i.value = t.id, i.kc = t.id, n.appendChild(i), e.value === t.id && i.setAttribute("selected", !0); }), n.addEventListener("change", function (i) { var a = n.options[n.selectedIndex]; a && "undefined" != typeof a.kc && (e.value = a.kc), t.Ac(); }), n;
2714
2825
  }
2715
2826
  throw new Error("Unsupported item type: " + i);
2716
2827
  }, c.prototype.focus = function () { };
@@ -2721,9 +2832,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2721
2832
  if ("undefined" == typeof DayPilot.Month || !DayPilot.Month.events) {
2722
2833
  var e = {};
2723
2834
  e.Month = function (t, i) {
2724
- this.v = "2023.1.450-lite", this.nav = {};
2835
+ this.v = "2023.2.457-lite", this.nav = {};
2725
2836
  var a = this;
2726
- this.id = t, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventHeight = 25, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.hideUntilInit = !0, this.lineSpace = 1, this.locale = "en-us", this.showToolTip = !0, this.startDate = new DayPilot.Date, this.theme = null, this.visible = !0, this.weekStarts = 1, this.width = "100%", this.xssProtection = "Enabled", this.afterRender = function () { }, this.cellHeaderClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.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.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.t = 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.u(), a.sc(), a.H(), "Full" === e.UpdateType && (a.tc(), a.uc()), a.M(), a.show(), a.N(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var i = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(i(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) {
2837
+ this.id = t, this.isMonth = !0, this.api = 2, this.backendUrl = null, this.cellHeaderHeight = 24, this.cellHeight = 100, this.contextMenu = null, this.cssClassPrefix = "month_default", this.eventBarVisible = !0, this.eventHeight = 25, this.eventsLoadMethod = "GET", this.headerHeight = 30, this.hideUntilInit = !0, this.lineSpace = 1, this.locale = "en-us", this.showToolTip = !0, this.startDate = new DayPilot.Date, this.theme = null, this.visible = !0, this.weekStarts = 1, this.width = "100%", this.xssProtection = "Enabled", this.afterRender = function () { }, this.cellHeaderClickHandling = "Enabled", this.eventClickHandling = "Enabled", this.eventDeleteHandling = "Disabled", this.eventMoveHandling = "Update", this.eventResizeHandling = "Update", this.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.cellEvents = [], this.elements = {}, this.elements.events = [], this.cache = {}, this.T = 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.U(), a.Ic(), a.ba(), "Full" === e.UpdateType && (a.Jc(), a.Kc()), a.ga(), a.show(), a.ha(), void a.fireAfterRenderDetached(e.CallBackData, !0)); }, this.fireAfterRenderDetached = function (e, t) { var i = function (e, t) { return function () { a.afterRender && a.afterRender(e, t); }; }; window.setTimeout(i(e, t), 0); }, this.lineHeight = function () { return this.eventHeight + this.lineSpace; }, this.events = {}, this.events.add = function (e) {
2727
2838
  var t = null;
2728
2839
  if (e instanceof DayPilot.Event)
2729
2840
  t = e.data;
@@ -2732,7 +2843,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2732
2843
  throw "DayPilot.Month.events.add() expects an object or DayPilot.Event instance.";
2733
2844
  t = e;
2734
2845
  }
2735
- a.events.list || (a.events.list = []), a.events.list.push(t), a.update(), a.V.notify();
2846
+ a.events.list || (a.events.list = []), a.events.list.push(t), a.update(), a.pa.notify();
2736
2847
  }, this.events.find = function (e) {
2737
2848
  if (!a.events.list)
2738
2849
  return null;
@@ -2752,8 +2863,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2752
2863
  a.events.list.splice(i, 1, e);
2753
2864
  }
2754
2865
  }
2755
- a.update(), a.V.notify();
2756
- }, this.events.remove = function (e) { var t = DayPilot.indexOf(a.events.list, e.data); a.events.list.splice(t, 1), a.update(), a.V.notify(); }, this.events.load = function (e, t, i) {
2866
+ a.update(), a.pa.notify();
2867
+ }, this.events.remove = function (e) { var t = DayPilot.indexOf(a.events.list, e.data); a.events.list.splice(t, 1), a.update(), a.pa.notify(); }, this.events.load = function (e, t, i) {
2757
2868
  var n = function (e) { var t = {}; t.exception = e.exception, t.request = e.request, "function" == typeof i && i(t); }, o = function (e) {
2758
2869
  var i, o = e.request;
2759
2870
  try {
@@ -2767,7 +2878,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2767
2878
  var s = {};
2768
2879
  if (s.preventDefault = function () { this.preventDefault.value = !0; }, s.data = i, "function" == typeof t && t(s), s.preventDefault.value)
2769
2880
  return;
2770
- a.events.list = i, a.da && a.update();
2881
+ a.events.list = i, a.ya && a.update();
2771
2882
  }
2772
2883
  };
2773
2884
  if (a.eventsLoadMethod && "POST" === a.eventsLoadMethod.toUpperCase())
@@ -2777,13 +2888,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2777
2888
  r += r.indexOf("?") > -1 ? "&" + s : "?" + s, DayPilot.Http.ajax({ "method": "GET", "url": r, "success": o, "error": n });
2778
2889
  }
2779
2890
  }, this.update = function (e) {
2780
- if (a.Ea(e), this.da && this.cells) {
2781
- a.u(), a.sc(), a.H(), a.tc(), a.uc(), a.M(), a.F(), a.N(), this.visible ? this.show() : this.hide();
2891
+ if (a.Za(e), this.ya && this.cells) {
2892
+ a.U(), a.Ic(), a.ba(), a.Jc(), a.Kc(), a.ga(), a.s(), a.ha(), this.visible ? this.show() : this.hide();
2782
2893
  }
2783
- }, this.Ha = null, this.Ea = function (e) {
2894
+ }, this.ab = null, this.Za = function (e) {
2784
2895
  if (e) {
2785
2896
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? a.events.list = e.list : a.events.list = e; } } };
2786
- this.Ha = t;
2897
+ this.ab = t;
2787
2898
  for (var i in e)
2788
2899
  if (t[i]) {
2789
2900
  var n = t[i];
@@ -2792,14 +2903,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2792
2903
  else
2793
2904
  a[i] = e[i];
2794
2905
  }
2795
- }, this.Ia = function () {
2796
- var e = this.Ha;
2906
+ }, this.bb = function () {
2907
+ var e = this.ab;
2797
2908
  for (var t in e) {
2798
2909
  var i = e[t];
2799
2910
  i.postInit && i.postInit();
2800
2911
  }
2801
- }, this.Ka = {}, this.Ka.events = [], this.La = function (e) {
2802
- var t = this.Ka.events, i = this.events.list[e], a = {};
2912
+ }, this.db = {}, this.db.events = [], this.eb = function (e) {
2913
+ var t = this.db.events, i = this.events.list[e], a = {};
2803
2914
  for (var n in i)
2804
2915
  a[n] = i[n];
2805
2916
  if ("function" == typeof this.onBeforeEventRender) {
@@ -2807,14 +2918,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2807
2918
  o.data = a, this.onBeforeEventRender(o);
2808
2919
  }
2809
2920
  t[e] = a;
2810
- }, this.H = function () {
2921
+ }, this.ba = function () {
2811
2922
  var e = this.events.list;
2812
2923
  if (e) {
2813
2924
  if (!DayPilot.isArray(e))
2814
2925
  throw new DayPilot.Exception("DayPilot.Month.events.list expects an array object. You supplied: " + typeof e);
2815
2926
  if ("function" == typeof this.onBeforeEventRender)
2816
2927
  for (var t = 0; t < e.length; t++)
2817
- this.La(t);
2928
+ this.eb(t);
2818
2929
  for (var i = 0; i < e.length; i++) {
2819
2930
  var a = e[i];
2820
2931
  if ("object" != typeof a)
@@ -2827,31 +2938,31 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2827
2938
  if (!(n.getTime() > o.getTime()))
2828
2939
  for (var t = 0; t < this.rows.length; t++) {
2829
2940
  var r = this.rows[t], s = new DayPilot.Event(a, this);
2830
- r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.Ka.events[i]));
2941
+ r.belongsHere(s) && (r.events.push(s), "function" == typeof this.onBeforeEventRender && (s.cache = this.db.events[i]));
2831
2942
  }
2832
2943
  }
2833
2944
  for (var l = 0; l < this.rows.length; l++) {
2834
2945
  var r = this.rows[l];
2835
- r.events.sort(this.Ma);
2946
+ r.events.sort(this.fb);
2836
2947
  for (var d = 0; d < this.rows[l].events.length; d++) {
2837
2948
  var c = r.events[d], u = r.getStartColumn(c), h = r.getWidth(c);
2838
2949
  r.putIntoLine(c, u, h, l);
2839
2950
  }
2840
2951
  }
2841
2952
  }
2842
- }, this.u = function () {
2953
+ }, this.U = function () {
2843
2954
  for (var e = 0; e < this.elements.events.length; e++) {
2844
2955
  var t = this.elements.events[e];
2845
2956
  t.event = null, t.click = null, t.parentNode.removeChild(t);
2846
2957
  }
2847
2958
  this.elements.events = [];
2848
- }, this.N = function () { this.vc(); }, this.vc = function () {
2959
+ }, this.ha = function () { this.Lc(); }, this.Lc = function () {
2849
2960
  this.elements.events = [];
2850
2961
  for (var e = 0; e < this.rows.length; e++)
2851
2962
  for (var t = this.rows[e], i = 0; i < t.lines.length; i++)
2852
2963
  for (var a = t.lines[i], n = 0; n < a.length; n++)
2853
- this.ga(a[n]);
2854
- }, this.Ma = function (e, t) {
2964
+ this.Ba(a[n]);
2965
+ }, this.fb = function (e, t) {
2855
2966
  if (!(e && t && e.start && t.start))
2856
2967
  return 0;
2857
2968
  var i = e.start().getTime() - t.start().getTime();
@@ -2887,9 +2998,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2887
2998
  for (var i = this.headerHeight, a = 0; a < e; a++)
2888
2999
  i += this.rows[a].getHeight();
2889
3000
  return i += this.cellHeaderHeight, i += t * this.lineHeight();
2890
- }, this.getDateFromCell = function (e, t) { return this.firstDate.addDays(7 * t + e); }, this.ga = function (t) {
3001
+ }, this.getDateFromCell = function (e, t) { return this.firstDate.addDays(7 * t + e); }, this.Ba = function (t) {
2891
3002
  var i = t.cache || t.data, n = t.part.row, o = t.part.line, r = t.part.colStart, s = t.part.colWidth, l = this.getCellWidth() * r, d = this.getCellWidth() * s, c = this.getEventTop(n, o), u = document.createElement("div");
2892
- u.setAttribute("unselectable", "on"), u.style.height = this.eventHeight + "px", u.className = this.i("_event"), i.cssClass && DayPilot.Util.addClass(u, i.cssClass), t.part.startsHere || DayPilot.Util.addClass(u, this.i("_event_continueleft")), t.part.endsHere || DayPilot.Util.addClass(u, this.i("_event_continueright")), u.event = t, u.style.width = d + "%", u.style.position = "absolute", u.style.left = l + "%", u.style.top = c + "px", this.showToolTip && t.client.toolTip() && (u.title = t.client.toolTip()), u.onclick = a.U, u.oncontextmenu = a.wc, u.onmousedown = function (i) {
3003
+ u.setAttribute("unselectable", "on"), u.style.height = this.eventHeight + "px", u.className = this.J("_event"), i.cssClass && DayPilot.Util.addClass(u, i.cssClass), t.part.startsHere || DayPilot.Util.addClass(u, this.J("_event_continueleft")), t.part.endsHere || DayPilot.Util.addClass(u, this.J("_event_continueright")), u.event = t, u.style.width = d + "%", u.style.position = "absolute", u.style.left = l + "%", u.style.top = c + "px", this.showToolTip && t.client.toolTip() && (u.title = t.client.toolTip()), u.onclick = a.oa, u.oncontextmenu = a.Mc, u.onmousedown = function (i) {
2893
3004
  i = i || window.event;
2894
3005
  var l = i.which || i.button;
2895
3006
  if (i.cancelBubble = !0, i.stopPropagation && i.stopPropagation(), 1 === l)
@@ -2918,19 +3029,19 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2918
3029
  }
2919
3030
  }, u.onmouseleave = function (e) { u.deleteIcon && (u.deleteIcon.style.display = "none"), u.style.cursor = ""; }, u.onmouseenter = function (e) { u.deleteIcon && (u.deleteIcon.style.display = ""); };
2920
3031
  var h = document.createElement("div");
2921
- if (h.setAttribute("unselectable", "on"), h.className = this.i("_event_inner"), "darker" === i.borderColor && i.backColor ? h.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : h.style.borderColor = i.borderColor, i.backColor && (h.style.background = i.backColor, (DayPilot.browser.ie9 || DayPilot.browser.ielt9) && (h.style.filter = "")), i.fontColor && (h.style.color = i.fontColor), h.innerHTML = t.client.html(), u.appendChild(h), t.client.barVisible()) {
3032
+ if (h.setAttribute("unselectable", "on"), h.className = this.J("_event_inner"), "darker" === i.borderColor && i.backColor ? h.style.borderColor = DayPilot.ColorUtil.darker(i.backColor, 2) : h.style.borderColor = i.borderColor, i.backColor && (h.style.background = i.backColor, (DayPilot.browser.ie9 || DayPilot.browser.ielt9) && (h.style.filter = "")), i.fontColor && (h.style.color = i.fontColor), h.innerHTML = t.client.html(), u.appendChild(h), t.client.barVisible()) {
2922
3033
  var f = document.createElement("div");
2923
- f.setAttribute("unselectable", "on"), f.className = this.i("_event_bar"), f.style.position = "absolute";
3034
+ f.setAttribute("unselectable", "on"), f.className = this.J("_event_bar"), f.style.position = "absolute";
2924
3035
  var m = document.createElement("div");
2925
- m.setAttribute("unselectable", "on"), m.className = this.i("_event_bar_inner"), m.style.top = "0%", m.style.height = "100%", i.barColor && (m.style.backgroundColor = i.barColor), f.appendChild(m), u.appendChild(f);
3036
+ m.setAttribute("unselectable", "on"), m.className = this.J("_event_bar_inner"), m.style.top = "0%", m.style.height = "100%", i.barColor && (m.style.backgroundColor = i.barColor), f.appendChild(m), u.appendChild(f);
2926
3037
  }
2927
3038
  if (t.client.deleteEnabled()) {
2928
3039
  var p = Math.floor(a.eventHeight / 2 - 9), v = document.createElement("div");
2929
- v.style.position = "absolute", v.style.right = "2px", v.style.top = p + "px", v.style.width = "18px", v.style.height = "18px", v.className = a.i("_event_delete"), v.onmousedown = function (e) { e.stopPropagation(); }, v.onclick = function (e) { e.stopPropagation(); var t = this.parentNode.event; t && a.X(t); }, v.style.display = "none", u.deleteIcon = v, u.appendChild(v);
3040
+ v.style.position = "absolute", v.style.right = "2px", v.style.top = p + "px", v.style.width = "18px", v.style.height = "18px", v.className = a.J("_event_delete"), v.onmousedown = function (e) { e.stopPropagation(); }, v.onclick = function (e) { e.stopPropagation(); var t = this.parentNode.event; t && a.ra(t); }, v.style.display = "none", u.deleteIcon = v, u.appendChild(v);
2930
3041
  }
2931
3042
  var y = i.areas ? DayPilot.Areas.copy(i.areas) : [];
2932
3043
  DayPilot.Areas.attach(u, t, { "areas": y }), this.elements.events.push(u), this.nav.events.appendChild(u);
2933
- }, this.lastVisibleDayOfMonth = function () { return this.startDate.lastDayOfMonth(); }, this.sc = function () {
3044
+ }, this.lastVisibleDayOfMonth = function () { return this.startDate.lastDayOfMonth(); }, this.Ic = function () {
2934
3045
  "string" == typeof this.startDate && (this.startDate = new DayPilot.Date(this.startDate)), this.startDate = this.startDate.firstDayOfMonth(), this.firstDate = this.startDate.firstDayOfWeek(this.getWeekStart());
2935
3046
  var e, t = (this.startDate, this.lastVisibleDayOfMonth()), i = DayPilot.DateUtil.daysDiff(this.firstDate, t) + 1;
2936
3047
  e = Math.ceil(i / 7), this.days = 7 * e, this.rows = [];
@@ -2958,9 +3069,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
2958
3069
  for (var e = this.headerHeight, t = 0; t < this.rows.length; t++)
2959
3070
  e += this.rows[t].getHeight();
2960
3071
  return e;
2961
- }, this.getWidth = function (e, t) { return 7 * t.y + t.x - (7 * e.y + e.x) + 1; }, this.getMinCoords = function (e, t) { return 7 * e.y + e.x < 7 * t.y + t.x ? e : t; }, this.i = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.ia = function () {
3072
+ }, this.getWidth = function (e, t) { return 7 * t.y + t.x - (7 * e.y + e.x) + 1; }, this.getMinCoords = function (e, t) { return 7 * e.y + e.x < 7 * t.y + t.x ? e : t; }, this.J = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.Da = function () {
2962
3073
  var t = this.nav.top;
2963
- t.setAttribute("unselectable", "on"), t.style.MozUserSelect = "none", t.style.KhtmlUserSelect = "none", t.style.WebkitUserSelect = "none", t.style.position = "relative", this.width && (t.style.width = this.width), t.style.height = this.getHeight() + "px", t.onselectstart = function (e) { return !1; }, this.hideUntilInit && (t.style.visibility = "hidden"), this.visible || (t.style.display = "none"), t.className = this.i("_main");
3074
+ t.setAttribute("unselectable", "on"), t.style.MozUserSelect = "none", t.style.KhtmlUserSelect = "none", t.style.WebkitUserSelect = "none", t.style.position = "relative", this.width && (t.style.width = this.width), t.style.height = this.getHeight() + "px", t.onselectstart = function (e) { return !1; }, this.hideUntilInit && (t.style.visibility = "hidden"), this.visible || (t.style.display = "none"), t.className = this.J("_main");
2964
3075
  var i = document.createElement("div");
2965
3076
  this.nav.cells = i, i.style.position = "absolute", i.style.left = "0px", i.style.right = "0px", i.setAttribute("unselectable", "on"), t.appendChild(i);
2966
3077
  var n = document.createElement("div");
@@ -3007,7 +3118,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3007
3118
  e.timeRangeSelecting.from = { x: m.x, y: m.y }, e.timeRangeSelecting.width = o, e.timeRangeSelecting.moved = !0, a.drawShadow(m.x, m.y, 0, o, 0, null);
3008
3119
  }
3009
3120
  };
3010
- }, this.M = function () {
3121
+ }, this.ga = function () {
3011
3122
  this.nav.top.style.height = this.getHeight() + "px";
3012
3123
  for (var e = 0; e < this.cells.length; e++)
3013
3124
  for (var t = 0; t < this.cells[e].length; t++)
@@ -3027,7 +3138,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3027
3138
  for (var t = DayPilot.DateUtil.daysDiff(this.firstDate, e), i = { x: 0, y: 0 }; t >= 7;)
3028
3139
  i.y++, t -= 7;
3029
3140
  return i.x = t, i;
3030
- }, this.uc = function () {
3141
+ }, this.Kc = function () {
3031
3142
  var e = document.createElement("div");
3032
3143
  e.oncontextmenu = function () { return !1; }, this.nav.cells.appendChild(e), this.cells = [];
3033
3144
  for (var t = 0; t < this.getColCount(); t++) {
@@ -3035,31 +3146,32 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3035
3146
  var i = document.createElement("div");
3036
3147
  i.setAttribute("unselectable", "on"), i.style.position = "absolute", i.style.left = this.getCellWidth() * t + "%", i.style.width = this.getCellWidth() + "%", i.style.top = "0px", i.style.height = this.headerHeight + "px";
3037
3148
  var a = t + this.getWeekStart();
3038
- a > 6 && (a -= 7), i.className = this.i("_header");
3149
+ a > 6 && (a -= 7), i.className = this.J("_header");
3039
3150
  var o = document.createElement("div");
3040
- o.setAttribute("unselectable", "on"), o.innerHTML = n.locale().dayNames[a], i.appendChild(o), o.style.position = "absolute", o.style.top = "0px", o.style.bottom = "0px", o.style.left = "0px", o.style.right = "0px", o.className = this.i("_header_inner"), o.innerHTML = n.locale().dayNames[a], e.appendChild(i);
3151
+ o.setAttribute("unselectable", "on"), o.innerHTML = n.locale().dayNames[a], i.appendChild(o), o.style.position = "absolute", o.style.top = "0px", o.style.bottom = "0px", o.style.left = "0px", o.style.right = "0px", o.className = this.J("_header_inner"), o.innerHTML = n.locale().dayNames[a], e.appendChild(i);
3041
3152
  for (var r = 0; r < this.rows.length; r++)
3042
- this.xc(t, r, e);
3153
+ this.Nc(t, r, e);
3043
3154
  }
3044
- }, this.tc = function () {
3155
+ }, this.Jc = function () {
3045
3156
  for (var e = 0; e < this.cells.length; e++)
3046
3157
  for (var t = 0; t < this.cells[e].length; t++)
3047
3158
  this.cells[e][t].onclick = null;
3048
3159
  this.nav.cells.innerHTML = "";
3049
- }, this.T = function () { return 2 === a.api; }, this.xc = function (t, i, o) {
3160
+ }, this.na = function () { return 2 === a.api; }, this.Nc = function (t, i, o) {
3050
3161
  var r = this.rows[i], s = this.firstDate.addDays(7 * i + t), l = document.createElement("div");
3051
- if (l.setAttribute("unselectable", "on"), l.style.position = "absolute", l.style.cursor = "default", l.style.left = this.getCellWidth() * t + "%", l.style.width = this.getCellWidth() + "%", l.style.top = this.getRowTop(i) + "px", l.style.height = r.getHeight() + "px", l.className = this.i("_cell"), !this.isWeekend(s)) {
3052
- var d = this.i("_cell_business");
3162
+ if (l.setAttribute("unselectable", "on"), l.style.position = "absolute", l.style.cursor = "default", l.style.left = this.getCellWidth() * t + "%", l.style.width = this.getCellWidth() + "%", l.style.top = this.getRowTop(i) + "px", l.style.height = r.getHeight() + "px",
3163
+ l.className = this.J("_cell"), !this.isWeekend(s)) {
3164
+ var d = this.J("_cell_business");
3053
3165
  DayPilot.Util.addClass(l, d);
3054
3166
  }
3055
3167
  var c = (this.startDate.addMonths(-1).getMonth(), this.startDate.addMonths(1).getMonth(), this.startDate.getMonth(), document.createElement("div"));
3056
- c.setAttribute("unselectable", "on"), l.appendChild(c), c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.top = "0px", c.style.bottom = "0px", c.className = this.i("_cell_inner"), l.onmousedown = function (n) { "Disabled" !== a.timeRangeSelectedHandling && (a.clearShadow(), e.timeRangeSelecting = { "root": a, "x": t, "y": i, "from": { x: t, y: i }, "width": 1 }); }, l.onclick = function () {
3057
- var e = function (e) { var t = new DayPilot.Date(e), i = t.addDays(1); a.k(t, i); };
3168
+ c.setAttribute("unselectable", "on"), l.appendChild(c), c.style.position = "absolute", c.style.left = "0px", c.style.right = "0px", c.style.top = "0px", c.style.bottom = "0px", c.className = this.J("_cell_inner"), l.onmousedown = function (n) { "Disabled" !== a.timeRangeSelectedHandling && (a.clearShadow(), e.timeRangeSelecting = { "root": a, "x": t, "y": i, "from": { x: t, y: i }, "width": 1 }); }, l.onclick = function () {
3169
+ var e = function (e) { var t = new DayPilot.Date(e), i = t.addDays(1); a.L(t, i); };
3058
3170
  if ("Disabled" !== a.timeRangeSelectedHandling)
3059
3171
  return void e(s);
3060
3172
  };
3061
3173
  var u = document.createElement("div");
3062
- u.setAttribute("unselectable", "on"), u.style.height = this.cellHeaderHeight + "px", u.className = this.i("_cell_header"), u.onclick = function (e) {
3174
+ u.setAttribute("unselectable", "on"), u.style.height = this.cellHeaderHeight + "px", u.className = this.J("_cell_header"), u.onclick = function (e) {
3063
3175
  if ("Enabled" === a.cellHeaderClickHandling) {
3064
3176
  e.stopPropagation();
3065
3177
  var t = {};
@@ -3072,12 +3184,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3072
3184
  for (var t = this.headerHeight, i = 0; i < e; i++)
3073
3185
  t += this.rows[i].getHeight();
3074
3186
  return t;
3075
- }, this.q = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.p(); var n = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl && DayPilot.request(this.backendUrl, this.s, n, this.ajaxError); }, this.s = function (e) { a.t(e.responseText); }, this.p = function () { var e = {}; return e.control = "dpm", e.id = this.id, e.v = this.v, e.visibleStart = new DayPilot.Date(this.firstDate), e.visibleEnd = e.visibleStart.addDays(this.days), e.startDate = a.startDate, e.timeFormat = this.timeFormat, e.weekStarts = this.weekStarts, e; }, this.eventClickCallBack = function (e, t) { this.q("EventClick", t, e); }, this.U = function (t) { e.movingEvent = null, e.resizingEvent = null; var i = this, t = t || window.event; t.ctrlKey; t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), a.eventClickSingle(i, t); }, this.eventClickSingle = function (e, t) {
3187
+ }, this.R = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var n = "JSON" + DayPilot.JSON.stringify(a); this.backendUrl && DayPilot.request(this.backendUrl, this.S, n, this.ajaxError); }, this.S = function (e) { a.T(e.responseText); }, this.Q = function () { var e = {}; return e.control = "dpm", e.id = this.id, e.v = this.v, e.visibleStart = new DayPilot.Date(this.firstDate), e.visibleEnd = e.visibleStart.addDays(this.days), e.startDate = a.startDate, e.timeFormat = this.timeFormat, e.weekStarts = this.weekStarts, e; }, this.eventClickCallBack = function (e, t) { this.R("EventClick", t, e); }, this.oa = function (t) { e.movingEvent = null, e.resizingEvent = null; var i = this, t = t || window.event; t.ctrlKey; t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), a.eventClickSingle(i, t); }, this.eventClickSingle = function (e, t) {
3076
3188
  var i = e.event;
3077
3189
  if (i.client.clickEnabled())
3078
- if (a.T()) {
3190
+ if (a.na()) {
3079
3191
  var n = {};
3080
- if (n.e = i, n.control = a, n.div = e, n.originalEvent = t, n.meta = t.metaKey, n.ctrl = t.ctrlKey, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onEventClick && (a.V.apply(function () { a.onEventClick(n); }), n.preventDefault.value))
3192
+ if (n.e = i, n.control = a, n.div = e, n.originalEvent = t, n.meta = t.metaKey, n.ctrl = t.ctrlKey, n.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onEventClick && (a.pa.apply(function () { a.onEventClick(n); }), n.preventDefault.value))
3081
3193
  return;
3082
3194
  switch (a.eventClickHandling) {
3083
3195
  case "CallBack":
@@ -3087,7 +3199,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3087
3199
  var o = i.client.contextMenu();
3088
3200
  o ? o.show(i) : a.contextMenu && a.contextMenu.show(i);
3089
3201
  }
3090
- "function" == typeof a.onEventClicked && a.V.apply(function () { a.onEventClicked(n); });
3202
+ "function" == typeof a.onEventClicked && a.pa.apply(function () { a.onEventClicked(n); });
3091
3203
  }
3092
3204
  else
3093
3205
  switch (a.eventClickHandling) {
@@ -3096,7 +3208,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3096
3208
  break;
3097
3209
  case "JavaScript": a.onEventClick(i);
3098
3210
  }
3099
- }, this.wc = function () { var e = this; return a.W(e.event), !1; }, this.W = function (e) {
3211
+ }, this.Mc = function () { var e = this; return a.qa(e.event), !1; }, this.qa = function (e) {
3100
3212
  if (this.event = e, !e.client.rightClickEnabled())
3101
3213
  return !1;
3102
3214
  var t = {};
@@ -3108,10 +3220,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3108
3220
  }
3109
3221
  return "function" == typeof a.onEventRightClicked && a.onEventRightClicked(t), !1;
3110
3222
  }
3111
- }, this.X = function (e) {
3112
- if (a.T()) {
3223
+ }, this.ra = function (e) {
3224
+ if (a.na()) {
3113
3225
  var t = {};
3114
- if (t.e = e, t.control = a, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onEventDelete && (a.V.apply(function () { a.onEventDelete(t); }), t.preventDefault.value))
3226
+ if (t.e = e, t.control = a, t.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onEventDelete && (a.pa.apply(function () { a.onEventDelete(t); }), t.preventDefault.value))
3115
3227
  return;
3116
3228
  switch (a.eventDeleteHandling) {
3117
3229
  case "CallBack":
@@ -3122,7 +3234,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3122
3234
  break;
3123
3235
  case "Update": a.events.remove(e);
3124
3236
  }
3125
- "function" == typeof a.onEventDeleted && a.V.apply(function () { a.onEventDeleted(t); });
3237
+ "function" == typeof a.onEventDeleted && a.pa.apply(function () { a.onEventDeleted(t); });
3126
3238
  }
3127
3239
  else
3128
3240
  switch (a.eventDeleteHandling) {
@@ -3134,22 +3246,22 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3134
3246
  break;
3135
3247
  case "JavaScript": a.onEventDelete(e);
3136
3248
  }
3137
- }, this.eventDeleteCallBack = function (e, t) { this.q("EventDelete", t, e); }, this.eventDeletePostBack = function (e, t) { this.o("EventDelete", t, e); }, this.eventMoveCallBack = function (e, t, i, a, n) {
3249
+ }, this.eventDeleteCallBack = function (e, t) { this.R("EventDelete", t, e); }, this.eventDeletePostBack = function (e, t) { this.P("EventDelete", t, e); }, this.eventMoveCallBack = function (e, t, i, a, n) {
3138
3250
  if (!t)
3139
3251
  throw "newStart is null";
3140
3252
  if (!i)
3141
3253
  throw "newEnd is null";
3142
3254
  var o = {};
3143
- o.e = e, o.newStart = t, o.newEnd = i, o.position = n, this.q("EventMove", a, o);
3144
- }, this.j = function (e, t, i, n, o, r) {
3255
+ o.e = e, o.newStart = t, o.newEnd = i, o.position = n, this.R("EventMove", a, o);
3256
+ }, this.K = function (e, t, i, n, o, r) {
3145
3257
  var s = e.start().getTimePart(), l = e.end().getDatePart();
3146
3258
  l !== e.end() && (l = l.addDays(1));
3147
3259
  var d = DayPilot.DateUtil.diff(e.end(), l), c = this.getDateFromCell(t, i);
3148
3260
  c = c.addDays(-n);
3149
3261
  var u = DayPilot.DateUtil.daysSpan(e.start(), e.end()) + 1, h = c.addDays(u), f = c.addTime(s), m = h.addTime(d);
3150
- if (a.T()) {
3262
+ if (a.na()) {
3151
3263
  var p = {};
3152
- if (p.e = e, p.control = a, p.newStart = f, p.newEnd = m, p.ctrl = o.ctrlKey, p.shift = o.shiftKey, p.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onEventMove && (a.V.apply(function () { a.onEventMove(p); }), p.preventDefault.value))
3264
+ if (p.e = e, p.control = a, p.newStart = f, p.newEnd = m, p.ctrl = o.ctrlKey, p.shift = o.shiftKey, p.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onEventMove && (a.pa.apply(function () { a.onEventMove(p); }), p.preventDefault.value))
3153
3265
  return;
3154
3266
  switch (a.eventMoveHandling) {
3155
3267
  case "CallBack":
@@ -3157,7 +3269,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3157
3269
  break;
3158
3270
  case "Update": e.start(f), e.end(m), a.events.update(e);
3159
3271
  }
3160
- "function" == typeof a.onEventMoved && a.V.apply(function () { a.onEventMoved(p); });
3272
+ "function" == typeof a.onEventMoved && a.pa.apply(function () { a.onEventMoved(p); });
3161
3273
  }
3162
3274
  else
3163
3275
  switch (a.eventMoveHandling) {
@@ -3172,14 +3284,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3172
3284
  if (!i)
3173
3285
  throw "newEnd is null";
3174
3286
  var n = {};
3175
- n.e = e, n.newStart = t, n.newEnd = i, this.q("EventResize", a, n);
3176
- }, this.f = function (e, t, i) {
3287
+ n.e = e, n.newStart = t, n.newEnd = i, this.R("EventResize", a, n);
3288
+ }, this.I = function (e, t, i) {
3177
3289
  var n = e.start().getTimePart(), o = e.end().getDatePart();
3178
3290
  o !== e.end() && (o = o.addDays(1));
3179
3291
  var r = DayPilot.DateUtil.diff(e.end(), o), s = this.getDateFromCell(t.x, t.y), l = s.addDays(i), d = s.addTime(n), c = l.addTime(r);
3180
- if (a.T()) {
3292
+ if (a.na()) {
3181
3293
  var u = {};
3182
- if (u.e = e, u.control = a, u.newStart = d, u.newEnd = c, u.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onEventResize && (a.V.apply(function () { a.onEventResize(u); }), u.preventDefault.value))
3294
+ if (u.e = e, u.control = a, u.newStart = d, u.newEnd = c, u.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onEventResize && (a.pa.apply(function () { a.onEventResize(u); }), u.preventDefault.value))
3183
3295
  return;
3184
3296
  switch (a.eventResizeHandling) {
3185
3297
  case "CallBack":
@@ -3187,7 +3299,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3187
3299
  break;
3188
3300
  case "Update": e.start(d), e.end(c), a.events.update(e);
3189
3301
  }
3190
- "function" == typeof a.onEventResized && a.V.apply(function () { a.onEventResized(u); });
3302
+ "function" == typeof a.onEventResized && a.pa.apply(function () { a.onEventResized(u); });
3191
3303
  }
3192
3304
  else
3193
3305
  switch (a.eventResizeHandling) {
@@ -3196,15 +3308,15 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3196
3308
  break;
3197
3309
  case "JavaScript": a.onEventResize(e, d, c);
3198
3310
  }
3199
- }, this.timeRangeSelectedCallBack = function (e, t, i) { var a = {}; a.start = e, a.end = t, this.q("TimeRangeSelected", i, a); }, this.k = function (e, t) {
3200
- if (this.T()) {
3311
+ }, this.timeRangeSelectedCallBack = function (e, t, i) { var a = {}; a.start = e, a.end = t, this.R("TimeRangeSelected", i, a); }, this.L = function (e, t) {
3312
+ if (this.na()) {
3201
3313
  var i = {};
3202
- if (i.control = a, i.start = e, i.end = t, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onTimeRangeSelect && (a.V.apply(function () { a.onTimeRangeSelect(i); }), i.preventDefault.value))
3314
+ if (i.control = a, i.start = e, i.end = t, i.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof a.onTimeRangeSelect && (a.pa.apply(function () { a.onTimeRangeSelect(i); }), i.preventDefault.value))
3203
3315
  return;
3204
3316
  switch (a.timeRangeSelectedHandling) {
3205
3317
  case "CallBack": a.timeRangeSelectedCallBack(e, t);
3206
3318
  }
3207
- "function" == typeof a.onTimeRangeSelected && a.V.apply(function () { a.onTimeRangeSelected(i); });
3319
+ "function" == typeof a.onTimeRangeSelected && a.pa.apply(function () { a.onTimeRangeSelected(i); });
3208
3320
  }
3209
3321
  else
3210
3322
  switch (a.timeRangeSelectedHandling) {
@@ -3213,9 +3325,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3213
3325
  break;
3214
3326
  case "JavaScript": a.onTimeRangeSelected(e, t);
3215
3327
  }
3216
- }, this.V = {}, this.V.scope = null, this.V.notify = function () { a.V.scope && a.V.scope["$apply"](); }, this.V.apply = function (e) { e(); }, this.clearSelection = function () { a.clearShadow(); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.q("Command", t, i); }, this.isWeekend = function (e) { return e = new DayPilot.Date(e), 0 === e.dayOfWeek() || 6 === e.dayOfWeek(); }, this.D = {}, this.D.locale = function () { var e = DayPilot.Locale.find(a.locale); return e ? e : DayPilot.Locale.US; }, this.D.E = function () { return "Disabled" !== a.xssProtection; };
3217
- var n = this.D;
3218
- this.debug = function (e, t) { this.debuggingEnabled && (a.debugMessages || (a.debugMessages = []), a.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.dispose = function () { var e = a; e.nav.top && (e.u(), e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top.onmousemove = null, e.nav.top = null); }, this.Ca = function () { e.globalHandlers || (e.globalHandlers = !0, DayPilot.re(document, "mouseup", e.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof a.events.list || !a.events.list); }, this.F = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { a.visible = !0, a.nav.top.style.display = ""; }, this.hide = function () { a.visible = !1, a.nav.top.style.display = "none"; }, this.Ja = function () {
3328
+ }, this.pa = {}, this.pa.scope = null, this.pa.notify = function () { a.pa.scope && a.pa.scope["$apply"](); }, this.pa.apply = function (e) { e(); }, this.clearSelection = function () { a.clearShadow(); }, this.commandCallBack = function (e, t) { var i = {}; i.command = e, this.R("Command", t, i); }, this.isWeekend = function (e) { return e = new DayPilot.Date(e), 0 === e.dayOfWeek() || 6 === e.dayOfWeek(); }, this.Z = {}, this.Z.locale = function () { var e = DayPilot.Locale.find(a.locale); return e ? e : DayPilot.Locale.US; }, this.Z._ = function () { return "Disabled" !== a.xssProtection; };
3329
+ var n = this.Z;
3330
+ this.debug = function (e, t) { this.debuggingEnabled && (a.debugMessages || (a.debugMessages = []), a.debugMessages.push(e), "undefined" != typeof console && console.log(e)); }, this.dispose = function () { var e = a; e.nav.top && (e.U(), e.nav.top.removeAttribute("style"), e.nav.top.removeAttribute("class"), e.nav.top.innerHTML = "", e.nav.top.dp = null, e.nav.top.onmousemove = null, e.nav.top = null); }, this.Xa = function () { e.globalHandlers || (e.globalHandlers = !0, DayPilot.re(document, "mouseup", e.gMouseUp)); }, this.loadFromServer = function () { return !(!this.backendUrl && "function" != typeof WebForm_DoCallback) && ("undefined" == typeof a.events.list || !a.events.list); }, this.s = function () { "hidden" === this.nav.top.style.visibility && (this.nav.top.style.visibility = "visible"); }, this.show = function () { a.visible = !0, a.nav.top.style.display = ""; }, this.hide = function () { a.visible = !1, a.nav.top.style.display = "none"; }, this.cb = function () {
3219
3331
  if (this.id && this.id.tagName)
3220
3332
  this.nav.top = this.id;
3221
3333
  else {
@@ -3224,7 +3336,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3224
3336
  if (this.nav.top = document.getElementById(this.id), !this.nav.top)
3225
3337
  throw "DayPilot.Month: The placeholder element not found: '" + id + "'.";
3226
3338
  }
3227
- }, this.Pa = function () { this.sc(), this.ia(), this.uc(), this.Ca(), this.q("Init"); }, this.va = function (e, t) { return a.D.E() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = this.Ea, this.internal.xssTextHtml = a.va, this.init = function () { return this.Ja(), this.loadFromServer() ? void this.Pa() : (this.sc(), this.H(), this.ia(), this.uc(), this.F(), this.N(), this.Ca(), this.fireAfterRenderDetached(null, !1), this.da = !0, this); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return a.eventBarVisible; } }), this.Ea(i);
3339
+ }, this.ib = function () { this.Ic(), this.Da(), this.Kc(), this.Xa(), this.R("Init"); }, this.Qa = function (e, t) { return a.Z._() ? DayPilot.Util.escapeTextHtml(e, t) : DayPilot.Util.isNullOrUndefined(t) ? DayPilot.Util.isNullOrUndefined(e) ? "" : e : t; }, this.internal = {}, this.internal.loadOptions = this.Za, this.internal.xssTextHtml = a.Qa, this.init = function () { return this.cb(), this.loadFromServer() ? void this.ib() : (this.Ic(), this.ba(), this.Da(), this.Kc(), this.s(), this.ha(), this.Xa(), this.fireAfterRenderDetached(null, !1), this.ya = !0, this); }, this.Init = this.init, Object.defineProperty(this, "durationBarVisible", { get: function () { return a.eventBarVisible; } }), this.Za(i);
3228
3340
  }, e.gMouseUp = function (t) {
3229
3341
  if (e.movingEvent) {
3230
3342
  var i = e.movingEvent;
@@ -3239,7 +3351,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3239
3351
  var a = e.movingEvent.event.calendar, n = e.movingEvent.event, o = a.shadow.start, r = a.shadow.position, s = e.movingEvent.offset;
3240
3352
  a.clearShadow(), e.movingEvent = null;
3241
3353
  var t = t || window.event;
3242
- return a.j(n, o.x, o.y, s, t, r), t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), e.movingEvent = null, !1;
3354
+ return a.K(n, o.x, o.y, s, t, r), t.cancelBubble = !0, t.stopPropagation && t.stopPropagation(), e.movingEvent = null, !1;
3243
3355
  }
3244
3356
  if (e.resizingEvent) {
3245
3357
  var i = e.resizingEvent;
@@ -3252,12 +3364,12 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3252
3364
  if (!i.event.calendar.shadow.start)
3253
3365
  return;
3254
3366
  var a = e.resizingEvent.event.calendar, n = e.resizingEvent.event, o = a.shadow.start, l = a.shadow.width;
3255
- return a.clearShadow(), e.resizingEvent = null, a.f(n, o, l), t.cancelBubble = !0, e.resizingEvent = null, !1;
3367
+ return a.clearShadow(), e.resizingEvent = null, a.I(n, o, l), t.cancelBubble = !0, e.resizingEvent = null, !1;
3256
3368
  }
3257
3369
  if (e.timeRangeSelecting) {
3258
3370
  if (e.timeRangeSelecting.moved) {
3259
3371
  var d = e.timeRangeSelecting, a = d.root, o = new DayPilot.Date(a.getDateFromCell(d.from.x, d.from.y)), c = o.addDays(d.width);
3260
- a.k(o, c), a.clearShadow();
3372
+ a.L(o, c), a.clearShadow();
3261
3373
  }
3262
3374
  e.timeRangeSelecting = null;
3263
3375
  }
@@ -3279,7 +3391,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3279
3391
  e && e.directive("daypilotMonth", ["$parse", function (e) {
3280
3392
  return { "restrict": "E", "template": "<div></div>", "replace": !0, "link": function (t, i, a) {
3281
3393
  var n = new DayPilot.Month(i[0]);
3282
- n.V.scope = t, n.init();
3394
+ n.pa.scope = t, n.init();
3283
3395
  var o = a["id"];
3284
3396
  o && (t[o] = n);
3285
3397
  var r = a["publishAs"];
@@ -3303,14 +3415,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3303
3415
  "undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function () {
3304
3416
  if ("undefined" == typeof DayPilot.Navigator || !DayPilot.Navigator.nav) {
3305
3417
  DayPilot.Navigator = function (e, t) {
3306
- this.v = "2023.1.450-lite";
3418
+ this.v = "2023.2.457-lite";
3307
3419
  var i = this;
3308
- this.id = e, this.api = 2, this.isNavigator = !0, this.autoFocusOnClick = !0, this.weekStarts = "Auto", this.selectMode = "Day", this.titleHeight = 30, this.dayHeaderHeight = 30, this.bound = null, this.cellWidth = 30, this.cellHeight = 30, this.cssClassPrefix = "navigator_default", this.freeHandSelectionEnabled = !1, this.selectionStart = (new DayPilot.Date).getDatePart(), this.selectionEnd = null, this.selectionDay = null, this.showMonths = 1, this.skipMonths = 1, this.command = "navigate", this.year = (new DayPilot.Date).getYear(), this.month = (new DayPilot.Date).getMonth() + 1, this.showWeekNumbers = !1, this.weekNumberAlgorithm = "Auto", this.rowsPerMonth = "Six", this.orientation = "Vertical", this.locale = "en-us", this.rtl = !1, this.visible = !0, this.timeRangeSelectedHandling = "Bind", this.visibleRangeChangedHandling = "Enabled", this.onVisibleRangeChange = null, this.onVisibleRangeChanged = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.nav = {}, this.Ka = {}, this.yc = function () { this.root.dp = this, this.root.className = this.i("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * o.cellWidth() + this.zc()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * o.cellWidth() + this.zc() + "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.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.T = function () { return 2 === i.api; }, this.tc = function () { this.root.innerHTML = ""; }, this.i = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.Ac = function (e, t) { var i = this.i("_" + t); DayPilot.Util.addClass(e, i); }, this.Bc = function (e, t) { var i = this.i("_" + t); DayPilot.Util.removeClass(e, i); }, this.uc = function (e, t) {
3420
+ this.id = e, this.api = 2, this.isNavigator = !0, this.autoFocusOnClick = !0, this.weekStarts = "Auto", this.selectMode = "Day", this.titleHeight = 30, this.dayHeaderHeight = 30, this.bound = null, this.cellWidth = 30, this.cellHeight = 30, this.cssClassPrefix = "navigator_default", this.freeHandSelectionEnabled = !1, this.selectionStart = (new DayPilot.Date).getDatePart(), this.selectionEnd = null, this.selectionDay = null, this.showMonths = 1, this.skipMonths = 1, this.command = "navigate", this.year = (new DayPilot.Date).getYear(), this.month = (new DayPilot.Date).getMonth() + 1, this.showWeekNumbers = !1, this.weekNumberAlgorithm = "Auto", this.rowsPerMonth = "Six", this.orientation = "Vertical", this.locale = "en-us", this.rtl = !1, this.visible = !0, this.timeRangeSelectedHandling = "Bind", this.visibleRangeChangedHandling = "Enabled", this.onVisibleRangeChange = null, this.onVisibleRangeChanged = null, this.onTimeRangeSelect = null, this.onTimeRangeSelected = null, this.nav = {}, this.db = {}, this.Oc = function () { this.root.dp = this, this.root.className = this.J("_main"), "Horizontal" === this.orientation ? (this.root.style.width = this.showMonths * (7 * o.cellWidth() + this.Pc()) + "px", this.root.style.height = 6 * this.cellHeight + this.titleHeight + this.dayHeaderHeight + "px") : this.root.style.width = 7 * o.cellWidth() + this.Pc() + "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.startDate = DayPilot.Date.fromYearMonthDay(this.year, this.month), this.calendars = [], this.selected = [], this.months = []; }, this.na = function () { return 2 === i.api; }, this.Jc = function () { this.root.innerHTML = ""; }, this.J = function (e) { var t = this.theme || this.cssClassPrefix; return t ? t + e : ""; }, this.Qc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.addClass(e, i); }, this.Rc = function (e, t) { var i = this.J("_" + t); DayPilot.Util.removeClass(e, i); }, this.Kc = function (e, t) {
3309
3421
  var a = {};
3310
3422
  a.cells = [], a.days = [], a.weeks = [];
3311
3423
  var n = this.startDate.addMonths(e), r = t.before, s = t.after, l = n.firstDayOfMonth(), d = l.firstDayOfWeek(o.weekStarts()), c = l.addMonths(1), u = DayPilot.DateUtil.daysDiff(d, c), h = "Auto" === this.rowsPerMonth ? Math.ceil(u / 7) : 6;
3312
3424
  a.rowCount = h;
3313
- var f = (new DayPilot.Date).getDatePart(), m = 7 * o.cellWidth() + this.zc();
3425
+ var f = (new DayPilot.Date).getDatePart(), m = 7 * o.cellWidth() + this.Pc();
3314
3426
  a.width = m;
3315
3427
  var p = this.cellHeight * h + this.titleHeight + this.dayHeaderHeight;
3316
3428
  a.height = p;
@@ -3322,14 +3434,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3322
3434
  var y = e > 0 ? i.months[e - 1].top + i.months[e - 1].height : 0;
3323
3435
  a.top = y, a.left = 0;
3324
3436
  }
3325
- v.className = this.i("_month"), v.style.cursor = "default", v.style.MozUserSelect = "none", v.style.KhtmlUserSelect = "none", v.style.WebkitUserSelect = "none", v.month = a, this.root.appendChild(v);
3437
+ v.className = this.J("_month"), v.style.cursor = "default", v.style.MozUserSelect = "none", v.style.KhtmlUserSelect = "none", v.style.WebkitUserSelect = "none", v.month = a, this.root.appendChild(v);
3326
3438
  var g = this.titleHeight + this.dayHeaderHeight, b = document.createElement("div");
3327
- b.style.position = "absolute", b.style.left = "0px", b.style.right = "0px", b.style.top = "0px", b.style.width = o.cellWidth() + "px", b.style.height = this.titleHeight + "px", b.style.lineHeight = this.titleHeight + "px", b.setAttribute("unselectable", "on"), b.className = this.i("_titleleft"), t.left && (b.style.cursor = "pointer", b.innerHTML = "<span>&lt;</span>", b.onclick = this.Cc), v.appendChild(b), this.tl = b;
3439
+ b.style.position = "absolute", b.style.left = "0px", b.style.right = "0px", b.style.top = "0px", b.style.width = o.cellWidth() + "px", b.style.height = this.titleHeight + "px", b.style.lineHeight = this.titleHeight + "px", b.setAttribute("unselectable", "on"), b.className = this.J("_titleleft"), t.left && (b.style.cursor = "pointer", b.innerHTML = "<span>&lt;</span>", b.onclick = this.Sc), v.appendChild(b), this.tl = b;
3328
3440
  var D = document.createElement("div");
3329
- D.style.position = "absolute", D.style.left = o.cellWidth() + "px", D.style.top = "0px", D.style.width = 5 * o.cellWidth() + this.zc() + "px", D.style.height = this.titleHeight + "px", D.style.lineHeight = this.titleHeight + "px", D.setAttribute("unselectable", "on"), D.className = this.i("_title"), D.innerHTML = o.locale().monthNames[n.getMonth()] + " " + n.getYear(), v.appendChild(D), this.ti = D;
3441
+ D.style.position = "absolute", D.style.left = o.cellWidth() + "px", D.style.top = "0px", D.style.width = 5 * o.cellWidth() + this.Pc() + "px", D.style.height = this.titleHeight + "px", D.style.lineHeight = this.titleHeight + "px", D.setAttribute("unselectable", "on"), D.className = this.J("_title"), D.innerHTML = o.locale().monthNames[n.getMonth()] + " " + n.getYear(), v.appendChild(D), this.ti = D;
3330
3442
  var x = document.createElement("div");
3331
- x.style.position = "absolute", x.style.left = 6 * o.cellWidth() + this.zc() + "px", x.style.right = 6 * o.cellWidth() + this.zc() + "px", x.style.top = "0px", x.style.width = o.cellWidth() + "px", x.style.height = this.titleHeight + "px", x.style.lineHeight = this.titleHeight + "px", x.setAttribute("unselectable", "on"), x.className = this.i("_titleright"), t.right && (x.style.cursor = "pointer", x.innerHTML = "<span>&gt;</span>", x.onclick = this.Dc), v.appendChild(x), this.tr = x;
3332
- var w = this.zc();
3443
+ x.style.position = "absolute", x.style.left = 6 * o.cellWidth() + this.Pc() + "px", x.style.right = 6 * o.cellWidth() + this.Pc() + "px", x.style.top = "0px", x.style.width = o.cellWidth() + "px", x.style.height = this.titleHeight + "px", x.style.lineHeight = this.titleHeight + "px", x.setAttribute("unselectable", "on"), x.className = this.J("_titleright"), t.right && (x.style.cursor = "pointer", x.innerHTML = "<span>&gt;</span>", x.onclick = this.Tc), v.appendChild(x), this.tr = x;
3444
+ var w = this.Pc();
3333
3445
  if (this.showWeekNumbers)
3334
3446
  for (var C = 0; C < h; C++) {
3335
3447
  var P = d.addDays(7 * C), _ = null;
@@ -3346,53 +3458,53 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3346
3458
  default: throw "Unknown weekNumberAlgorithm value.";
3347
3459
  }
3348
3460
  var k = document.createElement("div");
3349
- k.style.position = "absolute", k.style.left = "0px", k.style.right = "0px", k.style.top = C * this.cellHeight + g + "px", k.style.width = o.cellWidth() + "px", k.style.height = this.cellHeight + "px", k.style.lineHeight = this.cellHeight + "px", k.setAttribute("unselectable", "on"), k.className = this.i("_weeknumber"), k.innerHTML = "<span>" + _ + "</span>", v.appendChild(k), a.weeks.push(k);
3461
+ k.style.position = "absolute", k.style.left = "0px", k.style.right = "0px", k.style.top = C * this.cellHeight + g + "px", k.style.width = o.cellWidth() + "px", k.style.height = this.cellHeight + "px", k.style.lineHeight = this.cellHeight + "px", k.setAttribute("unselectable", "on"), k.className = this.J("_weeknumber"), k.innerHTML = "<span>" + _ + "</span>", v.appendChild(k), a.weeks.push(k);
3350
3462
  }
3351
3463
  for (var S = 0; S < 7; S++) {
3352
3464
  a.cells[S] = [];
3353
3465
  var k = document.createElement("div");
3354
- k.style.position = "absolute", k.style.left = S * o.cellWidth() + w + "px", k.style.right = S * o.cellWidth() + w + "px", k.style.top = this.titleHeight + "px", k.style.width = o.cellWidth() + "px", k.style.height = this.dayHeaderHeight + "px", k.style.lineHeight = this.dayHeaderHeight + "px", k.setAttribute("unselectable", "on"), k.className = this.i("_dayheader"), k.innerHTML = "<span>" + this.Ec(S) + "</span>", v.appendChild(k), a.days.push(k);
3466
+ k.style.position = "absolute", k.style.left = S * o.cellWidth() + w + "px", k.style.right = S * o.cellWidth() + w + "px", k.style.top = this.titleHeight + "px", k.style.width = o.cellWidth() + "px", k.style.height = this.dayHeaderHeight + "px", k.style.lineHeight = this.dayHeaderHeight + "px", k.setAttribute("unselectable", "on"), k.className = this.J("_dayheader"), k.innerHTML = "<span>" + this.Uc(S) + "</span>", v.appendChild(k), a.days.push(k);
3355
3467
  for (var C = 0; C < h; C++) {
3356
- var P = d.addDays(7 * C + S), M = this.Fc(P) && "none" !== this.Gc(), T = P.firstDayOfMonth() === n, A = P < n, H = P >= n.addMonths(1);
3357
- if ("month" === this.Gc())
3468
+ var P = d.addDays(7 * C + S), M = this.Vc(P) && "none" !== this.Wc(), T = P.firstDayOfMonth() === n, A = P < n, H = P >= n.addMonths(1);
3469
+ if ("month" === this.Wc())
3358
3470
  M = M && T;
3359
- else if ("day" === this.Gc())
3471
+ else if ("day" === this.Wc())
3360
3472
  M = M && (T || r && A || s && H);
3361
- else if ("week" === this.Gc()) {
3473
+ else if ("week" === this.Wc()) {
3362
3474
  var E = P.firstDayOfMonth() === n;
3363
3475
  M = M && (E || r && A || s && H);
3364
3476
  }
3365
3477
  var N = document.createElement("div");
3366
3478
  a.cells[S][C] = N;
3367
- var I = i.Hc(S, C), z = I.x, O = I.y;
3368
- N.day = P, N.x = S, N.y = C, N.left = z, N.top = O, N.isCurrentMonth = T, N.isNextMonth = H, N.isPrevMonth = A, N.showBefore = r, N.showAfter = s, N.className = this.i(T ? "_day" : "_dayother"), i.Ac(N, "cell"), P.getTime() === f.getTime() && T && this.Ac(N, "today"), 0 !== P.dayOfWeek() && 6 !== P.dayOfWeek() || this.Ac(N, "weekend"), N.style.position = "absolute", N.style.left = z + "px", N.style.right = z + "px", N.style.top = O + "px", N.style.width = o.cellWidth() + "px", N.style.height = this.cellHeight + "px", N.style.lineHeight = this.cellHeight + "px";
3479
+ var I = i.Xc(S, C), z = I.x, O = I.y;
3480
+ N.day = P, N.x = S, N.y = C, N.left = z, N.top = O, N.isCurrentMonth = T, N.isNextMonth = H, N.isPrevMonth = A, N.showBefore = r, N.showAfter = s, N.className = this.J(T ? "_day" : "_dayother"), i.Qc(N, "cell"), P.getTime() === f.getTime() && T && this.Qc(N, "today"), 0 !== P.dayOfWeek() && 6 !== P.dayOfWeek() || this.Qc(N, "weekend"), N.style.position = "absolute", N.style.left = z + "px", N.style.right = z + "px", N.style.top = O + "px", N.style.width = o.cellWidth() + "px", N.style.height = this.cellHeight + "px", N.style.lineHeight = this.cellHeight + "px";
3369
3481
  var U = document.createElement("div");
3370
- U.style.position = "absolute", U.className = P.getTime() === f.getTime() && T ? this.i("_todaybox") : this.i("_daybox"), i.Ac(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", N.appendChild(U);
3371
- var L = null;
3372
- if (this.cells && this.cells[P.toStringSortable()] && (L = this.cells[P.toStringSortable()]), "function" == typeof i.onBeforeCellRender) {
3373
- var j = {};
3374
- j.cell = L || {}, j.cell.day = P, j.cell.isCurrentMonth = T, j.cell.isToday = P.getTime() === f.getTime() && T, j.cell.isWeekend = 0 === P.dayOfWeek() || 6 === P.dayOfWeek(), L ? (j.cell.html = L.html || P.getDay(), j.cell.cssClass = L.css) : (j.cell.html = P.getDay(), j.cell.cssClass = null), i.onBeforeCellRender(j), L = j.cell;
3482
+ U.style.position = "absolute", U.className = P.getTime() === f.getTime() && T ? this.J("_todaybox") : this.J("_daybox"), i.Qc(U, "cell_box"), U.style.left = "0px", U.style.top = "0px", U.style.right = "0px", U.style.bottom = "0px", N.appendChild(U);
3483
+ var R = null;
3484
+ if (this.cells && this.cells[P.toStringSortable()] && (R = this.cells[P.toStringSortable()]), "function" == typeof i.onBeforeCellRender) {
3485
+ var L = {};
3486
+ L.cell = R || {}, L.cell.day = P, L.cell.isCurrentMonth = T, L.cell.isToday = P.getTime() === f.getTime() && T, L.cell.isWeekend = 0 === P.dayOfWeek() || 6 === P.dayOfWeek(), R ? (L.cell.html = R.html || P.getDay(), L.cell.cssClass = R.css) : (L.cell.html = P.getDay(), L.cell.cssClass = null), i.onBeforeCellRender(L), R = L.cell;
3375
3487
  }
3376
- if (L && DayPilot.Util.addClass(N, L.cssClass || L.css), T || r && A || s && H) {
3377
- var R = document.createElement("div");
3378
- R.innerHTML = P.getDay(), R.style.position = "absolute", R.style.left = "0px", R.style.top = "0px", R.style.right = "0px", R.style.bottom = "0px", i.Ac(R, "cell_text"), N.isClickable = !0, L && L.html && (R.innerHTML = L.html), N.appendChild(R);
3488
+ if (R && DayPilot.Util.addClass(N, R.cssClass || R.css), T || r && A || s && H) {
3489
+ var j = document.createElement("div");
3490
+ j.innerHTML = P.getDay(), j.style.position = "absolute", j.style.left = "0px", j.style.top = "0px", j.style.right = "0px", j.style.bottom = "0px", i.Qc(j, "cell_text"), N.isClickable = !0, R && R.html && (j.innerHTML = R.html), N.appendChild(j);
3379
3491
  }
3380
- N.setAttribute("unselectable", "on"), N.onclick = this.Ic, v.appendChild(N), M && (i.Jc(v, S, C), this.selected.push(N));
3492
+ N.setAttribute("unselectable", "on"), N.onclick = this.Yc, v.appendChild(N), M && (i.Zc(v, S, C), this.selected.push(N));
3381
3493
  }
3382
3494
  }
3383
3495
  var B = document.createElement("div");
3384
- B.style.position = "absolute", B.style.left = "0px", B.style.top = g - 2 + "px", B.style.width = 7 * o.cellWidth() + this.zc() + "px", B.style.height = "1px", B.style.fontSize = "1px", B.style.lineHeight = "1px", B.className = this.i("_line"), v.appendChild(B), this.months.push(a);
3385
- }, this.Hc = function (e, t) { var i = this.titleHeight + this.dayHeaderHeight, a = this.zc(); return { "x": e * o.cellWidth() + a, "y": t * this.cellHeight + i }; }, this.Jc = function (e, t, a) { var n = e.month.cells[t][a]; i.Ac(n, "select"); }, this.Kc = function (e, t, a) { var n = e.month.cells[t][a]; i.Bc(n, "select"); }, this.zc = function () { return this.showWeekNumbers ? o.cellWidth() : 0; }, this.Lc = function () {
3496
+ B.style.position = "absolute", B.style.left = "0px", B.style.top = g - 2 + "px", B.style.width = 7 * o.cellWidth() + this.Pc() + "px", B.style.height = "1px", B.style.fontSize = "1px", B.style.lineHeight = "1px", B.className = this.J("_line"), v.appendChild(B), this.months.push(a);
3497
+ }, this.Xc = function (e, t) { var i = this.titleHeight + this.dayHeaderHeight, a = this.Pc(); return { "x": e * o.cellWidth() + a, "y": t * this.cellHeight + i }; }, this.Zc = function (e, t, a) { var n = e.month.cells[t][a]; i.Qc(n, "select"); }, this.$c = function (e, t, a) { var n = e.month.cells[t][a]; i.Rc(n, "select"); }, this.Pc = function () { return this.showWeekNumbers ? o.cellWidth() : 0; }, this._c = function () {
3386
3498
  if (this.items)
3387
3499
  for (var e = 0; e < this.showMonths; e++)
3388
3500
  for (var t = 0; t < 7; t++)
3389
3501
  for (var i = 0; i < 6; i++) {
3390
3502
  var a = this.months[e].cells[t][i];
3391
- a && (1 === this.items[a.day.toStringSortable()] ? (this.Ac(a, "busy"), this.Bc(a, "free")) : (this.Bc(a, "busy"), this.Ac(a, "free")));
3503
+ a && (1 === this.items[a.day.toStringSortable()] ? (this.Qc(a, "busy"), this.Rc(a, "free")) : (this.Rc(a, "busy"), this.Qc(a, "free")));
3392
3504
  }
3393
- }, this.Mc = function () { var e = {}; e.startDate = i.startDate, e.selectionStart = i.selectionStart, e.selectionEnd = i.selectionEnd.addDays(1), i.state.value = JSON.stringify(e); }, this.Gc = function () { return (this.selectMode || "").toLowerCase(); }, this.Nc = function () {
3505
+ }, this.ad = function () { var e = {}; e.startDate = i.startDate, e.selectionStart = i.selectionStart, e.selectionEnd = i.selectionEnd.addDays(1), i.state.value = JSON.stringify(e); }, this.Wc = function () { return (this.selectMode || "").toLowerCase(); }, this.bd = function () {
3394
3506
  var e = this.selectionDay || this.selectionStart;
3395
- switch (e || (e = DayPilot.Date.today()), e = new DayPilot.Date(e), this.Gc()) {
3507
+ switch (e || (e = DayPilot.Date.today()), e = new DayPilot.Date(e), this.Wc()) {
3396
3508
  case "day":
3397
3509
  this.selectionStart = e, this.selectionDay = e, this.selectionEnd = e;
3398
3510
  break;
@@ -3407,10 +3519,10 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3407
3519
  break;
3408
3520
  default: throw "Unknown selectMode value.";
3409
3521
  }
3410
- }, this.Oc = null, this.select = function (e, t, a) {
3522
+ }, this.cd = null, this.select = function (e, t, a) {
3411
3523
  var n = t && (t instanceof DayPilot.Date || "string" == typeof t), o = t && "object" == typeof t || "boolean" == typeof t, r = e, s = n ? t : null, l = o ? t : a;
3412
- if (!this.da)
3413
- return void (this.Oc = { "date1": r, "date2": s, "options": l });
3524
+ if (!this.ya)
3525
+ return void (this.cd = { "date1": r, "date2": s, "options": l });
3414
3526
  var d = !0, c = !0;
3415
3527
  l && "object" == typeof l ? (l.dontFocus && (d = !1), l.dontNotify && (c = !1)) : "boolean" == typeof l && (d = !l);
3416
3528
  var u = this.selectionStart, h = this.selectionEnd;
@@ -3418,21 +3530,21 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3418
3530
  var f = !1;
3419
3531
  if (d) {
3420
3532
  var m = this.startDate;
3421
- (this.selectionStart < this.Pc() || this.selectionStart >= this.Qc()) && (m = this.selectionStart.firstDayOfMonth()), m.toStringSortable() !== this.startDate.toStringSortable() && (f = !0), this.startDate = m;
3533
+ (this.selectionStart < this.dd() || this.selectionStart >= this.ed()) && (m = this.selectionStart.firstDayOfMonth()), m.toStringSortable() !== this.startDate.toStringSortable() && (f = !0), this.startDate = m;
3422
3534
  }
3423
- s && i.freeHandSelectionEnabled ? i.selectionEnd = new DayPilot.Date(s) : this.Nc(), this.tc(), this.yc(), this.Rc(), this.Lc(), this.Mc(), !c || u.equals(this.selectionStart) && h.equals(this.selectionEnd) || this.k(), f && this.Sc();
3535
+ s && i.freeHandSelectionEnabled ? i.selectionEnd = new DayPilot.Date(s) : this.bd(), this.Jc(), this.Oc(), this.fd(), this._c(), this.ad(), !c || u.equals(this.selectionStart) && h.equals(this.selectionEnd) || this.L(), f && this.gd();
3424
3536
  }, this.update = function (e) {
3425
- if (i.Ea(e), this.da) {
3426
- if (i.Tc)
3537
+ if (i.Za(e), this.ya) {
3538
+ if (i.hd)
3427
3539
  throw new DayPilot.Exception("You are trying to update a DayPilot.Navigator instance that has been disposed.");
3428
- i.Uc();
3540
+ i.jd();
3429
3541
  var t = { "day": i.selectionDay, "start": i.selectionStart, "end": i.selectionEnd };
3430
- i.nb(), t.start === i.selectionStart && t.end == i.selectionEnd && t.day === i.selectionDay || i.k();
3542
+ i.Gb(), t.start === i.selectionStart && t.end == i.selectionEnd && t.day === i.selectionDay || i.L();
3431
3543
  }
3432
- }, this.nb = function () { this.tc(), this.yc(), this.Nc(), this.Rc(), this.H(), this.Lc(), this.Mc(), this.visible ? this.show() : this.hide(); }, this.Uc = function () { i.Ka = {}; }, this.Ha = null, this.Ea = function (e) {
3544
+ }, this.Gb = function () { this.Jc(), this.Oc(), this.bd(), this.fd(), this.ba(), this._c(), this.ad(), this.visible ? this.show() : this.hide(); }, this.jd = function () { i.db = {}; }, this.ab = null, this.Za = function (e) {
3433
3545
  if (e) {
3434
3546
  var t = { "events": { "preInit": function () { var e = this.data || []; DayPilot.isArray(e.list) ? i.events.list = e.list : i.events.list = e; } } };
3435
- this.Ha = t;
3547
+ this.ab = t;
3436
3548
  for (var a in e)
3437
3549
  if (t[a]) {
3438
3550
  var n = t[a];
@@ -3441,20 +3553,20 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3441
3553
  else
3442
3554
  i[a] = e[a];
3443
3555
  }
3444
- }, this.Ia = function () {
3445
- var e = this.Ha;
3556
+ }, this.bb = function () {
3557
+ var e = this.ab;
3446
3558
  for (var t in e) {
3447
3559
  var i = e[t];
3448
3560
  i.postInit && i.postInit();
3449
3561
  }
3450
- }, this.q = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.p(); var n = "JSON" + JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.s, n, this.Vc) : WebForm_DoCallback(this.uniqueID, n, this.t, null, this.callbackError, !0); }, this.Vc = function (e) {
3562
+ }, this.R = function (e, t, i) { var a = {}; a.action = e, a.parameters = i, a.data = t, a.header = this.Q(); var n = "JSON" + JSON.stringify(a); this.backendUrl ? DayPilot.request(this.backendUrl, this.S, n, this.kd) : WebForm_DoCallback(this.uniqueID, n, this.T, null, this.callbackError, !0); }, this.kd = function (e) {
3451
3563
  if ("function" == typeof i.onAjaxError) {
3452
3564
  var t = {};
3453
3565
  t.request = e, i.onAjaxError(t);
3454
3566
  }
3455
3567
  else
3456
3568
  "function" == typeof i.ajaxError && i.ajaxError(e);
3457
- }, this.s = function (e) { i.t(e.responseText); }, this.o = function (e, t, a) { var n = {}; n.action = e, n.parameters = a, n.data = t, n.header = this.p(); var o = "JSON" + JSON.stringify(n); __doPostBack(i.uniqueID, o); }, this.p = function () { var e = {}; return e.v = this.v, e.startDate = this.startDate, e.selectionStart = this.selectionStart, e.showMonths = this.showMonths, e; }, this.Wc = function (e, t) { "refresh" === e && this.Sc(); }, this.Ec = function (e) { var t = e + o.weekStarts(); return t > 6 && (t -= 7), o.locale().dayNamesShort[t]; }, this.Fc = function (e) { return null !== this.selectionStart && null !== this.selectionEnd && (this.selectionStart.getTime() <= e.getTime() && e.getTime() <= this.selectionEnd.getTime()); }, this.Xc = function (e) {
3569
+ }, this.S = function (e) { i.T(e.responseText); }, this.P = function (e, t, a) { var n = {}; n.action = e, n.parameters = a, n.data = t, n.header = this.Q(); var o = "JSON" + JSON.stringify(n); __doPostBack(i.uniqueID, o); }, this.Q = function () { var e = {}; return e.v = this.v, e.startDate = this.startDate, e.selectionStart = this.selectionStart, e.showMonths = this.showMonths, e; }, this.ld = function (e, t) { "refresh" === e && this.gd(); }, this.Uc = function (e) { var t = e + o.weekStarts(); return t > 6 && (t -= 7), o.locale().dayNamesShort[t]; }, this.Vc = function (e) { return null !== this.selectionStart && null !== this.selectionEnd && (this.selectionStart.getTime() <= e.getTime() && e.getTime() <= this.selectionEnd.getTime()); }, this.md = function (e) {
3458
3570
  for (var t = 0; t < i.months.length; t++) {
3459
3571
  var a = i.months[t];
3460
3572
  if (!a)
@@ -3466,8 +3578,8 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3466
3578
  return t;
3467
3579
  }
3468
3580
  return null;
3469
- }, this.Yc = function (e) {
3470
- var t = DayPilot.mo3(i.nav.top, e), a = i.Xc(t);
3581
+ }, this.nd = function (e) {
3582
+ var t = DayPilot.mo3(i.nav.top, e), a = i.md(t);
3471
3583
  if (null === a)
3472
3584
  return null;
3473
3585
  var n = i.months[a], o = this.titleHeight + this.dayHeaderHeight;
@@ -3480,14 +3592,14 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3480
3592
  return { "month": a, "x": r, "y": s, "coords": t };
3481
3593
  }
3482
3594
  return null;
3483
- }, this.Zc = function (e) {
3595
+ }, this.od = function (e) {
3484
3596
  if (i.freeHandSelectionEnabled) {
3485
- var t = i.Yc(e);
3597
+ var t = i.nd(e);
3486
3598
  t && !t.header && (a.start = t), i.months[t.month].cells[t.x][t.y], e.preventDefault();
3487
3599
  }
3488
- }, this.$c = function (e) {
3600
+ }, this.pd = function (e) {
3489
3601
  if (a.start) {
3490
- var t = i.Yc(e);
3602
+ var t = i.nd(e);
3491
3603
  if (a.end)
3492
3604
  a.end = t;
3493
3605
  else if (t) {
@@ -3496,9 +3608,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3496
3608
  }
3497
3609
  a.end && (a.clear(), a.draw());
3498
3610
  }
3499
- }, this._c = {};
3500
- var a = this._c;
3501
- a.start = null, a.drawCell = function (e) { var t = i.months[e.month], n = i.Hc(e.x, e.y), o = t.top + n.y, r = t.left + n.x, s = document.createElement("div"); s.style.position = "absolute", s.style.left = r + "px", s.style.top = o + "px", s.style.height = i.cellHeight + "px", s.style.width = i.cellWidth + "px", s.style.backgroundColor = "#ccc", s.style.opacity = .5, s.style.cursor = "default", i.nav.preselection.appendChild(s), a.cells.push(s); }, a.clear = function () {
3611
+ }, this.qd = {};
3612
+ var a = this.qd;
3613
+ a.start = null, a.drawCell = function (e) { var t = i.months[e.month], n = i.Xc(e.x, e.y), o = t.top + n.y, r = t.left + n.x, s = document.createElement("div"); s.style.position = "absolute", s.style.left = r + "px", s.style.top = o + "px", s.style.height = i.cellHeight + "px", s.style.width = i.cellWidth + "px", s.style.backgroundColor = "#ccc", s.style.opacity = .5, s.style.cursor = "default", i.nav.preselection.appendChild(s), a.cells.push(s); }, a.clear = function () {
3502
3614
  if (a.cells) {
3503
3615
  for (var e = 0; e < a.cells.length; e++)
3504
3616
  i.nav.preselection.removeChild(a.cells[e]);
@@ -3567,54 +3679,54 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3567
3679
  return e;
3568
3680
  }, this.cell = function () { return i.months[this.month].cells[this.x][this.y]; }, this.date = function () { return this.cell().day; }, this.before = function (e) { return this.date() < new n(e).date(); };
3569
3681
  };
3570
- this.Ic = function (e) {
3682
+ this.Yc = function (e) {
3571
3683
  var t = this.parentNode, a = this.parentNode.month, n = this.x, o = this.y, r = a.cells[n][o].day;
3572
3684
  if (a.cells[n][o].isClickable) {
3573
3685
  i.clearSelection(), i.selectionDay = r;
3574
3686
  var r = i.selectionDay;
3575
- switch (i.Gc()) {
3687
+ switch (i.Wc()) {
3576
3688
  case "none":
3577
3689
  i.selectionStart = r, i.selectionEnd = r;
3578
3690
  break;
3579
3691
  case "day":
3580
3692
  if (i.autoFocusOnClick) {
3581
3693
  var s = r;
3582
- if (r < i.Pc() || r >= i.Qc())
3694
+ if (r < i.dd() || r >= i.ed())
3583
3695
  return void i.select(r);
3584
3696
  }
3585
3697
  var l = a.cells[n][o];
3586
- i.Jc(t, n, o), i.selected.push(l), i.selectionStart = l.day, i.selectionEnd = l.day;
3698
+ i.Zc(t, n, o), i.selected.push(l), i.selectionStart = l.day, i.selectionEnd = l.day;
3587
3699
  break;
3588
3700
  case "week":
3589
3701
  if (i.autoFocusOnClick) {
3590
3702
  var s = a.cells[0][o].day, d = a.cells[6][o].day;
3591
- if (s.firstDayOfMonth() === d.firstDayOfMonth() && (s < i.Pc() || d >= i.Qc()))
3703
+ if (s.firstDayOfMonth() === d.firstDayOfMonth() && (s < i.dd() || d >= i.ed()))
3592
3704
  return void i.select(r);
3593
3705
  }
3594
3706
  for (var c = 0; c < 7; c++)
3595
- i.Jc(t, c, o), i.selected.push(a.cells[c][o]);
3707
+ i.Zc(t, c, o), i.selected.push(a.cells[c][o]);
3596
3708
  i.selectionStart = a.cells[0][o].day, i.selectionEnd = a.cells[6][o].day;
3597
3709
  break;
3598
3710
  case "month":
3599
3711
  if (i.autoFocusOnClick) {
3600
3712
  var s = r;
3601
- if (r < i.Pc() || r >= i.Qc())
3713
+ if (r < i.dd() || r >= i.ed())
3602
3714
  return void i.select(r);
3603
3715
  }
3604
3716
  for (var s = null, d = null, o = 0; o < 6; o++)
3605
3717
  for (var n = 0; n < 7; n++) {
3606
3718
  var l = a.cells[n][o];
3607
- l && l.day.getYear() === r.getYear() && l.day.getMonth() === r.getMonth() && (i.Jc(t, n, o), i.selected.push(l), null === s && (s = l.day), d = l.day);
3719
+ l && l.day.getYear() === r.getYear() && l.day.getMonth() === r.getMonth() && (i.Zc(t, n, o), i.selected.push(l), null === s && (s = l.day), d = l.day);
3608
3720
  }
3609
3721
  i.selectionStart = s, i.selectionEnd = d;
3610
3722
  break;
3611
3723
  default: throw "unknown selectMode";
3612
3724
  }
3613
- i.Mc(), i.k();
3725
+ i.ad(), i.L();
3614
3726
  }
3615
- }, this.k = function (e) {
3727
+ }, this.L = function (e) {
3616
3728
  var t = i.selectionStart, a = i.selectionEnd.addDays(1), n = DayPilot.DateUtil.daysDiff(t, a), o = i.selectionDay;
3617
- if (e = e || {}, i.T()) {
3729
+ if (e = e || {}, i.na()) {
3618
3730
  var r = {};
3619
3731
  if (r.start = t, r.end = a, r.day = o, r.days = n, r.mode = e.mode || i.selectMode, r.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onTimeRangeSelect && (i.onTimeRangeSelect(r), r.preventDefault.value))
3620
3732
  return;
@@ -3644,9 +3756,9 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3644
3756
  case "None": break;
3645
3757
  case "PostBack": i.timeRangeSelectedPostBack(t, a, o);
3646
3758
  }
3647
- }, this.timeRangeSelectedPostBack = function (e, t, i, a) { var n = {}; n.start = e, n.end = t, n.day = a, this.o("TimeRangeSelected", i, n); }, this.Dc = function (e) { i.ad(i.skipMonths); }, this.Cc = function (e) { i.ad(-i.skipMonths); }, this.ad = function (e) { this.startDate = this.startDate.addMonths(e), this.tc(), this.yc(), this.Rc(), this.Mc(), this.Sc(), this.Lc(); }, this.Pc = function () { return i.startDate.firstDayOfMonth(); }, this.Qc = function () { return i.startDate.firstDayOfMonth().addMonths(this.showMonths); }, this.visibleStart = function () { return i.startDate.firstDayOfMonth().firstDayOfWeek(o.weekStarts()); }, this.visibleEnd = function () { return i.startDate.firstDayOfMonth().addMonths(this.showMonths - 1).firstDayOfWeek(o.weekStarts()).addDays(42); }, this.Sc = function () {
3759
+ }, this.timeRangeSelectedPostBack = function (e, t, i, a) { var n = {}; n.start = e, n.end = t, n.day = a, this.P("TimeRangeSelected", i, n); }, this.Tc = function (e) { i.rd(i.skipMonths); }, this.Sc = function (e) { i.rd(-i.skipMonths); }, this.rd = function (e) { this.startDate = this.startDate.addMonths(e), this.Jc(), this.Oc(), this.fd(), this.ad(), this.gd(), this._c(); }, this.dd = function () { return i.startDate.firstDayOfMonth(); }, this.ed = function () { return i.startDate.firstDayOfMonth().addMonths(this.showMonths); }, this.visibleStart = function () { return i.startDate.firstDayOfMonth().firstDayOfWeek(o.weekStarts()); }, this.visibleEnd = function () { return i.startDate.firstDayOfMonth().addMonths(this.showMonths - 1).firstDayOfWeek(o.weekStarts()).addDays(42); }, this.gd = function () {
3648
3760
  var e = this.visibleStart(), t = this.visibleEnd();
3649
- if (i.T()) {
3761
+ if (i.na()) {
3650
3762
  var a = {};
3651
3763
  if (a.start = e, a.end = t, a.preventDefault = function () { this.preventDefault.value = !0; }, "function" == typeof i.onVisibleRangeChange && (i.onVisibleRangeChange(a), a.preventDefault.value))
3652
3764
  return;
@@ -3674,13 +3786,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3674
3786
  break;
3675
3787
  case "Disabled":
3676
3788
  }
3677
- }, this.visibleRangeChangedCallBack = function (e) { var t = {}; this.q("Visible", e, t); }, this.visibleRangeChangedPostBack = function (e) { var t = {}; this.o("Visible", e, t); }, this.t = function (e, t) { var e = JSON.parse(e); i.items = e.Items, i.cells = e.Cells, i.cells ? i.update() : i.Lc(); }, this.Rc = function () {
3789
+ }, this.visibleRangeChangedCallBack = function (e) { var t = {}; this.R("Visible", e, t); }, this.visibleRangeChangedPostBack = function (e) { var t = {}; this.P("Visible", e, t); }, this.T = function (e, t) { var e = JSON.parse(e); i.items = e.Items, i.cells = e.Cells, i.cells ? i.update() : i._c(); }, this.fd = function () {
3678
3790
  for (var e = 0; e < this.showMonths; e++) {
3679
- var t = this.bd(e);
3680
- this.uc(e, t);
3791
+ var t = this.sd(e);
3792
+ this.Kc(e, t);
3681
3793
  }
3682
- this.root.style.height = this.cd() + "px", this.nav.preselection = document.createElement("div"), this.nav.preselection.style.position = "absolute", this.nav.preselection.style.left = "0px", this.nav.preselection.style.top = "0px", this.root.appendChild(this.nav.preselection);
3683
- }, this.cd = function () {
3794
+ this.root.style.height = this.td() + "px", this.nav.preselection = document.createElement("div"), this.nav.preselection.style.position = "absolute", this.nav.preselection.style.left = "0px", this.nav.preselection.style.top = "0px", this.root.appendChild(this.nav.preselection);
3795
+ }, this.td = function () {
3684
3796
  if ("Horizontal" === this.orientation) {
3685
3797
  for (var e = 0, t = 0; t < this.months.length; t++) {
3686
3798
  var i = this.months[t];
@@ -3693,13 +3805,13 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3693
3805
  a += i.height;
3694
3806
  }
3695
3807
  return a;
3696
- }, this.bd = function (e) {
3808
+ }, this.sd = function (e) {
3697
3809
  if (this.internal.showLinks)
3698
3810
  return this.internal.showLinks;
3699
3811
  var t = {};
3700
3812
  return t.left = 0 === e, t.right = 0 === e, t.before = 0 === e, t.after = e === this.showMonths - 1, "Horizontal" === this.orientation && (t.right = e === this.showMonths - 1), t;
3701
- }, this.V = {}, this.V.scope = null, this.V.notify = function () { i.V.scope && i.V.scope["$apply"](); }, this.internal = {}, this.internal.loadOptions = i.Ea, this.internal.initialized = function () { return i.da; }, this.D = {};
3702
- var o = this.D;
3813
+ }, this.pa = {}, this.pa.scope = null, this.pa.notify = function () { i.pa.scope && i.pa.scope["$apply"](); }, this.internal = {}, this.internal.loadOptions = i.Za, this.internal.initialized = function () { return i.ya; }, this.Z = {};
3814
+ var o = this.Z;
3703
3815
  o.locale = function () { return DayPilot.Locale.find(i.locale); }, o.weekStarts = function () {
3704
3816
  if ("Auto" === i.weekStarts) {
3705
3817
  var e = o.locale();
@@ -3707,33 +3819,35 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3707
3819
  }
3708
3820
  return i.weekStarts;
3709
3821
  }, o.cellWidth = function () {
3710
- if (i.Ka.cellWidth)
3711
- return i.Ka.cellWidth;
3712
- var e = i.dd("_cell_dimensions").width;
3713
- return e || (e = i.cellWidth), i.Ka.cellWidth = e, e;
3822
+ if (i.db.cellWidth)
3823
+ return i.db.cellWidth;
3824
+ var e = i.ud("_cell_dimensions").width;
3825
+ return e || (e = i.cellWidth), i.db.cellWidth = e, e;
3714
3826
  }, this.clearSelection = function () {
3715
3827
  for (var e = 0; e < this.selected.length; e++) {
3716
3828
  var t = this.selected[e];
3717
- i.Kc(t.parentNode, t.x, t.y);
3829
+ i.$c(t.parentNode, t.x, t.y);
3718
3830
  }
3719
3831
  this.selected = [];
3720
- }, this.ed = function () { return !!this.backendUrl && ("undefined" == typeof i.items || !i.items); }, this.events = {}, this.H = function () {
3832
+ }, this.vd = function () {
3833
+ return !!this.backendUrl && ("undefined" == typeof i.items || !i.items);
3834
+ }, this.events = {}, this.ba = function () {
3721
3835
  if (DayPilot.isArray(this.events.list)) {
3722
3836
  this.items = {};
3723
3837
  for (var e = 0; e < this.events.list.length; e++) {
3724
3838
  var t = this.events.list[e];
3725
3839
  if (!t.hidden) {
3726
- var i = this.fd(t);
3840
+ var i = this.wd(t);
3727
3841
  for (var a in i)
3728
3842
  this.items[a] = 1;
3729
3843
  }
3730
3844
  }
3731
3845
  }
3732
- }, this.dd = function (e) { var t = document.createElement("div"); t.style.position = "absolute", t.style.top = "-2000px", t.style.left = "-2000px", t.className = this.i(e); var a = i.root || document.body; a.appendChild(t); var n = t.offsetHeight, o = t.offsetWidth; a.removeChild(t); var r = {}; return r.height = n, r.width = o, r; }, this.fd = function (e) {
3846
+ }, this.ud = function (e) { var t = document.createElement("div"); t.style.position = "absolute", t.style.top = "-2000px", t.style.left = "-2000px", t.className = this.J(e); var a = i.root || document.body; a.appendChild(t); var n = t.offsetHeight, o = t.offsetWidth; a.removeChild(t); var r = {}; return r.height = n, r.width = o, r; }, this.wd = function (e) {
3733
3847
  for (var t = new DayPilot.Date(e.start), i = new DayPilot.Date(e.end), a = {}, n = t.getDatePart(); n.getTime() < i.getTime();)
3734
3848
  a[n.toStringSortable()] = 1, n = n.addDays(1);
3735
3849
  return a;
3736
- }, this.show = function () { i.visible = !0, i.root.style.display = ""; }, this.hide = function () { i.visible = !1, i.root.style.display = "none"; }, this.Ja = function () {
3850
+ }, this.show = function () { i.visible = !0, i.root.style.display = ""; }, this.hide = function () { i.visible = !1, i.root.style.display = "none"; }, this.cb = function () {
3737
3851
  if (this.id && this.id.tagName)
3738
3852
  this.nav.top = this.id;
3739
3853
  else {
@@ -3744,27 +3858,26 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3744
3858
  }
3745
3859
  this.root = this.nav.top;
3746
3860
  }, this.init = function () {
3747
- if (this.Ja(), !this.root.dp) {
3748
- this.Nc(), this.yc(),
3749
- this.Rc(), this.H(), this.Lc(), this.B(), this.gd(), this.Ca();
3750
- if (this.ed() && this.Sc(), this.da = !0, this.Ia(), this.Oc) {
3751
- var e = this.Oc;
3752
- this.select(e.date1, e.date2, e.options), this.Oc = null;
3861
+ if (this.cb(), !this.root.dp) {
3862
+ this.bd(), this.Oc(), this.fd(), this.ba(), this._c(), this.X(), this.xd(), this.Xa();
3863
+ if (this.vd() && this.gd(), this.ya = !0, this.bb(), this.cd) {
3864
+ var e = this.cd;
3865
+ this.select(e.date1, e.date2, e.options), this.cd = null;
3753
3866
  }
3754
3867
  return this;
3755
3868
  }
3756
- }, this.gd = function () { i.nav.top.onmousedown = this.Zc, i.nav.top.onmousemove = this.$c; }, this.Ca = function () { DayPilot.re(document, "mouseup", i.hd); }, this.hd = function (e) {
3869
+ }, this.xd = function () { i.nav.top.onmousedown = this.od, i.nav.top.onmousemove = this.pd; }, this.Xa = function () { DayPilot.re(document, "mouseup", i.yd); }, this.yd = function (e) {
3757
3870
  if (a.start && a.end) {
3758
3871
  var t = DayPilot.mo3(i.nav.top, e);
3759
3872
  if (t.x === a.start.coords.x && t.y === a.start.coords.y)
3760
3873
  return a.start = null, void a.clear();
3761
3874
  a.clear();
3762
3875
  var o = a.ordered();
3763
- o.start = new n(o.start).nextVisible(), o.end = new n(o.end).previousVisible(), i.selectionDay = new n(o.start).date(), i.selectionStart = i.selectionDay, i.selectionEnd = new n(o.end).date(), a.start = null, a.end = null, i.tc(), i.yc(), i.Rc(), i.Lc(), i.Mc();
3764
- i.k({ "mode": "FreeHand" });
3876
+ o.start = new n(o.start).nextVisible(), o.end = new n(o.end).previousVisible(), i.selectionDay = new n(o.start).date(), i.selectionStart = i.selectionDay, i.selectionEnd = new n(o.end).date(), a.start = null, a.end = null, i.Jc(), i.Oc(), i.fd(), i._c(), i.ad();
3877
+ i.L({ "mode": "FreeHand" });
3765
3878
  }
3766
3879
  a.start = null, a.end = null;
3767
- }, 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.Tc = !0); }, this.B = function () { this.root.dispose = this.dispose; }, this.Init = this.init, this.Ea(t);
3880
+ }, 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.hd = !0); }, this.X = function () { this.root.dispose = this.dispose; }, this.Init = this.init, this.Za(t);
3768
3881
  }, "undefined" != typeof jQuery && !function (e) {
3769
3882
  e.fn.daypilotNavigator = function (e) {
3770
3883
  var t = null, i = this.each(function () {
@@ -3784,7 +3897,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3784
3897
  return { "restrict": "E", "template": "<div id='{{id}}'></div>", "compile": function (t, i) {
3785
3898
  return t.replaceWith(this["template"].replace("{{id}}", i["id"])), function (t, i, a) {
3786
3899
  var n = new DayPilot.Navigator(i[0]);
3787
- n.V.scope = t, n.init();
3900
+ n.pa.scope = t, n.init();
3788
3901
  var o = a["id"];
3789
3902
  o && (t[o] = n);
3790
3903
  var r = a["publishAs"];
@@ -3801,7 +3914,7 @@ if ("undefined" == typeof DayPilot.Global && (DayPilot.Global = {}), function ()
3801
3914
  for (var i in e)
3802
3915
  n[i] = e[i];
3803
3916
  n.update();
3804
- }, !0), d.call(t, u, function (e) { n.events.list = e, n.H(), n.Lc(); }, !0);
3917
+ }, !0), d.call(t, u, function (e) { n.events.list = e, n.ba(), n._c(); }, !0);
3805
3918
  };
3806
3919
  } };
3807
3920
  }]);