@lazar-ui/kit 0.1.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 (100) hide show
  1. package/README.md +182 -0
  2. package/dist/Overlay-RmiBtqDR.mjs +1011 -0
  3. package/dist/accordion.css +1 -0
  4. package/dist/accordion.d.ts +53 -0
  5. package/dist/accordion.js +48 -0
  6. package/dist/alert.css +1 -0
  7. package/dist/alert.d.ts +33 -0
  8. package/dist/alert.js +20 -0
  9. package/dist/avatar.css +1 -0
  10. package/dist/avatar.d.ts +34 -0
  11. package/dist/avatar.js +41 -0
  12. package/dist/badge.css +1 -0
  13. package/dist/badge.d.ts +33 -0
  14. package/dist/badge.js +23 -0
  15. package/dist/breadcrumbs.css +1 -0
  16. package/dist/breadcrumbs.d.ts +80 -0
  17. package/dist/breadcrumbs.js +63 -0
  18. package/dist/button.css +1 -0
  19. package/dist/button.d.ts +66 -0
  20. package/dist/button.js +46 -0
  21. package/dist/camelCase-PtIYufW8.mjs +528 -0
  22. package/dist/card.css +1 -0
  23. package/dist/card.d.ts +42 -0
  24. package/dist/card.js +24 -0
  25. package/dist/checkbox.css +1 -0
  26. package/dist/checkbox.d.ts +41 -0
  27. package/dist/checkbox.js +42 -0
  28. package/dist/clsx-OuTLNxxd.mjs +16 -0
  29. package/dist/config-provider.d.ts +78 -0
  30. package/dist/config-provider.js +14 -0
  31. package/dist/css/palettes/indigo.css +104 -0
  32. package/dist/css/palettes/monochrome.css +104 -0
  33. package/dist/css/semantic.css +113 -0
  34. package/dist/dialog.css +1 -0
  35. package/dist/dialog.d.ts +91 -0
  36. package/dist/dialog.js +75 -0
  37. package/dist/drawer.css +1 -0
  38. package/dist/drawer.d.ts +128 -0
  39. package/dist/drawer.js +106 -0
  40. package/dist/empty-state.css +1 -0
  41. package/dist/empty-state.d.ts +33 -0
  42. package/dist/empty-state.js +52 -0
  43. package/dist/error-boundary.css +1 -0
  44. package/dist/error-boundary.d.ts +55 -0
  45. package/dist/error-boundary.js +37 -0
  46. package/dist/flex.css +1 -0
  47. package/dist/flex.d.ts +68 -0
  48. package/dist/flex.js +73 -0
  49. package/dist/form-field.css +1 -0
  50. package/dist/form-field.d.ts +27 -0
  51. package/dist/form-field.js +22 -0
  52. package/dist/getComponentSlots-DwAYUFNk.mjs +16 -0
  53. package/dist/getVariantClassName-D7Nhpuec.mjs +8 -0
  54. package/dist/input.css +1 -0
  55. package/dist/input.d.ts +39 -0
  56. package/dist/input.js +146 -0
  57. package/dist/isValidReactNode-CmYwTWCE.mjs +18 -0
  58. package/dist/menu.css +1 -0
  59. package/dist/menu.d.ts +94 -0
  60. package/dist/menu.js +135 -0
  61. package/dist/pagination.css +1 -0
  62. package/dist/pagination.d.ts +40 -0
  63. package/dist/pagination.js +74 -0
  64. package/dist/popover.css +1 -0
  65. package/dist/popover.d.ts +54 -0
  66. package/dist/popover.js +65 -0
  67. package/dist/select.css +1 -0
  68. package/dist/select.d.ts +64 -0
  69. package/dist/select.js +170 -0
  70. package/dist/separator.css +1 -0
  71. package/dist/separator.d.ts +25 -0
  72. package/dist/separator.js +24 -0
  73. package/dist/skeleton.css +1 -0
  74. package/dist/skeleton.d.ts +38 -0
  75. package/dist/skeleton.js +27 -0
  76. package/dist/spinner.css +1 -0
  77. package/dist/spinner.d.ts +31 -0
  78. package/dist/spinner.js +29 -0
  79. package/dist/switch.css +1 -0
  80. package/dist/switch.d.ts +44 -0
  81. package/dist/switch.js +37 -0
  82. package/dist/table.css +1 -0
  83. package/dist/table.d.ts +60 -0
  84. package/dist/table.js +40 -0
  85. package/dist/tabs.css +1 -0
  86. package/dist/tabs.d.ts +69 -0
  87. package/dist/tabs.js +79 -0
  88. package/dist/textarea.css +1 -0
  89. package/dist/textarea.d.ts +53 -0
  90. package/dist/textarea.js +46 -0
  91. package/dist/tooltip.css +1 -0
  92. package/dist/tooltip.d.ts +38 -0
  93. package/dist/tooltip.js +99 -0
  94. package/dist/useLocale-D2Z0JH0l.mjs +70 -0
  95. package/dist/useModalOverlay-D5Bs9FCB.mjs +486 -0
  96. package/dist/useOverlayPosition-DVu1Qziq.mjs +451 -0
  97. package/dist/useOverlayTriggerState-BIo1Jcba.mjs +221 -0
  98. package/dist/utils.d.ts +58 -0
  99. package/dist/utils.js +18 -0
  100. package/package.json +76 -0
