@rankingcoach/vanguard 1.12.1 → 1.12.2

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 (44) hide show
  1. package/dist/index-BenchmarkGauge.js +1 -1
  2. package/dist/index-BenchmarkGaugeMarker.js +1 -1
  3. package/dist/index-DateInput.js +4 -4
  4. package/dist/index-DateRange.js +1 -1
  5. package/dist/index-Drawer.js +24 -18
  6. package/dist/index-DrawerRoot.js +33 -29
  7. package/dist/index-DropdownMenu.js +36 -36
  8. package/dist/index-InputRangeField.js +1 -1
  9. package/dist/index-LexicalToolkit2.js +1 -1
  10. package/dist/index-ModalContext.js +9 -9
  11. package/dist/index-ModalService.js +130 -178
  12. package/dist/index-Month.js +2 -2
  13. package/dist/index-OverlayStackingService.js +46 -0
  14. package/dist/index-Parser2.js +2 -3
  15. package/dist/index-StyledSVG2.js +1 -1
  16. package/dist/index-_virtual10.js +3 -2
  17. package/dist/index-_virtual6.js +1 -1
  18. package/dist/index-_virtual69.js +2 -2
  19. package/dist/index-_virtual70.js +2 -4
  20. package/dist/index-_virtual71.js +4 -2
  21. package/dist/index-_virtual72.js +2 -4
  22. package/dist/index-_virtual73.js +1 -1
  23. package/dist/index-_virtual74.js +1 -1
  24. package/dist/index-_virtual75.js +4 -2
  25. package/dist/index-_virtual76.js +2 -2
  26. package/dist/index-_virtual9.js +2 -3
  27. package/dist/index-accessibility.js +1 -1
  28. package/dist/index-dist2.js +20 -78
  29. package/dist/index-dist3.js +78 -20
  30. package/dist/index-use-benchmark-gauge-render-state.js +1 -1
  31. package/dist/index-utils2.js +67 -47
  32. package/dist/index-utils3.js +47 -67
  33. package/dist/types/core/Drawer/Drawer.d.ts +6 -0
  34. package/dist/types/core/Modal/ModalService.d.ts +0 -28
  35. package/dist/types/core/OverlayStacking/OverlayStackingService.d.ts +35 -0
  36. package/dist/types/core/OverlayStacking/stories/DrawerOverFullscreenModal.story.d.ts +2 -0
  37. package/dist/types/core/OverlayStacking/stories/FullscreenModalDrawerModal.story.d.ts +2 -0
  38. package/dist/types/core/OverlayStacking/stories/FullscreenModalDrawerModalPopover.story.d.ts +2 -0
  39. package/dist/types/core/OverlayStacking/stories/ModalOverDrawer.story.d.ts +2 -0
  40. package/dist/types/core/OverlayStacking/stories/_OverlayStacking.default.d.ts +15 -0
  41. package/dist/vanguard-asset-analysis.json +1 -1
  42. package/dist-wordpress/index.js +6355 -6365
  43. package/dist-wordpress/vanguard.css +1 -1
  44. package/package.json +1 -1
