@scrippsproduct/networks-ui-library 2.0.8 → 2.0.9

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 (98) hide show
  1. package/dist/components/ActionButton/ActionButton.test.js +3 -3
  2. package/dist/components/AdBlock/AdBlock.test.js +2 -2
  3. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.test.js +2 -2
  4. package/dist/components/AirDateFormatter/AirDateFormatter.test.js +2 -2
  5. package/dist/components/AnchorTag/AnchorTag.test.js +3 -3
  6. package/dist/components/BCVideoPlayer/BCVideoPlayer.test.js +2 -2
  7. package/dist/components/BasicGridModule/BasicGridModule.test.js +2 -2
  8. package/dist/components/Button/Button.test.js +3 -3
  9. package/dist/components/ButtonAnchor/ButtonAnchor.test.js +3 -3
  10. package/dist/components/Carousel/Carousel.suspense-regression.test.js +2 -2
  11. package/dist/components/Carousel/Carousel.test.js +2 -2
  12. package/dist/components/Carousel/navigations/Pagination.test.js +2 -2
  13. package/dist/components/CarouselSlide/CarouselSlide.test.js +2 -2
  14. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +1 -1
  15. package/dist/components/CastInfoLayout/CastInfoLayout.test.js +2 -2
  16. package/dist/components/ChannelSearch/ChannelSearch.test.js +2 -2
  17. package/dist/components/ChoicesItem/ChoicesItem.test.js +2 -2
  18. package/dist/components/Concat/Concat.js +1 -1
  19. package/dist/components/Concat/Concat.test.js +2 -2
  20. package/dist/components/CtaBlock/CtaBlock.js +1 -1
  21. package/dist/components/CtaBlock/CtaBlock.test.js +3 -3
  22. package/dist/components/CustomSelect/CustomSelect.test.js +3 -3
  23. package/dist/components/DateNavigation/DateNavigation.test.js +3 -3
  24. package/dist/components/DatePicker/DatePicker.js +2309 -2324
  25. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.test.js +2 -2
  26. package/dist/components/DrawerNavigation/DrawerNavigation.test.js +3 -3
  27. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.test.js +2 -2
  28. package/dist/components/EqualSizeGrid/EqualSizeGrid.test.js +2 -2
  29. package/dist/components/ErrorHandler/ErrorHandler.js +1 -1
  30. package/dist/components/ErrorHandler/ErrorHandler.test.js +2 -2
  31. package/dist/components/FeaturedList/FeaturedList.test.js +3 -3
  32. package/dist/components/Figure/Figure.js +1 -1
  33. package/dist/components/Figure/Figure.test.js +2 -2
  34. package/dist/components/FindUs/FindUs.test.js +2 -2
  35. package/dist/components/FooterNavigation/FooterNavigation.test.js +2 -2
  36. package/dist/components/GenericList/GenericList.js +1 -1
  37. package/dist/components/GenericList/GenericList.test.js +2 -2
  38. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.test.js +2 -2
  39. package/dist/components/GradientButton/GradientButton.test.js +2 -2
  40. package/dist/components/GridList/GridList.test.js +1 -1
  41. package/dist/components/ImageCard/ImageCard.test.js +2 -2
  42. package/dist/components/ImageCard/ImageCardCore.js +1 -1
  43. package/dist/components/ImageCard/ImageCardCore.test.js +2 -2
  44. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.test.js +1 -1
  45. package/dist/components/InlineNavigation/InlineNavigation.test.js +1 -1
  46. package/dist/components/Input/Input.test.js +2 -2
  47. package/dist/components/InstructionsList/InstructionsList.js +1 -1
  48. package/dist/components/InstructionsList/InstructionsList.test.js +1 -1
  49. package/dist/components/LogoListItem/LogoListItem.test.js +1 -1
  50. package/dist/components/LogoNavigation/LogoNavigation.test.js +1 -1
  51. package/dist/components/ModalContainer/ModalContainer.js +1 -1
  52. package/dist/components/NavList/NavList.test.js +2 -2
  53. package/dist/components/Overlay/Overlay.js +1 -1
  54. package/dist/components/Overlay/Overlay.test.js +1 -1
  55. package/dist/components/PageHero/PageHero.test.js +1 -1
  56. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +1 -1
  57. package/dist/components/ProgramAirdate/ProgramAirdate.js +1 -1
  58. package/dist/components/ProgramAirdate/ProgramAirdate.test.js +1 -1
  59. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.test.js +2 -2
  60. package/dist/components/PromotionsRowModule/PromotionsRowModule.js +1 -1
  61. package/dist/components/PromotionsRowModule/PromotionsRowModule.test.js +2 -2
  62. package/dist/components/RescanInstructions/RescanInstructions.test.js +1 -1
  63. package/dist/components/ResponsiveImage/ResponsiveImage.test.js +2 -2
  64. package/dist/components/ResultsTable/ResultsTable.test.js +1 -1
  65. package/dist/components/ResultsTableBody/ResultsTableBody.test.js +1 -1
  66. package/dist/components/ResultsTableHeader/ResultsTableHeader.test.js +1 -1
  67. package/dist/components/ScheduleLayout/ScheduleContext.js +1893 -1123
  68. package/dist/components/SectionedContent/SectionedContent.js +1 -1
  69. package/dist/components/SectionedContent/SectionedContent.test.js +2 -2
  70. package/dist/components/Select/Select.test.js +2 -2
  71. package/dist/components/ShowAboutContent/ShowAboutContent.js +1 -1
  72. package/dist/components/ShowAboutContent/ShowAboutContent.test.js +2 -2
  73. package/dist/components/ShowAboutLayout/ShowAboutLayout.test.js +2 -2
  74. package/dist/components/StringList/StringList.js +1 -1
  75. package/dist/components/StringList/StringList.test.js +1 -1
  76. package/dist/components/TabContent/TabContent.js +1 -1
  77. package/dist/components/TabContent/TabContent.test.js +1 -1
  78. package/dist/components/TabNavigation/TabNavigation.test.js +1 -1
  79. package/dist/components/TabbedContent/TabbedContent.test.js +1 -1
  80. package/dist/components/UpcomingList/UpcomingList.test.js +2 -2
  81. package/dist/index-BCErBUQT.mjs +3 -0
  82. package/dist/{index-sxnwPHiC.mjs → index-CHzqLQze.mjs} +181 -166
  83. package/dist/index-DnEp_Vsr.mjs +3085 -0
  84. package/dist/{index-5kXULIVv.mjs → index-DrfkaNHX.mjs} +16 -16
  85. package/dist/{magic-string.es-uPKorP4O.mjs → magic-string.es-DDAFx1CP.mjs} +93 -93
  86. package/dist/matchers-35e4d3bd-CfhTZpyY.mjs +2572 -0
  87. package/dist/react.esm-CX7MGXBg.mjs +52738 -0
  88. package/dist/src/icons/Facebook.d.ts +2 -1
  89. package/dist/src/icons/Tiktok.d.ts +2 -1
  90. package/dist/src/icons/Twitter.d.ts +2 -1
  91. package/dist/src/utils/analytics.d.ts +24 -5
  92. package/dist/test/setupTests.js +2 -2
  93. package/dist/utils/analytics.js +247 -446
  94. package/package.json +3 -3
  95. package/dist/index-B03xsUba.mjs +0 -3
  96. package/dist/index-C-uizG4-.mjs +0 -3098
  97. package/dist/matchers-35e4d3bd-BckKR3wh.mjs +0 -2404
  98. package/dist/react.esm-CUNRDkfQ.mjs +0 -49632
