@scrippsproduct/networks-ui-library 1.0.21 → 1.0.22

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 (50) hide show
  1. package/dist/{ResultsTable.module-B7M9y7hd.mjs → ResultsTable.module-nTlGw9Lh.mjs} +5 -1
  2. package/dist/{add-DH4DZT_w.mjs → add-FrnMPwwO.mjs} +2 -2
  3. package/dist/{addMonths-Ca2KMx6g.mjs → addMonths-BDf46gmB.mjs} +1 -1
  4. package/dist/assets/DatePicker.css +1 -1
  5. package/dist/assets/SectionedContent.css +1 -0
  6. package/dist/components/AirDateFormatter/AirDateFormatter.js +3 -3
  7. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +1 -1
  8. package/dist/components/Concat/Concat.js +1 -1
  9. package/dist/components/CtaBlock/CtaBlock.js +1 -1
  10. package/dist/components/CustomDataList/CustomDataList.js +45 -42
  11. package/dist/components/DateNavigation/DateNavigation.js +6 -5
  12. package/dist/components/DatePicker/DatePicker.js +1322 -1341
  13. package/dist/components/DrawerNavigation/DrawerNavigation.js +29 -27
  14. package/dist/components/ErrorHandler/ErrorHandler.js +1 -1
  15. package/dist/components/Figure/Figure.js +1 -1
  16. package/dist/components/GenericList/GenericList.js +1 -1
  17. package/dist/components/ImageCard/ImageCardCore.js +1 -1
  18. package/dist/components/InfoPanel/InfoPanel.js +15 -14
  19. package/dist/components/InlineNavigation/InlineNavigation.js +7 -6
  20. package/dist/components/InstructionsList/InstructionsList.js +1 -1
  21. package/dist/components/Loading/Loading.js +8 -5
  22. package/dist/components/ModalContainer/ModalContainer.js +44 -41
  23. package/dist/components/Overlay/Overlay.js +20 -17
  24. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +1 -1
  25. package/dist/components/ProgramAirdate/ProgramAirdate.js +3 -3
  26. package/dist/components/PromotionBlock/PromotionBlock.js +17 -15
  27. package/dist/components/ResultsTable/ResultsTable.js +1 -1
  28. package/dist/components/ResultsTableBody/ResultsTableBody.js +1 -1
  29. package/dist/components/ResultsTableHeader/ResultsTableHeader.js +1 -1
  30. package/dist/components/ScheduleLayout/ScheduleLayout.js +2 -2
  31. package/dist/components/SectionedContent/SectionedContent.js +22 -13
  32. package/dist/components/ShowAboutContent/ShowAboutContent.js +1 -1
  33. package/dist/components/ShowAboutLayout/ShowAboutLayout.js +13 -12
  34. package/dist/components/StringList/StringList.js +1 -1
  35. package/dist/components/TabContent/TabContent.js +1 -1
  36. package/dist/{format-DF9p-6BI.mjs → format-plq8pBNY.mjs} +12 -10
  37. package/dist/hooks/useGetSchedule.js +3 -3
  38. package/dist/hooks/useGetUpcoming.js +2 -2
  39. package/dist/{index-DB0QlRo7.mjs → index-B0ARwqly.mjs} +301 -310
  40. package/dist/{index-0wieGV50.mjs → index-C8O1hjfH.mjs} +1 -0
  41. package/dist/{index-YbL9dKxh.mjs → index-DC7FmJPK.mjs} +6743 -6742
  42. package/dist/{sub-DTz41m8W.mjs → sub-CkNH5u-l.mjs} +2 -2
  43. package/dist/{subMonths-YdVF7zsL.mjs → subMonths-nbU1oDhB.mjs} +1 -1
  44. package/dist/utils/analytics.js +1 -1
  45. package/dist/utils/date-helpers.js +4 -4
  46. package/dist/utils/getFeaturedList.js +3 -3
  47. package/dist/utils/getOnNowProgram.js +3 -3
  48. package/dist/utils/getUpcomingPrograms.js +2 -2
  49. package/package.json +1 -1
  50. package/dist/components/Carousel/types.d.js +0 -1
@@ -1,6 +1,62 @@
1
1
  import { c as m, g as ze } from "./_commonjsHelpers-DaMA6jEr.mjs";
2
- import _e from "react";
3
- var Te = {}, q = {}, Y = {}, A = {}, Z = {}, K = {};
2
+ import Ee from "react";
3
+ var Te = {}, W = {}, q = {};
4
+ Object.defineProperty(q, "__esModule", { value: !0 });
5
+ q.default = Ue;
6
+ var ae = "html", oe = "head", P = "body", Ve = /<([a-zA-Z]+[0-9]?)/, le = /<head[^]*>/i, se = /<body[^]*>/i, M = function(e, t) {
7
+ throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
8
+ }, X = function(e, t) {
9
+ throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
10
+ }, ce = typeof window == "object" && window.DOMParser;
11
+ if (typeof ce == "function") {
12
+ var Ge = new ce(), Xe = "text/html";
13
+ X = function(e, t) {
14
+ return t && (e = "<".concat(t, ">").concat(e, "</").concat(t, ">")), Ge.parseFromString(e, Xe);
15
+ }, M = X;
16
+ }
17
+ if (typeof document == "object" && document.implementation) {
18
+ var x = document.implementation.createHTMLDocument();
19
+ M = function(e, t) {
20
+ if (t) {
21
+ var r = x.documentElement.querySelector(t);
22
+ return r && (r.innerHTML = e), x;
23
+ }
24
+ return x.documentElement.innerHTML = e, x;
25
+ };
26
+ }
27
+ var R = typeof document == "object" && document.createElement("template"), U;
28
+ R && R.content && (U = function(e) {
29
+ return R.innerHTML = e, R.content.childNodes;
30
+ });
31
+ function Ue(e) {
32
+ var t, r, n = e.match(Ve), i = n && n[1] ? n[1].toLowerCase() : "";
33
+ switch (i) {
34
+ case ae: {
35
+ var s = X(e);
36
+ if (!le.test(e)) {
37
+ var f = s.querySelector(oe);
38
+ (t = f == null ? void 0 : f.parentNode) === null || t === void 0 || t.removeChild(f);
39
+ }
40
+ if (!se.test(e)) {
41
+ var f = s.querySelector(P);
42
+ (r = f == null ? void 0 : f.parentNode) === null || r === void 0 || r.removeChild(f);
43
+ }
44
+ return s.querySelectorAll(ae);
45
+ }
46
+ case oe:
47
+ case P: {
48
+ var l = M(e).querySelectorAll(i);
49
+ return se.test(e) && le.test(e) ? l[0].parentNode.childNodes : l;
50
+ }
51
+ default: {
52
+ if (U)
53
+ return U(e);
54
+ var f = M(e, P).querySelector(P);
55
+ return f.childNodes;
56
+ }
57
+ }
58
+ }
59
+ var D = {}, Y = {}, Z = {};
4
60
  (function(e) {
5
61
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
6
62
  var t;
@@ -11,8 +67,8 @@ var Te = {}, q = {}, Y = {}, A = {}, Z = {}, K = {};
11
67
  return n.type === t.Tag || n.type === t.Script || n.type === t.Style;
12
68
  }
13
69
  e.isTag = r, e.Root = t.Root, e.Text = t.Text, e.Directive = t.Directive, e.Comment = t.Comment, e.Script = t.Script, e.Style = t.Style, e.Tag = t.Tag, e.CDATA = t.CDATA, e.Doctype = t.Doctype;
14
- })(K);
15
- var p = {}, R = m && m.__extends || /* @__PURE__ */ function() {
70
+ })(Z);
71
+ var p = {}, b = m && m.__extends || /* @__PURE__ */ function() {
16
72
  var e = function(t, r) {
17
73
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, i) {
18
74
  n.__proto__ = i;
@@ -29,18 +85,18 @@ var p = {}, R = m && m.__extends || /* @__PURE__ */ function() {
29
85
  }
30
86
  t.prototype = r === null ? Object.create(r) : (n.prototype = r.prototype, new n());
31
87
  };
32
- }(), O = m && m.__assign || function() {
33
- return O = Object.assign || function(e) {
88
+ }(), k = m && m.__assign || function() {
89
+ return k = Object.assign || function(e) {
34
90
  for (var t, r = 1, n = arguments.length; r < n; r++) {
35
91
  t = arguments[r];
36
92
  for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
37
93
  }
38
94
  return e;
39
- }, O.apply(this, arguments);
95
+ }, k.apply(this, arguments);
40
96
  };
