@innosolutions/inno-calendar 1.0.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 (191) hide show
  1. package/dist/agenda-dropdown-BtVd7oeX.cjs +2 -0
  2. package/dist/agenda-dropdown-BtVd7oeX.cjs.map +1 -0
  3. package/dist/agenda-dropdown-CU74g7uM.js +3393 -0
  4. package/dist/agenda-dropdown-CU74g7uM.js.map +1 -0
  5. package/dist/agenda-view-CgPn9KUd.js +2390 -0
  6. package/dist/agenda-view-CgPn9KUd.js.map +1 -0
  7. package/dist/agenda-view-WMI-YjDn.cjs +11 -0
  8. package/dist/agenda-view-WMI-YjDn.cjs.map +1 -0
  9. package/dist/components/calendar.d.ts +43 -0
  10. package/dist/components/calendar.d.ts.map +1 -0
  11. package/dist/components/event/event-card.d.ts +106 -0
  12. package/dist/components/event/event-card.d.ts.map +1 -0
  13. package/dist/components/event/event-popover.d.ts +138 -0
  14. package/dist/components/event/event-popover.d.ts.map +1 -0
  15. package/dist/components/event/index.d.ts +6 -0
  16. package/dist/components/event/index.d.ts.map +1 -0
  17. package/dist/components/filters/calendar-filter-sidebar.d.ts +54 -0
  18. package/dist/components/filters/calendar-filter-sidebar.d.ts.map +1 -0
  19. package/dist/components/filters/index.d.ts +9 -0
  20. package/dist/components/filters/index.d.ts.map +1 -0
  21. package/dist/components/filters/schedule-type-filter.d.ts +31 -0
  22. package/dist/components/filters/schedule-type-filter.d.ts.map +1 -0
  23. package/dist/components/filters/user-filter.d.ts +31 -0
  24. package/dist/components/filters/user-filter.d.ts.map +1 -0
  25. package/dist/components/header/calendar-header.d.ts +55 -0
  26. package/dist/components/header/calendar-header.d.ts.map +1 -0
  27. package/dist/components/header/components/date-navigator.d.ts +22 -0
  28. package/dist/components/header/components/date-navigator.d.ts.map +1 -0
  29. package/dist/components/header/components/index.d.ts +8 -0
  30. package/dist/components/header/components/index.d.ts.map +1 -0
  31. package/dist/components/header/components/today-button.d.ts +15 -0
  32. package/dist/components/header/components/today-button.d.ts.map +1 -0
  33. package/dist/components/header/index.d.ts +7 -0
  34. package/dist/components/header/index.d.ts.map +1 -0
  35. package/dist/components/index.cjs +2 -0
  36. package/dist/components/index.cjs.map +1 -0
  37. package/dist/components/index.d.ts +25 -0
  38. package/dist/components/index.d.ts.map +1 -0
  39. package/dist/components/index.mjs +45 -0
  40. package/dist/components/index.mjs.map +1 -0
  41. package/dist/components/inno-calendar.d.ts +37 -0
  42. package/dist/components/inno-calendar.d.ts.map +1 -0
  43. package/dist/components/integrated-calendar.d.ts +37 -0
  44. package/dist/components/integrated-calendar.d.ts.map +1 -0
  45. package/dist/components/primitives/calendar-timeline.d.ts +13 -0
  46. package/dist/components/primitives/calendar-timeline.d.ts.map +1 -0
  47. package/dist/components/primitives/index.d.ts +7 -0
  48. package/dist/components/primitives/index.d.ts.map +1 -0
  49. package/dist/components/primitives/multi-day-banner.d.ts +14 -0
  50. package/dist/components/primitives/multi-day-banner.d.ts.map +1 -0
  51. package/dist/components/primitives/selectable-slot.d.ts +62 -0
  52. package/dist/components/primitives/selectable-slot.d.ts.map +1 -0
  53. package/dist/components/settings/badge-variant-setting.d.ts +25 -0
  54. package/dist/components/settings/badge-variant-setting.d.ts.map +1 -0
  55. package/dist/components/settings/index.d.ts +10 -0
  56. package/dist/components/settings/index.d.ts.map +1 -0
  57. package/dist/components/settings/slot-duration-setting.d.ts +20 -0
  58. package/dist/components/settings/slot-duration-setting.d.ts.map +1 -0
  59. package/dist/components/settings/visible-hours-setting.d.ts +23 -0
  60. package/dist/components/settings/visible-hours-setting.d.ts.map +1 -0
  61. package/dist/components/settings/working-hours-setting.d.ts +41 -0
  62. package/dist/components/settings/working-hours-setting.d.ts.map +1 -0
  63. package/dist/components/ui/badge.d.ts +10 -0
  64. package/dist/components/ui/badge.d.ts.map +1 -0
  65. package/dist/components/ui/button.d.ts +13 -0
  66. package/dist/components/ui/button.d.ts.map +1 -0
  67. package/dist/components/ui/dropdown-menu.d.ts +34 -0
  68. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  69. package/dist/components/ui/index.d.ts +12 -0
  70. package/dist/components/ui/index.d.ts.map +1 -0
  71. package/dist/components/ui/popover.d.ts +8 -0
  72. package/dist/components/ui/popover.d.ts.map +1 -0
  73. package/dist/components/ui/select.d.ts +12 -0
  74. package/dist/components/ui/select.d.ts.map +1 -0
  75. package/dist/components/ui/tooltip.d.ts +8 -0
  76. package/dist/components/ui/tooltip.d.ts.map +1 -0
  77. package/dist/components/views/agenda-view.d.ts +28 -0
  78. package/dist/components/views/agenda-view.d.ts.map +1 -0
  79. package/dist/components/views/day-view.d.ts +40 -0
  80. package/dist/components/views/day-view.d.ts.map +1 -0
  81. package/dist/components/views/index.d.ts +10 -0
  82. package/dist/components/views/index.d.ts.map +1 -0
  83. package/dist/components/views/month-view.d.ts +32 -0
  84. package/dist/components/views/month-view.d.ts.map +1 -0
  85. package/dist/components/views/timeline-view.d.ts +33 -0
  86. package/dist/components/views/timeline-view.d.ts.map +1 -0
  87. package/dist/components/views/week-view.d.ts +44 -0
  88. package/dist/components/views/week-view.d.ts.map +1 -0
  89. package/dist/components/views/year-view.d.ts +16 -0
  90. package/dist/components/views/year-view.d.ts.map +1 -0
  91. package/dist/components/widget/agenda-dropdown.d.ts +20 -0
  92. package/dist/components/widget/agenda-dropdown.d.ts.map +1 -0
  93. package/dist/components/widget/agenda-widget.d.ts +27 -0
  94. package/dist/components/widget/agenda-widget.d.ts.map +1 -0
  95. package/dist/components/widget/index.d.ts +6 -0
  96. package/dist/components/widget/index.d.ts.map +1 -0
  97. package/dist/core/constants.d.ts +78 -0
  98. package/dist/core/constants.d.ts.map +1 -0
  99. package/dist/core/context/calendar-context.d.ts +65 -0
  100. package/dist/core/context/calendar-context.d.ts.map +1 -0
  101. package/dist/core/context/drag-drop-context.d.ts +58 -0
  102. package/dist/core/context/drag-drop-context.d.ts.map +1 -0
  103. package/dist/core/context/index.d.ts +5 -0
  104. package/dist/core/context/index.d.ts.map +1 -0
  105. package/dist/core/context/inno-calendar-provider.d.ts +121 -0
  106. package/dist/core/context/inno-calendar-provider.d.ts.map +1 -0
  107. package/dist/core/context/slot-selection-context.d.ts +42 -0
  108. package/dist/core/context/slot-selection-context.d.ts.map +1 -0
  109. package/dist/core/hooks/index.d.ts +5 -0
  110. package/dist/core/hooks/index.d.ts.map +1 -0
  111. package/dist/core/hooks/use-calendar-time-config.d.ts +31 -0
  112. package/dist/core/hooks/use-calendar-time-config.d.ts.map +1 -0
  113. package/dist/core/hooks/use-calendar.d.ts +63 -0
  114. package/dist/core/hooks/use-calendar.d.ts.map +1 -0
  115. package/dist/core/hooks/use-preferences.d.ts +21 -0
  116. package/dist/core/hooks/use-preferences.d.ts.map +1 -0
  117. package/dist/core/hooks/use-slot-selection.d.ts +39 -0
  118. package/dist/core/hooks/use-slot-selection.d.ts.map +1 -0
  119. package/dist/core/index.cjs +2 -0
  120. package/dist/core/index.cjs.map +1 -0
  121. package/dist/core/index.d.ts +13 -0
  122. package/dist/core/index.d.ts.map +1 -0
  123. package/dist/core/index.mjs +157 -0
  124. package/dist/core/index.mjs.map +1 -0
  125. package/dist/core/preferences/index.d.ts +9 -0
  126. package/dist/core/preferences/index.d.ts.map +1 -0
  127. package/dist/core/preferences/types.d.ts +153 -0
  128. package/dist/core/preferences/types.d.ts.map +1 -0
  129. package/dist/core/preferences/use-preferences.d.ts +54 -0
  130. package/dist/core/preferences/use-preferences.d.ts.map +1 -0
  131. package/dist/core/types.d.ts +466 -0
  132. package/dist/core/types.d.ts.map +1 -0
  133. package/dist/core/utils/date-utils.d.ts +254 -0
  134. package/dist/core/utils/date-utils.d.ts.map +1 -0
  135. package/dist/core/utils/event-utils.d.ts +91 -0
  136. package/dist/core/utils/event-utils.d.ts.map +1 -0
  137. package/dist/core/utils/grid-utils.d.ts +69 -0
  138. package/dist/core/utils/grid-utils.d.ts.map +1 -0
  139. package/dist/core/utils/index.d.ts +5 -0
  140. package/dist/core/utils/index.d.ts.map +1 -0
  141. package/dist/core/utils/position-utils.d.ts +33 -0
  142. package/dist/core/utils/position-utils.d.ts.map +1 -0
  143. package/dist/index-D2U2F80P.cjs +2 -0
  144. package/dist/index-D2U2F80P.cjs.map +1 -0
  145. package/dist/index-DtaLkIY8.js +2777 -0
  146. package/dist/index-DtaLkIY8.js.map +1 -0
  147. package/dist/index.cjs +2 -0
  148. package/dist/index.cjs.map +1 -0
  149. package/dist/index.d.ts +41 -0
  150. package/dist/index.d.ts.map +1 -0
  151. package/dist/index.mjs +204 -0
  152. package/dist/index.mjs.map +1 -0
  153. package/dist/inno-calendar-provider-B0e1XLeo.js +556 -0
  154. package/dist/inno-calendar-provider-B0e1XLeo.js.map +1 -0
  155. package/dist/inno-calendar-provider-BwP6uUAq.cjs +2 -0
  156. package/dist/inno-calendar-provider-BwP6uUAq.cjs.map +1 -0
  157. package/dist/lib/index.cjs +2 -0
  158. package/dist/lib/index.cjs.map +1 -0
  159. package/dist/lib/index.d.ts +2 -0
  160. package/dist/lib/index.d.ts.map +1 -0
  161. package/dist/lib/index.mjs +5 -0
  162. package/dist/lib/index.mjs.map +1 -0
  163. package/dist/lib/utils.d.ts +6 -0
  164. package/dist/lib/utils.d.ts.map +1 -0
  165. package/dist/presets/default/default-calendar.d.ts +44 -0
  166. package/dist/presets/default/default-calendar.d.ts.map +1 -0
  167. package/dist/presets/default/index.d.ts +2 -0
  168. package/dist/presets/default/index.d.ts.map +1 -0
  169. package/dist/presets/index.cjs +2 -0
  170. package/dist/presets/index.cjs.map +1 -0
  171. package/dist/presets/index.d.ts +3 -0
  172. package/dist/presets/index.d.ts.map +1 -0
  173. package/dist/presets/index.mjs +6 -0
  174. package/dist/presets/index.mjs.map +1 -0
  175. package/dist/presets/tailwind/index.d.ts +2 -0
  176. package/dist/presets/tailwind/index.d.ts.map +1 -0
  177. package/dist/presets/tailwind/tailwind-calendar.d.ts +122 -0
  178. package/dist/presets/tailwind/tailwind-calendar.d.ts.map +1 -0
  179. package/dist/slot-selection-context-BCNnYGHC.js +1069 -0
  180. package/dist/slot-selection-context-BCNnYGHC.js.map +1 -0
  181. package/dist/slot-selection-context-C52lU9W4.cjs +2 -0
  182. package/dist/slot-selection-context-C52lU9W4.cjs.map +1 -0
  183. package/dist/tailwind-calendar-CC9RHr10.cjs +2 -0
  184. package/dist/tailwind-calendar-CC9RHr10.cjs.map +1 -0
  185. package/dist/tailwind-calendar-D-D8H4FV.js +414 -0
  186. package/dist/tailwind-calendar-D-D8H4FV.js.map +1 -0
  187. package/dist/use-calendar-time-config-CtKkXw_L.js +191 -0
  188. package/dist/use-calendar-time-config-CtKkXw_L.js.map +1 -0
  189. package/dist/use-calendar-time-config-F-8WV_Sd.cjs +2 -0
  190. package/dist/use-calendar-time-config-F-8WV_Sd.cjs.map +1 -0
  191. package/package.json +128 -0