@@ -1,104 +1,103 @@
1
- var S = Object.defineProperty;
2
- var A = (n, e, o) => e in n ? S(n, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[e] = o;
3
- var m = (n, e, o) => A(n, typeof e != "symbol" ? e + "" : e, o);
4
- import { jsx as r, jsxs as C } from "react/jsx-runtime";
5
- import { mt2 as N } from "./index-general.module.js";
6
- import { classNames as F } from "./index-classNames.js";
7
- import { uuidv4 as W } from "./index-generate-uid.js";
8
- import { pubSubService as v, PUB_SUB_EVENTS as I } from "./index-pub-sub.js";
9
- import { deviceService as R } from "./index-device.service.js";
10
- import { PublicWidgetData as $ } from "./index-public-widgets-data.store.js";
11
- import { Modal as j } from "./index-Modal.js";
12
- import { ModalHeader as D } from "./index-ModalHeader.js";
13
- import { Render as T } from "./index-Render.js";
14
- import { AcceptModal as U } from "./index-AcceptModal.js";
15
- import { ErrorModal as V } from "./index-ErrorModal.js";
16
- import { Text as x, FontWeights as E, TextTypes as Z } from "./index-Text.js";
17
- import y from "react";
18
- import { PhotoCarouselModal as k } from "./index-PhotoCarouselModal.js";
19
- import { ConfirmModal as G } from "./index-ConfirmModal.js";
20
- import { LoadingModal as X } from "./index-LoadingModal.js";
21
- const q = (n) => {
1
+ var F = Object.defineProperty;
2
+ var N = (r, e, o) => e in r ? F(r, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[e] = o;
3
+ var c = (r, e, o) => N(r, typeof e != "symbol" ? e + "" : e, o);
4
+ import { jsx as n, jsxs as v } from "react/jsx-runtime";
5
+ import { mt2 as W } from "./index-general.module.js";
6
+ import { classNames as A } from "./index-classNames.js";
7
+ import { uuidv4 as R } from "./index-generate-uid.js";
8
+ import { pubSubService as I, PUB_SUB_EVENTS as T } from "./index-pub-sub.js";
9
+ import { deviceService as $ } from "./index-device.service.js";
10
+ import { PublicWidgetData as j } from "./index-public-widgets-data.store.js";
11
+ import { Modal as k } from "./index-Modal.js";
12
+ import { ModalHeader as U } from "./index-ModalHeader.js";
13
+ import { OverlayStackingService as C } from "./index-OverlayStackingService.js";
14
+ import { Render as y } from "./index-Render.js";
15
+ import { AcceptModal as V } from "./index-AcceptModal.js";
16
+ import { ErrorModal as D } from "./index-ErrorModal.js";
17
+ import { Text as x, FontWeights as E, TextTypes as G } from "./index-Text.js";
18
+ import L from "react";
19
+ import { PhotoCarouselModal as q } from "./index-PhotoCarouselModal.js";
20
+ import { ConfirmModal as z } from "./index-ConfirmModal.js";
21
+ import { LoadingModal as J } from "./index-LoadingModal.js";
22
+ const K = (r) => {
22
23
  const {
23
24
  close: e,
24
25
  children: o,
25
- title: t,
26
- headerType: i,
27
- message: l,
26
+ title: l,
27
+ headerType: t,
28
+ message: i,
28
29
  hideHeaderCloseBtn: a,
29
30
  padding: s
30
- } = n;
31
- return C(j, {
32
- ...n,
33
- children: [C(D, {
31
+ } = r;
32
+ return v(k, {
33
+ ...r,
34
+ children: [v(U, {
34
35
  closeFn: e,
35
36
  hideCloseButtonOnMobile: !1,
36
37
  hideHeaderCloseBtn: a,
37
- type: i,
38
- children: [r(T, {
39
- if: !!t,
40
- children: r(x, {
41
- type: Z.heading4,
38
+ type: t,
39
+ children: [n(y, {
40
+ if: !!l,
41
+ children: n(x, {
42
+ type: G.heading4,
42
43
  fontWeight: E.bold,
43
- children: t
44
+ children: l
44
45
  })
45
- }), r(T, {
46
- if: !!l && typeof l == "string",
47
- children: r("div", {
48
- className: F(N),
49
- children: r(x, {
46
+ }), n(y, {
47
+ if: !!i && typeof i == "string",
48
+ children: n("div", {
49
+ className: A(W),
50
+ children: n(x, {
50
51
  fontWeight: E.regular,
51
- children: l
52
+ children: i
52
53
  })
53
54
  })
54
55
  })]
55
- }), r("span", {
56
+ }), n("span", {
56
57
  style: {
57
58
  padding: s
58
59
  },
59
60
  children: o
60
61
  })]
61
62
  });
62
- }, L = 1100;
63
- class z {
63
+ };
64
+ class Q {
64
65
  constructor() {
65
- m(this, "loadingModalId");
66
- m(this, "confirmModalId");
67
- m(this, "errorModalId");
68
- m(this, "modalCloseListeners");
69
- m(this, "modalComponents");
70
- m(this, "modalOrder");
71
- m(this, "popoverOrder");
72
- m(this, "openErrorModal", ({
66
+ c(this, "loadingModalId");
67
+ c(this, "confirmModalId");
68
+ c(this, "errorModalId");
69
+ c(this, "modalCloseListeners");
70
+ c(this, "modalComponents");
71
+ c(this, "openErrorModal", ({
73
72
  err: e,
74
73
  source: o,
75
- message: t,
76
- title: i,
77
- ctaPositive: l,
74
+ message: l,
75
+ title: t,
76
+ ctaPositive: i,
78
77
  onClose: a
79
78
  }) => {
80
- this.errorModalId = this.open(r(V, {
79
+ this.errorModalId = this.open(n(D, {
81
80
  close: () => {
82
81
  a && a();
83
82
  },
84
83
  err: e,
85
84
  source: o,
86
- message: t,
87
- title: i,
88
- ctaPositive: l
85
+ message: l,
86
+ title: t,
87
+ ctaPositive: i
89
88
  }));
90
89
  });
91
- this.loadingModalId = null, this.confirmModalId = null, this.errorModalId = null, this.modalCloseListeners = /* @__PURE__ */ new Map(), this.modalComponents = /* @__PURE__ */ new Map(), this.modalOrder = /* @__PURE__ */ new Map(), this.popoverOrder = /* @__PURE__ */ new Map();
90
+ this.loadingModalId = null, this.confirmModalId = null, this.errorModalId = null, this.modalCloseListeners = /* @__PURE__ */ new Map(), this.modalComponents = /* @__PURE__ */ new Map();
92
91
  }
93
92
  on(e, o) {
94
- document.addEventListener(e, (t) => o(t.detail));
93
+ document.addEventListener(e, (l) => o(l.detail));
95
94
  }
96
- onModalClose(e, o, t) {
97
- var i, l;
95
+ onModalClose(e, o, l) {
96
+ var t, i;
98
97
  this.modalCloseListeners.has(e) || this.modalCloseListeners.set(e, {
99
98
  cbs: [],
100
- data: t
101
- }), o && ((l = (i = this.modalCloseListeners.get(e)) == null ? void 0 : i.cbs) == null || l.push(o));
99
+ data: l
100
+ }), o && ((i = (t = this.modalCloseListeners.get(e)) == null ? void 0 : t.cbs) == null || i.push(o));
102
101
  }
103
102
  cleanModalClose(e) {
104
103
  this.modalCloseListeners.delete(e);
@@ -107,74 +106,74 @@ class z {
107
106
  return this.modalComponents.get(e);
108
107
  }
109
108
  removeModalComponent(e) {
110
- this.modalComponents.delete(e), this.modalOrder.delete(e);
109
+ this.modalComponents.delete(e), C.unregister(e);
111
110
  }
112
- openConfirmModal(e, o = "", t = "", i = "", l = "", a = "default", s = void 0, d = void 0, c, f, p) {
113
- let h;
114
- typeof e == "function" ? h = {
111
+ openConfirmModal(e, o = "", l = "", t = "", i = "", a = "default", s = void 0, d = void 0, m, h, p) {
112
+ let f;
113
+ typeof e == "function" ? f = {
115
114
  closeFn: e,
116
115
  title: o,
117
- message: t,
118
- positiveCtaText: i,
119
- negativeCtaText: l,
116
+ message: l,
117
+ positiveCtaText: t,
118
+ negativeCtaText: i,
120
119
  headerType: a,
121
120
  positiveIconLeft: s,
122
121
  replacements: d,
123
- hideHeaderCloseBtn: c,
124
- customNegativeFn: f,
122
+ hideHeaderCloseBtn: m,
123
+ customNegativeFn: h,
125
124
  hideNegativeBtn: p
126
- } : h = e;
125
+ } : f = e;
127
126
  const {
128
127
  closeFn: M,
129
128
  title: u = "",
130
129
  message: g = "",
131
- positiveCtaText: P = "",
132
- negativeCtaText: w = "",
133
- headerType: H = "default",
134
- positiveIconLeft: b,
130
+ positiveCtaText: H = "",
131
+ negativeCtaText: P = "",
132
+ headerType: b = "default",
133
+ positiveIconLeft: w,
135
134
  replacements: B,
136
- hideHeaderCloseBtn: O,
135
+ hideHeaderCloseBtn: S,
137
136
  customNegativeFn: _
138
- } = h;
139
- return this.confirmModalId = this.open(r(G, {
137
+ } = f;
138
+ return this.confirmModalId = this.open(n(z, {
140
139
  close: M,
141
140
  message: g,
142
141
  title: u,
143
- positiveCtaText: P,
144
- positiveIconLeft: b,
145
- negativeCtaText: w,
146
- headerType: H,
142
+ positiveCtaText: H,
143
+ positiveIconLeft: w,
144
+ negativeCtaText: P,
145
+ headerType: b,
147
146
  replacements: B,
148
- hideHeaderCloseBtn: O,
147
+ hideHeaderCloseBtn: S,
149
148
  customNegativeFn: _
150
149
  })), this.confirmModalId;
151
150
  }
152
- openAcceptModal(e, o = "", t = "", i = "default", l = "", a = void 0, s) {
151
+ openAcceptModal(e, o = "", l = "", t = "default", i = "", a = void 0, s) {
153
152
  let d;
154
153
  typeof e == "function" ? d = {
155
154
  closeFn: e,
156
155
  title: o,
157
- message: t,
158
- headerType: i,
159
- positiveCtaText: l,
156
+ message: l,
157
+ headerType: t,
158
+ positiveCtaText: i,
160
159
  replacements: a,
161
160
  hideHeaderCloseBtn: s
162
161
  } : d = e;
163
162
  const {
164
- closeFn: c,
165
- title: f = "",
163
+ closeFn: m,
164
+ title: h = "",
166
165
  message: p = "",
167
- headerType: h = "default",
166
+ headerType: f = "default",
168
167
  positiveCtaText: M = "",
169
168
  replacements: u,
170
169
  hideHeaderCloseBtn: g
171
170
  } = d;
172
- return this.confirmModalId = this.open(r(U, {
173
- close: c,
171
+ return this.confirmModalId = this.open(n(V, {
172
+ close: m,
174
173
  message: p,
175
- title: f,
174
+ title: h,
176
175
  positiveCtaText: M,
177
- headerType: h,
176
+ headerType: f,
178
177
  replacements: u,
179
178
  hideHeaderCloseBtn: g
180
179
  })), this.confirmModalId;
@@ -182,25 +181,25 @@ class z {
182
181
  closeConfirmModal() {
183
182
  this.closeEv(this.confirmModalId), this.confirmModalId = null;
184
183
  }
185
- openLoadingModal(e, o, t, i) {
186
- let l;
187
- typeof e == "object" && e !== null ? l = e : l = {
184
+ openLoadingModal(e, o, l, t) {
185
+ let i;
186
+ typeof e == "object" && e !== null ? i = e : i = {
188
187
  title: e,
189
188
  message: o,
190
- loadingAnimation: t,
191
- headerTitle: i
189
+ loadingAnimation: l,
190
+ headerTitle: t
192
191
  };
193
192
  const {
194
193
  title: a,
195
194
  message: s,
196
195
  loadingAnimation: d = "default",
197
- headerTitle: c
198
- } = l;
199
- return this.loadingModalId = this.open(r(X, {
196
+ headerTitle: m
197
+ } = i;
198
+ return this.loadingModalId = this.open(n(J, {
200
199
  title: a,
201
200
  message: s,
202
201
  loadingAnimation: d,
203
- headerTitle: c,
202
+ headerTitle: m,
204
203
  close: () => {
205
204
  }
206
205
  }), {
@@ -214,7 +213,7 @@ class z {
214
213
  this.closeEv(this.loadingModalId), this.loadingModalId = null;
215
214
  }
216
215
  openPhotoGalleryModal(e, o) {
217
- return this.open(r(k, {
216
+ return this.open(n(q, {
218
217
  defaultMediaItem: o,
219
218
  gallery: e,
220
219
  close: () => {
@@ -240,62 +239,16 @@ class z {
240
239
  this.closeEv(o);
241
240
  });
242
241
  }
243
- /**
244
- * Highest order across modals AND popovers — used internally when assigning
245
- * the next slot so modals/popovers never tie or interleave wrongly.
246
- */
247
- getCurrentMaxOrder() {
248
- let e = 0;
249
- return this.modalOrder.forEach((o) => {
250
- o > e && (e = o);
251
- }), this.popoverOrder.forEach((o) => {
252
- o > e && (e = o);
253
- }), e;
254
- }
255
- getMaxModalOrder() {
256
- let e = 0;
257
- return this.modalOrder.forEach((o) => {
258
- o > e && (e = o);
259
- }), e;
260
- }
261
- /**
262
- * Z-index of the topmost mounted modal, or MODAL_BASE_Z_INDEX (the stacking
263
- * floor) when no modal is open. Popovers are excluded — this reports modal
264
- * stacking only. Mirrors ModalTransition's formula: BASE + order.
265
- */
266
- getTopmostModalZIndex() {
267
- return L + this.getMaxModalOrder();
268
- }
269
- /**
270
- * Single source of truth for a modal's stack order. ModalContext delegates
271
- * to this so the dropdown and ModalTransition cannot drift apart.
272
- */
273
- getModalOrder(e) {
274
- return this.modalOrder.get(e) ?? 0;
275
- }
276
- /**
277
- * Register a popover (e.g. DropdownMenu) into the shared stacking ledger.
278
- * Returns its z-index so the caller can position itself. Modals opened
279
- * after this call will land above the popover; closing the popover with
280
- * `unregisterPopover` frees the slot.
281
- */
282
- registerPopover(e) {
283
- const o = this.getCurrentMaxOrder() + 1;
284
- return this.popoverOrder.set(e, o), L + o;
285
- }
286
- unregisterPopover(e) {
287
- this.popoverOrder.delete(e);
288
- }
289
242
  /** Test-only: wipe internal state. Not for production code paths. */
290
243
  __resetForTests() {
291
- this.loadingModalId = null, this.confirmModalId = null, this.errorModalId = null, this.modalCloseListeners.clear(), this.modalComponents.clear(), this.modalOrder.clear(), this.popoverOrder.clear();
244
+ this.loadingModalId = null, this.confirmModalId = null, this.errorModalId = null, this.modalCloseListeners.clear(), this.modalComponents.clear(), C.__resetForTests();
292
245
  }
293
246
  open(e, o) {
294
- let t = W();
295
- const i = $.getInstance(), {
296
- widgetId: l
297
- } = i.get();
298
- l && (t = `${t}_${l}`), R.isMobile() && (!o || !o.hasOwnProperty("fullscreen")) ? o = {
247
+ let l = R();
248
+ const t = j.getInstance(), {
249
+ widgetId: i
250
+ } = t.get();
251
+ i && (l = `${l}_${i}`), $.isMobile() && (!o || !o.hasOwnProperty("fullscreen")) ? o = {
299
252
  fullscreen: !1,
300
253
  animation: "pop",
301
254
  ...o
@@ -306,17 +259,17 @@ class z {
306
259
  };
307
260
  const a = {
308
261
  ...e
309
- }, s = (c) => {
310
- a.props.close && a.props.close(c), this.closeEv(t, c);
262
+ }, s = (m) => {
263
+ a.props.close && a.props.close(m), this.closeEv(l, m);
311
264
  };
312
- o != null && o.wrapInModal && (e = r(q, {
265
+ o != null && o.wrapInModal && (e = n(K, {
313
266
  close: s,
314
267
  padding: o.padding,
315
268
  headerType: o.type,
316
269
  title: o.title,
317
270
  message: o.message,
318
- children: y.isValidElement(e) ? y.cloneElement(e, {
319
- modalId: t,
271
+ children: L.isValidElement(e) ? L.cloneElement(e, {
272
+ modalId: l,
320
273
  close: s
321
274
  }) : e
322
275
  }));
@@ -325,33 +278,32 @@ class z {
325
278
  close: s,
326
279
  ...o
327
280
  };
328
- return this.modalComponents.set(t, {
281
+ return this.modalComponents.set(l, {
329
282
  ...e,
330
283
  props: {
331
284
  ...d
332
285
  },
333
- modalId: t
334
- }), this.modalOrder.set(t, this.getCurrentMaxOrder() + 1), v.$pub(I.reactModalOpen, {
335
- modalId: t,
286
+ modalId: l
287
+ }), C.register(l, "modal"), I.$pub(T.reactModalOpen, {
288
+ modalId: l,
336
289
  animation: (o == null ? void 0 : o.animation) || "grow"
337
- }), t;
290
+ }), l;
338
291
  }
339
292
  closeEv(e, o) {
340
- return e ? new Promise((t) => {
293
+ return e ? new Promise((l) => {
341
294
  setTimeout(() => {
342
- v.$pub(I.reactModalClose, {
295
+ I.$pub(T.reactModalClose, {
343
296
  modalId: e
344
297
  });
345
- const i = this.modalCloseListeners.get(e);
346
- i && i.cbs.forEach((l) => l(o)), this.cleanModalClose(e), this.removeModalComponent(e), t(i == null ? void 0 : i.data);
298
+ const t = this.modalCloseListeners.get(e);
299
+ t && t.cbs.forEach((i) => i(o)), this.cleanModalClose(e), this.removeModalComponent(e), l(t == null ? void 0 : t.data);
347
300
  }, 0);
348
- }) : new Promise((t) => {
349
- t(void 0);
301
+ }) : new Promise((l) => {
302
+ l(void 0);
350
303
  });
351
304
  }
352
305
  }
353
- const pe = new z();
306
+ const Me = new Q();
354
307
  export {
355
- L as MODAL_BASE_Z_INDEX,
356
- pe as ModalService
308
+ Me as ModalService
357
309
  };
@@ -1,10 +1,10 @@
1
- import { __exports as y } from "./index-_virtual69.js";
1
+ import { __exports as y } from "./index-_virtual70.js";
2
2
  import de from "react";
3
3
  import { __require as me } from "./index-prop-types.js";
4
4
  import { __require as he } from "./index-DayCell.js";
5
5
  import ye from "./index-_virtual54.js";
6
6
  import ve from "./index-_virtual37.js";
7
- import Oe from "./index-_virtual70.js";
7
+ import Oe from "./index-_virtual71.js";
8
8
  import _e from "./index-_virtual68.js";
9
9
  import De from "./index-_virtual51.js";
10
10
  import ge from "./index-_virtual41.js";
@@ -0,0 +1,46 @@
1
+ var a = Object.defineProperty;
2
+ var d = (t, e, r) => e in t ? a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
+ var i = (t, e, r) => d(t, typeof e != "symbol" ? e + "" : e, r);
4
+ const c = 1100;
5
+ class o {
6
+ constructor() {
7
+ i(this, "order", /* @__PURE__ */ new Map());
8
+ i(this, "kind", /* @__PURE__ */ new Map());
9
+ }
10
+ /** Assign the next slot above all currently-mounted overlays and return its z-index. */
11
+ register(e, r) {
12
+ const s = this.getMaxOrder() + 1;
13
+ return this.order.set(e, s), this.kind.set(e, r), 1100 + s;
14
+ }
15
+ /** Free the slot. The next opener will reuse the now-vacated topmost order. */
16
+ unregister(e) {
17
+ this.order.delete(e), this.kind.delete(e);
18
+ }
19
+ /** Slot order for an id, or 0 if not registered. */
20
+ getOrder(e) {
21
+ return this.order.get(e) ?? 0;
22
+ }
23
+ /**
24
+ * Topmost z-index across all overlays, or — when `kind` is supplied — the
25
+ * topmost z within that kind only. Returns `OVERLAY_BASE_Z_INDEX` (the
26
+ * stacking floor) when nothing of the requested kind is registered.
27
+ */
28
+ getTopmostZIndex(e) {
29
+ return 1100 + this.getMaxOrder(e);
30
+ }
31
+ /** Test-only: wipe internal state. Not for production code paths. */
32
+ __resetForTests() {
33
+ this.order.clear(), this.kind.clear();
34
+ }
35
+ getMaxOrder(e) {
36
+ let r = 0;
37
+ return this.order.forEach((s, n) => {
38
+ e && this.kind.get(n) !== e || s > r && (r = s);
39
+ }), r;
40
+ }
41
+ }
42
+ const g = new o();
43
+ export {
44
+ c as OVERLAY_BASE_Z_INDEX,
45
+ g as OverlayStackingService
46
+ };
@@ -1,5 +1,4 @@
1
1
  import S, { QuoteType as u } from "./index-Tokenizer.js";
2
- import "./index-decode.js";
3
2
  import { fromCodePoint as p } from "./index-decode_codepoint.js";
4
3
  const f = /* @__PURE__ */ new Set([
5
4
  "input",
@@ -88,7 +87,7 @@ const f = /* @__PURE__ */ new Set([
88
87
  "desc",
89
88
  "title"
90
89
  ]), I = /\s|\//;
91
- class y {
90
+ class E {
92
91
  constructor(t, e = {}) {
93
92
  var s, i, o, h, a;
94
93
  this.options = e, this.startIndex = 0, this.endIndex = 0, this.openTagStart = 0, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this.stack = [], this.foreignContext = [], this.buffers = [], this.bufferOffset = 0, this.writeIndex = 0, this.ended = !1, this.cbs = t ?? {}, this.lowerCaseTagNames = (s = e.lowerCaseTags) !== null && s !== void 0 ? s : !e.xmlMode, this.lowerCaseAttributeNames = (i = e.lowerCaseAttributeNames) !== null && i !== void 0 ? i : !e.xmlMode, this.tokenizer = new ((o = e.Tokenizer) !== null && o !== void 0 ? o : S)(this.options, this), (a = (h = this.cbs).onparserinit) === null || a === void 0 || a.call(h, this);
@@ -316,5 +315,5 @@ class y {
316
315
  }
317
316
  }
318
317
  export {
319
- y as Parser
318
+ E as Parser
320
319
  };
@@ -5,7 +5,7 @@ import { STATUS as t } from "./index-config.js";
5
5
  import J from "./index-cache.js";
6
6
  import { randomString as K, request as Q, canUseDOM as L, isSupportedEnvironment as W, omit as X } from "./index-helpers.js";
7
7
  import { usePrevious as V } from "./index-hooks.js";
8
- import { getNode as Z } from "./index-utils3.js";
8
+ import { getNode as Z } from "./index-utils2.js";
9
9
  let u;
10
10
  function _(s) {
11
11
  const {
@@ -1,4 +1,5 @@
1
- var r = {};
1
+ import { __require as r } from "./index-dist4.js";
2
+ var i = r();
2
3
  export {
3
- r as __exports
4
+ i as d
4
5
  };
@@ -1,5 +1,5 @@
1
1
  import { getDefaultExportFromCjs as r } from "./index-_commonjsHelpers.js";
2
- import { __require as t } from "./index-dist3.js";
2
+ import { __require as t } from "./index-dist2.js";
3
3
  var e = t();
4
4
  const a = /* @__PURE__ */ r(e);
5
5
  export {
@@ -1,4 +1,4 @@
1
- var o = {};
1
+ var e = {};
2
2
  export {
3
- o as __exports
3
+ e as __exports
4
4
  };
@@ -1,6 +1,4 @@
1
- import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isWeekend.js";
3
- const m = /* @__PURE__ */ e(r);
1
+ var o = {};
4
2
  export {
5
- m as default
3
+ o as __exports
6
4
  };
@@ -1,4 +1,6 @@
1
- var t = {};
1
+ import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
+ import * as r from "./index-isWeekend.js";
3
+ const m = /* @__PURE__ */ e(r);
2
4
  export {
3
- t as __exports
5
+ m as default
4
6
  };
@@ -1,6 +1,4 @@
1
- import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isEqual.js";
3
- const m = /* @__PURE__ */ e(r);
1
+ var t = {};
4
2
  export {
5
- m as default
3
+ t as __exports
6
4
  };
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-isValid2.js";
2
+ import * as r from "./index-isEqual.js";
3
3
  const m = /* @__PURE__ */ e(r);
4
4
  export {
5
5
  m as default
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
- import * as r from "./index-parse3.js";
2
+ import * as r from "./index-isValid2.js";
3
3
  const m = /* @__PURE__ */ e(r);
4
4
  export {
5
5
  m as default
@@ -1,4 +1,6 @@
1
- var s = {};
1
+ import { getAugmentedNamespace as e } from "./index-_commonjsHelpers.js";
2
+ import * as r from "./index-parse3.js";
3
+ const m = /* @__PURE__ */ e(r);
2
4
  export {
3
- s as __exports
5
+ m as default
4
6
  };
@@ -1,4 +1,4 @@
1
- var e = {};
1
+ var s = {};
2
2
  export {
3
- e as __exports
3
+ s as __exports
4
4
  };
@@ -1,5 +1,4 @@
1
- import { __require as r } from "./index-dist4.js";
2
- var i = r();
1
+ var r = {};
3
2
  export {
4
- i as d
3
+ r as __exports
5
4
  };
@@ -1,4 +1,4 @@
1
- import { __exports as t } from "./index-_virtual75.js";
1
+ import { __exports as t } from "./index-_virtual76.js";
2
2
  import { __require as s } from "./index-prop-types.js";
3
3
  var a;
4
4
  function f() {