41
97
  Object.defineProperty(p, "__esModule", { value: !0 });
42
98
  p.cloneNode = p.hasChildren = p.isDocument = p.isDirective = p.isComment = p.isText = p.isCDATA = p.isTag = p.Element = p.Document = p.CDATA = p.NodeWithChildren = p.ProcessingInstruction = p.Comment = p.Text = p.DataNode = p.Node = void 0;
43
- var y = K, J = (
99
+ var E = Z, K = (
44
100
  /** @class */
45
101
  function() {
46
102
  function e() {
@@ -87,15 +143,15 @@ var y = K, J = (
87
143
  enumerable: !1,
88
144
  configurable: !0
89
145
  }), e.prototype.cloneNode = function(t) {
90
- return t === void 0 && (t = !1), Q(this, t);
146
+ return t === void 0 && (t = !1), J(this, t);
91
147
  }, e;
92
148
  }()
93
149
  );
94
- p.Node = J;
95
- var L = (
150
+ p.Node = K;
151
+ var I = (
96
152
  /** @class */
97
153
  function(e) {
98
- R(t, e);
154
+ b(t, e);
99
155
  function t(r) {
100
156
  var n = e.call(this) || this;
101
157
  return n.data = r, n;
@@ -114,16 +170,16 @@ var L = (
114
170
  enumerable: !1,
115
171
  configurable: !0
116
172
  }), t;
117
- }(J)
173
+ }(K)
118
174
  );
119
- p.DataNode = L;
120
- var Re = (
175
+ p.DataNode = I;
176
+ var _e = (
121
177
  /** @class */
122
178
  function(e) {
123
- R(t, e);
179
+ b(t, e);
124
180
  function t() {
125
181
  var r = e !== null && e.apply(this, arguments) || this;
126
- return r.type = y.ElementType.Text, r;
182
+ return r.type = E.ElementType.Text, r;
127
183
  }
128
184
  return Object.defineProperty(t.prototype, "nodeType", {
129
185
  get: function() {
@@ -132,16 +188,16 @@ var Re = (
132
188
  enumerable: !1,
133
189
  configurable: !0
134
190
  }), t;
135
- }(L)
191
+ }(I)
136
192
  );
137
- p.Text = Re;
193
+ p.Text = _e;
138
194
  var be = (
139
195
  /** @class */
140
196
  function(e) {
141
- R(t, e);
197
+ b(t, e);
142
198
  function t() {
143
199
  var r = e !== null && e.apply(this, arguments) || this;
144
- return r.type = y.ElementType.Comment, r;
200
+ return r.type = E.ElementType.Comment, r;
145
201
  }
146
202
  return Object.defineProperty(t.prototype, "nodeType", {
147
203
  get: function() {
@@ -150,16 +206,16 @@ var be = (
150
206
  enumerable: !1,
151
207
  configurable: !0
152
208
  }), t;
153
- }(L)
209
+ }(I)
154
210
  );
155
211
  p.Comment = be;
156
- var Ce = (
212
+ var Se = (
157
213
  /** @class */
158
214
  function(e) {
159
- R(t, e);
215
+ b(t, e);
160
216
  function t(r, n) {
161
217
  var i = e.call(this, n) || this;
162
- return i.name = r, i.type = y.ElementType.Directive, i;
218
+ return i.name = r, i.type = E.ElementType.Directive, i;
163
219
  }
164
220
  return Object.defineProperty(t.prototype, "nodeType", {
165
221
  get: function() {
@@ -168,13 +224,13 @@ var Ce = (
168
224
  enumerable: !1,
169
225
  configurable: !0
170
226
  }), t;
171
- }(L)
227
+ }(I)
172
228
  );
173
- p.ProcessingInstruction = Ce;
174
- var j = (
229
+ p.ProcessingInstruction = Se;
230
+ var L = (
175
231
  /** @class */
176
232
  function(e) {
177
- R(t, e);
233
+ b(t, e);
178
234
  function t(r) {
179
235
  var n = e.call(this) || this;
180
236
  return n.children = r, n;
@@ -209,16 +265,16 @@ var j = (
209
265
  enumerable: !1,
210
266
  configurable: !0
211
267
  }), t;
212
- }(J)
268
+ }(K)
213
269
  );
214
- p.NodeWithChildren = j;
215
- var Ae = (
270
+ p.NodeWithChildren = L;
271
+ var Ce = (
216
272
  /** @class */
217
273
  function(e) {
218
- R(t, e);
274
+ b(t, e);
219
275
  function t() {
220
276
  var r = e !== null && e.apply(this, arguments) || this;
221
- return r.type = y.ElementType.CDATA, r;
277
+ return r.type = E.ElementType.CDATA, r;
222
278
  }
223
279
  return Object.defineProperty(t.prototype, "nodeType", {
224
280
  get: function() {
@@ -227,16 +283,16 @@ var Ae = (
227
283
  enumerable: !1,
228
284
  configurable: !0
229
285
  }), t;
230
- }(j)
286
+ }(L)
231
287
  );
232
- p.CDATA = Ae;
233
- var Se = (
288
+ p.CDATA = Ce;
289
+ var Oe = (
234
290
  /** @class */
235
291
  function(e) {
236
- R(t, e);
292
+ b(t, e);
237
293
  function t() {
238
294
  var r = e !== null && e.apply(this, arguments) || this;
239
- return r.type = y.ElementType.Root, r;
295
+ return r.type = E.ElementType.Root, r;
240
296
  }
241
297
  return Object.defineProperty(t.prototype, "nodeType", {
242
298
  get: function() {
@@ -245,15 +301,15 @@ var Se = (
245
301
  enumerable: !1,
246
302
  configurable: !0
247
303
  }), t;
248
- }(j)
304
+ }(L)
249
305
  );
250
- p.Document = Se;
251
- var Oe = (
306
+ p.Document = Oe;
307
+ var ke = (
252
308
  /** @class */
253
309
  function(e) {
254
- R(t, e);
310
+ b(t, e);
255
311
  function t(r, n, i, s) {
256
- i === void 0 && (i = []), s === void 0 && (s = r === "script" ? y.ElementType.Script : r === "style" ? y.ElementType.Style : y.ElementType.Tag);
312
+ i === void 0 && (i = []), s === void 0 && (s = r === "script" ? E.ElementType.Script : r === "style" ? E.ElementType.Style : E.ElementType.Tag);
257
313
  var f = e.call(this, i) || this;
258
314
  return f.name = r, f.attribs = n, f.type = s, f;
259
315
  }
@@ -293,70 +349,70 @@ var Oe = (
293
349
  enumerable: !1,
294
350
  configurable: !0
295
351
  }), t;
296
- }(j)
352
+ }(L)
297
353
  );
298
- p.Element = Oe;
299
- function ke(e) {
300
- return (0, y.isTag)(e);
354
+ p.Element = ke;
355
+ function Ae(e) {
356
+ return (0, E.isTag)(e);
301
357
  }
302
- p.isTag = ke;
358
+ p.isTag = Ae;
303
359
  function we(e) {
304
- return e.type === y.ElementType.CDATA;
360
+ return e.type === E.ElementType.CDATA;
305
361
  }
306
362
  p.isCDATA = we;
307
363
  function Pe(e) {
308
- return e.type === y.ElementType.Text;
364
+ return e.type === E.ElementType.Text;
309
365
  }
310
366
  p.isText = Pe;
311
- function Ne(e) {
312
- return e.type === y.ElementType.Comment;
367
+ function xe(e) {
368
+ return e.type === E.ElementType.Comment;
313
369
  }
314
- p.isComment = Ne;
315
- function Ie(e) {
316
- return e.type === y.ElementType.Directive;
370
+ p.isComment = xe;
371
+ function Re(e) {
372
+ return e.type === E.ElementType.Directive;
317
373
  }
318
- p.isDirective = Ie;
319
- function De(e) {
320
- return e.type === y.ElementType.Root;
374
+ p.isDirective = Re;
375
+ function Ne(e) {
376
+ return e.type === E.ElementType.Root;
321
377
  }
322
- p.isDocument = De;
323
- function Ve(e) {
378
+ p.isDocument = Ne;
379
+ function $e(e) {
324
380
  return Object.prototype.hasOwnProperty.call(e, "children");
325
381
  }
326
- p.hasChildren = Ve;
327
- function Q(e, t) {
382
+ p.hasChildren = $e;
383
+ function J(e, t) {
328
384
  t === void 0 && (t = !1);
329
385
  var r;
330
386
  if (Pe(e))
331
- r = new Re(e.data);
332
- else if (Ne(e))
387
+ r = new _e(e.data);
388
+ else if (xe(e))
333
389
  r = new be(e.data);
334
- else if (ke(e)) {
335
- var n = t ? z(e.children) : [], i = new Oe(e.name, O({}, e.attribs), n);
390
+ else if (Ae(e)) {
391
+ var n = t ? V(e.children) : [], i = new ke(e.name, k({}, e.attribs), n);
336
392
  n.forEach(function(a) {
337
393
  return a.parent = i;
338
- }), e.namespace != null && (i.namespace = e.namespace), e["x-attribsNamespace"] && (i["x-attribsNamespace"] = O({}, e["x-attribsNamespace"])), e["x-attribsPrefix"] && (i["x-attribsPrefix"] = O({}, e["x-attribsPrefix"])), r = i;
394
+ }), e.namespace != null && (i.namespace = e.namespace), e["x-attribsNamespace"] && (i["x-attribsNamespace"] = k({}, e["x-attribsNamespace"])), e["x-attribsPrefix"] && (i["x-attribsPrefix"] = k({}, e["x-attribsPrefix"])), r = i;
339
395
  } else if (we(e)) {
340
- var n = t ? z(e.children) : [], s = new Ae(n);
396
+ var n = t ? V(e.children) : [], s = new Ce(n);
341
397
  n.forEach(function(o) {
342
398
  return o.parent = s;
343
399
  }), r = s;
344
- } else if (De(e)) {
345
- var n = t ? z(e.children) : [], f = new Se(n);
400
+ } else if (Ne(e)) {
401
+ var n = t ? V(e.children) : [], f = new Oe(n);
346
402
  n.forEach(function(o) {
347
403
  return o.parent = f;
348
404
  }), e["x-mode"] && (f["x-mode"] = e["x-mode"]), r = f;
349
- } else if (Ie(e)) {
350
- var l = new Ce(e.name, e.data);
405
+ } else if (Re(e)) {
406
+ var l = new Se(e.name, e.data);
351
407
  e["x-name"] != null && (l["x-name"] = e["x-name"], l["x-publicId"] = e["x-publicId"], l["x-systemId"] = e["x-systemId"]), r = l;
352
408
  } else
353
409
  throw new Error("Not implemented yet: ".concat(e.type));
354
410
  return r.startIndex = e.startIndex, r.endIndex = e.endIndex, e.sourceCodeLocation != null && (r.sourceCodeLocation = e.sourceCodeLocation), r;
355
411
  }
356
- p.cloneNode = Q;
357
- function z(e) {
412
+ p.cloneNode = J;
413
+ function V(e) {
358
414
  for (var t = e.map(function(n) {
359
- return Q(n, !0);
415
+ return J(n, !0);
360
416
  }), r = 1; r < t.length; r++)
361
417
  t[r].prev = t[r - 1], t[r - 1].next = t[r];
362
418
  return t;
@@ -374,7 +430,7 @@ function z(e) {
374
430
  for (var o in l) o !== "default" && !Object.prototype.hasOwnProperty.call(a, o) && t(a, l, o);
375
431
  };
376
432
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DomHandler = void 0;
377
- var n = K, i = p;
433
+ var n = Z, i = p;
378
434
  r(p, e);
379
435
  var s = {
380
436
  withStartIndices: !1,
@@ -438,10 +494,10 @@ function z(e) {
438
494
  }()
439
495
  );
440
496
  e.DomHandler = f, e.default = f;
441
- })(Z);
442
- var xe = {};
497
+ })(Y);
498
+ var Me = {};
443
499
  (function(e) {
444
- Object.defineProperty(e, "__esModule", { value: !0 }), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = e.CARRIAGE_RETURN_PLACEHOLDER = e.CARRIAGE_RETURN_REGEX = e.CARRIAGE_RETURN = e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES = void 0, e.CASE_SENSITIVE_TAG_NAMES = [
500
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES = void 0, e.CASE_SENSITIVE_TAG_NAMES = [
445
501
  "animateMotion",
446
502
  "animateTransform",
447
503
  "clipPath",
@@ -475,43 +531,35 @@ var xe = {};
475
531
  "textPath"
476
532
  ], e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t, r) {
477
533
  return t[r.toLowerCase()] = r, t;
478
- }, {}), e.CARRIAGE_RETURN = "\r", e.CARRIAGE_RETURN_REGEX = new RegExp(e.CARRIAGE_RETURN, "g"), e.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(), "__"), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER, "g");
479
- })(xe);
480
- Object.defineProperty(A, "__esModule", { value: !0 });
481
- A.formatAttributes = Me;
482
- A.escapeSpecialCharacters = We;
483
- A.revertEscapedCharacters = Le;
484
- A.formatDOM = je;
485
- var N = Z, w = xe;
486
- function Xe(e) {
487
- return w.CASE_SENSITIVE_TAG_NAMES_MAP[e];
534
+ }, {});
535
+ })(Me);
536
+ Object.defineProperty(D, "__esModule", { value: !0 });
537
+ D.formatAttributes = De;
538
+ D.formatDOM = Ie;
539
+ var N = Y, We = Me;
540
+ function qe(e) {
541
+ return We.CASE_SENSITIVE_TAG_NAMES_MAP[e];
488
542
  }
489
- function Me(e) {
543
+ function De(e) {
490
544
  for (var t = {}, r = 0, n = e.length; r < n; r++) {
491
545
  var i = e[r];
492
546
  t[i.name] = i.value;
493
547
  }
494
548
  return t;
495
549
  }
496
- function $e(e) {
550
+ function Ye(e) {
497
551
  e = e.toLowerCase();
498
- var t = Xe(e);
552
+ var t = qe(e);
499
553
  return t || e;
500
554
  }
501
- function We(e) {
502
- return e.replace(w.CARRIAGE_RETURN_REGEX, w.CARRIAGE_RETURN_PLACEHOLDER);
503
- }
504
- function Le(e) {
505
- return e.replace(w.CARRIAGE_RETURN_PLACEHOLDER_REGEX, w.CARRIAGE_RETURN);
506
- }
507
- function je(e, t, r) {
555
+ function Ie(e, t, r) {
508
556
  t === void 0 && (t = null);
509
557
  for (var n = [], i, s = 0, f = e.length; s < f; s++) {
510
558
  var l = e[s];
511
559
  switch (l.nodeType) {
512
560
  case 1: {
513
- var a = $e(l.nodeName);
514
- i = new N.Element(a, Me(l.attributes)), i.children = je(
561
+ var a = Ye(l.nodeName);
562
+ i = new N.Element(a, De(l.attributes)), i.children = Ie(
515
563
  // template children are on content
516
564
  a === "template" ? l.content.childNodes : l.childNodes,
517
565
  i
@@ -519,7 +567,7 @@ function je(e, t, r) {
519
567
  break;
520
568
  }
521
569
  case 3:
522
- i = new N.Text(Le(l.nodeValue));
570
+ i = new N.Text(l.nodeValue);
523
571
  break;
524
572
  case 8:
525
573
  i = new N.Comment(l.nodeValue);
@@ -532,81 +580,24 @@ function je(e, t, r) {
532
580
  }
533
581
  return r && (i = new N.ProcessingInstruction(r.substring(0, r.indexOf(" ")).toLowerCase(), r), i.next = n[0] || null, i.parent = t, n.unshift(i), n[1] && (n[1].prev = n[0])), n;
534
582
  }
535
- Object.defineProperty(Y, "__esModule", { value: !0 });
536
- Y.default = Je;
537
- var qe = A, oe = "html", le = "head", I = "body", Ye = /<([a-zA-Z]+[0-9]?)/, se = /<head[^]*>/i, ce = /<body[^]*>/i, M = function(e, t) {
538
- throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
539
- }, X = function(e, t) {
540
- throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
541
- }, ue = typeof window == "object" && window.DOMParser;
542
- if (typeof ue == "function") {
543
- var Ze = new ue(), Ke = "text/html";
544
- X = function(e, t) {
545
- return t && (e = "<".concat(t, ">").concat(e, "</").concat(t, ">")), Ze.parseFromString(e, Ke);
546
- }, M = X;
547
- }
548
- if (typeof document == "object" && document.implementation) {
549
- var D = document.implementation.createHTMLDocument();
550
- M = function(e, t) {
551
- if (t) {
552
- var r = D.documentElement.querySelector(t);
553
- return r && (r.innerHTML = e), D;
554
- }
555
- return D.documentElement.innerHTML = e, D;
556
- };
557
- }
558
- var x = typeof document == "object" && document.createElement("template"), $;
559
- x && x.content && ($ = function(e) {
560
- return x.innerHTML = e, x.content.childNodes;
561
- });
562
- function Je(e) {
563
- var t, r;
564
- e = (0, qe.escapeSpecialCharacters)(e);
565
- var n = e.match(Ye), i = n && n[1] ? n[1].toLowerCase() : "";
566
- switch (i) {
567
- case oe: {
568
- var s = X(e);
569
- if (!se.test(e)) {
570
- var f = s.querySelector(le);
571
- (t = f == null ? void 0 : f.parentNode) === null || t === void 0 || t.removeChild(f);
572
- }
573
- if (!ce.test(e)) {
574
- var f = s.querySelector(I);
575
- (r = f == null ? void 0 : f.parentNode) === null || r === void 0 || r.removeChild(f);
576
- }
577
- return s.querySelectorAll(oe);
578
- }
579
- case le:
580
- case I: {
581
- var l = M(e).querySelectorAll(i);
582
- return ce.test(e) && se.test(e) ? l[0].parentNode.childNodes : l;
583
- }
584
- default: {
585
- if ($)
586
- return $(e);
587
- var f = M(e, I).querySelector(I);
588
- return f.childNodes;
589
- }
590
- }
591
- }
592
- var Qe = m && m.__importDefault || function(e) {
583
+ var Ze = m && m.__importDefault || function(e) {
593
584
  return e && e.__esModule ? e : { default: e };
594
585
  };
595
- Object.defineProperty(q, "__esModule", { value: !0 });
596
- q.default = nt;
597
- var et = Qe(Y), tt = A, rt = /<(![a-zA-Z\s]+)>/;
598
- function nt(e) {
586
+ Object.defineProperty(W, "__esModule", { value: !0 });
587
+ W.default = et;
588
+ var Ke = Ze(q), Je = D, Qe = /<(![a-zA-Z\s]+)>/;
589
+ function et(e) {
599
590
  if (typeof e != "string")
600
591
  throw new TypeError("First argument must be a string");
601
592
  if (!e)
602
593
  return [];
603
- var t = e.match(rt), r = t ? t[1] : void 0;
604
- return (0, tt.formatDOM)((0, et.default)(e), null, r);
594
+ var t = e.match(Qe), r = t ? t[1] : void 0;
595
+ return (0, Je.formatDOM)((0, Ke.default)(e), null, r);
605
596
  }
606
- var H = {}, _ = {}, F = {}, it = 0;
607
- F.SAME = it;
608
- var at = 1;
609
- F.CAMELCASE = at;
597
+ var j = {}, T = {}, F = {}, tt = 0;
598
+ F.SAME = tt;
599
+ var rt = 1;
600
+ F.CAMELCASE = rt;
610
601
  F.possibleStandardNames = {
611
602
  accept: 0,
612
603
  acceptCharset: 1,
@@ -1092,14 +1083,14 @@ F.possibleStandardNames = {
1092
1083
  z: 0,
1093
1084
  zoomAndPan: 1
1094
1085
  };
1095
- const He = 0, b = 1, G = 2, U = 3, ee = 4, Fe = 5, Ge = 6;
1096
- function ot(e) {
1086
+ const Le = 0, S = 1, H = 2, B = 3, Q = 4, je = 5, Fe = 6;
1087
+ function nt(e) {
1097
1088
  return v.hasOwnProperty(e) ? v[e] : null;
1098
1089
  }
1099
1090
  function g(e, t, r, n, i, s, f) {
1100
- this.acceptsBooleans = t === G || t === U || t === ee, this.attributeName = n, this.attributeNamespace = i, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = s, this.removeEmptyString = f;
1091
+ this.acceptsBooleans = t === H || t === B || t === Q, this.attributeName = n, this.attributeNamespace = i, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = s, this.removeEmptyString = f;
1101
1092
  }
1102
- const v = {}, lt = [
1093
+ const v = {}, it = [
1103
1094
  "children",
1104
1095
  "dangerouslySetInnerHTML",
1105
1096
  // TODO: This prevents the assignment of defaultValue to regular
@@ -1112,10 +1103,10 @@ const v = {}, lt = [
1112
1103
  "suppressHydrationWarning",
1113
1104
  "style"
1114
1105
  ];
1115
- lt.forEach((e) => {
1106
+ it.forEach((e) => {
1116
1107
  v[e] = new g(
1117
1108
  e,
1118
- He,
1109
+ Le,
1119
1110
  !1,
1120
1111
  // mustUseProperty
1121
1112
  e,
@@ -1136,7 +1127,7 @@ lt.forEach((e) => {
1136
1127
  ].forEach(([e, t]) => {
1137
1128
  v[e] = new g(
1138
1129
  e,
1139
- b,
1130
+ S,
1140
1131
  !1,
1141
1132
  // mustUseProperty
1142
1133
  t,
@@ -1152,7 +1143,7 @@ lt.forEach((e) => {
1152
1143
  ["contentEditable", "draggable", "spellCheck", "value"].forEach((e) => {
1153
1144
  v[e] = new g(
1154
1145
  e,
1155
- G,
1146
+ H,
1156
1147
  !1,
1157
1148
  // mustUseProperty
1158
1149
  e.toLowerCase(),
@@ -1173,7 +1164,7 @@ lt.forEach((e) => {
1173
1164
  ].forEach((e) => {
1174
1165
  v[e] = new g(
1175
1166
  e,
1176
- G,
1167
+ H,
1177
1168
  !1,
1178
1169
  // mustUseProperty
1179
1170
  e,
@@ -1216,7 +1207,7 @@ lt.forEach((e) => {
1216
1207
  ].forEach((e) => {
1217
1208
  v[e] = new g(
1218
1209
  e,
1219
- U,
1210
+ B,
1220
1211
  !1,
1221
1212
  // mustUseProperty
1222
1213
  e.toLowerCase(),
@@ -1242,7 +1233,7 @@ lt.forEach((e) => {
1242
1233
  ].forEach((e) => {
1243
1234
  v[e] = new g(
1244
1235
  e,
1245
- U,
1236
+ B,
1246
1237
  !0,
1247
1238
  // mustUseProperty
1248
1239
  e,
@@ -1264,7 +1255,7 @@ lt.forEach((e) => {
1264
1255
  ].forEach((e) => {
1265
1256
  v[e] = new g(
1266
1257
  e,
1267
- ee,
1258
+ Q,
1268
1259
  !1,
1269
1260
  // mustUseProperty
1270
1261
  e,
@@ -1288,7 +1279,7 @@ lt.forEach((e) => {
1288
1279
  ].forEach((e) => {
1289
1280
  v[e] = new g(
1290
1281
  e,
1291
- Ge,
1282
+ Fe,
1292
1283
  !1,
1293
1284
  // mustUseProperty
1294
1285
  e,
@@ -1304,7 +1295,7 @@ lt.forEach((e) => {
1304
1295
  ["rowSpan", "start"].forEach((e) => {
1305
1296
  v[e] = new g(
1306
1297
  e,
1307
- Fe,
1298
+ je,
1308
1299
  !1,
1309
1300
  // mustUseProperty
1310
1301
  e.toLowerCase(),
@@ -1317,7 +1308,7 @@ lt.forEach((e) => {
1317
1308
  // removeEmptyString
1318
1309
  );
1319
1310
  });
1320
- const te = /[\-\:]([a-z])/g, re = (e) => e[1].toUpperCase();
1311
+ const ee = /[\-\:]([a-z])/g, te = (e) => e[1].toUpperCase();
1321
1312
  [
1322
1313
  "accent-height",
1323
1314
  "alignment-baseline",
@@ -1396,10 +1387,10 @@ const te = /[\-\:]([a-z])/g, re = (e) => e[1].toUpperCase();
1396
1387
  // you'll need to set attributeName to name.toLowerCase()
1397
1388
  // instead in the assignment below.
1398
1389
  ].forEach((e) => {
1399
- const t = e.replace(te, re);
1390
+ const t = e.replace(ee, te);
1400
1391
  v[t] = new g(
1401
1392
  t,
1402
- b,
1393
+ S,
1403
1394
  !1,
1404
1395
  // mustUseProperty
1405
1396
  e,
@@ -1422,10 +1413,10 @@ const te = /[\-\:]([a-z])/g, re = (e) => e[1].toUpperCase();
1422
1413
  // you'll need to set attributeName to name.toLowerCase()
1423
1414
  // instead in the assignment below.
1424
1415
  ].forEach((e) => {
1425
- const t = e.replace(te, re);
1416
+ const t = e.replace(ee, te);
1426
1417
  v[t] = new g(
1427
1418
  t,
1428
- b,
1419
+ S,
1429
1420
  !1,
1430
1421
  // mustUseProperty
1431
1422
  e,
@@ -1444,10 +1435,10 @@ const te = /[\-\:]([a-z])/g, re = (e) => e[1].toUpperCase();
1444
1435
  // you'll need to set attributeName to name.toLowerCase()
1445
1436
  // instead in the assignment below.
1446
1437
  ].forEach((e) => {
1447
- const t = e.replace(te, re);
1438
+ const t = e.replace(ee, te);
1448
1439
  v[t] = new g(
1449
1440
  t,
1450
- b,
1441
+ S,
1451
1442
  !1,
1452
1443
  // mustUseProperty
1453
1444
  e,
@@ -1461,7 +1452,7 @@ const te = /[\-\:]([a-z])/g, re = (e) => e[1].toUpperCase();
1461
1452
  ["tabIndex", "crossOrigin"].forEach((e) => {
1462
1453
  v[e] = new g(
1463
1454
  e,
1464
- b,
1455
+ S,
1465
1456
  !1,
1466
1457
  // mustUseProperty
1467
1458
  e.toLowerCase(),
@@ -1474,10 +1465,10 @@ const te = /[\-\:]([a-z])/g, re = (e) => e[1].toUpperCase();
1474
1465
  // removeEmptyString
1475
1466
  );
1476
1467
  });
1477
- const st = "xlinkHref";
1478
- v[st] = new g(
1468
+ const at = "xlinkHref";
1469
+ v[at] = new g(
1479
1470
  "xlinkHref",
1480
- b,
1471
+ S,
1481
1472
  !1,
1482
1473
  // mustUseProperty
1483
1474
  "xlink:href",
@@ -1490,7 +1481,7 @@ v[st] = new g(
1490
1481
  ["src", "href", "action", "formAction"].forEach((e) => {
1491
1482
  v[e] = new g(
1492
1483
  e,
1493
- b,
1484
+ S,
1494
1485
  !1,
1495
1486
  // mustUseProperty
1496
1487
  e.toLowerCase(),
@@ -1504,40 +1495,40 @@ v[st] = new g(
1504
1495
  );
1505
1496
  });
1506
1497
  const {
1507
- CAMELCASE: ct,
1508
- SAME: ut,
1509
- possibleStandardNames: fe
1510
- } = F, ft = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", dt = ft + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", pt = RegExp.prototype.test.bind(
1498
+ CAMELCASE: ot,
1499
+ SAME: lt,
1500
+ possibleStandardNames: ue
1501
+ } = F, st = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", ct = st + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", ut = RegExp.prototype.test.bind(
1511
1502
  // eslint-disable-next-line no-misleading-character-class
1512
- new RegExp("^(data|aria)-[" + dt + "]*$")
1513
- ), ht = Object.keys(
1514
- fe
1503
+ new RegExp("^(data|aria)-[" + ct + "]*$")
1504
+ ), ft = Object.keys(
1505
+ ue
1515
1506
  ).reduce((e, t) => {
1516
- const r = fe[t];
1517
- return r === ut ? e[t] = t : r === ct ? e[t.toLowerCase()] = t : e[t] = r, e;
1507
+ const r = ue[t];
1508
+ return r === lt ? e[t] = t : r === ot ? e[t.toLowerCase()] = t : e[t] = r, e;
1518
1509
  }, {});
1519
- _.BOOLEAN = U;
1520
- _.BOOLEANISH_STRING = G;
1521
- _.NUMERIC = Fe;
1522
- _.OVERLOADED_BOOLEAN = ee;
1523
- _.POSITIVE_NUMERIC = Ge;
1524
- _.RESERVED = He;
1525
- _.STRING = b;
1526
- _.getPropertyInfo = ot;
1527
- _.isCustomAttribute = pt;
1528
- _.possibleStandardNames = ht;
1529
- var ne = {}, ie = {}, de = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, mt = /\n/g, vt = /^\s*/, gt = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Et = /^:\s*/, yt = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, _t = /^[;\s]*/, Tt = /^\s+|\s+$/g, Rt = `
1530
- `, pe = "/", he = "*", C = "", bt = "comment", Ct = "declaration", At = function(e, t) {
1510
+ T.BOOLEAN = B;
1511
+ T.BOOLEANISH_STRING = H;
1512
+ T.NUMERIC = je;
1513
+ T.OVERLOADED_BOOLEAN = Q;
1514
+ T.POSITIVE_NUMERIC = Fe;
1515
+ T.RESERVED = Le;
1516
+ T.STRING = S;
1517
+ T.getPropertyInfo = nt;
1518
+ T.isCustomAttribute = ut;
1519
+ T.possibleStandardNames = ft;
1520
+ var re = {}, ne = {}, fe = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, dt = /\n/g, pt = /^\s*/, ht = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, mt = /^:\s*/, vt = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, gt = /^[;\s]*/, yt = /^\s+|\s+$/g, Et = `
1521
+ `, de = "/", pe = "*", C = "", Tt = "comment", _t = "declaration", bt = function(e, t) {
1531
1522
  if (typeof e != "string")
1532
1523
  throw new TypeError("First argument must be a string");
1533
1524
  if (!e) return [];
1534
1525
  t = t || {};
1535
1526
  var r = 1, n = 1;
1536
1527
  function i(h) {
1537
- var u = h.match(mt);
1528
+ var u = h.match(dt);
1538
1529
  u && (r += u.length);
1539
- var E = h.lastIndexOf(Rt);
1540
- n = ~E ? h.length - E : n + h.length;
1530
+ var y = h.lastIndexOf(Et);
1531
+ n = ~y ? h.length - y : n + h.length;
1541
1532
  }
1542
1533
  function s() {
1543
1534
  var h = { line: r, column: n };
@@ -1558,12 +1549,12 @@ var ne = {}, ie = {}, de = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, mt = /\n/g, vt = /
1558
1549
  function a(h) {
1559
1550
  var u = h.exec(e);
1560
1551
  if (u) {
1561
- var E = u[0];
1562
- return i(E), e = e.slice(E.length), u;
1552
+ var y = u[0];
1553
+ return i(y), e = e.slice(y.length), u;
1563
1554
  }
1564
1555
  }
1565
1556
  function o() {
1566
- a(vt);
1557
+ a(pt);
1567
1558
  }
1568
1559
  function c(h) {
1569
1560
  var u;
@@ -1573,53 +1564,53 @@ var ne = {}, ie = {}, de = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, mt = /\n/g, vt = /
1573
1564
  }
1574
1565
  function d() {
1575
1566
  var h = s();
1576
- if (!(pe != e.charAt(0) || he != e.charAt(1))) {
1577
- for (var u = 2; C != e.charAt(u) && (he != e.charAt(u) || pe != e.charAt(u + 1)); )
1567
+ if (!(de != e.charAt(0) || pe != e.charAt(1))) {
1568
+ for (var u = 2; C != e.charAt(u) && (pe != e.charAt(u) || de != e.charAt(u + 1)); )
1578
1569
  ++u;
1579
1570
  if (u += 2, C === e.charAt(u - 1))
1580
1571
  return l("End of comment missing");
1581
- var E = e.slice(2, u - 2);
1582
- return n += 2, i(E), e = e.slice(u), n += 2, h({
1583
- type: bt,
1584
- comment: E
1572
+ var y = e.slice(2, u - 2);
1573
+ return n += 2, i(y), e = e.slice(u), n += 2, h({
1574
+ type: Tt,
1575
+ comment: y
1585
1576
  });
1586
1577
  }
1587
1578
  }
1588
- function T() {
1589
- var h = s(), u = a(gt);
1579
+ function _() {
1580
+ var h = s(), u = a(ht);
1590
1581
  if (u) {
1591
- if (d(), !a(Et)) return l("property missing ':'");
1592
- var E = a(yt), Be = h({
1593
- type: Ct,
1594
- property: me(u[0].replace(de, C)),
1595
- value: E ? me(E[0].replace(de, C)) : C
1582
+ if (d(), !a(mt)) return l("property missing ':'");
1583
+ var y = a(vt), Be = h({
1584
+ type: _t,
1585
+ property: he(u[0].replace(fe, C)),
1586
+ value: y ? he(y[0].replace(fe, C)) : C
1596
1587
  });
1597
- return a(_t), Be;
1588
+ return a(gt), Be;
1598
1589
  }
1599
1590
  }
1600
- function P() {
1591
+ function w() {
1601
1592
  var h = [];
1602
1593
  c(h);
1603
- for (var u; u = T(); )
1594
+ for (var u; u = _(); )
1604
1595
  u !== !1 && (h.push(u), c(h));
1605
1596
  return h;
1606
1597
  }
1607
- return o(), P();
1598
+ return o(), w();
1608
1599
  };
1609
- function me(e) {
1610
- return e ? e.replace(Tt, C) : C;
1600
+ function he(e) {
1601
+ return e ? e.replace(yt, C) : C;
1611
1602
  }
1612
1603
  var St = m && m.__importDefault || function(e) {
1613
1604
  return e && e.__esModule ? e : { default: e };
1614
1605
  };
1615
- Object.defineProperty(ie, "__esModule", { value: !0 });
1616
- ie.default = kt;
1617
- var Ot = St(At);
1618
- function kt(e, t) {
1606
+ Object.defineProperty(ne, "__esModule", { value: !0 });
1607
+ ne.default = Ot;
1608
+ var Ct = St(bt);
1609
+ function Ot(e, t) {
1619
1610
  var r = null;
1620
1611
  if (!e || typeof e != "string")
1621
1612
  return r;
1622
- var n = (0, Ot.default)(e), i = typeof t == "function";
1613
+ var n = (0, Ct.default)(e), i = typeof t == "function";
1623
1614
  return n.forEach(function(s) {
1624
1615
  if (s.type === "declaration") {
1625
1616
  var f = s.property, l = s.value;
@@ -1627,36 +1618,36 @@ function kt(e, t) {
1627
1618
  }
1628
1619
  }), r;
1629
1620
  }
1630
- var B = {};
1631
- Object.defineProperty(B, "__esModule", { value: !0 });
1632
- B.camelCase = void 0;
1633
- var wt = /^--[a-zA-Z0-9_-]+$/, Pt = /-([a-z])/g, Nt = /^[^-]+$/, It = /^-(webkit|moz|ms|o|khtml)-/, Dt = /^-(ms)-/, xt = function(e) {
1634
- return !e || Nt.test(e) || wt.test(e);
1635
- }, Mt = function(e, t) {
1621
+ var z = {};
1622
+ Object.defineProperty(z, "__esModule", { value: !0 });
1623
+ z.camelCase = void 0;
1624
+ var kt = /^--[a-zA-Z0-9_-]+$/, At = /-([a-z])/g, wt = /^[^-]+$/, Pt = /^-(webkit|moz|ms|o|khtml)-/, xt = /^-(ms)-/, Rt = function(e) {
1625
+ return !e || wt.test(e) || kt.test(e);
1626
+ }, Nt = function(e, t) {
1636
1627
  return t.toUpperCase();
1637
- }, ve = function(e, t) {
1628
+ }, me = function(e, t) {
1638
1629
  return "".concat(t, "-");
1639
- }, Lt = function(e, t) {
1640
- return t === void 0 && (t = {}), xt(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(Dt, ve) : e = e.replace(It, ve), e.replace(Pt, Mt));
1630
+ }, Mt = function(e, t) {
1631
+ return t === void 0 && (t = {}), Rt(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(xt, me) : e = e.replace(Pt, me), e.replace(At, Nt));
1641
1632
  };
1642
- B.camelCase = Lt;
1643
- var jt = m && m.__importDefault || function(e) {
1633
+ z.camelCase = Mt;
1634
+ var Dt = m && m.__importDefault || function(e) {
1644
1635
  return e && e.__esModule ? e : { default: e };
1645
- }, Ht = jt(ie), Ft = B;
1646
- function W(e, t) {
1636
+ }, It = Dt(ne), Lt = z;
1637
+ function $(e, t) {
1647
1638
  var r = {};
1648
- return !e || typeof e != "string" || (0, Ht.default)(e, function(n, i) {
1649
- n && i && (r[(0, Ft.camelCase)(n, t)] = i);
1639
+ return !e || typeof e != "string" || (0, It.default)(e, function(n, i) {
1640
+ n && i && (r[(0, Lt.camelCase)(n, t)] = i);
1650
1641
  }), r;
1651
1642
  }
1652
- W.default = W;
1653
- var Gt = W;
1643
+ $.default = $;
1644
+ var jt = $;
1654
1645
  (function(e) {
1655
1646
  var t = m && m.__importDefault || function(c) {
1656
1647
  return c && c.__esModule ? c : { default: c };
1657
1648
  };
1658
1649
  Object.defineProperty(e, "__esModule", { value: !0 }), e.returnFirstArg = e.canTextBeChildOfNode = e.ELEMENTS_WITH_NO_TEXT_CHILDREN = e.PRESERVE_CUSTOM_ATTRIBUTES = void 0, e.isCustomComponent = s, e.setStyleProp = l;
1659
- var r = _e, n = t(Gt), i = /* @__PURE__ */ new Set([
1650
+ var r = Ee, n = t(jt), i = /* @__PURE__ */ new Set([
1660
1651
  "annotation-xml",
1661
1652
  "color-profile",
1662
1653
  "font-face",
@@ -1704,75 +1695,75 @@ var Gt = W;
1704
1695
  return c;
1705
1696
  };
1706
1697
  e.returnFirstArg = o;
1707
- })(ne);
1708
- Object.defineProperty(H, "__esModule", { value: !0 });
1709
- H.default = Vt;
1710
- var S = _, ge = ne, Ut = ["checked", "value"], Bt = ["input", "select", "textarea"], zt = {
1698
+ })(re);
1699
+ Object.defineProperty(j, "__esModule", { value: !0 });
1700
+ j.default = zt;
1701
+ var O = T, ve = re, Ft = ["checked", "value"], Ht = ["input", "select", "textarea"], Bt = {
1711
1702
  reset: !0,
1712
1703
  submit: !0
1713
1704
  };
1714
- function Vt(e, t) {
1705
+ function zt(e, t) {
1715
1706
  e === void 0 && (e = {});
1716
- var r = {}, n = !!(e.type && zt[e.type]);
1707
+ var r = {}, n = !!(e.type && Bt[e.type]);
1717
1708
  for (var i in e) {
1718
1709
  var s = e[i];
1719
- if ((0, S.isCustomAttribute)(i)) {
1710
+ if ((0, O.isCustomAttribute)(i)) {
1720
1711
  r[i] = s;
1721
1712
  continue;
1722
1713
  }
1723
- var f = i.toLowerCase(), l = Ee(f);
1714
+ var f = i.toLowerCase(), l = ge(f);
1724
1715
  if (l) {
1725
- var a = (0, S.getPropertyInfo)(l);
1726
- switch (Ut.includes(l) && Bt.includes(t) && !n && (l = Ee("default" + f)), r[l] = s, a && a.type) {
1727
- case S.BOOLEAN:
1716
+ var a = (0, O.getPropertyInfo)(l);
1717
+ switch (Ft.includes(l) && Ht.includes(t) && !n && (l = ge("default" + f)), r[l] = s, a && a.type) {
1718
+ case O.BOOLEAN:
1728
1719
  r[l] = !0;
1729
1720
  break;
1730
- case S.OVERLOADED_BOOLEAN:
1721
+ case O.OVERLOADED_BOOLEAN:
1731
1722
  s === "" && (r[l] = !0);
1732
1723
  break;
1733
1724
  }
1734
1725
  continue;
1735
1726
  }
1736
- ge.PRESERVE_CUSTOM_ATTRIBUTES && (r[i] = s);
1727
+ ve.PRESERVE_CUSTOM_ATTRIBUTES && (r[i] = s);
1737
1728
  }
1738
- return (0, ge.setStyleProp)(e.style, r), r;
1729
+ return (0, ve.setStyleProp)(e.style, r), r;
1739
1730
  }
1740
- function Ee(e) {
1741
- return S.possibleStandardNames[e];
1731
+ function ge(e) {
1732
+ return O.possibleStandardNames[e];
1742
1733
  }
1743
- var ae = {}, Xt = m && m.__importDefault || function(e) {
1734
+ var ie = {}, Vt = m && m.__importDefault || function(e) {
1744
1735
  return e && e.__esModule ? e : { default: e };
1745
1736
  };
1746
- Object.defineProperty(ae, "__esModule", { value: !0 });
1747
- ae.default = Ue;
1748
- var V = _e, $t = Xt(H), k = ne, Wt = {
1749
- cloneElement: V.cloneElement,
1750
- createElement: V.createElement,
1751
- isValidElement: V.isValidElement
1737
+ Object.defineProperty(ie, "__esModule", { value: !0 });
1738
+ ie.default = He;
1739
+ var G = Ee, Gt = Vt(j), A = re, Xt = {
1740
+ cloneElement: G.cloneElement,
1741
+ createElement: G.createElement,
1742
+ isValidElement: G.isValidElement
1752
1743
  };
1753
- function Ue(e, t) {
1744
+ function He(e, t) {
1754
1745
  t === void 0 && (t = {});
1755
- for (var r = [], n = typeof t.replace == "function", i = t.transform || k.returnFirstArg, s = t.library || Wt, f = s.cloneElement, l = s.createElement, a = s.isValidElement, o = e.length, c = 0; c < o; c++) {
1746
+ for (var r = [], n = typeof t.replace == "function", i = t.transform || A.returnFirstArg, s = t.library || Xt, f = s.cloneElement, l = s.createElement, a = s.isValidElement, o = e.length, c = 0; c < o; c++) {
1756
1747
  var d = e[c];
1757
1748
  if (n) {
1758
- var T = t.replace(d, c);
1759
- if (a(T)) {
1760
- o > 1 && (T = f(T, {
1761
- key: T.key || c
1762
- })), r.push(i(T, d, c));
1749
+ var _ = t.replace(d, c);
1750
+ if (a(_)) {
1751
+ o > 1 && (_ = f(_, {
1752
+ key: _.key || c
1753
+ })), r.push(i(_, d, c));
1763
1754
  continue;
1764
1755
  }
1765
1756
  }
1766
1757
  if (d.type === "text") {
1767
- var P = !d.data.trim().length;
1768
- if (P && d.parent && !(0, k.canTextBeChildOfNode)(d.parent) || t.trim && P)
1758
+ var w = !d.data.trim().length;
1759
+ if (w && d.parent && !(0, A.canTextBeChildOfNode)(d.parent) || t.trim && w)
1769
1760
  continue;
1770
1761
  r.push(i(d.data, d, c));
1771
1762
  continue;
1772
1763
  }
1773
1764
  var h = d, u = {};
1774
- qt(h) ? ((0, k.setStyleProp)(h.attribs.style, h.attribs), u = h.attribs) : h.attribs && (u = (0, $t.default)(h.attribs, h.name));
1775
- var E = void 0;
1765
+ Ut(h) ? ((0, A.setStyleProp)(h.attribs.style, h.attribs), u = h.attribs) : h.attribs && (u = (0, Gt.default)(h.attribs, h.name));
1766
+ var y = void 0;
1776
1767
  switch (d.type) {
1777
1768
  case "script":
1778
1769
  case "style":
@@ -1781,30 +1772,30 @@ function Ue(e, t) {
1781
1772
  });
1782
1773
  break;
1783
1774
  case "tag":
1784
- d.name === "textarea" && d.children[0] ? u.defaultValue = d.children[0].data : d.children && d.children.length && (E = Ue(d.children, t));
1775
+ d.name === "textarea" && d.children[0] ? u.defaultValue = d.children[0].data : d.children && d.children.length && (y = He(d.children, t));
1785
1776
  break;
1786
1777
  default:
1787
1778
  continue;
1788
1779
  }
1789
- o > 1 && (u.key = c), r.push(i(l(d.name, u, E), d, c));
1780
+ o > 1 && (u.key = c), r.push(i(l(d.name, u, y), d, c));
1790
1781
  }
1791
1782
  return r.length === 1 ? r[0] : r;
1792
1783
  }
1793
- function qt(e) {
1794
- return k.PRESERVE_CUSTOM_ATTRIBUTES && e.type === "tag" && (0, k.isCustomComponent)(e.name, e.attribs);
1784
+ function Ut(e) {
1785
+ return A.PRESERVE_CUSTOM_ATTRIBUTES && e.type === "tag" && (0, A.isCustomComponent)(e.name, e.attribs);
1795
1786
  }
1796
1787
  (function(e) {
1797
1788
  var t = m && m.__importDefault || function(a) {
1798
1789
  return a && a.__esModule ? a : { default: a };
1799
1790
  };
1800
1791
  Object.defineProperty(e, "__esModule", { value: !0 }), e.htmlToDOM = e.domToReact = e.attributesToProps = e.Text = e.ProcessingInstruction = e.Element = e.Comment = void 0, e.default = l;
1801
- var r = t(q);
1792
+ var r = t(W);
1802
1793
  e.htmlToDOM = r.default;
1803
- var n = t(H);
1794
+ var n = t(j);
1804
1795
  e.attributesToProps = n.default;
1805
- var i = t(ae);
1796
+ var i = t(ie);
1806
1797
  e.domToReact = i.default;
1807
- var s = Z;
1798
+ var s = Y;
1808
1799
  Object.defineProperty(e, "Comment", { enumerable: !0, get: function() {
1809
1800
  return s.Comment;
1810
1801
  } }), Object.defineProperty(e, "Element", { enumerable: !0, get: function() {
@@ -1821,7 +1812,7 @@ function qt(e) {
1821
1812
  return a ? (0, i.default)((0, r.default)(a, (o == null ? void 0 : o.htmlparser2) || f), o) : [];
1822
1813
  }
1823
1814
  })(Te);
1824
- const ye = /* @__PURE__ */ ze(Te), Kt = ye.default || ye;
1815
+ const ye = /* @__PURE__ */ ze(Te), qt = ye.default || ye;
1825
1816
  export {
1826
- Kt as p
1817
+ qt as p
1827
1818
  };