@@ -0,0 +1,1011 @@
1
+ import v, { useRef as S, useCallback as de, useContext as M, useState as fe, useMemo as D, useEffect as $e, createContext as Ce } from "react";
2
+ import _e from "react-dom";
3
+ function J(e) {
4
+ if (Fe()) e.focus({
5
+ preventScroll: !0
6
+ });
7
+ else {
8
+ let t = Re(e);
9
+ e.focus(), Me(t);
10
+ }
11
+ }
12
+ let V = null;
13
+ function Fe() {
14
+ if (V == null) {
15
+ V = !1;
16
+ try {
17
+ document.createElement("div").focus({
18
+ get preventScroll() {
19
+ return V = !0, !0;
20
+ }
21
+ });
22
+ } catch {
23
+ }
24
+ }
25
+ return V;
26
+ }
27
+ function Re(e) {
28
+ let t = e.parentNode, r = [], n = document.scrollingElement || document.documentElement;
29
+ for (; t instanceof HTMLElement && t !== n; )
30
+ (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && r.push({
31
+ element: t,
32
+ scrollTop: t.scrollTop,
33
+ scrollLeft: t.scrollLeft
34
+ }), t = t.parentNode;
35
+ return n instanceof HTMLElement && r.push({
36
+ element: n,
37
+ scrollTop: n.scrollTop,
38
+ scrollLeft: n.scrollLeft
39
+ }), r;
40
+ }
41
+ function Me(e) {
42
+ for (let { element: t, scrollTop: r, scrollLeft: n } of e)
43
+ t.scrollTop = r, t.scrollLeft = n;
44
+ }
45
+ const h = (e) => e?.ownerDocument ?? document, R = (e) => e && "window" in e && e.window === e ? e : h(e).defaultView || window;
46
+ function Oe(e) {
47
+ return e !== null && typeof e == "object" && "nodeType" in e && typeof e.nodeType == "number";
48
+ }
49
+ function De(e) {
50
+ return Oe(e) && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE && "host" in e;
51
+ }
52
+ let Ae = !1;
53
+ function U() {
54
+ return Ae;
55
+ }
56
+ function W(e, t) {
57
+ if (!U()) return t && e ? e.contains(t) : !1;
58
+ if (!e || !t) return !1;
59
+ let r = t;
60
+ for (; r !== null; ) {
61
+ if (r === e) return !0;
62
+ r.tagName === "SLOT" && r.assignedSlot ? r = r.assignedSlot.parentNode : De(r) ? r = r.host : r = r.parentNode;
63
+ }
64
+ return !1;
65
+ }
66
+ const w = (e = document) => {
67
+ if (!U()) return e.activeElement;
68
+ let t = e.activeElement;
69
+ for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement; ) t = t.shadowRoot.activeElement;
70
+ return t;
71
+ };
72
+ function m(e) {
73
+ if (U() && e.target instanceof Element && e.target.shadowRoot) {
74
+ if ("composedPath" in e) return e.composedPath()[0] ?? null;
75
+ if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;
76
+ }
77
+ return e.target;
78
+ }
79
+ function Lt(e) {
80
+ if (!e) return !1;
81
+ let t = e.getRootNode(), r = R(e);
82
+ if (!(t instanceof r.Document || t instanceof r.ShadowRoot)) return !1;
83
+ let n = t.activeElement;
84
+ return n != null && e.contains(n);
85
+ }
86
+ const Pe = typeof Element < "u" && "checkVisibility" in Element.prototype;
87
+ function Ke(e) {
88
+ const t = R(e);
89
+ if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
90
+ let { display: r, visibility: n } = e.style, o = r !== "none" && n !== "hidden" && n !== "collapse";
91
+ if (o) {
92
+ const { getComputedStyle: i } = e.ownerDocument.defaultView;
93
+ let { display: c, visibility: a } = i(e);
94
+ o = c !== "none" && a !== "hidden" && a !== "collapse";
95
+ }
96
+ return o;
97
+ }
98
+ function Ie(e, t) {
99
+ return !e.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
100
+ !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
101
+ }
102
+ function te(e, t) {
103
+ return Pe ? e.checkVisibility({
104
+ visibilityProperty: !0
105
+ }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Ke(e) && Ie(e, t) && (!e.parentElement || te(e.parentElement, e));
106
+ }
107
+ const re = [
108
+ "input:not([disabled]):not([type=hidden])",
109
+ "select:not([disabled])",
110
+ "textarea:not([disabled])",
111
+ "button:not([disabled])",
112
+ "a[href]",
113
+ "area[href]",
114
+ "summary",
115
+ "iframe",
116
+ "object",
117
+ "embed",
118
+ "audio[controls]",
119
+ "video[controls]",
120
+ '[contenteditable]:not([contenteditable^="false"])',
121
+ "permission"
122
+ ], Ve = re.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
123
+ re.push('[tabindex]:not([tabindex="-1"]):not([disabled])');
124
+ const We = re.join(':not([hidden]):not([tabindex="-1"]),');
125
+ function He(e, t) {
126
+ return e.matches(Ve) && !be(e) && (t?.skipVisibilityCheck || te(e));
127
+ }
128
+ function je(e) {
129
+ return e.matches(We) && te(e) && !be(e);
130
+ }
131
+ function be(e) {
132
+ let t = e;
133
+ for (; t != null; ) {
134
+ if (t instanceof t.ownerDocument.defaultView.HTMLElement && t.inert) return !0;
135
+ t = t.parentElement;
136
+ }
137
+ return !1;
138
+ }
139
+ const N = typeof document < "u" ? v.useLayoutEffect : () => {
140
+ };
141
+ function Be(e) {
142
+ let t = e;
143
+ return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {
144
+ }, t;
145
+ }
146
+ function kt(e, t) {
147
+ Object.defineProperty(e, "target", {
148
+ value: t
149
+ }), Object.defineProperty(e, "currentTarget", {
150
+ value: t
151
+ });
152
+ }
153
+ function Ct(e) {
154
+ let t = S({
155
+ isFocused: !1,
156
+ observer: null
157
+ });
158
+ return N(() => {
159
+ const r = t.current;
160
+ return () => {
161
+ r.observer && (r.observer.disconnect(), r.observer = null);
162
+ };
163
+ }, []), de((r) => {
164
+ let n = m(r);
165
+ if (n instanceof HTMLButtonElement || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement || n instanceof HTMLSelectElement) {
166
+ t.current.isFocused = !0;
167
+ let o = n, i = (c) => {
168
+ if (t.current.isFocused = !1, o.disabled) {
169
+ let a = Be(c);
170
+ e?.(a);
171
+ }
172
+ t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
173
+ };
174
+ o.addEventListener("focusout", i, {
175
+ once: !0
176
+ }), t.current.observer = new MutationObserver(() => {
177
+ if (t.current.isFocused && o.disabled) {
178
+ t.current.observer?.disconnect();
179
+ let c = o === w() ? null : w();
180
+ o.dispatchEvent(new FocusEvent("blur", {
181
+ relatedTarget: c
182
+ })), o.dispatchEvent(new FocusEvent("focusout", {
183
+ bubbles: !0,
184
+ relatedTarget: c
185
+ }));
186
+ }
187
+ }), t.current.observer.observe(o, {
188
+ attributes: !0,
189
+ attributeFilter: [
190
+ "disabled"
191
+ ]
192
+ });
193
+ }
194
+ }, [
195
+ e
196
+ ]);
197
+ }
198
+ let Ue = !1;
199
+ function z(e) {
200
+ if (typeof window > "u" || window.navigator == null) return !1;
201
+ let t = window.navigator.userAgentData?.brands;
202
+ return Array.isArray(t) && t.some((r) => e.test(r.brand)) || e.test(window.navigator.userAgent);
203
+ }
204
+ function ne(e) {
205
+ return typeof window < "u" && window.navigator != null ? e.test(window.navigator.userAgentData?.platform || window.navigator.platform) : !1;
206
+ }
207
+ function x(e) {
208
+ if (process.env.NODE_ENV === "test") return e;
209
+ let t = null;
210
+ return () => (t == null && (t = e()), t);
211
+ }
212
+ const P = x(function() {
213
+ return ne(/^Mac/i);
214
+ }), ze = x(function() {
215
+ return ne(/^iPhone/i);
216
+ }), pe = x(function() {
217
+ return ne(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
218
+ P() && navigator.maxTouchPoints > 1;
219
+ }), Ge = x(function() {
220
+ return ze() || pe();
221
+ });
222
+ x(function() {
223
+ return P() || Ge();
224
+ });
225
+ const qe = x(function() {
226
+ return z(/AppleWebKit/i) && !ve();
227
+ }), ve = x(function() {
228
+ return z(/Chrome/i);
229
+ }), he = x(function() {
230
+ return z(/Android/i);
231
+ }), Je = x(function() {
232
+ return z(/Firefox/i);
233
+ });
234
+ function Ye(e) {
235
+ return e.pointerType === "" && e.isTrusted ? !0 : he() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
236
+ }
237
+ function K(e, t, r = !0) {
238
+ let { metaKey: n, ctrlKey: o, altKey: i, shiftKey: c } = t;
239
+ Je() && window.event?.type?.startsWith("key") && e.target === "_blank" && (P() ? n = !0 : o = !0);
240
+ let a = qe() && P() && !pe() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
241
+ keyIdentifier: "Enter",
242
+ metaKey: n,
243
+ ctrlKey: o,
244
+ altKey: i,
245
+ shiftKey: c
246
+ }) : new MouseEvent("click", {
247
+ metaKey: n,
248
+ ctrlKey: o,
249
+ altKey: i,
250
+ shiftKey: c,
251
+ detail: 1,
252
+ bubbles: !0,
253
+ cancelable: !0
254
+ });
255
+ K.isOpening = r, J(e), e.dispatchEvent(a), K.isOpening = !1;
256
+ }
257
+ K.isOpening = !1;
258
+ const H = {
259
+ prefix: String(Math.round(Math.random() * 1e10)),
260
+ current: 0
261
+ }, Ee = /* @__PURE__ */ v.createContext(H), Xe = /* @__PURE__ */ v.createContext(!1);
262
+ let Qe = !!(typeof window < "u" && window.document && window.document.createElement), q = /* @__PURE__ */ new WeakMap();
263
+ function Ze(e = !1) {
264
+ let t = M(Ee), r = S(null);
265
+ if (r.current === null && !e) {
266
+ let n = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
267
+ if (n) {
268
+ let o = q.get(n);
269
+ o == null ? q.set(n, {
270
+ id: t.current,
271
+ state: n.memoizedState
272
+ }) : n.memoizedState !== o.state && (t.current = o.id, q.delete(n));
273
+ }
274
+ r.current = ++t.current;
275
+ }
276
+ return r.current;
277
+ }
278
+ function et(e) {
279
+ let t = M(Ee);
280
+ t === H && !Qe && process.env.NODE_ENV !== "production" && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
281
+ let r = Ze(!!e), n = t === H && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${t.prefix}`;
282
+ return e || `${n}-${r}`;
283
+ }
284
+ function tt(e) {
285
+ let t = v.useId(), [r] = fe(me()), n = r || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${H.prefix}`;
286
+ return e || `${n}-${t}`;
287
+ }
288
+ const _t = typeof v.useId == "function" ? tt : et;
289
+ function rt() {
290
+ return !1;
291
+ }
292
+ function nt() {
293
+ return !0;
294
+ }
295
+ function ot(e) {
296
+ return () => {
297
+ };
298
+ }
299
+ function me() {
300
+ return typeof v.useSyncExternalStore == "function" ? v.useSyncExternalStore(ot, rt, nt) : M(Xe);
301
+ }
302
+ let I = null;
303
+ const it = /* @__PURE__ */ new Set();
304
+ let A = /* @__PURE__ */ new Map(), F = !1, Y = !1;
305
+ function oe(e, t) {
306
+ for (let r of it) r(e, t);
307
+ }
308
+ function at(e) {
309
+ return !(e.metaKey || !P() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
310
+ }
311
+ function j(e) {
312
+ F = !0, !K.isOpening && at(e) && (I = "keyboard", oe("keyboard", e));
313
+ }
314
+ function y(e) {
315
+ I = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (F = !0, oe("pointer", e));
316
+ }
317
+ function Ne(e) {
318
+ !K.isOpening && Ye(e) && (F = !0, I = "virtual");
319
+ }
320
+ function we(e) {
321
+ let t = R(m(e)), r = h(m(e));
322
+ m(e) === t || m(e) === r || Ue || !e.isTrusted || (!F && !Y && (I = "virtual", oe("virtual", e)), F = !1, Y = !1);
323
+ }
324
+ function ye() {
325
+ F = !1, Y = !0;
326
+ }
327
+ function ae(e) {
328
+ if (typeof window > "u" || typeof document > "u") return;
329
+ const t = R(e), r = h(e);
330
+ if (A.get(t)) return;
331
+ let n = t.HTMLElement.prototype.focus;
332
+ t.HTMLElement.prototype.focus = function() {
333
+ F = !0, n.apply(this, arguments);
334
+ }, r.addEventListener("keydown", j, !0), r.addEventListener("keyup", j, !0), r.addEventListener("click", Ne, !0), t.addEventListener("focus", we, !0), t.addEventListener("blur", ye, !1), typeof PointerEvent < "u" ? (r.addEventListener("pointerdown", y, !0), r.addEventListener("pointermove", y, !0), r.addEventListener("pointerup", y, !0)) : process.env.NODE_ENV === "test" && (r.addEventListener("mousedown", y, !0), r.addEventListener("mousemove", y, !0), r.addEventListener("mouseup", y, !0)), t.addEventListener("beforeunload", () => {
335
+ Te(e);
336
+ }, {
337
+ once: !0
338
+ }), A.set(t, {
339
+ focus: n
340
+ });
341
+ }
342
+ const Te = (e, t) => {
343
+ const r = R(e), n = h(e);
344
+ t && n.removeEventListener("DOMContentLoaded", t), A.has(r) && (r.HTMLElement.prototype.focus = A.get(r).focus, n.removeEventListener("keydown", j, !0), n.removeEventListener("keyup", j, !0), n.removeEventListener("click", Ne, !0), r.removeEventListener("focus", we, !0), r.removeEventListener("blur", ye, !1), typeof PointerEvent < "u" ? (n.removeEventListener("pointerdown", y, !0), n.removeEventListener("pointermove", y, !0), n.removeEventListener("pointerup", y, !0)) : process.env.NODE_ENV === "test" && (n.removeEventListener("mousedown", y, !0), n.removeEventListener("mousemove", y, !0), n.removeEventListener("mouseup", y, !0)), A.delete(r));
345
+ };
346
+ function ct(e) {
347
+ const t = h(e);
348
+ let r;
349
+ return t.readyState !== "loading" ? ae(e) : (r = () => {
350
+ ae(e);
351
+ }, t.addEventListener("DOMContentLoaded", r)), () => Te(e, r);
352
+ }
353
+ typeof document < "u" && ct();
354
+ function ge() {
355
+ return I;
356
+ }
357
+ let L = /* @__PURE__ */ new Map(), X = /* @__PURE__ */ new Set();
358
+ function ce() {
359
+ if (typeof window > "u") return;
360
+ function e(n) {
361
+ return "propertyName" in n;
362
+ }
363
+ let t = (n) => {
364
+ let o = m(n);
365
+ if (!e(n) || !o) return;
366
+ let i = L.get(o);
367
+ i || (i = /* @__PURE__ */ new Set(), L.set(o, i), o.addEventListener("transitioncancel", r, {
368
+ once: !0
369
+ })), i.add(n.propertyName);
370
+ }, r = (n) => {
371
+ let o = m(n);
372
+ if (!e(n) || !o) return;
373
+ let i = L.get(o);
374
+ if (i && (i.delete(n.propertyName), i.size === 0 && (o.removeEventListener("transitioncancel", r), L.delete(o)), L.size === 0)) {
375
+ for (let c of X) c();
376
+ X.clear();
377
+ }
378
+ };
379
+ document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", r);
380
+ }
381
+ typeof document < "u" && (document.readyState !== "loading" ? ce() : document.addEventListener("DOMContentLoaded", ce));
382
+ function st() {
383
+ for (const [e] of L)
384
+ "isConnected" in e && !e.isConnected && L.delete(e);
385
+ }
386
+ function ut(e) {
387
+ requestAnimationFrame(() => {
388
+ st(), L.size === 0 ? e() : X.add(e);
389
+ });
390
+ }
391
+ function lt(e) {
392
+ if (!e.isConnected) return;
393
+ const t = h(e);
394
+ if (ge() === "virtual") {
395
+ let r = w(t);
396
+ ut(() => {
397
+ const n = w(t);
398
+ (n === r || n === t.body) && e.isConnected && J(e);
399
+ });
400
+ } else J(e);
401
+ }
402
+ const dt = v.useInsertionEffect ?? N;
403
+ function Ft(e) {
404
+ const t = S(null);
405
+ return dt(() => {
406
+ t.current = e;
407
+ }, [
408
+ e
409
+ ]), de((...r) => {
410
+ const n = t.current;
411
+ return n?.(...r);
412
+ }, []);
413
+ }
414
+ const Se = v.createContext({
415
+ register: () => {
416
+ }
417
+ });
418
+ Se.displayName = "PressResponderContext";
419
+ class ft {
420
+ constructor(t, r, n, o) {
421
+ this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (c) => {
422
+ if (c.nodeType === Node.ELEMENT_NODE) {
423
+ const a = c.shadowRoot;
424
+ if (a) {
425
+ const d = this._doc.createTreeWalker(a, this.whatToShow, {
426
+ acceptNode: this._acceptNode
427
+ });
428
+ return this._walkerStack.unshift(d), NodeFilter.FILTER_ACCEPT;
429
+ } else {
430
+ if (typeof this.filter == "function") return this.filter(c);
431
+ if (this.filter?.acceptNode) return this.filter.acceptNode(c);
432
+ if (this.filter === null) return NodeFilter.FILTER_ACCEPT;
433
+ }
434
+ }
435
+ return NodeFilter.FILTER_SKIP;
436
+ }, this._doc = t, this.root = r, this.filter = o ?? null, this.whatToShow = n ?? NodeFilter.SHOW_ALL, this._currentNode = r, this._walkerStack.unshift(t.createTreeWalker(r, n, this._acceptNode));
437
+ const i = r.shadowRoot;
438
+ if (i) {
439
+ const c = this._doc.createTreeWalker(i, this.whatToShow, {
440
+ acceptNode: this._acceptNode
441
+ });
442
+ this._walkerStack.unshift(c);
443
+ }
444
+ }
445
+ get currentNode() {
446
+ return this._currentNode;
447
+ }
448
+ set currentNode(t) {
449
+ if (!W(this.root, t)) throw new Error("Cannot set currentNode to a node that is not contained by the root node.");
450
+ const r = [];
451
+ let n = t, o = t;
452
+ for (this._currentNode = t; n && n !== this.root; ) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
453
+ const c = n, a = this._doc.createTreeWalker(c, this.whatToShow, {
454
+ acceptNode: this._acceptNode
455
+ });
456
+ r.push(a), a.currentNode = o, this._currentSetFor.add(a), n = o = c.host;
457
+ } else n = n.parentNode;
458
+ const i = this._doc.createTreeWalker(this.root, this.whatToShow, {
459
+ acceptNode: this._acceptNode
460
+ });
461
+ r.push(i), i.currentNode = o, this._currentSetFor.add(i), this._walkerStack = r;
462
+ }
463
+ get doc() {
464
+ return this._doc;
465
+ }
466
+ firstChild() {
467
+ let t = this.currentNode, r = this.nextNode();
468
+ return W(t, r) ? (r && (this.currentNode = r), r) : (this.currentNode = t, null);
469
+ }
470
+ lastChild() {
471
+ let r = this._walkerStack[0].lastChild();
472
+ return r && (this.currentNode = r), r;
473
+ }
474
+ nextNode() {
475
+ const t = this._walkerStack[0].nextNode();
476
+ if (t) {
477
+ if (t.shadowRoot) {
478
+ let n;
479
+ if (typeof this.filter == "function" ? n = this.filter(t) : this.filter?.acceptNode && (n = this.filter.acceptNode(t)), n === NodeFilter.FILTER_ACCEPT)
480
+ return this.currentNode = t, t;
481
+ let o = this.nextNode();
482
+ return o && (this.currentNode = o), o;
483
+ }
484
+ return t && (this.currentNode = t), t;
485
+ } else if (this._walkerStack.length > 1) {
486
+ this._walkerStack.shift();
487
+ let r = this.nextNode();
488
+ return r && (this.currentNode = r), r;
489
+ } else return null;
490
+ }
491
+ previousNode() {
492
+ const t = this._walkerStack[0];
493
+ if (t.currentNode === t.root) {
494
+ if (this._currentSetFor.has(t))
495
+ if (this._currentSetFor.delete(t), this._walkerStack.length > 1) {
496
+ this._walkerStack.shift();
497
+ let n = this.previousNode();
498
+ return n && (this.currentNode = n), n;
499
+ } else return null;
500
+ return null;
501
+ }
502
+ const r = t.previousNode();
503
+ if (r) {
504
+ if (r.shadowRoot) {
505
+ let o;
506
+ if (typeof this.filter == "function" ? o = this.filter(r) : this.filter?.acceptNode && (o = this.filter.acceptNode(r)), o === NodeFilter.FILTER_ACCEPT)
507
+ return r && (this.currentNode = r), r;
508
+ let i = this.lastChild();
509
+ return i && (this.currentNode = i), i;
510
+ }
511
+ return r && (this.currentNode = r), r;
512
+ } else if (this._walkerStack.length > 1) {
513
+ this._walkerStack.shift();
514
+ let n = this.previousNode();
515
+ return n && (this.currentNode = n), n;
516
+ } else return null;
517
+ }
518
+ /**
519
+ * @deprecated
520
+ */
521
+ nextSibling() {
522
+ return null;
523
+ }
524
+ /**
525
+ * @deprecated
526
+ */
527
+ previousSibling() {
528
+ return null;
529
+ }
530
+ /**
531
+ * @deprecated
532
+ */
533
+ parentNode() {
534
+ return null;
535
+ }
536
+ }
537
+ function $t(e, t, r, n) {
538
+ return U() ? new ft(e, t, r, n) : e.createTreeWalker(t, r, n);
539
+ }
540
+ const se = /* @__PURE__ */ v.createContext(null), Q = "react-aria-focus-scope-restore";
541
+ let $ = null;
542
+ function bt(e) {
543
+ let { children: t, contain: r, restoreFocus: n, autoFocus: o } = e, i = S(null), c = S(null), a = S([]), { parentNode: d } = M(se) || {}, s = D(() => new ee({
544
+ scopeRef: a
545
+ }), [
546
+ a
547
+ ]);
548
+ N(() => {
549
+ let f = d || p.root;
550
+ if (p.getTreeNode(f.scopeRef) && $ && !B($, f.scopeRef)) {
551
+ let b = p.getTreeNode($);
552
+ b && (f = b);
553
+ }
554
+ f.addChild(s), p.addNode(s);
555
+ }, [
556
+ s,
557
+ d
558
+ ]), N(() => {
559
+ let f = p.getTreeNode(a);
560
+ f && (f.contain = !!r);
561
+ }, [
562
+ r
563
+ ]), N(() => {
564
+ let f = i.current?.nextSibling, b = [], E = (G) => G.stopPropagation();
565
+ for (; f && f !== c.current; )
566
+ b.push(f), f.addEventListener(Q, E), f = f.nextSibling;
567
+ return a.current = b, () => {
568
+ for (let G of b) G.removeEventListener(Q, E);
569
+ };
570
+ }, [
571
+ t
572
+ ]), Nt(a, n, r), Et(a, r), wt(a, n, r), mt(a, o), $e(() => {
573
+ const f = w(h(a.current ? a.current[0] : void 0));
574
+ let b = null;
575
+ if (T(f, a.current)) {
576
+ for (let E of p.traverse()) E.scopeRef && T(f, E.scopeRef.current) && (b = E);
577
+ b === p.getTreeNode(a) && ($ = b.scopeRef);
578
+ }
579
+ }, [
580
+ a
581
+ ]), N(() => () => {
582
+ let f = p.getTreeNode(a)?.parent?.scopeRef ?? null;
583
+ (a === $ || B(a, $)) && (!f || p.getTreeNode(f)) && ($ = f), p.removeTreeNode(a);
584
+ }, [
585
+ a
586
+ ]);
587
+ let u = D(() => pt(a), []), l = D(() => ({
588
+ focusManager: u,
589
+ parentNode: s
590
+ }), [
591
+ s,
592
+ u
593
+ ]);
594
+ return /* @__PURE__ */ v.createElement(se.Provider, {
595
+ value: l
596
+ }, /* @__PURE__ */ v.createElement("span", {
597
+ "data-focus-scope-start": !0,
598
+ hidden: !0,
599
+ ref: i
600
+ }), t, /* @__PURE__ */ v.createElement("span", {
601
+ "data-focus-scope-end": !0,
602
+ hidden: !0,
603
+ ref: c
604
+ }));
605
+ }
606
+ function pt(e) {
607
+ return {
608
+ focusNext(t = {}) {
609
+ let r = e.current, { from: n, tabbable: o, wrap: i, accept: c } = t, a = n || w(h(r[0] ?? void 0)), d = r[0].previousElementSibling, s = _(r), u = C(s, {
610
+ tabbable: o,
611
+ accept: c
612
+ }, r);
613
+ u.currentNode = T(a, r) ? a : d;
614
+ let l = u.nextNode();
615
+ return !l && i && (u.currentNode = d, l = u.nextNode()), l && g(l, !0), l;
616
+ },
617
+ focusPrevious(t = {}) {
618
+ let r = e.current, { from: n, tabbable: o, wrap: i, accept: c } = t, a = n || w(h(r[0] ?? void 0)), d = r[r.length - 1].nextElementSibling, s = _(r), u = C(s, {
619
+ tabbable: o,
620
+ accept: c
621
+ }, r);
622
+ u.currentNode = T(a, r) ? a : d;
623
+ let l = u.previousNode();
624
+ return !l && i && (u.currentNode = d, l = u.previousNode()), l && g(l, !0), l;
625
+ },
626
+ focusFirst(t = {}) {
627
+ let r = e.current, { tabbable: n, accept: o } = t, i = _(r), c = C(i, {
628
+ tabbable: n,
629
+ accept: o
630
+ }, r);
631
+ c.currentNode = r[0].previousElementSibling;
632
+ let a = c.nextNode();
633
+ return a && g(a, !0), a;
634
+ },
635
+ focusLast(t = {}) {
636
+ let r = e.current, { tabbable: n, accept: o } = t, i = _(r), c = C(i, {
637
+ tabbable: n,
638
+ accept: o
639
+ }, r);
640
+ c.currentNode = r[r.length - 1].nextElementSibling;
641
+ let a = c.previousNode();
642
+ return a && g(a, !0), a;
643
+ }
644
+ };
645
+ }
646
+ function _(e) {
647
+ return e[0].parentElement;
648
+ }
649
+ function O(e) {
650
+ let t = p.getTreeNode($);
651
+ for (; t && t.scopeRef !== e; ) {
652
+ if (t.contain) return !1;
653
+ t = t.parent;
654
+ }
655
+ return !0;
656
+ }
657
+ function vt(e) {
658
+ if (!e.form)
659
+ return Array.from(h(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((n) => !n.form);
660
+ const t = e.form.elements.namedItem(e.name);
661
+ let r = R(e);
662
+ return t instanceof r.RadioNodeList ? Array.from(t).filter((n) => n instanceof r.HTMLInputElement) : t instanceof r.HTMLInputElement ? [
663
+ t
664
+ ] : [];
665
+ }
666
+ function ht(e) {
667
+ if (e.checked) return !0;
668
+ const t = vt(e);
669
+ return t.length > 0 && !t.some((r) => r.checked);
670
+ }
671
+ function Et(e, t) {
672
+ let r = S(void 0), n = S(void 0);
673
+ N(() => {
674
+ let o = e.current;
675
+ if (!t) {
676
+ n.current && (cancelAnimationFrame(n.current), n.current = void 0);
677
+ return;
678
+ }
679
+ const i = h(o ? o[0] : void 0);
680
+ let c = (s) => {
681
+ if (s.key !== "Tab" || s.altKey || s.ctrlKey || s.metaKey || !O(e) || s.isComposing) return;
682
+ let u = w(i), l = e.current;
683
+ if (!l || !T(u, l)) return;
684
+ let f = _(l), b = C(f, {
685
+ tabbable: !0
686
+ }, l);
687
+ if (!u) return;
688
+ b.currentNode = u;
689
+ let E = s.shiftKey ? b.previousNode() : b.nextNode();
690
+ E || (b.currentNode = s.shiftKey ? l[l.length - 1].nextElementSibling : l[0].previousElementSibling, E = s.shiftKey ? b.previousNode() : b.nextNode()), s.preventDefault(), E && (g(E, !0), E instanceof R(E).HTMLInputElement && E.select());
691
+ }, a = (s) => {
692
+ (!$ || B($, e)) && T(m(s), e.current) ? ($ = e, r.current = m(s)) : O(e) && !k(m(s), e) ? r.current ? r.current.focus() : $ && $.current && Z($.current) : O(e) && (r.current = m(s));
693
+ }, d = (s) => {
694
+ n.current && cancelAnimationFrame(n.current), n.current = requestAnimationFrame(() => {
695
+ let u = ge(), l = (u === "virtual" || u === null) && he() && ve(), f = w(i);
696
+ if (!l && f && O(e) && !k(f, e)) {
697
+ $ = e;
698
+ let b = m(s);
699
+ b && b.isConnected ? (r.current = b, r.current?.focus()) : $.current && Z($.current);
700
+ }
701
+ });
702
+ };
703
+ return i.addEventListener("keydown", c, !1), i.addEventListener("focusin", a, !1), o?.forEach((s) => s.addEventListener("focusin", a, !1)), o?.forEach((s) => s.addEventListener("focusout", d, !1)), () => {
704
+ i.removeEventListener("keydown", c, !1), i.removeEventListener("focusin", a, !1), o?.forEach((s) => s.removeEventListener("focusin", a, !1)), o?.forEach((s) => s.removeEventListener("focusout", d, !1));
705
+ };
706
+ }, [
707
+ e,
708
+ t
709
+ ]), N(() => () => {
710
+ n.current && cancelAnimationFrame(n.current);
711
+ }, [
712
+ n
713
+ ]);
714
+ }
715
+ function xe(e) {
716
+ return k(e);
717
+ }
718
+ function T(e, t) {
719
+ return !e || !t ? !1 : t.some((r) => W(r, e));
720
+ }
721
+ function k(e, t = null) {
722
+ if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
723
+ for (let { scopeRef: r } of p.traverse(p.getTreeNode(t)))
724
+ if (r && T(e, r.current)) return !0;
725
+ return !1;
726
+ }
727
+ function Rt(e) {
728
+ return k(e, $);
729
+ }
730
+ function B(e, t) {
731
+ let r = p.getTreeNode(t)?.parent;
732
+ for (; r; ) {
733
+ if (r.scopeRef === e) return !0;
734
+ r = r.parent;
735
+ }
736
+ return !1;
737
+ }
738
+ function g(e, t = !1) {
739
+ if (e != null && !t) try {
740
+ lt(e);
741
+ } catch {
742
+ }
743
+ else if (e != null) try {
744
+ e.focus();
745
+ } catch {
746
+ }
747
+ }
748
+ function Le(e, t = !0) {
749
+ let r = e[0].previousElementSibling, n = _(e), o = C(n, {
750
+ tabbable: t
751
+ }, e);
752
+ o.currentNode = r;
753
+ let i = o.nextNode();
754
+ return t && !i && (n = _(e), o = C(n, {
755
+ tabbable: !1
756
+ }, e), o.currentNode = r, i = o.nextNode()), i;
757
+ }
758
+ function Z(e, t = !0) {
759
+ g(Le(e, t));
760
+ }
761
+ function mt(e, t) {
762
+ const r = v.useRef(t);
763
+ $e(() => {
764
+ if (r.current) {
765
+ $ = e;
766
+ const n = h(e.current ? e.current[0] : void 0);
767
+ !T(w(n), $.current) && e.current && Z(e.current);
768
+ }
769
+ r.current = !1;
770
+ }, [
771
+ e
772
+ ]);
773
+ }
774
+ function Nt(e, t, r) {
775
+ N(() => {
776
+ if (t || r) return;
777
+ let n = e.current;
778
+ const o = h(n ? n[0] : void 0);
779
+ let i = (c) => {
780
+ let a = m(c);
781
+ T(a, e.current) ? $ = e : xe(a) || ($ = null);
782
+ };
783
+ return o.addEventListener("focusin", i, !1), n?.forEach((c) => c.addEventListener("focusin", i, !1)), () => {
784
+ o.removeEventListener("focusin", i, !1), n?.forEach((c) => c.removeEventListener("focusin", i, !1));
785
+ };
786
+ }, [
787
+ e,
788
+ t,
789
+ r
790
+ ]);
791
+ }
792
+ function ue(e) {
793
+ let t = p.getTreeNode($);
794
+ for (; t && t.scopeRef !== e; ) {
795
+ if (t.nodeToRestore) return !1;
796
+ t = t.parent;
797
+ }
798
+ return t?.scopeRef === e;
799
+ }
800
+ function wt(e, t, r) {
801
+ const n = S(typeof document < "u" ? w(h(e.current ? e.current[0] : void 0)) : null);
802
+ N(() => {
803
+ let o = e.current;
804
+ const i = h(o ? o[0] : void 0);
805
+ if (!t || r) return;
806
+ let c = () => {
807
+ (!$ || B($, e)) && T(w(i), e.current) && ($ = e);
808
+ };
809
+ return i.addEventListener("focusin", c, !1), o?.forEach((a) => a.addEventListener("focusin", c, !1)), () => {
810
+ i.removeEventListener("focusin", c, !1), o?.forEach((a) => a.removeEventListener("focusin", c, !1));
811
+ };
812
+ }, [
813
+ e,
814
+ r
815
+ ]), N(() => {
816
+ const o = h(e.current ? e.current[0] : void 0);
817
+ if (!t) return;
818
+ let i = (c) => {
819
+ if (c.key !== "Tab" || c.altKey || c.ctrlKey || c.metaKey || !O(e) || c.isComposing) return;
820
+ let a = o.activeElement;
821
+ if (!k(a, e) || !ue(e)) return;
822
+ let d = p.getTreeNode(e);
823
+ if (!d) return;
824
+ let s = d.nodeToRestore, u = C(o.body, {
825
+ tabbable: !0
826
+ });
827
+ u.currentNode = a;
828
+ let l = c.shiftKey ? u.previousNode() : u.nextNode();
829
+ if ((!s || !s.isConnected || s === o.body) && (s = void 0, d.nodeToRestore = void 0), (!l || !k(l, e)) && s) {
830
+ u.currentNode = s;
831
+ do
832
+ l = c.shiftKey ? u.previousNode() : u.nextNode();
833
+ while (k(l, e));
834
+ c.preventDefault(), c.stopPropagation(), l ? g(l, !0) : xe(s) ? g(s, !0) : a.blur();
835
+ }
836
+ };
837
+ return r || o.addEventListener("keydown", i, !0), () => {
838
+ r || o.removeEventListener("keydown", i, !0);
839
+ };
840
+ }, [
841
+ e,
842
+ t,
843
+ r
844
+ ]), N(() => {
845
+ const o = h(e.current ? e.current[0] : void 0);
846
+ if (!t) return;
847
+ let i = p.getTreeNode(e);
848
+ if (i)
849
+ return i.nodeToRestore = n.current ?? void 0, () => {
850
+ let c = p.getTreeNode(e);
851
+ if (!c) return;
852
+ let a = c.nodeToRestore, d = w(o);
853
+ if (t && a && (d && k(d, e) || d === o.body && ue(e))) {
854
+ let s = p.clone();
855
+ requestAnimationFrame(() => {
856
+ if (o.activeElement === o.body) {
857
+ let u = s.getTreeNode(e);
858
+ for (; u; ) {
859
+ if (u.nodeToRestore && u.nodeToRestore.isConnected) {
860
+ le(u.nodeToRestore);
861
+ return;
862
+ }
863
+ u = u.parent;
864
+ }
865
+ for (u = s.getTreeNode(e); u; ) {
866
+ if (u.scopeRef && u.scopeRef.current && p.getTreeNode(u.scopeRef)) {
867
+ let l = Le(u.scopeRef.current, !0);
868
+ le(l);
869
+ return;
870
+ }
871
+ u = u.parent;
872
+ }
873
+ }
874
+ });
875
+ }
876
+ };
877
+ }, [
878
+ e,
879
+ t
880
+ ]);
881
+ }
882
+ function le(e) {
883
+ e.dispatchEvent(new CustomEvent(Q, {
884
+ bubbles: !0,
885
+ cancelable: !0
886
+ })) && g(e);
887
+ }
888
+ function C(e, t, r) {
889
+ let n = t?.tabbable ? je : He, o = e?.nodeType === Node.ELEMENT_NODE ? e : null, i = h(o), c = $t(i, e || i, NodeFilter.SHOW_ELEMENT, {
890
+ acceptNode(a) {
891
+ return W(t?.from, a) || t?.tabbable && a.tagName === "INPUT" && a.getAttribute("type") === "radio" && (!ht(a) || c.currentNode.tagName === "INPUT" && c.currentNode.type === "radio" && c.currentNode.name === a.name) ? NodeFilter.FILTER_REJECT : n(a) && (!r || T(a, r)) && (!t?.accept || t.accept(a)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
892
+ }
893
+ });
894
+ return t?.from && (c.currentNode = t.from), c;
895
+ }
896
+ class ie {
897
+ constructor() {
898
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new ee({
899
+ scopeRef: null
900
+ }), this.fastMap.set(null, this.root);
901
+ }
902
+ get size() {
903
+ return this.fastMap.size;
904
+ }
905
+ getTreeNode(t) {
906
+ return this.fastMap.get(t);
907
+ }
908
+ addTreeNode(t, r, n) {
909
+ let o = this.fastMap.get(r ?? null);
910
+ if (!o) return;
911
+ let i = new ee({
912
+ scopeRef: t
913
+ });
914
+ o.addChild(i), i.parent = o, this.fastMap.set(t, i), n && (i.nodeToRestore = n);
915
+ }
916
+ addNode(t) {
917
+ this.fastMap.set(t.scopeRef, t);
918
+ }
919
+ removeTreeNode(t) {
920
+ if (t === null) return;
921
+ let r = this.fastMap.get(t);
922
+ if (!r) return;
923
+ let n = r.parent;
924
+ for (let i of this.traverse()) i !== r && r.nodeToRestore && i.nodeToRestore && r.scopeRef && r.scopeRef.current && T(i.nodeToRestore, r.scopeRef.current) && (i.nodeToRestore = r.nodeToRestore);
925
+ let o = r.children;
926
+ n && (n.removeChild(r), o.size > 0 && o.forEach((i) => n && n.addChild(i))), this.fastMap.delete(r.scopeRef);
927
+ }
928
+ // Pre Order Depth First
929
+ *traverse(t = this.root) {
930
+ if (t.scopeRef != null && (yield t), t.children.size > 0) for (let r of t.children) yield* this.traverse(r);
931
+ }
932
+ clone() {
933
+ let t = new ie();
934
+ for (let r of this.traverse()) t.addTreeNode(r.scopeRef, r.parent?.scopeRef ?? null, r.nodeToRestore);
935
+ return t;
936
+ }
937
+ }
938
+ class ee {
939
+ constructor(t) {
940
+ this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = t.scopeRef;
941
+ }
942
+ addChild(t) {
943
+ this.children.add(t), t.parent = this;
944
+ }
945
+ removeChild(t) {
946
+ this.children.delete(t), t.parent = void 0;
947
+ }
948
+ }
949
+ let p = new ie();
950
+ function yt({ children: e }) {
951
+ let t = D(() => ({
952
+ register: () => {
953
+ }
954
+ }), []);
955
+ return /* @__PURE__ */ v.createElement(Se.Provider, {
956
+ value: t
957
+ }, e);
958
+ }
959
+ const Tt = /* @__PURE__ */ Ce({});
960
+ function gt() {
961
+ return M(Tt) ?? {};
962
+ }
963
+ const ke = /* @__PURE__ */ v.createContext(null);
964
+ function Mt(e) {
965
+ let t = me(), { portalContainer: r = t ? null : document.body, isExiting: n } = e, [o, i] = fe(!1), c = D(() => ({
966
+ contain: o,
967
+ setContain: i
968
+ }), [
969
+ o,
970
+ i
971
+ ]), { getContainer: a } = gt();
972
+ if (!e.portalContainer && a && (r = a()), !r) return null;
973
+ let d = e.children;
974
+ return e.disableFocusManagement || (d = /* @__PURE__ */ v.createElement(bt, {
975
+ restoreFocus: !0,
976
+ contain: (e.shouldContainFocus || o) && !n
977
+ }, d)), d = /* @__PURE__ */ v.createElement(ke.Provider, {
978
+ value: c
979
+ }, /* @__PURE__ */ v.createElement(yt, null, d)), /* @__PURE__ */ _e.createPortal(d, r);
980
+ }
981
+ function Ot() {
982
+ let t = M(ke)?.setContain;
983
+ N(() => {
984
+ t?.(!0);
985
+ }, [
986
+ t
987
+ ]);
988
+ }
989
+ export {
990
+ W as $,
991
+ Lt as a,
992
+ w as b,
993
+ m as c,
994
+ qe as d,
995
+ Ge as e,
996
+ Rt as f,
997
+ $t as g,
998
+ U as h,
999
+ Be as i,
1000
+ Ct as j,
1001
+ kt as k,
1002
+ N as l,
1003
+ me as m,
1004
+ _t as n,
1005
+ h as o,
1006
+ R as p,
1007
+ Ot as q,
1008
+ Mt as r,
1009
+ lt as s,
1010
+ Ft as t
1011
+ };