@@ -0,0 +1,1069 @@
1
+ import { jsx as U } from "react/jsx-runtime";
2
+ import { useState as A, useCallback as T, useContext as F, createContext as L, useRef as V, useMemo as G } from "react";
3
+ const lt = [
4
+ "day",
5
+ "week",
6
+ "month",
7
+ "year",
8
+ "agenda",
9
+ "resource-day",
10
+ "resource-week",
11
+ "timeline-day",
12
+ "timeline-week"
13
+ ], gt = {
14
+ startHour: 8,
15
+ endHour: 18,
16
+ firstDayOfWeek: 1,
17
+ // Monday
18
+ slotDuration: 30,
19
+ showWeekends: !0,
20
+ timeFormat: "24h",
21
+ badgeVariant: "colored",
22
+ showCanceledEvents: !1
23
+ }, ft = {
24
+ startHour: 0,
25
+ endHour: 24
26
+ }, dt = {
27
+ startHour: 8,
28
+ endHour: 18
29
+ }, Dt = {
30
+ day: {
31
+ type: "day",
32
+ slotMinTime: "00:00",
33
+ slotMaxTime: "24:00",
34
+ slotDuration: "00:30:00",
35
+ scrollTime: "08:00:00",
36
+ allDaySlot: !0
37
+ },
38
+ week: {
39
+ type: "week",
40
+ slotMinTime: "00:00",
41
+ slotMaxTime: "24:00",
42
+ slotDuration: "00:30:00",
43
+ scrollTime: "08:00:00",
44
+ dayMaxEventRows: 3,
45
+ allDaySlot: !0
46
+ },
47
+ month: {
48
+ type: "month",
49
+ dayMaxEventRows: 4,
50
+ eventMaxStack: 3,
51
+ allDaySlot: !1
52
+ },
53
+ year: {
54
+ type: "year",
55
+ dayMaxEventRows: 2,
56
+ allDaySlot: !1
57
+ },
58
+ agenda: {
59
+ type: "agenda",
60
+ allDaySlot: !1
61
+ },
62
+ "resource-day": {
63
+ type: "resource-day",
64
+ slotMinTime: "00:00",
65
+ slotMaxTime: "24:00",
66
+ slotDuration: "00:30:00",
67
+ scrollTime: "08:00:00",
68
+ allDaySlot: !0
69
+ },
70
+ "resource-week": {
71
+ type: "resource-week",
72
+ slotMinTime: "00:00",
73
+ slotMaxTime: "24:00",
74
+ slotDuration: "00:30:00",
75
+ scrollTime: "08:00:00",
76
+ allDaySlot: !0
77
+ },
78
+ "timeline-day": {
79
+ type: "timeline-day",
80
+ slotDuration: "01:00:00"
81
+ },
82
+ "timeline-3day": {
83
+ type: "timeline-3day",
84
+ slotDuration: "01:00:00"
85
+ },
86
+ "timeline-week": {
87
+ type: "timeline-week",
88
+ slotDuration: "01:00:00"
89
+ }
90
+ }, mt = {
91
+ blue: "#3b82f6",
92
+ green: "#22c55e",
93
+ red: "#ef4444",
94
+ yellow: "#eab308",
95
+ purple: "#a855f7",
96
+ orange: "#f97316",
97
+ pink: "#ec4899",
98
+ teal: "#14b8a6",
99
+ gray: "#6b7280",
100
+ indigo: "#6366f1"
101
+ }, ht = {
102
+ blue: { bg: "bg-blue-100", text: "text-blue-800", border: "border-blue-300" },
103
+ green: { bg: "bg-green-100", text: "text-green-800", border: "border-green-300" },
104
+ red: { bg: "bg-red-100", text: "text-red-800", border: "border-red-300" },
105
+ yellow: { bg: "bg-yellow-100", text: "text-yellow-800", border: "border-yellow-300" },
106
+ purple: { bg: "bg-purple-100", text: "text-purple-800", border: "border-purple-300" },
107
+ orange: { bg: "bg-orange-100", text: "text-orange-800", border: "border-orange-300" },
108
+ pink: { bg: "bg-pink-100", text: "text-pink-800", border: "border-pink-300" },
109
+ teal: { bg: "bg-teal-100", text: "text-teal-800", border: "border-teal-300" },
110
+ gray: { bg: "bg-gray-100", text: "text-gray-800", border: "border-gray-300" },
111
+ indigo: { bg: "bg-indigo-100", text: "text-indigo-800", border: "border-indigo-300" }
112
+ }, yt = {
113
+ "#3b82f6": "blue",
114
+ "#22c55e": "green",
115
+ "#ef4444": "red",
116
+ "#eab308": "yellow",
117
+ "#a855f7": "purple",
118
+ "#f97316": "orange",
119
+ "#ec4899": "pink",
120
+ "#14b8a6": "teal",
121
+ "#6b7280": "gray",
122
+ "#6366f1": "indigo"
123
+ }, wt = 24, pt = 60, z = 60 * 1e3, K = 60 * z, Tt = 24 * K, C = 64, St = 32, Mt = 56, Et = 200, j = 20;
124
+ function y(t) {
125
+ const e = new Date(t);
126
+ return e.setHours(0, 0, 0, 0), e;
127
+ }
128
+ function E(t) {
129
+ const e = new Date(t);
130
+ return e.setHours(23, 59, 59, 999), e;
131
+ }
132
+ function m(t, e) {
133
+ const n = new Date(t);
134
+ return n.setDate(n.getDate() + e), n;
135
+ }
136
+ function Ht(t, e) {
137
+ return m(t, -e);
138
+ }
139
+ function I(t, e) {
140
+ return t.getFullYear() === e.getFullYear() && t.getMonth() === e.getMonth() && t.getDate() === e.getDate();
141
+ }
142
+ function N(t) {
143
+ return I(t, /* @__PURE__ */ new Date());
144
+ }
145
+ function bt(t) {
146
+ return t.getDay();
147
+ }
148
+ function P(t) {
149
+ const e = t.getDay();
150
+ return e === 0 || e === 6;
151
+ }
152
+ function w(t, e = 1) {
153
+ const n = new Date(t), r = n.getDay(), a = (r < e ? 7 : 0) + r - e;
154
+ return n.setDate(n.getDate() - a), n.setHours(0, 0, 0, 0), n;
155
+ }
156
+ function M(t, e = 1) {
157
+ const n = w(t, e);
158
+ return n.setDate(n.getDate() + 6), n.setHours(23, 59, 59, 999), n;
159
+ }
160
+ function x(t, e) {
161
+ return m(t, e * 7);
162
+ }
163
+ function kt(t, e) {
164
+ return m(t, -e * 7);
165
+ }
166
+ function It(t) {
167
+ const e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate())), n = e.getUTCDay() || 7;
168
+ e.setUTCDate(e.getUTCDate() + 4 - n);
169
+ const r = new Date(Date.UTC(e.getUTCFullYear(), 0, 1));
170
+ return Math.ceil(((e.getTime() - r.getTime()) / 864e5 + 1) / 7);
171
+ }
172
+ function xt(t, e, n = 1) {
173
+ const r = w(t, n), a = w(e, n);
174
+ return I(r, a);
175
+ }
176
+ function b(t) {
177
+ const e = new Date(t);
178
+ return e.setDate(1), e.setHours(0, 0, 0, 0), e;
179
+ }
180
+ function k(t) {
181
+ const e = new Date(t.getFullYear(), t.getMonth() + 1, 0);
182
+ return e.setHours(23, 59, 59, 999), e;
183
+ }
184
+ function v(t, e) {
185
+ const n = new Date(t);
186
+ return n.setMonth(n.getMonth() + e), n;
187
+ }
188
+ function Ft(t, e) {
189
+ return v(t, -e);
190
+ }
191
+ function Ct(t) {
192
+ return new Date(t.getFullYear(), t.getMonth() + 1, 0).getDate();
193
+ }
194
+ function O(t, e) {
195
+ return t.getFullYear() === e.getFullYear() && t.getMonth() === e.getMonth();
196
+ }
197
+ function B(t) {
198
+ return new Date(t.getFullYear(), 0, 1, 0, 0, 0, 0);
199
+ }
200
+ function J(t) {
201
+ return new Date(t.getFullYear(), 11, 31, 23, 59, 59, 999);
202
+ }
203
+ function R(t, e) {
204
+ const n = new Date(t);
205
+ return n.setFullYear(n.getFullYear() + e), n;
206
+ }
207
+ function vt(t, e) {
208
+ return R(t, -e);
209
+ }
210
+ function Ot(t, e) {
211
+ return t.getFullYear() === e.getFullYear();
212
+ }
213
+ function X(t, e) {
214
+ const n = new Date(t);
215
+ return n.setHours(n.getHours() + e), n;
216
+ }
217
+ function Rt(t, e) {
218
+ const n = new Date(t);
219
+ return n.setMinutes(n.getMinutes() + e), n;
220
+ }
221
+ function _t(t, e, n = 0, r = 0) {
222
+ const a = new Date(t);
223
+ return a.setHours(e, n, r, 0), a;
224
+ }
225
+ function $t(t) {
226
+ return t.getHours() + t.getMinutes() / 60;
227
+ }
228
+ function Wt(t, e) {
229
+ return t.getTime() < e.getTime();
230
+ }
231
+ function Yt(t, e) {
232
+ return t.getTime() > e.getTime();
233
+ }
234
+ function Ut(t, e, n) {
235
+ const r = t.getTime();
236
+ return r >= e.getTime() && r <= n.getTime();
237
+ }
238
+ function At(t) {
239
+ if (t.length !== 0)
240
+ return t.reduce((e, n) => n < e ? n : e);
241
+ }
242
+ function Lt(t) {
243
+ if (t.length !== 0)
244
+ return t.reduce((e, n) => n > e ? n : e);
245
+ }
246
+ function _(t, e) {
247
+ return t.getTime() - e.getTime();
248
+ }
249
+ function Nt(t, e) {
250
+ return Math.floor(_(t, e) / 6e4);
251
+ }
252
+ function Pt(t, e) {
253
+ return Math.floor(_(t, e) / 36e5);
254
+ }
255
+ function Bt(t, e) {
256
+ const n = y(t), r = y(e);
257
+ return Math.floor(_(n, r) / 864e5);
258
+ }
259
+ function Vt(t, e = "24h") {
260
+ const n = t.getHours(), r = t.getMinutes();
261
+ if (e === "12h") {
262
+ const a = n >= 12 ? "PM" : "AM";
263
+ return `${n % 12 || 12}:${r.toString().padStart(2, "0")} ${a}`;
264
+ }
265
+ return `${n.toString().padStart(2, "0")}:${r.toString().padStart(2, "0")}`;
266
+ }
267
+ function Gt(t) {
268
+ const e = t.getFullYear(), n = (t.getMonth() + 1).toString().padStart(2, "0"), r = t.getDate().toString().padStart(2, "0");
269
+ return `${e}-${n}-${r}`;
270
+ }
271
+ function zt(t) {
272
+ return new Date(t);
273
+ }
274
+ function q(t, e) {
275
+ const n = [];
276
+ let r = y(t);
277
+ const a = y(e);
278
+ for (; r <= a; )
279
+ n.push(new Date(r)), r = m(r, 1);
280
+ return n;
281
+ }
282
+ function Kt(t, e) {
283
+ const n = [];
284
+ let r = new Date(t);
285
+ for (; r <= e; )
286
+ n.push(new Date(r)), r = X(r, 1);
287
+ return n;
288
+ }
289
+ function jt(t = "en-US", e = "short") {
290
+ const n = new Intl.DateTimeFormat(t, { weekday: e }), r = [], a = new Date(2024, 0, 7);
291
+ for (let s = 0; s < 7; s++)
292
+ r.push(n.format(m(a, s)));
293
+ return r;
294
+ }
295
+ function Jt(t = "en-US", e = "long") {
296
+ const n = new Intl.DateTimeFormat(t, { month: e }), r = [];
297
+ for (let a = 0; a < 12; a++)
298
+ r.push(n.format(new Date(2024, a, 1)));
299
+ return r;
300
+ }
301
+ function Xt(t) {
302
+ const e = [];
303
+ for (let n = t.startHour; n <= t.endHour; n++)
304
+ e.push(n);
305
+ return e;
306
+ }
307
+ function qt(t, e = "24h") {
308
+ if (e === "12h") {
309
+ const n = t >= 12 ? "PM" : "AM";
310
+ return `${t % 12 || 12} ${n}`;
311
+ }
312
+ return `${String(t).padStart(2, "0")}:00`;
313
+ }
314
+ function Qt(t, e = 1) {
315
+ const n = w(t, e), r = [];
316
+ for (let a = 0; a < 7; a++)
317
+ r.push(m(n, a));
318
+ return r;
319
+ }
320
+ function Zt(t, e = 1) {
321
+ const n = b(t), r = k(t), a = w(n, e), s = M(r, e), o = t.getMonth();
322
+ return q(a, s).map((i) => ({
323
+ date: i,
324
+ isCurrentMonth: i.getMonth() === o,
325
+ isWeekend: i.getDay() === 0 || i.getDay() === 6
326
+ }));
327
+ }
328
+ function te(t) {
329
+ const e = [], n = [];
330
+ for (const r of t)
331
+ I(r.startDate, r.endDate) ? e.push(r) : n.push(r);
332
+ return { singleDay: e, multiDay: n };
333
+ }
334
+ function ee(t, e, n) {
335
+ return t.filter((r) => r.startDate <= n && r.endDate >= e);
336
+ }
337
+ function ne(t, e, n) {
338
+ if (!n) return !0;
339
+ const r = t.getDay(), a = n[r];
340
+ return !a || a.from === a.to ? !1 : e >= a.from && e < a.to;
341
+ }
342
+ function re(t, e) {
343
+ const n = t.getDay(), r = e[n];
344
+ return !r || r.from === r.to ? null : r;
345
+ }
346
+ function ae(t) {
347
+ const e = [];
348
+ for (let n = 0; n < 12; n++)
349
+ e.push(new Date(t, n, 1));
350
+ return e;
351
+ }
352
+ function Q(t, e, n = 1) {
353
+ switch (e) {
354
+ case "day":
355
+ case "resource-day":
356
+ case "timeline-day":
357
+ return {
358
+ startDate: y(t),
359
+ endDate: E(t)
360
+ };
361
+ case "week":
362
+ case "resource-week":
363
+ case "timeline-week":
364
+ return {
365
+ startDate: w(t, n),
366
+ endDate: M(t, n)
367
+ };
368
+ case "month":
369
+ const r = b(t), a = k(t);
370
+ return {
371
+ startDate: w(r, n),
372
+ endDate: M(a, n)
373
+ };
374
+ case "year":
375
+ return {
376
+ startDate: B(t),
377
+ endDate: J(t)
378
+ };
379
+ case "agenda":
380
+ return {
381
+ startDate: y(t),
382
+ endDate: E(m(t, 29))
383
+ };
384
+ default:
385
+ return {
386
+ startDate: y(t),
387
+ endDate: E(t)
388
+ };
389
+ }
390
+ }
391
+ function se(t, e) {
392
+ switch (e) {
393
+ case "day":
394
+ case "resource-day":
395
+ case "timeline-day":
396
+ return m(t, 1);
397
+ case "week":
398
+ case "resource-week":
399
+ case "timeline-week":
400
+ return x(t, 1);
401
+ case "month":
402
+ return v(t, 1);
403
+ case "year":
404
+ return R(t, 1);
405
+ case "agenda":
406
+ return x(t, 1);
407
+ default:
408
+ return m(t, 1);
409
+ }
410
+ }
411
+ function oe(t, e) {
412
+ switch (e) {
413
+ case "day":
414
+ case "resource-day":
415
+ case "timeline-day":
416
+ return m(t, -1);
417
+ case "week":
418
+ case "resource-week":
419
+ case "timeline-week":
420
+ return x(t, -1);
421
+ case "month":
422
+ return v(t, -1);
423
+ case "year":
424
+ return R(t, -1);
425
+ case "agenda":
426
+ return x(t, -1);
427
+ default:
428
+ return m(t, -1);
429
+ }
430
+ }
431
+ function ue() {
432
+ return y(/* @__PURE__ */ new Date());
433
+ }
434
+ function ie(t, e = 1) {
435
+ const n = b(t), r = k(t), a = w(n, e), s = M(r, e), o = [];
436
+ let u = a;
437
+ for (; u <= s; )
438
+ o.push({
439
+ date: new Date(u),
440
+ isToday: N(u),
441
+ isCurrentMonth: O(u, t),
442
+ isWeekend: P(u),
443
+ dayOfWeek: u.getDay()
444
+ }), u = m(u, 1);
445
+ return o;
446
+ }
447
+ function ce(t, e = 1) {
448
+ const n = w(t, e), r = [];
449
+ for (let a = 0; a < 7; a++) {
450
+ const s = m(n, a);
451
+ r.push({
452
+ date: s,
453
+ isToday: N(s),
454
+ isCurrentMonth: O(s, t),
455
+ isWeekend: P(s),
456
+ dayOfWeek: s.getDay()
457
+ });
458
+ }
459
+ return r;
460
+ }
461
+ function le(t) {
462
+ const e = B(t), n = [];
463
+ for (let r = 0; r < 12; r++) {
464
+ const a = v(e, r);
465
+ n.push({
466
+ date: a,
467
+ isToday: O(a, /* @__PURE__ */ new Date()),
468
+ isCurrentMonth: !0,
469
+ isWeekend: !1,
470
+ dayOfWeek: a.getDay()
471
+ });
472
+ }
473
+ return n;
474
+ }
475
+ function ge(t, e, n = 30) {
476
+ const r = [], a = 60 / n;
477
+ for (let s = t; s < e; s++)
478
+ for (let o = 0; o < a; o++) {
479
+ const u = o * n;
480
+ r.push({
481
+ hour: s,
482
+ minute: u,
483
+ label: `${s.toString().padStart(2, "0")}:${u.toString().padStart(2, "0")}`
484
+ });
485
+ }
486
+ return r;
487
+ }
488
+ function fe(t, e, n = "24h") {
489
+ const r = [];
490
+ for (let a = t; a <= e; a++) {
491
+ let s;
492
+ if (n === "12h") {
493
+ const o = a >= 12 ? "PM" : "AM";
494
+ s = `${a % 12 || 12} ${o}`;
495
+ } else
496
+ s = `${a.toString().padStart(2, "0")}:00`;
497
+ r.push({ hour: a, label: s });
498
+ }
499
+ return r;
500
+ }
501
+ function de(t, e, n = "en-US") {
502
+ const r = new Intl.DateTimeFormat(n, { weekday: "short", month: "short", day: "numeric" }), a = new Intl.DateTimeFormat(n, { month: "short", day: "numeric" });
503
+ switch (e) {
504
+ case "day":
505
+ case "resource-day":
506
+ case "timeline-day":
507
+ return r.format(t);
508
+ case "week":
509
+ case "resource-week":
510
+ case "timeline-week": {
511
+ const s = w(t, 1), o = M(t, 1);
512
+ return `${a.format(s)} - ${a.format(o)}`;
513
+ }
514
+ case "month": {
515
+ const s = b(t), o = k(t);
516
+ return `${a.format(s)} - ${a.format(o)}`;
517
+ }
518
+ case "year":
519
+ return `Jan 1 - Dec 31, ${t.getFullYear()}`;
520
+ case "agenda": {
521
+ const s = b(t), o = k(t);
522
+ return `${a.format(s)} - ${a.format(o)}`;
523
+ }
524
+ default:
525
+ return "";
526
+ }
527
+ }
528
+ function De(t, e, n, r = 1) {
529
+ const a = Q(e, n, r);
530
+ return t.filter((s) => s.startDate <= a.endDate && s.endDate >= a.startDate).length;
531
+ }
532
+ function me(t, e, n = "en-US") {
533
+ const r = new Intl.DateTimeFormat(n, { month: "long", year: "numeric" }), a = new Intl.DateTimeFormat(n, {
534
+ weekday: "long",
535
+ month: "long",
536
+ day: "numeric",
537
+ year: "numeric"
538
+ });
539
+ switch (e) {
540
+ case "day":
541
+ case "resource-day":
542
+ case "timeline-day":
543
+ return a.format(t);
544
+ case "week":
545
+ case "resource-week":
546
+ case "timeline-week": {
547
+ const s = w(t, 1), o = M(t, 1), u = new Intl.DateTimeFormat(n, { month: "short" }).format(s), i = new Intl.DateTimeFormat(n, { month: "short" }).format(o), c = s.getFullYear();
548
+ return u === i ? `${u} ${s.getDate()} - ${o.getDate()}, ${c}` : `${u} ${s.getDate()} - ${i} ${o.getDate()}, ${c}`;
549
+ }
550
+ case "month":
551
+ return r.format(t);
552
+ case "year":
553
+ return t.getFullYear().toString();
554
+ case "agenda":
555
+ return `Agenda - ${r.format(t)}`;
556
+ default:
557
+ return r.format(t);
558
+ }
559
+ }
560
+ function he(t = 1, e = "short", n = "en-US") {
561
+ const r = new Intl.DateTimeFormat(n, { weekday: e }), a = [], s = new Date(2024, 0, 7);
562
+ for (let o = 0; o < 7; o++) {
563
+ const u = (t + o) % 7, i = m(s, u);
564
+ a.push({
565
+ dayOfWeek: u,
566
+ label: r.format(i)
567
+ });
568
+ }
569
+ return a;
570
+ }
571
+ function Z(t, e, n) {
572
+ const r = y(e), a = E(n);
573
+ return t.filter((s) => {
574
+ const o = s.startDate, u = s.endDate;
575
+ return o <= a && u >= r;
576
+ });
577
+ }
578
+ function tt(t, e) {
579
+ return e.length === 0 ? t : t.filter(
580
+ (n) => n.scheduleTypeId !== void 0 && e.includes(n.scheduleTypeId)
581
+ );
582
+ }
583
+ function et(t, e) {
584
+ return e.length === 0 ? t : t.filter(
585
+ (n) => n.resourceId !== void 0 && e.includes(n.resourceId)
586
+ );
587
+ }
588
+ function nt(t, e) {
589
+ if (!e.trim()) return t;
590
+ const n = e.toLowerCase();
591
+ return t.filter((r) => {
592
+ const a = r.title.toLowerCase().includes(n), s = r.description?.toLowerCase().includes(n);
593
+ return a || s;
594
+ });
595
+ }
596
+ function rt(t) {
597
+ return t.filter((e) => !e.isCanceled);
598
+ }
599
+ function ye(t, e) {
600
+ let n = [...t];
601
+ return e.dateRange && (n = Z(n, e.dateRange.startDate, e.dateRange.endDate)), e.scheduleTypeIds && e.scheduleTypeIds.length > 0 && (n = tt(n, e.scheduleTypeIds)), e.resourceIds && e.resourceIds.length > 0 && (n = et(n, e.resourceIds)), e.search && (n = nt(n, e.search)), e.showCanceled || (n = rt(n)), n;
602
+ }
603
+ function we(t) {
604
+ return [...t].sort((e, n) => e.startDate.getTime() - n.startDate.getTime());
605
+ }
606
+ function pe(t) {
607
+ return [...t].sort((e, n) => e.endDate.getTime() - n.endDate.getTime());
608
+ }
609
+ function Te(t) {
610
+ return [...t].sort((e, n) => {
611
+ const r = e.endDate.getTime() - e.startDate.getTime();
612
+ return n.endDate.getTime() - n.startDate.getTime() - r;
613
+ });
614
+ }
615
+ function Se(t) {
616
+ const e = /* @__PURE__ */ new Map();
617
+ for (const n of t) {
618
+ const r = y(n.startDate).toISOString(), a = e.get(r) ?? [];
619
+ a.push(n), e.set(r, a);
620
+ }
621
+ return e;
622
+ }
623
+ function Me(t) {
624
+ const e = /* @__PURE__ */ new Map();
625
+ for (const n of t) {
626
+ const r = e.get(n.scheduleTypeId) ?? [];
627
+ r.push(n), e.set(n.scheduleTypeId, r);
628
+ }
629
+ return e;
630
+ }
631
+ function Ee(t) {
632
+ const e = /* @__PURE__ */ new Map();
633
+ for (const n of t) {
634
+ const r = e.get(n.resourceId) ?? [];
635
+ r.push(n), e.set(n.resourceId, r);
636
+ }
637
+ return e;
638
+ }
639
+ function He(t, e) {
640
+ return t.filter((n) => {
641
+ const r = y(e), a = E(e);
642
+ return n.startDate <= a && n.endDate >= r;
643
+ });
644
+ }
645
+ function be(t) {
646
+ return t.filter((e) => e.isAllDay);
647
+ }
648
+ function ke(t) {
649
+ return t.filter((e) => !e.isAllDay);
650
+ }
651
+ function Ie(t) {
652
+ return t.filter((e) => e.isMultiDay ? !0 : !I(e.startDate, e.endDate));
653
+ }
654
+ function xe(t) {
655
+ return t.isMultiDay ? !0 : !I(t.startDate, t.endDate);
656
+ }
657
+ function Fe(t) {
658
+ return Math.floor((t.endDate.getTime() - t.startDate.getTime()) / 6e4);
659
+ }
660
+ function Ce(t, e = "blue") {
661
+ return t.color ?? e;
662
+ }
663
+ function ve(t, e, n = "blue") {
664
+ if (t.color) return t.color;
665
+ if (t.scheduleTypeId !== void 0 && e) {
666
+ const r = e.get(t.scheduleTypeId);
667
+ if (r) return r;
668
+ }
669
+ return n;
670
+ }
671
+ function at(t, e, n, r = C) {
672
+ const { startHour: a, endHour: s } = n, o = s - a, u = o * r, i = t.startDate.getHours() + t.startDate.getMinutes() / 60, c = t.endDate.getHours() + t.endDate.getMinutes() / 60, l = Math.max(i, a), g = Math.min(c, s), f = (l - a) / o * u, D = (g - a) / o * u, S = Math.max(D - f, j);
673
+ return {
674
+ top: f,
675
+ height: S,
676
+ left: 0,
677
+ width: 100,
678
+ zIndex: 1
679
+ };
680
+ }
681
+ function Oe(t, e, n, r = C) {
682
+ if (t.length === 0) return [];
683
+ const a = [...t].sort((c, l) => {
684
+ const g = c.startDate.getTime() - l.startDate.getTime();
685
+ if (g !== 0) return g;
686
+ const f = c.endDate.getTime() - c.startDate.getTime();
687
+ return l.endDate.getTime() - l.startDate.getTime() - f;
688
+ }), s = [], o = [];
689
+ for (const c of a) {
690
+ const l = c.startDate.getTime(), g = c.endDate.getTime();
691
+ let f = -1;
692
+ for (let h = 0; h < s.length; h++) {
693
+ const d = s[h];
694
+ if (!d) continue;
695
+ const p = d[d.length - 1];
696
+ if (p && p.endTime <= l) {
697
+ f = h;
698
+ break;
699
+ }
700
+ }
701
+ f === -1 && (f = s.length, s.push([]));
702
+ const D = s[f];
703
+ D && D.push({ event: c, endTime: g });
704
+ const S = at(c, e, n, r);
705
+ o.push({
706
+ event: c,
707
+ position: S,
708
+ column: f,
709
+ columnSpan: 1
710
+ });
711
+ }
712
+ const i = 100 / s.length;
713
+ for (const c of o)
714
+ c.position.left = c.column * i, c.position.width = i * c.columnSpan, c.position.zIndex = c.column + 1;
715
+ return o;
716
+ }
717
+ function Re(t, e, n, r = C, a = 30) {
718
+ const { startHour: s, endHour: o } = n, u = o - s, i = u * r, c = t / i * u, g = (s + c) * 60, f = Math.round(g / a) * a, D = new Date(e);
719
+ return D.setHours(0, 0, 0, 0), D.setMinutes(f), D;
720
+ }
721
+ function _e(t, e, n = C) {
722
+ const { startHour: r, endHour: a } = e, s = a - r, o = s * n, u = t.getHours() + t.getMinutes() / 60;
723
+ return (Math.max(r, Math.min(u, a)) - r) / s * o;
724
+ }
725
+ function $e(t, e) {
726
+ return t.startDate < e.endDate && t.endDate > e.startDate;
727
+ }
728
+ function We(t) {
729
+ if (t.length === 0) return [];
730
+ const e = [...t].sort((s, o) => s.startDate.getTime() - o.startDate.getTime()), n = [];
731
+ let r = [], a = 0;
732
+ for (const s of e)
733
+ r.length === 0 || s.startDate.getTime() < a ? (r.push(s), a = Math.max(a, s.endDate.getTime())) : (r.length > 0 && n.push(r), r = [s], a = s.endDate.getTime());
734
+ return r.length > 0 && n.push(r), n;
735
+ }
736
+ function Ye(t, e, n) {
737
+ const r = Math.max(0, Math.min(t, e)), a = Math.min(n, Math.max(t, e));
738
+ return {
739
+ top: r,
740
+ height: a - r
741
+ };
742
+ }
743
+ const $ = L(void 0);
744
+ function Ue({
745
+ children: t,
746
+ onEventDrop: e
747
+ }) {
748
+ const [n, r] = A(null), a = T((i) => {
749
+ const c = typeof i.startDate == "string" ? new Date(i.startDate) : i.startDate, l = typeof i.endDate == "string" ? new Date(i.endDate) : i.endDate;
750
+ r({
751
+ event: i,
752
+ originalStartDate: c,
753
+ originalEndDate: l
754
+ });
755
+ }, []), s = T(
756
+ (i, c, l) => {
757
+ r((g) => g ? {
758
+ ...g,
759
+ previewDate: i,
760
+ previewHour: c,
761
+ previewMinute: l
762
+ } : null);
763
+ },
764
+ []
765
+ ), o = T(() => {
766
+ if (!n) return null;
767
+ const { event: i, originalStartDate: c, originalEndDate: l, previewDate: g, previewHour: f, previewMinute: D } = n, S = l.getTime() - c.getTime();
768
+ let h;
769
+ g ? (h = new Date(g), typeof f == "number" ? h.setHours(f, D ?? 0, 0, 0) : h.setHours(
770
+ c.getHours(),
771
+ c.getMinutes(),
772
+ c.getSeconds(),
773
+ 0
774
+ )) : h = c;
775
+ const d = new Date(h.getTime() + S), p = {
776
+ event: i,
777
+ newStartDate: h,
778
+ newEndDate: d
779
+ };
780
+ return r(null), e?.(p), p;
781
+ }, [n, e]), u = T(() => {
782
+ r(null);
783
+ }, []);
784
+ return /* @__PURE__ */ U(
785
+ $.Provider,
786
+ {
787
+ value: {
788
+ dragState: n,
789
+ isDragging: n !== null,
790
+ startDrag: a,
791
+ updateDragPreview: s,
792
+ endDrag: o,
793
+ cancelDrag: u
794
+ },
795
+ children: t
796
+ }
797
+ );
798
+ }
799
+ function Ae() {
800
+ const t = F($);
801
+ if (!t)
802
+ throw new Error("useDragDrop must be used within a DragDropProvider");
803
+ return t;
804
+ }
805
+ function Le() {
806
+ return F($) ?? null;
807
+ }
808
+ const W = L(
809
+ void 0
810
+ );
811
+ function H(t) {
812
+ const e = new Date(t.date);
813
+ return typeof t.hour == "number" && e.setHours(t.hour, t.minute ?? 0, 0, 0), e;
814
+ }
815
+ function st(t) {
816
+ const e = new Date(t), n = e.getMinutes(), r = Math.floor(n / 30) * 30;
817
+ return e.setMinutes(r, 0, 0), e;
818
+ }
819
+ function ot(t, e) {
820
+ return t.getFullYear() === e.getFullYear() && t.getMonth() === e.getMonth() && t.getDate() === e.getDate();
821
+ }
822
+ function Y(t, e, n, r, a = 30) {
823
+ const s = H(t), o = H(e);
824
+ let u = s, i = o;
825
+ if (o < s && (u = o, i = s), n === "day")
826
+ if (ot(u, i)) {
827
+ const l = st(/* @__PURE__ */ new Date());
828
+ u = new Date(u), u.setHours(
829
+ l.getHours(),
830
+ l.getMinutes(),
831
+ 0,
832
+ 0
833
+ ), i = new Date(
834
+ u.getTime() + r * 60 * 1e3
835
+ );
836
+ } else
837
+ u.setHours(0, 0, 0, 0), i.setHours(23, 59, 59, 999);
838
+ else {
839
+ const c = a * 60 * 1e3;
840
+ i = new Date(i.getTime() + c);
841
+ const l = i.getTime() - u.getTime(), g = r * 60 * 1e3;
842
+ l < g && (i = new Date(u.getTime() + g));
843
+ }
844
+ return {
845
+ startDate: u,
846
+ endDate: i
847
+ };
848
+ }
849
+ function ut(t, e, n, r) {
850
+ const a = H(t), s = H(e), o = H(n), u = s <= o ? s : o, i = s <= o ? o : s;
851
+ if (r === "day") {
852
+ const c = new Date(a);
853
+ c.setHours(0, 0, 0, 0);
854
+ const l = new Date(u);
855
+ l.setHours(0, 0, 0, 0);
856
+ const g = new Date(i);
857
+ return g.setHours(0, 0, 0, 0), c >= l && c <= g;
858
+ }
859
+ return a >= u && a <= i;
860
+ }
861
+ function Ne({
862
+ children: t,
863
+ mode: e = "time",
864
+ onSelect: n,
865
+ minDurationMinutes: r = 30,
866
+ slotDurationMinutes: a = 30,
867
+ enabled: s = !0
868
+ }) {
869
+ const [o, u] = A(null), i = V(!1), c = T(
870
+ (d) => {
871
+ s && (i.current = !0, u({
872
+ start: d,
873
+ end: d,
874
+ isSelecting: !0
875
+ }));
876
+ },
877
+ [s]
878
+ ), l = T(
879
+ (d) => {
880
+ s && i.current && u((p) => p ? {
881
+ ...p,
882
+ end: d
883
+ } : null);
884
+ },
885
+ [s]
886
+ ), g = T(() => {
887
+ i.current && (i.current = !1, u((d) => {
888
+ if (!d) return null;
889
+ const p = Y(
890
+ d.start,
891
+ d.end,
892
+ e,
893
+ r,
894
+ a
895
+ );
896
+ return n?.(p), {
897
+ ...d,
898
+ isSelecting: !1
899
+ };
900
+ }), setTimeout(() => {
901
+ u(null);
902
+ }, 100));
903
+ }, [e, r, a, n]), f = T(() => {
904
+ i.current = !1, u(null);
905
+ }, []), D = T(
906
+ (d) => o ? ut(d, o.start, o.end, e) : !1,
907
+ [o, e]
908
+ ), S = T(() => o ? Y(
909
+ o.start,
910
+ o.end,
911
+ e,
912
+ r,
913
+ a
914
+ ) : null, [o, e, r, a]), h = G(
915
+ () => ({
916
+ isSelecting: o?.isSelecting ?? !1,
917
+ startSelection: c,
918
+ updateSelection: l,
919
+ endSelection: g,
920
+ cancelSelection: f,
921
+ isSlotSelected: D,
922
+ getSelectionResult: S,
923
+ mode: e
924
+ }),
925
+ [
926
+ o?.isSelecting,
927
+ c,
928
+ l,
929
+ g,
930
+ f,
931
+ D,
932
+ S,
933
+ e
934
+ ]
935
+ );
936
+ return /* @__PURE__ */ U(W.Provider, { value: h, children: t });
937
+ }
938
+ function Pe() {
939
+ const t = F(W);
940
+ if (!t)
941
+ throw new Error(
942
+ "useSlotSelectionContext must be used within a SlotSelectionProvider"
943
+ );
944
+ return t;
945
+ }
946
+ function Be() {
947
+ return F(W);
948
+ }
949
+ export {
950
+ ce as $,
951
+ _ as A,
952
+ Nt as B,
953
+ lt as C,
954
+ Mt as D,
955
+ mt as E,
956
+ q as F,
957
+ Kt as G,
958
+ yt as H,
959
+ E as I,
960
+ k as J,
961
+ M as K,
962
+ J as L,
963
+ pt as M,
964
+ $e as N,
965
+ Z as O,
966
+ et as P,
967
+ tt as Q,
968
+ nt as R,
969
+ Ne as S,
970
+ rt as T,
971
+ Gt as U,
972
+ qt as V,
973
+ Vt as W,
974
+ fe as X,
975
+ ie as Y,
976
+ Zt as Z,
977
+ ge as _,
978
+ C as a,
979
+ Re as a$,
980
+ le as a0,
981
+ be as a1,
982
+ bt as a2,
983
+ Ct as a3,
984
+ $t as a4,
985
+ Ce as a5,
986
+ Fe as a6,
987
+ De as a7,
988
+ He as a8,
989
+ ee as a9,
990
+ P as aA,
991
+ ne as aB,
992
+ Lt as aC,
993
+ At as aD,
994
+ se as aE,
995
+ oe as aF,
996
+ ue as aG,
997
+ zt as aH,
998
+ ve as aI,
999
+ te as aJ,
1000
+ _t as aK,
1001
+ Te as aL,
1002
+ pe as aM,
1003
+ we as aN,
1004
+ y as aO,
1005
+ b as aP,
1006
+ w as aQ,
1007
+ B as aR,
1008
+ Ht as aS,
1009
+ Ft as aT,
1010
+ kt as aU,
1011
+ vt as aV,
1012
+ _e as aW,
1013
+ Ae as aX,
1014
+ Le as aY,
1015
+ Be as aZ,
1016
+ Pe as a_,
1017
+ Jt as aa,
1018
+ Ie as ab,
1019
+ We as ac,
1020
+ de as ad,
1021
+ ke as ae,
1022
+ Q as af,
1023
+ me as ag,
1024
+ Xt as ah,
1025
+ Qt as ai,
1026
+ It as aj,
1027
+ he as ak,
1028
+ jt as al,
1029
+ re as am,
1030
+ ae as an,
1031
+ Se as ao,
1032
+ Ee as ap,
1033
+ Me as aq,
1034
+ Yt as ar,
1035
+ Wt as as,
1036
+ Ut as at,
1037
+ xe as au,
1038
+ I as av,
1039
+ O as aw,
1040
+ xt as ax,
1041
+ Ot as ay,
1042
+ N as az,
1043
+ gt as b,
1044
+ Et as c,
1045
+ St as d,
1046
+ Dt as e,
1047
+ ft as f,
1048
+ dt as g,
1049
+ Ue as h,
1050
+ ht as i,
1051
+ wt as j,
1052
+ j as k,
1053
+ Tt as l,
1054
+ K as m,
1055
+ z as n,
1056
+ m as o,
1057
+ X as p,
1058
+ Rt as q,
1059
+ v as r,
1060
+ x as s,
1061
+ R as t,
1062
+ ye as u,
1063
+ at as v,
1064
+ Oe as w,
1065
+ Ye as x,
1066
+ Bt as y,
1067
+ Pt as z
1068
+ };
1069
+ //# sourceMappingURL=slot-selection-context-BCNnYGHC.js.map