iking-web-ui-pro 0.2.59 → 0.3.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.
Files changed (192) hide show
  1. package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.es.js +2 -2
  2. package/dist/{IKApprovalProcess → IkApprovalProcess}/ik.index.umd.js +1 -1
  3. package/dist/{IKApprovalProcess → IkApprovalProcess}/iking-web-ui-pro.css +1 -1
  4. package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.es.js +2 -2
  5. package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.umd.js +2 -2
  6. package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -0
  7. package/dist/IkBaseDialog/ik.index.es.js +1 -1
  8. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  9. package/dist/IkBaseDialog/iking-web-ui-pro.css +1 -1
  10. package/dist/IkBtnSetting/ik.index.es.js +1 -1
  11. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  12. package/dist/IkBtnSetting/iking-web-ui-pro.css +1 -1
  13. package/dist/{IKCalendar → IkCalendar}/ik.index.es.js +674 -657
  14. package/dist/IkCalendar/ik.index.umd.js +1 -0
  15. package/dist/{IKCalendar → IkCalendar}/iking-web-ui-pro.css +1 -1
  16. package/dist/IkCollapseCard/ik.index.es.js +6 -6
  17. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  18. package/dist/IkCollapseCard/iking-web-ui-pro.css +1 -1
  19. package/dist/IkDescription/ik.index.es.js +1 -1
  20. package/dist/IkDescription/ik.index.umd.js +1 -1
  21. package/dist/IkDescription/iking-web-ui-pro.css +1 -1
  22. package/dist/IkDetailPreviewFiles/ik.index.es.js +1 -1
  23. package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
  24. package/dist/IkDetailPreviewFiles/iking-web-ui-pro.css +1 -1
  25. package/dist/{IKExpandCollapse → IkExpandCollapse}/ik.index.es.js +6 -6
  26. package/dist/{IKExpandCollapse → IkExpandCollapse}/ik.index.umd.js +1 -1
  27. package/dist/{IKExpandCollapse → IkExpandCollapse}/iking-web-ui-pro.css +1 -1
  28. package/dist/IkFullCalendar/ik.index.es.js +689 -672
  29. package/dist/IkFullCalendar/ik.index.umd.js +1 -1
  30. package/dist/{IKHorizontalStepBar → IkHorizontalStepBar}/ik.index.es.js +15 -15
  31. package/dist/{IKHorizontalStepBar → IkHorizontalStepBar}/ik.index.umd.js +1 -1
  32. package/dist/{IKHorizontalStepBar → IkHorizontalStepBar}/iking-web-ui-pro.css +1 -1
  33. package/dist/IkIconPicker/ik.index.es.js +39 -39
  34. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  35. package/dist/IkIconPicker/iking-web-ui-pro.css +1 -1
  36. package/dist/IkImageUploadEditor/ik.index.es.js +2492 -2487
  37. package/dist/IkImageUploadEditor/ik.index.umd.js +11 -11
  38. package/dist/IkMonacoEditor/ik.index.es.js +1 -1
  39. package/dist/IkMonacoEditor/ik.index.umd.js +1 -1
  40. package/dist/IkMonacoEditor/iking-web-ui-pro.css +1 -1
  41. package/dist/IkPageFull/ik.index.es.js +1 -1
  42. package/dist/IkPageFull/ik.index.umd.js +1 -1
  43. package/dist/IkPageFull/iking-web-ui-pro.css +1 -1
  44. package/dist/{IKPreviewFile → IkPreviewFile}/ik.index.es.js +1 -1
  45. package/dist/{IKPreviewFile → IkPreviewFile}/ik.index.umd.js +1 -1
  46. package/dist/IkPreviewFile/iking-web-ui-pro.css +1 -0
  47. package/dist/IkPreviewFileDialog/ik.index.es.js +1 -1
  48. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  49. package/dist/IkPreviewFileDialog/iking-web-ui-pro.css +1 -1
  50. package/dist/IkSchedule/ik.index.es.js +689 -672
  51. package/dist/IkSchedule/ik.index.umd.js +1 -1
  52. package/dist/IkSchedule/iking-web-ui-pro.css +1 -1
  53. package/dist/{IKSearch → IkSearch}/ik.index.es.js +4 -4
  54. package/dist/{IKSearch → IkSearch}/ik.index.umd.js +2 -2
  55. package/dist/{IKSearch → IkSearch}/iking-web-ui-pro.css +1 -1
  56. package/dist/{IKSearchHead → IkSearchHead}/ik.index.es.js +8 -8
  57. package/dist/{IKSearchHead → IkSearchHead}/ik.index.umd.js +1 -1
  58. package/dist/{IKSearchHead → IkSearchHead}/iking-web-ui-pro.css +1 -1
  59. package/dist/IkSideText/ik.index.es.js +66 -72
  60. package/dist/IkSideText/ik.index.umd.js +1 -1
  61. package/dist/IkSideText/iking-web-ui-pro.css +1 -1
  62. package/dist/IkSvgIcon/ik.index.es.js +9 -9
  63. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  64. package/dist/IkSvgIcon/iking-web-ui-pro.css +1 -1
  65. package/dist/IkUploadFile/ik.index.es.js +1 -1
  66. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  67. package/dist/IkUploadFile/iking-web-ui-pro.css +1 -1
  68. package/dist/IkUploadImage/ik.index.es.js +1 -1
  69. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  70. package/dist/IkUploadImage/iking-web-ui-pro.css +1 -1
  71. package/dist/{IKVerticalStepBar → IkVerticalStepBar}/ik.index.es.js +8 -8
  72. package/dist/{IKVerticalStepBar → IkVerticalStepBar}/ik.index.umd.js +3 -3
  73. package/dist/IkVerticalStepBar/iking-web-ui-pro.css +1 -0
  74. package/dist/iking-web-ui-pro.css +2 -2
  75. package/dist/index.es.js +36774 -36448
  76. package/dist/index.umd.js +142 -142
  77. package/dist/src/components/IkApprovalProcess/index.d.ts +5 -5
  78. package/dist/src/components/IkApprovalProcess/src/{IKApprovalProcess.vue.d.ts → IkApprovalProcess.vue.d.ts} +5 -5
  79. package/dist/src/components/IkApprovalProcessDetail/index.d.ts +5 -5
  80. package/dist/src/components/IkApprovalProcessDetail/src/IkApprovalProcessDetail.vue.d.ts +5 -5
  81. package/dist/src/components/IkAutoCard/index.d.ts +6 -12
  82. package/dist/src/components/IkAutoCard/src/IkAutoCard.vue.d.ts +4 -4
  83. package/dist/src/components/IkBaseDialog/index.d.ts +6 -35
  84. package/dist/src/components/IkBaseDialog/src/CloseIcon.vue.d.ts +4 -4
  85. package/dist/src/components/IkBaseDialog/src/IkBaseDialog.vue.d.ts +4 -4
  86. package/dist/src/components/IkBottomOperate/index.d.ts +15 -43
  87. package/dist/src/components/IkBottomOperate/src/IkBottomOperate.vue.d.ts +7 -7
  88. package/dist/src/components/IkBtnContent/index.d.ts +7 -5
  89. package/dist/src/components/IkBtnContent/src/index.d.ts +7 -5
  90. package/dist/src/components/IkBtnSetting/index.d.ts +5 -5
  91. package/dist/src/components/IkBtnSetting/src/IkBtnSetting.vue.d.ts +5 -5
  92. package/dist/src/components/IkCalendar/index.d.ts +5 -5
  93. package/dist/src/components/IkCalendar/src/IkCalendar.vue.d.ts +5 -5
  94. package/dist/src/components/IkCollapseCard/index.d.ts +6 -12
  95. package/dist/src/components/IkCollapseCard/src/index.vue.d.ts +4 -4
  96. package/dist/src/components/IkCurrencyInput/index.d.ts +5 -5
  97. package/dist/src/components/IkCurrencyInput/src/IkCurrencyInput.vue.d.ts +5 -5
  98. package/dist/src/components/IkDescription/index.d.ts +6 -39
  99. package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +4 -4
  100. package/dist/src/components/IkDetailPreviewFiles/index.d.ts +4 -4
  101. package/dist/src/components/IkDetailPreviewFiles/src/IkDetailPreviewFiles.vue.d.ts +4 -4
  102. package/dist/src/components/IkDragList/index.d.ts +13 -130
  103. package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +6 -6
  104. package/dist/src/components/IkEmpty/index.d.ts +6 -19
  105. package/dist/src/components/IkEmpty/src/index.vue.d.ts +4 -4
  106. package/dist/src/components/IkExpandCollapse/index.d.ts +5 -5
  107. package/dist/src/components/IkExpandCollapse/src/IkExpandCollapse.vue.d.ts +5 -5
  108. package/dist/src/components/IkFileIcon/index.d.ts +4 -4
  109. package/dist/src/components/IkFileIcon/src/IkFileIcon.vue.d.ts +4 -4
  110. package/dist/src/components/IkFullCalendar/index.d.ts +6 -6
  111. package/dist/src/components/IkHorizontalStepBar/index.d.ts +10 -61
  112. package/dist/src/components/IkHorizontalStepBar/src/IkHorizontalStepBar.vue.d.ts +5 -5
  113. package/dist/src/components/IkIconPicker/index.d.ts +4 -4
  114. package/dist/src/components/IkIconPicker/src/index.vue.d.ts +4 -4
  115. package/dist/src/components/IkImageEditor/index.d.ts +1 -1
  116. package/dist/src/components/IkImageUploadEditor/index.d.ts +4 -4
  117. package/dist/src/components/IkImageUploadEditor/src/IkImageUploadEditor.vue.d.ts +4 -4
  118. package/dist/src/components/IkMonacoEditor/index.d.ts +167 -10
  119. package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +167 -10
  120. package/dist/src/components/IkOnlyOffice/index.d.ts +4 -4
  121. package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +4 -4
  122. package/dist/src/components/IkPageFull/index.d.ts +54 -143
  123. package/dist/src/components/IkPageFull/src/IkDialog.d.ts +369 -5
  124. package/dist/src/components/IkPageFull/src/IkPage.vue.d.ts +5 -5
  125. package/dist/src/components/IkPageFull/src/IkPageHead.vue.d.ts +5 -5
  126. package/dist/src/components/IkPageFull/src/IkPageTable.vue.d.ts +8 -8
  127. package/dist/src/components/IkPageFull/src/IkSearchAuto.d.ts +6 -6
  128. package/dist/src/components/IkPageFull/src/index.vue.d.ts +20 -14
  129. package/dist/src/components/IkPageTabs/index.d.ts +13 -38
  130. package/dist/src/components/IkPageTabs/src/IkPageTabs.vue.d.ts +6 -6
  131. package/dist/src/components/IkPickerUser/index.d.ts +9 -9
  132. package/dist/src/components/IkPickerUser/src/avatar/Avatar.vue.d.ts +4 -4
  133. package/dist/src/components/IkPickerUser/src/list/GroupList.vue.d.ts +5 -5
  134. package/dist/src/components/IkPickerUser/src/list/PostList.vue.d.ts +5 -5
  135. package/dist/src/components/IkPickerUser/src/list/RoleList.vue.d.ts +5 -5
  136. package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +9 -9
  137. package/dist/src/components/IkPickerUser/src/svg/close_svg.vue.d.ts +1 -1
  138. package/dist/src/components/IkPickerUser/src/svg/group_svg.vue.d.ts +1 -1
  139. package/dist/src/components/IkPickerUser/src/svg/post_svg.vue.d.ts +1 -1
  140. package/dist/src/components/IkPickerUser/src/svg/role_svg.vue.d.ts +1 -1
  141. package/dist/src/components/IkPickerUser/src/svg/search_svg.vue.d.ts +1 -1
  142. package/dist/src/components/IkPickerUser/src/use-picker-data.d.ts +1 -1
  143. package/dist/src/components/IkPlayer/index.d.ts +10 -26
  144. package/dist/src/components/IkPlayer/src/Player.vue.d.ts +5 -5
  145. package/dist/src/components/IkPreviewFile/index.d.ts +10 -102
  146. package/dist/src/components/IkPreviewFile/src/IkPreviewFile.vue.d.ts +5 -5
  147. package/dist/src/components/IkPreviewFileDialog/index.d.ts +4 -4
  148. package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +4 -4
  149. package/dist/src/components/IkPrintConfig/index.d.ts +5 -5
  150. package/dist/src/components/IkPrintView/index.d.ts +5 -5
  151. package/dist/src/components/IkRadioGroup/index.d.ts +4 -4
  152. package/dist/src/components/IkRadioGroup/src/index.vue.d.ts +4 -4
  153. package/dist/src/components/IkSchedule/index.d.ts +17 -48
  154. package/dist/src/components/IkSearch/index.d.ts +24 -84
  155. package/dist/src/components/IkSearch/src/IkSearch.vue.d.ts +10 -10
  156. package/dist/src/components/IkSearch/src/IkSearchAuto.d.ts +5 -5
  157. package/dist/src/components/IkSearchHead/index.d.ts +5 -5
  158. package/dist/src/components/IkSearchHead/src/IkSearchHead.vue.d.ts +5 -5
  159. package/dist/src/components/IkSelectTag/index.d.ts +10 -25
  160. package/dist/src/components/IkSelectTag/src/index.vue.d.ts +5 -5
  161. package/dist/src/components/IkSideText/IkLinearIcon.vue.d.ts +4 -4
  162. package/dist/src/components/IkSideText/IkSideText.vue.d.ts +4 -4
  163. package/dist/src/components/IkSideText/index.d.ts +4 -4
  164. package/dist/src/components/IkStatu/index.d.ts +5 -5
  165. package/dist/src/components/IkStatu/src/index.vue.d.ts +5 -5
  166. package/dist/src/components/IkStatuOver/index.d.ts +5 -5
  167. package/dist/src/components/IkStatuOver/src/index.vue.d.ts +5 -5
  168. package/dist/src/components/IkSvgIcon/index.d.ts +12 -12
  169. package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +4 -4
  170. package/dist/src/components/IkTemplateOfficeConfig/index.d.ts +6 -6
  171. package/dist/src/components/IkTinymce/index.d.ts +5 -5
  172. package/dist/src/components/IkTinymce/src/index.vue.d.ts +5 -5
  173. package/dist/src/components/IkTooltip/index.d.ts +9 -22
  174. package/dist/src/components/IkTooltip/src/index.vue.d.ts +5 -5
  175. package/dist/src/components/IkTree/IkTree.vue.d.ts +807 -127
  176. package/dist/src/components/IkTree/index.d.ts +2630 -611
  177. package/dist/src/components/IkUploadFile/index.d.ts +14 -135
  178. package/dist/src/components/IkUploadFile/src/index.vue.d.ts +7 -7
  179. package/dist/src/components/IkUploadImage/index.d.ts +10 -79
  180. package/dist/src/components/IkUploadImage/src/index.vue.d.ts +5 -5
  181. package/dist/src/components/IkUploadImage/src/loading.vue.d.ts +1 -1
  182. package/dist/src/components/IkVerticalStepBar/index.d.ts +5 -5
  183. package/dist/src/components/IkVerticalStepBar/src/IkVerticalStepBar.vue.d.ts +5 -5
  184. package/dist/src/components/Provider/ProviderConfig.vue.d.ts +4 -4
  185. package/dist/src/components/Provider/index.d.ts +6 -27
  186. package/dist/src/iking-ui/defaults.d.ts +1 -1
  187. package/dist/src/iking-ui/index.d.ts +1 -1
  188. package/package.json +1 -1
  189. package/dist/IKApprovalProcessDetail/iking-web-ui-pro.css +0 -1
  190. package/dist/IKCalendar/ik.index.umd.js +0 -1
  191. package/dist/IKPreviewFile/iking-web-ui-pro.css +0 -1
  192. package/dist/IKVerticalStepBar/iking-web-ui-pro.css +0 -1
@@ -1,13 +1,13 @@
1
1
  var qs = Object.defineProperty;
