tia-gpc-widget 1.0.8 → 1.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.
@@ -29,7 +29,7 @@ const Kr = ({ onClick: e, unreadCount: n = 0, widgetConfig: t }) => {
29
29
  ]
30
30
  }
31
31
  );
32
- }, Xr = ({ theme: e, onToggle: n }) => {
32
+ }, Yr = ({ theme: e, onToggle: n }) => {
33
33
  const { t } = fe();
34
34
  return /* @__PURE__ */ I(
35
35
  "button",
@@ -45,7 +45,7 @@ const Kr = ({ onClick: e, unreadCount: n = 0, widgetConfig: t }) => {
45
45
  { code: "en", label: "English", flag: "🇬🇧" },
46
46
  { code: "es", label: "Español", flag: "🇪🇸" },
47
47
  { code: "fr", label: "Français", flag: "🇫🇷" }
48
- ], Yr = () => {
48
+ ], Xr = () => {
49
49
  const { i18n: e } = fe(), [n, t] = Q(!1), r = Ve(null), i = un.find((o) => o.code === e.language) || un[0], l = (o) => {
50
50
  e.changeLanguage(o), t(!1);
51
51
  };
@@ -94,8 +94,8 @@ const Kr = ({ onClick: e, unreadCount: n = 0, widgetConfig: t }) => {
94
94
  /* @__PURE__ */ I("div", { className: "gpc-header-text", children: /* @__PURE__ */ I("h2", { className: "gpc-header-title", children: o }) })
95
95
  ] }),
96
96
  /* @__PURE__ */ V("div", { className: "gpc-header-actions", children: [
97
- /* @__PURE__ */ I(Yr, {}),
98
- /* @__PURE__ */ I(Xr, { theme: n, onToggle: t }),
97
+ /* @__PURE__ */ I(Xr, {}),
98
+ /* @__PURE__ */ I(Yr, { theme: n, onToggle: t }),
99
99
  /* @__PURE__ */ I(
100
100
  "button",
101
101
  {
@@ -1295,77 +1295,77 @@ function di(e) {
1295
1295
  function Wt(e) {
1296
1296
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1297
1297
  }
1298
- var Ae = {}, pn, it;
1298
+ var Pe = {}, pn, it;
1299
1299
  function mi() {
1300
1300
  if (it) return pn;
1301
1301
  it = 1;
1302
1302
  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, n = /\n/g, t = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, l = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, o = /^[;\s]*/, a = /^\s+|\s+$/g, c = `
1303
1303
  `, s = "/", u = "*", h = "", f = "comment", p = "declaration";
1304
- pn = function(b, P) {
1304
+ pn = function(b, A) {
1305
1305
  if (typeof b != "string")
1306
1306
  throw new TypeError("First argument must be a string");
1307
1307
  if (!b) return [];
1308
- P = P || {};
1308
+ A = A || {};
1309
1309
  var y = 1, E = 1;
1310
1310
  function k(v) {
1311
- var A = v.match(n);
1312
- A && (y += A.length);
1311
+ var P = v.match(n);
1312
+ P && (y += P.length);
1313
1313
  var L = v.lastIndexOf(c);
1314
1314
  E = ~L ? v.length - L : E + v.length;
1315
1315
  }
1316
1316
  function D() {
1317
1317
  var v = { line: y, column: E };
1318
- return function(A) {
1319
- return A.position = new M(v), H(), A;
1318
+ return function(P) {
1319
+ return P.position = new M(v), H(), P;
1320
1320
  };
1321
1321
  }
1322
1322
  function M(v) {
1323
- this.start = v, this.end = { line: y, column: E }, this.source = P.source;
1323
+ this.start = v, this.end = { line: y, column: E }, this.source = A.source;
1324
1324
  }
1325
1325
  M.prototype.content = b;
1326
1326
  function x(v) {
1327
- var A = new Error(
1328
- P.source + ":" + y + ":" + E + ": " + v
1327
+ var P = new Error(
1328
+ A.source + ":" + y + ":" + E + ": " + v
1329
1329
  );
1330
- if (A.reason = v, A.filename = P.source, A.line = y, A.column = E, A.source = b, !P.silent) throw A;
1330
+ if (P.reason = v, P.filename = A.source, P.line = y, P.column = E, P.source = b, !A.silent) throw P;
1331
1331
  }
1332
1332
  function O(v) {
1333
- var A = v.exec(b);
1334
- if (A) {
1335
- var L = A[0];
1336
- return k(L), b = b.slice(L.length), A;
1333
+ var P = v.exec(b);
1334
+ if (P) {
1335
+ var L = P[0];
1336
+ return k(L), b = b.slice(L.length), P;
1337
1337
  }
1338
1338
  }
1339
1339
  function H() {
1340
1340
  O(t);
1341
1341
  }
1342
1342
  function B(v) {
1343
- var A;
1344
- for (v = v || []; A = j(); )
1345
- A !== !1 && v.push(A);
1343
+ var P;
1344
+ for (v = v || []; P = j(); )
1345
+ P !== !1 && v.push(P);
1346
1346
  return v;
1347
1347
  }
1348
1348
  function j() {
1349
1349
  var v = D();
1350
1350
  if (!(s != b.charAt(0) || u != b.charAt(1))) {
1351
- for (var A = 2; h != b.charAt(A) && (u != b.charAt(A) || s != b.charAt(A + 1)); )
1352
- ++A;
1353
- if (A += 2, h === b.charAt(A - 1))
1351
+ for (var P = 2; h != b.charAt(P) && (u != b.charAt(P) || s != b.charAt(P + 1)); )
1352
+ ++P;
1353
+ if (P += 2, h === b.charAt(P - 1))
1354
1354
  return x("End of comment missing");
1355
- var L = b.slice(2, A - 2);
1356
- return E += 2, k(L), b = b.slice(A), E += 2, v({
1355
+ var L = b.slice(2, P - 2);
1356
+ return E += 2, k(L), b = b.slice(P), E += 2, v({
1357
1357
  type: f,
1358
1358
  comment: L
1359
1359
  });
1360
1360
  }
1361
1361
  }
1362
1362
  function N() {
1363
- var v = D(), A = O(r);
1364
- if (A) {
1363
+ var v = D(), P = O(r);
1364
+ if (P) {
1365
1365
  if (j(), !O(i)) return x("property missing ':'");
1366
1366
  var L = O(l), K = v({
1367
1367
  type: p,
1368
- property: w(A[0].replace(e, h)),
1368
+ property: w(P[0].replace(e, h)),
1369
1369
  value: L ? w(L[0].replace(e, h)) : h
1370
1370
  });
1371
1371
  return O(o), K;
@@ -1374,8 +1374,8 @@ function mi() {
1374
1374
  function T() {
1375
1375
  var v = [];
1376
1376
  B(v);
1377
- for (var A; A = N(); )
1378
- A !== !1 && (v.push(A), B(v));
1377
+ for (var P; P = N(); )
1378
+ P !== !1 && (v.push(P), B(v));
1379
1379
  return v;
1380
1380
  }
1381
1381
  return H(), T();
@@ -1387,12 +1387,12 @@ function mi() {
1387
1387
  }
1388
1388
  var lt;
1389
1389
  function gi() {
1390
- if (lt) return Ae;
1390
+ if (lt) return Pe;
1391
1391
  lt = 1;
1392
- var e = Ae && Ae.__importDefault || function(r) {
1392
+ var e = Pe && Pe.__importDefault || function(r) {
1393
1393
  return r && r.__esModule ? r : { default: r };
1394
1394
  };
1395
- Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.default = t;
1395
+ Object.defineProperty(Pe, "__esModule", { value: !0 }), Pe.default = t;
1396
1396
  const n = e(mi());
1397
1397
  function t(r, i) {
1398
1398
  let l = null;
@@ -1406,7 +1406,7 @@ function gi() {
1406
1406
  a ? i(s, u, c) : u && (l = l || {}, l[s] = u);
1407
1407
  }), l;
1408
1408
  }
1409
- return Ae;
1409
+ return Pe;
1410
1410
  }
1411
1411
  var Fe = {}, ot;
1412
1412
  function yi() {
@@ -1439,8 +1439,8 @@ function xi() {
1439
1439
  return r.default = r, Be = r, Be;
1440
1440
  }
1441
1441
  var ki = xi();
1442
- const bi = /* @__PURE__ */ Wt(ki), Kt = Xt("end"), Dn = Xt("start");
1443
- function Xt(e) {
1442
+ const bi = /* @__PURE__ */ Wt(ki), Kt = Yt("end"), Dn = Yt("start");
1443
+ function Yt(e) {
1444
1444
  return n;
1445
1445
  function n(t) {
1446
1446
  const r = t && t.position && t.position[e] || {};
@@ -1556,7 +1556,7 @@ J.prototype.fatal = void 0;
1556
1556
  J.prototype.place = void 0;
1557
1557
  J.prototype.ruleId = void 0;
1558
1558
  J.prototype.source = void 0;
1559
- const Mn = {}.hasOwnProperty, Si = /* @__PURE__ */ new Map(), Ci = /[A-Z]/g, Ei = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Ti = /* @__PURE__ */ new Set(["td", "th"]), Yt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1559
+ const Mn = {}.hasOwnProperty, Si = /* @__PURE__ */ new Map(), Ci = /[A-Z]/g, Ei = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), Ti = /* @__PURE__ */ new Set(["td", "th"]), Xt = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1560
1560
  function Ii(e, n) {
1561
1561
  if (!n || n.Fragment === void 0)
1562
1562
  throw new TypeError("Expected `Fragment` in options");
@@ -1601,11 +1601,11 @@ function Jt(e, n, t) {
1601
1601
  if (n.type === "element")
1602
1602
  return vi(e, n, t);
1603
1603
  if (n.type === "mdxFlowExpression" || n.type === "mdxTextExpression")
1604
- return Pi(e, n);
1604
+ return Ai(e, n);
1605
1605
  if (n.type === "mdxJsxFlowElement" || n.type === "mdxJsxTextElement")
1606
1606
  return Ni(e, n, t);
1607
1607
  if (n.type === "mdxjsEsm")
1608
- return Ai(e, n);
1608
+ return Pi(e, n);
1609
1609
  if (n.type === "root")
1610
1610
  return _i(e, n, t);
1611
1611
  if (n.type === "text")
@@ -1621,7 +1621,7 @@ function vi(e, n, t) {
1621
1621
  return typeof c == "string" ? !ri(c) : !0;
1622
1622
  })), Qt(e, o, l, n), Fn(o, a), e.ancestors.pop(), e.schema = r, e.create(n, l, o, t);
1623
1623
  }
1624
- function Pi(e, n) {
1624
+ function Ai(e, n) {
1625
1625
  if (n.data && n.data.estree && e.evaluater) {
1626
1626
  const r = n.data.estree.body[0];
1627
1627
  return r.type, /** @type {Child | undefined} */
@@ -1629,7 +1629,7 @@ function Pi(e, n) {
1629
1629
  }
1630
1630
  Ge(e, n.position);
1631
1631
  }
1632
- function Ai(e, n) {
1632
+ function Pi(e, n) {
1633
1633
  if (n.data && n.data.estree && e.evaluater)
1634
1634
  return (
1635
1635
  /** @type {Child | undefined} */
@@ -1784,7 +1784,7 @@ function Fi(e, n) {
1784
1784
  ruleId: "style",
1785
1785
  source: "hast-util-to-jsx-runtime"
1786
1786
  });
1787
- throw i.file = e.filePath || void 0, i.url = Yt + "#cannot-parse-style-attribute", i;
1787
+ throw i.file = e.filePath || void 0, i.url = Xt + "#cannot-parse-style-attribute", i;
1788
1788
  }
1789
1789
  }
1790
1790
  function Zt(e, n, t) {
@@ -1828,7 +1828,7 @@ function Ge(e, n) {
1828
1828
  source: "hast-util-to-jsx-runtime"
1829
1829
  }
1830
1830
  );
1831
- throw t.file = e.filePath || void 0, t.url = Yt + "#cannot-handle-mdx-estrees-without-createevaluater", t;
1831
+ throw t.file = e.filePath || void 0, t.url = Xt + "#cannot-handle-mdx-estrees-without-createevaluater", t;
1832
1832
  }
1833
1833
  function Bi(e) {
1834
1834
  const n = {};
@@ -1964,14 +1964,14 @@ function Le(e) {
1964
1964
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
1965
1965
  }
1966
1966
  const pe = Se(/[A-Za-z]/), ie = Se(/[\dA-Za-z]/), Ki = Se(/[#-'*+\--9=?A-Z^-~]/);
1967
- function Pn(e) {
1967
+ function An(e) {
1968
1968
  return (
1969
1969
  // Special whitespace codes (which have negative values), C0 and Control
1970
1970
  // character DEL
1971
1971
  e !== null && (e < 32 || e === 127)
1972
1972
  );
1973
1973
  }
1974
- const An = Se(/\d/), Xi = Se(/[\dA-Fa-f]/), Yi = Se(/[!-/:-@[-`{-~]/);
1974
+ const Pn = Se(/\d/), Yi = Se(/[\dA-Fa-f]/), Xi = Se(/[!-/:-@[-`{-~]/);
1975
1975
  function _(e) {
1976
1976
  return e !== null && e < -2;
1977
1977
  }
@@ -2121,12 +2121,12 @@ function tl(e) {
2121
2121
  }
2122
2122
  function b(k) {
2123
2123
  if (k === null) {
2124
- P(e.exit("chunkFlow"), !0), y(0), e.consume(k);
2124
+ A(e.exit("chunkFlow"), !0), y(0), e.consume(k);
2125
2125
  return;
2126
2126
  }
2127
- return _(k) ? (e.consume(k), P(e.exit("chunkFlow")), r = 0, n.interrupt = void 0, a) : (e.consume(k), b);
2127
+ return _(k) ? (e.consume(k), A(e.exit("chunkFlow")), r = 0, n.interrupt = void 0, a) : (e.consume(k), b);
2128
2128
  }
2129
- function P(k, D) {
2129
+ function A(k, D) {
2130
2130
  const M = n.sliceStream(k);
2131
2131
  if (D && M.push(null), k.previous = l, l && (l.next = k), l = k, i.defineSkip(k.start), i.write(M), n.parser.lazy[k.start.line]) {
2132
2132
  let x = i.events.length;
@@ -2282,7 +2282,7 @@ function al(e, n, t) {
2282
2282
  return p === 58 ? (e.consume(p), r = 0, c) : (p === 43 || p === 45 || p === 46 || ie(p)) && r++ < 32 ? (e.consume(p), a) : (r = 0, s(p));
2283
2283
  }
2284
2284
  function c(p) {
2285
- return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), n) : p === null || p === 32 || p === 60 || Pn(p) ? t(p) : (e.consume(p), c);
2285
+ return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), n) : p === null || p === 32 || p === 60 || An(p) ? t(p) : (e.consume(p), c);
2286
2286
  }
2287
2287
  function s(p) {
2288
2288
  return p === 64 ? (e.consume(p), u) : Ki(p) ? (e.consume(p), s) : t(p);
@@ -2361,7 +2361,7 @@ function hl(e, n, t) {
2361
2361
  return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(l), e.exit("escapeMarker"), i;
2362
2362
  }
2363
2363
  function i(l) {
2364
- return Yi(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2364
+ return Xi(l) ? (e.enter("characterEscapeValue"), e.consume(l), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(l);
2365
2365
  }
2366
2366
  }
2367
2367
  const ir = {
@@ -2379,7 +2379,7 @@ function fl(e, n, t) {
2379
2379
  return h === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(h), e.exit("characterReferenceMarkerNumeric"), s) : (e.enter("characterReferenceValue"), l = 31, o = ie, u(h));
2380
2380
  }
2381
2381
  function s(h) {
2382
- return h === 88 || h === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(h), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = Xi, u) : (e.enter("characterReferenceValue"), l = 7, o = An, u(h));
2382
+ return h === 88 || h === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(h), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), l = 6, o = Yi, u) : (e.enter("characterReferenceValue"), l = 7, o = Pn, u(h));
2383
2383
  }
2384
2384
  function u(h) {
2385
2385
  if (h === 59 && i) {
@@ -2431,9 +2431,9 @@ function dl(e, n, t) {
2431
2431
  return x === null || _(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), h(x)) : x === 96 && x === a ? t(x) : (e.consume(x), w);
2432
2432
  }
2433
2433
  function b(x) {
2434
- return e.attempt(i, D, P)(x);
2434
+ return e.attempt(i, D, A)(x);
2435
2435
  }
2436
- function P(x) {
2436
+ function A(x) {
2437
2437
  return e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), y;
2438
2438
  }
2439
2439
  function y(x) {
@@ -2461,9 +2461,9 @@ function dl(e, n, t) {
2461
2461
  return L === a ? (x.enter("codeFencedFenceSequence"), v(L)) : H(L);
2462
2462
  }
2463
2463
  function v(L) {
2464
- return L === a ? (B++, x.consume(L), v) : B >= o ? (x.exit("codeFencedFenceSequence"), U(L) ? G(x, A, "whitespace")(L) : A(L)) : H(L);
2464
+ return L === a ? (B++, x.consume(L), v) : B >= o ? (x.exit("codeFencedFenceSequence"), U(L) ? G(x, P, "whitespace")(L) : P(L)) : H(L);
2465
2465
  }
2466
- function A(L) {
2466
+ function P(L) {
2467
2467
  return L === null || _(L) ? (x.exit("codeFencedFence"), O(L)) : H(L);
2468
2468
  }
2469
2469
  }
@@ -2761,7 +2761,7 @@ function El(e, n) {
2761
2761
  o || (o = r.parser[t.contentType](t.start), t._contentTypeTextTrailing && (o._contentTypeTextTrailing = !0));
2762
2762
  const a = o.events, c = [], s = {};
2763
2763
  let u, h, f = -1, p = t, w = 0, b = 0;
2764
- const P = [b];
2764
+ const A = [b];
2765
2765
  for (; p; ) {
2766
2766
  for (; e.get(++i)[1] !== p; )
2767
2767
  ;
@@ -2769,9 +2769,9 @@ function El(e, n) {
2769
2769
  }
2770
2770
  for (p = t; ++f < a.length; )
2771
2771
  // Find a void token that includes a break.
2772
- a[f][0] === "exit" && a[f - 1][0] === "enter" && a[f][1].type === a[f - 1][1].type && a[f][1].start.line !== a[f][1].end.line && (b = f + 1, P.push(b), p._tokenizer = void 0, p.previous = void 0, p = p.next);
2773
- for (o.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : P.pop(), f = P.length; f--; ) {
2774
- const y = a.slice(P[f], P[f + 1]), E = l.pop();
2772
+ a[f][0] === "exit" && a[f - 1][0] === "enter" && a[f][1].type === a[f - 1][1].type && a[f][1].start.line !== a[f][1].end.line && (b = f + 1, A.push(b), p._tokenizer = void 0, p.previous = void 0, p = p.next);
2773
+ for (o.events = [], p ? (p._tokenizer = void 0, p.previous = void 0) : A.pop(), f = A.length; f--; ) {
2774
+ const y = a.slice(A[f], A[f + 1]), E = l.pop();
2775
2775
  c.push([E, E + y.length - 1]), e.splice(E, 2, y);
2776
2776
  }
2777
2777
  for (c.reverse(), f = -1; ++f < c.length; )
@@ -2780,15 +2780,15 @@ function El(e, n) {
2780
2780
  }
2781
2781
  const Tl = {
2782
2782
  resolve: vl,
2783
- tokenize: Pl
2783
+ tokenize: Al
2784
2784
  }, Il = {
2785
2785
  partial: !0,
2786
- tokenize: Al
2786
+ tokenize: Pl
2787
2787
  };
2788
2788
  function vl(e) {
2789
2789
  return lr(e), e;
2790
2790
  }
2791
- function Pl(e, n) {
2791
+ function Al(e, n) {
2792
2792
  let t;
2793
2793
  return r;
2794
2794
  function r(a) {
@@ -2809,7 +2809,7 @@ function Pl(e, n) {
2809
2809
  }), t = t.next, i;
2810
2810
  }
2811
2811
  }
2812
- function Al(e, n, t) {
2812
+ function Pl(e, n, t) {
2813
2813
  const r = this;
2814
2814
  return i;
2815
2815
  function i(o) {
@@ -2827,7 +2827,7 @@ function or(e, n, t, r, i, l, o, a, c) {
2827
2827
  let u = 0;
2828
2828
  return h;
2829
2829
  function h(y) {
2830
- return y === 60 ? (e.enter(r), e.enter(i), e.enter(l), e.consume(y), e.exit(l), f) : y === null || y === 32 || y === 41 || Pn(y) ? t(y) : (e.enter(r), e.enter(o), e.enter(a), e.enter("chunkString", {
2830
+ return y === 60 ? (e.enter(r), e.enter(i), e.enter(l), e.consume(y), e.exit(l), f) : y === null || y === 32 || y === 41 || An(y) ? t(y) : (e.enter(r), e.enter(o), e.enter(a), e.enter("chunkString", {
2831
2831
  contentType: "string"
2832
2832
  }), b(y));
2833
2833
  }
@@ -2843,9 +2843,9 @@ function or(e, n, t, r, i, l, o, a, c) {
2843
2843
  return y === 60 || y === 62 || y === 92 ? (e.consume(y), p) : p(y);
2844
2844
  }
2845
2845
  function b(y) {
2846
- return !u && (y === null || y === 41 || ee(y)) ? (e.exit("chunkString"), e.exit(a), e.exit(o), e.exit(r), n(y)) : u < s && y === 40 ? (e.consume(y), u++, b) : y === 41 ? (e.consume(y), u--, b) : y === null || y === 32 || y === 40 || Pn(y) ? t(y) : (e.consume(y), y === 92 ? P : b);
2846
+ return !u && (y === null || y === 41 || ee(y)) ? (e.exit("chunkString"), e.exit(a), e.exit(o), e.exit(r), n(y)) : u < s && y === 40 ? (e.consume(y), u++, b) : y === 41 ? (e.consume(y), u--, b) : y === null || y === 32 || y === 40 || An(y) ? t(y) : (e.consume(y), y === 92 ? A : b);
2847
2847
  }
2848
- function P(y) {
2848
+ function A(y) {
2849
2849
  return y === 40 || y === 41 || y === 92 ? (e.consume(y), b) : b(y);
2850
2850
  }
2851
2851
  }
@@ -3116,7 +3116,7 @@ function ql(e, n, t) {
3116
3116
  return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(m), h;
3117
3117
  }
3118
3118
  function h(m) {
3119
- return m === 33 ? (e.consume(m), f) : m === 47 ? (e.consume(m), l = !0, b) : m === 63 ? (e.consume(m), i = 3, r.interrupt ? n : d) : pe(m) ? (e.consume(m), o = String.fromCharCode(m), P) : t(m);
3119
+ return m === 33 ? (e.consume(m), f) : m === 47 ? (e.consume(m), l = !0, b) : m === 63 ? (e.consume(m), i = 3, r.interrupt ? n : d) : pe(m) ? (e.consume(m), o = String.fromCharCode(m), A) : t(m);
3120
3120
  }
3121
3121
  function f(m) {
3122
3122
  return m === 45 ? (e.consume(m), i = 2, p) : m === 91 ? (e.consume(m), i = 5, a = 0, w) : pe(m) ? (e.consume(m), i = 4, r.interrupt ? n : d) : t(m);
@@ -3129,14 +3129,14 @@ function ql(e, n, t) {
3129
3129
  return m === se.charCodeAt(a++) ? (e.consume(m), a === se.length ? r.interrupt ? n : T : w) : t(m);
3130
3130
  }
3131
3131
  function b(m) {
3132
- return pe(m) ? (e.consume(m), o = String.fromCharCode(m), P) : t(m);
3132
+ return pe(m) ? (e.consume(m), o = String.fromCharCode(m), A) : t(m);
3133
3133
  }
3134
- function P(m) {
3134
+ function A(m) {
3135
3135
  if (m === null || m === 47 || m === 62 || ee(m)) {
3136
3136
  const se = m === 47, Ce = o.toLowerCase();
3137
3137
  return !se && !l && xt.includes(Ce) ? (i = 1, r.interrupt ? n(m) : T(m)) : Bl.includes(o.toLowerCase()) ? (i = 6, se ? (e.consume(m), y) : r.interrupt ? n(m) : T(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(m) : l ? E(m) : k(m));
3138
3138
  }
3139
- return m === 45 || ie(m) ? (e.consume(m), o += String.fromCharCode(m), P) : t(m);
3139
+ return m === 45 || ie(m) ? (e.consume(m), o += String.fromCharCode(m), A) : t(m);
3140
3140
  }
3141
3141
  function y(m) {
3142
3142
  return m === 62 ? (e.consume(m), r.interrupt ? n : T) : t(m);
@@ -3172,12 +3172,12 @@ function ql(e, n, t) {
3172
3172
  return m === null || _(m) ? T(m) : U(m) ? (e.consume(m), N) : t(m);
3173
3173
  }
3174
3174
  function T(m) {
3175
- return m === 45 && i === 2 ? (e.consume(m), K) : m === 60 && i === 1 ? (e.consume(m), X) : m === 62 && i === 4 ? (e.consume(m), ae) : m === 63 && i === 3 ? (e.consume(m), d) : m === 93 && i === 5 ? (e.consume(m), de) : _(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(jl, me, v)(m)) : m === null || _(m) ? (e.exit("htmlFlowData"), v(m)) : (e.consume(m), T);
3175
+ return m === 45 && i === 2 ? (e.consume(m), K) : m === 60 && i === 1 ? (e.consume(m), Y) : m === 62 && i === 4 ? (e.consume(m), ae) : m === 63 && i === 3 ? (e.consume(m), d) : m === 93 && i === 5 ? (e.consume(m), de) : _(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(jl, me, v)(m)) : m === null || _(m) ? (e.exit("htmlFlowData"), v(m)) : (e.consume(m), T);
3176
3176
  }
3177
3177
  function v(m) {
3178
- return e.check(Vl, A, me)(m);
3178
+ return e.check(Vl, P, me)(m);
3179
3179
  }
3180
- function A(m) {
3180
+ function P(m) {
3181
3181
  return e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), L;
3182
3182
  }
3183
3183
  function L(m) {
@@ -3186,7 +3186,7 @@ function ql(e, n, t) {
3186
3186
  function K(m) {
3187
3187
  return m === 45 ? (e.consume(m), d) : T(m);
3188
3188
  }
3189
- function X(m) {
3189
+ function Y(m) {
3190
3190
  return m === 47 ? (e.consume(m), o = "", oe) : T(m);
3191
3191
  }
3192
3192
  function oe(m) {
@@ -3246,7 +3246,7 @@ function Kl(e, n, t) {
3246
3246
  return d === 45 ? (e.consume(d), p) : t(d);
3247
3247
  }
3248
3248
  function h(d) {
3249
- return d === null ? t(d) : d === 45 ? (e.consume(d), f) : _(d) ? (o = h, X(d)) : (e.consume(d), h);
3249
+ return d === null ? t(d) : d === 45 ? (e.consume(d), f) : _(d) ? (o = h, Y(d)) : (e.consume(d), h);
3250
3250
  }
3251
3251
  function f(d) {
3252
3252
  return d === 45 ? (e.consume(d), p) : h(d);
@@ -3259,19 +3259,19 @@ function Kl(e, n, t) {
3259
3259
  return d === ae.charCodeAt(l++) ? (e.consume(d), l === ae.length ? b : w) : t(d);
3260
3260
  }
3261
3261
  function b(d) {
3262
- return d === null ? t(d) : d === 93 ? (e.consume(d), P) : _(d) ? (o = b, X(d)) : (e.consume(d), b);
3262
+ return d === null ? t(d) : d === 93 ? (e.consume(d), A) : _(d) ? (o = b, Y(d)) : (e.consume(d), b);
3263
3263
  }
3264
- function P(d) {
3264
+ function A(d) {
3265
3265
  return d === 93 ? (e.consume(d), y) : b(d);
3266
3266
  }
3267
3267
  function y(d) {
3268
3268
  return d === 62 ? K(d) : d === 93 ? (e.consume(d), y) : b(d);
3269
3269
  }
3270
3270
  function E(d) {
3271
- return d === null || d === 62 ? K(d) : _(d) ? (o = E, X(d)) : (e.consume(d), E);
3271
+ return d === null || d === 62 ? K(d) : _(d) ? (o = E, Y(d)) : (e.consume(d), E);
3272
3272
  }
3273
3273
  function k(d) {
3274
- return d === null ? t(d) : d === 63 ? (e.consume(d), D) : _(d) ? (o = k, X(d)) : (e.consume(d), k);
3274
+ return d === null ? t(d) : d === 63 ? (e.consume(d), D) : _(d) ? (o = k, Y(d)) : (e.consume(d), k);
3275
3275
  }
3276
3276
  function D(d) {
3277
3277
  return d === 62 ? K(d) : k(d);
@@ -3283,28 +3283,28 @@ function Kl(e, n, t) {
3283
3283
  return d === 45 || ie(d) ? (e.consume(d), x) : O(d);
3284
3284
  }
3285
3285
  function O(d) {
3286
- return _(d) ? (o = O, X(d)) : U(d) ? (e.consume(d), O) : K(d);
3286
+ return _(d) ? (o = O, Y(d)) : U(d) ? (e.consume(d), O) : K(d);
3287
3287
  }
3288
3288
  function H(d) {
3289
3289
  return d === 45 || ie(d) ? (e.consume(d), H) : d === 47 || d === 62 || ee(d) ? B(d) : t(d);
3290
3290
  }
3291
3291
  function B(d) {
3292
- return d === 47 ? (e.consume(d), K) : d === 58 || d === 95 || pe(d) ? (e.consume(d), j) : _(d) ? (o = B, X(d)) : U(d) ? (e.consume(d), B) : K(d);
3292
+ return d === 47 ? (e.consume(d), K) : d === 58 || d === 95 || pe(d) ? (e.consume(d), j) : _(d) ? (o = B, Y(d)) : U(d) ? (e.consume(d), B) : K(d);
3293
3293
  }
3294
3294
  function j(d) {
3295
3295
  return d === 45 || d === 46 || d === 58 || d === 95 || ie(d) ? (e.consume(d), j) : N(d);
3296
3296
  }
3297
3297
  function N(d) {
3298
- return d === 61 ? (e.consume(d), T) : _(d) ? (o = N, X(d)) : U(d) ? (e.consume(d), N) : B(d);
3298
+ return d === 61 ? (e.consume(d), T) : _(d) ? (o = N, Y(d)) : U(d) ? (e.consume(d), N) : B(d);
3299
3299
  }
3300
3300
  function T(d) {
3301
- return d === null || d === 60 || d === 61 || d === 62 || d === 96 ? t(d) : d === 34 || d === 39 ? (e.consume(d), i = d, v) : _(d) ? (o = T, X(d)) : U(d) ? (e.consume(d), T) : (e.consume(d), A);
3301
+ return d === null || d === 60 || d === 61 || d === 62 || d === 96 ? t(d) : d === 34 || d === 39 ? (e.consume(d), i = d, v) : _(d) ? (o = T, Y(d)) : U(d) ? (e.consume(d), T) : (e.consume(d), P);
3302
3302
  }
3303
3303
  function v(d) {
3304
- return d === i ? (e.consume(d), i = void 0, L) : d === null ? t(d) : _(d) ? (o = v, X(d)) : (e.consume(d), v);
3304
+ return d === i ? (e.consume(d), i = void 0, L) : d === null ? t(d) : _(d) ? (o = v, Y(d)) : (e.consume(d), v);
3305
3305
  }
3306
- function A(d) {
3307
- return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? t(d) : d === 47 || d === 62 || ee(d) ? B(d) : (e.consume(d), A);
3306
+ function P(d) {
3307
+ return d === null || d === 34 || d === 39 || d === 60 || d === 61 || d === 96 ? t(d) : d === 47 || d === 62 || ee(d) ? B(d) : (e.consume(d), P);
3308
3308
  }
3309
3309
  function L(d) {
3310
3310
  return d === 47 || d === 62 || ee(d) ? B(d) : t(d);
@@ -3312,7 +3312,7 @@ function Kl(e, n, t) {
3312
3312
  function K(d) {
3313
3313
  return d === 62 ? (e.consume(d), e.exit("htmlTextData"), e.exit("htmlText"), n) : t(d);
3314
3314
  }
3315
- function X(d) {
3315
+ function Y(d) {
3316
3316
  return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), oe;
3317
3317
  }
3318
3318
  function oe(d) {
@@ -3327,9 +3327,9 @@ const Vn = {
3327
3327
  resolveAll: Ql,
3328
3328
  resolveTo: Zl,
3329
3329
  tokenize: eo
3330
- }, Xl = {
3331
- tokenize: no
3332
3330
  }, Yl = {
3331
+ tokenize: no
3332
+ }, Xl = {
3333
3333
  tokenize: to
3334
3334
  }, Jl = {
3335
3335
  tokenize: ro
@@ -3402,7 +3402,7 @@ function eo(e, n, t) {
3402
3402
  }))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(f), e.exit("labelMarker"), e.exit("labelEnd"), c) : t(f);
3403
3403
  }
3404
3404
  function c(f) {
3405
- return f === 40 ? e.attempt(Xl, u, o ? u : h)(f) : f === 91 ? e.attempt(Yl, u, o ? s : h)(f) : o ? u(f) : h(f);
3405
+ return f === 40 ? e.attempt(Yl, u, o ? u : h)(f) : f === 91 ? e.attempt(Xl, u, o ? s : h)(f) : o ? u(f) : h(f);
3406
3406
  }
3407
3407
  function s(f) {
3408
3408
  return e.attempt(Jl, u, h)(f);
@@ -3546,7 +3546,7 @@ function ho(e, n, t) {
3546
3546
  return a;
3547
3547
  function a(p) {
3548
3548
  const w = r.containerState.type || (p === 42 || p === 43 || p === 45 ? "listUnordered" : "listOrdered");
3549
- if (w === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : An(p)) {
3549
+ if (w === "listUnordered" ? !r.containerState.marker || p === r.containerState.marker : Pn(p)) {
3550
3550
  if (r.containerState.type || (r.containerState.type = w, e.enter(w, {
3551
3551
  _container: !0
3552
3552
  })), w === "listUnordered")
@@ -3557,7 +3557,7 @@ function ho(e, n, t) {
3557
3557
  return t(p);
3558
3558
  }
3559
3559
  function c(p) {
3560
- return An(p) && ++o < 10 ? (e.consume(p), c) : (!r.interrupt || o < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (e.exit("listItemValue"), s(p)) : t(p);
3560
+ return Pn(p) && ++o < 10 ? (e.consume(p), c) : (!r.interrupt || o < 2) && (r.containerState.marker ? p === r.containerState.marker : p === 41 || p === 46) ? (e.exit("listItemValue"), s(p)) : t(p);
3561
3561
  }
3562
3562
  function s(p) {
3563
3563
  return e.enter("listItemMarker"), e.consume(p), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || p, e.check(
@@ -3795,11 +3795,11 @@ const Io = {
3795
3795
  62: tr
3796
3796
  }, vo = {
3797
3797
  91: Nl
3798
- }, Po = {
3798
+ }, Ao = {
3799
3799
  [-2]: fn,
3800
3800
  [-1]: fn,
3801
3801
  32: fn
3802
- }, Ao = {
3802
+ }, Po = {
3803
3803
  35: Dl,
3804
3804
  42: tn,
3805
3805
  45: [kt, tn],
@@ -3836,8 +3836,8 @@ const Io = {
3836
3836
  contentInitial: vo,
3837
3837
  disable: Oo,
3838
3838
  document: Io,
3839
- flow: Ao,
3840
- flowInitial: Po,
3839
+ flow: Po,
3840
+ flowInitial: Ao,
3841
3841
  insideSpan: Lo,
3842
3842
  string: No,
3843
3843
  text: _o
@@ -3876,7 +3876,7 @@ function Do(e, n, t) {
3876
3876
  let u = n.tokenize.call(s, c);
3877
3877
  return n.resolveAll && l.push(n), s;
3878
3878
  function h(N) {
3879
- return o = le(o, N), P(), o[o.length - 1] !== null ? [] : (H(n, 0), s.events = jn(l, s.events, s), s.events);
3879
+ return o = le(o, N), A(), o[o.length - 1] !== null ? [] : (H(n, 0), s.events = jn(l, s.events, s), s.events);
3880
3880
  }
3881
3881
  function f(N, T) {
3882
3882
  return Fo(p(N), T);
@@ -3889,21 +3889,21 @@ function Do(e, n, t) {
3889
3889
  _bufferIndex: N,
3890
3890
  _index: T,
3891
3891
  line: v,
3892
- column: A,
3892
+ column: P,
3893
3893
  offset: L
3894
3894
  } = r;
3895
3895
  return {
3896
3896
  _bufferIndex: N,
3897
3897
  _index: T,
3898
3898
  line: v,
3899
- column: A,
3899
+ column: P,
3900
3900
  offset: L
3901
3901
  };
3902
3902
  }
3903
3903
  function b(N) {
3904
3904
  i[N.line] = N.column, j();
3905
3905
  }
3906
- function P() {
3906
+ function A() {
3907
3907
  let N;
3908
3908
  for (; r._index < o.length; ) {
3909
3909
  const T = o[r._index];
@@ -3939,37 +3939,37 @@ function Do(e, n, t) {
3939
3939
  }
3940
3940
  function O(N, T) {
3941
3941
  return v;
3942
- function v(A, L, K) {
3943
- let X, oe, de, d;
3944
- return Array.isArray(A) ? (
3942
+ function v(P, L, K) {
3943
+ let Y, oe, de, d;
3944
+ return Array.isArray(P) ? (
3945
3945
  /* c8 ignore next 1 */
3946
- me(A)
3947
- ) : "tokenize" in A ? (
3946
+ me(P)
3947
+ ) : "tokenize" in P ? (
3948
3948
  // Looks like a construct.
3949
3949
  me([
3950
3950
  /** @type {Construct} */
3951
- A
3951
+ P
3952
3952
  ])
3953
- ) : ae(A);
3954
- function ae(Y) {
3953
+ ) : ae(P);
3954
+ function ae(X) {
3955
3955
  return Re;
3956
3956
  function Re(ke) {
3957
- const Ie = ke !== null && Y[ke], ve = ke !== null && Y.null, Xe = [
3957
+ const Ie = ke !== null && X[ke], ve = ke !== null && X.null, Ye = [
3958
3958
  // To do: add more extension tests.
3959
3959
  /* c8 ignore next 2 */
3960
3960
  ...Array.isArray(Ie) ? Ie : Ie ? [Ie] : [],
3961
3961
  ...Array.isArray(ve) ? ve : ve ? [ve] : []
3962
3962
  ];
3963
- return me(Xe)(ke);
3963
+ return me(Ye)(ke);
3964
3964
  }
3965
3965
  }
3966
- function me(Y) {
3967
- return X = Y, oe = 0, Y.length === 0 ? K : m(Y[oe]);
3966
+ function me(X) {
3967
+ return Y = X, oe = 0, X.length === 0 ? K : m(X[oe]);
3968
3968
  }
3969
- function m(Y) {
3969
+ function m(X) {
3970
3970
  return Re;
3971
3971
  function Re(ke) {
3972
- return d = B(), de = Y, Y.partial || (s.currentConstruct = Y), Y.name && s.parser.constructs.disable.null.includes(Y.name) ? Ce() : Y.tokenize.call(
3972
+ return d = B(), de = X, X.partial || (s.currentConstruct = X), X.name && s.parser.constructs.disable.null.includes(X.name) ? Ce() : X.tokenize.call(
3973
3973
  // If we do have fields, create an object w/ `context` as its
3974
3974
  // prototype.
3975
3975
  // This allows a “live binding”, which is needed for `interrupt`.
@@ -3980,11 +3980,11 @@ function Do(e, n, t) {
3980
3980
  )(ke);
3981
3981
  }
3982
3982
  }
3983
- function se(Y) {
3983
+ function se(X) {
3984
3984
  return N(de, d), L;
3985
3985
  }
3986
- function Ce(Y) {
3987
- return d.restore(), ++oe < X.length ? m(X[oe]) : K;
3986
+ function Ce(X) {
3987
+ return d.restore(), ++oe < Y.length ? m(Y[oe]) : K;
3988
3988
  }
3989
3989
  }
3990
3990
  }
@@ -3992,13 +3992,13 @@ function Do(e, n, t) {
3992
3992
  N.resolveAll && !l.includes(N) && l.push(N), N.resolve && he(s.events, T, s.events.length - T, N.resolve(s.events.slice(T), s)), N.resolveTo && (s.events = N.resolveTo(s.events, s));
3993
3993
  }
3994
3994
  function B() {
3995
- const N = w(), T = s.previous, v = s.currentConstruct, A = s.events.length, L = Array.from(a);
3995
+ const N = w(), T = s.previous, v = s.currentConstruct, P = s.events.length, L = Array.from(a);
3996
3996
  return {
3997
- from: A,
3997
+ from: P,
3998
3998
  restore: K
3999
3999
  };
4000
4000
  function K() {
4001
- r = N, s.previous = T, s.currentConstruct = v, s.events.length = A, a = L, j();
4001
+ r = N, s.previous = T, s.currentConstruct = v, s.events.length = P, a = L, j();
4002
4002
  }
4003
4003
  }
4004
4004
  function j() {
@@ -4151,10 +4151,10 @@ function Go(e) {
4151
4151
  blockQuote: l(ve),
4152
4152
  characterEscape: B,
4153
4153
  characterReference: B,
4154
- codeFenced: l(Xe),
4154
+ codeFenced: l(Ye),
4155
4155
  codeFencedFenceInfo: o,
4156
4156
  codeFencedFenceMeta: o,
4157
- codeIndented: l(Xe, o),
4157
+ codeIndented: l(Ye, o),
4158
4158
  codeText: l(Er, o),
4159
4159
  codeTextData: B,
4160
4160
  data: B,
@@ -4164,20 +4164,20 @@ function Go(e) {
4164
4164
  definitionLabelString: o,
4165
4165
  definitionTitleString: o,
4166
4166
  emphasis: l(Ir),
4167
- hardBreakEscape: l(Xn),
4168
- hardBreakTrailing: l(Xn),
4169
- htmlFlow: l(Yn, o),
4167
+ hardBreakEscape: l(Yn),
4168
+ hardBreakTrailing: l(Yn),
4169
+ htmlFlow: l(Xn, o),
4170
4170
  htmlFlowData: B,
4171
- htmlText: l(Yn, o),
4171
+ htmlText: l(Xn, o),
4172
4172
  htmlTextData: B,
4173
4173
  image: l(vr),
4174
4174
  label: o,
4175
4175
  link: l(Jn),
4176
- listItem: l(Pr),
4176
+ listItem: l(Ar),
4177
4177
  listItemValue: f,
4178
4178
  listOrdered: l(Qn, h),
4179
4179
  listUnordered: l(Qn),
4180
- paragraph: l(Ar),
4180
+ paragraph: l(Pr),
4181
4181
  reference: m,
4182
4182
  referenceString: o,
4183
4183
  resourceDestinationString: o,
@@ -4196,9 +4196,9 @@ function Go(e) {
4196
4196
  characterEscapeValue: j,
4197
4197
  characterReferenceMarkerHexadecimal: Ce,
4198
4198
  characterReferenceMarkerNumeric: Ce,
4199
- characterReferenceValue: Y,
4199
+ characterReferenceValue: X,
4200
4200
  characterReference: Re,
4201
- codeFenced: c(P),
4201
+ codeFenced: c(A),
4202
4202
  codeFencedFence: b,
4203
4203
  codeFencedFenceInfo: p,
4204
4204
  codeFencedFenceMeta: w,
@@ -4216,9 +4216,9 @@ function Go(e) {
4216
4216
  hardBreakTrailing: c(T),
4217
4217
  htmlFlow: c(v),
4218
4218
  htmlFlowData: j,
4219
- htmlText: c(A),
4219
+ htmlText: c(P),
4220
4220
  htmlTextData: j,
4221
- image: c(X),
4221
+ image: c(Y),
4222
4222
  label: de,
4223
4223
  labelText: oe,
4224
4224
  lineEnding: N,
@@ -4316,25 +4316,25 @@ function Go(e) {
4316
4316
  }
4317
4317
  if (!q && te[0] === "enter" && te[1].type === "listItemPrefix" || q === -1 && te[0] === "exit" && (te[1].type === "listUnordered" || te[1].type === "listOrdered")) {
4318
4318
  if (Ee) {
4319
- let Pe = F;
4320
- for (ge = void 0; Pe--; ) {
4321
- const ye = g[Pe];
4319
+ let Ae = F;
4320
+ for (ge = void 0; Ae--; ) {
4321
+ const ye = g[Ae];
4322
4322
  if (ye[1].type === "lineEnding" || ye[1].type === "lineEndingBlank") {
4323
4323
  if (ye[0] === "exit") continue;
4324
- ge && (g[ge][1].type = "lineEndingBlank", ue = !0), ye[1].type = "lineEnding", ge = Pe;
4324
+ ge && (g[ge][1].type = "lineEndingBlank", ue = !0), ye[1].type = "lineEnding", ge = Ae;
4325
4325
  } else if (!(ye[1].type === "linePrefix" || ye[1].type === "blockQuotePrefix" || ye[1].type === "blockQuotePrefixWhitespace" || ye[1].type === "blockQuoteMarker" || ye[1].type === "listItemIndent")) break;
4326
4326
  }
4327
4327
  De && (!ge || De < ge) && (Ee._spread = !0), Ee.end = Object.assign({}, ge ? g[ge][1].start : te[1].end), g.splice(ge || F, 0, ["exit", Ee, te[2]]), F++, z++;
4328
4328
  }
4329
4329
  if (te[1].type === "listItemPrefix") {
4330
- const Pe = {
4330
+ const Ae = {
4331
4331
  type: "listItem",
4332
4332
  _spread: !1,
4333
4333
  start: Object.assign({}, te[1].start),
4334
4334
  // @ts-expect-error: we’ll add `end` in a second.
4335
4335
  end: void 0
4336
4336
  };
4337
- Ee = Pe, g.splice(F, 0, ["enter", Pe, te[2]]), F++, z++, De = void 0, Me = !0;
4337
+ Ee = Ae, g.splice(F, 0, ["enter", Ae, te[2]]), F++, z++, De = void 0, Me = !0;
4338
4338
  }
4339
4339
  }
4340
4340
  }
@@ -4398,7 +4398,7 @@ function Go(e) {
4398
4398
  function b() {
4399
4399
  this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
4400
4400
  }
4401
- function P() {
4401
+ function A() {
4402
4402
  const g = this.resume(), C = this.stack[this.stack.length - 1];
4403
4403
  C.value = g.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
4404
4404
  }
@@ -4464,7 +4464,7 @@ function Go(e) {
4464
4464
  const g = this.resume(), C = this.stack[this.stack.length - 1];
4465
4465
  C.value = g;
4466
4466
  }
4467
- function A() {
4467
+ function P() {
4468
4468
  const g = this.resume(), C = this.stack[this.stack.length - 1];
4469
4469
  C.value = g;
4470
4470
  }
@@ -4481,7 +4481,7 @@ function Go(e) {
4481
4481
  delete g.identifier, delete g.label;
4482
4482
  this.data.referenceType = void 0;
4483
4483
  }
4484
- function X() {
4484
+ function Y() {
4485
4485
  const g = this.stack[this.stack.length - 1];
4486
4486
  if (this.data.inReference) {
4487
4487
  const C = this.data.referenceType || "shortcut";
@@ -4523,7 +4523,7 @@ function Go(e) {
4523
4523
  function Ce(g) {
4524
4524
  this.data.characterReferenceType = g.type;
4525
4525
  }
4526
- function Y(g) {
4526
+ function X(g) {
4527
4527
  const C = this.sliceSerialize(g), z = this.data.characterReferenceType;
4528
4528
  let F;
4529
4529
  z ? (F = nr(C, z === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : F = Un(C);
@@ -4550,7 +4550,7 @@ function Go(e) {
4550
4550
  children: []
4551
4551
  };
4552
4552
  }
4553
- function Xe() {
4553
+ function Ye() {
4554
4554
  return {
4555
4555
  type: "code",
4556
4556
  lang: null,
@@ -4587,12 +4587,12 @@ function Go(e) {
4587
4587
  children: []
4588
4588
  };
4589
4589
  }
4590
- function Xn() {
4590
+ function Yn() {
4591
4591
  return {
4592
4592
  type: "break"
4593
4593
  };
4594
4594
  }
4595
- function Yn() {
4595
+ function Xn() {
4596
4596
  return {
4597
4597
  type: "html",
4598
4598
  value: ""
@@ -4623,7 +4623,7 @@ function Go(e) {
4623
4623
  children: []
4624
4624
  };
4625
4625
  }
4626
- function Pr(g) {
4626
+ function Ar(g) {
4627
4627
  return {
4628
4628
  type: "listItem",
4629
4629
  spread: g._spread,
@@ -4631,7 +4631,7 @@ function Go(e) {
4631
4631
  children: []
4632
4632
  };
4633
4633
  }
4634
- function Ar() {
4634
+ function Pr() {
4635
4635
  return {
4636
4636
  type: "paragraph",
4637
4637
  children: []
@@ -4719,7 +4719,7 @@ function Ko(e) {
4719
4719
  });
4720
4720
  }
4721
4721
  }
4722
- function Xo(e, n) {
4722
+ function Yo(e, n) {
4723
4723
  const t = {
4724
4724
  type: "element",
4725
4725
  tagName: "blockquote",
@@ -4728,7 +4728,7 @@ function Xo(e, n) {
4728
4728
  };
4729
4729
  return e.patch(n, t), e.applyData(n, t);
4730
4730
  }
4731
- function Yo(e, n) {
4731
+ function Xo(e, n) {
4732
4732
  const t = { type: "element", tagName: "br", properties: {}, children: [] };
4733
4733
  return e.patch(n, t), [e.applyData(n, t), { type: "text", value: `
4734
4734
  ` }];
@@ -5038,8 +5038,8 @@ function ka(e, n) {
5038
5038
  return e.patch(n, t), e.applyData(n, t);
5039
5039
  }
5040
5040
  const ba = {
5041
- blockquote: Xo,
5042
- break: Yo,
5041
+ blockquote: Yo,
5042
+ break: Xo,
5043
5043
  code: Jo,
5044
5044
  delete: Qo,
5045
5045
  emphasis: Zo,
@@ -5062,12 +5062,12 @@ const ba = {
5062
5062
  tableRow: ma,
5063
5063
  text: xa,
5064
5064
  thematicBreak: ka,
5065
- toml: Ye,
5066
- yaml: Ye,
5067
- definition: Ye,
5068
- footnoteDefinition: Ye
5065
+ toml: Xe,
5066
+ yaml: Xe,
5067
+ definition: Xe,
5068
+ footnoteDefinition: Xe
5069
5069
  };
5070
- function Ye() {
5070
+ function Xe() {
5071
5071
  }
5072
5072
  const mr = -1, an = 0, $e = 1, rn = 2, Hn = 3, qn = 4, $n = 5, Gn = 6, gr = 7, yr = 8, Tt = typeof self == "object" ? self : globalThis, wa = (e, n) => {
5073
5073
  const t = (i, l) => (e.set(l, i), i), r = (i) => {
@@ -5272,10 +5272,10 @@ function va(e) {
5272
5272
  children: Array.isArray(E) ? E : [E]
5273
5273
  });
5274
5274
  }
5275
- const P = u[u.length - 1];
5276
- if (P && P.type === "element" && P.tagName === "p") {
5277
- const E = P.children[P.children.length - 1];
5278
- E && E.type === "text" ? E.value += " " : P.children.push({ type: "text", value: " " }), P.children.push(...w);
5275
+ const A = u[u.length - 1];
5276
+ if (A && A.type === "element" && A.tagName === "p") {
5277
+ const E = A.children[A.children.length - 1];
5278
+ E && E.type === "text" ? E.value += " " : A.children.push({ type: "text", value: " " }), A.children.push(...w);
5279
5279
  } else
5280
5280
  u.push(...w);
5281
5281
  const y = {
@@ -5335,10 +5335,10 @@ const xr = (
5335
5335
  if (typeof e == "function")
5336
5336
  return sn(e);
5337
5337
  if (typeof e == "object")
5338
- return Array.isArray(e) ? Pa(e) : (
5338
+ return Array.isArray(e) ? Aa(e) : (
5339
5339
  // Cast because `ReadonlyArray` goes into the above but `isArray`
5340
5340
  // narrows to `Array`.
5341
- Aa(
5341
+ Pa(
5342
5342
  /** @type {Props} */
5343
5343
  e
5344
5344
  )
@@ -5348,7 +5348,7 @@ const xr = (
5348
5348
  throw new Error("Expected function, string, or object as test");
5349
5349
  })
5350
5350
  );
5351
- function Pa(e) {
5351
+ function Aa(e) {
5352
5352
  const n = [];
5353
5353
  let t = -1;
5354
5354
  for (; ++t < e.length; )
@@ -5361,7 +5361,7 @@ function Pa(e) {
5361
5361
  return !1;
5362
5362
  }
5363
5363
  }
5364
- function Aa(e) {
5364
+ function Pa(e) {
5365
5365
  const n = (
5366
5366
  /** @type {Record<string, unknown>} */
5367
5367
  e
@@ -5402,7 +5402,7 @@ function _a() {
5402
5402
  function La(e) {
5403
5403
  return e !== null && typeof e == "object" && "type" in e;
5404
5404
  }
5405
- const kr = [], za = !0, Pt = !1, Oa = "skip";
5405
+ const kr = [], za = !0, At = !1, Oa = "skip";
5406
5406
  function Ra(e, n, t, r) {
5407
5407
  let i;
5408
5408
  typeof n == "function" && typeof t != "function" ? (r = t, t = n) : i = n;
@@ -5427,8 +5427,8 @@ function Ra(e, n, t, r) {
5427
5427
  }
5428
5428
  return f;
5429
5429
  function f() {
5430
- let p = kr, w, b, P;
5431
- if ((!n || l(c, s, u[u.length - 1] || void 0)) && (p = Da(t(c, u)), p[0] === Pt))
5430
+ let p = kr, w, b, A;
5431
+ if ((!n || l(c, s, u[u.length - 1] || void 0)) && (p = Da(t(c, u)), p[0] === At))
5432
5432
  return p;
5433
5433
  if ("children" in c && c.children) {
5434
5434
  const y = (
@@ -5436,9 +5436,9 @@ function Ra(e, n, t, r) {
5436
5436
  c
5437
5437
  );
5438
5438
  if (y.children && p[0] !== Oa)
5439
- for (b = (r ? y.children.length : -1) + o, P = u.concat(y); b > -1 && b < y.children.length; ) {
5439
+ for (b = (r ? y.children.length : -1) + o, A = u.concat(y); b > -1 && b < y.children.length; ) {
5440
5440
  const E = y.children[b];
5441
- if (w = a(E, b, P)(), w[0] === Pt)
5441
+ if (w = a(E, b, A)(), w[0] === At)
5442
5442
  return w;
5443
5443
  b = typeof w[1] == "number" ? w[1] : b + o;
5444
5444
  }
@@ -5485,7 +5485,7 @@ function Fa(e, n) {
5485
5485
  return p(a, u, h);
5486
5486
  if (a.options.passThrough && a.options.passThrough.includes(f)) {
5487
5487
  if ("children" in u) {
5488
- const { children: b, ...P } = u, y = ln(P);
5488
+ const { children: b, ...A } = u, y = ln(A);
5489
5489
  return y.children = a.all(u), y;
5490
5490
  }
5491
5491
  return ln(u);
@@ -5500,9 +5500,9 @@ function Fa(e, n) {
5500
5500
  for (; ++p < f.length; ) {
5501
5501
  const w = a.one(f[p], u);
5502
5502
  if (w) {
5503
- if (p && f[p - 1].type === "break" && (!Array.isArray(w) && w.type === "text" && (w.value = At(w.value)), !Array.isArray(w) && w.type === "element")) {
5503
+ if (p && f[p - 1].type === "break" && (!Array.isArray(w) && w.type === "text" && (w.value = Pt(w.value)), !Array.isArray(w) && w.type === "element")) {
5504
5504
  const b = w.children[0];
5505
- b && b.type === "text" && (b.value = At(b.value));
5505
+ b && b.type === "text" && (b.value = Pt(b.value));
5506
5506
  }
5507
5507
  Array.isArray(w) ? h.push(...w) : h.push(w);
5508
5508
  }
@@ -5548,7 +5548,7 @@ function Va(e, n) {
5548
5548
  return n && e.length > 0 && t.push({ type: "text", value: `
5549
5549
  ` }), t;
5550
5550
  }
5551
- function At(e) {
5551
+ function Pt(e) {
5552
5552
  let n = 0, t = e.charCodeAt(n);
5553
5553
  for (; t === 9 || t === 32; )
5554
5554
  n++, t = e.charCodeAt(n);
@@ -5609,9 +5609,9 @@ function qa() {
5609
5609
  return s[u];
5610
5610
  };
5611
5611
  return mn = function c() {
5612
- var s, u, h, f, p, w, b = arguments[0], P = 1, y = arguments.length, E = !1;
5613
- for (typeof b == "boolean" && (E = b, b = arguments[1] || {}, P = 2), (b == null || typeof b != "object" && typeof b != "function") && (b = {}); P < y; ++P)
5614
- if (s = arguments[P], s != null)
5612
+ var s, u, h, f, p, w, b = arguments[0], A = 1, y = arguments.length, E = !1;
5613
+ for (typeof b == "boolean" && (E = b, b = arguments[1] || {}, A = 2), (b == null || typeof b != "object" && typeof b != "function") && (b = {}); A < y; ++A)
5614
+ if (s = arguments[A], s != null)
5615
5615
  for (u in s)
5616
5616
  h = a(b, u), f = a(s, u), b !== f && (E && f && (l(f) || (p = i(f))) ? (p ? (p = !1, w = h && i(h) ? h : []) : w = h && l(h) ? h : {}, o(b, { name: u, newValue: c(E, w, f) })) : typeof f < "u" && o(b, { name: u, newValue: f }));
5617
5617
  return b;
@@ -5681,7 +5681,7 @@ function Wa(e, n) {
5681
5681
  i(null, o);
5682
5682
  }
5683
5683
  }
5684
- const ce = { basename: Ka, dirname: Xa, extname: Ya, join: Ja, sep: "/" };
5684
+ const ce = { basename: Ka, dirname: Ya, extname: Xa, join: Ja, sep: "/" };
5685
5685
  function Ka(e, n) {
5686
5686
  if (n !== void 0 && typeof n != "string")
5687
5687
  throw new TypeError('"ext" argument must be a string');
@@ -5710,7 +5710,7 @@ function Ka(e, n) {
5710
5710
  o < 0 && (l = !0, o = i + 1), a > -1 && (e.codePointAt(i) === n.codePointAt(a--) ? a < 0 && (r = i) : (a = -1, r = o));
5711
5711
  return t === r ? r = o : r < 0 && (r = e.length), e.slice(t, r);
5712
5712
  }
5713
- function Xa(e) {
5713
+ function Ya(e) {
5714
5714
  if (Ke(e), e.length === 0)
5715
5715
  return ".";
5716
5716
  let n = -1, t = e.length, r;
@@ -5723,7 +5723,7 @@ function Xa(e) {
5723
5723
  } else r || (r = !0);
5724
5724
  return n < 0 ? e.codePointAt(0) === 47 ? "/" : "." : n === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, n);
5725
5725
  }
5726
- function Ya(e) {
5726
+ function Xa(e) {
5727
5727
  Ke(e);
5728
5728
  let n = e.length, t = -1, r = 0, i = -1, l = 0, o;
5729
5729
  for (; n--; ) {
@@ -6858,7 +6858,7 @@ function xs(e) {
6858
6858
  hs.test(e.slice(0, n)) ? e : ""
6859
6859
  );
6860
6860
  }
6861
- const Sr = "http://localhost:8002", ks = "0x4AAAAAAB9XB2TsB-P7vbJM", bs = {
6861
+ const Sr = "https://www.tiagpctest.softiabot.com", ks = "0x4AAAAAAB-BKyDZcYYqCbid", bs = {
6862
6862
  BOTTOM_RIGHT: "bottom-right",
6863
6863
  BOTTOM_LEFT: "bottom-left",
6864
6864
  TOP_RIGHT: "top-right",
@@ -6896,7 +6896,7 @@ const Sr = "http://localhost:8002", ks = "0x4AAAAAAB9XB2TsB-P7vbJM", bs = {
6896
6896
  } catch {
6897
6897
  return "";
6898
6898
  }
6899
- }, vs = (e) => e >= 1e3 ? `${(e / 1e3).toFixed(1)}s` : `${Math.round(e)}ms`, Cn = () => crypto.randomUUID(), Ps = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", As = (e) => e.trim().slice(0, 2e3), Ns = ({ size: e = "md", className: n = "" }) => /* @__PURE__ */ I(
6899
+ }, vs = (e) => e >= 1e3 ? `${(e / 1e3).toFixed(1)}s` : `${Math.round(e)}ms`, Cn = () => crypto.randomUUID(), As = () => window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", Ps = (e) => e.trim().slice(0, 2e3), Ns = ({ size: e = "md", className: n = "" }) => /* @__PURE__ */ I(
6900
6900
  "div",
6901
6901
  {
6902
6902
  className: `gpc-spinner ${{
@@ -7010,7 +7010,7 @@ const Sr = "http://localhost:8002", ks = "0x4AAAAAAB9XB2TsB-P7vbJM", bs = {
7010
7010
  }, [t, n]);
7011
7011
  const a = async (u) => {
7012
7012
  u.preventDefault();
7013
- const h = As(i);
7013
+ const h = Ps(i);
7014
7014
  if (!(!h || n || t))
7015
7015
  try {
7016
7016
  await e(h), l("");
@@ -7121,14 +7121,14 @@ const Sr = "http://localhost:8002", ks = "0x4AAAAAAB9XB2TsB-P7vbJM", bs = {
7121
7121
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
7122
7122
  };
7123
7123
  l((y) => [...y, w]), a(!0), s(null);
7124
- const b = Cn(), P = {
7124
+ const b = Cn(), A = {
7125
7125
  id: b,
7126
7126
  role: "assistant",
7127
7127
  content: "",
7128
7128
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
7129
7129
  isStreaming: !0
7130
7130
  };
7131
- l((y) => [...y, P]);
7131
+ l((y) => [...y, A]);
7132
7132
  try {
7133
7133
  const y = await e.sendMessage(
7134
7134
  p,
@@ -7226,7 +7226,7 @@ const Sr = "http://localhost:8002", ks = "0x4AAAAAAB9XB2TsB-P7vbJM", bs = {
7226
7226
  }, Ms = (e = "auto") => {
7227
7227
  const [n, t] = Q(e), [r, i] = Q("light");
7228
7228
  return xe(() => {
7229
- if (i(n === "auto" ? Ps() : n), n === "auto") {
7229
+ if (i(n === "auto" ? As() : n), n === "auto") {
7230
7230
  const a = window.matchMedia("(prefers-color-scheme: dark)"), c = (s) => {
7231
7231
  i(s.matches ? "dark" : "light");
7232
7232
  };
@@ -7253,12 +7253,12 @@ const Sr = "http://localhost:8002", ks = "0x4AAAAAAB9XB2TsB-P7vbJM", bs = {
7253
7253
  showMetadata: a = !1,
7254
7254
  onError: c
7255
7255
  }) => {
7256
- const { t: s } = fe(), [u, h] = Q(null), [f, p] = Q(!1), { theme: w, toggleTheme: b } = Ms(l), P = en(() => {
7256
+ const { t: s } = fe(), [u, h] = Q(null), [f, p] = Q(!1), { theme: w, toggleTheme: b } = Ms(l), A = en(() => {
7257
7257
  p(!1), h(null), e && e.renewSessionToken();
7258
7258
  }, [e]), { messages: y, isLoading: E, sendMessage: k } = Ds(
7259
7259
  e,
7260
7260
  u,
7261
- P
7261
+ A
7262
7262
  );
7263
7263
  xe(() => {
7264
7264
  e && e.hasValidCachedSession() && (p(!0), h("CACHED_SESSION"));
@@ -7417,10 +7417,10 @@ class Cr {
7417
7417
  const { done: w, value: b } = await c.read();
7418
7418
  if (w) break;
7419
7419
  u += s.decode(b, { stream: !0 });
7420
- const P = u.split(`
7420
+ const A = u.split(`
7421
7421
  `);
7422
- u = P.pop();
7423
- for (const y of P) {
7422
+ u = A.pop();
7423
+ for (const y of A) {
7424
7424
  if (!y.trim() || !y.startsWith("data: ")) continue;
7425
7425
  const E = y.replace("data: ", "").trim();
7426
7426
  if (E !== "[DONE]")
@@ -7547,12 +7547,12 @@ const gu = (e, n) => ((!Ze || n && Ze.licenseToken !== n) && (Ze = new Cr(e, n))
7547
7547
  errors: Vs,
7548
7548
  turnstile: Hs,
7549
7549
  metadata: qs
7550
- }, Gs = { title: "TIA GPC", poweredBy: "Powered by TIA GPC", questionsTo: "Questions to" }, Ws = { title: "Assistant", placeholder: "Type your question...", send: "Send", close: "Close", welcome: "Hello! Welcome to {{companyName}}. How can I help you today?", emptyState: "Start a conversation by typing your question", validation: "Verifying security...", retry: "Retry" }, Ks = { light: "Light", dark: "Dark", toggle: "Toggle theme" }, Xs = { unauthorized: "Authentication failed. Please check your license token and try again.", validation: "Bot verification failed. Please reload the page and try again.", network: "Unable to connect to the server. Please check your internet connection.", rateLimit: "You've made too many requests or the concurrent user limit has been reached. Please wait a moment before continuing.", session: "Your session has expired due to inactivity. Please reload the page to continue.", insufficientCredits: "Insufficient credits. Please reload credits from your admin panel to continue using TIA GPC.", generic: "An unexpected error has occurred. Please try again.", aiServiceUnavailable: "The assistant is temporarily unavailable. Please try again in a few moments.", serverError: "The server encountered a problem. Please try again later.", domainUnauthorized: "This domain is not authorized to use this widget. Please contact your administrator." }, Ys = { verifying: "Verifying you're human...", error: "Security verification could not be completed. Please reload the page and try again." }, Js = { tokensUsed: "Tokens used", responseTime: "Response time", model: "Model" }, Qs = {
7550
+ }, Gs = { title: "TIA GPC", poweredBy: "Powered by TIA GPC", questionsTo: "Questions to" }, Ws = { title: "Assistant", placeholder: "Type your question...", send: "Send", close: "Close", welcome: "Hello! Welcome to {{companyName}}. How can I help you today?", emptyState: "Start a conversation by typing your question", validation: "Verifying security...", retry: "Retry" }, Ks = { light: "Light", dark: "Dark", toggle: "Toggle theme" }, Ys = { unauthorized: "Authentication failed. Please check your license token and try again.", validation: "Bot verification failed. Please reload the page and try again.", network: "Unable to connect to the server. Please check your internet connection.", rateLimit: "You've made too many requests or the concurrent user limit has been reached. Please wait a moment before continuing.", session: "Your session has expired due to inactivity. Please reload the page to continue.", insufficientCredits: "Insufficient credits. Please reload credits from your admin panel to continue using TIA GPC.", generic: "An unexpected error has occurred. Please try again.", aiServiceUnavailable: "The assistant is temporarily unavailable. Please try again in a few moments.", serverError: "The server encountered a problem. Please try again later.", domainUnauthorized: "This domain is not authorized to use this widget. Please contact your administrator." }, Xs = { verifying: "Verifying you're human...", error: "Security verification could not be completed. Please reload the page and try again." }, Js = { tokensUsed: "Tokens used", responseTime: "Response time", model: "Model" }, Qs = {
7551
7551
  widget: Gs,
7552
7552
  chat: Ws,
7553
7553
  theme: Ks,
7554
- errors: Xs,
7555
- turnstile: Ys,
7554
+ errors: Ys,
7555
+ turnstile: Xs,
7556
7556
  metadata: Js
7557
7557
  }, Zs = { title: "TIA GPC", poweredBy: "Propulsé par TIA GPC", questionsTo: "Questions à" }, eu = { title: "Assistant", placeholder: "Tapez votre question...", send: "Envoyer", close: "Fermer", welcome: "Bonjour ! Bienvenue à {{companyName}}. Comment puis-je vous aider aujourd'hui ?", emptyState: "Commencez une conversation en tapant votre question", validation: "Vérification de sécurité...", retry: "Réessayer" }, nu = { light: "Clair", dark: "Sombre", toggle: "Changer de thème" }, tu = { unauthorized: "Échec de l'authentification. Veuillez vérifier votre jeton de licence et réessayer.", validation: "La vérification anti-bot a échoué. Veuillez recharger la page et réessayer.", network: "Impossible de se connecter au serveur. Veuillez vérifier votre connexion internet.", rateLimit: "Vous avez fait trop de demandes ou la limite d'utilisateurs concurrents a été atteinte. Veuillez patienter un moment avant de continuer.", session: "Votre session a expiré en raison d'inactivité. Veuillez recharger la page pour continuer.", insufficientCredits: "Crédits insuffisants. Veuillez recharger des crédits depuis votre panneau d'administration pour continuer à utiliser TIA GPC.", generic: "Une erreur inattendue s'est produite. Veuillez réessayer.", aiServiceUnavailable: "L'assistant est temporairement indisponible. Veuillez réessayer dans quelques instants.", serverError: "Le serveur a rencontré un problème. Veuillez réessayer plus tard.", domainUnauthorized: "Ce domaine n'est pas autorisé à utiliser ce widget. Veuillez contacter votre administrateur." }, ru = { verifying: "Vérification que vous êtes humain...", error: "La vérification de sécurité n'a pas pu être complétée. Veuillez recharger la page et réessayer." }, iu = { tokensUsed: "Tokens utilisés", responseTime: "Temps de réponse", model: "Modèle" }, lu = {
7558
7558
  widget: Zs,
@@ -7596,7 +7596,7 @@ const ou = ({
7596
7596
  mobileFullscreen: w = we.mobileFullscreen,
7597
7597
  ...b
7598
7598
  }) => {
7599
- const [P, y] = Q(f), [E, k] = Q(!1), [D, M] = Q(null), [x, O] = Q(!0), H = zr(() => new Cr(c, e), [c, e]);
7599
+ const [A, y] = Q(f), [E, k] = Q(!1), [D, M] = Q(null), [x, O] = Q(!0), H = zr(() => new Cr(c, e), [c, e]);
7600
7600
  if (xe(() => {
7601
7601
  const T = () => {
7602
7602
  k(Ts());
@@ -7633,8 +7633,8 @@ const ou = ({
7633
7633
  className: `gpc-widget gpc-widget-container ${j()} ${t === "dark" ? "gpc-dark" : ""}`,
7634
7634
  style: N(),
7635
7635
  children: [
7636
- !P && /* @__PURE__ */ I(Kr, { onClick: () => y(!0), widgetConfig: D }),
7637
- P && !x && /* @__PURE__ */ I(
7636
+ !A && /* @__PURE__ */ I(Kr, { onClick: () => y(!0), widgetConfig: D }),
7637
+ A && !x && /* @__PURE__ */ I(
7638
7638
  Fs,
7639
7639
  {
7640
7640
  gpcService: H,