@@ -1,8 +1,8 @@
1
1
  import { g as Re } from "./_commonjsHelpers-DaMA6jEr.mjs";
2
2
  import ve from "react";
3
- var F = {}, L = {}, B = {}, x = {}, M = {}, W = {}, K;
3
+ var F = {}, L = {}, B = {}, x = {}, M = {}, $ = {}, Z;
4
4
  function me() {
5
- return K || (K = 1, (function(r) {
5
+ return Z || (Z = 1, (function(r) {
6
6
  Object.defineProperty(r, "__esModule", { value: !0 }), r.Doctype = r.CDATA = r.Tag = r.Style = r.Script = r.Comment = r.Directive = r.Text = r.Root = r.isTag = r.ElementType = void 0;
7
7
  var s;
8
8
  (function(u) {
@@ -12,12 +12,12 @@ function me() {
12
12
  return u.type === s.Tag || u.type === s.Script || u.type === s.Style;
13
13
  }
14
14
  r.isTag = f, r.Root = s.Root, r.Text = s.Text, r.Directive = s.Directive, r.Comment = s.Comment, r.Script = s.Script, r.Style = s.Style, r.Tag = s.Tag, r.CDATA = s.CDATA, r.Doctype = s.Doctype;
15
- })(W)), W;
15
+ })($)), $;
16
16
  }
17
- var g = {}, J;
18
- function Q() {
19
- if (J) return g;
20
- J = 1;
17
+ var g = {}, K;
18
+ function J() {
19
+ if (K) return g;
20
+ K = 1;
21
21
  var r = g && g.__extends || /* @__PURE__ */ (function() {
22
22
  var e = function(n, a) {
23
23
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d, v) {
@@ -368,9 +368,9 @@ function Q() {
368
368
  }
369
369
  return g;
370
370
  }
371
- var $;
371
+ var Q;
372
372
  function ge() {
373
- return $ || ($ = 1, (function(r) {
373
+ return Q || (Q = 1, (function(r) {
374
374
  var s = M && M.__createBinding || (Object.create ? (function(l, i, t, o) {
375
375
  o === void 0 && (o = t);
376
376
  var c = Object.getOwnPropertyDescriptor(i, t);
@@ -383,8 +383,8 @@ function ge() {
383
383
  for (var t in l) t !== "default" && !Object.prototype.hasOwnProperty.call(i, t) && s(i, l, t);
384
384
  };
385
385
  Object.defineProperty(r, "__esModule", { value: !0 }), r.DomHandler = void 0;
386
- var u = /* @__PURE__ */ me(), m = /* @__PURE__ */ Q();
387
- f(/* @__PURE__ */ Q(), r);
386
+ var u = /* @__PURE__ */ me(), m = /* @__PURE__ */ J();
387
+ f(/* @__PURE__ */ J(), r);
388
388
  var h = {
389
389
  withStartIndices: !1,
390
390
  withEndIndices: !1,
@@ -449,7 +449,7 @@ function ge() {
449
449
  r.DomHandler = y, r.default = y;
450
450
  })(M)), M;
451
451
  }
452
- var Y = {}, ee;
452
+ var W = {}, ee;
453
453
  function be() {
454
454
  return ee || (ee = 1, (function(r) {
455
455
  Object.defineProperty(r, "__esModule", { value: !0 }), r.CARRIAGE_RETURN_PLACEHOLDER_REGEX = r.CARRIAGE_RETURN_PLACEHOLDER = r.CARRIAGE_RETURN_REGEX = r.CARRIAGE_RETURN = r.CASE_SENSITIVE_TAG_NAMES_MAP = r.CASE_SENSITIVE_TAG_NAMES = void 0, r.CASE_SENSITIVE_TAG_NAMES = [
@@ -487,7 +487,7 @@ function be() {
487
487
  ], r.CASE_SENSITIVE_TAG_NAMES_MAP = r.CASE_SENSITIVE_TAG_NAMES.reduce(function(s, f) {
488
488
  return s[f.toLowerCase()] = f, s;
489
489
  }, {}), r.CARRIAGE_RETURN = "\r", r.CARRIAGE_RETURN_REGEX = new RegExp(r.CARRIAGE_RETURN, "g"), r.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now().toString(), "__"), r.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(r.CARRIAGE_RETURN_PLACEHOLDER, "g");
490
- })(Y)), Y;
490
+ })(W)), W;
491
491
  }
492
492
  var te;
493
493
  function Ee() {
@@ -1552,9 +1552,9 @@ function Oe() {
1552
1552
  }, {});
1553
1553
  return N.BOOLEAN = u, N.BOOLEANISH_STRING = f, N.NUMERIC = h, N.OVERLOADED_BOOLEAN = m, N.POSITIVE_NUMERIC = y, N.RESERVED = r, N.STRING = s, N.getPropertyInfo = l, N.isCustomAttribute = O, N.possibleStandardNames = k, N;
1554
1554
  }
1555
- var U = {}, j = {}, Z, oe;
1555
+ var U = {}, j = {}, Y, oe;
1556
1556
  function ke() {
1557
- if (oe) return Z;
1557
+ if (oe) return Y;
1558
1558
  oe = 1;
1559
1559
  var r = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, s = /\n/g, f = /^\s*/, u = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, m = /^:\s*/, h = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, y = /^[;\s]*/, l = /^\s+|\s+$/g, i = `
1560
1560
  `, t = "/", o = "*", c = "", R = "comment", C = "declaration";
@@ -1640,7 +1640,7 @@ function ke() {
1640
1640
  function E(p) {
1641
1641
  return p ? p.replace(l, c) : c;
1642
1642
  }
1643
- return Z = S, Z;
1643
+ return Y = S, Y;
1644
1644
  }
1645
1645
  var le;
1646
1646
  function we() {
@@ -1,58 +1,58 @@
1
- var x = 44, E = 59, m = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", S = new Uint8Array(64), k = new Uint8Array(128);
2
- for (let u = 0; u < m.length; u++) {
3
- const t = m.charCodeAt(u);
4
- S[u] = t, k[t] = u;
1
+ var E = 44, k = 59, b = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", v = new Uint8Array(64), L = new Uint8Array(128);
2
+ for (let l = 0; l < b.length; l++) {
3
+ const t = b.charCodeAt(l);
4
+ v[l] = t, L[t] = l;
5
5
  }
6
- function c(u, t, e) {
7
- let i = t - e;
8
- i = i < 0 ? -i << 1 | 1 : i << 1;
6
+ function c(l, t) {
9
7
  do {
10
- let n = i & 31;
11
- i >>>= 5, i > 0 && (n |= 32), u.write(S[n]);
12
- } while (i > 0);
13
- return t;
8
+ let e = t & 31;
9
+ t >>>= 5, t > 0 && (e |= 32), l.write(v[e]);
10
+ } while (t > 0);
14
11
  }
15
- var b = 1024 * 16, C = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? {
16
- decode(u) {
17
- return Buffer.from(u.buffer, u.byteOffset, u.byteLength).toString();
12
+ function d(l) {
13
+ return l < 0 ? -l << 1 | 1 : l << 1;
14
+ }
15
+ var C = 1024 * 16, y = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? {
16
+ decode(l) {
17
+ return Buffer.from(l.buffer, l.byteOffset, l.byteLength).toString();
18
18
  }
19
19
  } : {
20
- decode(u) {
20
+ decode(l) {
21
21
  let t = "";
22
- for (let e = 0; e < u.length; e++)
23
- t += String.fromCharCode(u[e]);
22
+ for (let e = 0; e < l.length; e++)
23
+ t += String.fromCharCode(l[e]);
24
24
  return t;
25
25
  }
26
- }, L = class {
26
+ }, R = class {
27
27
  constructor() {
28
- this.pos = 0, this.out = "", this.buffer = new Uint8Array(b);
28
+ this.pos = 0, this.out = "", this.buffer = new Uint8Array(C);
29
29
  }
30
- write(u) {
30
+ write(l) {
31
31
  const { buffer: t } = this;
32
- t[this.pos++] = u, this.pos === b && (this.out += C.decode(t), this.pos = 0);
32
+ t[this.pos++] = l, this.pos === C && (this.out += y.decode(t), this.pos = 0);
33
33
  }
34
34
  flush() {
35
- const { buffer: u, out: t, pos: e } = this;
36
- return e > 0 ? t + C.decode(u.subarray(0, e)) : t;
35
+ const { buffer: l, out: t, pos: e } = this;
36
+ return e > 0 ? t + y.decode(l.subarray(0, e)) : t;
37
37
  }
38
38
  };
39
- function R(u) {
40
- const t = new L();
39
+ function _(l) {
40
+ const t = new R();
41
41
  let e = 0, i = 0, n = 0, r = 0;
42
- for (let s = 0; s < u.length; s++) {
43
- const h = u[s];
44
- if (s > 0 && t.write(E), h.length === 0) continue;
42
+ for (let s = 0; s < l.length; s++) {
43
+ const h = l[s];
44
+ if (s > 0 && t.write(k), h.length === 0) continue;
45
45
  let o = 0;
46
- for (let l = 0; l < h.length; l++) {
47
- const a = h[l];
48
- l > 0 && t.write(x), o = c(t, a[0], o), a.length !== 1 && (e = c(t, a[1], e), i = c(t, a[2], i), n = c(t, a[3], n), a.length !== 4 && (r = c(t, a[4], r)));
46
+ for (let u = 0; u < h.length; u++) {
47
+ const a = h[u];
48
+ u > 0 && t.write(E), c(t, d(a[0] - o)), o = a[0], a.length !== 1 && (c(t, d(a[1] - e)), c(t, d(a[2] - i)), c(t, d(a[3] - n)), e = a[1], i = a[2], n = a[3], a.length !== 4 && (c(t, d(a[4] - r)), r = a[4]));
49
49
  }
50
50
  }
51
51
  return t.flush();
52
52
  }
53
- class p {
53
+ class w {
54
54
  constructor(t) {
55
- this.bits = t instanceof p ? t.bits.slice() : [];
55
+ this.bits = t instanceof w ? t.bits.slice() : [];
56
56
  }
57
57
  add(t) {
58
58
  this.bits[t >> 5] |= 1 << (t & 31);
@@ -61,7 +61,7 @@ class p {
61
61
  return !!(this.bits[t >> 5] & 1 << (t & 31));
62
62
  }
63
63
  }
64
- class g {
64
+ class p {
65
65
  constructor(t, e, i) {
66
66
  this.start = t, this.end = e, this.original = i, this.intro = "", this.outro = "", this.content = i, this.storeName = !1, this.edited = !1, this.previous = null, this.next = null;
67
67
  }
@@ -72,7 +72,7 @@ class g {
72
72
  this.intro = this.intro + t;
73
73
  }
74
74
  clone() {
75
- const t = new g(this.start, this.end, this.original);
75
+ const t = new p(this.start, this.end, this.original);
76
76
  return t.intro = this.intro, t.outro = this.outro, t.content = this.content, t.storeName = this.storeName, t.edited = this.edited, t;
77
77
  }
78
78
  contains(t) {
@@ -103,7 +103,7 @@ class g {
103
103
  split(t) {
104
104
  const e = t - this.start, i = this.original.slice(0, e), n = this.original.slice(e);
105
105
  this.original = i;
106
- const r = new g(t, this.end, n);
106
+ const r = new p(t, this.end, n);
107
107
  return r.outro = this.outro, this.outro = "", this.end = t, this.edited ? (r.edit("", !1), this.content = "") : this.content = i, r.next = this.next, r.next && (r.next.previous = r), r.previous = this, this.next = r, r;
108
108
  }
109
109
  toString() {
@@ -128,25 +128,25 @@ class g {
128
128
  } else if (this.edit("", void 0, !0), this.outro = this.outro.replace(t, ""), this.outro.length) return !0;
129
129
  }
130
130
  }
131
- function _() {
132
- return typeof globalThis < "u" && typeof globalThis.btoa == "function" ? (u) => globalThis.btoa(unescape(encodeURIComponent(u))) : typeof Buffer == "function" ? (u) => Buffer.from(u, "utf-8").toString("base64") : () => {
131
+ function O() {
132
+ return typeof globalThis < "u" && typeof globalThis.btoa == "function" ? (l) => globalThis.btoa(unescape(encodeURIComponent(l))) : typeof Buffer == "function" ? (l) => Buffer.from(l, "utf-8").toString("base64") : () => {
133
133
  throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.");
134
134
  };
135
135
  }
136
- const O = /* @__PURE__ */ _();
137
- class N {
136
+ const N = /* @__PURE__ */ O();
137
+ class I {
138
138
  constructor(t) {
139
- this.version = 3, this.file = t.file, this.sources = t.sources, this.sourcesContent = t.sourcesContent, this.names = t.names, this.mappings = R(t.mappings), typeof t.x_google_ignoreList < "u" && (this.x_google_ignoreList = t.x_google_ignoreList), typeof t.debugId < "u" && (this.debugId = t.debugId);
139
+ this.version = 3, this.file = t.file, this.sources = t.sources, this.sourcesContent = t.sourcesContent, this.names = t.names, this.mappings = _(t.mappings), typeof t.x_google_ignoreList < "u" && (this.x_google_ignoreList = t.x_google_ignoreList), typeof t.debugId < "u" && (this.debugId = t.debugId);
140
140
  }
141
141
  toString() {
142
142
  return JSON.stringify(this);
143
143
  }
144
144
  toUrl() {
145
- return "data:application/json;charset=utf-8;base64," + O(this.toString());
145
+ return "data:application/json;charset=utf-8;base64," + N(this.toString());
146
146
  }
147
147
  }
148
- function I(u) {
149
- const t = u.split(`
148
+ function A(l) {
149
+ const t = l.split(`
150
150
  `), e = t.filter((r) => /^\t+/.test(r)), i = t.filter((r) => /^ {2,}/.test(r));
151
151
  if (e.length === 0 && i.length === 0)
152
152
  return null;
@@ -158,8 +158,8 @@ function I(u) {
158
158
  }, 1 / 0);
159
159
  return new Array(n + 1).join(" ");
160
160
  }
161
- function A(u, t) {
162
- const e = u.split(/[/\\]/), i = t.split(/[/\\]/);
161
+ function T(l, t) {
162
+ const e = l.split(/[/\\]/), i = t.split(/[/\\]/);
163
163
  for (e.pop(); e[0] === i[0]; )
164
164
  e.shift(), i.shift();
165
165
  if (e.length) {
@@ -168,27 +168,27 @@ function A(u, t) {
168
168
  }
169
169
  return e.concat(i).join("/");
170
170
  }
171
- const T = Object.prototype.toString;
172
- function j(u) {
173
- return T.call(u) === "[object Object]";
171
+ const j = Object.prototype.toString;
172
+ function $(l) {
173
+ return j.call(l) === "[object Object]";
174
174
  }
175
- function y(u) {
176
- const t = u.split(`
175
+ function S(l) {
176
+ const t = l.split(`
177
177
  `), e = [];
178
178
  for (let i = 0, n = 0; i < t.length; i++)
179
179
  e.push(n), n += t[i].length + 1;
180
180
  return function(n) {
181
181
  let r = 0, s = e.length;
182
182
  for (; r < s; ) {
183
- const l = r + s >> 1;
184
- n < e[l] ? s = l : r = l + 1;
183
+ const u = r + s >> 1;
184
+ n < e[u] ? s = u : r = u + 1;
185
185
  }
186
186
  const h = r - 1, o = n - e[h];
187
187
  return { line: h, column: o };
188
188
  };
189
189
  }
190
- const $ = /\w/;
191
- class U {
190
+ const U = /\w/;
191
+ class B {
192
192
  constructor(t) {
193
193
  this.hires = t, this.generatedCodeLine = 0, this.generatedCodeColumn = 0, this.raw = [], this.rawSegments = this.raw[this.generatedCodeLine] = [], this.pending = null;
194
194
  }
@@ -198,8 +198,8 @@ class U {
198
198
  let s = e.indexOf(`
199
199
  `, 0), h = -1;
200
200
  for (; s >= 0 && r > s; ) {
201
- const l = [this.generatedCodeColumn, t, i.line, i.column];
202
- n >= 0 && l.push(n), this.rawSegments.push(l), this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, h = s, s = e.indexOf(`
201
+ const u = [this.generatedCodeColumn, t, i.line, i.column];
202
+ n >= 0 && u.push(n), this.rawSegments.push(u), this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, h = s, s = e.indexOf(`
203
203
  `, s + 1);
204
204
  }
205
205
  const o = [this.generatedCodeColumn, t, i.line, i.column];
@@ -215,8 +215,8 @@ class U {
215
215
  n.line += 1, n.column = 0, this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, h = !0, o = !1;
216
216
  else {
217
217
  if (this.hires || h || r.has(s)) {
218
- const l = [this.generatedCodeColumn, t, n.line, n.column];
219
- this.hires === "boundary" ? $.test(i[s]) ? o || (this.rawSegments.push(l), o = !0) : (this.rawSegments.push(l), o = !1) : this.rawSegments.push(l);
218
+ const u = [this.generatedCodeColumn, t, n.line, n.column];
219
+ this.hires === "boundary" ? U.test(i[s]) ? o || (this.rawSegments.push(u), o = !0) : (this.rawSegments.push(u), o = !1) : this.rawSegments.push(u);
220
220
  }
221
221
  n.column += 1, this.generatedCodeColumn += 1, h = !1;
222
222
  }
@@ -236,15 +236,15 @@ class U {
236
236
  this.generatedCodeColumn += e[e.length - 1].length;
237
237
  }
238
238
  }
239
- const d = `
239
+ const g = `
240
240
  `, f = {
241
241
  insertLeft: !1,
242
242
  insertRight: !1,
243
243
  storeName: !1
244
244
  };
245
- class v {
245
+ class x {
246
246
  constructor(t, e = {}) {
247
- const i = new g(0, t.length, t);
247
+ const i = new p(0, t.length, t);
248
248
  Object.defineProperties(this, {
249
249
  original: { writable: !0, value: t },
250
250
  outro: { writable: !0, value: "" },
@@ -256,7 +256,7 @@ class v {
256
256
  byEnd: { writable: !0, value: {} },
257
257
  filename: { writable: !0, value: e.filename },
258
258
  indentExclusionRanges: { writable: !0, value: e.indentExclusionRanges },
259
- sourcemapLocations: { writable: !0, value: new p() },
259
+ sourcemapLocations: { writable: !0, value: new w() },
260
260
  storedNames: { writable: !0, value: {} },
261
261
  indentStr: { writable: !0, value: void 0 },
262
262
  ignoreList: { writable: !0, value: e.ignoreList },
@@ -283,18 +283,18 @@ class v {
283
283
  return i ? i.appendRight(e) : this.outro += e, this;
284
284
  }
285
285
  clone() {
286
- const t = new v(this.original, { filename: this.filename, offset: this.offset });
286
+ const t = new x(this.original, { filename: this.filename, offset: this.offset });
287
287
  let e = this.firstChunk, i = t.firstChunk = t.lastSearchedChunk = e.clone();
288
288
  for (; e; ) {
289
289
  t.byStart[i.start] = i, t.byEnd[i.end] = i;
290
290
  const n = e.next, r = n && n.clone();
291
291
  r && (i.next = r, r.previous = i, i = r), e = n;
292
292
  }
293
- return t.lastChunk = i, this.indentExclusionRanges && (t.indentExclusionRanges = this.indentExclusionRanges.slice()), t.sourcemapLocations = new p(this.sourcemapLocations), t.intro = this.intro, t.outro = this.outro, t;
293
+ return t.lastChunk = i, this.indentExclusionRanges && (t.indentExclusionRanges = this.indentExclusionRanges.slice()), t.sourcemapLocations = new w(this.sourcemapLocations), t.intro = this.intro, t.outro = this.outro, t;
294
294
  }
295
295
  generateDecodedMap(t) {
296
296
  t = t || {};
297
- const e = 0, i = Object.keys(this.storedNames), n = new U(t.hires), r = y(this.original);
297
+ const e = 0, i = Object.keys(this.storedNames), n = new B(t.hires), r = S(this.original);
298
298
  return this.intro && n.advance(this.intro), this.firstChunk.eachNext((s) => {
299
299
  const h = r(s.start);
300
300
  s.intro.length && n.advance(s.intro), s.edited ? n.addEdit(
@@ -306,7 +306,7 @@ class v {
306
306
  }), this.outro && n.advance(this.outro), {
307
307
  file: t.file ? t.file.split(/[/\\]/).pop() : void 0,
308
308
  sources: [
309
- t.source ? A(t.file || "", t.source) : t.file || ""
309
+ t.source ? T(t.file || "", t.source) : t.file || ""
310
310
  ],
311
311
  sourcesContent: t.includeContent ? [this.original] : void 0,
312
312
  names: i,
@@ -315,10 +315,10 @@ class v {
315
315
  };
316
316
  }
317
317
  generateMap(t) {
318
- return new N(this.generateDecodedMap(t));
318
+ return new I(this.generateDecodedMap(t));
319
319
  }
320
320
  _ensureindentStr() {
321
- this.indentStr === void 0 && (this.indentStr = I(this.original));
321
+ this.indentStr === void 0 && (this.indentStr = A(this.original));
322
322
  }
323
323
  _getRawIndentString() {
324
324
  return this._ensureindentStr(), this.indentStr;
@@ -328,24 +328,24 @@ class v {
328
328
  }
329
329
  indent(t, e) {
330
330
  const i = /^[^\r\n]/gm;
331
- if (j(t) && (e = t, t = void 0), t === void 0 && (this._ensureindentStr(), t = this.indentStr || " "), t === "") return this;
331
+ if ($(t) && (e = t, t = void 0), t === void 0 && (this._ensureindentStr(), t = this.indentStr || " "), t === "") return this;
332
332
  e = e || {};
333
333
  const n = {};
334
334
  e.exclude && (typeof e.exclude[0] == "number" ? [e.exclude] : e.exclude).forEach((a) => {
335
- for (let w = a[0]; w < a[1]; w += 1)
336
- n[w] = !0;
335
+ for (let m = a[0]; m < a[1]; m += 1)
336
+ n[m] = !0;
337
337
  });
338
338
  let r = e.indentStart !== !1;
339
- const s = (l) => r ? `${t}${l}` : (r = !0, l);
339
+ const s = (u) => r ? `${t}${u}` : (r = !0, u);
340
340
  this.intro = this.intro.replace(i, s);
341
341
  let h = 0, o = this.firstChunk;
342
342
  for (; o; ) {
343
- const l = o.end;
343
+ const u = o.end;
344
344
  if (o.edited)
345
345
  n[h] || (o.content = o.content.replace(i, s), o.content.length && (r = o.content[o.content.length - 1] === `
346
346
  `));
347
347
  else
348
- for (h = o.start; h < l; ) {
348
+ for (h = o.start; h < u; ) {
349
349
  if (!n[h]) {
350
350
  const a = this.original[h];
351
351
  a === `
@@ -377,8 +377,8 @@ class v {
377
377
  this._split(t), this._split(e), this._split(i);
378
378
  const n = this.byStart[t], r = this.byEnd[e], s = n.previous, h = r.next, o = this.byStart[i];
379
379
  if (!o && r === this.lastChunk) return this;
380
- const l = o ? o.previous : this.lastChunk;
381
- return s && (s.next = h), h && (h.previous = s), l && (l.next = n), o && (o.previous = r), n.previous || (this.firstChunk = r.next), r.next || (this.lastChunk = n.previous, this.lastChunk.next = null), n.previous = l, r.next = o || null, l || (this.firstChunk = n), o || (this.lastChunk = r), this;
380
+ const u = o ? o.previous : this.lastChunk;
381
+ return s && (s.next = h), h && (h.previous = s), u && (u.next = n), o && (o.previous = r), n.previous || (this.firstChunk = r.next), r.next || (this.lastChunk = n.previous, this.lastChunk.next = null), n.previous = u, r.next = o || null, u || (this.firstChunk = n), o || (this.lastChunk = r), this;
382
382
  }
383
383
  overwrite(t, e, i, n) {
384
384
  return n = n || {}, this.update(t, e, i, { ...n, overwrite: !n.contentOnly });
@@ -399,8 +399,8 @@ class v {
399
399
  ), f.storeName = !0), n = { storeName: !0 });
400
400
  const r = n !== void 0 ? n.storeName : !1, s = n !== void 0 ? n.overwrite : !1;
401
401
  if (r) {
402
- const l = this.original.slice(t, e);
403
- Object.defineProperty(this.storedNames, l, {
402
+ const u = this.original.slice(t, e);
403
+ Object.defineProperty(this.storedNames, u, {
404
404
  writable: !0,
405
405
  value: !0,
406
406
  enumerable: !0
@@ -408,16 +408,16 @@ class v {
408
408
  }
409
409
  const h = this.byStart[t], o = this.byEnd[e];
410
410
  if (h) {
411
- let l = h;
412
- for (; l !== o; ) {
413
- if (l.next !== this.byStart[l.end])
411
+ let u = h;
412
+ for (; u !== o; ) {
413
+ if (u.next !== this.byStart[u.end])
414
414
  throw new Error("Cannot overwrite across a split point");
415
- l = l.next, l.edit("", !1);
415
+ u = u.next, u.edit("", !1);
416
416
  }
417
417
  h.edit(i, r, !s);
418
418
  } else {
419
- const l = new g(t, e, "").edit(i, r);
420
- o.next = l, l.previous = o;
419
+ const u = new p(t, e, "").edit(i, r);
420
+ o.next = u, u.previous = o;
421
421
  }
422
422
  return this;
423
423
  }
@@ -476,24 +476,24 @@ class v {
476
476
  return this.intro.length ? this.intro[this.intro.length - 1] : "";
477
477
  }
478
478
  lastLine() {
479
- let t = this.outro.lastIndexOf(d);
479
+ let t = this.outro.lastIndexOf(g);
480
480
  if (t !== -1) return this.outro.substr(t + 1);
481
481
  let e = this.outro, i = this.lastChunk;
482
482
  do {
483
483
  if (i.outro.length > 0) {
484
- if (t = i.outro.lastIndexOf(d), t !== -1) return i.outro.substr(t + 1) + e;
484
+ if (t = i.outro.lastIndexOf(g), t !== -1) return i.outro.substr(t + 1) + e;
485
485
  e = i.outro + e;
486
486
  }
487
487
  if (i.content.length > 0) {
488
- if (t = i.content.lastIndexOf(d), t !== -1) return i.content.substr(t + 1) + e;
488
+ if (t = i.content.lastIndexOf(g), t !== -1) return i.content.substr(t + 1) + e;
489
489
  e = i.content + e;
490
490
  }
491
491
  if (i.intro.length > 0) {
492
- if (t = i.intro.lastIndexOf(d), t !== -1) return i.intro.substr(t + 1) + e;
492
+ if (t = i.intro.lastIndexOf(g), t !== -1) return i.intro.substr(t + 1) + e;
493
493
  e = i.intro + e;
494
494
  }
495
495
  } while (i = i.previous);
496
- return t = this.intro.lastIndexOf(d), t !== -1 ? this.intro.substr(t + 1) + e : this.intro + e;
496
+ return t = this.intro.lastIndexOf(g), t !== -1 ? this.intro.substr(t + 1) + e : this.intro + e;
497
497
  }
498
498
  slice(t = 0, e = this.original.length - this.offset) {
499
499
  if (t = t + this.offset, e = e + this.offset, this.original.length !== 0) {
@@ -538,7 +538,7 @@ class v {
538
538
  }
539
539
  _splitChunk(t, e) {
540
540
  if (t.edited && t.content.length) {
541
- const n = y(this.original)(e);
541
+ const n = S(this.original)(e);
542
542
  throw new Error(
543
543
  `Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${t.original}")`
544
544
  );
@@ -658,6 +658,6 @@ class v {
658
658
  }
659
659
  }
660
660
  export {
661
- N as SourceMap,
662
- v as default
661
+ I as SourceMap,
662
+ x as default
663
663
  };