2
2
  var Qs = (t, e, n) => e in t ? qs(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var le = (t, e, n) => Qs(t, typeof e != "symbol" ? e + "" : e, n);
4
- import { defineComponent as Et, h as Ke, Fragment as Ys, Teleport as Zs, openBlock as be, createElementBlock as Me, createElementVNode as Ie, computed as $s, ref as xt, reactive as Xs, watch as Js, onMounted as Ks, resolveComponent as Gn, createVNode as kt, unref as Mt, withCtx as Ve, createCommentVNode as It, createTextVNode as el, toDisplayString as xe, createBlock as tl, withModifiers as nl } from "vue";
4
+ import { defineComponent as St, h as Ke, Fragment as Ys, Teleport as Zs, openBlock as be, createElementBlock as ke, createElementVNode as Ie, computed as $s, ref as Mt, reactive as Xs, watch as Js, onMounted as Ks, resolveComponent as qn, createVNode as kt, unref as It, withCtx as Ve, createCommentVNode as Nt, createTextVNode as el, toDisplayString as xe, createBlock as tl, withModifiers as nl } from "vue";
5
5
  import { ikDate as rl } from "iking-utils-pro";
6
6
  const il = (t, e) => (t.install = (n) => {
7
7
  for (const r of [t, ...Object.values({})])
8
8
  n.component(r.name, r);
9
9
  }, t);
10
- var St, S, $r, Xr, Ce, ce, qn, Jr, Kr, st = {}, ei = [], sl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
10
+ var At, S, $r, Xr, Ce, ce, Qn, Jr, Kr, st = {}, ei = [], sl = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
11
11
  function K(t, e) {
12
12
  for (var n in e) t[n] = e[n];
13
13
  return t;
@@ -19,7 +19,7 @@ function ti(t) {
19
19
  function g(t, e, n) {
20
20
  var r, i, s, l = {};
21
21
  for (s in e) s == "key" ? r = e[s] : s == "ref" ? i = e[s] : l[s] = e[s];
22
- if (arguments.length > 2 && (l.children = arguments.length > 3 ? St.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null) for (s in t.defaultProps) l[s] === void 0 && (l[s] = t.defaultProps[s]);
22
+ if (arguments.length > 2 && (l.children = arguments.length > 3 ? At.call(arguments, 2) : n), typeof t == "function" && t.defaultProps != null) for (s in t.defaultProps) l[s] === void 0 && (l[s] = t.defaultProps[s]);
23
23
  return et(t, l, r, i, null);
24
24
  }
25
25
  function et(t, e, n, r, i) {
@@ -29,7 +29,7 @@ function et(t, e, n, r, i) {
29
29
  function B() {
30
30
  return { current: null };
31
31
  }
32
- function M(t) {
32
+ function k(t) {
33
33
  return t.children;
34
34
  }
35
35
  function ll(t, e, n, r, i) {
@@ -37,17 +37,17 @@ function ll(t, e, n, r, i) {
37
37
  for (s in n) s === "children" || s === "key" || s in e || lt(t, s, null, n[s], r);
38
38
  for (s in e) i && typeof e[s] != "function" || s === "children" || s === "key" || s === "value" || s === "checked" || n[s] === e[s] || lt(t, s, e[s], n[s], r);
39
39
  }
40
- function Qn(t, e, n) {
40
+ function Yn(t, e, n) {
41
41
  e[0] === "-" ? t.setProperty(e, n ?? "") : t[e] = n == null ? "" : typeof n != "number" || sl.test(e) ? n : n + "px";
42
42
  }
43
43
  function lt(t, e, n, r, i) {
44
44
  var s;
45
45
  e: if (e === "style") if (typeof n == "string") t.style.cssText = n;
46
46
  else {
47
- if (typeof r == "string" && (t.style.cssText = r = ""), r) for (e in r) n && e in n || Qn(t.style, e, "");
48
- if (n) for (e in n) r && n[e] === r[e] || Qn(t.style, e, n[e]);
47
+ if (typeof r == "string" && (t.style.cssText = r = ""), r) for (e in r) n && e in n || Yn(t.style, e, "");
48
+ if (n) for (e in n) r && n[e] === r[e] || Yn(t.style, e, n[e]);
49
49
  }
50
- else if (e[0] === "o" && e[1] === "n") s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + s] = n, n ? r || t.addEventListener(e, s ? Zn : Yn, s) : t.removeEventListener(e, s ? Zn : Yn, s);
50
+ else if (e[0] === "o" && e[1] === "n") s = e !== (e = e.replace(/Capture$/, "")), e = e.toLowerCase() in t ? e.toLowerCase().slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + s] = n, n ? r || t.addEventListener(e, s ? $n : Zn, s) : t.removeEventListener(e, s ? $n : Zn, s);
51
51
  else if (e !== "dangerouslySetInnerHTML") {
52
52
  if (i) e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
53
53
  else if (e !== "width" && e !== "height" && e !== "href" && e !== "list" && e !== "form" && e !== "tabIndex" && e !== "download" && e in t) try {
@@ -58,7 +58,7 @@ function lt(t, e, n, r, i) {
58
58
  typeof n == "function" || (n == null || n === !1 && e.indexOf("-") == -1 ? t.removeAttribute(e) : t.setAttribute(e, n));
59
59
  }
60
60
  }
61
- function Yn(t) {
61
+ function Zn(t) {
62
62
  Ce = !0;
63
63
  try {
64
64
  return this.l[t.type + !1](S.event ? S.event(t) : t);
@@ -66,7 +66,7 @@ function Yn(t) {
66
66
  Ce = !1;
67
67
  }
68
68
  }
69
- function Zn(t) {
69
+ function $n(t) {
70
70
  Ce = !0;
71
71
  try {
72
72
  return this.l[t.type + !0](S.event ? S.event(t) : t);
@@ -95,21 +95,21 @@ function ni(t) {
95
95
  function ol(t) {
96
96
  Ce ? setTimeout(t) : Jr(t);
97
97
  }
98
- function Zt(t) {
99
- (!t.__d && (t.__d = !0) && ce.push(t) && !ot.__r++ || qn !== S.debounceRendering) && ((qn = S.debounceRendering) || ol)(ot);
98
+ function $t(t) {
99
+ (!t.__d && (t.__d = !0) && ce.push(t) && !ot.__r++ || Qn !== S.debounceRendering) && ((Qn = S.debounceRendering) || ol)(ot);
100
100
  }
101
101
  function ot() {
102
102
  var t, e, n, r, i, s, l, o;
103
103
  for (ce.sort(function(a, d) {
104
104
  return a.__v.__b - d.__v.__b;
105
- }); t = ce.shift(); ) t.__d && (e = ce.length, r = void 0, i = void 0, l = (s = (n = t).__v).__e, (o = n.__P) && (r = [], (i = K({}, s)).__v = s.__v + 1, fn(o, s, i, n.__n, o.ownerSVGElement !== void 0, s.__h != null ? [l] : null, r, l ?? He(s), s.__h), oi(r, s), s.__e != l && ni(s)), ce.length > e && ce.sort(function(a, d) {
105
+ }); t = ce.shift(); ) t.__d && (e = ce.length, r = void 0, i = void 0, l = (s = (n = t).__v).__e, (o = n.__P) && (r = [], (i = K({}, s)).__v = s.__v + 1, hn(o, s, i, n.__n, o.ownerSVGElement !== void 0, s.__h != null ? [l] : null, r, l ?? He(s), s.__h), oi(r, s), s.__e != l && ni(s)), ce.length > e && ce.sort(function(a, d) {
106
106
  return a.__v.__b - d.__v.__b;
107
107
  }));
108
108
  ot.__r = 0;
109
109
  }
110
110
  function ri(t, e, n, r, i, s, l, o, a, d) {
111
111
  var c, h, f, u, m, v, b, E = r && r.__k || ei, y = E.length;
112
- for (n.__k = [], c = 0; c < e.length; c++) if ((u = n.__k[c] = (u = e[c]) == null || typeof u == "boolean" ? null : typeof u == "string" || typeof u == "number" || typeof u == "bigint" ? et(null, u, null, null, u) : Array.isArray(u) ? et(M, { children: u }, null, null, null) : u.__b > 0 ? et(u.type, u.props, u.key, u.ref ? u.ref : null, u.__v) : u) != null) {
112
+ for (n.__k = [], c = 0; c < e.length; c++) if ((u = n.__k[c] = (u = e[c]) == null || typeof u == "boolean" ? null : typeof u == "string" || typeof u == "number" || typeof u == "bigint" ? et(null, u, null, null, u) : Array.isArray(u) ? et(k, { children: u }, null, null, null) : u.__b > 0 ? et(u.type, u.props, u.key, u.ref ? u.ref : null, u.__v) : u) != null) {
113
113
  if (u.__ = n, u.__b = n.__b + 1, (f = E[c]) === null || f && u.key == f.key && u.type === f.type) E[c] = void 0;
114
114
  else for (h = 0; h < y; h++) {
115
115
  if ((f = E[h]) && u.key == f.key && u.type === f.type) {
@@ -118,7 +118,7 @@ function ri(t, e, n, r, i, s, l, o, a, d) {
118
118
  }
119
119
  f = null;
120
120
  }
121
- fn(t, u, f = f || st, i, s, l, o, a, d), m = u.__e, (h = u.ref) && f.ref != h && (b || (b = []), f.ref && b.push(f.ref, null, u), b.push(h, u.__c || m, u)), m != null ? (v == null && (v = m), typeof u.type == "function" && u.__k === f.__k ? u.__d = a = ii(u, a, t) : a = si(t, u, f, E, m, a), typeof n.type == "function" && (n.__d = a)) : a && f.__e == a && a.parentNode != t && (a = He(f));
121
+ hn(t, u, f = f || st, i, s, l, o, a, d), m = u.__e, (h = u.ref) && f.ref != h && (b || (b = []), f.ref && b.push(f.ref, null, u), b.push(h, u.__c || m, u)), m != null ? (v == null && (v = m), typeof u.type == "function" && u.__k === f.__k ? u.__d = a = ii(u, a, t) : a = si(t, u, f, E, m, a), typeof n.type == "function" && (n.__d = a)) : a && f.__e == a && a.parentNode != t && (a = He(f));
122
122
  }
123
123
  for (n.__e = v, c = y; c--; ) E[c] != null && (typeof n.type == "function" && E[c].__e != null && E[c].__e == n.__d && (n.__d = li(r).nextSibling), ci(E[c], E[c]));
124
124
  if (b) for (c = 0; c < b.length; c++) ai(b[c], b[++c], b[++c]);
@@ -150,7 +150,7 @@ function li(t) {
150
150
  }
151
151
  return null;
152
152
  }
153
- function fn(t, e, n, r, i, s, l, o, a) {
153
+ function hn(t, e, n, r, i, s, l, o, a) {
154
154
  var d, c, h, f, u, m, v, b, E, y, D, C, I, w, x, R = e.type;
155
155
  if (e.constructor !== void 0) return null;
156
156
  n.__h != null && (a = n.__h, o = e.__e = n.__e, e.__h = null, s = [o]), (d = S.__b) && d(e);
@@ -175,7 +175,7 @@ function fn(t, e, n, r, i, s, l, o, a) {
175
175
  } else do
176
176
  c.__d = !1, C && C(e), d = c.render(c.props, c.state, c.context), c.state = c.__s;
177
177
  while (c.__d && ++I < 25);
178
- c.state = c.__s, c.getChildContext != null && (r = K(K({}, r), c.getChildContext())), h || c.getSnapshotBeforeUpdate == null || (m = c.getSnapshotBeforeUpdate(f, u)), x = d != null && d.type === M && d.key == null ? d.props.children : d, ri(t, Array.isArray(x) ? x : [x], e, n, r, i, s, l, o, a), c.base = e.__e, e.__h = null, c.__h.length && l.push(c), v && (c.__E = c.__ = null), c.__e = !1;
178
+ c.state = c.__s, c.getChildContext != null && (r = K(K({}, r), c.getChildContext())), h || c.getSnapshotBeforeUpdate == null || (m = c.getSnapshotBeforeUpdate(f, u)), x = d != null && d.type === k && d.key == null ? d.props.children : d, ri(t, Array.isArray(x) ? x : [x], e, n, r, i, s, l, o, a), c.base = e.__e, e.__h = null, c.__h.length && l.push(c), v && (c.__E = c.__ = null), c.__e = !1;
179
179
  } else s == null && e.__v === n.__v ? (e.__k = n.__k, e.__e = n.__e) : e.__e = al(n.__e, e, n, r, i, s, l, a);
180
180
  (d = S.diffed) && d(e);
181
181
  } catch (J) {
@@ -207,7 +207,7 @@ function al(t, e, n, r, i, s, l, o) {
207
207
  }
208
208
  if (u === null) h === f || o && t.data === f || (t.data = f);
209
209
  else {
210
- if (s = s && St.call(t.childNodes), d = (h = n.props || st).dangerouslySetInnerHTML, c = f.dangerouslySetInnerHTML, !o) {
210
+ if (s = s && At.call(t.childNodes), d = (h = n.props || st).dangerouslySetInnerHTML, c = f.dangerouslySetInnerHTML, !o) {
211
211
  if (s != null) for (h = {}, m = 0; m < t.attributes.length; m++) h[t.attributes[m].name] = t.attributes[m].value;
212
212
  (c || d) && (c && (d && c.__html == d.__html || c.__html === t.innerHTML) || (t.innerHTML = c && c.__html || ""));
213
213
  }
@@ -242,7 +242,7 @@ function cl(t, e, n) {
242
242
  }
243
243
  function Be(t, e, n) {
244
244
  var r, i, s;
245
- S.__ && S.__(t, e), i = (r = typeof n == "function") ? null : e.__k, s = [], fn(e, t = e.__k = g(M, null, [t]), i || st, st, e.ownerSVGElement !== void 0, i ? null : e.firstChild ? St.call(e.childNodes) : null, s, i ? i.__e : e.firstChild, r), oi(s, t);
245
+ S.__ && S.__(t, e), i = (r = typeof n == "function") ? null : e.__k, s = [], hn(e, t = e.__k = g(k, null, [t]), i || st, st, e.ownerSVGElement !== void 0, i ? null : e.firstChild ? At.call(e.childNodes) : null, s, i ? i.__e : e.firstChild, r), oi(s, t);
246
246
  }
247
247
  function dl(t, e) {
248
248
  var n = { __c: e = "__cC" + Kr++, __: t, Consumer: function(r, i) {
@@ -253,7 +253,7 @@ function dl(t, e) {
253
253
  return s;
254
254
  }, this.shouldComponentUpdate = function(l) {
255
255
  this.props.value !== l.value && i.some(function(o) {
256
- o.__e = !0, Zt(o);
256
+ o.__e = !0, $t(o);
257
257
  });
258
258
  }, this.sub = function(l) {
259
259
  i.push(l);
@@ -265,7 +265,7 @@ function dl(t, e) {
265
265
  } };
266
266
  return n.Provider.__ = n.Consumer.contextType = n;
267
267
  }
268
- St = ei.slice, S = { __e: function(t, e, n, r) {
268
+ At = ei.slice, S = { __e: function(t, e, n, r) {
269
269
  for (var i, s, l; e = e.__; ) if ((i = e.__c) && !i.__) try {
270
270
  if ((s = i.constructor) && s.getDerivedStateFromError != null && (i.setState(s.getDerivedStateFromError(t)), l = i.__d), i.componentDidCatch != null && (i.componentDidCatch(t, r || {}), l = i.__d), l) return i.__E = i;
271
271
  } catch (o) {
@@ -276,46 +276,46 @@ St = ei.slice, S = { __e: function(t, e, n, r) {
276
276
  return t != null && t.constructor === void 0;
277
277
  }, Ce = !1, U.prototype.setState = function(t, e) {
278
278
  var n;
279
- n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = K({}, this.state), typeof t == "function" && (t = t(K({}, n), this.props)), t && K(n, t), t != null && this.__v && (e && this._sb.push(e), Zt(this));
279
+ n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = K({}, this.state), typeof t == "function" && (t = t(K({}, n), this.props)), t && K(n, t), t != null && this.__v && (e && this._sb.push(e), $t(this));
280
280
  }, U.prototype.forceUpdate = function(t) {
281
- this.__v && (this.__e = !0, t && this.__h.push(t), Zt(this));
282
- }, U.prototype.render = M, ce = [], Jr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ot.__r = 0, Kr = 0;
283
- var W, Ot, $n, di = [], Nt = [], Xn = S.__b, Jn = S.__r, Kn = S.diffed, er = S.__c, tr = S.unmount;
281
+ this.__v && (this.__e = !0, t && this.__h.push(t), $t(this));
282
+ }, U.prototype.render = k, ce = [], Jr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ot.__r = 0, Kr = 0;
283
+ var W, Ot, Xn, di = [], Pt = [], Jn = S.__b, Kn = S.__r, er = S.diffed, tr = S.__c, nr = S.unmount;
284
284
  function ul() {
285
285
  for (var t; t = di.shift(); ) if (t.__P && t.__H) try {
286
- t.__H.__h.forEach(tt), t.__H.__h.forEach($t), t.__H.__h = [];
286
+ t.__H.__h.forEach(tt), t.__H.__h.forEach(Xt), t.__H.__h = [];
287
287
  } catch (e) {
288
288
  t.__H.__h = [], S.__e(e, t.__v);
289
289
  }
290
290
  }
291
291
  S.__b = function(t) {
292
- W = null, Xn && Xn(t);
292
+ W = null, Jn && Jn(t);
293
293
  }, S.__r = function(t) {
294
- Jn && Jn(t);
294
+ Kn && Kn(t);
295
295
  var e = (W = t.__c).__H;
296
296
  e && (Ot === W ? (e.__h = [], W.__h = [], e.__.forEach(function(n) {
297
- n.__N && (n.__ = n.__N), n.__V = Nt, n.__N = n.i = void 0;
298
- })) : (e.__h.forEach(tt), e.__h.forEach($t), e.__h = [])), Ot = W;
297
+ n.__N && (n.__ = n.__N), n.__V = Pt, n.__N = n.i = void 0;
298
+ })) : (e.__h.forEach(tt), e.__h.forEach(Xt), e.__h = [])), Ot = W;
299
299
  }, S.diffed = function(t) {
300
- Kn && Kn(t);
300
+ er && er(t);
301
301
  var e = t.__c;
302
- e && e.__H && (e.__H.__h.length && (di.push(e) !== 1 && $n === S.requestAnimationFrame || (($n = S.requestAnimationFrame) || fl)(ul)), e.__H.__.forEach(function(n) {
303
- n.i && (n.__H = n.i), n.__V !== Nt && (n.__ = n.__V), n.i = void 0, n.__V = Nt;
302
+ e && e.__H && (e.__H.__h.length && (di.push(e) !== 1 && Xn === S.requestAnimationFrame || ((Xn = S.requestAnimationFrame) || fl)(ul)), e.__H.__.forEach(function(n) {
303
+ n.i && (n.__H = n.i), n.__V !== Pt && (n.__ = n.__V), n.i = void 0, n.__V = Pt;
304
304
  })), Ot = W = null;
305
305
  }, S.__c = function(t, e) {
306
306
  e.some(function(n) {
307
307
  try {
308
308
  n.__h.forEach(tt), n.__h = n.__h.filter(function(r) {
309
- return !r.__ || $t(r);
309
+ return !r.__ || Xt(r);
310
310
  });
311
311
  } catch (r) {
312
312
  e.some(function(i) {
313
313
  i.__h && (i.__h = []);
314
314
  }), e = [], S.__e(r, n.__v);
315
315
  }
316
- }), er && er(t, e);
316
+ }), tr && tr(t, e);
317
317
  }, S.unmount = function(t) {
318
- tr && tr(t);
318
+ nr && nr(t);
319
319
  var e, n = t.__c;
320
320
  n && n.__H && (n.__H.__.forEach(function(r) {
321
321
  try {
@@ -325,18 +325,18 @@ S.__b = function(t) {
325
325
  }
326
326
  }), n.__H = void 0, e && S.__e(e, n.__v));
327
327
  };
328
- var nr = typeof requestAnimationFrame == "function";
328
+ var rr = typeof requestAnimationFrame == "function";
329
329
  function fl(t) {
330
330
  var e, n = function() {
331
- clearTimeout(r), nr && cancelAnimationFrame(e), setTimeout(t);
331
+ clearTimeout(r), rr && cancelAnimationFrame(e), setTimeout(t);
332
332
  }, r = setTimeout(n, 100);
333
- nr && (e = requestAnimationFrame(n));
333
+ rr && (e = requestAnimationFrame(n));
334
334
  }
335
335
  function tt(t) {
336
336
  var e = W, n = t.__c;
337
337
  typeof n == "function" && (t.__c = void 0, n()), W = e;
338
338
  }
339
- function $t(t) {
339
+ function Xt(t) {
340
340
  var e = W;
341
341
  t.__c = t.__(), W = e;
342
342
  }
@@ -344,20 +344,20 @@ function hl(t, e) {
344
344
  for (var n in e) t[n] = e[n];
345
345
  return t;
346
346
  }
347
- function rr(t, e) {
347
+ function ir(t, e) {
348
348
  for (var n in t) if (n !== "__source" && !(n in e)) return !0;
349
349
  for (var r in e) if (r !== "__source" && t[r] !== e[r]) return !0;
350
350
  return !1;
351
351
  }
352
- function ir(t) {
352
+ function sr(t) {
353
353
  this.props = t;
354
354
  }
355
- (ir.prototype = new U()).isPureReactComponent = !0, ir.prototype.shouldComponentUpdate = function(t, e) {
356
- return rr(this.props, t) || rr(this.state, e);
355
+ (sr.prototype = new U()).isPureReactComponent = !0, sr.prototype.shouldComponentUpdate = function(t, e) {
356
+ return ir(this.props, t) || ir(this.state, e);
357
357
  };
358
- var sr = S.__b;
358
+ var lr = S.__b;
359
359
  S.__b = function(t) {
360
- t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), sr && sr(t);
360
+ t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), lr && lr(t);
361
361
  };
362
362
  var gl = S.__e;
363
363
  S.__e = function(t, e, n, r) {
@@ -366,7 +366,7 @@ S.__e = function(t, e, n, r) {
366
366
  }
367
367
  gl(t, e, n, r);
368
368
  };
369
- var lr = S.unmount;
369
+ var or = S.unmount;
370
370
  function ui(t, e, n) {
371
371
  return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(r) {
372
372
  typeof r.__c == "function" && r.__c();
@@ -379,7 +379,7 @@ function fi(t, e, n) {
379
379
  return fi(r, e, n);
380
380
  }), t.__c && t.__c.__P === e && (t.__e && n.insertBefore(t.__e, t.__d), t.__c.__e = !0, t.__c.__P = n)), t;
381
381
  }
382
- function Pt() {
382
+ function Ht() {
383
383
  this.__u = 0, this.t = null, this.__b = null;
384
384
  }
385
385
  function hi(t) {
@@ -391,8 +391,8 @@ function Ge() {
391
391
  }
392
392
  S.unmount = function(t) {
393
393
  var e = t.__c;
394
- e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), lr && lr(t);
395
- }, (Pt.prototype = new U()).__c = function(t, e) {
394
+ e && e.__R && e.__R(), e && t.__h === !0 && (t.type = null), or && or(t);
395
+ }, (Ht.prototype = new U()).__c = function(t, e) {
396
396
  var n = e.__c, r = this;
397
397
  r.t == null && (r.t = []), r.t.push(n);
398
398
  var i = hi(r.__v), s = !1, l = function() {
@@ -410,9 +410,9 @@ S.unmount = function(t) {
410
410
  }
411
411
  }, a = e.__h === !0;
412
412
  r.__u++ || a || r.setState({ __a: r.__b = r.__v.__k[0] }), t.then(l, l);
413
- }, Pt.prototype.componentWillUnmount = function() {
413
+ }, Ht.prototype.componentWillUnmount = function() {
414
414
  this.t = [];
415
- }, Pt.prototype.render = function(t, e) {
415
+ }, Ht.prototype.render = function(t, e) {
416
416
  if (this.__b) {
417
417
  if (this.__v.__k) {
418
418
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
@@ -420,10 +420,10 @@ S.unmount = function(t) {
420
420
  }
421
421
  this.__b = null;
422
422
  }
423
- var i = e.__a && g(M, null, t.fallback);
424
- return i && (i.__h = null), [g(M, null, e.__a ? null : t.children), i];
423
+ var i = e.__a && g(k, null, t.fallback);
424
+ return i && (i.__h = null), [g(k, null, e.__a ? null : t.children), i];
425
425
  };
426
- var or = function(t, e, n) {
426
+ var ar = function(t, e, n) {
427
427
  if (++n[1] === n[0] && t.o.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.o.size)) for (n = t.u; n; ) {
428
428
  for (; n.length > 3; ) n.pop()();
429
429
  if (n[1] < n[0]) break;
@@ -455,7 +455,7 @@ function vl(t, e) {
455
455
  var e = this, n = hi(e.__v), r = e.o.get(t);
456
456
  return r[0]++, function(i) {
457
457
  var s = function() {
458
- e.props.revealOrder ? (r.push(i), or(e, t, r)) : i();
458
+ e.props.revealOrder ? (r.push(i), ar(e, t, r)) : i();
459
459
  };
460
460
  n ? n(s) : s();
461
461
  };
@@ -468,7 +468,7 @@ function vl(t, e) {
468
468
  }, Ge.prototype.componentDidUpdate = Ge.prototype.componentDidMount = function() {
469
469
  var t = this;
470
470
  this.o.forEach(function(e, n) {
471
- or(t, n, e);
471
+ ar(t, n, e);
472
472
  });
473
473
  };
474
474
  var bl = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, yl = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, El = typeof document < "u", Sl = function(t) {
@@ -481,7 +481,7 @@ U.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
481
481
  Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
482
482
  } });
483
483
  });
484
- var ar = S.event;
484
+ var cr = S.event;
485
485
  function Al() {
486
486
  }
487
487
  function Dl() {
@@ -491,11 +491,11 @@ function Cl() {
491
491
  return this.defaultPrevented;
492
492
  }
493
493
  S.event = function(t) {
494
- return ar && (t = ar(t)), t.persist = Al, t.isPropagationStopped = Dl, t.isDefaultPrevented = Cl, t.nativeEvent = t;
494
+ return cr && (t = cr(t)), t.persist = Al, t.isPropagationStopped = Dl, t.isDefaultPrevented = Cl, t.nativeEvent = t;
495
495
  };
496
- var cr = { configurable: !0, get: function() {
496
+ var dr = { configurable: !0, get: function() {
497
497
  return this.class;
498
- } }, dr = S.vnode;
498
+ } }, ur = S.vnode;
499
499
  S.vnode = function(t) {
500
500
  var e = t.type, n = t.props, r = n;
501
501
  if (typeof e == "string") {
@@ -508,25 +508,26 @@ S.vnode = function(t) {
508
508
  o.props.selected = r.value.indexOf(o.props.value) != -1;
509
509
  })), e == "select" && r.defaultValue != null && (r.value = at(n.children).forEach(function(o) {
510
510
  o.props.selected = r.multiple ? r.defaultValue.indexOf(o.props.value) != -1 : r.defaultValue == o.props.value;
511
- })), t.props = r, n.class != n.className && (cr.enumerable = "className" in n, n.className != null && (r.class = n.className), Object.defineProperty(r, "className", cr));
511
+ })), t.props = r, n.class != n.className && (dr.enumerable = "className" in n, n.className != null && (r.class = n.className), Object.defineProperty(r, "className", dr));
512
512
  }
513
- t.$$typeof = bl, dr && dr(t);
513
+ t.$$typeof = bl, ur && ur(t);
514
514
  };
515
- var ur = S.__r;
515
+ var fr = S.__r;
516
516
  S.__r = function(t) {
517
- ur && ur(t), t.__c;
517
+ fr && fr(t), t.__c;
518
518
  };
519
- const gi = [], Xt = /* @__PURE__ */ new Map();
520
- function hn(t) {
521
- gi.push(t), Xt.forEach((e) => {
519
+ const gi = [], Jt = /* @__PURE__ */ new Map();
520
+ function gn(t) {
521
+ gi.push(t), Jt.forEach((e) => {
522
522
  mi(e, t);
523
523
  });
524
524
  }
525
525
  function wl(t) {
526
- t.isConnected && pi(t.getRootNode());
526
+ t.isConnected && // sometimes true if SSR system simulates DOM
527
+ t.getRootNode && pi(t.getRootNode());
527
528
  }
528
529
  function pi(t) {
529
- let e = Xt.get(t);
530
+ let e = Jt.get(t);
530
531
  if (!e || !e.isConnected) {
531
532
  if (e = t.querySelector("style[data-fullcalendar]"), !e) {
532
533
  e = document.createElement("style"), e.setAttribute("data-fullcalendar", "");
@@ -535,7 +536,7 @@ function pi(t) {
535
536
  const r = t === document ? document.head : t, i = t === document ? r.querySelector("script,link[rel=stylesheet],link[as=style],style") : r.firstChild;
536
537
  r.insertBefore(e, i);
537
538
  }
538
- Xt.set(t, e), Rl(e);
539
+ Jt.set(t, e), Rl(e);
539
540
  }
540
541
  }
541
542
  function Rl(t) {
@@ -548,9 +549,9 @@ function mi(t, e) {
548
549
  i = i.trim(), i && n.insertRule(i + "}", r + s);
549
550
  });
550
551
  }
551
- let Ht;
552
+ let Bt;
552
553
  function _l() {
553
- return Ht === void 0 && (Ht = Tl()), Ht;
554
+ return Bt === void 0 && (Bt = Tl()), Bt;
554
555
  }
555
556
  function Tl() {
556
557
  const t = document.querySelector('meta[name="csp-nonce"]');
@@ -560,9 +561,9 @@ function Tl() {
560
561
  return e && e.nonce || "";
561
562
  }
562
563
  typeof document < "u" && pi(document);
563
- var xl = ':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';
564
- hn(xl);
565
- class gn {
564
+ var xl = ':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';
565
+ gn(xl);
566
+ class pn {
566
567
  constructor(e) {
567
568
  this.drainedOption = e, this.isRunning = !1, this.isDirty = !1, this.pauseDepths = {}, this.timeoutId = 0;
568
569
  }
@@ -601,7 +602,7 @@ class gn {
601
602
  this.drainedOption && this.drainedOption();
602
603
  }
603
604
  }
604
- function pn(t) {
605
+ function mn(t) {
605
606
  t.parentNode && t.parentNode.removeChild(t);
606
607
  }
607
608
  function P(t, e) {
@@ -610,16 +611,16 @@ function P(t, e) {
610
611
  if (!document.documentElement.contains(t))
611
612
  return null;
612
613
  do {
613
- if (kl(t, e))
614
+ if (Ml(t, e))
614
615
  return t;
615
616
  t = t.parentElement || t.parentNode;
616
617
  } while (t !== null && t.nodeType === 1);
617
618
  return null;
618
619
  }
619
- function kl(t, e) {
620
+ function Ml(t, e) {
620
621
  return (t.matches || t.matchesSelector || t.msMatchesSelector).call(t, e);
621
622
  }
622
- function Ml(t, e) {
623
+ function kl(t, e) {
623
624
  let n = t instanceof HTMLElement ? [t] : t, r = [];
624
625
  for (let i = 0; i < n.length; i += 1) {
625
626
  let s = n[i].querySelectorAll(e);
@@ -629,7 +630,7 @@ function Ml(t, e) {
629
630
  return r;
630
631
  }
631
632
  const Il = /(top|left|right|bottom|width|height)$/i;
632
- function Oe(t, e) {
633
+ function Ne(t, e) {
633
634
  for (let n in e)
634
635
  vi(t, n, e[n]);
635
636
  }
@@ -640,26 +641,26 @@ function bi(t) {
640
641
  var e, n;
641
642
  return (n = (e = t.composedPath) === null || e === void 0 ? void 0 : e.call(t)[0]) !== null && n !== void 0 ? n : t.target;
642
643
  }
643
- let fr = 0;
644
- function At() {
645
- return fr += 1, "fc-dom-" + fr;
644
+ let hr = 0;
645
+ function Dt() {
646
+ return hr += 1, "fc-dom-" + hr;
646
647
  }
647
- function Dt(t) {
648
+ function Ct(t) {
648
649
  t.preventDefault();
649
650
  }
650
- function Ol(t, e) {
651
+ function Nl(t, e) {
651
652
  return (n) => {
652
653
  let r = P(n.target, t);
653
654
  r && e.call(r, n, r);
654
655
  };
655
656
  }
656
657
  function yi(t, e, n, r) {
657
- let i = Ol(n, r);
658
+ let i = Nl(n, r);
658
659
  return t.addEventListener(e, i), () => {
659
660
  t.removeEventListener(e, i);
660
661
  };
661
662
  }
662
- function Nl(t, e, n, r) {
663
+ function Ol(t, e, n, r) {
663
664
  let i;
664
665
  return yi(t, "mouseover", e, (s, l) => {
665
666
  if (l !== i) {
@@ -671,7 +672,7 @@ function Nl(t, e, n, r) {
671
672
  }
672
673
  });
673
674
  }
674
- const hr = [
675
+ const gr = [
675
676
  "webkitTransitionEnd",
676
677
  "otransitionend",
677
678
  "oTransitionEnd",
@@ -680,11 +681,11 @@ const hr = [
680
681
  ];
681
682
  function Pl(t, e) {
682
683
  let n = (r) => {
683
- e(r), hr.forEach((i) => {
684
+ e(r), gr.forEach((i) => {
684
685
  t.removeEventListener(i, n);
685
686
  });
686
687
  };
687
- hr.forEach((r) => {
688
+ gr.forEach((r) => {
688
689
  t.addEventListener(r, n);
689
690
  });
690
691
  }
@@ -699,27 +700,27 @@ function Si(t) {
699
700
  }
700
701
  };
701
702
  }
702
- let gr = 0;
703
+ let pr = 0;
703
704
  function pe() {
704
- return gr += 1, String(gr);
705
+ return pr += 1, String(pr);
705
706
  }
706
- function mn() {
707
+ function vn() {
707
708
  document.body.classList.add("fc-not-allowed");
708
709
  }
709
- function vn() {
710
+ function bn() {
710
711
  document.body.classList.remove("fc-not-allowed");
711
712
  }
712
713
  function Hl(t) {
713
- t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.addEventListener("selectstart", Dt);
714
+ t.style.userSelect = "none", t.style.webkitUserSelect = "none", t.addEventListener("selectstart", Ct);
714
715
  }
715
716
  function Bl(t) {
716
- t.style.userSelect = "", t.style.webkitUserSelect = "", t.removeEventListener("selectstart", Dt);
717
+ t.style.userSelect = "", t.style.webkitUserSelect = "", t.removeEventListener("selectstart", Ct);
717
718
  }
718
719
  function Ll(t) {
719
- t.addEventListener("contextmenu", Dt);
720
+ t.addEventListener("contextmenu", Ct);
720
721
  }
721
722
  function Ul(t) {
722
- t.removeEventListener("contextmenu", Dt);
723
+ t.removeEventListener("contextmenu", Ct);
723
724
  }
724
725
  function jl(t) {
725
726
  let e = [], n = [], r, i;
@@ -744,7 +745,7 @@ function Se(t, e) {
744
745
  let n = String(t);
745
746
  return "000".substr(0, e - n.length) + n;
746
747
  }
747
- function Ne(t, e, n) {
748
+ function Oe(t, e, n) {
748
749
  return typeof t == "function" ? t(...e) : typeof t == "string" ? e.reduce((r, i, s) => r.replace("$" + s, i || ""), t) : n;
749
750
  }
750
751
  function Vl(t, e) {
@@ -762,9 +763,9 @@ function Gl(t) {
762
763
  return t.getBoundingClientRect().width - e.getBoundingClientRect().width + // the cell padding+border
763
764
  n.getBoundingClientRect().width;
764
765
  }
765
- const pr = ["years", "months", "days", "milliseconds"], ql = /^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;
766
+ const mr = ["years", "months", "days", "milliseconds"], ql = /^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;
766
767
  function _(t, e) {
767
- return typeof t == "string" ? Ql(t) : typeof t == "object" && t ? mr(t) : typeof t == "number" ? mr({ [e || "milliseconds"]: t }) : null;
768
+ return typeof t == "string" ? Ql(t) : typeof t == "object" && t ? vr(t) : typeof t == "number" ? vr({ [e || "milliseconds"]: t }) : null;
768
769
  }
769
770
  function Ql(t) {
770
771
  let e = ql.exec(t);
@@ -782,7 +783,7 @@ function Ql(t) {
782
783
  }
783
784
  return null;
784
785
  }
785
- function mr(t) {
786
+ function vr(t) {
786
787
  let e = {
787
788
  years: t.years || t.year || 0,
788
789
  months: t.months || t.month || 0,
@@ -798,7 +799,7 @@ function mr(t) {
798
799
  function Yl(t, e) {
799
800
  return t.years === e.years && t.months === e.months && t.days === e.days && t.milliseconds === e.milliseconds;
800
801
  }
801
- function Jt(t, e) {
802
+ function Kt(t, e) {
802
803
  return {
803
804
  years: t.years + e.years,
804
805
  months: t.months + e.months,
@@ -834,10 +835,10 @@ function Ae(t) {
834
835
  function F(t) {
835
836
  return t.years * (365 * 864e5) + t.months * (30 * 864e5) + t.days * 864e5 + t.milliseconds;
836
837
  }
837
- function bn(t, e) {
838
+ function yn(t, e) {
838
839
  let n = null;
839
- for (let r = 0; r < pr.length; r += 1) {
840
- let i = pr[r];
840
+ for (let r = 0; r < mr.length; r += 1) {
841
+ let i = mr[r];
841
842
  if (e[i]) {
842
843
  let s = t[i] / e[i];
843
844
  if (!nt(s) || n !== null && n !== s)
@@ -848,7 +849,7 @@ function bn(t, e) {
848
849
  }
849
850
  return n;
850
851
  }
851
- function Kt(t) {
852
+ function en(t) {
852
853
  let e = t.milliseconds;
853
854
  if (e) {
854
855
  if (e % 1e3 !== 0)
@@ -874,7 +875,7 @@ function re(t, e, n) {
874
875
  return !0;
875
876
  }
876
877
  const Kl = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"];
877
- function vr(t, e) {
878
+ function br(t, e) {
878
879
  let n = ee(t);
879
880
  return n[2] += e * 7, L(n);
880
881
  }
@@ -902,7 +903,7 @@ function ro(t, e) {
902
903
  return (e.valueOf() - t.valueOf()) / 1e3;
903
904
  }
904
905
  function io(t, e) {
905
- let n = k(t), r = k(e);
906
+ let n = M(t), r = M(e);
906
907
  return {
907
908
  years: 0,
908
909
  months: 0,
@@ -917,7 +918,7 @@ function so(t, e) {
917
918
  function ct(t, e) {
918
919
  return te(t) === te(e) ? Math.round(me(t, e)) : null;
919
920
  }
920
- function k(t) {
921
+ function M(t) {
921
922
  return L([
922
923
  t.getUTCFullYear(),
923
924
  t.getUTCMonth(),
@@ -952,21 +953,21 @@ function ao(t) {
952
953
  ]);
953
954
  }
954
955
  function co(t, e, n) {
955
- let r = t.getUTCFullYear(), i = Bt(t, r, e, n);
956
+ let r = t.getUTCFullYear(), i = Lt(t, r, e, n);
956
957
  if (i < 1)
957
- return Bt(t, r - 1, e, n);
958
- let s = Bt(t, r + 1, e, n);
958
+ return Lt(t, r - 1, e, n);
959
+ let s = Lt(t, r + 1, e, n);
959
960
  return s >= 1 ? Math.min(i, s) : i;
960
961
  }
961
- function Bt(t, e, n, r) {
962
- let i = L([e, 0, 1 + uo(e, n, r)]), s = k(t), l = Math.round(me(i, s));
962
+ function Lt(t, e, n, r) {
963
+ let i = L([e, 0, 1 + uo(e, n, r)]), s = M(t), l = Math.round(me(i, s));
963
964
  return Math.floor(l / 7) + 1;
964
965
  }
965
966
  function uo(t, e, n) {
966
967
  let r = 7 + e - n;
967
968
  return -((7 + L([t, 0, r]).getUTCDay() - e) % 7) + r - 1;
968
969
  }
969
- function br(t) {
970
+ function yr(t) {
970
971
  return [
971
972
  t.getFullYear(),
972
973
  t.getMonth(),
@@ -977,7 +978,7 @@ function br(t) {
977
978
  t.getMilliseconds()
978
979
  ];
979
980
  }
980
- function yr(t) {
981
+ function Er(t) {
981
982
  return new Date(
982
983
  t[0],
983
984
  t[1] || 0,
@@ -1010,9 +1011,9 @@ function te(t) {
1010
1011
  }
1011
1012
  function Di(t, e, n = !1) {
1012
1013
  let r = t.toISOString();
1013
- return r = r.replace(".000", ""), n && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z", En(e, !0)))), r;
1014
+ return r = r.replace(".000", ""), n && (r = r.replace("T00:00:00Z", "")), r.length > 10 && (e == null ? r = r.replace("Z", "") : e !== 0 && (r = r.replace("Z", Sn(e, !0)))), r;
1014
1015
  }
1015
- function yn(t) {
1016
+ function En(t) {
1016
1017
  return t.toISOString().replace(/T.*$/, "");
1017
1018
  }
1018
1019
  function fo(t) {
@@ -1021,7 +1022,7 @@ function fo(t) {
1021
1022
  function ho(t) {
1022
1023
  return Se(t.getUTCHours(), 2) + ":" + Se(t.getUTCMinutes(), 2) + ":" + Se(t.getUTCSeconds(), 2);
1023
1024
  }
1024
- function En(t, e = !1) {
1025
+ function Sn(t, e = !1) {
1025
1026
  let n = t < 0 ? "-" : "+", r = Math.abs(t), i = Math.floor(r / 60), s = Math.round(r % 60);
1026
1027
  return e ? `${n + Se(i, 2)}:${Se(s, 2)}` : `GMT${n}${i}${s ? `:${Se(s, 2)}` : ""}`;
1027
1028
  }
@@ -1041,7 +1042,7 @@ function rt(t, e, n) {
1041
1042
  let r, i;
1042
1043
  return (s) => (r ? V(r, s) || (i = t.call(this, s)) : i = t.call(this, s), r = s, i);
1043
1044
  }
1044
- const Er = {
1045
+ const Sr = {
1045
1046
  week: 3,
1046
1047
  separator: 0,
1047
1048
  omitZeroMinute: 0,
@@ -1062,8 +1063,8 @@ class bo {
1062
1063
  constructor(e) {
1063
1064
  let n = {}, r = {}, i = 0;
1064
1065
  for (let s in e)
1065
- s in Er ? (r[s] = e[s], i = Math.max(Er[s], i)) : (n[s] = e[s], s in dt && (i = Math.max(dt[s], i)));
1066
- this.standardDateProps = n, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = A(Sr);
1066
+ s in Sr ? (r[s] = e[s], i = Math.max(Sr[s], i)) : (n[s] = e[s], s in dt && (i = Math.max(dt[s], i)));
1067
+ this.standardDateProps = n, this.extendedSettings = r, this.severity = i, this.buildFormattingFunc = A(Ar);
1067
1068
  }
1068
1069
  format(e, n) {
1069
1070
  return this.buildFormattingFunc(this.standardDateProps, this.extendedSettings, n)(e);
@@ -1078,7 +1079,7 @@ class bo {
1078
1079
  let d = this.format(e, r), c = this.format(n, r);
1079
1080
  if (d === c)
1080
1081
  return d;
1081
- let h = wo(s, a), f = Sr(h, l, r), u = f(e), m = f(n), v = Ro(d, u, c, m), b = l.separator || i || r.defaultSeparator || "";
1082
+ let h = wo(s, a), f = Ar(h, l, r), u = f(e), m = f(n), v = Ro(d, u, c, m), b = l.separator || i || r.defaultSeparator || "";
1082
1083
  return v ? v.before + u + b + m + v.after : d + b + c;
1083
1084
  }
1084
1085
  getLargestUnit() {
@@ -1098,9 +1099,9 @@ class bo {
1098
1099
  }
1099
1100
  }
1100
1101
  }
1101
- function Sr(t, e, n) {
1102
+ function Ar(t, e, n) {
1102
1103
  let r = Object.keys(t).length;
1103
- return r === 1 && t.timeZoneName === "short" ? (i) => En(i.timeZoneOffset) : r === 0 && e.week ? (i) => Do(n.computeWeekNumber(i.marker), n.weekText, n.weekTextLong, n.locale, e.week) : yo(t, e, n);
1104
+ return r === 1 && t.timeZoneName === "short" ? (i) => Sn(i.timeZoneOffset) : r === 0 && e.week ? (i) => Do(n.computeWeekNumber(i.marker), n.weekText, n.weekTextLong, n.locale, e.week) : yo(t, e, n);
1104
1105
  }
1105
1106
  function yo(t, e, n) {
1106
1107
  t = Object.assign({}, t), e = Object.assign({}, e), Eo(t, e), t.timeZone = "UTC";
@@ -1122,7 +1123,7 @@ function Eo(t, e) {
1122
1123
  function So(t, e, n, r, i) {
1123
1124
  return t = t.replace(mo, ""), n.timeZoneName === "short" && (t = Ao(t, i.timeZone === "UTC" || e.timeZoneOffset == null ? "UTC" : (
1124
1125
  // important to normalize for IE, which does "GMT"
1125
- En(e.timeZoneOffset)
1126
+ Sn(e.timeZoneOffset)
1126
1127
  ))), r.omitCommas && (t = t.replace(go, "").trim()), r.omitZeroMinute && (t = t.replace(":00", "")), r.meridiem === !1 ? t = t.replace(qe, "").trim() : r.meridiem === "narrow" ? t = t.replace(qe, (s, l) => l.toLocaleLowerCase()) : r.meridiem === "short" ? t = t.replace(qe, (s, l) => `${l.toLocaleLowerCase()}m`) : r.meridiem === "lowercase" && (t = t.replace(qe, (s) => s.toLocaleLowerCase())), t = t.replace(po, " "), t = t.trim(), t;
1127
1128
  }
1128
1129
  function Ao(t, e) {
@@ -1168,7 +1169,7 @@ function Ro(t, e, n, r) {
1168
1169
  }
1169
1170
  return null;
1170
1171
  }
1171
- function Ar(t, e) {
1172
+ function Dr(t, e) {
1172
1173
  let n = e.markerToArray(t.marker);
1173
1174
  return {
1174
1175
  marker: t.marker,
@@ -1184,7 +1185,7 @@ function Ar(t, e) {
1184
1185
  };
1185
1186
  }
1186
1187
  function ut(t, e, n, r) {
1187
- let i = Ar(t, n.calendarSystem), s = e ? Ar(e, n.calendarSystem) : null;
1188
+ let i = Dr(t, n.calendarSystem), s = e ? Dr(e, n.calendarSystem) : null;
1188
1189
  return {
1189
1190
  date: i,
1190
1191
  start: i,
@@ -1216,10 +1217,10 @@ class To {
1216
1217
  return this.func(ut(e, n, r, i));
1217
1218
  }
1218
1219
  }
1219
- function N(t) {
1220
+ function O(t) {
1220
1221
  return typeof t == "object" && t ? new bo(t) : typeof t == "string" ? new _o(t) : typeof t == "function" ? new To(t) : null;
1221
1222
  }
1222
- const Dr = {
1223
+ const Cr = {
1223
1224
  navLinkDayClick: p,
1224
1225
  navLinkWeekClick: p,
1225
1226
  duration: _,
@@ -1233,7 +1234,7 @@ const Dr = {
1233
1234
  scrollTimeReset: Boolean,
1234
1235
  slotMinTime: _,
1235
1236
  slotMaxTime: _,
1236
- dayPopoverFormat: N,
1237
+ dayPopoverFormat: O,
1237
1238
  slotDuration: _,
1238
1239
  snapDuration: _,
1239
1240
  headerToolbar: p,
@@ -1242,7 +1243,7 @@ const Dr = {
1242
1243
  titleRangeSeparator: String,
1243
1244
  forceEventDuration: Boolean,
1244
1245
  dayHeaders: Boolean,
1245
- dayHeaderFormat: N,
1246
+ dayHeaderFormat: O,
1246
1247
  dayHeaderClassNames: p,
1247
1248
  dayHeaderContent: p,
1248
1249
  dayHeaderDidMount: p,
@@ -1293,7 +1294,7 @@ const Dr = {
1293
1294
  height: p,
1294
1295
  contentHeight: p,
1295
1296
  direction: String,
1296
- weekNumberFormat: N,
1297
+ weekNumberFormat: O,
1297
1298
  eventResizableFromStart: Boolean,
1298
1299
  displayEventTime: Boolean,
1299
1300
  displayEventEnd: Boolean,
@@ -1349,7 +1350,7 @@ const Dr = {
1349
1350
  allDayWillUnmount: p,
1350
1351
  slotMinWidth: Number,
1351
1352
  navLinks: Boolean,
1352
- eventTimeFormat: N,
1353
+ eventTimeFormat: O,
1353
1354
  rerenderDelay: Number,
1354
1355
  moreLinkText: p,
1355
1356
  moreLinkHint: p,
@@ -1386,7 +1387,7 @@ const Dr = {
1386
1387
  moreLinkContent: p,
1387
1388
  moreLinkDidMount: p,
1388
1389
  moreLinkWillUnmount: p,
1389
- monthStartFormat: N,
1390
+ monthStartFormat: O,
1390
1391
  // for connectors
1391
1392
  // (can't be part of plugin system b/c must be provided at runtime)
1392
1393
  handleCustomRendering: p,
@@ -1444,7 +1445,7 @@ const Dr = {
1444
1445
  eventMinWidth: 30,
1445
1446
  eventShortHeight: 30,
1446
1447
  monthStartFormat: { month: "long", day: "numeric" }
1447
- }, Cr = {
1448
+ }, wr = {
1448
1449
  datesSet: p,
1449
1450
  eventsSet: p,
1450
1451
  eventAdd: p,
@@ -1465,7 +1466,7 @@ const Dr = {
1465
1466
  _noEventResize: p,
1466
1467
  _resize: p,
1467
1468
  _scrollRequest: p
1468
- }, wr = {
1469
+ }, Rr = {
1469
1470
  buttonText: p,
1470
1471
  buttonHints: p,
1471
1472
  views: p,
@@ -1503,10 +1504,10 @@ const xo = {
1503
1504
  didMount: p,
1504
1505
  willUnmount: p
1505
1506
  };
1506
- function Lt(t) {
1507
- return An(t, oe);
1507
+ function Ut(t) {
1508
+ return Dn(t, oe);
1508
1509
  }
1509
- function Sn(t, e) {
1510
+ function An(t, e) {
1510
1511
  let n = {}, r = {};
1511
1512
  for (let i in e)
1512
1513
  i in t && (n[i] = e[i](t[i]));
@@ -1518,7 +1519,7 @@ function p(t) {
1518
1519
  return t;
1519
1520
  }
1520
1521
  const { hasOwnProperty: ft } = Object.prototype;
1521
- function An(t, e) {
1522
+ function Dn(t, e) {
1522
1523
  let n = {};
1523
1524
  if (e) {
1524
1525
  for (let r in e)
@@ -1533,7 +1534,7 @@ function An(t, e) {
1533
1534
  break;
1534
1535
  }
1535
1536
  }
1536
- i.length && (n[r] = An(i));
1537
+ i.length && (n[r] = Dn(i));
1537
1538
  }
1538
1539
  }
1539
1540
  for (let r = t.length - 1; r >= 0; r -= 1) {
@@ -1561,7 +1562,7 @@ function Ci(t) {
1561
1562
  e[n] = !0;
1562
1563
  return e;
1563
1564
  }
1564
- function Dn(t) {
1565
+ function Cn(t) {
1565
1566
  let e = [];
1566
1567
  for (let n in t)
1567
1568
  e.push(t[n]);
@@ -1578,15 +1579,15 @@ function V(t, e) {
1578
1579
  return !1;
1579
1580
  return !0;
1580
1581
  }
1581
- const ko = /^on[A-Z]/;
1582
- function Mo(t, e) {
1583
- const n = en(t, e);
1582
+ const Mo = /^on[A-Z]/;
1583
+ function ko(t, e) {
1584
+ const n = tn(t, e);
1584
1585
  for (let r of n)
1585
- if (!ko.test(r))
1586
+ if (!Mo.test(r))
1586
1587
  return !1;
1587
1588
  return !0;
1588
1589
  }
1589
- function en(t, e) {
1590
+ function tn(t, e) {
1590
1591
  let n = [];
1591
1592
  for (let r in t)
1592
1593
  ft.call(t, r) && (r in e || n.push(r));
@@ -1594,7 +1595,7 @@ function en(t, e) {
1594
1595
  ft.call(e, r) && t[r] !== e[r] && n.push(r);
1595
1596
  return n;
1596
1597
  }
1597
- function Ut(t, e, n = {}) {
1598
+ function jt(t, e, n = {}) {
1598
1599
  if (t === e)
1599
1600
  return !0;
1600
1601
  for (let r in e)
@@ -1607,7 +1608,7 @@ function Ut(t, e, n = {}) {
1607
1608
  function Io(t, e, n) {
1608
1609
  return t === e || n === !0 ? !0 : n ? n(t, e) : !1;
1609
1610
  }
1610
- function Oo(t, e = 0, n, r = 1) {
1611
+ function No(t, e = 0, n, r = 1) {
1611
1612
  let i = [];
1612
1613
  n == null && (n = Object.keys(t).length);
1613
1614
  for (let s = e; s < n; s += r) {
@@ -1617,7 +1618,7 @@ function Oo(t, e = 0, n, r = 1) {
1617
1618
  return i;
1618
1619
  }
1619
1620
  let wi = {};
1620
- function No(t, e) {
1621
+ function Oo(t, e) {
1621
1622
  wi[t] = e;
1622
1623
  }
1623
1624
  function Po(t) {
@@ -1640,7 +1641,7 @@ class Ho {
1640
1641
  return ee(e);
1641
1642
  }
1642
1643
  }
1643
- No("gregory", Ho);
1644
+ Oo("gregory", Ho);
1644
1645
  const Bo = /^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;
1645
1646
  function Lo(t) {
1646
1647
  let e = Bo.exec(t);
@@ -1668,7 +1669,7 @@ class Uo {
1668
1669
  return n === null ? null : n.marker;
1669
1670
  }
1670
1671
  createNowMarker() {
1671
- return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : L(br(/* @__PURE__ */ new Date()));
1672
+ return this.canComputeOffset ? this.timestampToMarker((/* @__PURE__ */ new Date()).valueOf()) : L(yr(/* @__PURE__ */ new Date()));
1672
1673
  }
1673
1674
  createMarkerMeta(e) {
1674
1675
  if (typeof e == "string")
@@ -1731,7 +1732,7 @@ class Uo {
1731
1732
  // Start-Of
1732
1733
  // these DON'T return zoned-dates. only UTC start-of dates
1733
1734
  startOf(e, n) {
1734
- return n === "year" ? this.startOfYear(e) : n === "month" ? this.startOfMonth(e) : n === "week" ? this.startOfWeek(e) : n === "day" ? k(e) : n === "hour" ? lo(e) : n === "minute" ? oo(e) : n === "second" ? ao(e) : null;
1735
+ return n === "year" ? this.startOfYear(e) : n === "month" ? this.startOfMonth(e) : n === "week" ? this.startOfWeek(e) : n === "day" ? M(e) : n === "hour" ? lo(e) : n === "minute" ? oo(e) : n === "second" ? ao(e) : null;
1735
1736
  }
1736
1737
  startOfYear(e) {
1737
1738
  return this.calendarSystem.arrayToMarker([
@@ -1781,14 +1782,14 @@ class Uo {
1781
1782
  }
1782
1783
  // TimeZone
1783
1784
  timestampToMarker(e) {
1784
- return this.timeZone === "local" ? L(br(new Date(e))) : this.timeZone === "UTC" || !this.namedTimeZoneImpl ? new Date(e) : L(this.namedTimeZoneImpl.timestampToArray(e));
1785
+ return this.timeZone === "local" ? L(yr(new Date(e))) : this.timeZone === "UTC" || !this.namedTimeZoneImpl ? new Date(e) : L(this.namedTimeZoneImpl.timestampToArray(e));
1785
1786
  }
1786
1787
  offsetForMarker(e) {
1787
- return this.timeZone === "local" ? -yr(ee(e)).getTimezoneOffset() : this.timeZone === "UTC" ? 0 : this.namedTimeZoneImpl ? this.namedTimeZoneImpl.offsetForArray(ee(e)) : null;
1788
+ return this.timeZone === "local" ? -Er(ee(e)).getTimezoneOffset() : this.timeZone === "UTC" ? 0 : this.namedTimeZoneImpl ? this.namedTimeZoneImpl.offsetForArray(ee(e)) : null;
1788
1789
  }
1789
1790
  // Conversion
1790
1791
  toDate(e, n) {
1791
- return this.timeZone === "local" ? yr(ee(e)) : this.timeZone === "UTC" ? new Date(e.valueOf()) : this.namedTimeZoneImpl ? new Date(e.valueOf() - this.namedTimeZoneImpl.offsetForArray(ee(e)) * 1e3 * 60) : new Date(e.valueOf() - (n || 0));
1792
+ return this.timeZone === "local" ? Er(ee(e)) : this.timeZone === "UTC" ? new Date(e.valueOf()) : this.namedTimeZoneImpl ? new Date(e.valueOf() - this.namedTimeZoneImpl.offsetForArray(ee(e)) * 1e3 * 60) : new Date(e.valueOf() - (n || 0));
1792
1793
  }
1793
1794
  }
1794
1795
  class Ue {
@@ -1824,7 +1825,7 @@ Ue.prototype.classes = {};
1824
1825
  Ue.prototype.iconClasses = {};
1825
1826
  Ue.prototype.baseIconClass = "";
1826
1827
  Ue.prototype.iconOverridePrefix = "";
1827
- function Rr(t) {
1828
+ function ht(t) {
1828
1829
  t();
1829
1830
  let e = S.debounceRendering, n = [];
1830
1831
  function r(i) {
@@ -1914,11 +1915,11 @@ function Fo(t, e, n, r, i, s, l, o, a, d, c, h, f) {
1914
1915
  }
1915
1916
  class ve extends U {
1916
1917
  shouldComponentUpdate(e, n) {
1917
- return this.debug && console.log(en(e, this.props), en(n, this.state)), !Ut(this.props, e, this.propEquality) || !Ut(this.state, n, this.stateEquality);
1918
+ return this.debug && console.log(tn(e, this.props), tn(n, this.state)), !jt(this.props, e, this.propEquality) || !jt(this.state, n, this.stateEquality);
1918
1919
  }
1919
1920
  // HACK for freakin' React StrictMode
1920
1921
  safeSetState(e) {
1921
- Ut(this.state, Object.assign(Object.assign({}, this.state), e), this.stateEquality) || this.setState(e);
1922
+ jt(this.state, Object.assign(Object.assign({}, this.state), e), this.stateEquality) || this.setState(e);
1922
1923
  }
1923
1924
  }
1924
1925
  ve.addPropsEquality = Wo;
@@ -1940,11 +1941,11 @@ function Vo(t) {
1940
1941
  function Z(t, e) {
1941
1942
  typeof t == "function" ? t(e) : t && (t.current = e);
1942
1943
  }
1943
- class Cn extends T {
1944
+ class wn extends T {
1944
1945
  constructor() {
1945
1946
  super(...arguments), this.id = pe(), this.queuedDomNodes = [], this.currentDomNodes = [], this.handleEl = (e) => {
1946
1947
  const { options: n } = this.context, { generatorName: r } = this.props;
1947
- (!n.customRenderingReplaces || !tn(r, n)) && this.updateElRef(e);
1948
+ (!n.customRenderingReplaces || !nn(r, n)) && this.updateElRef(e);
1948
1949
  }, this.updateElRef = (e) => {
1949
1950
  this.props.elRef && Z(this.props.elRef, e);
1950
1951
  };
@@ -1961,7 +1962,7 @@ class Cn extends T {
1961
1962
  u && "html" in f ? o.dangerouslySetInnerHTML = { __html: f.html } : u && "domNodes" in f ? c = Array.prototype.slice.call(f.domNodes) : (u ? Xr(f) : typeof f != "function") ? d = f : h = f;
1962
1963
  }
1963
1964
  } else
1964
- a = !tn(e.generatorName, r);
1965
+ a = !nn(e.generatorName, r);
1965
1966
  return a && s && (d = s(l)), this.queuedDomNodes = c, this.currentGeneratorMeta = h, g(e.elTag, o, d);
1966
1967
  }
1967
1968
  componentDidMount() {
@@ -1991,20 +1992,20 @@ class Cn extends T {
1991
1992
  applyQueueudDomNodes() {
1992
1993
  const { queuedDomNodes: e, currentDomNodes: n } = this, r = this.base;
1993
1994
  if (!re(e, n)) {
1994
- n.forEach(pn);
1995
+ n.forEach(mn);
1995
1996
  for (let i of e)
1996
1997
  r.appendChild(i);
1997
1998
  this.currentDomNodes = e;
1998
1999
  }
1999
2000
  }
2000
2001
  }
2001
- Cn.addPropsEquality({
2002
+ wn.addPropsEquality({
2002
2003
  elClasses: re,
2003
2004
  elStyle: V,
2004
- elAttrs: Mo,
2005
+ elAttrs: ko,
2005
2006
  renderProps: V
2006
2007
  });
2007
- function tn(t, e) {
2008
+ function nn(t, e) {
2008
2009
  var n;
2009
2010
  return !!(e.handleCustomRendering && t && (!((n = e.customRenderingMetaMap) === null || n === void 0) && n[t]));
2010
2011
  }
@@ -2028,7 +2029,7 @@ class z extends U {
2028
2029
  const r = _i(e, n, this.handleEl), i = e.children(this.InnerContent, e.renderProps, r);
2029
2030
  return e.elTag ? g(e.elTag, r, i) : i;
2030
2031
  } else
2031
- return g(Cn, Object.assign(Object.assign({}, e), { elRef: this.handleEl, elTag: e.elTag || "div", elClasses: (e.elClasses || []).concat(n), renderId: this.context }));
2032
+ return g(wn, Object.assign(Object.assign({}, e), { elRef: this.handleEl, elTag: e.elTag || "div", elClasses: (e.elClasses || []).concat(n), renderId: this.context }));
2032
2033
  }
2033
2034
  componentDidMount() {
2034
2035
  var e, n;
@@ -2042,13 +2043,13 @@ class z extends U {
2042
2043
  z.contextType = Ti;
2043
2044
  function qo(t, e) {
2044
2045
  const n = t.props;
2045
- return g(Cn, Object.assign({ renderProps: n.renderProps, generatorName: n.generatorName, customGenerator: n.customGenerator, defaultGenerator: n.defaultGenerator, renderId: t.context }, e));
2046
+ return g(wn, Object.assign({ renderProps: n.renderProps, generatorName: n.generatorName, customGenerator: n.customGenerator, defaultGenerator: n.defaultGenerator, renderId: t.context }, e));
2046
2047
  }
2047
2048
  function Qo(t, e) {
2048
2049
  const n = typeof t == "function" ? t(e) : t || [];
2049
2050
  return typeof n == "string" ? [n] : n;
2050
2051
  }
2051
- class ht extends T {
2052
+ class gt extends T {
2052
2053
  render() {
2053
2054
  let { props: e, context: n } = this, { options: r } = n, i = { view: n.viewApi };
2054
2055
  return g(z, Object.assign({}, e, { elTag: e.elTag || "div", elClasses: [
@@ -2083,10 +2084,10 @@ function he(t, e) {
2083
2084
  function $o(t, e) {
2084
2085
  return (t.start === null ? null : t.start.valueOf()) === (e.start === null ? null : e.start.valueOf()) && (t.end === null ? null : t.end.valueOf()) === (e.end === null ? null : e.end.valueOf());
2085
2086
  }
2086
- function wn(t, e) {
2087
+ function Rn(t, e) {
2087
2088
  return (t.end === null || e.start === null || t.end > e.start) && (t.start === null || e.end === null || t.start < e.end);
2088
2089
  }
2089
- function Ct(t, e) {
2090
+ function wt(t, e) {
2090
2091
  return (t.start === null || e.start !== null && e.start >= t.start) && (t.end === null || e.end !== null && e.end <= t.end);
2091
2092
  }
2092
2093
  function Q(t, e) {
@@ -2095,18 +2096,18 @@ function Q(t, e) {
2095
2096
  function Xo(t, e) {
2096
2097
  return e.start != null && t < e.start ? e.start : e.end != null && t >= e.end ? new Date(e.end.valueOf() - 1) : t;
2097
2098
  }
2098
- function ki(t) {
2099
- let e = Math.floor(me(t.start, t.end)) || 1, n = k(t.start), r = H(n, e);
2099
+ function Mi(t) {
2100
+ let e = Math.floor(me(t.start, t.end)) || 1, n = M(t.start), r = H(n, e);
2100
2101
  return { start: n, end: r };
2101
2102
  }
2102
- function Mi(t, e = _(0)) {
2103
+ function ki(t, e = _(0)) {
2103
2104
  let n = null, r = null;
2104
2105
  if (t.end) {
2105
- r = k(t.end);
2106
+ r = M(t.end);
2106
2107
  let i = t.end.valueOf() - r.valueOf();
2107
2108
  i && i >= F(e) && (r = H(r, 1));
2108
2109
  }
2109
- return t.start && (n = k(t.start), r && r <= n && (r = H(n, 1))), { start: n, end: r };
2110
+ return t.start && (n = M(t.start), r && r <= n && (r = H(n, 1))), { start: n, end: r };
2110
2111
  }
2111
2112
  function Ee(t, e, n, r) {
2112
2113
  return r === "year" ? _(n.diffWholeYears(t, e), "year") : r === "month" ? _(n.diffWholeMonths(t, e), "month") : io(t, e);
@@ -2155,7 +2156,7 @@ class Ii {
2155
2156
  // from its previous value. decremented = -1, incremented = 1 (default).
2156
2157
  build(e, n, r = !0) {
2157
2158
  let { props: i } = this, s, l, o, a, d, c;
2158
- return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Xo(e, s)), l = this.buildCurrentRangeInfo(e, n), o = /^(year|month|week|day)$/.test(l.unit), a = this.buildRenderRange(this.trimHiddenDays(l.range), l.unit, o), a = this.trimHiddenDays(a), d = a, i.showNonCurrentDates || (d = he(d, l.range)), d = this.adjustActiveRange(d), d = he(d, s), c = wn(l.range, s), Q(a, e) || (e = a.start), {
2159
+ return s = this.buildValidRange(), s = this.trimHiddenDays(s), r && (e = Xo(e, s)), l = this.buildCurrentRangeInfo(e, n), o = /^(year|month|week|day)$/.test(l.unit), a = this.buildRenderRange(this.trimHiddenDays(l.range), l.unit, o), a = this.trimHiddenDays(a), d = a, i.showNonCurrentDates || (d = he(d, l.range)), d = this.adjustActiveRange(d), d = he(d, s), c = Rn(l.range, s), Q(a, e) || (e = a.start), {
2159
2160
  currentDate: e,
2160
2161
  // constraint for where prev/next operations can go and where events can be dragged/resized to.
2161
2162
  // an object with optional start and end properties.
@@ -2195,7 +2196,7 @@ class Ii {
2195
2196
  // Guaranteed to have `range` and `unit` properties. `duration` is optional.
2196
2197
  buildCurrentRangeInfo(e, n) {
2197
2198
  let { props: r } = this, i = null, s = null, l = null, o;
2198
- return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, n, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, n, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s = Kt(i).unit, l = this.buildRangeFromDuration(e, n, i, s)), { duration: i, unit: s, range: l };
2199
+ return r.duration ? (i = r.duration, s = r.durationUnit, l = this.buildRangeFromDuration(e, n, i, s)) : (o = this.props.dayCount) ? (s = "day", l = this.buildRangeFromDayCount(e, n, o)) : (l = this.buildCustomVisibleRange(e)) ? s = r.dateEnv.greatestWholeUnit(l.start, l.end).unit : (i = this.getFallbackDuration(), s = en(i).unit, l = this.buildRangeFromDuration(e, n, i, s)), { duration: i, unit: s, range: l };
2199
2200
  }
2200
2201
  getFallbackDuration() {
2201
2202
  return _({ day: 1 });
@@ -2204,7 +2205,7 @@ class Ii {
2204
2205
  // slotMinTime or slotMaxTime causes the range to expand.
2205
2206
  adjustActiveRange(e) {
2206
2207
  let { dateEnv: n, usesMinMaxTime: r, slotMinTime: i, slotMaxTime: s } = this.props, { start: l, end: o } = e;
2207
- return r && (Ae(i) < 0 && (l = k(l), l = n.add(l, i)), Ae(s) > 1 && (o = k(o), o = H(o, -1), o = n.add(o, s))), { start: l, end: o };
2208
+ return r && (Ae(i) < 0 && (l = M(l), l = n.add(l, i)), Ae(s) > 1 && (o = M(o), o = H(o, -1), o = n.add(o, s))), { start: l, end: o };
2208
2209
  }
2209
2210
  // Builds the "current" range when it is specified as an explicit duration.
2210
2211
  // `unit` is the already-computed greatestDurationDenominator unit of duration.
@@ -2212,9 +2213,9 @@ class Ii {
2212
2213
  let { dateEnv: s, dateAlignment: l } = this.props, o, a, d;
2213
2214
  if (!l) {
2214
2215
  let { dateIncrement: h } = this.props;
2215
- h && F(h) < F(r) ? l = Kt(h).unit : l = i;
2216
+ h && F(h) < F(r) ? l = en(h).unit : l = i;
2216
2217
  }
2217
- Ae(r) <= 1 && this.isHiddenDay(o) && (o = this.skipHiddenDays(o, n), o = k(o));
2218
+ Ae(r) <= 1 && this.isHiddenDay(o) && (o = this.skipHiddenDays(o, n), o = M(o));
2218
2219
  function c() {
2219
2220
  o = s.startOf(e, l), a = s.add(o, r), d = { start: o, end: a };
2220
2221
  }
@@ -2223,7 +2224,7 @@ class Ii {
2223
2224
  // Builds the "current" range when a dayCount is specified.
2224
2225
  buildRangeFromDayCount(e, n, r) {
2225
2226
  let { dateEnv: i, dateAlignment: s } = this.props, l = 0, o = e, a;
2226
- s && (o = i.startOf(o, s)), o = k(o), o = this.skipHiddenDays(o, n), a = o;
2227
+ s && (o = i.startOf(o, s)), o = M(o), o = this.skipHiddenDays(o, n), a = o;
2227
2228
  do
2228
2229
  a = H(a, 1), this.isHiddenDay(a) || (l += 1);
2229
2230
  while (l < r);
@@ -2250,7 +2251,7 @@ class Ii {
2250
2251
  refineRange(e) {
2251
2252
  if (e) {
2252
2253
  let n = Yo(e, this.props.dateEnv);
2253
- return n && (n = Mi(n)), n;
2254
+ return n && (n = ki(n)), n;
2254
2255
  }
2255
2256
  return null;
2256
2257
  }
@@ -2287,7 +2288,7 @@ class Ii {
2287
2288
  return e;
2288
2289
  }
2289
2290
  }
2290
- function Rn(t, e, n, r) {
2291
+ function _n(t, e, n, r) {
2291
2292
  return {
2292
2293
  instanceId: pe(),
2293
2294
  defId: t,
@@ -2321,7 +2322,7 @@ function ge(t, e, n) {
2321
2322
  c || (c = d.allDay ? s.defaultAllDayEventDuration : s.defaultTimedEventDuration);
2322
2323
  let h = ta(d, c, e, r, i.recurringTypes);
2323
2324
  for (let f of h) {
2324
- let u = Rn(a, {
2325
+ let u = _n(a, {
2325
2326
  start: f,
2326
2327
  end: r.add(f, c)
2327
2328
  });
@@ -2336,7 +2337,7 @@ function ta(t, e, n, r, i) {
2336
2337
  start: r.subtract(n.start, e),
2337
2338
  end: n.end
2338
2339
  }, r);
2339
- return t.allDay && (l = l.map(k)), l;
2340
+ return t.allDay && (l = l.map(M)), l;
2340
2341
  }
2341
2342
  const it = {
2342
2343
  id: String,
@@ -2344,16 +2345,16 @@ const it = {
2344
2345
  title: String,
2345
2346
  url: String,
2346
2347
  interactive: Boolean
2347
- }, Oi = {
2348
+ }, Ni = {
2348
2349
  start: p,
2349
2350
  end: p,
2350
2351
  date: p,
2351
2352
  allDay: Boolean
2352
- }, na = Object.assign(Object.assign(Object.assign({}, it), Oi), { extendedProps: p });
2353
- function Ni(t, e, n, r, i = _n(n), s, l) {
2353
+ }, na = Object.assign(Object.assign(Object.assign({}, it), Ni), { extendedProps: p });
2354
+ function Oi(t, e, n, r, i = Tn(n), s, l) {
2354
2355
  let { refined: o, extra: a } = Pi(t, n, i), d = ia(e, n), c = ea(o, d, n.dateEnv, n.pluginHooks.recurringTypes);
2355
2356
  if (c) {
2356
- let f = nn(o, a, e ? e.sourceId : "", c.allDay, !!c.duration, n, s);
2357
+ let f = rn(o, a, e ? e.sourceId : "", c.allDay, !!c.duration, n, s);
2357
2358
  return f.recurringDef = {
2358
2359
  typeId: c.typeId,
2359
2360
  typeData: c.typeData,
@@ -2362,18 +2363,18 @@ function Ni(t, e, n, r, i = _n(n), s, l) {
2362
2363
  }
2363
2364
  let h = ra(o, d, n, r);
2364
2365
  if (h) {
2365
- let f = nn(o, a, e ? e.sourceId : "", h.allDay, h.hasEnd, n, s), u = Rn(f.defId, h.range, h.forcedStartTzo, h.forcedEndTzo);
2366
+ let f = rn(o, a, e ? e.sourceId : "", h.allDay, h.hasEnd, n, s), u = _n(f.defId, h.range, h.forcedStartTzo, h.forcedEndTzo);
2366
2367
  return l && f.publicId && l[f.publicId] && (u.instanceId = l[f.publicId]), { def: f, instance: u };
2367
2368
  }
2368
2369
  return null;
2369
2370
  }
2370
- function Pi(t, e, n = _n(e)) {
2371
- return Sn(t, n);
2371
+ function Pi(t, e, n = Tn(e)) {
2372
+ return An(t, n);
2372
2373
  }
2373
- function _n(t) {
2374
- return Object.assign(Object.assign(Object.assign({}, gt), na), t.pluginHooks.eventRefiners);
2374
+ function Tn(t) {
2375
+ return Object.assign(Object.assign(Object.assign({}, pt), na), t.pluginHooks.eventRefiners);
2375
2376
  }
2376
- function nn(t, e, n, r, i, s, l) {
2377
+ function rn(t, e, n, r, i, s, l) {
2377
2378
  let o = {
2378
2379
  title: t.title || "",
2379
2380
  groupId: t.groupId || "",
@@ -2385,7 +2386,7 @@ function nn(t, e, n, r, i, s, l) {
2385
2386
  allDay: r,
2386
2387
  hasEnd: i,
2387
2388
  interactive: t.interactive,
2388
- ui: pt(t, s),
2389
+ ui: mt(t, s),
2389
2390
  extendedProps: Object.assign(Object.assign({}, t.extendedProps || {}), e)
2390
2391
  };
2391
2392
  for (let a of s.pluginHooks.eventDefMemberAdders)
@@ -2398,7 +2399,7 @@ function ra(t, e, n, r) {
2398
2399
  l = s.marker;
2399
2400
  else if (!r)
2400
2401
  return null;
2401
- return t.end != null && (a = n.dateEnv.createMarkerMeta(t.end)), i == null && (e != null ? i = e : i = (!s || s.isTimeUnspecified) && (!a || a.isTimeUnspecified)), i && l && (l = k(l)), a && (d = a.marker, i && (d = k(d)), l && d <= l && (d = null)), d ? o = !0 : r || (o = n.options.forceEventDuration || !1, d = n.dateEnv.add(l, i ? n.options.defaultAllDayEventDuration : n.options.defaultTimedEventDuration)), {
2402
+ return t.end != null && (a = n.dateEnv.createMarkerMeta(t.end)), i == null && (e != null ? i = e : i = (!s || s.isTimeUnspecified) && (!a || a.isTimeUnspecified)), i && l && (l = M(l)), a && (d = a.marker, i && (d = M(d)), l && d <= l && (d = null)), d ? o = !0 : r || (o = n.options.forceEventDuration || !1, d = n.dateEnv.add(l, i ? n.options.defaultAllDayEventDuration : n.options.defaultTimedEventDuration)), {
2402
2403
  allDay: i,
2403
2404
  hasEnd: o,
2404
2405
  range: { start: l, end: d },
@@ -2411,20 +2412,20 @@ function ia(t, e) {
2411
2412
  return t && (n = t.defaultAllDay), n == null && (n = e.options.defaultAllDay), n;
2412
2413
  }
2413
2414
  function Le(t, e, n, r, i, s) {
2414
- let l = j(), o = _n(n);
2415
+ let l = j(), o = Tn(n);
2415
2416
  for (let a of t) {
2416
- let d = Ni(a, e, n, r, o, i, s);
2417
- d && rn(d, l);
2417
+ let d = Oi(a, e, n, r, o, i, s);
2418
+ d && sn(d, l);
2418
2419
  }
2419
2420
  return l;
2420
2421
  }
2421
- function rn(t, e = j()) {
2422
+ function sn(t, e = j()) {
2422
2423
  return e.defs[t.def.defId] = t.def, t.instance && (e.instances[t.instance.instanceId] = t.instance), e;
2423
2424
  }
2424
- function Tn(t, e) {
2425
+ function xn(t, e) {
2425
2426
  let n = t.instances[e];
2426
2427
  if (n) {
2427
- let r = t.defs[n.defId], i = wt(t, (s) => sa(r, s));
2428
+ let r = t.defs[n.defId], i = Rt(t, (s) => sa(r, s));
2428
2429
  return i.defs[r.defId] = r, i.instances[n.instanceId] = n, i;
2429
2430
  }
2430
2431
  return j();
@@ -2435,13 +2436,13 @@ function sa(t, e) {
2435
2436
  function j() {
2436
2437
  return { defs: {}, instances: {} };
2437
2438
  }
2438
- function xn(t, e) {
2439
+ function Mn(t, e) {
2439
2440
  return {
2440
2441
  defs: Object.assign(Object.assign({}, t.defs), e.defs),
2441
2442
  instances: Object.assign(Object.assign({}, t.instances), e.instances)
2442
2443
  };
2443
2444
  }
2444
- function wt(t, e) {
2445
+ function Rt(t, e) {
2445
2446
  let n = fe(t.defs, e), r = fe(t.instances, (i) => n[i.defId]);
2446
2447
  return { defs: n, instances: r };
2447
2448
  }
@@ -2463,7 +2464,7 @@ function oa(t, e) {
2463
2464
  function Tr(t) {
2464
2465
  return Array.isArray(t) ? t : typeof t == "string" ? t.split(/\s+/) : [];
2465
2466
  }
2466
- const gt = {
2467
+ const pt = {
2467
2468
  display: String,
2468
2469
  editable: Boolean,
2469
2470
  startEditable: Boolean,
@@ -2489,7 +2490,7 @@ const gt = {
2489
2490
  textColor: "",
2490
2491
  classNames: []
2491
2492
  };
2492
- function pt(t, e) {
2493
+ function mt(t, e) {
2493
2494
  let n = oa(t.constraint, e);
2494
2495
  return {
2495
2496
  display: t.display || null,
@@ -2536,7 +2537,7 @@ const da = {
2536
2537
  function Bi(t, e, n = Li(e)) {
2537
2538
  let r;
2538
2539
  if (typeof t == "string" ? r = { url: t } : typeof t == "function" || Array.isArray(t) ? r = { events: t } : typeof t == "object" && t && (r = t), r) {
2539
- let { refined: i, extra: s } = Sn(r, n), l = ua(i, e);
2540
+ let { refined: i, extra: s } = An(r, n), l = ua(i, e);
2540
2541
  if (l)
2541
2542
  return {
2542
2543
  _raw: t,
@@ -2551,14 +2552,14 @@ function Bi(t, e, n = Li(e)) {
2551
2552
  sourceId: pe(),
2552
2553
  sourceDefId: l.sourceDefId,
2553
2554
  meta: l.meta,
2554
- ui: pt(i, e),
2555
+ ui: mt(i, e),
2555
2556
  extendedProps: s
2556
2557
  };
2557
2558
  }
2558
2559
  return null;
2559
2560
  }
2560
2561
  function Li(t) {
2561
- return Object.assign(Object.assign(Object.assign({}, gt), da), t.pluginHooks.eventSourceRefiners);
2562
+ return Object.assign(Object.assign(Object.assign({}, pt), da), t.pluginHooks.eventSourceRefiners);
2562
2563
  }
2563
2564
  function ua(t, e) {
2564
2565
  let n = e.pluginHooks.eventSourceDefs;
@@ -2586,7 +2587,7 @@ function fa(t, e, n, r, i) {
2586
2587
  case "RESET_EVENTS":
2587
2588
  return e.eventStore;
2588
2589
  case "MERGE_EVENTS":
2589
- return xn(t, e.eventStore);
2590
+ return Mn(t, e.eventStore);
2590
2591
  case "PREV":
2591
2592
  // TODO: how do we track all actions that affect dateProfile :(
2592
2593
  case "NEXT":
@@ -2598,7 +2599,7 @@ function fa(t, e, n, r, i) {
2598
2599
  case "REMOVE_EVENT_SOURCE":
2599
2600
  return ji(t, e.sourceId);
2600
2601
  case "REMOVE_ALL_EVENT_SOURCES":
2601
- return wt(t, (s) => !s.sourceId);
2602
+ return Rt(t, (s) => !s.sourceId);
2602
2603
  case "REMOVE_ALL_EVENTS":
2603
2604
  return j();
2604
2605
  default:
@@ -2609,7 +2610,7 @@ function ha(t, e, n, r, i, s) {
2609
2610
  if (e && // not already removed
2610
2611
  n === e.latestFetchId) {
2611
2612
  let l = Le(Ui(i, e, s), e, s);
2612
- return r && (l = ge(l, r, s)), xn(ji(t, e.sourceId), l);
2613
+ return r && (l = ge(l, r, s)), Mn(ji(t, e.sourceId), l);
2613
2614
  }
2614
2615
  return t;
2615
2616
  }
@@ -2636,9 +2637,9 @@ function xr(t, e) {
2636
2637
  return n;
2637
2638
  }
2638
2639
  function pa(t, e, n, r) {
2639
- return n && (e = ge(e, n, r)), xn(t, e);
2640
+ return n && (e = ge(e, n, r)), Mn(t, e);
2640
2641
  }
2641
- function kr(t, e, n) {
2642
+ function Mr(t, e, n) {
2642
2643
  let { defs: r } = t, i = Y(t.instances, (s) => r[s.defId].allDay ? s : Object.assign(Object.assign({}, s), { range: {
2643
2644
  start: n.createMarker(e.toDate(s.range.start, s.forcedStartTzo)),
2644
2645
  end: n.createMarker(e.toDate(s.range.end, s.forcedEndTzo))
@@ -2646,7 +2647,7 @@ function kr(t, e, n) {
2646
2647
  return { defs: r, instances: i };
2647
2648
  }
2648
2649
  function ji(t, e) {
2649
- return wt(t, (n) => n.sourceId !== e);
2650
+ return Rt(t, (n) => n.sourceId !== e);
2650
2651
  }
2651
2652
  function ma(t, e) {
2652
2653
  return {
@@ -2666,7 +2667,7 @@ function va(t) {
2666
2667
  }
2667
2668
  return { defIdMap: r, instanceIdMap: i };
2668
2669
  }
2669
- class Rt {
2670
+ class _t {
2670
2671
  constructor() {
2671
2672
  this.handlers = {}, this.thisContext = null;
2672
2673
  }
@@ -2728,12 +2729,12 @@ function kn(t, e) {
2728
2729
  Object.assign(n, r(t, e));
2729
2730
  return Object.assign(n, Ba(t, e.dateEnv)), n;
2730
2731
  }
2731
- function Mr(t, e, n) {
2732
+ function kr(t, e, n) {
2732
2733
  let { dateEnv: r, options: i } = n, s = e;
2733
- return t ? (s = k(s), s = r.add(s, i.defaultAllDayEventDuration)) : s = r.add(s, i.defaultTimedEventDuration), s;
2734
+ return t ? (s = M(s), s = r.add(s, i.defaultAllDayEventDuration)) : s = r.add(s, i.defaultTimedEventDuration), s;
2734
2735
  }
2735
- function Mn(t, e, n, r) {
2736
- let i = mt(t.defs, e), s = j();
2736
+ function In(t, e, n, r) {
2737
+ let i = vt(t.defs, e), s = j();
2737
2738
  for (let l in t.defs) {
2738
2739
  let o = t.defs[l];
2739
2740
  s.defs[l] = Ca(o, i[l], n, r);
@@ -2755,7 +2756,7 @@ function Ca(t, e, n, r) {
2755
2756
  }
2756
2757
  function wa(t, e, n, r, i) {
2757
2758
  let { dateEnv: s } = i, l = r.standardProps && r.standardProps.allDay === !0, o = r.standardProps && r.standardProps.hasEnd === !1, a = Object.assign({}, t);
2758
- return l && (a.range = ki(a.range)), r.datesDelta && n.startEditable && (a.range = {
2759
+ return l && (a.range = Mi(a.range)), r.datesDelta && n.startEditable && (a.range = {
2759
2760
  start: s.add(a.range.start, r.datesDelta),
2760
2761
  end: s.add(a.range.end, r.datesDelta)
2761
2762
  }), r.startDelta && n.durationEditable && (a.range = {
@@ -2766,11 +2767,11 @@ function wa(t, e, n, r, i) {
2766
2767
  end: s.add(a.range.end, r.endDelta)
2767
2768
  }), o && (a.range = {
2768
2769
  start: a.range.start,
2769
- end: Mr(e.allDay, a.range.start, i)
2770
+ end: kr(e.allDay, a.range.start, i)
2770
2771
  }), e.allDay && (a.range = {
2771
- start: k(a.range.start),
2772
- end: k(a.range.end)
2773
- }), a.range.end < a.range.start && (a.range.end = Mr(e.allDay, a.range.start, i)), a;
2772
+ start: M(a.range.start),
2773
+ end: M(a.range.end)
2774
+ }), a.range.end < a.range.start && (a.range.end = kr(e.allDay, a.range.start, i)), a;
2774
2775
  }
2775
2776
  class ye {
2776
2777
  constructor(e, n) {
@@ -2799,7 +2800,7 @@ class ye {
2799
2800
  return this.internalEventSource.meta.format;
2800
2801
  }
2801
2802
  }
2802
- class O {
2803
+ class N {
2803
2804
  // instance will be null if expressing a recurring event that has no current instances,
2804
2805
  // OR if trying to validate an incoming external event that has no dates assigned
2805
2806
  constructor(e, n, r) {
@@ -2809,7 +2810,7 @@ class O {
2809
2810
  TODO: make event struct more responsible for this
2810
2811
  */
2811
2812
  setProp(e, n) {
2812
- if (e in Oi)
2813
+ if (e in Ni)
2813
2814
  console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");
2814
2815
  else if (e === "id")
2815
2816
  n = it[e](n), this.mutate({
@@ -2820,8 +2821,8 @@ class O {
2820
2821
  n = it[e](n), this.mutate({
2821
2822
  standardProps: { [e]: n }
2822
2823
  });
2823
- else if (e in gt) {
2824
- let r = gt[e](n);
2824
+ else if (e in pt) {
2825
+ let r = pt[e](n);
2825
2826
  e === "color" ? r = { backgroundColor: n, borderColor: n } : e === "editable" ? r = { startEditable: n, durationEditable: n } : r = { [e]: n }, this.mutate({
2826
2827
  standardProps: { ui: r }
2827
2828
  });
@@ -2853,7 +2854,7 @@ class O {
2853
2854
  let { dateEnv: i } = this._context, s = { allDay: r.allDay }, l = i.createMarker(e), o;
2854
2855
  if (l && !(n != null && (o = i.createMarker(n), !o)) && this._instance) {
2855
2856
  let a = this._instance.range;
2856
- r.allDay === !0 && (a = ki(a));
2857
+ r.allDay === !0 && (a = Mi(a));
2857
2858
  let d = Ee(a.start, l, i, r.granularity);
2858
2859
  if (o) {
2859
2860
  let c = Ee(a.end, o, i, r.granularity);
@@ -2879,7 +2880,7 @@ class O {
2879
2880
  i == null && (i = this._context.options.allDayMaintainDuration), this._def.allDay !== e && (r.hasEnd = i), this.mutate({ standardProps: r });
2880
2881
  }
2881
2882
  formatRange(e) {
2882
- let { dateEnv: n } = this._context, r = this._instance, i = N(e);
2883
+ let { dateEnv: n } = this._context, r = this._instance, i = O(e);
2883
2884
  return this._def.hasEnd ? n.formatRange(r.range.start, r.range.end, i, {
2884
2885
  forcedStartTzo: r.forcedStartTzo,
2885
2886
  forcedEndTzo: r.forcedEndTzo
@@ -2890,8 +2891,8 @@ class O {
2890
2891
  mutate(e) {
2891
2892
  let n = this._instance;
2892
2893
  if (n) {
2893
- let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l = Tn(s, n.instanceId);
2894
- l = Mn(l, {
2894
+ let r = this._def, i = this._context, { eventStore: s } = i.getCurrentData(), l = xn(s, n.instanceId);
2895
+ l = In(l, {
2895
2896
  "": {
2896
2897
  display: "",
2897
2898
  startEditable: !0,
@@ -2905,7 +2906,7 @@ class O {
2905
2906
  classNames: []
2906
2907
  }
2907
2908
  }, e, i);
2908
- let a = new O(i, r, n);
2909
+ let a = new N(i, r, n);
2909
2910
  this._def = l.defs[r.defId], this._instance = l.instances[n.instanceId], i.dispatch({
2910
2911
  type: "MERGE_EVENTS",
2911
2912
  eventStore: l
@@ -3036,18 +3037,18 @@ function de(t, e, n) {
3036
3037
  let { defs: r, instances: i } = t, s = [], l = n ? n.instanceId : "";
3037
3038
  for (let o in i) {
3038
3039
  let a = i[o], d = r[a.defId];
3039
- a.instanceId !== l && s.push(new O(e, d, a));
3040
+ a.instanceId !== l && s.push(new N(e, d, a));
3040
3041
  }
3041
3042
  return s;
3042
3043
  }
3043
3044
  function Ir(t, e, n, r) {
3044
- let i = {}, s = {}, l = {}, o = [], a = [], d = mt(t.defs, e);
3045
+ let i = {}, s = {}, l = {}, o = [], a = [], d = vt(t.defs, e);
3045
3046
  for (let c in t.defs) {
3046
3047
  let h = t.defs[c];
3047
3048
  d[h.defId].display === "inverse-background" && (h.groupId ? (i[h.groupId] = [], l[h.groupId] || (l[h.groupId] = h)) : s[c] = []);
3048
3049
  }
3049
3050
  for (let c in t.instances) {
3050
- let h = t.instances[c], f = t.defs[h.defId], u = d[f.defId], m = h.range, v = !f.allDay && r ? Mi(m, r) : m, b = he(v, n);
3051
+ let h = t.instances[c], f = t.defs[h.defId], u = d[f.defId], m = h.range, v = !f.allDay && r ? ki(m, r) : m, b = he(v, n);
3051
3052
  b && (u.display === "inverse-background" ? f.groupId ? i[f.groupId].push(b) : s[h.defId].push(b) : u.display !== "none" && (u.display === "background" ? o : a).push({
3052
3053
  def: f,
3053
3054
  ui: u,
@@ -3088,14 +3089,14 @@ function Ir(t, e, n, r) {
3088
3089
  function Ra(t) {
3089
3090
  return t.ui.display === "background" || t.ui.display === "inverse-background";
3090
3091
  }
3091
- function Or(t, e) {
3092
+ function Nr(t, e) {
3092
3093
  t.fcSeg = e;
3093
3094
  }
3094
3095
  function we(t) {
3095
3096
  return t.fcSeg || t.parentNode.fcSeg || // for the harness
3096
3097
  null;
3097
3098
  }
3098
- function mt(t, e) {
3099
+ function vt(t, e) {
3099
3100
  return Y(t, (n) => Wi(n, e));
3100
3101
  }
3101
3102
  function Wi(t, e) {
@@ -3126,13 +3127,13 @@ function Ta(t, e) {
3126
3127
  function xa(t, e) {
3127
3128
  return t.isStart && t.eventRange.ui.durationEditable && e.options.eventResizableFromStart;
3128
3129
  }
3129
- function ka(t, e) {
3130
+ function Ma(t, e) {
3130
3131
  return t.isEnd && t.eventRange.ui.durationEditable;
3131
3132
  }
3132
3133
  function Gi(t, e, n, r, i, s, l) {
3133
3134
  let { dateEnv: o, options: a } = n, { displayEventTime: d, displayEventEnd: c } = a, h = t.eventRange.def, f = t.eventRange.instance;
3134
3135
  d == null && (d = r !== !1), c == null && (c = i !== !1);
3135
- let u = f.range.start, m = f.range.end, v = t.start || t.eventRange.range.start, b = t.end || t.eventRange.range.end, E = k(u).valueOf() === k(v).valueOf(), y = k(ie(m, -1)).valueOf() === k(ie(b, -1)).valueOf();
3136
+ let u = f.range.start, m = f.range.end, v = t.start || t.eventRange.range.start, b = t.end || t.eventRange.range.end, E = M(u).valueOf() === M(v).valueOf(), y = M(ie(m, -1)).valueOf() === M(ie(b, -1)).valueOf();
3136
3137
  return d && !h.allDay && (E || y) ? (v = E ? u : v, b = y ? m : b, c && h.hasEnd ? o.formatRange(v, b, e, {
3137
3138
  forcedStartTzo: f.forcedStartTzo,
3138
3139
  forcedEndTzo: f.forcedEndTzo
@@ -3144,12 +3145,12 @@ function Gi(t, e, n, r, i, s, l) {
3144
3145
  function ne(t, e, n) {
3145
3146
  let r = t.eventRange.range;
3146
3147
  return {
3147
- isPast: r.end < (n || e.start),
3148
+ isPast: r.end <= (n || e.start),
3148
3149
  isFuture: r.start >= (n || e.end),
3149
3150
  isToday: e && Q(e, r.start)
3150
3151
  };
3151
3152
  }
3152
- function Ma(t) {
3153
+ function ka(t) {
3153
3154
  let e = ["fc-event"];
3154
3155
  return t.isMirror && e.push("fc-event-mirror"), t.isDraggable && e.push("fc-event-draggable"), (t.isStartResizable || t.isEndResizable) && e.push("fc-event-resizable"), t.isDragging && e.push("fc-event-dragging"), t.isResizing && e.push("fc-event-resizing"), t.isSelected && e.push("fc-event-selected"), t.isStart && e.push("fc-event-start"), t.isEnd && e.push("fc-event-end"), t.isPast && e.push("fc-event-past"), t.isToday && e.push("fc-event-today"), t.isFuture && e.push("fc-event-future"), e;
3155
3156
  }
@@ -3164,7 +3165,7 @@ function Qi(t, e) {
3164
3165
  return o == null && (o = n.interactive, o == null && (o = !!s.hasHandlers("eventClick"))), o ? Si((a) => {
3165
3166
  s.trigger("eventClick", {
3166
3167
  el: a.target,
3167
- event: new O(e, n, r),
3168
+ event: new N(e, n, r),
3168
3169
  jsEvent: a,
3169
3170
  view: e.viewApi
3170
3171
  });
@@ -3175,8 +3176,8 @@ const Ia = {
3175
3176
  end: p,
3176
3177
  allDay: Boolean
3177
3178
  };
3178
- function Oa(t, e, n) {
3179
- let r = Na(t, e), { range: i } = r;
3179
+ function Na(t, e, n) {
3180
+ let r = Oa(t, e), { range: i } = r;
3180
3181
  if (!i.start)
3181
3182
  return null;
3182
3183
  if (!i.end) {
@@ -3186,8 +3187,8 @@ function Oa(t, e, n) {
3186
3187
  }
3187
3188
  return r;
3188
3189
  }
3189
- function Na(t, e) {
3190
- let { refined: n, extra: r } = Sn(t, Ia), i = n.start ? e.createMarkerMeta(n.start) : null, s = n.end ? e.createMarkerMeta(n.end) : null, { allDay: l } = n;
3190
+ function Oa(t, e) {
3191
+ let { refined: n, extra: r } = An(t, Ia), i = n.start ? e.createMarkerMeta(n.start) : null, s = n.end ? e.createMarkerMeta(n.end) : null, { allDay: l } = n;
3191
3192
  return l == null && (l = i && i.isTimeUnspecified && (!s || s.isTimeUnspecified)), Object.assign({ range: {
3192
3193
  start: i ? i.marker : null,
3193
3194
  end: s ? s.marker : null
@@ -3220,7 +3221,7 @@ function Zi(t, e, n) {
3220
3221
  };
3221
3222
  }
3222
3223
  function La(t, e, n) {
3223
- let r = Pi({ editable: !1 }, n), i = nn(
3224
+ let r = Pi({ editable: !1 }, n), i = rn(
3224
3225
  r.refined,
3225
3226
  r.extra,
3226
3227
  "",
@@ -3233,7 +3234,7 @@ function La(t, e, n) {
3233
3234
  return {
3234
3235
  def: i,
3235
3236
  ui: Wi(i, e),
3236
- instance: Rn(i.defId, t.range),
3237
+ instance: _n(i.defId, t.range),
3237
3238
  range: t.range,
3238
3239
  isStart: !0,
3239
3240
  isEnd: !0
@@ -3247,7 +3248,7 @@ function Ua(t, e, n) {
3247
3248
  }, l = t(i, s);
3248
3249
  l && typeof l.then == "function" && l.then(i, s);
3249
3250
  }
3250
- class Nr extends Error {
3251
+ class Or extends Error {
3251
3252
  constructor(e, n) {
3252
3253
  super(e), this.response = n;
3253
3254
  }
@@ -3262,14 +3263,14 @@ function ja(t, e, n) {
3262
3263
  }), fetch(e, r).then((i) => {
3263
3264
  if (i.ok)
3264
3265
  return i.json().then((s) => [s, i], () => {
3265
- throw new Nr("Failure parsing JSON", i);
3266
+ throw new Or("Failure parsing JSON", i);
3266
3267
  });
3267
- throw new Nr("Request failed", i);
3268
+ throw new Or("Request failed", i);
3268
3269
  });
3269
3270
  }
3270
- let jt;
3271
+ let zt;
3271
3272
  function $i() {
3272
- return jt == null && (jt = za()), jt;
3273
+ return zt == null && (zt = za()), zt;
3273
3274
  }
3274
3275
  function za() {
3275
3276
  if (typeof document > "u")
@@ -3284,9 +3285,13 @@ class Fa extends T {
3284
3285
  super(...arguments), this.state = {
3285
3286
  forPrint: !1
3286
3287
  }, this.handleBeforePrint = () => {
3287
- this.setState({ forPrint: !0 });
3288
+ ht(() => {
3289
+ this.setState({ forPrint: !0 });
3290
+ });
3288
3291
  }, this.handleAfterPrint = () => {
3289
- this.setState({ forPrint: !1 });
3292
+ ht(() => {
3293
+ this.setState({ forPrint: !1 });
3294
+ });
3290
3295
  };
3291
3296
  }
3292
3297
  render() {
@@ -3322,12 +3327,12 @@ function Wa(t, e) {
3322
3327
  isHitComboAllowed: e.isHitComboAllowed || null
3323
3328
  };
3324
3329
  }
3325
- function In(t) {
3330
+ function Nn(t) {
3326
3331
  return {
3327
3332
  [t.component.uid]: t
3328
3333
  };
3329
3334
  }
3330
- const sn = {};
3335
+ const ln = {};
3331
3336
  class Va {
3332
3337
  getCurrentData() {
3333
3338
  return this.currentDataManager.getCurrentData();
@@ -3477,12 +3482,12 @@ class Va {
3477
3482
  // -----------------------------------------------------------------------------------------------------------------
3478
3483
  formatDate(e, n) {
3479
3484
  let { dateEnv: r } = this.getCurrentData();
3480
- return r.format(r.createMarker(e), N(n));
3485
+ return r.format(r.createMarker(e), O(n));
3481
3486
  }
3482
3487
  // `settings` is for formatter AND isEndExclusive
3483
3488
  formatRange(e, n, r) {
3484
3489
  let { dateEnv: i } = this.getCurrentData();
3485
- return i.formatRange(i.createMarker(e), i.createMarker(n), N(r), r);
3490
+ return i.formatRange(i.createMarker(e), i.createMarker(n), O(r), r);
3486
3491
  }
3487
3492
  formatIso(e, n) {
3488
3493
  let { dateEnv: r } = this.getCurrentData();
@@ -3499,7 +3504,7 @@ class Va {
3499
3504
  start: e,
3500
3505
  end: n
3501
3506
  };
3502
- let i = this.getCurrentData(), s = Oa(r, i.dateEnv, _({ days: 1 }));
3507
+ let i = this.getCurrentData(), s = Na(r, i.dateEnv, _({ days: 1 }));
3503
3508
  s && (this.dispatch({ type: "SELECT_DATES", selection: s }), zi(s, null, i));
3504
3509
  }
3505
3510
  unselect(e) {
@@ -3509,11 +3514,11 @@ class Va {
3509
3514
  // Public Events API
3510
3515
  // -----------------------------------------------------------------------------------------------------------------
3511
3516
  addEvent(e, n) {
3512
- if (e instanceof O) {
3517
+ if (e instanceof N) {
3513
3518
  let l = e._def, o = e._instance;
3514
3519
  return this.getCurrentData().eventStore.defs[l.defId] || (this.dispatch({
3515
3520
  type: "ADD_EVENTS",
3516
- eventStore: rn({ def: l, instance: o })
3521
+ eventStore: sn({ def: l, instance: o })
3517
3522
  // TODO: better util for two args?
3518
3523
  }), this.triggerEventAdd(e)), e;
3519
3524
  }
@@ -3521,19 +3526,19 @@ class Va {
3521
3526
  if (n instanceof ye)
3522
3527
  i = n.internalEventSource;
3523
3528
  else if (typeof n == "boolean")
3524
- n && ([i] = Dn(r.eventSources));
3529
+ n && ([i] = Cn(r.eventSources));
3525
3530
  else if (n != null) {
3526
3531
  let l = this.getEventSourceById(n);
3527
3532
  if (!l)
3528
3533
  return console.warn(`Could not find an event source with ID "${n}"`), null;
3529
3534
  i = l.internalEventSource;
3530
3535
  }
3531
- let s = Ni(e, i, r, !1);
3536
+ let s = Oi(e, i, r, !1);
3532
3537
  if (s) {
3533
- let l = new O(r, s.def, s.def.recurringDef ? null : s.instance);
3538
+ let l = new N(r, s.def, s.def.recurringDef ? null : s.instance);
3534
3539
  return this.dispatch({
3535
3540
  type: "ADD_EVENTS",
3536
- eventStore: rn(s)
3541
+ eventStore: sn(s)
3537
3542
  }), this.triggerEventAdd(l), l;
3538
3543
  }
3539
3544
  return null;
@@ -3559,11 +3564,11 @@ class Va {
3559
3564
  let l = r[s];
3560
3565
  if (l.publicId === e) {
3561
3566
  if (l.recurringDef)
3562
- return new O(n, l, null);
3567
+ return new N(n, l, null);
3563
3568
  for (let o in i) {
3564
3569
  let a = i[o];
3565
3570
  if (a.defId === l.defId)
3566
- return new O(n, l, a);
3571
+ return new N(n, l, a);
3567
3572
  }
3568
3573
  }
3569
3574
  }
@@ -3645,7 +3650,7 @@ function Ya(t, e) {
3645
3650
  top: t.top - e.top
3646
3651
  };
3647
3652
  }
3648
- const zt = j();
3653
+ const Ft = j();
3649
3654
  class Za {
3650
3655
  constructor() {
3651
3656
  this.getKeysForEventDefs = A(this._getKeysForEventDefs), this.splitDateSelection = A(this._splitDateSpan), this.splitEventStore = A(this._splitEventStore), this.splitIndividualUi = A(this._splitIndividualUi), this.splitEventDrag = A(this._splitInteraction), this.splitEventResize = A(this._splitInteraction), this.eventUiBuilders = {};
@@ -3654,7 +3659,7 @@ class Za {
3654
3659
  let n = this.getKeyInfo(e), r = this.getKeysForEventDefs(e.eventStore), i = this.splitDateSelection(e.dateSelection), s = this.splitIndividualUi(e.eventUiBases, r), l = this.splitEventStore(e.eventStore, r), o = this.splitEventDrag(e.eventDrag), a = this.splitEventResize(e.eventResize), d = {};
3655
3660
  this.eventUiBuilders = Y(n, (c, h) => this.eventUiBuilders[h] || A($a));
3656
3661
  for (let c in n) {
3657
- let h = n[c], f = l[c] || zt, u = this.eventUiBuilders[c];
3662
+ let h = n[c], f = l[c] || Ft, u = this.eventUiBuilders[c];
3658
3663
  d[c] = {
3659
3664
  businessHours: h.businessHours || e.businessHours,
3660
3665
  dateSelection: i[c] || null,
@@ -3704,8 +3709,8 @@ class Za {
3704
3709
  if (e) {
3705
3710
  let r = this._splitEventStore(e.affectedEvents, this._getKeysForEventDefs(e.affectedEvents)), i = this._getKeysForEventDefs(e.mutatedEvents), s = this._splitEventStore(e.mutatedEvents, i), l = (o) => {
3706
3711
  n[o] || (n[o] = {
3707
- affectedEvents: r[o] || zt,
3708
- mutatedEvents: s[o] || zt,
3712
+ affectedEvents: r[o] || Ft,
3713
+ mutatedEvents: s[o] || Ft,
3709
3714
  isEvent: e.isEvent
3710
3715
  });
3711
3716
  };
@@ -3742,8 +3747,8 @@ function On(t, e) {
3742
3747
  ];
3743
3748
  return t.isDisabled ? n.push("fc-day-disabled") : (t.isToday && (n.push("fc-day-today"), n.push(e.getClass("today"))), t.isPast && n.push("fc-day-past"), t.isFuture && n.push("fc-day-future"), t.isOther && n.push("fc-day-other")), n;
3744
3749
  }
3745
- const Xa = N({ year: "numeric", month: "long", day: "numeric" }), Ja = N({ week: "long" });
3746
- function vt(t, e, n = "day", r = !0) {
3750
+ const Xa = O({ year: "numeric", month: "long", day: "numeric" }), Ja = O({ week: "long" });
3751
+ function bt(t, e, n = "day", r = !0) {
3747
3752
  const { dateEnv: i, options: s, calendarApi: l } = t;
3748
3753
  let o = i.format(e, n === "week" ? Ja : Xa);
3749
3754
  if (s.navLinks) {
@@ -3752,17 +3757,17 @@ function vt(t, e, n = "day", r = !0) {
3752
3757
  let h = n === "day" ? s.navLinkDayClick : n === "week" ? s.navLinkWeekClick : null;
3753
3758
  typeof h == "function" ? h.call(l, i.toDate(e), c) : (typeof h == "string" && (n = h), l.zoomTo(e, n));
3754
3759
  };
3755
- return Object.assign({ title: Ne(s.navLinkHint, [o, a], o), "data-navlink": "" }, r ? Ei(d) : { onClick: d });
3760
+ return Object.assign({ title: Oe(s.navLinkHint, [o, a], o), "data-navlink": "" }, r ? Ei(d) : { onClick: d });
3756
3761
  }
3757
3762
  return { "aria-label": o };
3758
3763
  }
3759
- let Ft = null;
3764
+ let Wt = null;
3760
3765
  function Ka() {
3761
- return Ft === null && (Ft = ec()), Ft;
3766
+ return Wt === null && (Wt = ec()), Wt;
3762
3767
  }
3763
3768
  function ec() {
3764
3769
  let t = document.createElement("div");
3765
- Oe(t, {
3770
+ Ne(t, {
3766
3771
  position: "absolute",
3767
3772
  top: -1e3,
3768
3773
  left: 0,
@@ -3772,11 +3777,11 @@ function ec() {
3772
3777
  direction: "rtl"
3773
3778
  }), t.innerHTML = "<div></div>", document.body.appendChild(t);
3774
3779
  let n = t.firstChild.getBoundingClientRect().left > t.getBoundingClientRect().left;
3775
- return pn(t), n;
3780
+ return mn(t), n;
3776
3781
  }
3777
- let Wt;
3782
+ let Vt;
3778
3783
  function tc() {
3779
- return Wt || (Wt = nc()), Wt;
3784
+ return Vt || (Vt = nc()), Vt;
3780
3785
  }
3781
3786
  function nc() {
3782
3787
  let t = document.createElement("div");
@@ -3803,7 +3808,7 @@ function rc(t, e = !1) {
3803
3808
  return Ka() && n.direction === "rtl" ? c.scrollbarLeft = a : c.scrollbarRight = a, e && (c.paddingLeft = parseInt(n.paddingLeft, 10) || 0, c.paddingRight = parseInt(n.paddingRight, 10) || 0, c.paddingTop = parseInt(n.paddingTop, 10) || 0, c.paddingBottom = parseInt(n.paddingBottom, 10) || 0), c;
3804
3809
  }
3805
3810
  function ic(t, e = !1, n) {
3806
- let r = Nn(t), i = rc(t, e), s = {
3811
+ let r = Pn(t), i = rc(t, e), s = {
3807
3812
  left: r.left + i.borderLeft + i.scrollbarLeft,
3808
3813
  right: r.right - i.borderRight - i.scrollbarRight,
3809
3814
  top: r.top + i.borderTop,
@@ -3811,13 +3816,13 @@ function ic(t, e = !1, n) {
3811
3816
  };
3812
3817
  return e && (s.left += i.paddingLeft, s.right -= i.paddingRight, s.top += i.paddingTop, s.bottom -= i.paddingBottom), s;
3813
3818
  }
3814
- function Nn(t) {
3819
+ function Pn(t) {
3815
3820
  let e = t.getBoundingClientRect();
3816
3821
  return {
3817
- left: e.left + window.pageXOffset,
3818
- top: e.top + window.pageYOffset,
3819
- right: e.right + window.pageXOffset,
3820
- bottom: e.bottom + window.pageYOffset
3822
+ left: e.left + window.scrollX,
3823
+ top: e.top + window.scrollY,
3824
+ right: e.right + window.scrollX,
3825
+ bottom: e.bottom + window.scrollY
3821
3826
  };
3822
3827
  }
3823
3828
  function sc(t) {
@@ -3902,7 +3907,7 @@ function Ye(t, e) {
3902
3907
  return !1;
3903
3908
  return !0;
3904
3909
  }
3905
- class Pn {
3910
+ class Hn {
3906
3911
  getMaxScrollTop() {
3907
3912
  return this.getScrollHeight() - this.getClientHeight();
3908
3913
  }
@@ -3928,7 +3933,7 @@ class Pn {
3928
3933
  return this.getScrollLeft() < this.getMaxScrollLeft();
3929
3934
  }
3930
3935
  }
3931
- class lc extends Pn {
3936
+ class lc extends Hn {
3932
3937
  constructor(e) {
3933
3938
  super(), this.el = e;
3934
3939
  }
@@ -3957,18 +3962,18 @@ class lc extends Pn {
3957
3962
  return this.el.clientWidth;
3958
3963
  }
3959
3964
  }
3960
- class oc extends Pn {
3965
+ class oc extends Hn {
3961
3966
  getScrollTop() {
3962
- return window.pageYOffset;
3967
+ return window.scrollY;
3963
3968
  }
3964
3969
  getScrollLeft() {
3965
- return window.pageXOffset;
3970
+ return window.scrollX;
3966
3971
  }
3967
3972
  setScrollTop(e) {
3968
- window.scroll(window.pageXOffset, e);
3973
+ window.scroll(window.scrollX, e);
3969
3974
  }
3970
3975
  setScrollLeft(e) {
3971
- window.scroll(e, window.pageYOffset);
3976
+ window.scroll(e, window.scrollY);
3972
3977
  }
3973
3978
  getScrollWidth() {
3974
3979
  return document.documentElement.scrollWidth;
@@ -4008,7 +4013,7 @@ class G extends T {
4008
4013
  }
4009
4014
  }
4010
4015
  class ts {
4011
- constructor(e = (n) => n.thickness) {
4016
+ constructor(e = (n) => n.thickness || 1) {
4012
4017
  this.getEntryThickness = e, this.strictOrder = !1, this.allowReslicing = !1, this.maxCoord = -1, this.maxStackCnt = -1, this.levelCoords = [], this.entriesByLevel = [], this.stackCnts = {};
4013
4018
  }
4014
4019
  addSegs(e) {
@@ -4019,43 +4024,47 @@ class ts {
4019
4024
  }
4020
4025
  insertEntry(e, n) {
4021
4026
  let r = this.findInsertion(e);
4022
- return this.isInsertionValid(r, e) ? (this.insertEntryAt(e, r), 1) : this.handleInvalidInsertion(r, e, n);
4027
+ this.isInsertionValid(r, e) ? this.insertEntryAt(e, r) : this.handleInvalidInsertion(r, e, n);
4023
4028
  }
4024
4029
  isInsertionValid(e, n) {
4025
4030
  return (this.maxCoord === -1 || e.levelCoord + this.getEntryThickness(n) <= this.maxCoord) && (this.maxStackCnt === -1 || e.stackCnt < this.maxStackCnt);
4026
4031
  }
4027
- // returns number of new entries inserted
4028
4032
  handleInvalidInsertion(e, n, r) {
4029
- return this.allowReslicing && e.touchingEntry ? this.splitEntry(n, e.touchingEntry, r) : (r.push(n), 0);
4033
+ if (this.allowReslicing && e.touchingEntry) {
4034
+ const i = Object.assign(Object.assign({}, n), { span: Bn(n.span, e.touchingEntry.span) });
4035
+ r.push(i), this.splitEntry(n, e.touchingEntry, r);
4036
+ } else
4037
+ r.push(n);
4030
4038
  }
4039
+ /*
4040
+ Does NOT add what hit the `barrier` into hiddenEntries. Should already be done.
4041
+ */
4031
4042
  splitEntry(e, n, r) {
4032
- let i = 0, s = [], l = e.span, o = n.span;
4033
- return l.start < o.start && (i += this.insertEntry({
4034
- index: e.index,
4035
- thickness: e.thickness,
4036
- span: { start: l.start, end: o.start }
4037
- }, s)), l.end > o.end && (i += this.insertEntry({
4043
+ let i = e.span, s = n.span;
4044
+ i.start < s.start && this.insertEntry({
4038
4045
  index: e.index,
4039
4046
  thickness: e.thickness,
4040
- span: { start: o.end, end: l.end }
4041
- }, s)), i ? (r.push({
4047
+ span: { start: i.start, end: s.start }
4048
+ }, r), i.end > s.end && this.insertEntry({
4042
4049
  index: e.index,
4043
4050
  thickness: e.thickness,
4044
- span: Hn(o, l)
4045
- // guaranteed to intersect
4046
- }, ...s), i) : (r.push(e), 0);
4051
+ span: { start: s.end, end: i.end }
4052
+ }, r);
4047
4053
  }
4048
4054
  insertEntryAt(e, n) {
4049
4055
  let { entriesByLevel: r, levelCoords: i } = this;
4050
- n.lateral === -1 ? (Vt(i, n.level, n.levelCoord), Vt(r, n.level, [e])) : Vt(r[n.level], n.lateral, e), this.stackCnts[ue(e)] = n.stackCnt;
4056
+ n.lateral === -1 ? (Gt(i, n.level, n.levelCoord), Gt(r, n.level, [e])) : Gt(r[n.level], n.lateral, e), this.stackCnts[ue(e)] = n.stackCnt;
4051
4057
  }
4058
+ /*
4059
+ does not care about limits
4060
+ */
4052
4061
  findInsertion(e) {
4053
4062
  let { levelCoords: n, entriesByLevel: r, strictOrder: i, stackCnts: s } = this, l = n.length, o = 0, a = -1, d = -1, c = null, h = 0;
4054
4063
  for (let m = 0; m < l; m += 1) {
4055
- let v = n[m];
4064
+ const v = n[m];
4056
4065
  if (!i && v >= o + this.getEntryThickness(e))
4057
4066
  break;
4058
- let b = r[m], E, y = on(b, e.span.start, ln), D = y[0] + y[1];
4067
+ let b = r[m], E, y = an(b, e.span.start, on), D = y[0] + y[1];
4059
4068
  for (
4060
4069
  ;
4061
4070
  // loop through entries that horizontally intersect
@@ -4071,7 +4080,7 @@ class ts {
4071
4080
  for (f = a + 1; f < l && n[f] < o; )
4072
4081
  f += 1;
4073
4082
  let u = -1;
4074
- return f < l && n[f] === o && (u = on(r[f], e.span.end, ln)[0]), {
4083
+ return f < l && n[f] === o && (u = an(r[f], e.span.end, on)[0]), {
4075
4084
  touchingLevel: a,
4076
4085
  touchingLateral: d,
4077
4086
  touchingEntry: c,
@@ -4092,7 +4101,7 @@ class ts {
4092
4101
  return i;
4093
4102
  }
4094
4103
  }
4095
- function ln(t) {
4104
+ function on(t) {
4096
4105
  return t.span.end;
4097
4106
  }
4098
4107
  function ue(t) {
@@ -4106,7 +4115,7 @@ function ac(t) {
4106
4115
  entries: [n]
4107
4116
  };
4108
4117
  for (let s of e)
4109
- Hn(s.span, i.span) ? i = {
4118
+ Bn(s.span, i.span) ? i = {
4110
4119
  entries: s.entries.concat(i.entries),
4111
4120
  span: cc(s.span, i.span)
4112
4121
  } : r.push(s);
@@ -4120,14 +4129,14 @@ function cc(t, e) {
4120
4129
  end: Math.max(t.end, e.end)
4121
4130
  };
4122
4131
  }
4123
- function Hn(t, e) {
4132
+ function Bn(t, e) {
4124
4133
  let n = Math.max(t.start, e.start), r = Math.min(t.end, e.end);
4125
4134
  return n < r ? { start: n, end: r } : null;
4126
4135
  }
4127
- function Vt(t, e, n) {
4136
+ function Gt(t, e, n) {
4128
4137
  t.splice(e, 0, n);
4129
4138
  }
4130
- function on(t, e, n) {
4139
+ function an(t, e, n) {
4131
4140
  let r = 0, i = t.length;
4132
4141
  if (!i || e < n(t[r]))
4133
4142
  return [0, 0];
@@ -4146,7 +4155,7 @@ function on(t, e, n) {
4146
4155
  }
4147
4156
  class dc {
4148
4157
  constructor(e, n) {
4149
- this.emitter = new Rt();
4158
+ this.emitter = new _t();
4150
4159
  }
4151
4160
  destroy() {
4152
4161
  }
@@ -4157,9 +4166,9 @@ class dc {
4157
4166
  setAutoScrollEnabled(e) {
4158
4167
  }
4159
4168
  }
4160
- const Bn = {};
4169
+ const Ln = {};
4161
4170
  function uc(t, e) {
4162
- return !t || e > 10 ? N({ weekday: "short" }) : e > 1 ? N({ weekday: "short", month: "numeric", day: "numeric", omitCommas: !0 }) : N({ weekday: "long" });
4171
+ return !t || e > 10 ? O({ weekday: "short" }) : e > 1 ? O({ weekday: "short", month: "numeric", day: "numeric", omitCommas: !0 }) : O({ weekday: "long" });
4163
4172
  }
4164
4173
  const ns = "fc-col-header-cell";
4165
4174
  function rs(t) {
@@ -4167,14 +4176,14 @@ function rs(t) {
4167
4176
  }
4168
4177
  class fc extends T {
4169
4178
  render() {
4170
- let { dateEnv: e, options: n, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Ji(l, s.todayRange, null, o), d = [ns].concat(On(a, r)), c = e.format(l, s.dayHeaderFormat), h = !a.isDisabled && s.colCnt > 1 ? vt(this.context, l) : {}, f = Object.assign(Object.assign(Object.assign({ date: e.toDate(l), view: i }, s.extraRenderProps), { text: c }), a);
4171
- return g(z, { elTag: "th", elClasses: d, elAttrs: Object.assign({ role: "columnheader", colSpan: s.colSpan, "data-date": a.isDisabled ? void 0 : yn(l) }, s.extraDataAttrs), renderProps: f, generatorName: "dayHeaderContent", customGenerator: n.dayHeaderContent, defaultGenerator: rs, classNameGenerator: n.dayHeaderClassNames, didMount: n.dayHeaderDidMount, willUnmount: n.dayHeaderWillUnmount }, (u) => g("div", { className: "fc-scrollgrid-sync-inner" }, !a.isDisabled && g(u, { elTag: "a", elAttrs: h, elClasses: [
4179
+ let { dateEnv: e, options: n, theme: r, viewApi: i } = this.context, { props: s } = this, { date: l, dateProfile: o } = s, a = Ji(l, s.todayRange, null, o), d = [ns].concat(On(a, r)), c = e.format(l, s.dayHeaderFormat), h = !a.isDisabled && s.colCnt > 1 ? bt(this.context, l) : {}, f = Object.assign(Object.assign(Object.assign({ date: e.toDate(l), view: i }, s.extraRenderProps), { text: c }), a);
4180
+ return g(z, { elTag: "th", elClasses: d, elAttrs: Object.assign({ role: "columnheader", colSpan: s.colSpan, "data-date": a.isDisabled ? void 0 : En(l) }, s.extraDataAttrs), renderProps: f, generatorName: "dayHeaderContent", customGenerator: n.dayHeaderContent, defaultGenerator: rs, classNameGenerator: n.dayHeaderClassNames, didMount: n.dayHeaderDidMount, willUnmount: n.dayHeaderWillUnmount }, (u) => g("div", { className: "fc-scrollgrid-sync-inner" }, !a.isDisabled && g(u, { elTag: "a", elAttrs: h, elClasses: [
4172
4181
  "fc-col-header-cell-cushion",
4173
4182
  s.isSticky && "fc-sticky"
4174
4183
  ] })));
4175
4184
  }
4176
4185
  }
4177
- const hc = N({ weekday: "long" });
4186
+ const hc = O({ weekday: "long" });
4178
4187
  class gc extends T {
4179
4188
  render() {
4180
4189
  let { props: e } = this, { dateEnv: n, theme: r, viewApi: i, options: s } = this.context, l = H(/* @__PURE__ */ new Date(2592e5), e.dow), o = {
@@ -4243,7 +4252,7 @@ class ze extends U {
4243
4252
  }
4244
4253
  ze.contextType = $;
4245
4254
  function Pr(t) {
4246
- let e = k(t), n = H(e, 1);
4255
+ let e = M(t), n = H(e, 1);
4247
4256
  return { start: e, end: n };
4248
4257
  }
4249
4258
  class is extends T {
@@ -4439,12 +4448,12 @@ function Ze(t, e) {
4439
4448
  function as(t, e, n) {
4440
4449
  let { instances: r } = t.mutatedEvents;
4441
4450
  for (let i in r)
4442
- if (!Ct(e.validRange, r[i].range))
4451
+ if (!wt(e.validRange, r[i].range))
4443
4452
  return !1;
4444
4453
  return cs({ eventDrag: t }, n);
4445
4454
  }
4446
4455
  function mc(t, e, n) {
4447
- return Ct(e.validRange, t.range) ? cs({ dateSelection: t }, n) : !1;
4456
+ return wt(e.validRange, t.range) ? cs({ dateSelection: t }, n) : !1;
4448
4457
  }
4449
4458
  function cs(t, e) {
4450
4459
  let n = e.getCurrentData(), r = Object.assign({ businessHours: n.businessHours, dateSelection: "", eventStore: n.eventStore, eventUiBases: n.eventUiBases, eventSelection: "", eventDrag: null, eventResize: null }, t);
@@ -4454,9 +4463,9 @@ function vc(t, e, n = {}, r) {
4454
4463
  return !(t.eventDrag && !bc(t, e, n, r) || t.dateSelection && !yc(t, e, n, r));
4455
4464
  }
4456
4465
  function bc(t, e, n, r) {
4457
- let i = e.getCurrentData(), s = t.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d = mt(o, s.isEvent ? t.eventUiBases : { "": i.selectionConfig });
4466
+ let i = e.getCurrentData(), s = t.eventDrag, l = s.mutatedEvents, o = l.defs, a = l.instances, d = vt(o, s.isEvent ? t.eventUiBases : { "": i.selectionConfig });
4458
4467
  r && (d = Y(d, r));
4459
- let c = ma(t.eventStore, s.affectedEvents.instances), h = c.defs, f = c.instances, u = mt(h, t.eventUiBases);
4468
+ let c = ma(t.eventStore, s.affectedEvents.instances), h = c.defs, f = c.instances, u = vt(h, t.eventUiBases);
4460
4469
  for (let m in a) {
4461
4470
  let v = a[m], b = v.range, E = d[v.defId], y = o[v.defId];
4462
4471
  if (!ds(E.constraints, b, c, t.businessHours, e))
@@ -4464,17 +4473,17 @@ function bc(t, e, n, r) {
4464
4473
  let { eventOverlap: D } = e.options, C = typeof D == "function" ? D : null;
4465
4474
  for (let w in f) {
4466
4475
  let x = f[w];
4467
- if (wn(b, x.range) && (u[x.defId].overlap === !1 && s.isEvent || E.overlap === !1 || C && !C(
4468
- new O(e, h[x.defId], x),
4476
+ if (Rn(b, x.range) && (u[x.defId].overlap === !1 && s.isEvent || E.overlap === !1 || C && !C(
4477
+ new N(e, h[x.defId], x),
4469
4478
  // still event
4470
- new O(e, y, v)
4479
+ new N(e, y, v)
4471
4480
  )))
4472
4481
  return !1;
4473
4482
  }
4474
4483
  let I = i.eventStore;
4475
4484
  for (let w of E.allows) {
4476
4485
  let x = Object.assign(Object.assign({}, n), { range: v.range, allDay: y.allDay }), R = I.defs[y.defId], J = I.instances[m], Te;
4477
- if (R ? Te = new O(e, R, J) : Te = new O(e, y), !w(kn(x, e), Te))
4486
+ if (R ? Te = new N(e, R, J) : Te = new N(e, y), !w(kn(x, e), Te))
4478
4487
  return !1;
4479
4488
  }
4480
4489
  }
@@ -4487,7 +4496,7 @@ function yc(t, e, n, r) {
4487
4496
  let { selectOverlap: c } = e.options, h = typeof c == "function" ? c : null;
4488
4497
  for (let f in l) {
4489
4498
  let u = l[f];
4490
- if (wn(a, u.range) && (d.overlap === !1 || h && !h(new O(e, s[u.defId], u), null)))
4499
+ if (Rn(a, u.range) && (d.overlap === !1 || h && !h(new N(e, s[u.defId], u), null)))
4491
4500
  return !1;
4492
4501
  }
4493
4502
  for (let f of d.allows) {
@@ -4504,9 +4513,9 @@ function ds(t, e, n, r, i) {
4504
4513
  return !0;
4505
4514
  }
4506
4515
  function Ec(t, e, n, r, i) {
4507
- return t === "businessHours" ? Gt(ge(r, e, i)) : typeof t == "string" ? Gt(wt(n, (s) => s.groupId === t)) : typeof t == "object" && t ? Gt(ge(t, e, i)) : [];
4516
+ return t === "businessHours" ? qt(ge(r, e, i)) : typeof t == "string" ? qt(Rt(n, (s) => s.groupId === t)) : typeof t == "object" && t ? qt(ge(t, e, i)) : [];
4508
4517
  }
4509
- function Gt(t) {
4518
+ function qt(t) {
4510
4519
  let { instances: e } = t, n = [];
4511
4520
  for (let r in e)
4512
4521
  n.push(e[r].range);
@@ -4514,7 +4523,7 @@ function Gt(t) {
4514
4523
  }
4515
4524
  function Sc(t, e) {
4516
4525
  for (let n of t)
4517
- if (Ct(n, e))
4526
+ if (wt(n, e))
4518
4527
  return !0;
4519
4528
  return !1;
4520
4529
  }
@@ -4581,14 +4590,14 @@ class q {
4581
4590
  // NOTE: this method has become less valuable now that we are encouraged to map order by some other index
4582
4591
  // TODO: provide ONE array-export function, buildArray, which fails on non-numeric indexes. caller can manipulate and "collect"
4583
4592
  collect(e, n, r) {
4584
- return Oo(this.currentMap, e, n, r);
4593
+ return No(this.currentMap, e, n, r);
4585
4594
  }
4586
4595
  getAll() {
4587
- return Dn(this.currentMap);
4596
+ return Cn(this.currentMap);
4588
4597
  }
4589
4598
  }
4590
4599
  function Dc(t) {
4591
- let e = Ml(t, ".fc-scrollgrid-shrink"), n = 0;
4600
+ let e = kl(t, ".fc-scrollgrid-shrink"), n = 0;
4592
4601
  for (let r of e)
4593
4602
  n = Math.max(n, Gl(r));
4594
4603
  return Math.ceil(n);
@@ -4642,14 +4651,14 @@ function xc(t) {
4642
4651
  return !0;
4643
4652
  return !1;
4644
4653
  }
4645
- function kc(t, e) {
4654
+ function Mc(t, e) {
4646
4655
  let n = [
4647
4656
  "fc-scrollgrid",
4648
4657
  e.theme.getClass("table")
4649
4658
  ];
4650
4659
  return t && n.push("fc-scrollgrid-liquid"), n;
4651
4660
  }
4652
- function Mc(t, e) {
4661
+ function kc(t, e) {
4653
4662
  let n = [
4654
4663
  "fc-scrollgrid-section",
4655
4664
  `fc-scrollgrid-section-${t.type}`,
@@ -4658,13 +4667,13 @@ function Mc(t, e) {
4658
4667
  ];
4659
4668
  return e && t.liquid && t.maxHeight == null && n.push("fc-scrollgrid-section-liquid"), t.isSticky && n.push("fc-scrollgrid-section-sticky"), n;
4660
4669
  }
4661
- function an(t) {
4670
+ function cn(t) {
4662
4671
  return g("div", { className: "fc-scrollgrid-sticky-shim", style: {
4663
4672
  width: t.clientWidth,
4664
4673
  minWidth: t.tableMinWidth
4665
4674
  } });
4666
4675
  }
4667
- function bt(t) {
4676
+ function yt(t) {
4668
4677
  let { stickyHeaderDates: e } = t;
4669
4678
  return (e == null || e === "auto") && (e = t.height === "auto" || t.viewHeight === "auto"), e;
4670
4679
  }
@@ -4672,7 +4681,7 @@ function fs(t) {
4672
4681
  let { stickyFooterScrollbar: e } = t;
4673
4682
  return (e == null || e === "auto") && (e = t.height === "auto" || t.viewHeight === "auto"), e;
4674
4683
  }
4675
- class Ln extends T {
4684
+ class Un extends T {
4676
4685
  constructor() {
4677
4686
  super(...arguments), this.processCols = A((e) => e, Rc), this.renderMicroColGroup = A(_c), this.scrollerRefs = new q(), this.scrollerElRefs = new q(this._handleScrollerEl.bind(this)), this.state = {
4678
4687
  shrinkWidth: null,
@@ -4684,7 +4693,7 @@ class Ln extends T {
4684
4693
  };
4685
4694
  }
4686
4695
  render() {
4687
- let { props: e, state: n, context: r } = this, i = e.sections || [], s = this.processCols(e.cols), l = this.renderMicroColGroup(s, n.shrinkWidth), o = kc(e.liquid, r);
4696
+ let { props: e, state: n, context: r } = this, i = e.sections || [], s = this.processCols(e.cols), l = this.renderMicroColGroup(s, n.shrinkWidth), o = Mc(e.liquid, r);
4688
4697
  e.collapsibleWidth && o.push("fc-scrollgrid-collapsible");
4689
4698
  let a = i.length, d = 0, c, h = [], f = [], u = [];
4690
4699
  for (; d < a && (c = i[d]).type === "header"; )
@@ -4702,7 +4711,7 @@ class Ln extends T {
4702
4711
  }, !!(!m && h.length) && g("thead", v, ...h), !!(!m && f.length) && g("tbody", v, ...f), !!(!m && u.length) && g("tfoot", v, ...u), m && g("tbody", v, ...h, ...f, ...u));
4703
4712
  }
4704
4713
  renderSection(e, n, r) {
4705
- return "outerContent" in e ? g(M, { key: e.key }, e.outerContent) : g("tr", { key: e.key, role: "presentation", className: Mc(e, this.props.liquid).join(" ") }, this.renderChunkTd(e, n, e.chunk, r));
4714
+ return "outerContent" in e ? g(k, { key: e.key }, e.outerContent) : g("tr", { key: e.key, role: "presentation", className: kc(e, this.props.liquid).join(" ") }, this.renderChunkTd(e, n, e.chunk, r));
4706
4715
  }
4707
4716
  renderChunkTd(e, n, r, i) {
4708
4717
  if ("outerContent" in r)
@@ -4762,7 +4771,7 @@ class Ln extends T {
4762
4771
  return { forceYScrollbars: i, scrollerClientWidths: s, scrollerClientHeights: l };
4763
4772
  }
4764
4773
  }
4765
- Ln.addStateEquality({
4774
+ Un.addStateEquality({
4766
4775
  scrollerClientWidths: V,
4767
4776
  scrollerClientHeights: V
4768
4777
  });
@@ -4772,15 +4781,15 @@ function Ic(t, e) {
4772
4781
  return n;
4773
4782
  return null;
4774
4783
  }
4775
- class Un extends T {
4784
+ class jn extends T {
4776
4785
  constructor() {
4777
4786
  super(...arguments), this.handleEl = (e) => {
4778
- this.el = e, e && Or(e, this.props.seg);
4787
+ this.el = e, e && Nr(e, this.props.seg);
4779
4788
  };
4780
4789
  }
4781
4790
  render() {
4782
4791
  const { props: e, context: n } = this, { options: r } = n, { seg: i } = e, { eventRange: s } = i, { ui: l } = s, o = {
4783
- event: new O(n, s.def, s.instance),
4792
+ event: new N(n, s.def, s.instance),
4784
4793
  view: n.viewApi,
4785
4794
  timeText: e.timeText,
4786
4795
  textColor: l.textColor,
@@ -4788,7 +4797,7 @@ class Un extends T {
4788
4797
  borderColor: l.borderColor,
4789
4798
  isDraggable: !e.disableDragging && Ta(i, n),
4790
4799
  isStartResizable: !e.disableResizing && xa(i, n),
4791
- isEndResizable: !e.disableResizing && ka(i),
4800
+ isEndResizable: !e.disableResizing && Ma(i),
4792
4801
  isMirror: !!(e.isDragging || e.isResizing || e.isDateSelecting),
4793
4802
  isStart: !!i.isStart,
4794
4803
  isEnd: !!i.isEnd,
@@ -4800,23 +4809,23 @@ class Un extends T {
4800
4809
  isResizing: !!e.isResizing
4801
4810
  };
4802
4811
  return g(z, Object.assign({}, e, { elRef: this.handleEl, elClasses: [
4803
- ...Ma(o),
4812
+ ...ka(o),
4804
4813
  ...i.eventRange.ui.classNames,
4805
4814
  ...e.elClasses || []
4806
4815
  ], renderProps: o, generatorName: "eventContent", customGenerator: r.eventContent, defaultGenerator: e.defaultGenerator, classNameGenerator: r.eventClassNames, didMount: r.eventDidMount, willUnmount: r.eventWillUnmount }));
4807
4816
  }
4808
4817
  componentDidUpdate(e) {
4809
- this.el && this.props.seg !== e.seg && Or(this.el, this.props.seg);
4818
+ this.el && this.props.seg !== e.seg && Nr(this.el, this.props.seg);
4810
4819
  }
4811
4820
  }
4812
4821
  class hs extends T {
4813
4822
  render() {
4814
4823
  let { props: e, context: n } = this, { options: r } = n, { seg: i } = e, { ui: s } = i.eventRange, l = r.eventTimeFormat || e.defaultTimeFormat, o = Gi(i, l, n, e.defaultDisplayEventTime, e.defaultDisplayEventEnd);
4815
- return g(Un, Object.assign({}, e, { elTag: "a", elStyle: {
4824
+ return g(jn, Object.assign({}, e, { elTag: "a", elStyle: {
4816
4825
  borderColor: s.borderColor,
4817
4826
  backgroundColor: s.backgroundColor
4818
- }, elAttrs: Qi(i, n), defaultGenerator: Oc, timeText: o }), (a, d) => g(
4819
- M,
4827
+ }, elAttrs: Qi(i, n), defaultGenerator: Nc, timeText: o }), (a, d) => g(
4828
+ k,
4820
4829
  null,
4821
4830
  g(a, { elTag: "div", elClasses: ["fc-event-main"], elStyle: { color: d.textColor } }),
4822
4831
  !!d.isStartResizable && g("div", { className: "fc-event-resizer fc-event-resizer-start" }),
@@ -4824,7 +4833,7 @@ class hs extends T {
4824
4833
  ));
4825
4834
  }
4826
4835
  }
4827
- function Oc(t) {
4836
+ function Nc(t) {
4828
4837
  return g(
4829
4838
  "div",
4830
4839
  { className: "fc-event-main-frame" },
@@ -4832,19 +4841,19 @@ function Oc(t) {
4832
4841
  g(
4833
4842
  "div",
4834
4843
  { className: "fc-event-title-container" },
4835
- g("div", { className: "fc-event-title fc-sticky" }, t.event.title || g(M, null, " "))
4844
+ g("div", { className: "fc-event-title fc-sticky" }, t.event.title || g(k, null, " "))
4836
4845
  )
4837
4846
  );
4838
4847
  }
4839
- const jn = (t) => g($.Consumer, null, (e) => {
4848
+ const zn = (t) => g($.Consumer, null, (e) => {
4840
4849
  let { options: n } = e, r = {
4841
4850
  isAxis: t.isAxis,
4842
4851
  date: e.dateEnv.toDate(t.date),
4843
4852
  view: e.viewApi
4844
4853
  };
4845
4854
  return g(z, Object.assign({}, t, { elTag: t.elTag || "div", renderProps: r, generatorName: "nowIndicatorContent", customGenerator: n.nowIndicatorContent, classNameGenerator: n.nowIndicatorClassNames, didMount: n.nowIndicatorDidMount, willUnmount: n.nowIndicatorWillUnmount }));
4846
- }), Nc = N({ day: "numeric" });
4847
- class zn extends T {
4855
+ }), Oc = O({ day: "numeric" });
4856
+ class Fn extends T {
4848
4857
  constructor() {
4849
4858
  super(...arguments), this.refineRenderProps = rt(Pc);
4850
4859
  }
@@ -4863,17 +4872,17 @@ class zn extends T {
4863
4872
  return g(z, Object.assign({}, e, { elClasses: [
4864
4873
  ...On(i, n.theme),
4865
4874
  ...e.elClasses || []
4866
- ], elAttrs: Object.assign(Object.assign({}, e.elAttrs), i.isDisabled ? {} : { "data-date": yn(e.date) }), renderProps: i, generatorName: "dayCellContent", customGenerator: r.dayCellContent, defaultGenerator: e.defaultGenerator, classNameGenerator: (
4875
+ ], elAttrs: Object.assign(Object.assign({}, e.elAttrs), i.isDisabled ? {} : { "data-date": En(e.date) }), renderProps: i, generatorName: "dayCellContent", customGenerator: r.dayCellContent, defaultGenerator: e.defaultGenerator, classNameGenerator: (
4867
4876
  // don't use custom classNames if disabled
4868
4877
  i.isDisabled ? void 0 : r.dayCellClassNames
4869
4878
  ), didMount: r.dayCellDidMount, willUnmount: r.dayCellWillUnmount }));
4870
4879
  }
4871
4880
  }
4872
- function Fn(t) {
4873
- return !!(t.dayCellContent || tn("dayCellContent", t));
4881
+ function Wn(t) {
4882
+ return !!(t.dayCellContent || nn("dayCellContent", t));
4874
4883
  }
4875
4884
  function Pc(t) {
4876
- let { date: e, dateEnv: n, dateProfile: r, isMonthStart: i } = t, s = Ji(e, t.todayRange, null, r), l = t.showDayNumber ? n.format(e, i ? t.monthStartFormat : Nc) : "";
4885
+ let { date: e, dateEnv: n, dateProfile: r, isMonthStart: i } = t, s = Ji(e, t.todayRange, null, r), l = t.showDayNumber ? n.format(e, i ? t.monthStartFormat : Oc) : "";
4877
4886
  return Object.assign(Object.assign(Object.assign({ date: n.toDate(e), view: t.viewApi }, s), {
4878
4887
  isMonthStart: i,
4879
4888
  dayNumberText: l
@@ -4882,7 +4891,7 @@ function Pc(t) {
4882
4891
  class gs extends T {
4883
4892
  render() {
4884
4893
  let { props: e } = this, { seg: n } = e;
4885
- return g(Un, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: n.eventRange.ui.backgroundColor }, defaultGenerator: Hc, seg: n, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
4894
+ return g(jn, { elTag: "div", elClasses: ["fc-bg-event"], elStyle: { backgroundColor: n.eventRange.ui.backgroundColor }, defaultGenerator: Hc, seg: n, timeText: "", isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: !1, isPast: e.isPast, isFuture: e.isFuture, isToday: e.isToday, disableDragging: !0, disableResizing: !0 });
4886
4895
  }
4887
4896
  }
4888
4897
  function Hc(t) {
@@ -4902,11 +4911,11 @@ const ms = (t) => g($.Consumer, null, (e) => {
4902
4911
  function Bc(t) {
4903
4912
  return t.text;
4904
4913
  }
4905
- const qt = 10;
4914
+ const Qt = 10;
4906
4915
  class Lc extends T {
4907
4916
  constructor() {
4908
4917
  super(...arguments), this.state = {
4909
- titleId: At()
4918
+ titleId: Dt()
4910
4919
  }, this.handleRootEl = (e) => {
4911
4920
  this.rootEl = e, this.props.elRef && Z(this.props.elRef, e);
4912
4921
  }, this.handleDocumentMouseDown = (e) => {
@@ -4946,9 +4955,9 @@ class Lc extends T {
4946
4955
  let { isRtl: e } = this.context, { alignmentEl: n, alignGridTop: r } = this.props, { rootEl: i } = this, s = sc(n);
4947
4956
  if (s) {
4948
4957
  let l = i.getBoundingClientRect(), o = r ? P(n, ".fc-scrollgrid").getBoundingClientRect().top : s.top, a = e ? s.right - l.width : s.left;
4949
- o = Math.max(o, qt), a = Math.min(a, document.documentElement.clientWidth - qt - l.width), a = Math.max(a, qt);
4958
+ o = Math.max(o, Qt), a = Math.min(a, document.documentElement.clientWidth - Qt - l.width), a = Math.max(a, Qt);
4950
4959
  let d = i.offsetParent.getBoundingClientRect();
4951
- Oe(i, {
4960
+ Ne(i, {
4952
4961
  top: o - d.top,
4953
4962
  left: a - d.left
4954
4963
  });
@@ -4966,10 +4975,10 @@ class Uc extends G {
4966
4975
  }
4967
4976
  render() {
4968
4977
  let { options: e, dateEnv: n } = this.context, { props: r } = this, { startDate: i, todayRange: s, dateProfile: l } = r, o = n.format(i, e.dayPopoverFormat);
4969
- return g(zn, { elRef: this.handleRootEl, date: i, dateProfile: l, todayRange: s }, (a, d, c) => g(
4978
+ return g(Fn, { elRef: this.handleRootEl, date: i, dateProfile: l, todayRange: s }, (a, d, c) => g(
4970
4979
  Lc,
4971
4980
  { elRef: c.ref, id: r.id, title: o, extraClassNames: ["fc-more-popover"].concat(c.className || []), extraAttrs: c, parentEl: r.parentEl, alignmentEl: r.alignmentEl, alignGridTop: r.alignGridTop, onClose: r.onClose },
4972
- Fn(e) && g(a, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
4981
+ Wn(e) && g(a, { elTag: "div", elClasses: ["fc-more-popover-misc"] }),
4973
4982
  r.children
4974
4983
  ));
4975
4984
  }
@@ -4997,7 +5006,7 @@ class vs extends T {
4997
5006
  constructor() {
4998
5007
  super(...arguments), this.state = {
4999
5008
  isPopoverOpen: !1,
5000
- popoverId: At()
5009
+ popoverId: Dt()
5001
5010
  }, this.handleLinkEl = (e) => {
5002
5011
  this.linkEl = e, this.props.elRef && Z(this.props.elRef, e);
5003
5012
  }, this.handleClick = (e) => {
@@ -5005,7 +5014,7 @@ class vs extends T {
5005
5014
  function l(o) {
5006
5015
  let { def: a, instance: d, range: c } = o.eventRange;
5007
5016
  return {
5008
- event: new O(r, a, d),
5017
+ event: new N(r, a, d),
5009
5018
  start: r.dateEnv.toDate(c.start),
5010
5019
  end: r.dateEnv.toDate(c.end),
5011
5020
  isStart: o.isStart,
@@ -5027,14 +5036,14 @@ class vs extends T {
5027
5036
  render() {
5028
5037
  let { props: e, state: n } = this;
5029
5038
  return g($.Consumer, null, (r) => {
5030
- let { viewApi: i, options: s, calendarApi: l } = r, { moreLinkText: o } = s, { moreCnt: a } = e, d = Hr(e), c = typeof o == "function" ? o.call(l, a) : `+${a} ${o}`, h = Ne(s.moreLinkHint, [a], c), f = {
5039
+ let { viewApi: i, options: s, calendarApi: l } = r, { moreLinkText: o } = s, { moreCnt: a } = e, d = Hr(e), c = typeof o == "function" ? o.call(l, a) : `+${a} ${o}`, h = Oe(s.moreLinkHint, [a], c), f = {
5031
5040
  num: a,
5032
5041
  shortText: `+${a}`,
5033
5042
  text: c,
5034
5043
  view: i
5035
5044
  };
5036
5045
  return g(
5037
- M,
5046
+ k,
5038
5047
  null,
5039
5048
  !!e.moreCnt && g(z, { elTag: e.elTag || "a", elRef: this.handleLinkEl, elClasses: [
5040
5049
  ...e.elClasses || [],
@@ -5179,7 +5188,7 @@ function Zc(t, e) {
5179
5188
  return null;
5180
5189
  }
5181
5190
  function As(t, e, n) {
5182
- let r = An([ys, n], ["buttonText"]);
5191
+ let r = Dn([ys, n], ["buttonText"]);
5183
5192
  delete r.code;
5184
5193
  let { week: i } = r;
5185
5194
  return delete r.week, {
@@ -5347,12 +5356,12 @@ se.prototype.iconOverridePrefix = "fc-icon-";
5347
5356
  function ed(t, e) {
5348
5357
  let n = {}, r;
5349
5358
  for (r in t)
5350
- cn(r, n, t, e);
5359
+ dn(r, n, t, e);
5351
5360
  for (r in e)
5352
- cn(r, n, t, e);
5361
+ dn(r, n, t, e);
5353
5362
  return n;
5354
5363
  }
5355
- function cn(t, e, n, r) {
5364
+ function dn(t, e, n, r) {
5356
5365
  if (e[t])
5357
5366
  return e[t];
5358
5367
  let i = td(t, e, n, r);
@@ -5363,7 +5372,7 @@ function td(t, e, n, r) {
5363
5372
  if (a) {
5364
5373
  if (a === t)
5365
5374
  throw new Error("Can't have a custom view type that references itself");
5366
- d = cn(a, e, n, r);
5375
+ d = dn(a, e, n, r);
5367
5376
  }
5368
5377
  return !o && d && (o = d.component), o ? {
5369
5378
  type: t,
@@ -5394,7 +5403,7 @@ function rd(t, e, n, r) {
5394
5403
  function id(t, e, n, r, i) {
5395
5404
  let s = t.overrides.duration || t.defaults.duration || r.duration || n.duration, l = null, o = "", a = "", d = {};
5396
5405
  if (s && (l = sd(s), l)) {
5397
- let f = Kt(l);
5406
+ let f = en(l);
5398
5407
  o = f.unit, f.value === 1 && (a = o, d = e[o] ? e[o].rawOptions : {});
5399
5408
  }
5400
5409
  let c = (f) => {
@@ -5477,7 +5486,7 @@ function dd(t, e, n, r) {
5477
5486
  case "CHANGE_VIEW_TYPE":
5478
5487
  return n ? ws(t, i, r) : t;
5479
5488
  case "FETCH_EVENT_SOURCES":
5480
- return Wn(t, e.sourceIds ? (
5489
+ return Vn(t, e.sourceIds ? (
5481
5490
  // why no type?
5482
5491
  Ci(e.sourceIds)
5483
5492
  ) : Rs(t, r), i, e.isRefetch || !1, r);
@@ -5492,7 +5501,7 @@ function dd(t, e, n, r) {
5492
5501
  }
5493
5502
  function ud(t, e, n) {
5494
5503
  let r = e ? e.activeRange : null;
5495
- return Wn(t, Rs(t, n), r, !0, n);
5504
+ return Vn(t, Rs(t, n), r, !0, n);
5496
5505
  }
5497
5506
  function Ds(t) {
5498
5507
  for (let e in t)
@@ -5510,13 +5519,13 @@ function fd(t, e) {
5510
5519
  return fe(t, (n) => n.sourceId !== e);
5511
5520
  }
5512
5521
  function ws(t, e, n) {
5513
- return Wn(t, fe(t, (r) => hd(r, e, n)), e, !1, n);
5522
+ return Vn(t, fe(t, (r) => hd(r, e, n)), e, !1, n);
5514
5523
  }
5515
5524
  function hd(t, e, n) {
5516
5525
  return _s(t, n) ? !n.options.lazyFetching || !t.fetchRange || t.isFetching || // always cancel outdated in-progress fetches
5517
5526
  e.start < t.fetchRange.start || e.end > t.fetchRange.end : !t.latestFetchId;
5518
5527
  }
5519
- function Wn(t, e, n, r, i) {
5528
+ function Vn(t, e, n, r, i) {
5520
5529
  let s = {};
5521
5530
  for (let l in t) {
5522
5531
  let o = t[l];
@@ -5648,7 +5657,7 @@ function Ad(t, e, n, r, i, s) {
5648
5657
  s.changeView(E);
5649
5658
  }, (w = D.buttonTextOverride) || (I = r.getIconClass(E, l)) || (w = D.buttonTextDefault);
5650
5659
  let R = D.buttonTextOverride || D.buttonTextDefault;
5651
- x = Ne(
5660
+ x = Oe(
5652
5661
  D.buttonTitleOverride || D.buttonTitleDefault || e.viewHint,
5653
5662
  [R, E],
5654
5663
  // view-name = buttonName
@@ -5659,12 +5668,12 @@ function Ad(t, e, n, r, i, s) {
5659
5668
  s[E]();
5660
5669
  }, (w = a[E]) || (I = r.getIconClass(E, l)) || (w = d[E]), E === "prevYear" || E === "nextYear") {
5661
5670
  let R = E === "prevYear" ? "prev" : "next";
5662
- x = Ne(c[R] || h[R], [
5671
+ x = Oe(c[R] || h[R], [
5663
5672
  d.year || "year",
5664
5673
  "year"
5665
5674
  ], d[E]);
5666
5675
  } else
5667
- x = (R) => Ne(c[E] || h[E], [
5676
+ x = (R) => Oe(c[E] || h[E], [
5668
5677
  d[R] || R,
5669
5678
  R
5670
5679
  ], d[E]);
@@ -5744,18 +5753,18 @@ let xd = {
5744
5753
  } : null;
5745
5754
  },
5746
5755
  fetch(t, e, n) {
5747
- const { meta: r } = t.eventSource, i = Md(r, t.range, t.context);
5756
+ const { meta: r } = t.eventSource, i = kd(r, t.range, t.context);
5748
5757
  ja(r.method, r.url, i).then(([s, l]) => {
5749
5758
  e({ rawEvents: s, response: l });
5750
5759
  }, n);
5751
5760
  }
5752
5761
  };
5753
- const kd = X({
5762
+ const Md = X({
5754
5763
  name: "json-event-source",
5755
5764
  eventSourceRefiners: Td,
5756
5765
  eventSourceDefs: [xd]
5757
5766
  });
5758
- function Md(t, e, n) {
5767
+ function kd(t, e, n) {
5759
5768
  let { dateEnv: r, options: i } = n, s, l, o, a, d = {};
5760
5769
  return s = t.startParam, s == null && (s = i.startParam), l = t.endParam, l == null && (l = i.endParam), o = t.timeZoneParam, o == null && (o = i.timeZoneParam), typeof t.extraParams == "function" ? a = t.extraParams() : a = t.extraParams || {}, Object.assign(d, a), d[s] = r.formatIso(e.start), d[l] = r.formatIso(e.end), r.timeZone !== "local" && (d[o] = r.timeZone), d;
5761
5770
  }
@@ -5767,7 +5776,7 @@ const Id = {
5767
5776
  startRecur: p,
5768
5777
  endRecur: p
5769
5778
  };
5770
- let Od = {
5779
+ let Nd = {
5771
5780
  parse(t, e) {
5772
5781
  if (t.daysOfWeek || t.startTime || t.endTime || t.startRecur || t.endRecur) {
5773
5782
  let n = {
@@ -5791,13 +5800,13 @@ let Od = {
5791
5800
  return r ? Pd(t.daysOfWeek, t.startTime, r, n) : [];
5792
5801
  }
5793
5802
  };
5794
- const Nd = X({
5803
+ const Od = X({
5795
5804
  name: "simple-recurring-event",
5796
- recurringTypes: [Od],
5805
+ recurringTypes: [Nd],
5797
5806
  eventRefiners: Id
5798
5807
  });
5799
5808
  function Pd(t, e, n, r) {
5800
- let i = t ? Ci(t) : null, s = k(n.start), l = n.end, o = [];
5809
+ let i = t ? Ci(t) : null, s = M(n.start), l = n.end, o = [];
5801
5810
  for (; s < l; ) {
5802
5811
  let a;
5803
5812
  (!i || i[s.getUTCDay()]) && (e ? a = r.add(s, e) : a = s, o.push(a)), s = H(s, 1);
@@ -5814,7 +5823,7 @@ const Hd = X({
5814
5823
  }
5815
5824
  });
5816
5825
  function zr(t, e) {
5817
- let n = Dn(e.getCurrentData().eventSources);
5826
+ let n = Cn(e.getCurrentData().eventSources);
5818
5827
  if (n.length === 1 && t.length === 1 && Array.isArray(n[0]._raw) && Array.isArray(t[0])) {
5819
5828
  e.dispatch({
5820
5829
  type: "RESET_RAW_EVENTS",
@@ -5851,8 +5860,8 @@ function Ld(t, e) {
5851
5860
  const Ud = [
5852
5861
  wd,
5853
5862
  _d,
5854
- kd,
5855
- Nd,
5863
+ Md,
5864
+ Od,
5856
5865
  Hd,
5857
5866
  X({
5858
5867
  name: "misc",
@@ -5867,7 +5876,7 @@ const Ud = [
5867
5876
  ];
5868
5877
  class jd {
5869
5878
  constructor(e, n) {
5870
- this.runTaskOption = e, this.drainedOption = n, this.queue = [], this.delayedRunner = new gn(this.drain.bind(this));
5879
+ this.runTaskOption = e, this.drainedOption = n, this.queue = [], this.delayedRunner = new pn(this.drain.bind(this));
5871
5880
  }
5872
5881
  request(e, n) {
5873
5882
  this.queue.push(e), this.delayedRunner.request(n);
@@ -5896,7 +5905,7 @@ class jd {
5896
5905
  }
5897
5906
  function zd(t, e, n) {
5898
5907
  let r;
5899
- return /^(year|month)$/.test(t.currentRangeUnit) ? r = t.currentRange : r = t.activeRange, n.formatRange(r.start, r.end, N(e.titleFormat || Fd(t)), {
5908
+ return /^(year|month)$/.test(t.currentRangeUnit) ? r = t.currentRange : r = t.activeRange, n.formatRange(r.start, r.end, O(e.titleFormat || Fd(t)), {
5900
5909
  isEndExclusive: t.isRangeAllDay,
5901
5910
  defaultSeparator: e.titleRangeSeparator
5902
5911
  });
@@ -5912,7 +5921,7 @@ function Fd(t) {
5912
5921
  }
5913
5922
  class Wd {
5914
5923
  constructor(e) {
5915
- this.computeCurrentViewData = A(this._computeCurrentViewData), this.organizeRawLocales = A(Qc), this.buildLocale = A(Ss), this.buildPluginHooks = Xc(), this.buildDateEnv = A(Vd), this.buildTheme = A(Gd), this.parseToolbars = A(Sd), this.buildViewSpecs = A(rd), this.buildDateProfileGenerator = rt(qd), this.buildViewApi = A(Qd), this.buildViewUiProps = rt($d), this.buildEventUiBySource = A(Yd, V), this.buildEventUiBases = A(Zd), this.parseContextBusinessHours = rt(Xd), this.buildTitle = A(zd), this.emitter = new Rt(), this.actionRunner = new jd(this._handleAction.bind(this), this.updateData.bind(this)), this.currentCalendarOptionsInput = {}, this.currentCalendarOptionsRefined = {}, this.currentViewOptionsInput = {}, this.currentViewOptionsRefined = {}, this.currentCalendarOptionsRefiners = {}, this.optionsForRefining = [], this.optionsForHandling = [], this.getCurrentData = () => this.data, this.dispatch = (f) => {
5924
+ this.computeCurrentViewData = A(this._computeCurrentViewData), this.organizeRawLocales = A(Qc), this.buildLocale = A(Ss), this.buildPluginHooks = Xc(), this.buildDateEnv = A(Vd), this.buildTheme = A(Gd), this.parseToolbars = A(Sd), this.buildViewSpecs = A(rd), this.buildDateProfileGenerator = rt(qd), this.buildViewApi = A(Qd), this.buildViewUiProps = rt($d), this.buildEventUiBySource = A(Yd, V), this.buildEventUiBases = A(Zd), this.parseContextBusinessHours = rt(Xd), this.buildTitle = A(zd), this.emitter = new _t(), this.actionRunner = new jd(this._handleAction.bind(this), this.updateData.bind(this)), this.currentCalendarOptionsInput = {}, this.currentCalendarOptionsRefined = {}, this.currentViewOptionsInput = {}, this.currentViewOptionsRefined = {}, this.currentCalendarOptionsRefiners = {}, this.optionsForRefining = [], this.optionsForHandling = [], this.getCurrentData = () => this.data, this.dispatch = (f) => {
5916
5925
  this.actionRunner.request(f);
5917
5926
  }, this.props = e, this.actionRunner.pause();
5918
5927
  let n = {}, r = this.computeOptionsData(e.optionOverrides, n, e.calendarApi), i = r.calendarOptions.initialView || r.pluginHooks.initialView, s = this.computeCurrentViewData(i, r, e.optionOverrides, n);
@@ -5948,7 +5957,7 @@ class Wd {
5948
5957
  }, h = Object.assign(Object.assign({}, a), c);
5949
5958
  for (let f of r.pluginHooks.reducers)
5950
5959
  Object.assign(c, f(null, null, h));
5951
- Qt(c, a) && this.emitter.trigger("loading", !0), this.state = c, this.updateData(), this.actionRunner.resume();
5960
+ Yt(c, a) && this.emitter.trigger("loading", !0), this.state = c, this.updateData(), this.actionRunner.resume();
5952
5961
  }
5953
5962
  resetOptions(e, n) {
5954
5963
  let { props: r } = this;
@@ -5989,13 +5998,13 @@ class Wd {
5989
5998
  }, I = Object.assign(Object.assign({}, d), C);
5990
5999
  for (let R of l.pluginHooks.reducers)
5991
6000
  Object.assign(C, R(r, e, I));
5992
- let w = Qt(r, d), x = Qt(C, d);
6001
+ let w = Yt(r, d), x = Yt(C, d);
5993
6002
  !w && x ? i.trigger("loading", !0) : w && !x && i.trigger("loading", !1), this.state = C, n.onAction && n.onAction(e);
5994
6003
  }
5995
6004
  updateData() {
5996
6005
  let { props: e, state: n } = this, r = this.data, i = this.computeOptionsData(e.optionOverrides, n.dynamicOptionOverrides, e.calendarApi), s = this.computeCurrentViewData(n.currentViewType, i, e.optionOverrides, n.dynamicOptionOverrides), l = this.data = Object.assign(Object.assign(Object.assign({ viewTitle: this.buildTitle(n.dateProfile, s.options, i.dateEnv), calendarApi: e.calendarApi, dispatch: this.dispatch, emitter: this.emitter, getCurrentData: this.getCurrentData }, i), s), n), o = i.pluginHooks.optionChangeHandlers, a = r && r.calendarOptions, d = i.calendarOptions;
5997
6006
  if (a && a !== d) {
5998
- a.timeZone !== d.timeZone && (n.eventSources = l.eventSources = ud(l.eventSources, n.dateProfile, l), n.eventStore = l.eventStore = kr(l.eventStore, r.dateEnv, l.dateEnv), n.renderableEventStore = l.renderableEventStore = kr(l.renderableEventStore, r.dateEnv, l.dateEnv));
6007
+ a.timeZone !== d.timeZone && (n.eventSources = l.eventSources = ud(l.eventSources, n.dateProfile, l), n.eventStore = l.eventStore = Mr(l.eventStore, r.dateEnv, l.dateEnv), n.renderableEventStore = l.renderableEventStore = Mr(l.renderableEventStore, r.dateEnv, l.dateEnv));
5999
6008
  for (let c in o)
6000
6009
  (this.optionsForHandling.indexOf(c) !== -1 || a[c] !== d[c]) && o[c](d[c], l);
6001
6010
  }
@@ -6020,11 +6029,11 @@ class Wd {
6020
6029
  }
6021
6030
  // always called from behind a memoizer
6022
6031
  processRawCalendarOptions(e, n) {
6023
- let { locales: r, locale: i } = Lt([
6032
+ let { locales: r, locale: i } = Ut([
6024
6033
  Pe,
6025
6034
  e,
6026
6035
  n
6027
- ]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], Ud), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Dr), Cr), wr), a.listenerRefiners), a.optionRefiners), c = {}, h = Lt([
6036
+ ]), s = this.organizeRawLocales(r), l = s.map, o = this.buildLocale(i || s.defaultCode, l).options, a = this.buildPluginHooks(e.plugins || [], Ud), d = this.currentCalendarOptionsRefiners = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Cr), wr), Rr), a.listenerRefiners), a.optionRefiners), c = {}, h = Ut([
6028
6037
  Pe,
6029
6038
  o,
6030
6039
  e,
@@ -6070,14 +6079,14 @@ class Wd {
6070
6079
  return { viewSpec: s, options: l, dateProfileGenerator: a, viewApi: d };
6071
6080
  }
6072
6081
  processRawViewOptions(e, n, r, i, s) {
6073
- let l = Lt([
6082
+ let l = Ut([
6074
6083
  Pe,
6075
6084
  e.optionDefaults,
6076
6085
  r,
6077
6086
  i,
6078
6087
  e.optionOverrides,
6079
6088
  s
6080
- ]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Dr), Cr), wr), xo), n.listenerRefiners), n.optionRefiners), a = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, h = !1, f = {};
6089
+ ]), o = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Cr), wr), Rr), xo), n.listenerRefiners), n.optionRefiners), a = {}, d = this.currentViewOptionsInput, c = this.currentViewOptionsRefined, h = !1, f = {};
6081
6090
  for (let u in l)
6082
6091
  l[u] === d[u] || oe[u] && oe[u](l[u], d[u]) ? a[u] = c[u] : (l[u] === this.currentCalendarOptionsInput[u] || oe[u] && oe[u](l[u], this.currentCalendarOptionsInput[u]) ? u in this.currentCalendarOptionsRefined && (a[u] = this.currentCalendarOptionsRefined[u]) : o[u] ? a[u] = o[u](l[u]) : f[u] = l[u], h = !0);
6083
6092
  return h && (this.currentViewOptionsInput = l, this.currentViewOptionsRefined = a), {
@@ -6126,7 +6135,7 @@ function Zd(t, e, n) {
6126
6135
  function $d(t) {
6127
6136
  let { options: e } = t;
6128
6137
  return {
6129
- eventUiSingleBase: pt({
6138
+ eventUiSingleBase: mt({
6130
6139
  display: e.eventDisplay,
6131
6140
  editable: e.editable,
6132
6141
  startEditable: e.eventStartEditable,
@@ -6140,14 +6149,14 @@ function $d(t) {
6140
6149
  color: e.eventColor
6141
6150
  // classNames: options.eventClassNames // render hook will handle this
6142
6151
  }, t),
6143
- selectionConfig: pt({
6152
+ selectionConfig: mt({
6144
6153
  constraint: e.selectConstraint,
6145
6154
  overlap: typeof e.selectOverlap == "boolean" ? e.selectOverlap : void 0,
6146
6155
  allow: e.selectAllow
6147
6156
  }, t)
6148
6157
  };
6149
6158
  }
6150
- function Qt(t, e) {
6159
+ function Yt(t, e) {
6151
6160
  for (let n of e.pluginHooks.isLoadingFuncs)
6152
6161
  if (n(t))
6153
6162
  return !0;
@@ -6241,7 +6250,7 @@ class eu extends _e {
6241
6250
  let o = P(n.target, ".fc-event-forced-url"), a = o ? o.querySelector("a[href]").href : "";
6242
6251
  s.emitter.trigger("eventClick", {
6243
6252
  el: r,
6244
- event: new O(i.context, l.eventRange.def, l.eventRange.instance),
6253
+ event: new N(i.context, l.eventRange.def, l.eventRange.instance),
6245
6254
  jsEvent: n,
6246
6255
  view: s.viewApi
6247
6256
  }), a && !n.defaultPrevented && (window.location.href = a);
@@ -6263,7 +6272,7 @@ class tu extends _e {
6263
6272
  we(r) && (this.currentSegEl = r, this.triggerEvent("eventMouseEnter", n, r));
6264
6273
  }, this.handleSegLeave = (n, r) => {
6265
6274
  this.currentSegEl && (this.currentSegEl = null, this.triggerEvent("eventMouseLeave", n, r));
6266
- }, this.removeHoverListeners = Nl(
6275
+ }, this.removeHoverListeners = Ol(
6267
6276
  e.el,
6268
6277
  ".fc-event",
6269
6278
  // on both fg and bg events
@@ -6278,7 +6287,7 @@ class tu extends _e {
6278
6287
  let { component: i } = this, { context: s } = i, l = we(r);
6279
6288
  (!n || i.isValidSegDownEl(n.target)) && s.emitter.trigger(e, {
6280
6289
  el: r,
6281
- event: new O(s, l.eventRange.def, l.eventRange.instance),
6290
+ event: new N(s, l.eventRange.def, l.eventRange.instance),
6282
6291
  jsEvent: n,
6283
6292
  view: s.viewApi
6284
6293
  });
@@ -6287,13 +6296,13 @@ class tu extends _e {
6287
6296
  class nu extends ve {
6288
6297
  constructor() {
6289
6298
  super(...arguments), this.buildViewContext = A(Fo), this.buildViewPropTransformers = A(iu), this.buildToolbarProps = A(ru), this.headerRef = B(), this.footerRef = B(), this.interactionsStore = {}, this.state = {
6290
- viewLabelId: At()
6299
+ viewLabelId: Dt()
6291
6300
  }, this.registerInteractiveComponent = (e, n) => {
6292
6301
  let r = Wa(e, n), l = [
6293
6302
  eu,
6294
6303
  tu
6295
6304
  ].concat(this.props.pluginHooks.componentInteractions).map((o) => new o(r));
6296
- this.interactionsStore[e.uid] = l, sn[e.uid] = r;
6305
+ this.interactionsStore[e.uid] = l, ln[e.uid] = r;
6297
6306
  }, this.unregisterInteractiveComponent = (e) => {
6298
6307
  let n = this.interactionsStore[e.uid];
6299
6308
  if (n) {
@@ -6301,8 +6310,8 @@ class nu extends ve {
6301
6310
  r.destroy();
6302
6311
  delete this.interactionsStore[e.uid];
6303
6312
  }
6304
- delete sn[e.uid];
6305
- }, this.resizeRunner = new gn(() => {
6313
+ delete ln[e.uid];
6314
+ }, this.resizeRunner = new pn(() => {
6306
6315
  this.props.emitter.trigger("_resize", !0), this.props.emitter.trigger("windowResize", { view: this.props.viewApi });
6307
6316
  }), this.handleWindowResize = (e) => {
6308
6317
  let { options: n } = this.props;
@@ -6323,7 +6332,7 @@ class nu extends ve {
6323
6332
  e.viewTitle
6324
6333
  ), s = !1, l = "", o;
6325
6334
  e.isHeightAuto || e.forPrint ? l = "" : r.height != null ? s = !0 : r.contentHeight != null ? l = r.contentHeight : o = Math.max(r.aspectRatio, 0.5);
6326
- let a = this.buildViewContext(e.viewSpec, e.viewApi, e.options, e.dateProfileGenerator, e.dateEnv, e.theme, e.pluginHooks, e.dispatch, e.getCurrentData, e.emitter, e.calendarApi, this.registerInteractiveComponent, this.unregisterInteractiveComponent), d = n.header && n.header.hasTitle ? this.state.viewLabelId : "";
6335
+ let a = this.buildViewContext(e.viewSpec, e.viewApi, e.options, e.dateProfileGenerator, e.dateEnv, e.theme, e.pluginHooks, e.dispatch, e.getCurrentData, e.emitter, e.calendarApi, this.registerInteractiveComponent, this.unregisterInteractiveComponent), d = n.header && n.header.hasTitle ? this.state.viewLabelId : void 0;
6327
6336
  return g(
6328
6337
  $.Provider,
6329
6338
  { value: a },
@@ -6357,7 +6366,7 @@ class nu extends ve {
6357
6366
  }
6358
6367
  buildAppendContent() {
6359
6368
  let { props: e } = this, n = e.pluginHooks.viewContainerAppends.map((r) => r(e));
6360
- return g(M, {}, ...n);
6369
+ return g(k, {}, ...n);
6361
6370
  }
6362
6371
  renderView(e) {
6363
6372
  let { pluginHooks: n } = e, { viewSpec: r } = e, i = {
@@ -6406,7 +6415,7 @@ class su extends Va {
6406
6415
  if (this.isRendering) {
6407
6416
  this.isRendered = !0;
6408
6417
  let { currentData: r } = this;
6409
- Rr(() => {
6418
+ ht(() => {
6410
6419
  Be(g(Fa, { options: r.calendarOptions, theme: r.theme, emitter: r.emitter }, (i, s, l, o) => (this.setClassNames(i), this.setHeight(s), g(
6411
6420
  Ti.Provider,
6412
6421
  { value: this.customContentRenderId },
@@ -6414,7 +6423,7 @@ class su extends Va {
6414
6423
  ))), this.el);
6415
6424
  });
6416
6425
  } else this.isRendered && (this.isRendered = !1, Be(null, this.el), this.setClassNames([]), this.setHeight(""));
6417
- }, wl(e), this.el = e, this.renderRunner = new gn(this.handleRenderRequest), new Wd({
6426
+ }, wl(e), this.el = e, this.renderRunner = new pn(this.handleRenderRequest), new Wd({
6418
6427
  optionOverrides: n,
6419
6428
  calendarApi: this,
6420
6429
  onAction: this.handleAction,
@@ -6429,7 +6438,7 @@ class su extends Va {
6429
6438
  this.isRendering && (this.isRendering = !1, this.renderRunner.request());
6430
6439
  }
6431
6440
  updateSize() {
6432
- Rr(() => {
6441
+ ht(() => {
6433
6442
  super.updateSize();
6434
6443
  });
6435
6444
  }
@@ -6465,7 +6474,7 @@ const lu = {
6465
6474
  events: !0,
6466
6475
  eventSources: !0,
6467
6476
  resources: !0
6468
- }, ou = Et({
6477
+ }, ou = St({
6469
6478
  props: {
6470
6479
  options: Object
6471
6480
  },
@@ -6517,7 +6526,7 @@ const lu = {
6517
6526
  this.getApi().destroy();
6518
6527
  },
6519
6528
  watch: cu()
6520
- }), au = Et({
6529
+ }), au = St({
6521
6530
  props: {
6522
6531
  customRendering: Object
6523
6532
  },
@@ -6599,7 +6608,7 @@ class gu extends G {
6599
6608
  super(...arguments), this.headerElRef = B();
6600
6609
  }
6601
6610
  renderSimpleLayout(e, n) {
6602
- let { props: r, context: i } = this, s = [], l = bt(i.options);
6611
+ let { props: r, context: i } = this, s = [], l = yt(i.options);
6603
6612
  return e && s.push({
6604
6613
  type: "header",
6605
6614
  key: "header",
@@ -6615,16 +6624,16 @@ class gu extends G {
6615
6624
  liquid: !0,
6616
6625
  chunk: { content: n }
6617
6626
  }), g(
6618
- ht,
6627
+ gt,
6619
6628
  { elClasses: ["fc-daygrid"], viewSpec: i.viewSpec },
6620
- g(Ln, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: s })
6629
+ g(Un, { liquid: !r.isHeightAuto && !r.forPrint, collapsibleWidth: r.forPrint, cols: [], sections: s })
6621
6630
  );
6622
6631
  }
6623
6632
  renderHScrollLayout(e, n, r, i) {
6624
6633
  let s = this.context.pluginHooks.scrollGridImpl;
6625
6634
  if (!s)
6626
6635
  throw new Error("No ScrollGrid implementation");
6627
- let { props: l, context: o } = this, a = !l.forPrint && bt(o.options), d = !l.forPrint && fs(o.options), c = [];
6636
+ let { props: l, context: o } = this, a = !l.forPrint && yt(o.options), d = !l.forPrint && fs(o.options), c = [];
6628
6637
  return e && c.push({
6629
6638
  type: "header",
6630
6639
  key: "header",
@@ -6649,10 +6658,10 @@ class gu extends G {
6649
6658
  isSticky: !0,
6650
6659
  chunks: [{
6651
6660
  key: "main",
6652
- content: an
6661
+ content: cn
6653
6662
  }]
6654
6663
  }), g(
6655
- ht,
6664
+ gt,
6656
6665
  { elClasses: ["fc-daygrid"], viewSpec: o.viewSpec },
6657
6666
  g(s, { liquid: !l.isHeightAuto && !l.forPrint, forPrint: l.forPrint, collapsibleWidth: l.forPrint, colGroups: [{ cols: [{ span: r, minWidth: i }] }], sections: c })
6658
6667
  );
@@ -6690,7 +6699,7 @@ function Vr(t, e) {
6690
6699
  n[r] = null;
6691
6700
  return n;
6692
6701
  }
6693
- const Ts = N({
6702
+ const Ts = O({
6694
6703
  hour: "numeric",
6695
6704
  minute: "2-digit",
6696
6705
  omitZeroMinute: !0,
@@ -6702,25 +6711,25 @@ function xs(t) {
6702
6711
  t.isStart && // "
6703
6712
  t.isEnd;
6704
6713
  }
6705
- class ks extends T {
6714
+ class Ms extends T {
6706
6715
  render() {
6707
6716
  let { props: e } = this;
6708
6717
  return g(hs, Object.assign({}, e, { elClasses: ["fc-daygrid-event", "fc-daygrid-block-event", "fc-h-event"], defaultTimeFormat: Ts, defaultDisplayEventEnd: e.defaultDisplayEventEnd, disableResizing: !e.seg.eventRange.def.allDay }));
6709
6718
  }
6710
6719
  }
6711
- class Ms extends T {
6720
+ class ks extends T {
6712
6721
  render() {
6713
6722
  let { props: e, context: n } = this, { options: r } = n, { seg: i } = e, s = r.eventTimeFormat || Ts, l = Gi(i, s, n, !0, e.defaultDisplayEventEnd);
6714
- return g(Un, Object.assign({}, e, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: Qi(e.seg, n), defaultGenerator: pu, timeText: l, isResizing: !1, isDateSelecting: !1 }));
6723
+ return g(jn, Object.assign({}, e, { elTag: "a", elClasses: ["fc-daygrid-event", "fc-daygrid-dot-event"], elAttrs: Qi(e.seg, n), defaultGenerator: pu, timeText: l, isResizing: !1, isDateSelecting: !1 }));
6715
6724
  }
6716
6725
  }
6717
6726
  function pu(t) {
6718
6727
  return g(
6719
- M,
6728
+ k,
6720
6729
  null,
6721
6730
  g("div", { className: "fc-daygrid-event-dot", style: { borderColor: t.borderColor || t.backgroundColor } }),
6722
6731
  t.timeText && g("div", { className: "fc-event-time" }, t.timeText),
6723
- g("div", { className: "fc-event-title" }, t.event.title || g(M, null, " "))
6732
+ g("div", { className: "fc-event-title" }, t.event.title || g(k, null, " "))
6724
6733
  );
6725
6734
  }
6726
6735
  class mu extends T {
@@ -6731,11 +6740,11 @@ class mu extends T {
6731
6740
  let { props: e } = this, { allSegs: n, invisibleSegs: r } = this.compileSegs(e.singlePlacements);
6732
6741
  return g(vs, { elClasses: ["fc-daygrid-more-link"], dateProfile: e.dateProfile, todayRange: e.todayRange, allDayDate: e.allDayDate, moreCnt: e.moreCnt, allSegs: n, hiddenSegs: r, alignmentElRef: e.alignmentElRef, alignGridTop: e.alignGridTop, extraDateSpan: e.extraDateSpan, popoverContent: () => {
6733
6742
  let i = (e.eventDrag ? e.eventDrag.affectedInstances : null) || (e.eventResize ? e.eventResize.affectedInstances : null) || {};
6734
- return g(M, null, n.map((s) => {
6743
+ return g(k, null, n.map((s) => {
6735
6744
  let l = s.eventRange.instance.instanceId;
6736
6745
  return g("div", { className: "fc-daygrid-event-harness", key: l, style: {
6737
6746
  visibility: i[l] ? "hidden" : ""
6738
- } }, xs(s) ? g(Ms, Object.assign({ seg: s, isDragging: !1, isSelected: l === e.eventSelection, defaultDisplayEventEnd: !1 }, ne(s, e.todayRange))) : g(ks, Object.assign({ seg: s, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: l === e.eventSelection, defaultDisplayEventEnd: !1 }, ne(s, e.todayRange))));
6747
+ } }, xs(s) ? g(ks, Object.assign({ seg: s, isDragging: !1, isSelected: l === e.eventSelection, defaultDisplayEventEnd: !1 }, ne(s, e.todayRange))) : g(Ms, Object.assign({ seg: s, isDragging: !1, isResizing: !1, isDateSelecting: !1, isSelected: l === e.eventSelection, defaultDisplayEventEnd: !1 }, ne(s, e.todayRange))));
6739
6748
  }));
6740
6749
  } });
6741
6750
  }
@@ -6746,11 +6755,11 @@ function vu(t) {
6746
6755
  e.push(r.seg), r.isVisible || n.push(r.seg);
6747
6756
  return { allSegs: e, invisibleSegs: n };
6748
6757
  }
6749
- const bu = N({ week: "narrow" });
6758
+ const bu = O({ week: "narrow" });
6750
6759
  class yu extends G {
6751
6760
  constructor() {
6752
6761
  super(...arguments), this.rootElRef = B(), this.state = {
6753
- dayNumberId: At()
6762
+ dayNumberId: Dt()
6754
6763
  }, this.handleRootEl = (e) => {
6755
6764
  Z(this.rootElRef, e), Z(this.props.elRef, e);
6756
6765
  };
@@ -6758,20 +6767,20 @@ class yu extends G {
6758
6767
  render() {
6759
6768
  let { context: e, props: n, state: r, rootElRef: i } = this, { options: s, dateEnv: l } = e, { date: o, dateProfile: a } = n;
6760
6769
  const d = n.showDayNumber && Su(o, a.currentRange, l);
6761
- return g(zn, { elTag: "td", elRef: this.handleRootEl, elClasses: [
6770
+ return g(Fn, { elTag: "td", elRef: this.handleRootEl, elClasses: [
6762
6771
  "fc-daygrid-day",
6763
6772
  ...n.extraClassNames || []
6764
6773
  ], elAttrs: Object.assign(Object.assign(Object.assign({}, n.extraDataAttrs), n.showDayNumber ? { "aria-labelledby": r.dayNumberId } : {}), { role: "gridcell" }), defaultGenerator: Eu, date: o, dateProfile: a, todayRange: n.todayRange, showDayNumber: n.showDayNumber, isMonthStart: d, extraRenderProps: n.extraRenderProps }, (c, h) => g(
6765
6774
  "div",
6766
6775
  { ref: n.innerElRef, className: "fc-daygrid-day-frame fc-scrollgrid-sync-inner", style: { minHeight: n.minHeight } },
6767
- n.showWeekNumber && g(ms, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: vt(e, o, "week"), date: o, defaultFormat: bu }),
6768
- !h.isDisabled && (n.showDayNumber || Fn(s) || n.forceDayTop) ? g(
6776
+ n.showWeekNumber && g(ms, { elTag: "a", elClasses: ["fc-daygrid-week-number"], elAttrs: bt(e, o, "week"), date: o, defaultFormat: bu }),
6777
+ !h.isDisabled && (n.showDayNumber || Wn(s) || n.forceDayTop) ? g(
6769
6778
  "div",
6770
6779
  { className: "fc-daygrid-day-top" },
6771
6780
  g(c, { elTag: "a", elClasses: [
6772
6781
  "fc-daygrid-day-number",
6773
6782
  d && "fc-daygrid-month-start"
6774
- ], elAttrs: Object.assign(Object.assign({}, vt(e, o)), { id: r.dayNumberId }) })
6783
+ ], elAttrs: Object.assign(Object.assign({}, bt(e, o)), { id: r.dayNumberId }) })
6775
6784
  ) : n.showDayNumber ? (
6776
6785
  // for creating correct amount of space (see issue #7162)
6777
6786
  g(
@@ -6795,7 +6804,7 @@ class yu extends G {
6795
6804
  }
6796
6805
  }
6797
6806
  function Eu(t) {
6798
- return t.dayNumberText || g(M, null, " ");
6807
+ return t.dayNumberText || g(k, null, " ");
6799
6808
  }
6800
6809
  function Su(t, e, n) {
6801
6810
  const { start: r, end: i } = e, s = ie(i, -1), l = n.getYear(r), o = n.getMonth(r), a = n.getYear(s), d = n.getMonth(s);
@@ -6806,18 +6815,18 @@ function Su(t, e, n) {
6806
6815
  function Is(t) {
6807
6816
  return t.eventRange.instance.instanceId + ":" + t.firstCol;
6808
6817
  }
6809
- function Os(t) {
6818
+ function Ns(t) {
6810
6819
  return Is(t) + ":" + t.lastCol;
6811
6820
  }
6812
6821
  function Au(t, e, n, r, i, s, l) {
6813
6822
  let o = new wu((E) => {
6814
6823
  let y = t[E.index].eventRange.instance.instanceId + ":" + E.span.start + ":" + (E.span.end - 1);
6815
- return i[y];
6824
+ return i[y] || 1;
6816
6825
  });
6817
6826
  o.allowReslicing = !0, o.strictOrder = r, e === !0 || n === !0 ? (o.maxCoord = s, o.hiddenConsumes = !0) : typeof e == "number" ? o.maxStackCnt = e : typeof n == "number" && (o.maxStackCnt = n, o.hiddenConsumes = !0);
6818
6827
  let a = [], d = [];
6819
6828
  for (let E = 0; E < t.length; E += 1) {
6820
- let y = t[E], D = Os(y);
6829
+ let y = t[E], D = Ns(y);
6821
6830
  i[D] != null ? a.push({
6822
6831
  index: E,
6823
6832
  span: {
@@ -6944,15 +6953,15 @@ class wu extends ts {
6944
6953
  const d = ue(l);
6945
6954
  if (!s[d])
6946
6955
  if (this.allowReslicing) {
6947
- const c = Object.assign(Object.assign({}, l), { span: Hn(l.span, n.span) }), h = ue(c);
6948
- s[h] = !0, i[o][a] = c, this.splitEntry(l, n, r);
6956
+ const c = Object.assign(Object.assign({}, l), { span: Bn(l.span, n.span) }), h = ue(c);
6957
+ s[h] = !0, i[o][a] = c, r.push(c), this.splitEntry(l, n, r);
6949
6958
  } else
6950
6959
  s[d] = !0, r.push(l);
6951
6960
  }
6952
- return super.handleInvalidInsertion(e, n, r);
6961
+ super.handleInvalidInsertion(e, n, r);
6953
6962
  }
6954
6963
  }
6955
- class Ns extends G {
6964
+ class Os extends G {
6956
6965
  constructor() {
6957
6966
  super(...arguments), this.cellElRefs = new q(), this.frameElRefs = new q(), this.fgElRefs = new q(), this.segHarnessRefs = new q(), this.rootElRef = B(), this.state = {
6958
6967
  framePositions: null,
@@ -6976,15 +6985,15 @@ class Ns extends G {
6976
6985
  return g(yu, { key: v.key, elRef: this.cellElRefs.createRef(v.key), innerElRef: this.frameElRefs.createRef(v.key), dateProfile: e.dateProfile, date: v.date, showDayNumber: e.showDayNumbers, showWeekNumber: e.showWeekNumbers && b === 0, forceDayTop: e.showWeekNumbers, todayRange: e.todayRange, eventSelection: e.eventSelection, eventDrag: e.eventDrag, eventResize: e.eventResize, extraRenderProps: v.extraRenderProps, extraDataAttrs: v.extraDataAttrs, extraClassNames: v.extraClassNames, extraDateSpan: v.extraDateSpan, moreCnt: f[b], moreMarginTop: u[b], singlePlacements: c[b], fgContentElRef: this.fgElRefs.createRef(v.key), fgContent: (
6977
6986
  // Fragment scopes the keys
6978
6987
  g(
6979
- M,
6988
+ k,
6980
6989
  null,
6981
- g(M, null, E),
6982
- g(M, null, y)
6990
+ g(k, null, E),
6991
+ g(k, null, y)
6983
6992
  )
6984
6993
  ), bgContent: (
6985
6994
  // Fragment scopes the keys
6986
6995
  g(
6987
- M,
6996
+ k,
6988
6997
  null,
6989
6998
  this.renderFillSegs(a[b], "highlight"),
6990
6999
  this.renderFillSegs(l[b], "non-business"),
@@ -7017,13 +7026,13 @@ class Ns extends G {
7017
7026
  if (c)
7018
7027
  for (let m of n) {
7019
7028
  let { seg: v } = m, { instanceId: b } = v.eventRange.instance, E = m.isVisible && !i[b], y = m.isAbsolute, D = "", C = "";
7020
- y && (a.isRtl ? (C = 0, D = c.lefts[v.lastCol] - c.lefts[v.firstCol]) : (D = 0, C = c.rights[v.firstCol] - c.rights[v.lastCol])), u.push(g("div", { className: "fc-daygrid-event-harness" + (y ? " fc-daygrid-event-harness-abs" : ""), key: Is(v), ref: f ? null : this.segHarnessRefs.createRef(Os(v)), style: {
7029
+ y && (a.isRtl ? (C = 0, D = c.lefts[v.lastCol] - c.lefts[v.firstCol]) : (D = 0, C = c.rights[v.firstCol] - c.rights[v.lastCol])), u.push(g("div", { className: "fc-daygrid-event-harness" + (y ? " fc-daygrid-event-harness-abs" : ""), key: Is(v), ref: f ? null : this.segHarnessRefs.createRef(Ns(v)), style: {
7021
7030
  visibility: E ? "" : "hidden",
7022
7031
  marginTop: y ? "" : m.marginTop,
7023
7032
  top: y ? m.absoluteTop : "",
7024
7033
  left: D,
7025
7034
  right: C
7026
- } }, xs(v) ? g(Ms, Object.assign({ seg: v, isDragging: s, isSelected: b === d, defaultDisplayEventEnd: h }, ne(v, r))) : g(ks, Object.assign({ seg: v, isDragging: s, isResizing: l, isDateSelecting: o, isSelected: b === d, defaultDisplayEventEnd: h }, ne(v, r)))));
7035
+ } }, xs(v) ? g(ks, Object.assign({ seg: v, isDragging: s, isSelected: b === d, defaultDisplayEventEnd: h }, ne(v, r))) : g(Ms, Object.assign({ seg: v, isDragging: s, isResizing: l, isDateSelecting: o, isSelected: b === d, defaultDisplayEventEnd: h }, ne(v, r)))));
7027
7036
  }
7028
7037
  return u;
7029
7038
  }
@@ -7040,7 +7049,7 @@ class Ns extends G {
7040
7049
  };
7041
7050
  l.push(g("div", { key: qi(o.eventRange), className: "fc-daygrid-bg-harness", style: a }, n === "bg-event" ? g(gs, Object.assign({ seg: o }, ne(o, i))) : ps(n)));
7042
7051
  }
7043
- return g(M, {}, ...l);
7052
+ return g(k, {}, ...l);
7044
7053
  }
7045
7054
  updateSizing(e) {
7046
7055
  let { props: n, state: r, frameElRefs: i } = this;
@@ -7093,7 +7102,7 @@ class Ns extends G {
7093
7102
  return this.props.cells.map((n) => e[n.key]);
7094
7103
  }
7095
7104
  }
7096
- Ns.addStateEquality({
7105
+ Os.addStateEquality({
7097
7106
  segHeights: V
7098
7107
  });
7099
7108
  function Ru(t, e) {
@@ -7121,7 +7130,7 @@ class Tu extends G {
7121
7130
  }
7122
7131
  render() {
7123
7132
  let { props: e, context: n } = this, r = e.cells.length, i = this.splitBusinessHourSegs(e.businessHourSegs, r), s = this.splitBgEventSegs(e.bgEventSegs, r), l = this.splitFgEventSegs(e.fgEventSegs, r), o = this.splitDateSelectionSegs(e.dateSelectionSegs, r), a = this.splitEventDrag(e.eventDrag, r), d = this.splitEventResize(e.eventResize, r), c = r >= 7 && e.clientWidth ? e.clientWidth / n.options.aspectRatio / 6 : null;
7124
- return g(ze, { unit: "day" }, (h, f) => g(M, null, e.cells.map((u, m) => g(Ns, {
7133
+ return g(ze, { unit: "day" }, (h, f) => g(k, null, e.cells.map((u, m) => g(Os, {
7125
7134
  ref: this.rowRefs.createRef(m),
7126
7135
  key: u.length ? u[0].date.toISOString() : m,
7127
7136
  showDayNumbers: r > 1,
@@ -7211,7 +7220,7 @@ class Tu extends G {
7211
7220
  function xu(t) {
7212
7221
  return t.eventRange.def.allDay;
7213
7222
  }
7214
- class ku extends G {
7223
+ class Mu extends G {
7215
7224
  constructor() {
7216
7225
  super(...arguments), this.elRef = B(), this.needsScrollReset = !1;
7217
7226
  }
@@ -7259,7 +7268,7 @@ class ku extends G {
7259
7268
  }
7260
7269
  flushScrollReset() {
7261
7270
  if (this.needsScrollReset && this.props.clientWidth) {
7262
- const e = Mu(this.elRef.current, this.props.dateProfile);
7271
+ const e = ku(this.elRef.current, this.props.dateProfile);
7263
7272
  if (e) {
7264
7273
  const n = e.closest(".fc-daygrid-body"), r = n.closest(".fc-scroller"), i = e.getBoundingClientRect().top - n.getBoundingClientRect().top;
7265
7274
  r.scrollTop = i ? i + 1 : 0;
@@ -7268,9 +7277,9 @@ class ku extends G {
7268
7277
  }
7269
7278
  }
7270
7279
  }
7271
- function Mu(t, e) {
7280
+ function ku(t, e) {
7272
7281
  let n;
7273
- return e.currentRangeUnit.match(/year|month/) && (n = t.querySelector(`[data-date="${fo(e.currentDate)}-01"]`)), n || (n = t.querySelector(`[data-date="${yn(e.currentDate)}"]`)), n;
7282
+ return e.currentRangeUnit.match(/year|month/) && (n = t.querySelector(`[data-date="${fo(e.currentDate)}-01"]`)), n || (n = t.querySelector(`[data-date="${En(e.currentDate)}"]`)), n;
7274
7283
  }
7275
7284
  class Iu extends os {
7276
7285
  constructor() {
@@ -7286,19 +7295,19 @@ class Ps extends G {
7286
7295
  }
7287
7296
  render() {
7288
7297
  let { props: e, context: n } = this;
7289
- return g(ku, Object.assign({ ref: this.tableRef }, this.slicer.sliceProps(e, e.dateProfile, e.nextDayThreshold, n, e.dayTableModel), { dateProfile: e.dateProfile, cells: e.dayTableModel.cells, colGroupNode: e.colGroupNode, tableMinWidth: e.tableMinWidth, renderRowIntro: e.renderRowIntro, dayMaxEvents: e.dayMaxEvents, dayMaxEventRows: e.dayMaxEventRows, showWeekNumbers: e.showWeekNumbers, expandRows: e.expandRows, headerAlignElRef: e.headerAlignElRef, clientWidth: e.clientWidth, clientHeight: e.clientHeight, forPrint: e.forPrint }));
7298
+ return g(Mu, Object.assign({ ref: this.tableRef }, this.slicer.sliceProps(e, e.dateProfile, e.nextDayThreshold, n, e.dayTableModel), { dateProfile: e.dateProfile, cells: e.dayTableModel.cells, colGroupNode: e.colGroupNode, tableMinWidth: e.tableMinWidth, renderRowIntro: e.renderRowIntro, dayMaxEvents: e.dayMaxEvents, dayMaxEventRows: e.dayMaxEventRows, showWeekNumbers: e.showWeekNumbers, expandRows: e.expandRows, headerAlignElRef: e.headerAlignElRef, clientWidth: e.clientWidth, clientHeight: e.clientHeight, forPrint: e.forPrint }));
7290
7299
  }
7291
7300
  }
7292
- class Ou extends gu {
7301
+ class Nu extends gu {
7293
7302
  constructor() {
7294
- super(...arguments), this.buildDayTableModel = A(Nu), this.headerRef = B(), this.tableRef = B();
7303
+ super(...arguments), this.buildDayTableModel = A(Ou), this.headerRef = B(), this.tableRef = B();
7295
7304
  }
7296
7305
  render() {
7297
7306
  let { options: e, dateProfileGenerator: n } = this.context, { props: r } = this, i = this.buildDayTableModel(r.dateProfile, n), s = e.dayHeaders && g(is, { ref: this.headerRef, dateProfile: r.dateProfile, dates: i.headerDates, datesRepDistinctDays: i.rowCnt === 1 }), l = (o) => g(Ps, { ref: this.tableRef, dateProfile: r.dateProfile, dayTableModel: i, businessHours: r.businessHours, dateSelection: r.dateSelection, eventStore: r.eventStore, eventUiBases: r.eventUiBases, eventSelection: r.eventSelection, eventDrag: r.eventDrag, eventResize: r.eventResize, nextDayThreshold: e.nextDayThreshold, colGroupNode: o.tableColGroupNode, tableMinWidth: o.tableMinWidth, dayMaxEvents: e.dayMaxEvents, dayMaxEventRows: e.dayMaxEventRows, showWeekNumbers: e.weekNumbers, expandRows: !r.isHeightAuto, headerAlignElRef: this.headerElRef, clientWidth: o.clientWidth, clientHeight: o.clientHeight, forPrint: r.forPrint });
7298
7307
  return e.dayMinWidth ? this.renderHScrollLayout(s, l, i.colCnt, e.dayMinWidth) : this.renderSimpleLayout(s, l);
7299
7308
  }
7300
7309
  }
7301
- function Nu(t, e) {
7310
+ function Ou(t, e) {
7302
7311
  let n = new ss(t.renderRange, e);
7303
7312
  return new ls(n, /year|month|week/.test(t.currentRangeUnit));
7304
7313
  }
@@ -7316,23 +7325,23 @@ class Pu extends Ii {
7316
7325
  }
7317
7326
  function Hu(t) {
7318
7327
  let { dateEnv: e, currentRange: n } = t, { start: r, end: i } = n, s;
7319
- if (t.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i = vr(s, 1))), t.fixedWeekCount) {
7328
+ if (t.snapToWeek && (r = e.startOfWeek(r), s = e.startOfWeek(i), s.valueOf() !== i.valueOf() && (i = br(s, 1))), t.fixedWeekCount) {
7320
7329
  let l = e.startOfWeek(e.startOfMonth(H(n.end, -1))), o = Math.ceil(
7321
7330
  // could be partial weeks due to hiddenDays
7322
7331
  eo(l, i)
7323
7332
  );
7324
- i = vr(i, 6 - o);
7333
+ i = br(i, 6 - o);
7325
7334
  }
7326
7335
  return { start: r, end: i };
7327
7336
  }
7328
7337
  var Bu = ':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}';
7329
- hn(Bu);
7338
+ gn(Bu);
7330
7339
  var Lu = X({
7331
7340
  name: "@fullcalendar/daygrid",
7332
7341
  initialView: "dayGridMonth",
7333
7342
  views: {
7334
7343
  dayGrid: {
7335
- component: Ou,
7344
+ component: Nu,
7336
7345
  dateProfileGeneratorClass: Pu
7337
7346
  },
7338
7347
  dayGridDay: {
@@ -7353,9 +7362,8 @@ var Lu = X({
7353
7362
  duration: { years: 1 }
7354
7363
  }
7355
7364
  }
7356
- }), Uu = '.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}';
7357
- hn(Uu);
7358
- class ju extends Za {
7365
+ });
7366
+ class Uu extends Za {
7359
7367
  getKeyInfo() {
7360
7368
  return {
7361
7369
  allDay: {},
@@ -7369,7 +7377,7 @@ class ju extends Za {
7369
7377
  return e.allDay ? Ra(e) ? ["timed", "allDay"] : ["allDay"] : ["timed"];
7370
7378
  }
7371
7379
  }
7372
- const zu = N({
7380
+ const ju = O({
7373
7381
  hour: "numeric",
7374
7382
  minute: "2-digit",
7375
7383
  omitZeroMinute: !0,
@@ -7386,7 +7394,7 @@ function Hs(t) {
7386
7394
  return g("td", { className: e.join(" "), "data-time": t.isoTimeStr });
7387
7395
  let { dateEnv: r, options: i, viewApi: s } = n, l = (
7388
7396
  // TODO: fully pre-parse
7389
- i.slotLabelFormat == null ? zu : Array.isArray(i.slotLabelFormat) ? N(i.slotLabelFormat[0]) : N(i.slotLabelFormat)
7397
+ i.slotLabelFormat == null ? ju : Array.isArray(i.slotLabelFormat) ? O(i.slotLabelFormat[0]) : O(i.slotLabelFormat)
7390
7398
  ), o = {
7391
7399
  level: 0,
7392
7400
  time: t.time,
@@ -7396,7 +7404,7 @@ function Hs(t) {
7396
7404
  };
7397
7405
  return g(z, { elTag: "td", elClasses: e, elAttrs: {
7398
7406
  "data-time": t.isoTimeStr
7399
- }, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator: Fu, classNameGenerator: i.slotLabelClassNames, didMount: i.slotLabelDidMount, willUnmount: i.slotLabelWillUnmount }, (a) => g(
7407
+ }, renderProps: o, generatorName: "slotLabelContent", customGenerator: i.slotLabelContent, defaultGenerator: zu, classNameGenerator: i.slotLabelClassNames, didMount: i.slotLabelDidMount, willUnmount: i.slotLabelWillUnmount }, (a) => g(
7400
7408
  "div",
7401
7409
  { className: "fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame" },
7402
7410
  g(a, { elTag: "div", elClasses: [
@@ -7406,10 +7414,10 @@ function Hs(t) {
7406
7414
  ));
7407
7415
  });
7408
7416
  }
7409
- function Fu(t) {
7417
+ function zu(t) {
7410
7418
  return t.text;
7411
7419
  }
7412
- class Wu extends T {
7420
+ class Fu extends T {
7413
7421
  render() {
7414
7422
  return this.props.slatMetas.map((e) => g(
7415
7423
  "tr",
@@ -7418,22 +7426,22 @@ class Wu extends T {
7418
7426
  ));
7419
7427
  }
7420
7428
  }
7421
- const Vu = N({ week: "short" }), Gu = 5;
7422
- class qu extends G {
7429
+ const Wu = O({ week: "short" }), Vu = 5;
7430
+ class Gu extends G {
7423
7431
  constructor() {
7424
- super(...arguments), this.allDaySplitter = new ju(), this.headerElRef = B(), this.rootElRef = B(), this.scrollerElRef = B(), this.state = {
7432
+ super(...arguments), this.allDaySplitter = new Uu(), this.headerElRef = B(), this.rootElRef = B(), this.scrollerElRef = B(), this.state = {
7425
7433
  slatCoords: null
7426
7434
  }, this.handleScrollTopRequest = (e) => {
7427
7435
  let n = this.scrollerElRef.current;
7428
7436
  n && (n.scrollTop = e);
7429
7437
  }, this.renderHeadAxis = (e, n = "") => {
7430
- let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = me(s.start, s.end) === 1 ? vt(this.context, s.start, "week") : {};
7438
+ let { options: r } = this.context, { dateProfile: i } = this.props, s = i.renderRange, o = me(s.start, s.end) === 1 ? bt(this.context, s.start, "week") : {};
7431
7439
  return r.weekNumbers && e === "day" ? g(ms, { elTag: "th", elClasses: [
7432
7440
  "fc-timegrid-axis",
7433
7441
  "fc-scrollgrid-shrink"
7434
7442
  ], elAttrs: {
7435
7443
  "aria-hidden": !0
7436
- }, date: s.start, defaultFormat: Vu }, (a) => g(
7444
+ }, date: s.start, defaultFormat: Wu }, (a) => g(
7437
7445
  "div",
7438
7446
  { className: [
7439
7447
  "fc-timegrid-axis-frame",
@@ -7462,7 +7470,7 @@ class qu extends G {
7462
7470
  "fc-scrollgrid-shrink"
7463
7471
  ], elAttrs: {
7464
7472
  "aria-hidden": !0
7465
- }, renderProps: i, generatorName: "allDayContent", customGenerator: n.allDayContent, defaultGenerator: Qu, classNameGenerator: n.allDayClassNames, didMount: n.allDayDidMount, willUnmount: n.allDayWillUnmount }, (s) => g(
7473
+ }, renderProps: i, generatorName: "allDayContent", customGenerator: n.allDayContent, defaultGenerator: qu, classNameGenerator: n.allDayClassNames, didMount: n.allDayDidMount, willUnmount: n.allDayWillUnmount }, (s) => g(
7466
7474
  "div",
7467
7475
  { className: [
7468
7476
  "fc-timegrid-axis-frame",
@@ -7483,7 +7491,7 @@ class qu extends G {
7483
7491
  // rendering
7484
7492
  // ----------------------------------------------------------------------------------------------------
7485
7493
  renderSimpleLayout(e, n, r) {
7486
- let { context: i, props: s } = this, l = [], o = bt(i.options);
7494
+ let { context: i, props: s } = this, l = [], o = yt(i.options);
7487
7495
  return e && l.push({
7488
7496
  type: "header",
7489
7497
  key: "header",
@@ -7518,16 +7526,16 @@ class qu extends G {
7518
7526
  content: r
7519
7527
  }
7520
7528
  }), g(
7521
- ht,
7529
+ gt,
7522
7530
  { elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: i.viewSpec },
7523
- g(Ln, { liquid: !s.isHeightAuto && !s.forPrint, collapsibleWidth: s.forPrint, cols: [{ width: "shrink" }], sections: l })
7531
+ g(Un, { liquid: !s.isHeightAuto && !s.forPrint, collapsibleWidth: s.forPrint, cols: [{ width: "shrink" }], sections: l })
7524
7532
  );
7525
7533
  }
7526
7534
  renderHScrollLayout(e, n, r, i, s, l, o) {
7527
7535
  let a = this.context.pluginHooks.scrollGridImpl;
7528
7536
  if (!a)
7529
7537
  throw new Error("No ScrollGrid implementation");
7530
- let { context: d, props: c } = this, h = !c.forPrint && bt(d.options), f = !c.forPrint && fs(d.options), u = [];
7538
+ let { context: d, props: c } = this, h = !c.forPrint && yt(d.options), f = !c.forPrint && fs(d.options), u = [];
7531
7539
  e && u.push({
7532
7540
  type: "header",
7533
7541
  key: "header",
@@ -7592,7 +7600,7 @@ class qu extends G {
7592
7600
  g(
7593
7601
  "tbody",
7594
7602
  null,
7595
- g(Wu, { slatMetas: l })
7603
+ g(Fu, { slatMetas: l })
7596
7604
  )
7597
7605
  ),
7598
7606
  g(
@@ -7603,7 +7611,7 @@ class qu extends G {
7603
7611
  /* hacky */
7604
7612
  }, (b) => {
7605
7613
  let E = m && o && o.safeComputeTop(b);
7606
- return typeof E == "number" ? g(jn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: E }, isAxis: !0, date: b }) : null;
7614
+ return typeof E == "number" ? g(zn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: E }, isAxis: !0, date: b }) : null;
7607
7615
  })
7608
7616
  )
7609
7617
  )
@@ -7622,15 +7630,15 @@ class qu extends G {
7622
7630
  chunks: [
7623
7631
  {
7624
7632
  key: "axis",
7625
- content: an
7633
+ content: cn
7626
7634
  },
7627
7635
  {
7628
7636
  key: "cols",
7629
- content: an
7637
+ content: cn
7630
7638
  }
7631
7639
  ]
7632
7640
  }), g(
7633
- ht,
7641
+ gt,
7634
7642
  { elRef: this.rootElRef, elClasses: ["fc-timegrid"], viewSpec: d.viewSpec },
7635
7643
  g(a, { liquid: !c.isHeightAuto && !c.forPrint, forPrint: c.forPrint, collapsibleWidth: !1, colGroups: [
7636
7644
  { width: "shrink", cols: [{ width: "shrink" }] },
@@ -7642,20 +7650,20 @@ class qu extends G {
7642
7650
  ------------------------------------------------------------------------------------------------------------------*/
7643
7651
  getAllDayMaxEventProps() {
7644
7652
  let { dayMaxEvents: e, dayMaxEventRows: n } = this.context.options;
7645
- return (e === !0 || n === !0) && (e = void 0, n = Gu), { dayMaxEvents: e, dayMaxEventRows: n };
7653
+ return (e === !0 || n === !0) && (e = void 0, n = Vu), { dayMaxEvents: e, dayMaxEventRows: n };
7646
7654
  }
7647
7655
  }
7648
- function Qu(t) {
7656
+ function qu(t) {
7649
7657
  return t.text;
7650
7658
  }
7651
- class Yu {
7659
+ class Qu {
7652
7660
  constructor(e, n, r) {
7653
7661
  this.positions = e, this.dateProfile = n, this.slotDuration = r;
7654
7662
  }
7655
7663
  safeComputeTop(e) {
7656
7664
  let { dateProfile: n } = this;
7657
7665
  if (Q(n.currentRange, e)) {
7658
- let r = k(e), i = e.valueOf() - r.valueOf();
7666
+ let r = M(e), i = e.valueOf() - r.valueOf();
7659
7667
  if (i >= F(n.slotMinTime) && i < F(n.slotMaxTime))
7660
7668
  return this.computeTimeTop(_(i));
7661
7669
  }
@@ -7664,7 +7672,7 @@ class Yu {
7664
7672
  // Computes the top coordinate, relative to the bounds of the grid, of the given date.
7665
7673
  // A `startOfDayDate` must be given for avoiding ambiguity over how to treat midnight.
7666
7674
  computeDateTop(e, n) {
7667
- return n || (n = k(e)), this.computeTimeTop(_(e.valueOf() - n.valueOf()));
7675
+ return n || (n = M(e)), this.computeTimeTop(_(e.valueOf() - n.valueOf()));
7668
7676
  }
7669
7677
  // Computes the top coordinate, relative to the bounds of the grid, of the given time (a Duration).
7670
7678
  // This is a makeshify way to compute the time-top. Assumes all slatMetas dates are uniform.
@@ -7674,7 +7682,7 @@ class Yu {
7674
7682
  return s = Math.max(0, s), s = Math.min(i, s), l = Math.floor(s), l = Math.min(l, i - 1), o = s - l, n.tops[l] + n.getHeight(l) * o;
7675
7683
  }
7676
7684
  }
7677
- class Zu extends T {
7685
+ class Yu extends T {
7678
7686
  render() {
7679
7687
  let { props: e, context: n } = this, { options: r } = n, { slatElRefs: i } = e;
7680
7688
  return g("tbody", null, e.slatMetas.map((s, l) => {
@@ -7698,7 +7706,7 @@ class Zu extends T {
7698
7706
  }));
7699
7707
  }
7700
7708
  }
7701
- class $u extends T {
7709
+ class Zu extends T {
7702
7710
  constructor() {
7703
7711
  super(...arguments), this.rootElRef = B(), this.slatElRefs = new q();
7704
7712
  }
@@ -7715,7 +7723,7 @@ class $u extends T {
7715
7723
  height: e.minHeight
7716
7724
  } },
7717
7725
  e.tableColGroupNode,
7718
- g(Zu, { slatElRefs: this.slatElRefs, axis: e.axis, slatMetas: e.slatMetas })
7726
+ g(Yu, { slatElRefs: this.slatElRefs, axis: e.axis, slatMetas: e.slatMetas })
7719
7727
  )
7720
7728
  );
7721
7729
  }
@@ -7730,13 +7738,13 @@ class $u extends T {
7730
7738
  }
7731
7739
  updateSizing() {
7732
7740
  let { context: e, props: n } = this;
7733
- n.onCoords && n.clientWidth !== null && this.rootElRef.current.offsetHeight && n.onCoords(new Yu(new Re(this.rootElRef.current, Xu(this.slatElRefs.currentMap, n.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
7741
+ n.onCoords && n.clientWidth !== null && this.rootElRef.current.offsetHeight && n.onCoords(new Qu(new Re(this.rootElRef.current, $u(this.slatElRefs.currentMap, n.slatMetas), !1, !0), this.props.dateProfile, e.options.slotDuration));
7734
7742
  }
7735
7743
  }
7736
- function Xu(t, e) {
7744
+ function $u(t, e) {
7737
7745
  return e.map((n) => t[n.key]);
7738
7746
  }
7739
- function ke(t, e) {
7747
+ function Me(t, e) {
7740
7748
  let n = [], r;
7741
7749
  for (r = 0; r < e; r += 1)
7742
7750
  n.push([]);
@@ -7761,27 +7769,27 @@ function Gr(t, e) {
7761
7769
  n[r] = null;
7762
7770
  return n;
7763
7771
  }
7764
- class Ju extends T {
7772
+ class Xu extends T {
7765
7773
  render() {
7766
7774
  let { props: e } = this;
7767
7775
  return g(vs, { elClasses: ["fc-timegrid-more-link"], elStyle: {
7768
7776
  top: e.top,
7769
7777
  bottom: e.bottom
7770
- }, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => Ls(e.hiddenSegs, e), defaultGenerator: Ku, forceTimed: !0 }, (n) => g(n, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
7778
+ }, allDayDate: null, moreCnt: e.hiddenSegs.length, allSegs: e.hiddenSegs, hiddenSegs: e.hiddenSegs, extraDateSpan: e.extraDateSpan, dateProfile: e.dateProfile, todayRange: e.todayRange, popoverContent: () => Ls(e.hiddenSegs, e), defaultGenerator: Ju, forceTimed: !0 }, (n) => g(n, { elTag: "div", elClasses: ["fc-timegrid-more-link-inner", "fc-sticky"] }));
7771
7779
  }
7772
7780
  }
7773
- function Ku(t) {
7781
+ function Ju(t) {
7774
7782
  return t.shortText;
7775
7783
  }
7776
- function ef(t, e, n) {
7784
+ function Ku(t, e, n) {
7777
7785
  let r = new ts();
7778
7786
  e != null && (r.strictOrder = e), n != null && (r.maxStackCnt = n);
7779
- let i = r.addSegs(t), s = ac(i), l = tf(r);
7780
- return l = lf(l, 1), { segRects: of(l), hiddenGroups: s };
7787
+ let i = r.addSegs(t), s = ac(i), l = ef(r);
7788
+ return l = sf(l, 1), { segRects: lf(l), hiddenGroups: s };
7781
7789
  }
7782
- function tf(t) {
7783
- const { entriesByLevel: e } = t, n = Vn((r, i) => r + ":" + i, (r, i) => {
7784
- let s = sf(t, r, i), l = qr(s, n), o = e[r][i];
7790
+ function ef(t) {
7791
+ const { entriesByLevel: e } = t, n = Gn((r, i) => r + ":" + i, (r, i) => {
7792
+ let s = rf(t, r, i), l = qr(s, n), o = e[r][i];
7785
7793
  return [
7786
7794
  Object.assign(Object.assign({}, o), { nextLevelNodes: l[0] }),
7787
7795
  o.thickness + l[1]
@@ -7796,24 +7804,24 @@ function qr(t, e) {
7796
7804
  let { level: n, lateralStart: r, lateralEnd: i } = t, s = r, l = [];
7797
7805
  for (; s < i; )
7798
7806
  l.push(e(n, s)), s += 1;
7799
- return l.sort(nf), [
7800
- l.map(rf),
7807
+ return l.sort(tf), [
7808
+ l.map(nf),
7801
7809
  l[0][1]
7802
7810
  // first item's pressure
7803
7811
  ];
7804
7812
  }
7805
- function nf(t, e) {
7813
+ function tf(t, e) {
7806
7814
  return e[1] - t[1];
7807
7815
  }
7808
- function rf(t) {
7816
+ function nf(t) {
7809
7817
  return t[0];
7810
7818
  }
7811
- function sf(t, e, n) {
7819
+ function rf(t, e, n) {
7812
7820
  let { levelCoords: r, entriesByLevel: i } = t, s = i[e][n], l = r[e] + s.thickness, o = r.length, a = e;
7813
7821
  for (; a < o && r[a] < l; a += 1)
7814
7822
  ;
7815
7823
  for (; a < o; a += 1) {
7816
- let d = i[a], c, h = on(d, s.span.start, ln), f = h[0] + h[1], u = f;
7824
+ let d = i[a], c, h = an(d, s.span.start, on), f = h[0] + h[1], u = f;
7817
7825
  for (
7818
7826
  ;
7819
7827
  // loop through entries that horizontally intersect
@@ -7826,8 +7834,8 @@ function sf(t, e, n) {
7826
7834
  }
7827
7835
  return null;
7828
7836
  }
7829
- function lf(t, e) {
7830
- const n = Vn((r, i, s) => ue(r), (r, i, s) => {
7837
+ function sf(t, e) {
7838
+ const n = Gn((r, i, s) => ue(r), (r, i, s) => {
7831
7839
  let { nextLevelNodes: l, thickness: o } = r, a = o + s, d = o / a, c, h = [];
7832
7840
  if (!l.length)
7833
7841
  c = e;
@@ -7845,9 +7853,9 @@ function lf(t, e) {
7845
7853
  });
7846
7854
  return t.map((r) => n(r, 0, 0)[1]);
7847
7855
  }
7848
- function of(t) {
7856
+ function lf(t) {
7849
7857
  let e = [];
7850
- const n = Vn((i, s, l) => ue(i), (i, s, l) => {
7858
+ const n = Gn((i, s, l) => ue(i), (i, s, l) => {
7851
7859
  let o = Object.assign(Object.assign({}, i), {
7852
7860
  levelCoord: s,
7853
7861
  stackDepth: l,
@@ -7863,7 +7871,7 @@ function of(t) {
7863
7871
  }
7864
7872
  return r(t, 0, 0), e;
7865
7873
  }
7866
- function Vn(t, e) {
7874
+ function Gn(t, e) {
7867
7875
  const n = {};
7868
7876
  return (...r) => {
7869
7877
  let i = t(...r);
@@ -7887,7 +7895,7 @@ function Qr(t, e, n = null, r = 0) {
7887
7895
  }
7888
7896
  return i;
7889
7897
  }
7890
- function af(t, e, n, r) {
7898
+ function of(t, e, n, r) {
7891
7899
  let i = [], s = [];
7892
7900
  for (let d = 0; d < t.length; d += 1) {
7893
7901
  let c = e[d];
@@ -7897,7 +7905,7 @@ function af(t, e, n, r) {
7897
7905
  span: c
7898
7906
  }) : s.push(t[d]);
7899
7907
  }
7900
- let { segRects: l, hiddenGroups: o } = ef(i, n, r), a = [];
7908
+ let { segRects: l, hiddenGroups: o } = Ku(i, n, r), a = [];
7901
7909
  for (let d of l)
7902
7910
  a.push({
7903
7911
  seg: t[d.index],
@@ -7907,7 +7915,7 @@ function af(t, e, n, r) {
7907
7915
  a.push({ seg: d, rect: null });
7908
7916
  return { segPlacements: a, hiddenGroups: o };
7909
7917
  }
7910
- const cf = N({
7918
+ const af = O({
7911
7919
  hour: "numeric",
7912
7920
  minute: "2-digit",
7913
7921
  meridiem: !1
@@ -7918,10 +7926,10 @@ class Bs extends T {
7918
7926
  "fc-timegrid-event",
7919
7927
  "fc-v-event",
7920
7928
  this.props.isShort && "fc-timegrid-event-short"
7921
- ], defaultTimeFormat: cf }));
7929
+ ], defaultTimeFormat: af }));
7922
7930
  }
7923
7931
  }
7924
- class df extends T {
7932
+ class cf extends T {
7925
7933
  constructor() {
7926
7934
  super(...arguments), this.sortEventSegs = A(Vi);
7927
7935
  }
@@ -7934,7 +7942,7 @@ class df extends T {
7934
7942
  // TODO: messy way to compute this
7935
7943
  e.eventDrag && e.eventDrag.affectedInstances || e.eventResize && e.eventResize.affectedInstances || {}
7936
7944
  ), o = this.sortEventSegs(e.fgEventSegs, r.eventOrder);
7937
- return g(zn, { elTag: "td", elRef: e.elRef, elClasses: [
7945
+ return g(Fn, { elTag: "td", elRef: e.elRef, elClasses: [
7938
7946
  "fc-timegrid-col",
7939
7947
  ...e.extraClassNames || []
7940
7948
  ], elAttrs: Object.assign({ role: "gridcell" }, e.extraDataAttrs), date: e.date, dateProfile: e.dateProfile, todayRange: e.todayRange, extraRenderProps: e.extraRenderProps }, (a) => g(
@@ -7950,7 +7958,7 @@ class df extends T {
7950
7958
  g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(o, l, !1, !1, !1)),
7951
7959
  g("div", { className: "fc-timegrid-col-events" }, this.renderFgSegs(s, {}, !!e.eventDrag, !!e.eventResize, !!i, "mirror")),
7952
7960
  g("div", { className: "fc-timegrid-now-indicator-container" }, this.renderNowIndicator(e.nowIndicatorSegs)),
7953
- Fn(r) && g(a, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
7961
+ Wn(r) && g(a, { elTag: "div", elClasses: ["fc-timegrid-col-misc"] })
7954
7962
  ));
7955
7963
  }
7956
7964
  renderFgSegs(e, n, r, i, s, l) {
@@ -7958,13 +7966,13 @@ class df extends T {
7958
7966
  return o.forPrint ? Ls(e, o) : this.renderPositionedFgSegs(e, n, r, i, s, l);
7959
7967
  }
7960
7968
  renderPositionedFgSegs(e, n, r, i, s, l) {
7961
- let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: h, slatCoords: f, eventSelection: u, todayRange: m, nowDate: v } = this.props, b = r || i || s, E = Qr(e, h, f, c), { segPlacements: y, hiddenGroups: D } = af(e, E, d, o);
7969
+ let { eventMaxStack: o, eventShortHeight: a, eventOrderStrict: d, eventMinHeight: c } = this.context.options, { date: h, slatCoords: f, eventSelection: u, todayRange: m, nowDate: v } = this.props, b = r || i || s, E = Qr(e, h, f, c), { segPlacements: y, hiddenGroups: D } = of(e, E, d, o);
7962
7970
  return g(
7963
- M,
7971
+ k,
7964
7972
  null,
7965
7973
  this.renderHiddenGroups(D, e),
7966
7974
  y.map((C) => {
7967
- let { seg: I, rect: w } = C, x = I.eventRange.instance.instanceId, R = b || !!(!n[x] && w), J = Yt(w && w.span), Te = !b && w ? this.computeSegHStyle(w) : { left: 0, right: 0 }, Vs = !!w && w.stackForward > 0, Gs = !!w && w.span.end - w.span.start < a;
7975
+ let { seg: I, rect: w } = C, x = I.eventRange.instance.instanceId, R = b || !!(!n[x] && w), J = Zt(w && w.span), Te = !b && w ? this.computeSegHStyle(w) : { left: 0, right: 0 }, Vs = !!w && w.stackForward > 0, Gs = !!w && w.span.end - w.span.start < a;
7968
7976
  return g(
7969
7977
  "div",
7970
7978
  { className: "fc-timegrid-event-harness" + (Vs ? " fc-timegrid-event-harness-inset" : ""), key: l || x, style: Object.assign(Object.assign({ visibility: R ? "" : "hidden" }, J), Te) },
@@ -7976,22 +7984,22 @@ class df extends T {
7976
7984
  // will already have eventMinHeight applied because segInputs already had it
7977
7985
  renderHiddenGroups(e, n) {
7978
7986
  let { extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d } = this.props;
7979
- return g(M, null, e.map((c) => {
7980
- let h = Yt(c.span), f = uf(c.entries, n);
7981
- return g(Ju, { key: Di(bs(f)), hiddenSegs: f, top: h.top, bottom: h.bottom, extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d });
7987
+ return g(k, null, e.map((c) => {
7988
+ let h = Zt(c.span), f = df(c.entries, n);
7989
+ return g(Xu, { key: Di(bs(f)), hiddenSegs: f, top: h.top, bottom: h.bottom, extraDateSpan: r, dateProfile: i, todayRange: s, nowDate: l, eventSelection: o, eventDrag: a, eventResize: d });
7982
7990
  }));
7983
7991
  }
7984
7992
  renderFillSegs(e, n) {
7985
7993
  let { props: r, context: i } = this, l = Qr(e, r.date, r.slatCoords, i.options.eventMinHeight).map((o, a) => {
7986
7994
  let d = e[a];
7987
- return g("div", { key: qi(d.eventRange), className: "fc-timegrid-bg-harness", style: Yt(o) }, n === "bg-event" ? g(gs, Object.assign({ seg: d }, ne(d, r.todayRange, r.nowDate))) : ps(n));
7995
+ return g("div", { key: qi(d.eventRange), className: "fc-timegrid-bg-harness", style: Zt(o) }, n === "bg-event" ? g(gs, Object.assign({ seg: d }, ne(d, r.todayRange, r.nowDate))) : ps(n));
7988
7996
  });
7989
- return g(M, null, l);
7997
+ return g(k, null, l);
7990
7998
  }
7991
7999
  renderNowIndicator(e) {
7992
8000
  let { slatCoords: n, date: r } = this.props;
7993
8001
  return n ? e.map((i, s) => g(
7994
- jn,
8002
+ zn,
7995
8003
  {
7996
8004
  // key doesn't matter. will only ever be one
7997
8005
  key: s,
@@ -8017,7 +8025,7 @@ class df extends T {
8017
8025
  }
8018
8026
  function Ls(t, { todayRange: e, nowDate: n, eventSelection: r, eventDrag: i, eventResize: s }) {
8019
8027
  let l = (i ? i.affectedInstances : null) || (s ? s.affectedInstances : null) || {};
8020
- return g(M, null, t.map((o) => {
8028
+ return g(k, null, t.map((o) => {
8021
8029
  let a = o.eventRange.instance.instanceId;
8022
8030
  return g(
8023
8031
  "div",
@@ -8026,18 +8034,18 @@ function Ls(t, { todayRange: e, nowDate: n, eventSelection: r, eventDrag: i, eve
8026
8034
  );
8027
8035
  }));
8028
8036
  }
8029
- function Yt(t) {
8037
+ function Zt(t) {
8030
8038
  return t ? {
8031
8039
  top: t.start,
8032
8040
  bottom: -t.end
8033
8041
  } : { top: "", bottom: "" };
8034
8042
  }
8035
- function uf(t, e) {
8043
+ function df(t, e) {
8036
8044
  return t.map((n) => e[n.index]);
8037
8045
  }
8038
- class ff extends T {
8046
+ class uf extends T {
8039
8047
  constructor() {
8040
- super(...arguments), this.splitFgEventSegs = A(ke), this.splitBgEventSegs = A(ke), this.splitBusinessHourSegs = A(ke), this.splitNowIndicatorSegs = A(ke), this.splitDateSelectionSegs = A(ke), this.splitEventDrag = A(Gr), this.splitEventResize = A(Gr), this.rootElRef = B(), this.cellElRefs = new q();
8048
+ super(...arguments), this.splitFgEventSegs = A(Me), this.splitBgEventSegs = A(Me), this.splitBusinessHourSegs = A(Me), this.splitNowIndicatorSegs = A(Me), this.splitDateSelectionSegs = A(Me), this.splitEventDrag = A(Gr), this.splitEventResize = A(Gr), this.rootElRef = B(), this.cellElRefs = new q();
8041
8049
  }
8042
8050
  render() {
8043
8051
  let { props: e, context: n } = this, r = n.options.nowIndicator && e.slatCoords && e.slatCoords.safeComputeTop(e.nowDate), i = e.cells.length, s = this.splitFgEventSegs(e.fgEventSegs, i), l = this.splitBgEventSegs(e.bgEventSegs, i), o = this.splitBusinessHourSegs(e.businessHourSegs, i), a = this.splitNowIndicatorSegs(e.nowIndicatorSegs, i), d = this.splitDateSelectionSegs(e.dateSelectionSegs, i), c = this.splitEventDrag(e.eventDrag, i), h = this.splitEventResize(e.eventResize, i);
@@ -8063,10 +8071,10 @@ class ff extends T {
8063
8071
  g(
8064
8072
  "div",
8065
8073
  { className: "fc-timegrid-col-frame" },
8066
- g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(jn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: e.nowDate }))
8074
+ g("div", { className: "fc-timegrid-now-indicator-container" }, typeof r == "number" && g(zn, { elClasses: ["fc-timegrid-now-indicator-arrow"], elStyle: { top: r }, isAxis: !0, date: e.nowDate }))
8067
8075
  )
8068
8076
  ),
8069
- e.cells.map((f, u) => g(df, { key: f.key, elRef: this.cellElRefs.createRef(f.key), dateProfile: e.dateProfile, date: f.date, nowDate: e.nowDate, todayRange: e.todayRange, extraRenderProps: f.extraRenderProps, extraDataAttrs: f.extraDataAttrs, extraClassNames: f.extraClassNames, extraDateSpan: f.extraDateSpan, fgEventSegs: s[u], bgEventSegs: l[u], businessHourSegs: o[u], nowIndicatorSegs: a[u], dateSelectionSegs: d[u], eventDrag: c[u], eventResize: h[u], slatCoords: e.slatCoords, eventSelection: e.eventSelection, forPrint: e.forPrint }))
8077
+ e.cells.map((f, u) => g(cf, { key: f.key, elRef: this.cellElRefs.createRef(f.key), dateProfile: e.dateProfile, date: f.date, nowDate: e.nowDate, todayRange: e.todayRange, extraRenderProps: f.extraRenderProps, extraDataAttrs: f.extraDataAttrs, extraClassNames: f.extraClassNames, extraDateSpan: f.extraDateSpan, fgEventSegs: s[u], bgEventSegs: l[u], businessHourSegs: o[u], nowIndicatorSegs: a[u], dateSelectionSegs: d[u], eventDrag: c[u], eventResize: h[u], slatCoords: e.slatCoords, eventSelection: e.eventSelection, forPrint: e.forPrint }))
8070
8078
  )
8071
8079
  )
8072
8080
  )
@@ -8082,19 +8090,19 @@ class ff extends T {
8082
8090
  let { props: e } = this;
8083
8091
  e.onColCoords && e.clientWidth !== null && e.onColCoords(new Re(
8084
8092
  this.rootElRef.current,
8085
- hf(this.cellElRefs.currentMap, e.cells),
8093
+ ff(this.cellElRefs.currentMap, e.cells),
8086
8094
  !0,
8087
8095
  // horizontal
8088
8096
  !1
8089
8097
  ));
8090
8098
  }
8091
8099
  }
8092
- function hf(t, e) {
8100
+ function ff(t, e) {
8093
8101
  return e.map((n) => t[n.key]);
8094
8102
  }
8095
- class gf extends G {
8103
+ class hf extends G {
8096
8104
  constructor() {
8097
- super(...arguments), this.processSlotOptions = A(pf), this.state = {
8105
+ super(...arguments), this.processSlotOptions = A(gf), this.state = {
8098
8106
  slatCoords: null
8099
8107
  }, this.handleRootEl = (e) => {
8100
8108
  e ? this.context.registerInteractiveComponent(this, {
@@ -8127,8 +8135,8 @@ class gf extends G {
8127
8135
  width: e.clientWidth,
8128
8136
  minWidth: e.tableMinWidth
8129
8137
  } },
8130
- g($u, { axis: e.axis, dateProfile: e.dateProfile, slatMetas: e.slatMetas, clientWidth: e.clientWidth, minHeight: e.expandRows ? e.clientHeight : "", tableMinWidth: e.tableMinWidth, tableColGroupNode: e.axis ? e.tableColGroupNode : null, onCoords: this.handleSlatCoords }),
8131
- g(ff, { cells: e.cells, axis: e.axis, dateProfile: e.dateProfile, businessHourSegs: e.businessHourSegs, bgEventSegs: e.bgEventSegs, fgEventSegs: e.fgEventSegs, dateSelectionSegs: e.dateSelectionSegs, eventSelection: e.eventSelection, eventDrag: e.eventDrag, eventResize: e.eventResize, todayRange: e.todayRange, nowDate: e.nowDate, nowIndicatorSegs: e.nowIndicatorSegs, clientWidth: e.clientWidth, tableMinWidth: e.tableMinWidth, tableColGroupNode: e.tableColGroupNode, slatCoords: n.slatCoords, onColCoords: this.handleColCoords, forPrint: e.forPrint })
8138
+ g(Zu, { axis: e.axis, dateProfile: e.dateProfile, slatMetas: e.slatMetas, clientWidth: e.clientWidth, minHeight: e.expandRows ? e.clientHeight : "", tableMinWidth: e.tableMinWidth, tableColGroupNode: e.axis ? e.tableColGroupNode : null, onCoords: this.handleSlatCoords }),
8139
+ g(uf, { cells: e.cells, axis: e.axis, dateProfile: e.dateProfile, businessHourSegs: e.businessHourSegs, bgEventSegs: e.bgEventSegs, fgEventSegs: e.fgEventSegs, dateSelectionSegs: e.dateSelectionSegs, eventSelection: e.eventSelection, eventDrag: e.eventDrag, eventResize: e.eventResize, todayRange: e.todayRange, nowDate: e.nowDate, nowIndicatorSegs: e.nowIndicatorSegs, clientWidth: e.clientWidth, tableMinWidth: e.tableMinWidth, tableColGroupNode: e.tableColGroupNode, slatCoords: n.slatCoords, onColCoords: this.handleColCoords, forPrint: e.forPrint })
8132
8140
  );
8133
8141
  }
8134
8142
  componentDidMount() {
@@ -8143,7 +8151,7 @@ class gf extends G {
8143
8151
  queryHit(e, n) {
8144
8152
  let { dateEnv: r, options: i } = this.context, { colCoords: s } = this, { dateProfile: l } = this.props, { slatCoords: o } = this.state, { snapDuration: a, snapsPerSlot: d } = this.processSlotOptions(this.props.slotDuration, i.snapDuration), c = s.leftToIndex(e), h = o.positions.topToIndex(n);
8145
8153
  if (c != null && h != null) {
8146
- let f = this.props.cells[c], u = o.positions.tops[h], m = o.positions.getHeight(h), v = (n - u) / m, b = Math.floor(v * d), E = h * d + b, y = this.props.cells[c].date, D = Jt(l.slotMinTime, $l(a, E)), C = r.add(y, D), I = r.add(C, a);
8154
+ let f = this.props.cells[c], u = o.positions.tops[h], m = o.positions.getHeight(h), v = (n - u) / m, b = Math.floor(v * d), E = h * d + b, y = this.props.cells[c].date, D = Kt(l.slotMinTime, $l(a, E)), C = r.add(y, D), I = r.add(C, a);
8147
8155
  return {
8148
8156
  dateProfile: l,
8149
8157
  dateSpan: Object.assign({ range: { start: C, end: I }, allDay: !1 }, f.extraDateSpan),
@@ -8160,11 +8168,11 @@ class gf extends G {
8160
8168
  return null;
8161
8169
  }
8162
8170
  }
8163
- function pf(t, e) {
8164
- let n = e || t, r = bn(t, n);
8171
+ function gf(t, e) {
8172
+ let n = e || t, r = yn(t, n);
8165
8173
  return r === null && (n = t, r = 1), { snapDuration: n, snapsPerSlot: r };
8166
8174
  }
8167
- class mf extends os {
8175
+ class pf extends os {
8168
8176
  sliceRange(e, n) {
8169
8177
  let r = [];
8170
8178
  for (let i = 0; i < n.length; i += 1) {
@@ -8180,16 +8188,16 @@ class mf extends os {
8180
8188
  return r;
8181
8189
  }
8182
8190
  }
8183
- class vf extends G {
8191
+ class mf extends G {
8184
8192
  constructor() {
8185
- super(...arguments), this.buildDayRanges = A(bf), this.slicer = new mf(), this.timeColsRef = B();
8193
+ super(...arguments), this.buildDayRanges = A(vf), this.slicer = new pf(), this.timeColsRef = B();
8186
8194
  }
8187
8195
  render() {
8188
8196
  let { props: e, context: n } = this, { dateProfile: r, dayTableModel: i } = e, { nowIndicator: s, nextDayThreshold: l } = n.options, o = this.buildDayRanges(i, r, n.dateEnv);
8189
- return g(ze, { unit: s ? "minute" : "day" }, (a, d) => g(gf, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(e, r, null, n, o), { forPrint: e.forPrint, axis: e.axis, dateProfile: r, slatMetas: e.slatMetas, slotDuration: e.slotDuration, cells: i.cells[0], tableColGroupNode: e.tableColGroupNode, tableMinWidth: e.tableMinWidth, clientWidth: e.clientWidth, clientHeight: e.clientHeight, expandRows: e.expandRows, nowDate: a, nowIndicatorSegs: s && this.slicer.sliceNowDate(a, r, l, n, o), todayRange: d, onScrollTopRequest: e.onScrollTopRequest, onSlatCoords: e.onSlatCoords })));
8197
+ return g(ze, { unit: s ? "minute" : "day" }, (a, d) => g(hf, Object.assign({ ref: this.timeColsRef }, this.slicer.sliceProps(e, r, null, n, o), { forPrint: e.forPrint, axis: e.axis, dateProfile: r, slatMetas: e.slatMetas, slotDuration: e.slotDuration, cells: i.cells[0], tableColGroupNode: e.tableColGroupNode, tableMinWidth: e.tableMinWidth, clientWidth: e.clientWidth, clientHeight: e.clientHeight, expandRows: e.expandRows, nowDate: a, nowIndicatorSegs: s && this.slicer.sliceNowDate(a, r, l, n, o), todayRange: d, onScrollTopRequest: e.onScrollTopRequest, onSlatCoords: e.onSlatCoords })));
8190
8198
  }
8191
8199
  }
8192
- function bf(t, e, n) {
8200
+ function vf(t, e, n) {
8193
8201
  let r = [];
8194
8202
  for (let i of t.headerDates)
8195
8203
  r.push({
@@ -8205,40 +8213,42 @@ const Yr = [
8205
8213
  { seconds: 30 },
8206
8214
  { seconds: 15 }
8207
8215
  ];
8208
- function yf(t, e, n, r, i) {
8209
- let s = /* @__PURE__ */ new Date(0), l = t, o = _(0), a = n || Ef(r), d = [];
8216
+ function bf(t, e, n, r, i) {
8217
+ let s = /* @__PURE__ */ new Date(0), l = t, o = _(0), a = n || yf(r), d = [];
8210
8218
  for (; F(l) < F(e); ) {
8211
- let c = i.add(s, l), h = bn(o, a) !== null;
8219
+ let c = i.add(s, l), h = yn(o, a) !== null;
8212
8220
  d.push({
8213
8221
  date: c,
8214
8222
  time: l,
8215
8223
  key: c.toISOString(),
8216
8224
  isoTimeStr: ho(c),
8217
8225
  isLabeled: h
8218
- }), l = Jt(l, r), o = Jt(o, r);
8226
+ }), l = Kt(l, r), o = Kt(o, r);
8219
8227
  }
8220
8228
  return d;
8221
8229
  }
8222
- function Ef(t) {
8230
+ function yf(t) {
8223
8231
  let e, n, r;
8224
8232
  for (e = Yr.length - 1; e >= 0; e -= 1)
8225
- if (n = _(Yr[e]), r = bn(n, t), r !== null && r > 1)
8233
+ if (n = _(Yr[e]), r = yn(n, t), r !== null && r > 1)
8226
8234
  return n;
8227
8235
  return t;
8228
8236
  }
8229
- class Sf extends qu {
8237
+ class Ef extends Gu {
8230
8238
  constructor() {
8231
- super(...arguments), this.buildTimeColsModel = A(Af), this.buildSlatMetas = A(yf);
8239
+ super(...arguments), this.buildTimeColsModel = A(Sf), this.buildSlatMetas = A(bf);
8232
8240
  }
8233
8241
  render() {
8234
- let { options: e, dateEnv: n, dateProfileGenerator: r } = this.context, { props: i } = this, { dateProfile: s } = i, l = this.buildTimeColsModel(s, r), o = this.allDaySplitter.splitProps(i), a = this.buildSlatMetas(s.slotMinTime, s.slotMaxTime, e.slotLabelInterval, e.slotDuration, n), { dayMinWidth: d } = e, c = !d, h = d, f = e.dayHeaders && g(is, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((v) => g(Ps, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: v.tableMinWidth, colGroupNode: v.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: v.clientWidth, clientHeight: v.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (v) => g(vf, Object.assign({}, o.timed, { dayTableModel: l, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: a, forPrint: i.forPrint, tableColGroupNode: v.tableColGroupNode, tableMinWidth: v.tableMinWidth, clientWidth: v.clientWidth, clientHeight: v.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: v.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
8242
+ let { options: e, dateEnv: n, dateProfileGenerator: r } = this.context, { props: i } = this, { dateProfile: s } = i, l = this.buildTimeColsModel(s, r), o = this.allDaySplitter.splitProps(i), a = this.buildSlatMetas(s.slotMinTime, s.slotMaxTime, e.slotLabelInterval, e.slotDuration, n), { dayMinWidth: d } = e, c = !d, h = d, f = e.dayHeaders && g(is, { dates: l.headerDates, dateProfile: s, datesRepDistinctDays: !0, renderIntro: c ? this.renderHeadAxis : null }), u = e.allDaySlot !== !1 && ((v) => g(Ps, Object.assign({}, o.allDay, { dateProfile: s, dayTableModel: l, nextDayThreshold: e.nextDayThreshold, tableMinWidth: v.tableMinWidth, colGroupNode: v.tableColGroupNode, renderRowIntro: c ? this.renderTableRowAxis : null, showWeekNumbers: !1, expandRows: !1, headerAlignElRef: this.headerElRef, clientWidth: v.clientWidth, clientHeight: v.clientHeight, forPrint: i.forPrint }, this.getAllDayMaxEventProps()))), m = (v) => g(mf, Object.assign({}, o.timed, { dayTableModel: l, dateProfile: s, axis: c, slotDuration: e.slotDuration, slatMetas: a, forPrint: i.forPrint, tableColGroupNode: v.tableColGroupNode, tableMinWidth: v.tableMinWidth, clientWidth: v.clientWidth, clientHeight: v.clientHeight, onSlatCoords: this.handleSlatCoords, expandRows: v.expandRows, onScrollTopRequest: this.handleScrollTopRequest }));
8235
8243
  return h ? this.renderHScrollLayout(f, u, m, l.colCnt, d, a, this.state.slatCoords) : this.renderSimpleLayout(f, u, m);
8236
8244
  }
8237
8245
  }
8238
- function Af(t, e) {
8246
+ function Sf(t, e) {
8239
8247
  let n = new ss(t.renderRange, e);
8240
8248
  return new ls(n, !1);
8241
8249
  }
8250
+ var Af = '.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-arrow,.fc .fc-timegrid-now-indicator-line{pointer-events:none}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}';
8251
+ gn(Af);
8242
8252
  const Df = {
8243
8253
  allDaySlot: Boolean
8244
8254
  };
@@ -8248,7 +8258,7 @@ var Cf = X({
8248
8258
  optionRefiners: Df,
8249
8259
  views: {
8250
8260
  timeGrid: {
8251
- component: Sf,
8261
+ component: Ef,
8252
8262
  usesMinMaxTime: !0,
8253
8263
  allDaySlot: !0,
8254
8264
  slotDuration: "00:30:00",
@@ -8265,8 +8275,8 @@ var Cf = X({
8265
8275
  }
8266
8276
  }
8267
8277
  });
8268
- Bn.touchMouseIgnoreWait = 500;
8269
- let dn = 0, yt = 0, un = !1;
8278
+ Ln.touchMouseIgnoreWait = 500;
8279
+ let un = 0, Et = 0, fn = !1;
8270
8280
  class Us {
8271
8281
  constructor(e) {
8272
8282
  this.subjectEl = null, this.selector = "", this.handleSelector = "", this.shouldIgnoreMove = !1, this.shouldWatchScroll = !0, this.isDragging = !1, this.isTouchDragging = !1, this.wasTouchScroll = !1, this.handleMouseDown = (n) => {
@@ -8299,7 +8309,7 @@ class Us {
8299
8309
  this.wasTouchScroll = !0;
8300
8310
  }, this.handleScroll = (n) => {
8301
8311
  if (!this.shouldIgnoreMove) {
8302
- let r = window.pageXOffset - this.prevScrollX + this.prevPageX, i = window.pageYOffset - this.prevScrollY + this.prevPageY;
8312
+ let r = window.scrollX - this.prevScrollX + this.prevPageX, i = window.scrollY - this.prevScrollY + this.prevPageY;
8303
8313
  this.emitter.trigger("pointermove", {
8304
8314
  origEvent: n,
8305
8315
  isTouch: this.isTouchDragging,
@@ -8310,7 +8320,7 @@ class Us {
8310
8320
  deltaY: i - this.origPageY
8311
8321
  });
8312
8322
  }
8313
- }, this.containerEl = e, this.emitter = new Rt(), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("touchstart", this.handleTouchStart, { passive: !0 }), _f();
8323
+ }, this.containerEl = e, this.emitter = new _t(), e.addEventListener("mousedown", this.handleMouseDown), e.addEventListener("touchstart", this.handleTouchStart, { passive: !0 }), _f();
8314
8324
  }
8315
8325
  destroy() {
8316
8326
  this.containerEl.removeEventListener("mousedown", this.handleMouseDown), this.containerEl.removeEventListener("touchstart", this.handleTouchStart, { passive: !0 }), Tf();
@@ -8320,17 +8330,17 @@ class Us {
8320
8330
  return n && (!this.handleSelector || P(r, this.handleSelector)) ? (this.subjectEl = n, this.isDragging = !0, this.wasTouchScroll = !1, !0) : !1;
8321
8331
  }
8322
8332
  cleanup() {
8323
- un = !1, this.isDragging = !1, this.subjectEl = null, this.destroyScrollWatch();
8333
+ fn = !1, this.isDragging = !1, this.subjectEl = null, this.destroyScrollWatch();
8324
8334
  }
8325
8335
  querySubjectEl(e) {
8326
8336
  return this.selector ? P(e.target, this.selector) : this.containerEl;
8327
8337
  }
8328
8338
  shouldIgnoreMouse() {
8329
- return dn || this.isTouchDragging;
8339
+ return un || this.isTouchDragging;
8330
8340
  }
8331
8341
  // can be called by user of this class, to cancel touch-based scrolling for the current drag
8332
8342
  cancelTouchScroll() {
8333
- this.isDragging && (un = !0);
8343
+ this.isDragging && (fn = !0);
8334
8344
  }
8335
8345
  // Scrolling that simulates pointermoves
8336
8346
  // ----------------------------------------------------------------------------------------------------
@@ -8338,7 +8348,7 @@ class Us {
8338
8348
  this.shouldWatchScroll && (this.recordCoords(e), window.addEventListener("scroll", this.handleScroll, !0));
8339
8349
  }
8340
8350
  recordCoords(e) {
8341
- this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.pageXOffset, this.prevScrollY = window.pageYOffset);
8351
+ this.shouldWatchScroll && (this.prevPageX = e.pageX, this.prevPageY = e.pageY, this.prevScrollX = window.scrollX, this.prevScrollY = window.scrollY);
8342
8352
  }
8343
8353
  destroyScrollWatch() {
8344
8354
  this.shouldWatchScroll && window.removeEventListener("scroll", this.handleScroll, !0);
@@ -8374,28 +8384,28 @@ function wf(t) {
8374
8384
  return t.button === 0 && !t.ctrlKey;
8375
8385
  }
8376
8386
  function Rf() {
8377
- dn += 1, setTimeout(() => {
8378
- dn -= 1;
8379
- }, Bn.touchMouseIgnoreWait);
8387
+ un += 1, setTimeout(() => {
8388
+ un -= 1;
8389
+ }, Ln.touchMouseIgnoreWait);
8380
8390
  }
8381
8391
  function _f() {
8382
- yt += 1, yt === 1 && window.addEventListener("touchmove", js, { passive: !1 });
8392
+ Et += 1, Et === 1 && window.addEventListener("touchmove", js, { passive: !1 });
8383
8393
  }
8384
8394
  function Tf() {
8385
- yt -= 1, yt || window.removeEventListener("touchmove", js, { passive: !1 });
8395
+ Et -= 1, Et || window.removeEventListener("touchmove", js, { passive: !1 });
8386
8396
  }
8387
8397
  function js(t) {
8388
- un && t.preventDefault();
8398
+ fn && t.preventDefault();
8389
8399
  }
8390
8400
  class xf {
8391
8401
  constructor() {
8392
8402
  this.isVisible = !1, this.sourceEl = null, this.mirrorEl = null, this.sourceElRect = null, this.parentNode = document.body, this.zIndex = 9999, this.revertDuration = 0;
8393
8403
  }
8394
8404
  start(e, n, r) {
8395
- this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = n - window.pageXOffset, this.origScreenY = r - window.pageYOffset, this.deltaX = 0, this.deltaY = 0, this.updateElPosition();
8405
+ this.sourceEl = e, this.sourceElRect = this.sourceEl.getBoundingClientRect(), this.origScreenX = n - window.scrollX, this.origScreenY = r - window.scrollY, this.deltaX = 0, this.deltaY = 0, this.updateElPosition();
8396
8406
  }
8397
8407
  handleMove(e, n) {
8398
- this.deltaX = e - window.pageXOffset - this.origScreenX, this.deltaY = n - window.pageYOffset - this.origScreenY, this.updateElPosition();
8408
+ this.deltaX = e - window.scrollX - this.origScreenX, this.deltaY = n - window.scrollY - this.origScreenY, this.updateElPosition();
8399
8409
  }
8400
8410
  // can be called before start
8401
8411
  setIsVisible(e) {
@@ -8411,7 +8421,7 @@ class xf {
8411
8421
  }
8412
8422
  doRevertAnimation(e, n) {
8413
8423
  let r = this.mirrorEl, i = this.sourceEl.getBoundingClientRect();
8414
- r.style.transition = "top " + n + "ms,left " + n + "ms", Oe(r, {
8424
+ r.style.transition = "top " + n + "ms,left " + n + "ms", Ne(r, {
8415
8425
  left: i.left,
8416
8426
  top: i.top
8417
8427
  }), Pl(r, () => {
@@ -8419,17 +8429,17 @@ class xf {
8419
8429
  });
8420
8430
  }
8421
8431
  cleanup() {
8422
- this.mirrorEl && (pn(this.mirrorEl), this.mirrorEl = null), this.sourceEl = null;
8432
+ this.mirrorEl && (mn(this.mirrorEl), this.mirrorEl = null), this.sourceEl = null;
8423
8433
  }
8424
8434
  updateElPosition() {
8425
- this.sourceEl && this.isVisible && Oe(this.getMirrorEl(), {
8435
+ this.sourceEl && this.isVisible && Ne(this.getMirrorEl(), {
8426
8436
  left: this.sourceElRect.left + this.deltaX,
8427
8437
  top: this.sourceElRect.top + this.deltaY
8428
8438
  });
8429
8439
  }
8430
8440
  getMirrorEl() {
8431
8441
  let e = this.sourceElRect, n = this.mirrorEl;
8432
- return n || (n = this.mirrorEl = this.sourceEl.cloneNode(!0), n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.classList.add("fc-event-dragging"), Oe(n, {
8442
+ return n || (n = this.mirrorEl = this.sourceEl.cloneNode(!0), n.style.userSelect = "none", n.style.webkitUserSelect = "none", n.style.pointerEvents = "none", n.classList.add("fc-event-dragging"), Ne(n, {
8433
8443
  position: "fixed",
8434
8444
  zIndex: this.zIndex,
8435
8445
  visibility: "",
@@ -8442,7 +8452,7 @@ class xf {
8442
8452
  }), this.parentNode.appendChild(n)), n;
8443
8453
  }
8444
8454
  }
8445
- class zs extends Pn {
8455
+ class zs extends Hn {
8446
8456
  constructor(e, n) {
8447
8457
  super(), this.handleScroll = () => {
8448
8458
  this.scrollTop = this.scrollController.getScrollTop(), this.scrollLeft = this.scrollController.getScrollLeft(), this.handleScrollChange();
@@ -8489,7 +8499,7 @@ class Fs extends zs {
8489
8499
  return ic(this.scrollController.el);
8490
8500
  }
8491
8501
  }
8492
- class kf extends zs {
8502
+ class Mf extends zs {
8493
8503
  constructor(e) {
8494
8504
  super(new oc(), e);
8495
8505
  }
@@ -8511,11 +8521,11 @@ class kf extends zs {
8511
8521
  }
8512
8522
  }
8513
8523
  const Zr = typeof performance == "function" ? performance.now : Date.now;
8514
- class Mf {
8524
+ class kf {
8515
8525
  constructor() {
8516
8526
  this.isEnabled = !0, this.scrollQuery = [window, ".fc-scroller"], this.edgeThreshold = 50, this.maxVelocity = 300, this.pointerScreenX = null, this.pointerScreenY = null, this.isAnimating = !1, this.scrollCaches = null, this.everMovedUp = !1, this.everMovedDown = !1, this.everMovedLeft = !1, this.everMovedRight = !1, this.animate = () => {
8517
8527
  if (this.isAnimating) {
8518
- let e = this.computeBestEdge(this.pointerScreenX + window.pageXOffset, this.pointerScreenY + window.pageYOffset);
8528
+ let e = this.computeBestEdge(this.pointerScreenX + window.scrollX, this.pointerScreenY + window.scrollY);
8519
8529
  if (e) {
8520
8530
  let n = Zr();
8521
8531
  this.handleSide(e, (n - this.msSinceRequest) / 1e3), this.requestAnimation(n);
@@ -8529,7 +8539,7 @@ class Mf {
8529
8539
  }
8530
8540
  handleMove(e, n) {
8531
8541
  if (this.isEnabled) {
8532
- let r = e - window.pageXOffset, i = n - window.pageYOffset, s = this.pointerScreenY === null ? 0 : i - this.pointerScreenY, l = this.pointerScreenX === null ? 0 : r - this.pointerScreenX;
8542
+ let r = e - window.scrollX, i = n - window.scrollY, s = this.pointerScreenY === null ? 0 : i - this.pointerScreenY, l = this.pointerScreenX === null ? 0 : r - this.pointerScreenX;
8533
8543
  s < 0 ? this.everMovedUp = !0 : s > 0 && (this.everMovedDown = !0), l < 0 ? this.everMovedLeft = !0 : l > 0 && (this.everMovedRight = !0), this.pointerScreenX = r, this.pointerScreenY = i, this.isAnimating || (this.isAnimating = !0, this.requestAnimation(Zr()));
8534
8544
  }
8535
8545
  }
@@ -8575,7 +8585,7 @@ class Mf {
8575
8585
  return i;
8576
8586
  }
8577
8587
  buildCaches(e) {
8578
- return this.queryScrollEls(e).map((n) => n === window ? new kf(!1) : new Fs(n, !1));
8588
+ return this.queryScrollEls(e).map((n) => n === window ? new Mf(!1) : new Fs(n, !1));
8579
8589
  }
8580
8590
  queryScrollEls(e) {
8581
8591
  let n = [];
@@ -8601,7 +8611,7 @@ class Fe extends dc {
8601
8611
  this.isInteracting && (this.isInteracting = !1, Bl(document.body), Ul(document.body), this.emitter.trigger("pointerup", i), this.isDragging && (this.autoScroller.stop(), this.tryStopDrag(i)), this.delayTimeoutId && (clearTimeout(this.delayTimeoutId), this.delayTimeoutId = null));
8602
8612
  };
8603
8613
  let r = this.pointer = new Us(e);
8604
- r.emitter.on("pointerdown", this.onPointerDown), r.emitter.on("pointermove", this.onPointerMove), r.emitter.on("pointerup", this.onPointerUp), n && (r.selector = n), this.mirror = new xf(), this.autoScroller = new Mf();
8614
+ r.emitter.on("pointerdown", this.onPointerDown), r.emitter.on("pointermove", this.onPointerMove), r.emitter.on("pointerup", this.onPointerUp), n && (r.selector = n), this.mirror = new xf(), this.autoScroller = new kf();
8605
8615
  }
8606
8616
  destroy() {
8607
8617
  this.pointer.destroy(), this.onPointerUp({});
@@ -8642,7 +8652,7 @@ class Fe extends dc {
8642
8652
  }
8643
8653
  class If {
8644
8654
  constructor(e) {
8645
- this.origRect = Nn(e), this.scrollCaches = es(e).map((n) => new Fs(n, !0));
8655
+ this.el = e, this.origRect = Pn(e), this.scrollCaches = es(e).map((n) => new Fs(n, !0));
8646
8656
  }
8647
8657
  destroy() {
8648
8658
  for (let e of this.scrollCaches)
@@ -8663,18 +8673,18 @@ class If {
8663
8673
  isWithinClipping(e, n) {
8664
8674
  let r = { left: e, top: n };
8665
8675
  for (let i of this.scrollCaches)
8666
- if (!Of(i.getEventTarget()) && !Ga(r, i.clientRect))
8676
+ if (!Nf(i.getEventTarget()) && !Ga(r, i.clientRect))
8667
8677
  return !1;
8668
8678
  return !0;
8669
8679
  }
8670
8680
  }
8671
- function Of(t) {
8681
+ function Nf(t) {
8672
8682
  let e = t.tagName;
8673
8683
  return e === "HTML" || e === "BODY";
8674
8684
  }
8675
- class _t {
8685
+ class Tt {
8676
8686
  constructor(e, n) {
8677
- this.useSubjectCenter = !1, this.requireInitial = !0, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (r) => {
8687
+ this.useSubjectCenter = !1, this.requireInitial = !0, this.disablePointCheck = !1, this.initialHit = null, this.movingHit = null, this.finalHit = null, this.handlePointerDown = (r) => {
8678
8688
  let { dragging: i } = this;
8679
8689
  this.initialHit = null, this.movingHit = null, this.finalHit = null, this.prepareHits(), this.processFirstCoord(r), this.initialHit || !this.requireInitial ? (i.setIgnoreMove(!1), this.emitter.trigger("pointerdown", r)) : i.setIgnoreMove(!0);
8680
8690
  }, this.handleDragStart = (r) => {
@@ -8685,13 +8695,13 @@ class _t {
8685
8695
  this.releaseHits(), this.emitter.trigger("pointerup", r);
8686
8696
  }, this.handleDragEnd = (r) => {
8687
8697
  this.movingHit && this.emitter.trigger("hitupdate", null, !0, r), this.finalHit = this.movingHit, this.movingHit = null, this.emitter.trigger("dragend", r);
8688
- }, this.droppableStore = n, e.emitter.on("pointerdown", this.handlePointerDown), e.emitter.on("dragstart", this.handleDragStart), e.emitter.on("dragmove", this.handleDragMove), e.emitter.on("pointerup", this.handlePointerUp), e.emitter.on("dragend", this.handleDragEnd), this.dragging = e, this.emitter = new Rt();
8698
+ }, this.droppableStore = n, e.emitter.on("pointerdown", this.handlePointerDown), e.emitter.on("dragstart", this.handleDragStart), e.emitter.on("dragmove", this.handleDragMove), e.emitter.on("pointerup", this.handlePointerUp), e.emitter.on("dragend", this.handleDragEnd), this.dragging = e, this.emitter = new _t();
8689
8699
  }
8690
8700
  // sets initialHit
8691
8701
  // sets coordAdjust
8692
8702
  processFirstCoord(e) {
8693
8703
  let n = { left: e.pageX, top: e.pageY }, r = n, i = e.subjectEl, s;
8694
- i instanceof HTMLElement && (s = Nn(i), r = qa(r, s));
8704
+ i instanceof HTMLElement && (s = Pn(i), r = qa(r, s));
8695
8705
  let l = this.initialHit = this.queryHitForOffset(r.left, r.top);
8696
8706
  if (l) {
8697
8707
  if (this.useSubjectCenter && s) {
@@ -8704,7 +8714,7 @@ class _t {
8704
8714
  }
8705
8715
  handleMove(e, n) {
8706
8716
  let r = this.queryHitForOffset(e.pageX + this.coordAdjust.left, e.pageY + this.coordAdjust.top);
8707
- (n || !Tt(this.movingHit, r)) && (this.movingHit = r, this.emitter.trigger("hitupdate", r, !1, e));
8717
+ (n || !xt(this.movingHit, r)) && (this.movingHit = r, this.emitter.trigger("hitupdate", r, !1, e));
8708
8718
  }
8709
8719
  prepareHits() {
8710
8720
  this.offsetTrackers = Y(this.droppableStore, (e) => (e.component.prepareHits(), new If(e.el)));
@@ -8728,23 +8738,30 @@ class _t {
8728
8738
  ) {
8729
8739
  let b = o.queryHit(h, f, m, v);
8730
8740
  b && // make sure the hit is within activeRange, meaning it's not a dead cell
8731
- Ct(b.dateProfile.activeRange, b.dateSpan.range) && (!s || b.layer > s.layer) && (b.componentId = l, b.context = o.context, b.rect.left += d, b.rect.right += d, b.rect.top += c, b.rect.bottom += c, s = b);
8741
+ wt(b.dateProfile.activeRange, b.dateSpan.range) && // Ensure the component we are querying for the hit is accessibly my the pointer
8742
+ // Prevents obscured calendars (ex: under a modal dialog) from accepting hit
8743
+ // https://github.com/fullcalendar/fullcalendar/issues/5026
8744
+ (this.disablePointCheck || a.el.contains(a.el.getRootNode().elementFromPoint(
8745
+ // add-back origins to get coordinate relative to top-left of window viewport
8746
+ h + d - window.scrollX,
8747
+ f + c - window.scrollY
8748
+ ))) && (!s || b.layer > s.layer) && (b.componentId = l, b.context = o.context, b.rect.left += d, b.rect.right += d, b.rect.top += c, b.rect.bottom += c, s = b);
8732
8749
  }
8733
8750
  }
8734
8751
  }
8735
8752
  return s;
8736
8753
  }
8737
8754
  }
8738
- function Tt(t, e) {
8755
+ function xt(t, e) {
8739
8756
  return !t && !e ? !0 : !!t != !!e ? !1 : Pa(t.dateSpan, e.dateSpan);
8740
8757
  }
8741
8758
  function Ws(t, e) {
8742
8759
  let n = {};
8743
8760
  for (let r of e.pluginHooks.datePointTransforms)
8744
8761
  Object.assign(n, r(t, e));
8745
- return Object.assign(n, Nf(t, e.dateEnv)), n;
8762
+ return Object.assign(n, Of(t, e.dateEnv)), n;
8746
8763
  }
8747
- function Nf(t, e) {
8764
+ function Of(t, e) {
8748
8765
  return {
8749
8766
  date: e.toDate(t.range.start),
8750
8767
  dateStr: e.formatIso(t.range.start, { omitTime: t.allDay }),
@@ -8760,13 +8777,13 @@ class Pf extends _e {
8760
8777
  let { component: i } = this, { pointer: s } = this.dragging;
8761
8778
  if (!s.wasTouchScroll) {
8762
8779
  let { initialHit: l, finalHit: o } = this.hitDragging;
8763
- if (l && o && Tt(l, o)) {
8780
+ if (l && o && xt(l, o)) {
8764
8781
  let { context: a } = i, d = Object.assign(Object.assign({}, Ws(l.dateSpan, a)), { dayEl: l.dayEl, jsEvent: r.origEvent, view: a.viewApi || a.calendarApi.view });
8765
8782
  a.emitter.trigger("dateClick", d);
8766
8783
  }
8767
8784
  }
8768
8785
  }, this.dragging = new Fe(e.el), this.dragging.autoScroller.isEnabled = !1;
8769
- let n = this.hitDragging = new _t(this.dragging, In(e));
8786
+ let n = this.hitDragging = new Tt(this.dragging, Nn(e));
8770
8787
  n.emitter.on("pointerdown", this.handlePointerDown), n.emitter.on("dragend", this.handleDragEnd);
8771
8788
  }
8772
8789
  destroy() {
@@ -8786,13 +8803,13 @@ class Hf extends _e {
8786
8803
  let h = this.hitDragging.initialHit;
8787
8804
  l.componentId === h.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(h, l) || (d = Lf(h, l, a.pluginHooks.dateSelectionTransformers)), (!d || !mc(d, l.dateProfile, a)) && (c = !0, d = null);
8788
8805
  }
8789
- d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ? mn() : vn(), o || (this.dragSelection = d);
8806
+ d ? a.dispatch({ type: "SELECT_DATES", selection: d }) : o || a.dispatch({ type: "UNSELECT_DATES" }), c ? vn() : bn(), o || (this.dragSelection = d);
8790
8807
  }, this.handlePointerUp = (l) => {
8791
8808
  this.dragSelection && (zi(this.dragSelection, l, this.component.context), this.dragSelection = null);
8792
8809
  };
8793
8810
  let { component: n } = e, { options: r } = n.context, i = this.dragging = new Fe(e.el);
8794
8811
  i.touchScrollAllowed = !1, i.minDistance = r.selectMinDistance || 0, i.autoScroller.isEnabled = r.dragScroll;
8795
- let s = this.hitDragging = new _t(this.dragging, In(e));
8812
+ let s = this.hitDragging = new Tt(this.dragging, Nn(e));
8796
8813
  s.emitter.on("pointerdown", this.handlePointerDown), s.emitter.on("dragstart", this.handleDragStart), s.emitter.on("hitupdate", this.handleHitUpdate), s.emitter.on("pointerup", this.handlePointerUp);
8797
8814
  }
8798
8815
  destroy() {
@@ -8826,7 +8843,7 @@ class We extends _e {
8826
8843
  let o = l.origEvent.target, { component: a, dragging: d } = this, { mirror: c } = d, { options: h } = a.context, f = a.context;
8827
8844
  this.subjectEl = l.subjectEl;
8828
8845
  let u = this.subjectSeg = we(l.subjectEl), v = (this.eventRange = u.eventRange).instance.instanceId;
8829
- this.relevantEvents = Tn(f.getCurrentData().eventStore, v), d.minDistance = l.isTouch ? 0 : h.eventDragMinDistance, d.delay = // only do a touch delay if touch and this event hasn't been selected yet
8846
+ this.relevantEvents = xn(f.getCurrentData().eventStore, v), d.minDistance = l.isTouch ? 0 : h.eventDragMinDistance, d.delay = // only do a touch delay if touch and this event hasn't been selected yet
8830
8847
  l.isTouch && v !== a.props.eventSelection ? jf(a) : null, h.fixedMirrorParent ? c.parentNode = h.fixedMirrorParent : c.parentNode = P(o, ".fc"), c.revertDuration = h.dragRevertDuration;
8831
8848
  let b = a.isValidSegDownEl(o) && !P(o, ".fc-event-resizer");
8832
8849
  d.setIgnoreMove(!b), this.isDragging = b && l.subjectEl.classList.contains("fc-event-draggable");
@@ -8834,7 +8851,7 @@ class We extends _e {
8834
8851
  let o = this.component.context, a = this.eventRange, d = a.instance.instanceId;
8835
8852
  l.isTouch ? d !== this.component.props.eventSelection && o.dispatch({ type: "SELECT_EVENT", eventInstanceId: d }) : o.dispatch({ type: "UNSELECT_EVENT" }), this.isDragging && (o.calendarApi.unselect(l), o.emitter.trigger("eventDragStart", {
8836
8853
  el: this.subjectEl,
8837
- event: new O(o, a.def, a.instance),
8854
+ event: new N(o, a.def, a.instance),
8838
8855
  jsEvent: l.origEvent,
8839
8856
  view: o.viewApi
8840
8857
  }));
@@ -8849,15 +8866,15 @@ class We extends _e {
8849
8866
  if (l) {
8850
8867
  h = l.context;
8851
8868
  let b = h.options;
8852
- c === h || b.editable && b.droppable ? (f = Uf(d, l, h.getCurrentData().pluginHooks.eventDragMutationMassagers), f && (u = Mn(a, h.getCurrentData().eventUiBases, f, h), v.mutatedEvents = u, as(v, l.dateProfile, h) || (m = !0, f = null, u = null, v.mutatedEvents = j()))) : h = null;
8869
+ c === h || b.editable && b.droppable ? (f = Uf(d, l, this.eventRange.instance.range.start, h.getCurrentData().pluginHooks.eventDragMutationMassagers), f && (u = In(a, h.getCurrentData().eventUiBases, f, h), v.mutatedEvents = u, as(v, l.dateProfile, h) || (m = !0, f = null, u = null, v.mutatedEvents = j()))) : h = null;
8853
8870
  }
8854
- this.displayDrag(h, v), m ? mn() : vn(), o || (c === h && // TODO: write test for this
8855
- Tt(d, l) && (f = null), this.dragging.setMirrorNeedsRevert(!f), this.dragging.setMirrorIsVisible(!l || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = h, this.validMutation = f, this.mutatedRelevantEvents = u);
8871
+ this.displayDrag(h, v), m ? vn() : bn(), o || (c === h && // TODO: write test for this
8872
+ xt(d, l) && (f = null), this.dragging.setMirrorNeedsRevert(!f), this.dragging.setMirrorIsVisible(!l || !this.subjectEl.getRootNode().querySelector(".fc-event-mirror")), this.receivingContext = h, this.validMutation = f, this.mutatedRelevantEvents = u);
8856
8873
  }, this.handlePointerUp = () => {
8857
8874
  this.isDragging || this.cleanup();
8858
8875
  }, this.handleDragEnd = (l) => {
8859
8876
  if (this.isDragging) {
8860
- let o = this.component.context, a = o.viewApi, { receivingContext: d, validMutation: c } = this, h = this.eventRange.def, f = this.eventRange.instance, u = new O(o, h, f), m = this.relevantEvents, v = this.mutatedRelevantEvents, { finalHit: b } = this.hitDragging;
8877
+ let o = this.component.context, a = o.viewApi, { receivingContext: d, validMutation: c } = this, h = this.eventRange.def, f = this.eventRange.instance, u = new N(o, h, f), m = this.relevantEvents, v = this.mutatedRelevantEvents, { finalHit: b } = this.hitDragging;
8861
8878
  if (this.clearDrag(), o.emitter.trigger("eventDragStop", {
8862
8879
  el: this.subjectEl,
8863
8880
  event: u,
@@ -8865,7 +8882,7 @@ class We extends _e {
8865
8882
  view: a
8866
8883
  }), c) {
8867
8884
  if (d === o) {
8868
- let E = new O(o, v.defs[h.defId], f ? v.instances[f.instanceId] : null);
8885
+ let E = new N(o, v.defs[h.defId], f ? v.instances[f.instanceId] : null);
8869
8886
  o.dispatch({
8870
8887
  type: "MERGE_EVENTS",
8871
8888
  eventStore: v
@@ -8900,7 +8917,7 @@ class We extends _e {
8900
8917
  type: "REMOVE_EVENTS",
8901
8918
  eventStore: m
8902
8919
  }), o.emitter.trigger("eventRemove", E);
8903
- let y = v.defs[h.defId], D = v.instances[f.instanceId], C = new O(d, y, D);
8920
+ let y = v.defs[h.defId], D = v.instances[f.instanceId], C = new N(d, y, D);
8904
8921
  d.dispatch({
8905
8922
  type: "MERGE_EVENTS",
8906
8923
  eventStore: v
@@ -8927,7 +8944,7 @@ class We extends _e {
8927
8944
  };
8928
8945
  let { component: n } = this, { options: r } = n.context, i = this.dragging = new Fe(e.el);
8929
8946
  i.pointer.selector = We.SELECTOR, i.touchScrollAllowed = !1, i.autoScroller.isEnabled = r.dragScroll;
8930
- let s = this.hitDragging = new _t(this.dragging, sn);
8947
+ let s = this.hitDragging = new Tt(this.dragging, ln);
8931
8948
  s.useSubjectCenter = e.useEventCenter, s.emitter.on("pointerdown", this.handlePointerDown), s.emitter.on("dragstart", this.handleDragStart), s.emitter.on("hitupdate", this.handleHitUpdate), s.emitter.on("pointerup", this.handlePointerUp), s.emitter.on("dragend", this.handleDragEnd);
8932
8949
  }
8933
8950
  destroy() {
@@ -8954,18 +8971,18 @@ class We extends _e {
8954
8971
  }
8955
8972
  }
8956
8973
  We.SELECTOR = ".fc-event-draggable, .fc-event-resizable";
8957
- function Uf(t, e, n) {
8958
- let r = t.dateSpan, i = e.dateSpan, s = r.range.start, l = i.range.start, o = {};
8959
- r.allDay !== i.allDay && (o.allDay = i.allDay, o.hasEnd = e.context.options.allDayMaintainDuration, i.allDay && (s = k(s)));
8960
- let a = Ee(s, l, t.context.dateEnv, t.componentId === e.componentId ? t.largeUnit : null);
8961
- a.milliseconds && (o.allDay = !1);
8962
- let d = {
8963
- datesDelta: a,
8964
- standardProps: o
8974
+ function Uf(t, e, n, r) {
8975
+ let i = t.dateSpan, s = e.dateSpan, l = i.range.start, o = s.range.start, a = {};
8976
+ i.allDay !== s.allDay && (a.allDay = s.allDay, a.hasEnd = e.context.options.allDayMaintainDuration, s.allDay ? l = M(n) : l = n);
8977
+ let d = Ee(l, o, t.context.dateEnv, t.componentId === e.componentId ? t.largeUnit : null);
8978
+ d.milliseconds && (a.allDay = !1);
8979
+ let c = {
8980
+ datesDelta: d,
8981
+ standardProps: a
8965
8982
  };
8966
- for (let c of n)
8967
- c(d, t, e);
8968
- return d;
8983
+ for (let h of r)
8984
+ h(c, t, e);
8985
+ return c;
8969
8986
  }
8970
8987
  function jf(t) {
8971
8988
  let { options: e } = t.context, n = e.eventLongPressDelay;
@@ -8978,11 +8995,11 @@ class zf extends _e {
8978
8995
  this.dragging.minDistance = l.context.options.eventDragMinDistance, this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(s.origEvent.target) || s.isTouch && this.component.props.eventSelection !== d.instance.instanceId);
8979
8996
  }, this.handleDragStart = (s) => {
8980
8997
  let { context: l } = this.component, o = this.eventRange;
8981
- this.relevantEvents = Tn(l.getCurrentData().eventStore, this.eventRange.instance.instanceId);
8998
+ this.relevantEvents = xn(l.getCurrentData().eventStore, this.eventRange.instance.instanceId);
8982
8999
  let a = this.querySegEl(s);
8983
9000
  this.draggingSegEl = a, this.draggingSeg = we(a), l.calendarApi.unselect(), l.emitter.trigger("eventResizeStart", {
8984
9001
  el: a,
8985
- event: new O(l, o.def, o.instance),
9002
+ event: new N(l, o.def, o.instance),
8986
9003
  jsEvent: s.origEvent,
8987
9004
  view: l.viewApi
8988
9005
  });
@@ -8992,19 +9009,19 @@ class zf extends _e {
8992
9009
  mutatedEvents: j(),
8993
9010
  isEvent: !0
8994
9011
  };
8995
- s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (f = Ff(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), h.range))), f && (u = Mn(d, a.getCurrentData().eventUiBases, f, a), v.mutatedEvents = u, as(v, s.dateProfile, a) || (m = !0, f = null, u = null, v.mutatedEvents = null)), u ? a.dispatch({
9012
+ s && (s.componentId === c.componentId && this.isHitComboAllowed && !this.isHitComboAllowed(c, s) || (f = Ff(c, s, o.subjectEl.classList.contains("fc-event-resizer-start"), h.range))), f && (u = In(d, a.getCurrentData().eventUiBases, f, a), v.mutatedEvents = u, as(v, s.dateProfile, a) || (m = !0, f = null, u = null, v.mutatedEvents = null)), u ? a.dispatch({
8996
9013
  type: "SET_EVENT_RESIZE",
8997
9014
  state: v
8998
- }) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ? mn() : vn(), l || (f && Tt(c, s) && (f = null), this.validMutation = f, this.mutatedRelevantEvents = u);
9015
+ }) : a.dispatch({ type: "UNSET_EVENT_RESIZE" }), m ? vn() : bn(), l || (f && xt(c, s) && (f = null), this.validMutation = f, this.mutatedRelevantEvents = u);
8999
9016
  }, this.handleDragEnd = (s) => {
9000
- let { context: l } = this.component, o = this.eventRange.def, a = this.eventRange.instance, d = new O(l, o, a), c = this.relevantEvents, h = this.mutatedRelevantEvents;
9017
+ let { context: l } = this.component, o = this.eventRange.def, a = this.eventRange.instance, d = new N(l, o, a), c = this.relevantEvents, h = this.mutatedRelevantEvents;
9001
9018
  if (l.emitter.trigger("eventResizeStop", {
9002
9019
  el: this.draggingSegEl,
9003
9020
  event: d,
9004
9021
  jsEvent: s.origEvent,
9005
9022
  view: l.viewApi
9006
9023
  }), this.validMutation) {
9007
- let f = new O(l, h.defs[o.defId], a ? h.instances[a.instanceId] : null);
9024
+ let f = new N(l, h.defs[o.defId], a ? h.instances[a.instanceId] : null);
9008
9025
  l.dispatch({
9009
9026
  type: "MERGE_EVENTS",
9010
9027
  eventStore: h
@@ -9028,7 +9045,7 @@ class zf extends _e {
9028
9045
  };
9029
9046
  let { component: n } = e, r = this.dragging = new Fe(e.el);
9030
9047
  r.pointer.selector = ".fc-event-resizer", r.touchScrollAllowed = !1, r.autoScroller.isEnabled = n.context.options.dragScroll;
9031
- let i = this.hitDragging = new _t(this.dragging, In(e));
9048
+ let i = this.hitDragging = new Tt(this.dragging, Nn(e));
9032
9049
  i.emitter.on("pointerdown", this.handlePointerDown), i.emitter.on("dragstart", this.handleDragStart), i.emitter.on("hitupdate", this.handleHitUpdate), i.emitter.on("dragend", this.handleDragEnd);
9033
9050
  }
9034
9051
  destroy() {
@@ -9088,7 +9105,7 @@ const Vf = {
9088
9105
  eventReceive: p,
9089
9106
  eventLeave: p
9090
9107
  };
9091
- Bn.dataAttrPrefix = "";
9108
+ Ln.dataAttrPrefix = "";
9092
9109
  var qf = X({
9093
9110
  name: "@fullcalendar/interaction",
9094
9111
  componentInteractions: [Pf, Hf, We, zf],
@@ -9098,11 +9115,11 @@ var qf = X({
9098
9115
  listenerRefiners: Gf
9099
9116
  });
9100
9117
  /*! Element Plus Icons Vue v2.3.1 */
9101
- var Qf = /* @__PURE__ */ Et({
9118
+ var Qf = /* @__PURE__ */ St({
9102
9119
  name: "DeleteFilled",
9103
9120
  __name: "delete-filled",
9104
9121
  setup(t) {
9105
- return (e, n) => (be(), Me("svg", {
9122
+ return (e, n) => (be(), ke("svg", {
9106
9123
  xmlns: "http://www.w3.org/2000/svg",
9107
9124
  viewBox: "0 0 1024 1024"
9108
9125
  }, [
@@ -9124,7 +9141,7 @@ const Zf = { class: "ik-full-calendar" }, $f = ["onClick"], Xf = {
9124
9141
  class: "event-title no-allday"
9125
9142
  }, eh = { class: "event-title-time" }, th = { class: "event-title-text" }, nh = {
9126
9143
  name: "IkFullCalendar"
9127
- }, rh = /* @__PURE__ */ Et({
9144
+ }, rh = /* @__PURE__ */ St({
9128
9145
  ...nh,
9129
9146
  props: {
9130
9147
  options: { default: {} },
@@ -9137,8 +9154,8 @@ const Zf = { class: "ik-full-calendar" }, $f = ["onClick"], Xf = {
9137
9154
  const r = t, i = $s({
9138
9155
  get: () => r.modelValue,
9139
9156
  set: (y) => s("update:modelValue", y)
9140
- }), s = n, l = xt(null), o = (y) => {
9141
- }, a = xt("dayGridMonth"), d = (y) => {
9157
+ }), s = n, l = Mt(null), o = (y) => {
9158
+ }, a = Mt("dayGridMonth"), d = (y) => {
9142
9159
  s("dateSelect", y);
9143
9160
  }, c = (y) => {
9144
9161
  s("eventClick", y);
@@ -9166,7 +9183,7 @@ const Zf = { class: "ik-full-calendar" }, $f = ["onClick"], Xf = {
9166
9183
  }), u = Xs({
9167
9184
  timeType: "month",
9168
9185
  options: f()
9169
- }), m = xt(null), v = () => {
9186
+ }), m = Mt(null), v = () => {
9170
9187
  var y;
9171
9188
  u.options = f(), (y = l.value) == null || y.buildOptions(u.options);
9172
9189
  };
@@ -9212,9 +9229,9 @@ const Zf = { class: "ik-full-calendar" }, $f = ["onClick"], Xf = {
9212
9229
  return Ks(() => {
9213
9230
  E();
9214
9231
  }), (y, D) => {
9215
- const C = Gn("el-tooltip"), I = Gn("el-icon");
9216
- return be(), Me("div", Zf, [
9217
- kt(Mt(ou), {
9232
+ const C = qn("el-tooltip"), I = qn("el-icon");
9233
+ return be(), ke("div", Zf, [
9234
+ kt(It(ou), {
9218
9235
  ref_key: "_ref",
9219
9236
  ref: l,
9220
9237
  options: u.options,
@@ -9232,7 +9249,7 @@ const Zf = { class: "ik-full-calendar" }, $f = ["onClick"], Xf = {
9232
9249
  content: Ve(() => {
9233
9250
  var x, R;
9234
9251
  return [
9235
- It(" {{arg}} "),
9252
+ Nt(" {{arg}} "),
9236
9253
  el(
9237
9254
  " " + xe((R = (x = w.event) == null ? void 0 : x.extendedProps) == null ? void 0 : R[r.tooltipFieldName]),
9238
9255
  1
@@ -9241,8 +9258,8 @@ const Zf = { class: "ik-full-calendar" }, $f = ["onClick"], Xf = {
9241
9258
  ];
9242
9259
  }),
9243
9260
  default: Ve(() => [
9244
- w.event.allDay ? (be(), Me("span", Xf, [
9245
- a.value === "dayGridMonth" ? (be(), Me("span", Jf, xe("(全天)"))) : It("v-if", !0),
9261
+ w.event.allDay ? (be(), ke("span", Xf, [
9262
+ a.value === "dayGridMonth" ? (be(), ke("span", Jf, xe("(全天)"))) : Nt("v-if", !0),
9246
9263
  Ie(
9247
9264
  "span",
9248
9265
  null,
@@ -9250,11 +9267,11 @@ const Zf = { class: "ik-full-calendar" }, $f = ["onClick"], Xf = {
9250
9267
  1
9251
9268
  /* TEXT */
9252
9269
  )
9253
- ])) : (be(), Me("span", Kf, [
9270
+ ])) : (be(), ke("span", Kf, [
9254
9271
  Ie(
9255
9272
  "span",
9256
9273
  eh,
9257
- xe(Mt(rl).toDateTime(w.event.startStr, "HH:mm")),
9274
+ xe(It(rl).toDateTime(w.event.startStr, "HH:mm")),
9258
9275
  1
9259
9276
  /* TEXT */
9260
9277
  ),
@@ -9279,11 +9296,11 @@ const Zf = { class: "ik-full-calendar" }, $f = ["onClick"], Xf = {
9279
9296
  onClick: nl((x) => h(w), ["stop"])
9280
9297
  }, {
9281
9298
  default: Ve(() => [
9282
- kt(Mt(Yf))
9299
+ kt(It(Yf))
9283
9300
  ]),
9284
9301
  _: 2
9285
9302
  /* DYNAMIC */
9286
- }, 1032, ["onClick"])) : It("v-if", !0)
9303
+ }, 1032, ["onClick"])) : Nt("v-if", !0)
9287
9304
  ], 8, $f)
9288
9305
  ]),
9289
9306
  _: 1