@startinblox/components-ds4go 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -259,11 +259,11 @@ const hNe = (B, I) => {
259
259
  const H = B.length - 1, X = [];
260
260
  let J, be = I === 2 ? "<svg>" : I === 3 ? "<math>" : "", Be = g8;
261
261
  for (let rt = 0; rt < H; rt++) {
262
- const Ot = B[rt];
262
+ const Tt = B[rt];
263
263
  let hn, gn, _n = -1, fr = 0;
264
- for (; fr < Ot.length && (Be.lastIndex = fr, gn = Be.exec(Ot), gn !== null); ) fr = Be.lastIndex, Be === g8 ? gn[1] === "!--" ? Be = dge : gn[1] !== void 0 ? Be = cge : gn[2] !== void 0 ? (Abe.test(gn[2]) && (J = RegExp("</" + gn[2], "g")), Be = v$) : gn[3] !== void 0 && (Be = v$) : Be === v$ ? gn[0] === ">" ? (Be = J ?? g8, _n = -1) : gn[1] === void 0 ? _n = -2 : (_n = Be.lastIndex - gn[2].length, hn = gn[1], Be = gn[3] === void 0 ? v$ : gn[3] === '"' ? hge : uge) : Be === hge || Be === uge ? Be = v$ : Be === dge || Be === cge ? Be = g8 : (Be = v$, J = void 0);
264
+ for (; fr < Tt.length && (Be.lastIndex = fr, gn = Be.exec(Tt), gn !== null); ) fr = Be.lastIndex, Be === g8 ? gn[1] === "!--" ? Be = dge : gn[1] !== void 0 ? Be = cge : gn[2] !== void 0 ? (Abe.test(gn[2]) && (J = RegExp("</" + gn[2], "g")), Be = v$) : gn[3] !== void 0 && (Be = v$) : Be === v$ ? gn[0] === ">" ? (Be = J ?? g8, _n = -1) : gn[1] === void 0 ? _n = -2 : (_n = Be.lastIndex - gn[2].length, hn = gn[1], Be = gn[3] === void 0 ? v$ : gn[3] === '"' ? hge : uge) : Be === hge || Be === uge ? Be = v$ : Be === dge || Be === cge ? Be = g8 : (Be = v$, J = void 0);
265
265
  const zn = Be === v$ && B[rt + 1].startsWith("/>") ? " " : "";
266
- be += Be === g8 ? Ot + dNe : _n >= 0 ? (X.push(hn), Ot.slice(0, _n) + kbe + Ot.slice(_n) + nS + zn) : Ot + nS + (_n === -2 ? rt : zn);
266
+ be += Be === g8 ? Tt + dNe : _n >= 0 ? (X.push(hn), Tt.slice(0, _n) + kbe + Tt.slice(_n) + nS + zn) : Tt + nS + (_n === -2 ? rt : zn);
267
267
  }
268
268
  return [Tbe(B, be + (B[H] || "<?>") + (I === 2 ? "</svg>" : I === 3 ? "</math>" : "")), X];
269
269
  };
@@ -272,29 +272,29 @@ class R8 {
272
272
  let J;
273
273
  this.parts = [];
274
274
  let be = 0, Be = 0;
275
- const rt = I.length - 1, Ot = this.parts, [hn, gn] = hNe(I, H);
275
+ const rt = I.length - 1, Tt = this.parts, [hn, gn] = hNe(I, H);
276
276
  if (this.el = R8.createElement(hn, X), E$.currentNode = this.el.content, H === 2 || H === 3) {
277
277
  const _n = this.el.content.firstChild;
278
278
  _n.replaceWith(..._n.childNodes);
279
279
  }
280
- for (; (J = E$.nextNode()) !== null && Ot.length < rt; ) {
280
+ for (; (J = E$.nextNode()) !== null && Tt.length < rt; ) {
281
281
  if (J.nodeType === 1) {
282
282
  if (J.hasAttributes()) for (const _n of J.getAttributeNames()) if (_n.endsWith(kbe)) {
283
283
  const fr = gn[Be++], zn = J.getAttribute(_n).split(nS), cr = /([.?@])?(.*)/.exec(fr);
284
- Ot.push({ type: 1, index: be, name: cr[2], strings: zn, ctor: cr[1] === "." ? pNe : cr[1] === "?" ? fNe : cr[1] === "@" ? gNe : XQ }), J.removeAttribute(_n);
285
- } else _n.startsWith(nS) && (Ot.push({ type: 6, index: be }), J.removeAttribute(_n));
284
+ Tt.push({ type: 1, index: be, name: cr[2], strings: zn, ctor: cr[1] === "." ? pNe : cr[1] === "?" ? fNe : cr[1] === "@" ? gNe : XQ }), J.removeAttribute(_n);
285
+ } else _n.startsWith(nS) && (Tt.push({ type: 6, index: be }), J.removeAttribute(_n));
286
286
  if (Abe.test(J.tagName)) {
287
287
  const _n = J.textContent.split(nS), fr = _n.length - 1;
288
288
  if (fr > 0) {
289
289
  J.textContent = FQ ? FQ.emptyScript : "";
290
- for (let zn = 0; zn < fr; zn++) J.append(_n[zn], T8()), E$.nextNode(), Ot.push({ type: 2, index: ++be });
290
+ for (let zn = 0; zn < fr; zn++) J.append(_n[zn], T8()), E$.nextNode(), Tt.push({ type: 2, index: ++be });
291
291
  J.append(_n[fr], T8());
292
292
  }
293
293
  }
294
- } else if (J.nodeType === 8) if (J.data === $be) Ot.push({ type: 2, index: be });
294
+ } else if (J.nodeType === 8) if (J.data === $be) Tt.push({ type: 2, index: be });
295
295
  else {
296
296
  let _n = -1;
297
- for (; (_n = J.data.indexOf(nS, _n + 1)) !== -1; ) Ot.push({ type: 7, index: be }), _n += nS.length - 1;
297
+ for (; (_n = J.data.indexOf(nS, _n + 1)) !== -1; ) Tt.push({ type: 7, index: be }), _n += nS.length - 1;
298
298
  }
299
299
  be++;
300
300
  }
@@ -323,13 +323,13 @@ class mNe {
323
323
  u(I) {
324
324
  const { el: { content: H }, parts: X } = this._$AD, J = (I?.creationScope ?? k$).importNode(H, !0);
325
325
  E$.currentNode = J;
326
- let be = E$.nextNode(), Be = 0, rt = 0, Ot = X[0];
327
- for (; Ot !== void 0; ) {
328
- if (Be === Ot.index) {
326
+ let be = E$.nextNode(), Be = 0, rt = 0, Tt = X[0];
327
+ for (; Tt !== void 0; ) {
328
+ if (Be === Tt.index) {
329
329
  let hn;
330
- Ot.type === 2 ? hn = new M8(be, be.nextSibling, this, I) : Ot.type === 1 ? hn = new Ot.ctor(be, Ot.name, Ot.strings, this, I) : Ot.type === 6 && (hn = new bNe(be, this, I)), this._$AV.push(hn), Ot = X[++rt];
330
+ Tt.type === 2 ? hn = new M8(be, be.nextSibling, this, I) : Tt.type === 1 ? hn = new Tt.ctor(be, Tt.name, Tt.strings, this, I) : Tt.type === 6 && (hn = new bNe(be, this, I)), this._$AV.push(hn), Tt = X[++rt];
331
331
  }
332
- Be !== Ot?.index && (be = E$.nextNode(), Be++);
332
+ Be !== Tt?.index && (be = E$.nextNode(), Be++);
333
333
  }
334
334
  return E$.currentNode = k$, J;
335
335
  }
@@ -413,8 +413,8 @@ class XQ {
413
413
  if (be === void 0) I = a4(this, I, H, 0), Be = !O8(I) || I !== this._$AH && I !== $$, Be && (this._$AH = I);
414
414
  else {
415
415
  const rt = I;
416
- let Ot, hn;
417
- for (I = be[0], Ot = 0; Ot < be.length - 1; Ot++) hn = a4(this, rt[X + Ot], H, Ot), hn === $$ && (hn = this._$AH[Ot]), Be ||= !O8(hn) || hn !== this._$AH[Ot], hn === Ar ? I = Ar : I !== Ar && (I += (hn ?? "") + be[Ot + 1]), this._$AH[Ot] = hn;
416
+ let Tt, hn;
417
+ for (I = be[0], Tt = 0; Tt < be.length - 1; Tt++) hn = a4(this, rt[X + Tt], H, Tt), hn === $$ && (hn = this._$AH[Tt]), Be ||= !O8(hn) || hn !== this._$AH[Tt], hn === Ar ? I = Ar : I !== Ar && (I += (hn ?? "") + be[Tt + 1]), this._$AH[Tt] = hn;
418
418
  }
419
419
  Be && !J && this.j(I);
420
420
  }
@@ -511,8 +511,8 @@ const NNe = { attribute: !0, type: String, converter: BQ, reflect: !1, hasChange
511
511
  if (be === void 0 && globalThis.litPropertyMetadata.set(J, be = /* @__PURE__ */ new Map()), X === "setter" && ((B = Object.create(B)).wrapped = !0), be.set(H.name, B), X === "accessor") {
512
512
  const { name: Be } = H;
513
513
  return { set(rt) {
514
- const Ot = I.get.call(this);
515
- I.set.call(this, rt), this.requestUpdate(Be, Ot, B, !0, rt);
514
+ const Tt = I.get.call(this);
515
+ I.set.call(this, rt), this.requestUpdate(Be, Tt, B, !0, rt);
516
516
  }, init(rt) {
517
517
  return rt !== void 0 && this.C(Be, void 0, B, rt), rt;
518
518
  } };
@@ -520,8 +520,8 @@ const NNe = { attribute: !0, type: String, converter: BQ, reflect: !1, hasChange
520
520
  if (X === "setter") {
521
521
  const { name: Be } = H;
522
522
  return function(rt) {
523
- const Ot = this[Be];
524
- I.call(this, rt), this.requestUpdate(Be, Ot, B, !0, rt);
523
+ const Tt = this[Be];
524
+ I.call(this, rt), this.requestUpdate(Be, Tt, B, !0, rt);
525
525
  };
526
526
  }
527
527
  throw Error("Unsupported decorator location: " + X);
@@ -743,7 +743,7 @@ class rp extends YQ {
743
743
  const J = H.getAttribute("navigation-subrouter"), be = H.getAttribute("navigation-resource"), Be = H.getAttribute("navigation-rdf-type");
744
744
  if (Be) {
745
745
  const rt = window.orbit?.components?.filter(
746
- (Ot) => Ot?.routeAttributes?.["rdf-type"] === Be
746
+ (Tt) => Tt?.routeAttributes?.["rdf-type"] === Be
747
747
  );
748
748
  rt && (X = rt[0]?.uniq);
749
749
  }
@@ -774,15 +774,15 @@ class rp extends YQ {
774
774
  "@type": I["@type"],
775
775
  "@context": I.serverContext,
776
776
  _originalResource: I
777
- }, Be = X.map(async (Ot) => {
778
- if (!J?.includes(Ot.key)) return;
779
- let hn = await I.get(Ot.key);
780
- return Ot.expand && (hn = await this._getProxyValue(hn, H, X)), Ot.cast && (hn = await Ot.cast(hn)), { prop: Ot, value: hn };
777
+ }, Be = X.map(async (Tt) => {
778
+ if (!J?.includes(Tt.key)) return;
779
+ let hn = await I.get(Tt.key);
780
+ return Tt.expand && (hn = await this._getProxyValue(hn, H, X)), Tt.cast && (hn = await Tt.cast(hn)), { prop: Tt, value: hn };
781
781
  }), rt = (await Promise.all(Be)).filter(
782
- (Ot) => Ot !== void 0
782
+ (Tt) => Tt !== void 0
783
783
  );
784
- for (const { prop: Ot, value: hn } of rt)
785
- hn !== void 0 && (be[Ot.value] = hn);
784
+ for (const { prop: Tt, value: hn } of rt)
785
+ hn !== void 0 && (be[Tt.value] = hn);
786
786
  return await this._responseAdaptator(be);
787
787
  }
788
788
  async _hasCherryPickedProperties(I) {
@@ -1026,9 +1026,9 @@ const Sme = (B, I, H, X) => {
1026
1026
  const X = H.toLowerCase(), J = I.split(".");
1027
1027
  return B.map((be) => {
1028
1028
  let Be = be;
1029
- for (const Ot of J)
1030
- if (Be && typeof Be == "object" && Ot in Be)
1031
- Be = Be[Ot];
1029
+ for (const Tt of J)
1030
+ if (Be && typeof Be == "object" && Tt in Be)
1031
+ Be = Be[Tt];
1032
1032
  else {
1033
1033
  Be = null;
1034
1034
  break;
@@ -1087,26 +1087,26 @@ const Sme = (B, I, H, X) => {
1087
1087
  return H;
1088
1088
  }, $0 = (B, I, H = "asc") => {
1089
1089
  const X = Array.isArray(I) ? I : [I], J = H !== "asc", be = [...B], rt = (() => {
1090
- const Ot = w$(be[0], X);
1091
- if (typeof Ot == "number")
1090
+ const Tt = w$(be[0], X);
1091
+ if (typeof Tt == "number")
1092
1092
  return (hn, gn) => {
1093
1093
  const _n = w$(hn, X), fr = w$(gn, X);
1094
1094
  return _n == null ? fr == null ? 0 : 1 : fr == null ? -1 : _n - fr;
1095
1095
  };
1096
- if (typeof Ot == "string")
1096
+ if (typeof Tt == "string")
1097
1097
  return (hn, gn) => {
1098
1098
  const _n = w$(hn, X), fr = w$(gn, X);
1099
1099
  return _n == null ? fr == null ? 0 : 1 : fr == null ? -1 : _n.localeCompare(fr);
1100
1100
  };
1101
- if (Ot instanceof Date)
1101
+ if (Tt instanceof Date)
1102
1102
  return (hn, gn) => {
1103
1103
  const _n = w$(hn, X), fr = w$(gn, X);
1104
1104
  return _n == null ? fr == null ? 0 : 1 : fr == null ? -1 : _n.getTime() - fr.getTime();
1105
1105
  };
1106
1106
  throw new TypeError(`Unsupported data type for key "${I}"`);
1107
1107
  })();
1108
- return be.sort((Ot, hn) => {
1109
- const gn = rt(Ot, hn);
1108
+ return be.sort((Tt, hn) => {
1109
+ const gn = rt(Tt, hn);
1110
1110
  return J ? -gn : gn;
1111
1111
  }), be;
1112
1112
  }, gge = /* @__PURE__ */ new Map(), LNe = (B) => {
@@ -1186,10 +1186,10 @@ const Qw = [];
1186
1186
  for (let B = 0; B < 256; B++)
1187
1187
  Qw[B] = (B >> 4 & 15).toString(16) + (B & 15).toString(16);
1188
1188
  function WNe(B) {
1189
- let I = 0, H = 8997, X = 0, J = 33826, be = 0, Be = 40164, rt = 0, Ot = 52210;
1189
+ let I = 0, H = 8997, X = 0, J = 33826, be = 0, Be = 40164, rt = 0, Tt = 52210;
1190
1190
  for (let hn = 0; hn < B.length; hn++)
1191
- H ^= B.charCodeAt(hn), I = H * 435, X = J * 435, be = Be * 435, rt = Ot * 435, be += H << 8, rt += J << 8, X += I >>> 16, H = I & 65535, be += X >>> 16, J = X & 65535, Ot = rt + (be >>> 16) & 65535, Be = be & 65535;
1192
- return Qw[Ot >> 8] + Qw[Ot & 255] + Qw[Be >> 8] + Qw[Be & 255] + Qw[J >> 8] + Qw[J & 255] + Qw[H >> 8] + Qw[H & 255];
1191
+ H ^= B.charCodeAt(hn), I = H * 435, X = J * 435, be = Be * 435, rt = Tt * 435, be += H << 8, rt += J << 8, X += I >>> 16, H = I & 65535, be += X >>> 16, J = X & 65535, Tt = rt + (be >>> 16) & 65535, Be = be & 65535;
1192
+ return Qw[Tt >> 8] + Qw[Tt & 255] + Qw[Be >> 8] + Qw[Be & 255] + Qw[J >> 8] + Qw[J & 255] + Qw[H >> 8] + Qw[H & 255];
1193
1193
  }
1194
1194
  const GNe = "", KNe = "h", ZNe = "s";
1195
1195
  function JNe(B, I) {
@@ -1413,8 +1413,8 @@ function d_e() {
1413
1413
  return be && be.__esModule ? be : { default: be };
1414
1414
  }
1415
1415
  var X = function(Be, rt) {
1416
- var Ot = (0, I.default)(Be);
1417
- return Ot.map(function() {
1416
+ var Tt = (0, I.default)(Be);
1417
+ return Tt.map(function() {
1418
1418
  return rt();
1419
1419
  });
1420
1420
  }, J = X;
@@ -1458,8 +1458,8 @@ function Wbe() {
1458
1458
  }
1459
1459
  });
1460
1460
  var I = rt(o_e()), H = rt(a_e()), X = rt(s_e()), J = rt(l_e()), be = rt(Ube()), Be = rt(d_e());
1461
- function rt(Ot) {
1462
- return Ot && Ot.__esModule ? Ot : { default: Ot };
1461
+ function rt(Tt) {
1462
+ return Tt && Tt.__esModule ? Tt : { default: Tt };
1463
1463
  }
1464
1464
  })(ome)), ome;
1465
1465
  }
@@ -1536,8 +1536,8 @@ function c_e() {
1536
1536
  return this.words[zn];
1537
1537
  }
1538
1538
  }]), hn;
1539
- })(), Ot = rt;
1540
- B.default = Ot;
1539
+ })(), Tt = rt;
1540
+ B.default = Tt;
1541
1541
  })(rme)), rme;
1542
1542
  }
1543
1543
  var Ige;
@@ -1560,7 +1560,7 @@ function u_e() {
1560
1560
  Kn.enumerable = Kn.enumerable || !1, Kn.configurable = !0, "value" in Kn && (Kn.writable = !0), Object.defineProperty(fr, Kn.key, Kn);
1561
1561
  }
1562
1562
  }
1563
- function Ot(fr, zn, cr) {
1563
+ function Tt(fr, zn, cr) {
1564
1564
  return zn && rt(fr.prototype, zn), Object.defineProperty(fr, "prototype", { writable: !1 }), fr;
1565
1565
  }
1566
1566
  function hn(fr, zn, cr) {
@@ -1573,7 +1573,7 @@ function u_e() {
1573
1573
  throw new Error("".concat(cr, " is an invalid format. Please use ").concat(I.FORMATS.join(" or "), "."));
1574
1574
  this.generator = new X.default(zn);
1575
1575
  }
1576
- return Ot(fr, [{
1576
+ return Tt(fr, [{
1577
1577
  key: "getLineEnding",
1578
1578
  value: function() {
1579
1579
  return this.suffix ? this.suffix : !(0, J.isReactNative)() && (0, J.isNode)() && (0, J.isWindows)() ? H.LINE_ENDINGS.WIN32 : H.LINE_ENDINGS.POSIX;
@@ -1628,7 +1628,7 @@ function h_e() {
1628
1628
  return rt && rt.__esModule ? rt : { default: rt };
1629
1629
  }
1630
1630
  var Be = function() {
1631
- var Ot = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, hn = Ot.count, gn = hn === void 0 ? 1 : hn, _n = Ot.format, fr = _n === void 0 ? I.FORMAT_PLAIN : _n, zn = Ot.paragraphLowerBound, cr = zn === void 0 ? 3 : zn, Kn = Ot.paragraphUpperBound, jn = Kn === void 0 ? 7 : Kn, Eo = Ot.random, Mo = Ot.sentenceLowerBound, jo = Mo === void 0 ? 5 : Mo, Aa = Ot.sentenceUpperBound, na = Aa === void 0 ? 15 : Aa, Ns = Ot.units, Bl = Ns === void 0 ? H.UNIT_SENTENCES : Ns, yc = Ot.words, lS = yc === void 0 ? X.WORDS : yc, Ng = Ot.suffix, _g = Ng === void 0 ? "" : Ng, aN = {
1631
+ var Tt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, hn = Tt.count, gn = hn === void 0 ? 1 : hn, _n = Tt.format, fr = _n === void 0 ? I.FORMAT_PLAIN : _n, zn = Tt.paragraphLowerBound, cr = zn === void 0 ? 3 : zn, Kn = Tt.paragraphUpperBound, jn = Kn === void 0 ? 7 : Kn, Eo = Tt.random, Mo = Tt.sentenceLowerBound, jo = Mo === void 0 ? 5 : Mo, Aa = Tt.sentenceUpperBound, na = Aa === void 0 ? 15 : Aa, Ns = Tt.units, Bl = Ns === void 0 ? H.UNIT_SENTENCES : Ns, yc = Tt.words, lS = yc === void 0 ? X.WORDS : yc, Ng = Tt.suffix, _g = Ng === void 0 ? "" : Ng, aN = {
1632
1632
  random: Eo,
1633
1633
  sentencesPerParagraph: {
1634
1634
  max: jn,
@@ -1905,8 +1905,8 @@ const C_e = { attribute: !0, type: String, converter: zQ, reflect: !1, hasChange
1905
1905
  if (be === void 0 && globalThis.litPropertyMetadata.set(J, be = /* @__PURE__ */ new Map()), X === "setter" && ((B = Object.create(B)).wrapped = !0), be.set(H.name, B), X === "accessor") {
1906
1906
  const { name: Be } = H;
1907
1907
  return { set(rt) {
1908
- const Ot = I.get.call(this);
1909
- I.set.call(this, rt), this.requestUpdate(Be, Ot, B, !0, rt);
1908
+ const Tt = I.get.call(this);
1909
+ I.set.call(this, rt), this.requestUpdate(Be, Tt, B, !0, rt);
1910
1910
  }, init(rt) {
1911
1911
  return rt !== void 0 && this.C(Be, void 0, B, rt), rt;
1912
1912
  } };
@@ -1914,8 +1914,8 @@ const C_e = { attribute: !0, type: String, converter: zQ, reflect: !1, hasChange
1914
1914
  if (X === "setter") {
1915
1915
  const { name: Be } = H;
1916
1916
  return function(rt) {
1917
- const Ot = this[Be];
1918
- I.call(this, rt), this.requestUpdate(Be, Ot, B, !0, rt);
1917
+ const Tt = this[Be];
1918
+ I.call(this, rt), this.requestUpdate(Be, Tt, B, !0, rt);
1919
1919
  };
1920
1920
  }
1921
1921
  throw Error("Unsupported decorator location: " + X);
@@ -1995,7 +1995,7 @@ class O0 extends Jme {
1995
1995
  const J = H.getAttribute("navigation-subrouter"), be = H.getAttribute("navigation-resource"), Be = H.getAttribute("navigation-rdf-type");
1996
1996
  if (Be) {
1997
1997
  const rt = window.orbit?.components?.filter(
1998
- (Ot) => Ot?.routeAttributes?.["rdf-type"] === Be
1998
+ (Tt) => Tt?.routeAttributes?.["rdf-type"] === Be
1999
1999
  );
2000
2000
  rt && (X = rt[0]?.uniq);
2001
2001
  }
@@ -2026,15 +2026,15 @@ class O0 extends Jme {
2026
2026
  "@type": I["@type"],
2027
2027
  "@context": I.serverContext,
2028
2028
  _originalResource: I
2029
- }, Be = X.map(async (Ot) => {
2030
- if (!J?.includes(Ot.key)) return;
2031
- let hn = await I.get(Ot.key);
2032
- return Ot.expand && (hn = await this._getProxyValue(hn, H, X)), Ot.cast && (hn = await Ot.cast(hn)), { prop: Ot, value: hn };
2029
+ }, Be = X.map(async (Tt) => {
2030
+ if (!J?.includes(Tt.key)) return;
2031
+ let hn = await I.get(Tt.key);
2032
+ return Tt.expand && (hn = await this._getProxyValue(hn, H, X)), Tt.cast && (hn = await Tt.cast(hn)), { prop: Tt, value: hn };
2033
2033
  }), rt = (await Promise.all(Be)).filter(
2034
- (Ot) => Ot !== void 0
2034
+ (Tt) => Tt !== void 0
2035
2035
  );
2036
- for (const { prop: Ot, value: hn } of rt)
2037
- hn !== void 0 && (be[Ot.value] = hn);
2036
+ for (const { prop: Tt, value: hn } of rt)
2037
+ hn !== void 0 && (be[Tt.value] = hn);
2038
2038
  return await this._responseAdaptator(be);
2039
2039
  }
2040
2040
  async _hasCherryPickedProperties(I) {
@@ -2170,14 +2170,14 @@ class O_e {
2170
2170
  (Be, rt) => H.filter?.(Be, rt, X)
2171
2171
  ));
2172
2172
  const be = J.map((Be, rt) => {
2173
- const Ot = {
2173
+ const Tt = {
2174
2174
  "@type": H.itemType
2175
2175
  };
2176
2176
  for (const [hn, gn] of Object.entries(H.itemFields)) {
2177
2177
  const _n = gn(Be, rt, X);
2178
- _n !== void 0 && (Ot[hn] = _n);
2178
+ _n !== void 0 && (Tt[hn] = _n);
2179
2179
  }
2180
- return Ot;
2180
+ return Tt;
2181
2181
  });
2182
2182
  return {
2183
2183
  "@type": H.containerType,
@@ -2194,8 +2194,8 @@ class O_e {
2194
2194
  const be = {};
2195
2195
  H.type && (be["@type"] = H.type);
2196
2196
  for (const [Be, rt] of Object.entries(H.fields)) {
2197
- let Ot;
2198
- Array.isArray(rt) ? Ot = e4(J, rt) : Ot = this.mapField(J, rt, X), Ot !== void 0 && (be[Be] = Ot);
2197
+ let Tt;
2198
+ Array.isArray(rt) ? Tt = e4(J, rt) : Tt = this.mapField(J, rt, X), Tt !== void 0 && (be[Be] = Tt);
2199
2199
  }
2200
2200
  return Object.keys(be).length > (H.type ? 1 : 0) ? be : null;
2201
2201
  }
@@ -2531,17 +2531,17 @@ function I_e() {
2531
2531
  const rt = J.indexOf(":");
2532
2532
  if (rt >= 0)
2533
2533
  return H(J, rt);
2534
- const Ot = be.indexOf(":");
2535
- if (Ot < 0)
2534
+ const Tt = be.indexOf(":");
2535
+ if (Tt < 0)
2536
2536
  throw new Error(`Found invalid baseIRI '${be}' for value '${J}'`);
2537
- const hn = be.substr(0, Ot + 1);
2537
+ const hn = be.substr(0, Tt + 1);
2538
2538
  if (J.indexOf("//") === 0)
2539
2539
  return hn + H(J, rt);
2540
2540
  let gn;
2541
- if (be.indexOf("//", Ot) === Ot + 1) {
2542
- if (gn = be.indexOf("/", Ot + 3), gn < 0)
2543
- return be.length > Ot + 3 ? be + "/" + H(J, rt) : hn + H(J, rt);
2544
- } else if (gn = be.indexOf("/", Ot + 1), gn < 0)
2541
+ if (be.indexOf("//", Tt) === Tt + 1) {
2542
+ if (gn = be.indexOf("/", Tt + 3), gn < 0)
2543
+ return be.length > Tt + 3 ? be + "/" + H(J, rt) : hn + H(J, rt);
2544
+ } else if (gn = be.indexOf("/", Tt + 1), gn < 0)
2545
2545
  return hn + H(J, rt);
2546
2546
  if (J.indexOf("/") === 0)
2547
2547
  return be.substr(0, gn) + I(J);
@@ -2590,8 +2590,8 @@ function I_e() {
2590
2590
  const rt = J.indexOf("/", Be);
2591
2591
  if (rt < 0)
2592
2592
  return J;
2593
- const Ot = J.substr(0, rt), hn = J.substr(rt);
2594
- return Ot + I(hn);
2593
+ const Tt = J.substr(0, rt), hn = J.substr(rt);
2594
+ return Tt + I(hn);
2595
2595
  }
2596
2596
  Kw.removeDotSegmentsOfPath = H;
2597
2597
  function X(J) {
@@ -2638,7 +2638,7 @@ function Kbe() {
2638
2638
  URI: 2,
2639
2639
  ATTR: 4
2640
2640
  };
2641
- function Ot(cr) {
2641
+ function Tt(cr) {
2642
2642
  return cr.replace(I, "");
2643
2643
  }
2644
2644
  function hn(cr) {
@@ -2707,7 +2707,7 @@ function Kbe() {
2707
2707
  return !1;
2708
2708
  }
2709
2709
  parse(Kn, jn) {
2710
- jn = jn || 0, Kn = jn ? Kn.slice(jn) : Kn, Kn = Ot(Kn).replace(X, "");
2710
+ jn = jn || 0, Kn = jn ? Kn.slice(jn) : Kn, Kn = Tt(Kn).replace(X, "");
2711
2711
  for (var Eo = rt.IDLE, Mo = Kn.length, jn = 0, jo = null; jn < Mo; )
2712
2712
  if (Eo === rt.IDLE) {
2713
2713
  if (hn(Kn[jn])) {
@@ -2738,7 +2738,7 @@ function Kbe() {
2738
2738
  }
2739
2739
  var Aa = Kn.indexOf("=", jn);
2740
2740
  Aa === -1 && (Aa = Kn.indexOf(";", jn)), Aa === -1 && (Aa = Kn.length);
2741
- var na = Ot(Kn.slice(jn, Aa)).toLowerCase(), Ns = "";
2741
+ var na = Tt(Kn.slice(jn, Aa)).toLowerCase(), Ns = "";
2742
2742
  if (jn = Aa + 1, jn = gn(Kn, jn), Kn[jn] === '"')
2743
2743
  for (jn++; jn < Mo; ) {
2744
2744
  if (Kn[jn] === '"') {
@@ -2824,9 +2824,9 @@ function Zbe() {
2824
2824
  return await be.json();
2825
2825
  if (be.headers.has("Link")) {
2826
2826
  let rt;
2827
- if (be.headers.forEach((Ot, hn) => {
2827
+ if (be.headers.forEach((Tt, hn) => {
2828
2828
  if (hn === "link") {
2829
- const gn = (0, I.parse)(Ot);
2829
+ const gn = (0, I.parse)(Tt);
2830
2830
  for (const _n of gn.get("type", "application/ld+json"))
2831
2831
  if (_n.rel === "alternate") {
2832
2832
  if (rt)
@@ -2981,8 +2981,8 @@ function Xme() {
2981
2981
  static deepEqual(H, X) {
2982
2982
  const J = Object.keys(H), be = Object.keys(X);
2983
2983
  return J.length !== be.length ? !1 : J.every((Be) => {
2984
- const rt = H[Be], Ot = X[Be];
2985
- return rt === Ot || rt !== null && Ot !== null && typeof rt == "object" && typeof Ot == "object" && this.deepEqual(rt, Ot);
2984
+ const rt = H[Be], Tt = X[Be];
2985
+ return rt === Tt || rt !== null && Tt !== null && typeof rt == "object" && typeof Tt == "object" && this.deepEqual(rt, Tt);
2986
2986
  });
2987
2987
  }
2988
2988
  };
@@ -3084,7 +3084,7 @@ function Jbe() {
3084
3084
  * @return {string} The expanded term, the term as-is, or null if it was explicitly disabled in the context.
3085
3085
  * @throws If the term is aliased to an invalid value (not a string, IRI or keyword).
3086
3086
  */
3087
- expandTerm(Be, rt, Ot = B.defaultExpandOptions) {
3087
+ expandTerm(Be, rt, Tt = B.defaultExpandOptions) {
3088
3088
  const hn = this.contextRaw[Be];
3089
3089
  if (hn === null || hn && hn["@id"] === null)
3090
3090
  return null;
@@ -3101,16 +3101,16 @@ function Jbe() {
3101
3101
  if (_n) {
3102
3102
  const jn = this.contextRaw[_n], Eo = X.Util.getContextValueId(jn);
3103
3103
  if (Eo) {
3104
- if (typeof jn == "string" || !Ot.allowPrefixForcing) {
3105
- if (!X.Util.isSimpleTermDefinitionPrefix(Eo, Ot))
3104
+ if (typeof jn == "string" || !Tt.allowPrefixForcing) {
3105
+ if (!X.Util.isSimpleTermDefinitionPrefix(Eo, Tt))
3106
3106
  return Be;
3107
3107
  } else if (Eo[0] !== "_" && !Kn && !jn["@prefix"] && !(Be in this.contextRaw))
3108
3108
  return Be;
3109
3109
  return Eo + Be.substr(_n.length + 1);
3110
3110
  }
3111
- } else if (rt && (fr || fr === "" || Ot.allowVocabRelativeToBase && cr && zn) && !Kn && !X.Util.isCompactIri(Be))
3111
+ } else if (rt && (fr || fr === "" || Tt.allowVocabRelativeToBase && cr && zn) && !Kn && !X.Util.isCompactIri(Be))
3112
3112
  if (zn) {
3113
- if (Ot.allowVocabRelativeToBase)
3113
+ if (Tt.allowVocabRelativeToBase)
3114
3114
  return (fr || cr ? (0, I.resolve)(fr, cr) : "") + Be;
3115
3115
  throw new H.ErrorCoded(`Relative vocab expansion for term '${Be}' with vocab '${fr}' is not allowed.`, H.ERROR_CODES.INVALID_VOCAB_MAPPING);
3116
3116
  } else
@@ -3136,7 +3136,7 @@ function Jbe() {
3136
3136
  return Be.substr(this.contextRaw["@vocab"].length);
3137
3137
  if (!rt && this.contextRaw["@base"] && Be.startsWith(this.contextRaw["@base"]))
3138
3138
  return Be.substr(this.contextRaw["@base"].length);
3139
- const Ot = { prefix: "", suffix: Be };
3139
+ const Tt = { prefix: "", suffix: Be };
3140
3140
  for (const hn in this.contextRaw) {
3141
3141
  const gn = this.contextRaw[hn];
3142
3142
  if (gn && !X.Util.isPotentialKeyword(hn)) {
@@ -3144,13 +3144,13 @@ function Jbe() {
3144
3144
  if (Be.startsWith(_n)) {
3145
3145
  const fr = Be.substr(_n.length);
3146
3146
  if (fr)
3147
- fr.length < Ot.suffix.length && (Ot.prefix = hn, Ot.suffix = fr);
3147
+ fr.length < Tt.suffix.length && (Tt.prefix = hn, Tt.suffix = fr);
3148
3148
  else if (rt)
3149
3149
  return hn;
3150
3150
  }
3151
3151
  }
3152
3152
  }
3153
- return Ot.prefix ? Ot.prefix + ":" + Ot.suffix : Be;
3153
+ return Tt.prefix ? Tt.prefix + ":" + Tt.suffix : Be;
3154
3154
  }
3155
3155
  }
3156
3156
  B.JsonLdContextNormalized = J, B.defaultExpandOptions = {
@@ -3178,11 +3178,11 @@ function L_e() {
3178
3178
  * @return {boolean} If validation passed.
3179
3179
  * Can only be false if strictRange is false and the string value did not pass the regex.
3180
3180
  */
3181
- static validateLanguage(rt, Ot, hn) {
3181
+ static validateLanguage(rt, Tt, hn) {
3182
3182
  if (typeof rt != "string")
3183
3183
  throw new I.ErrorCoded(`The value of an '@language' must be a string, got '${JSON.stringify(rt)}'`, hn);
3184
3184
  if (!J.Util.REGEX_LANGUAGE_TAG.test(rt)) {
3185
- if (Ot)
3185
+ if (Tt)
3186
3186
  throw new I.ErrorCoded(`The value of an '@language' must be a valid language tag, got '${JSON.stringify(rt)}'`, hn);
3187
3187
  return !1;
3188
3188
  }
@@ -3196,11 +3196,11 @@ function L_e() {
3196
3196
  * @return {boolean} If validation passed.
3197
3197
  * Can only be false if strictRange is false and the string value did not pass the regex.
3198
3198
  */
3199
- static validateDirection(rt, Ot) {
3199
+ static validateDirection(rt, Tt) {
3200
3200
  if (typeof rt != "string")
3201
3201
  throw new I.ErrorCoded(`The value of an '@direction' must be a string, got '${JSON.stringify(rt)}'`, I.ERROR_CODES.INVALID_BASE_DIRECTION);
3202
3202
  if (!J.Util.REGEX_DIRECTION_TAG.test(rt)) {
3203
- if (Ot)
3203
+ if (Tt)
3204
3204
  throw new I.ErrorCoded(`The value of an '@direction' must be 'ltr' or 'rtl', got '${JSON.stringify(rt)}'`, I.ERROR_CODES.INVALID_BASE_DIRECTION);
3205
3205
  return !1;
3206
3206
  }
@@ -3212,12 +3212,12 @@ function L_e() {
3212
3212
  * @return {IJsonLdContextNormalizedRaw} The mutated input context.
3213
3213
  */
3214
3214
  idifyReverseTerms(rt) {
3215
- for (const Ot of Object.keys(rt)) {
3216
- let hn = rt[Ot];
3215
+ for (const Tt of Object.keys(rt)) {
3216
+ let hn = rt[Tt];
3217
3217
  if (hn && typeof hn == "object" && hn["@reverse"] && !hn["@id"]) {
3218
3218
  if (typeof hn["@reverse"] != "string" || J.Util.isValidKeyword(hn["@reverse"]))
3219
3219
  throw new I.ErrorCoded(`Invalid @reverse value, must be absolute IRI or blank node: '${hn["@reverse"]}'`, I.ERROR_CODES.INVALID_IRI_MAPPING);
3220
- hn = rt[Ot] = Object.assign(Object.assign({}, hn), { "@id": hn["@reverse"] }), hn["@id"] = hn["@reverse"], J.Util.isPotentialKeyword(hn["@reverse"]) ? delete hn["@reverse"] : hn["@reverse"] = !0;
3220
+ hn = rt[Tt] = Object.assign(Object.assign({}, hn), { "@id": hn["@reverse"] }), hn["@id"] = hn["@reverse"], J.Util.isPotentialKeyword(hn["@reverse"]) ? delete hn["@reverse"] : hn["@reverse"] = !0;
3221
3221
  }
3222
3222
  }
3223
3223
  return rt;
@@ -3230,7 +3230,7 @@ function L_e() {
3230
3230
  * @param {string[]} keys Optional set of keys from the context to expand. If left undefined, all
3231
3231
  * keys in the context will be expanded.
3232
3232
  */
3233
- expandPrefixedTerms(rt, Ot, hn) {
3233
+ expandPrefixedTerms(rt, Tt, hn) {
3234
3234
  const gn = rt.getContextRaw();
3235
3235
  for (const _n of hn || Object.keys(gn))
3236
3236
  if (J.Util.EXPAND_KEYS_BLACKLIST.indexOf(_n) < 0 && !J.Util.isReservedInternalKeyword(_n)) {
@@ -3258,7 +3258,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3258
3258
  }
3259
3259
  if (jn && typeof jn == "string" && jn !== "@vocab" && (!zn["@container"] || !zn["@container"]["@type"]) && Eo) {
3260
3260
  let Mo = rt.expandTerm(jn, !0);
3261
- Ot && jn === Mo && (Mo = rt.expandTerm(jn, !1)), Mo !== jn && (cr = !0, gn[_n] = Object.assign(Object.assign({}, gn[_n]), { "@type": Mo }));
3261
+ Tt && jn === Mo && (Mo = rt.expandTerm(jn, !1)), Mo !== jn && (cr = !0, gn[_n] = Object.assign(Object.assign({}, gn[_n]), { "@type": Mo }));
3262
3262
  }
3263
3263
  }
3264
3264
  if (!cr)
@@ -3271,8 +3271,8 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3271
3271
  * @param {IJsonLdContextNormalizedRaw} context A context.
3272
3272
  * @param {IParseOptions} parseOptions The parsing options.
3273
3273
  */
3274
- normalize(rt, { processingMode: Ot, normalizeLanguageTags: hn }) {
3275
- if (hn || Ot === 1)
3274
+ normalize(rt, { processingMode: Tt, normalizeLanguageTags: hn }) {
3275
+ if (hn || Tt === 1)
3276
3276
  for (const gn of Object.keys(rt))
3277
3277
  if (gn === "@language" && typeof rt[gn] == "string")
3278
3278
  rt[gn] = rt[gn].toLowerCase();
@@ -3289,16 +3289,16 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3289
3289
  * @param {IJsonLdContextNormalizedRaw} context A context.
3290
3290
  */
3291
3291
  containersToHash(rt) {
3292
- for (const Ot of Object.keys(rt)) {
3293
- const hn = rt[Ot];
3292
+ for (const Tt of Object.keys(rt)) {
3293
+ const hn = rt[Tt];
3294
3294
  if (hn && typeof hn == "object") {
3295
3295
  if (typeof hn["@container"] == "string")
3296
- rt[Ot] = Object.assign(Object.assign({}, hn), { "@container": { [hn["@container"]]: !0 } });
3296
+ rt[Tt] = Object.assign(Object.assign({}, hn), { "@container": { [hn["@container"]]: !0 } });
3297
3297
  else if (Array.isArray(hn["@container"])) {
3298
3298
  const gn = {};
3299
3299
  for (const _n of hn["@container"])
3300
3300
  gn[_n] = !0;
3301
- rt[Ot] = Object.assign(Object.assign({}, hn), { "@container": gn });
3301
+ rt[Tt] = Object.assign(Object.assign({}, hn), { "@container": gn });
3302
3302
  }
3303
3303
  }
3304
3304
  }
@@ -3308,8 +3308,8 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3308
3308
  * @param {IJsonLdContextNormalizedRaw} context A context.
3309
3309
  * @param {number} processingMode The processing mode.
3310
3310
  */
3311
- applyScopedProtected(rt, { processingMode: Ot }, hn) {
3312
- if (Ot && Ot >= 1.1 && rt["@protected"]) {
3311
+ applyScopedProtected(rt, { processingMode: Tt }, hn) {
3312
+ if (Tt && Tt >= 1.1 && rt["@protected"]) {
3313
3313
  for (const gn of Object.keys(rt))
3314
3314
  if (!J.Util.isReservedInternalKeyword(gn) && !J.Util.isPotentialKeyword(gn) && !J.Util.isTermProtected(rt, gn)) {
3315
3315
  const _n = rt[gn];
@@ -3329,17 +3329,17 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3329
3329
  * @param {string[]} keys Optional set of keys from the context to validate. If left undefined, all
3330
3330
  * keys defined in contextAfter will be checked.
3331
3331
  */
3332
- validateKeywordRedefinitions(rt, Ot, hn, gn) {
3333
- for (const _n of gn ?? Object.keys(Ot))
3334
- if (J.Util.isTermProtected(rt, _n) && (typeof Ot[_n] == "string" ? Ot[_n] = { "@id": Ot[_n], "@protected": !0 } : Ot[_n] = Object.assign(Object.assign({}, Ot[_n]), { "@protected": !0 }), !J.Util.deepEqual(rt[_n], Ot[_n])))
3335
- throw new I.ErrorCoded(`Attempted to override the protected keyword ${_n} from ${JSON.stringify(J.Util.getContextValueId(rt[_n]))} to ${JSON.stringify(J.Util.getContextValueId(Ot[_n]))}`, I.ERROR_CODES.PROTECTED_TERM_REDEFINITION);
3332
+ validateKeywordRedefinitions(rt, Tt, hn, gn) {
3333
+ for (const _n of gn ?? Object.keys(Tt))
3334
+ if (J.Util.isTermProtected(rt, _n) && (typeof Tt[_n] == "string" ? Tt[_n] = { "@id": Tt[_n], "@protected": !0 } : Tt[_n] = Object.assign(Object.assign({}, Tt[_n]), { "@protected": !0 }), !J.Util.deepEqual(rt[_n], Tt[_n])))
3335
+ throw new I.ErrorCoded(`Attempted to override the protected keyword ${_n} from ${JSON.stringify(J.Util.getContextValueId(rt[_n]))} to ${JSON.stringify(J.Util.getContextValueId(Tt[_n]))}`, I.ERROR_CODES.PROTECTED_TERM_REDEFINITION);
3336
3336
  }
3337
3337
  /**
3338
3338
  * Validate the entries of the given context.
3339
3339
  * @param {IJsonLdContextNormalizedRaw} context A context.
3340
3340
  * @param {IParseOptions} options The parse options.
3341
3341
  */
3342
- validate(rt, { processingMode: Ot }) {
3342
+ validate(rt, { processingMode: Tt }) {
3343
3343
  for (const hn of Object.keys(rt)) {
3344
3344
  if (J.Util.isReservedInternalKeyword(hn))
3345
3345
  continue;
@@ -3367,7 +3367,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3367
3367
  gn !== null && S$.validateDirection(gn, !0);
3368
3368
  break;
3369
3369
  case "propagate":
3370
- if (Ot === 1)
3370
+ if (Tt === 1)
3371
3371
  throw new I.ErrorCoded(`Found an illegal @propagate keyword: ${gn}`, I.ERROR_CODES.INVALID_CONTEXT_ENTRY);
3372
3372
  if (gn !== null && _n !== "boolean")
3373
3373
  throw new I.ErrorCoded(`Found an invalid @propagate value: ${gn}`, I.ERROR_CODES.INVALID_PROPAGATE_VALUE);
@@ -3415,7 +3415,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3415
3415
  throw new I.ErrorCoded(`@container: @type only allows @type: @id or @vocab, but got: '${hn}': '${zn}'`, I.ERROR_CODES.INVALID_TYPE_MAPPING);
3416
3416
  if (typeof zn != "string")
3417
3417
  throw new I.ErrorCoded(`The value of an '@type' must be a string, got '${JSON.stringify(_n)}'`, I.ERROR_CODES.INVALID_TYPE_MAPPING);
3418
- if (zn !== "@id" && zn !== "@vocab" && (Ot === 1 || zn !== "@json") && (Ot === 1 || zn !== "@none") && (zn[0] === "_" || !J.Util.isValidIri(zn)))
3418
+ if (zn !== "@id" && zn !== "@vocab" && (Tt === 1 || zn !== "@json") && (Tt === 1 || zn !== "@none") && (zn[0] === "_" || !J.Util.isValidIri(zn)))
3419
3419
  throw new I.ErrorCoded(`A context @type must be an absolute IRI, found: '${hn}': '${zn}'`, I.ERROR_CODES.INVALID_TYPE_MAPPING);
3420
3420
  break;
3421
3421
  case "@reverse":
@@ -3425,7 +3425,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3425
3425
  throw new I.ErrorCoded(`@nest is not allowed in the reverse property '${hn}'`, I.ERROR_CODES.INVALID_REVERSE_PROPERTY);
3426
3426
  break;
3427
3427
  case "@container":
3428
- if (Ot === 1 && (Object.keys(zn).length > 1 || J.Util.CONTAINERS_1_0.indexOf(Object.keys(zn)[0]) < 0))
3428
+ if (Tt === 1 && (Object.keys(zn).length > 1 || J.Util.CONTAINERS_1_0.indexOf(Object.keys(zn)[0]) < 0))
3429
3429
  throw new I.ErrorCoded(`Invalid term @container for '${hn}' ('${Object.keys(zn)}') in 1.0, must be only one of ${J.Util.CONTAINERS_1_0.join(", ")}`, I.ERROR_CODES.INVALID_CONTAINER_MAPPING);
3430
3430
  for (const cr of Object.keys(zn)) {
3431
3431
  if (cr === "@list" && gn["@reverse"])
@@ -3447,7 +3447,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3447
3447
  throw new I.ErrorCoded(`Invalid @prefix definition for '${hn}' ('${JSON.stringify(gn)}'`, I.ERROR_CODES.INVALID_TERM_DEFINITION);
3448
3448
  break;
3449
3449
  case "@index":
3450
- if (Ot === 1 || !gn["@container"] || !gn["@container"]["@index"])
3450
+ if (Tt === 1 || !gn["@container"] || !gn["@container"]["@index"])
3451
3451
  throw new I.ErrorCoded(`Attempt to add illegal key to value object: '${hn}': '${JSON.stringify(gn)}'`, I.ERROR_CODES.INVALID_TERM_DEFINITION);
3452
3452
  break;
3453
3453
  case "@nest":
@@ -3468,8 +3468,8 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3468
3468
  * @param inheritFromParent If the @base value from the parent context can be inherited.
3469
3469
  * @return The given context.
3470
3470
  */
3471
- applyBaseEntry(rt, Ot, hn) {
3472
- return typeof rt == "string" || (hn && !("@base" in rt) && Ot.parentContext && typeof Ot.parentContext == "object" && "@base" in Ot.parentContext && (rt["@base"] = Ot.parentContext["@base"], Ot.parentContext["@__baseDocument"] && (rt["@__baseDocument"] = !0)), Ot.baseIRI && !Ot.external && ("@base" in rt ? rt["@base"] !== null && typeof rt["@base"] == "string" && !J.Util.isValidIri(rt["@base"]) && (rt["@base"] = (0, B.resolve)(rt["@base"], Ot.parentContext && Ot.parentContext["@base"] || Ot.baseIRI)) : (rt["@base"] = Ot.baseIRI, rt["@__baseDocument"] = !0))), rt;
3471
+ applyBaseEntry(rt, Tt, hn) {
3472
+ return typeof rt == "string" || (hn && !("@base" in rt) && Tt.parentContext && typeof Tt.parentContext == "object" && "@base" in Tt.parentContext && (rt["@base"] = Tt.parentContext["@base"], Tt.parentContext["@__baseDocument"] && (rt["@__baseDocument"] = !0)), Tt.baseIRI && !Tt.external && ("@base" in rt ? rt["@base"] !== null && typeof rt["@base"] == "string" && !J.Util.isValidIri(rt["@base"]) && (rt["@base"] = (0, B.resolve)(rt["@base"], Tt.parentContext && Tt.parentContext["@base"] || Tt.baseIRI)) : (rt["@base"] = Tt.baseIRI, rt["@__baseDocument"] = !0))), rt;
3473
3473
  }
3474
3474
  /**
3475
3475
  * Resolve relative context IRIs, or return full IRIs as-is.
@@ -3477,10 +3477,10 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3477
3477
  * @param {string} baseIRI A base IRI.
3478
3478
  * @return {string} The normalized context IRI.
3479
3479
  */
3480
- normalizeContextIri(rt, Ot) {
3480
+ normalizeContextIri(rt, Tt) {
3481
3481
  if (!J.Util.isValidIri(rt))
3482
3482
  try {
3483
- rt = (0, B.resolve)(rt, Ot);
3483
+ rt = (0, B.resolve)(rt, Tt);
3484
3484
  } catch {
3485
3485
  throw new Error(`Invalid context IRI: ${rt}`);
3486
3486
  }
@@ -3494,41 +3494,41 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3494
3494
  * @param {string[]} keys Optional set of keys from the context to parseInnerContexts of. If left undefined, all
3495
3495
  * keys in the context will be iterated over.
3496
3496
  */
3497
- async parseInnerContexts(rt, Ot, hn) {
3497
+ async parseInnerContexts(rt, Tt, hn) {
3498
3498
  for (const gn of hn ?? Object.keys(rt)) {
3499
3499
  const _n = rt[gn];
3500
- if (_n && typeof _n == "object" && "@context" in _n && _n["@context"] !== null && !Ot.ignoreScopedContexts) {
3500
+ if (_n && typeof _n == "object" && "@context" in _n && _n["@context"] !== null && !Tt.ignoreScopedContexts) {
3501
3501
  if (this.validateContext)
3502
3502
  try {
3503
3503
  const fr = Object.assign(Object.assign({}, rt), { [gn]: Object.assign({}, rt[gn]) });
3504
- delete fr[gn]["@context"], await this.parse(_n["@context"], Object.assign(Object.assign({}, Ot), { external: !1, parentContext: fr, ignoreProtection: !0, ignoreRemoteScopedContexts: !0, ignoreScopedContexts: !0 }));
3504
+ delete fr[gn]["@context"], await this.parse(_n["@context"], Object.assign(Object.assign({}, Tt), { external: !1, parentContext: fr, ignoreProtection: !0, ignoreRemoteScopedContexts: !0, ignoreScopedContexts: !0 }));
3505
3505
  } catch (fr) {
3506
3506
  throw new I.ErrorCoded(fr.message, I.ERROR_CODES.INVALID_SCOPED_CONTEXT);
3507
3507
  }
3508
- rt[gn] = Object.assign(Object.assign({}, _n), { "@context": (await this.parse(_n["@context"], Object.assign(Object.assign({}, Ot), { external: !1, minimalProcessing: !0, ignoreRemoteScopedContexts: !0, parentContext: rt }))).getContextRaw() });
3508
+ rt[gn] = Object.assign(Object.assign({}, _n), { "@context": (await this.parse(_n["@context"], Object.assign(Object.assign({}, Tt), { external: !1, minimalProcessing: !0, ignoreRemoteScopedContexts: !0, parentContext: rt }))).getContextRaw() });
3509
3509
  }
3510
3510
  }
3511
3511
  return rt;
3512
3512
  }
3513
- async parse(rt, Ot = {}, hn = {}) {
3514
- const { baseIRI: gn, parentContext: _n, external: fr, processingMode: zn = S$.DEFAULT_PROCESSING_MODE, normalizeLanguageTags: cr, ignoreProtection: Kn, minimalProcessing: jn } = Ot, Eo = Ot.remoteContexts || {};
3513
+ async parse(rt, Tt = {}, hn = {}) {
3514
+ const { baseIRI: gn, parentContext: _n, external: fr, processingMode: zn = S$.DEFAULT_PROCESSING_MODE, normalizeLanguageTags: cr, ignoreProtection: Kn, minimalProcessing: jn } = Tt, Eo = Tt.remoteContexts || {};
3515
3515
  if (Object.keys(Eo).length >= this.remoteContextsDepthLimit)
3516
3516
  throw new I.ErrorCoded("Detected an overflow in remote context inclusions: " + Object.keys(Eo), I.ERROR_CODES.CONTEXT_OVERFLOW);
3517
3517
  if (rt == null) {
3518
3518
  if (!Kn && _n && J.Util.hasProtectedTerms(_n))
3519
3519
  throw new I.ErrorCoded("Illegal context nullification when terms are protected", I.ERROR_CODES.INVALID_CONTEXT_NULLIFICATION);
3520
- return new X.JsonLdContextNormalized(this.applyBaseEntry({}, Ot, !1));
3520
+ return new X.JsonLdContextNormalized(this.applyBaseEntry({}, Tt, !1));
3521
3521
  } else if (typeof rt == "string") {
3522
- const Mo = this.normalizeContextIri(rt, gn), jo = this.getOverriddenLoad(Mo, Ot);
3522
+ const Mo = this.normalizeContextIri(rt, gn), jo = this.getOverriddenLoad(Mo, Tt);
3523
3523
  if (jo)
3524
3524
  return new X.JsonLdContextNormalized(jo);
3525
- const Aa = await this.parse(await this.load(Mo), Object.assign(Object.assign({}, Ot), { baseIRI: Mo, external: !0, remoteContexts: Object.assign(Object.assign({}, Eo), { [Mo]: !0 }) }));
3526
- return this.applyBaseEntry(Aa.getContextRaw(), Ot, !0), Aa;
3525
+ const Aa = await this.parse(await this.load(Mo), Object.assign(Object.assign({}, Tt), { baseIRI: Mo, external: !0, remoteContexts: Object.assign(Object.assign({}, Eo), { [Mo]: !0 }) }));
3526
+ return this.applyBaseEntry(Aa.getContextRaw(), Tt, !0), Aa;
3527
3527
  } else if (Array.isArray(rt)) {
3528
3528
  const Mo = [], jo = await Promise.all(rt.map((na, Ns) => {
3529
3529
  if (typeof na == "string") {
3530
3530
  const Bl = this.normalizeContextIri(na, gn);
3531
- return Mo[Ns] = Bl, this.getOverriddenLoad(Bl, Ot) || this.load(Bl);
3531
+ return Mo[Ns] = Bl, this.getOverriddenLoad(Bl, Tt) || this.load(Bl);
3532
3532
  } else
3533
3533
  return na;
3534
3534
  }));
@@ -3536,17 +3536,17 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3536
3536
  return new X.JsonLdContextNormalized(jo);
3537
3537
  const Aa = await jo.reduce((na, Ns, Bl) => na.then((yc) => this.parse(
3538
3538
  Ns,
3539
- Object.assign(Object.assign({}, Ot), { baseIRI: Mo[Bl] || Ot.baseIRI, external: !!Mo[Bl] || Ot.external, parentContext: yc.getContextRaw(), remoteContexts: Mo[Bl] ? Object.assign(Object.assign({}, Eo), { [Mo[Bl]]: !0 }) : Eo }),
3539
+ Object.assign(Object.assign({}, Tt), { baseIRI: Mo[Bl] || Tt.baseIRI, external: !!Mo[Bl] || Tt.external, parentContext: yc.getContextRaw(), remoteContexts: Mo[Bl] ? Object.assign(Object.assign({}, Eo), { [Mo[Bl]]: !0 }) : Eo }),
3540
3540
  // @ts-expect-error: This third argument causes a type error because we have hidden it from consumers
3541
3541
  {
3542
3542
  skipValidation: Bl < jo.length - 1
3543
3543
  }
3544
3544
  )), Promise.resolve(new X.JsonLdContextNormalized(_n || {})));
3545
- return this.applyBaseEntry(Aa.getContextRaw(), Ot, !0), Aa;
3545
+ return this.applyBaseEntry(Aa.getContextRaw(), Tt, !0), Aa;
3546
3546
  } else if (typeof rt == "object") {
3547
3547
  if ("@context" in rt)
3548
- return await this.parse(rt["@context"], Ot);
3549
- if (rt = Object.assign({}, rt), fr && delete rt["@base"], this.applyBaseEntry(rt, Ot, !0), this.containersToHash(rt), jn)
3548
+ return await this.parse(rt["@context"], Tt);
3549
+ if (rt = Object.assign({}, rt), fr && delete rt["@base"], this.applyBaseEntry(rt, Tt, !0), this.containersToHash(rt), jn)
3550
3550
  return new X.JsonLdContextNormalized(rt);
3551
3551
  let Mo = {};
3552
3552
  if ("@import" in rt)
@@ -3563,7 +3563,7 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3563
3563
  if (typeof _n == "object")
3564
3564
  for (const Bl in _n)
3565
3565
  Bl in jo ? na.push(Bl) : jo[Bl] = _n[Bl];
3566
- await this.parseInnerContexts(jo, Ot, Aa);
3566
+ await this.parseInnerContexts(jo, Tt, Aa);
3567
3567
  const Ns = new X.JsonLdContextNormalized(jo);
3568
3568
  return (jo && jo["@version"] || S$.DEFAULT_PROCESSING_MODE) >= 1.1 && (rt["@vocab"] && typeof rt["@vocab"] == "string" || rt["@vocab"] === "") && (_n && "@vocab" in _n && rt["@vocab"].indexOf(":") < 0 ? jo["@vocab"] = _n["@vocab"] + rt["@vocab"] : (J.Util.isCompactIri(rt["@vocab"]) || rt["@vocab"] in jo) && (jo["@vocab"] = Ns.expandTerm(rt["@vocab"], !0))), this.expandPrefixedTerms(Ns, this.expandContentTypeToBase, Aa), !Kn && _n && zn >= 1.1 && this.validateKeywordRedefinitions(_n, jo, X.defaultExpandOptions, na), this.validateContext && !hn.skipValidation && this.validate(jo, { processingMode: zn }), Ns;
3569
3569
  } else
@@ -3575,9 +3575,9 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3575
3575
  * @return A promise resolving to a raw JSON-LD context.
3576
3576
  */
3577
3577
  async load(rt) {
3578
- const Ot = this.documentCache[rt];
3579
- if (Ot)
3580
- return Ot;
3578
+ const Tt = this.documentCache[rt];
3579
+ if (Tt)
3580
+ return Tt;
3581
3581
  let hn;
3582
3582
  try {
3583
3583
  hn = await this.documentLoader.load(rt);
@@ -3597,9 +3597,9 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3597
3597
  * @return An overridden context, or null.
3598
3598
  * Optionally an error can be thrown if a cyclic context is detected.
3599
3599
  */
3600
- getOverriddenLoad(rt, Ot) {
3601
- if (rt in (Ot.remoteContexts || {})) {
3602
- if (Ot.ignoreRemoteScopedContexts)
3600
+ getOverriddenLoad(rt, Tt) {
3601
+ if (rt in (Tt.remoteContexts || {})) {
3602
+ if (Tt.ignoreRemoteScopedContexts)
3603
3603
  return rt;
3604
3604
  throw new I.ErrorCoded("Detected a cyclic context inclusion of " + rt, I.ERROR_CODES.RECURSIVE_CONTEXT_INCLUSION);
3605
3605
  }
@@ -3610,12 +3610,12 @@ Tried mapping ${_n} to ${JSON.stringify(fr)}`, I.ERROR_CODES.INVALID_KEYWORD_ALI
3610
3610
  * @param importContextIri The full URI of an @import value.
3611
3611
  */
3612
3612
  async loadImportContext(rt) {
3613
- let Ot = await this.load(rt);
3614
- if (typeof Ot != "object" || Array.isArray(Ot))
3613
+ let Tt = await this.load(rt);
3614
+ if (typeof Tt != "object" || Array.isArray(Tt))
3615
3615
  throw new I.ErrorCoded("An imported context must be a single object: " + rt, I.ERROR_CODES.INVALID_REMOTE_CONTEXT);
3616
- if ("@import" in Ot)
3616
+ if ("@import" in Tt)
3617
3617
  throw new I.ErrorCoded("An imported context can not import another context: " + rt, I.ERROR_CODES.INVALID_CONTEXT_ENTRY);
3618
- return Ot = Object.assign({}, Ot), this.containersToHash(Ot), Ot;
3618
+ return Tt = Object.assign({}, Tt), this.containersToHash(Tt), Tt;
3619
3619
  }
3620
3620
  };
3621
3621
  return be.DEFAULT_PROCESSING_MODE = 1.1, N8.ContextParser = be, N8;
@@ -3940,9 +3940,9 @@ let Zw, hme, Ho, Rme, rf, yg, Yw, eye, Dme, k0, S8, ibe, Ime, lbe = (async () =>
3940
3940
  onAuthActivated: Be,
3941
3941
  waitForAuthElement: rt
3942
3942
  };
3943
- class Ot extends Error {
3943
+ class Tt extends Error {
3944
3944
  }
3945
- Ot.prototype.name = "InvalidTokenError";
3945
+ Tt.prototype.name = "InvalidTokenError";
3946
3946
  function hn(N) {
3947
3947
  return decodeURIComponent(atob(N).replace(/(.)/g, (e, o) => {
3948
3948
  let g = o.charCodeAt(0).toString(16).toUpperCase();
@@ -3971,21 +3971,21 @@ let Zw, hme, Ho, Rme, rf, yg, Yw, eye, Dme, k0, S8, ibe, Ime, lbe = (async () =>
3971
3971
  }
3972
3972
  function _n(N, e) {
3973
3973
  if (typeof N != "string")
3974
- throw new Ot("Invalid token specified: must be a string");
3974
+ throw new Tt("Invalid token specified: must be a string");
3975
3975
  e || (e = {});
3976
3976
  const o = e.header === !0 ? 0 : 1, g = N.split(".")[o];
3977
3977
  if (typeof g != "string")
3978
- throw new Ot(`Invalid token specified: missing part #${o + 1}`);
3978
+ throw new Tt(`Invalid token specified: missing part #${o + 1}`);
3979
3979
  let $;
3980
3980
  try {
3981
3981
  $ = gn(g);
3982
3982
  } catch (f) {
3983
- throw new Ot(`Invalid token specified: invalid base64 for part #${o + 1} (${f.message})`);
3983
+ throw new Tt(`Invalid token specified: invalid base64 for part #${o + 1} (${f.message})`);
3984
3984
  }
3985
3985
  try {
3986
3986
  return JSON.parse($);
3987
3987
  } catch (f) {
3988
- throw new Ot(`Invalid token specified: invalid json for part #${o + 1} (${f.message})`);
3988
+ throw new Tt(`Invalid token specified: invalid json for part #${o + 1} (${f.message})`);
3989
3989
  }
3990
3990
  }
3991
3991
  var fr = {
@@ -26039,7 +26039,7 @@ sh:property [
26039
26039
  window.dispatchEvent(g);
26040
26040
  }
26041
26041
  async initGetter() {
26042
- const { CustomGetter: e } = await import("./custom-getter-ZPFnoSjt-BCNOlbJZ-CyAxB8aT.js");
26042
+ const { CustomGetter: e } = await import("./custom-getter-ZPFnoSjt-BCNOlbJZ-CC58FWc-.js");
26043
26043
  return e;
26044
26044
  }
26045
26045
  disconnectedCallback() {
@@ -29435,7 +29435,7 @@ Promise.all([
29435
29435
  })(I)), I.exports;
29436
29436
  }
29437
29437
  var be = J();
29438
- const Be = k0(be), rt = {}, Ot = {
29438
+ const Be = k0(be), rt = {}, Tt = {
29439
29439
  reset: "\x1B[0m",
29440
29440
  trace: "\x1B[38;2;169;169;169m",
29441
29441
  debug: "\x1B[38;2;0;0;255m",
@@ -29444,7 +29444,7 @@ Promise.all([
29444
29444
  error: "\x1B[38;2;255;0;0m"
29445
29445
  };
29446
29446
  function hn(a, s) {
29447
- const c = (/* @__PURE__ */ new Date()).toISOString(), h = Ot[a] || Ot.reset, v = s.map((S) => {
29447
+ const c = (/* @__PURE__ */ new Date()).toISOString(), h = Tt[a] || Tt.reset, v = s.map((S) => {
29448
29448
  if (typeof S == "object")
29449
29449
  try {
29450
29450
  return JSON.stringify(S, null, 2);
@@ -29453,7 +29453,7 @@ Promise.all([
29453
29453
  }
29454
29454
  return String(S);
29455
29455
  }).join(" ");
29456
- return `${h}[${c}] ${v}${Ot.reset}`;
29456
+ return `${h}[${c}] ${v}${Tt.reset}`;
29457
29457
  }
29458
29458
  const gn = Be.methodFactory;
29459
29459
  Be.methodFactory = (a, s, c) => {
@@ -35134,7 +35134,7 @@ Component: ${s}
35134
35134
  }), xe(on, ht, !0), on;
35135
35135
  } else
35136
35136
  return ht;
35137
- }, Tt = (ht, lt) => {
35137
+ }, Ot = (ht, lt) => {
35138
35138
  let on = ht;
35139
35139
  for (; on; ) {
35140
35140
  let An = lt;
@@ -35287,7 +35287,7 @@ Component: ${s}
35287
35287
  insertAfter: ue,
35288
35288
  replace: xe,
35289
35289
  rename: Ge,
35290
- findCommonAncestor: Tt,
35290
+ findCommonAncestor: Ot,
35291
35291
  run: Sa,
35292
35292
  getAttribs: Ut,
35293
35293
  isEmpty: On,
@@ -41533,7 +41533,7 @@ Required: ` + r.join(", "));
41533
41533
  "xmp"
41534
41534
  ]);
41535
41535
  let Ge = null;
41536
- const Tt = Va({}, [
41536
+ const Ot = Va({}, [
41537
41537
  "audio",
41538
41538
  "video",
41539
41539
  "img",
@@ -41575,7 +41575,7 @@ Required: ` + r.join(", "));
41575
41575
  }, kn = function() {
41576
41576
  let Wt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
41577
41577
  if (!(on && on === Wt)) {
41578
- if ((!Wt || typeof Wt != "object") && (Wt = {}), Wt = Gp(Wt), Nr = Co.indexOf(Wt.PARSER_MEDIA_TYPE) === -1 ? ht : Wt.PARSER_MEDIA_TYPE, lt = Nr === "application/xhtml+xml" ? Sj : c2, Sa = Zm(Wt, "ALLOWED_TAGS") ? Va({}, Wt.ALLOWED_TAGS, lt) : om, Ps = Zm(Wt, "ALLOWED_ATTR") ? Va({}, Wt.ALLOWED_ATTR, lt) : eo, Wn = Zm(Wt, "ALLOWED_NAMESPACES") ? Va({}, Wt.ALLOWED_NAMESPACES, Sj) : mr, Qt = Zm(Wt, "ADD_URI_SAFE_ATTR") ? Va(Gp(On), Wt.ADD_URI_SAFE_ATTR, lt) : On, Ge = Zm(Wt, "ADD_DATA_URI_TAGS") ? Va(Gp(Tt), Wt.ADD_DATA_URI_TAGS, lt) : Tt, ue = Zm(Wt, "FORBID_CONTENTS") ? Va({}, Wt.FORBID_CONTENTS, lt) : xe, jr = Zm(Wt, "FORBID_TAGS") ? Va({}, Wt.FORBID_TAGS, lt) : {}, ho = Zm(Wt, "FORBID_ATTR") ? Va({}, Wt.FORBID_ATTR, lt) : {}, ce = Zm(Wt, "USE_PROFILES") ? Wt.USE_PROFILES : !1, Xa = Wt.ALLOW_ARIA_ATTR !== !1, Vo = Wt.ALLOW_DATA_ATTR !== !1, wd = Wt.ALLOW_UNKNOWN_PROTOCOLS || !1, tf = Wt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, am = Wt.SAFE_FOR_TEMPLATES || !1, Du = Wt.SAFE_FOR_XML !== !1, Hc = Wt.WHOLE_DOCUMENT || !1, u = Wt.RETURN_DOM || !1, p = Wt.RETURN_DOM_FRAGMENT || !1, w = Wt.RETURN_TRUSTED_TYPE || !1, l = Wt.FORCE_BODY || !1, k = Wt.SANITIZE_DOM !== !1, R = Wt.SANITIZE_NAMED_PROPS || !1, W = Wt.KEEP_CONTENT !== !1, ne = Wt.IN_PLACE || !1, Vc = Wt.ALLOWED_URI_REGEXP || lU, Pn = Wt.NAMESPACE || dn, Mn = Wt.CUSTOM_ELEMENT_HANDLING || {}, Wt.CUSTOM_ELEMENT_HANDLING && _r(Wt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Mn.tagNameCheck = Wt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Wt.CUSTOM_ELEMENT_HANDLING && _r(Wt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Mn.attributeNameCheck = Wt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Wt.CUSTOM_ELEMENT_HANDLING && typeof Wt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Mn.allowCustomizedBuiltInElements = Wt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), am && (Vo = !1), p && (u = !0), ce && (Sa = Va({}, Aj), Ps = [], ce.html === !0 && (Va(Sa, Ej), Va(Ps, Ax)), ce.svg === !0 && (Va(Sa, $x), Va(Ps, tD), Va(Ps, u2)), ce.svgFilters === !0 && (Va(Sa, kj), Va(Ps, tD), Va(Ps, u2)), ce.mathMl === !0 && (Va(Sa, dg), Va(Ps, nD), Va(Ps, u2))), Wt.ADD_TAGS && (Sa === om && (Sa = Gp(Sa)), Va(Sa, Wt.ADD_TAGS, lt)), Wt.ADD_ATTR && (Ps === eo && (Ps = Gp(Ps)), Va(Ps, Wt.ADD_ATTR, lt)), Wt.ADD_URI_SAFE_ATTR && Va(Qt, Wt.ADD_URI_SAFE_ATTR, lt), Wt.FORBID_CONTENTS && (ue === xe && (ue = Gp(ue)), Va(ue, Wt.FORBID_CONTENTS, lt)), W && (Sa["#text"] = !0), Hc && Va(Sa, [
41578
+ if ((!Wt || typeof Wt != "object") && (Wt = {}), Wt = Gp(Wt), Nr = Co.indexOf(Wt.PARSER_MEDIA_TYPE) === -1 ? ht : Wt.PARSER_MEDIA_TYPE, lt = Nr === "application/xhtml+xml" ? Sj : c2, Sa = Zm(Wt, "ALLOWED_TAGS") ? Va({}, Wt.ALLOWED_TAGS, lt) : om, Ps = Zm(Wt, "ALLOWED_ATTR") ? Va({}, Wt.ALLOWED_ATTR, lt) : eo, Wn = Zm(Wt, "ALLOWED_NAMESPACES") ? Va({}, Wt.ALLOWED_NAMESPACES, Sj) : mr, Qt = Zm(Wt, "ADD_URI_SAFE_ATTR") ? Va(Gp(On), Wt.ADD_URI_SAFE_ATTR, lt) : On, Ge = Zm(Wt, "ADD_DATA_URI_TAGS") ? Va(Gp(Ot), Wt.ADD_DATA_URI_TAGS, lt) : Ot, ue = Zm(Wt, "FORBID_CONTENTS") ? Va({}, Wt.FORBID_CONTENTS, lt) : xe, jr = Zm(Wt, "FORBID_TAGS") ? Va({}, Wt.FORBID_TAGS, lt) : {}, ho = Zm(Wt, "FORBID_ATTR") ? Va({}, Wt.FORBID_ATTR, lt) : {}, ce = Zm(Wt, "USE_PROFILES") ? Wt.USE_PROFILES : !1, Xa = Wt.ALLOW_ARIA_ATTR !== !1, Vo = Wt.ALLOW_DATA_ATTR !== !1, wd = Wt.ALLOW_UNKNOWN_PROTOCOLS || !1, tf = Wt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, am = Wt.SAFE_FOR_TEMPLATES || !1, Du = Wt.SAFE_FOR_XML !== !1, Hc = Wt.WHOLE_DOCUMENT || !1, u = Wt.RETURN_DOM || !1, p = Wt.RETURN_DOM_FRAGMENT || !1, w = Wt.RETURN_TRUSTED_TYPE || !1, l = Wt.FORCE_BODY || !1, k = Wt.SANITIZE_DOM !== !1, R = Wt.SANITIZE_NAMED_PROPS || !1, W = Wt.KEEP_CONTENT !== !1, ne = Wt.IN_PLACE || !1, Vc = Wt.ALLOWED_URI_REGEXP || lU, Pn = Wt.NAMESPACE || dn, Mn = Wt.CUSTOM_ELEMENT_HANDLING || {}, Wt.CUSTOM_ELEMENT_HANDLING && _r(Wt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Mn.tagNameCheck = Wt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), Wt.CUSTOM_ELEMENT_HANDLING && _r(Wt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Mn.attributeNameCheck = Wt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), Wt.CUSTOM_ELEMENT_HANDLING && typeof Wt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Mn.allowCustomizedBuiltInElements = Wt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), am && (Vo = !1), p && (u = !0), ce && (Sa = Va({}, Aj), Ps = [], ce.html === !0 && (Va(Sa, Ej), Va(Ps, Ax)), ce.svg === !0 && (Va(Sa, $x), Va(Ps, tD), Va(Ps, u2)), ce.svgFilters === !0 && (Va(Sa, kj), Va(Ps, tD), Va(Ps, u2)), ce.mathMl === !0 && (Va(Sa, dg), Va(Ps, nD), Va(Ps, u2))), Wt.ADD_TAGS && (Sa === om && (Sa = Gp(Sa)), Va(Sa, Wt.ADD_TAGS, lt)), Wt.ADD_ATTR && (Ps === eo && (Ps = Gp(Ps)), Va(Ps, Wt.ADD_ATTR, lt)), Wt.ADD_URI_SAFE_ATTR && Va(Qt, Wt.ADD_URI_SAFE_ATTR, lt), Wt.FORBID_CONTENTS && (ue === xe && (ue = Gp(ue)), Va(ue, Wt.FORBID_CONTENTS, lt)), W && (Sa["#text"] = !0), Hc && Va(Sa, [
41579
41579
  "html",
41580
41580
  "head",
41581
41581
  "body"
@@ -52281,8 +52281,8 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
52281
52281
  Bn(R, (dn) => Bo(l, dn)), Or(l, k);
52282
52282
  }, W = nu(l), { toSet: ne, toRemove: ce } = A1(n.styles, W), ue = () => {
52283
52283
  Bn(ce, (dn) => zo(l, dn)), Ka(l, ne);
52284
- }, xe = Tm(l), Ge = Br(xe, n.classes), Tt = Br(n.classes, xe), Qt = () => {
52285
- zs(l, Tt), vl(l, Ge);
52284
+ }, xe = Tm(l), Ge = Br(xe, n.classes), Ot = Br(n.classes, xe), Qt = () => {
52285
+ zs(l, Ot), vl(l, Ge);
52286
52286
  }, On = (dn) => {
52287
52287
  tv(l, dn);
52288
52288
  }, Nt = () => {
@@ -52336,7 +52336,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
52336
52336
  p.set(Pn);
52337
52337
  }, Ge = () => {
52338
52338
  p.set(d_(u));
52339
- }, Tt = () => {
52339
+ }, Ot = () => {
52340
52340
  const Pn = $n(ne), un = en(Pn, (Wn) => p.get().getByDom(Wn).fold(() => [], Ra));
52341
52341
  ue.set(un);
52342
52342
  }, Qt = (Pn) => {
@@ -52355,7 +52355,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(pn(l, (u) => u.name),
52355
52355
  connect: xe,
52356
52356
  disconnect: Ge,
52357
52357
  element: ne,
52358
- syncComponents: Tt,
52358
+ syncComponents: Ot,
52359
52359
  components: ue.get,
52360
52360
  events: ce
52361
52361
  };
@@ -52851,8 +52851,8 @@ Receiver: ` + $m(l.element), ne, k.data);
52851
52851
  ]
52852
52852
  }
52853
52853
  ]), lO = (n, l, u, p, w, k) => {
52854
- const R = l.rect, q = R.x - u, W = R.y - p, ne = R.width, ce = R.height, ue = w - (q + ne), xe = k - (W + ce), Ge = F.some(q), Tt = F.some(W), Qt = F.some(ue), On = F.some(xe), Nt = F.none();
52855
- return XT(l.direction, () => yu(n, Ge, Tt, Nt, Nt), () => yu(n, Nt, Tt, Qt, Nt), () => yu(n, Ge, Nt, Nt, On), () => yu(n, Nt, Nt, Qt, On), () => yu(n, Ge, Tt, Nt, Nt), () => yu(n, Ge, Nt, Nt, On), () => yu(n, Ge, Tt, Nt, Nt), () => yu(n, Nt, Tt, Qt, Nt));
52854
+ const R = l.rect, q = R.x - u, W = R.y - p, ne = R.width, ce = R.height, ue = w - (q + ne), xe = k - (W + ce), Ge = F.some(q), Ot = F.some(W), Qt = F.some(ue), On = F.some(xe), Nt = F.none();
52855
+ return XT(l.direction, () => yu(n, Ge, Ot, Nt, Nt), () => yu(n, Nt, Ot, Qt, Nt), () => yu(n, Ge, Nt, Nt, On), () => yu(n, Nt, Nt, Qt, On), () => yu(n, Ge, Ot, Nt, Nt), () => yu(n, Ge, Nt, Nt, On), () => yu(n, Ge, Ot, Nt, Nt), () => yu(n, Nt, Ot, Qt, Nt));
52856
52856
  }, Pl = (n, l) => n.fold(() => {
52857
52857
  const u = l.rect;
52858
52858
  return yu("absolute", F.some(u.x), F.some(u.y), F.none(), F.none());
@@ -52893,16 +52893,16 @@ Receiver: ` + $m(l.element), ne, k.data);
52893
52893
  ]
52894
52894
  }
52895
52895
  ]), YP = (n, l) => {
52896
- const { x: u, y: p, right: w, bottom: k } = l, { x: R, y: q, right: W, bottom: ne, width: ce, height: ue } = n, xe = R >= u && R <= w, Ge = q >= p && q <= k, Tt = xe && Ge, Qt = W <= w && W >= u, On = ne <= k && ne >= p, Nt = Qt && On, Ct = Math.min(ce, R >= u ? w - R : W - u), dn = Math.min(ue, q >= p ? k - q : ne - p);
52896
+ const { x: u, y: p, right: w, bottom: k } = l, { x: R, y: q, right: W, bottom: ne, width: ce, height: ue } = n, xe = R >= u && R <= w, Ge = q >= p && q <= k, Ot = xe && Ge, Qt = W <= w && W >= u, On = ne <= k && ne >= p, Nt = Qt && On, Ct = Math.min(ce, R >= u ? w - R : W - u), dn = Math.min(ue, q >= p ? k - q : ne - p);
52897
52897
  return {
52898
- originInBounds: Tt,
52898
+ originInBounds: Ot,
52899
52899
  sizeInBounds: Nt,
52900
52900
  visibleW: Ct,
52901
52901
  visibleH: dn
52902
52902
  };
52903
52903
  }, eM = (n, l) => {
52904
- const { x: u, y: p, right: w, bottom: k } = l, { x: R, y: q, width: W, height: ne } = n, ce = Math.max(u, w - W), ue = Math.max(p, k - ne), xe = Wd(R, u, ce), Ge = Wd(q, p, ue), Tt = Math.min(xe + W, w) - xe, Qt = Math.min(Ge + ne, k) - Ge;
52905
- return Hs(xe, Ge, Tt, Qt);
52904
+ const { x: u, y: p, right: w, bottom: k } = l, { x: R, y: q, width: W, height: ne } = n, ce = Math.max(u, w - W), ue = Math.max(p, k - ne), xe = Wd(R, u, ce), Ge = Wd(q, p, ue), Ot = Math.min(xe + W, w) - xe, Qt = Math.min(Ge + ne, k) - Ge;
52905
+ return Hs(xe, Ge, Ot, Qt);
52906
52906
  }, R_ = (n, l, u) => {
52907
52907
  const p = Ce(l.bottom - u.y), w = Ce(u.bottom - l.y), k = Op(n, w, w, p), R = Ce(l.right - u.x), q = Ce(u.right - l.x);
52908
52908
  return {
@@ -52910,7 +52910,7 @@ Receiver: ` + $m(l.element), ne, k.data);
52910
52910
  maxHeight: k
52911
52911
  };
52912
52912
  }, Ci = (n, l, u, p) => {
52913
- const w = n.bubble, k = w.offset, R = YT(p, n.restriction, k), q = n.x + k.left, W = n.y + k.top, ne = Hs(q, W, l, u), { originInBounds: ce, sizeInBounds: ue, visibleW: xe, visibleH: Ge } = YP(ne, R), Tt = ce && ue, Qt = Tt ? ne : eM(ne, R), On = Qt.width > 0 && Qt.height > 0, { maxWidth: Nt, maxHeight: Ct } = R_(n.direction, Qt, p), dn = {
52913
+ const w = n.bubble, k = w.offset, R = YT(p, n.restriction, k), q = n.x + k.left, W = n.y + k.top, ne = Hs(q, W, l, u), { originInBounds: ce, sizeInBounds: ue, visibleW: xe, visibleH: Ge } = YP(ne, R), Ot = ce && ue, Qt = Ot ? ne : eM(ne, R), On = Qt.width > 0 && Qt.height > 0, { maxWidth: Nt, maxHeight: Ct } = R_(n.direction, Qt, p), dn = {
52914
52914
  rect: Qt,
52915
52915
  maxHeight: Ct,
52916
52916
  maxWidth: Nt,
@@ -52923,10 +52923,10 @@ Receiver: ` + $m(l.element), ne, k.data);
52923
52923
  layout: n.label,
52924
52924
  testY: W
52925
52925
  };
52926
- return Tt || n.alwaysFit ? O_.fit(dn) : O_.nofit(dn, xe, Ge, On);
52926
+ return Ot || n.alwaysFit ? O_.fit(dn) : O_.nofit(dn, xe, Ge, On);
52927
52927
  }, hO = (n, l, u, p, w, k) => {
52928
52928
  const R = p.width, q = p.height, W = (ne, ce, ue, xe, Ge) => {
52929
- const Tt = ne(u, p, w, n, k), Qt = Ci(Tt, R, q, k);
52929
+ const Ot = ne(u, p, w, n, k), Qt = Ci(Ot, R, q, k);
52930
52930
  return Qt.fold(Ce(Qt), (On, Nt, Ct, dn) => (Ge === dn ? Ct > xe || Nt > ue : !Ge && dn) ? Qt : O_.nofit(ce, ue, xe, Ge));
52931
52931
  };
52932
52932
  return so(l, (ne, ce) => {
@@ -53585,8 +53585,8 @@ Receiver: ` + $m(l.element), ne, k.data);
53585
53585
  tn(W, "visibility", "hidden");
53586
53586
  const ue = l.useFixed() ? z_() : cl(n);
53587
53587
  q.placement(n, q, ue).each((xe) => {
53588
- const Ge = k.orThunk(() => l.getBounds.map(gt)), Tt = xM(ue, xe, Ge, p, ne, R.transition);
53589
- u.set(p.uid, Tt);
53588
+ const Ge = k.orThunk(() => l.getBounds.map(gt)), Ot = xM(ue, xe, Ge, p, ne, R.transition);
53589
+ u.set(p.uid, Ot);
53590
53590
  }), ce.fold(() => {
53591
53591
  zo(W, "visibility");
53592
53592
  }, (xe) => {
@@ -54475,29 +54475,29 @@ Components: ` + JSON.stringify(l.components, null, 2));
54475
54475
  La("sendFocusIn", w)
54476
54476
  ]), R = (W, ne, ce, ue, xe) => {
54477
54477
  const Ge = ce(W, ne, ue, xe);
54478
- return wt(Ge, ne.event).bind((Tt) => Tt(W, ne, ue, xe));
54478
+ return wt(Ge, ne.event).bind((Ot) => Ot(W, ne, ue, xe));
54479
54479
  }, q = {
54480
54480
  schema: k,
54481
54481
  processKey: R,
54482
54482
  toEvents: (W, ne) => {
54483
- const ce = W.focusInside !== yr.OnFocusMode ? F.none() : w(W).map((Ge) => In(Dc(), (Tt, Qt) => {
54484
- Ge(Tt, W, ne), Qt.stop();
54485
- })), ue = (Ge, Tt) => {
54486
- const Qt = A(gd.concat(Hm))(Tt.event);
54487
- W.focusInside === yr.OnEnterOrSpaceMode && Qt && BC(Ge, Tt) && w(W).each((On) => {
54488
- On(Ge, W, ne), Tt.stop();
54483
+ const ce = W.focusInside !== yr.OnFocusMode ? F.none() : w(W).map((Ge) => In(Dc(), (Ot, Qt) => {
54484
+ Ge(Ot, W, ne), Qt.stop();
54485
+ })), ue = (Ge, Ot) => {
54486
+ const Qt = A(gd.concat(Hm))(Ot.event);
54487
+ W.focusInside === yr.OnEnterOrSpaceMode && Qt && BC(Ge, Ot) && w(W).each((On) => {
54488
+ On(Ge, W, ne), Ot.stop();
54489
54489
  });
54490
54490
  }, xe = [
54491
- In(pu(), (Ge, Tt) => {
54492
- R(Ge, Tt, u, W, ne).fold(() => {
54493
- ue(Ge, Tt);
54491
+ In(pu(), (Ge, Ot) => {
54492
+ R(Ge, Ot, u, W, ne).fold(() => {
54493
+ ue(Ge, Ot);
54494
54494
  }, (Qt) => {
54495
- Tt.stop();
54495
+ Ot.stop();
54496
54496
  });
54497
54497
  }),
54498
- In(SP(), (Ge, Tt) => {
54499
- R(Ge, Tt, p, W, ne).each((Qt) => {
54500
- Tt.stop();
54498
+ In(SP(), (Ge, Ot) => {
54499
+ R(Ge, Ot, p, W, ne).each((Qt) => {
54500
+ Ot.stop();
54501
54501
  });
54502
54502
  })
54503
54503
  ];
@@ -54534,7 +54534,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
54534
54534
  }, ce = (Nt, Ct, dn) => {
54535
54535
  const Pn = dn.cyclic ? b : _;
54536
54536
  return W(Nt, Ct, dn, Pn);
54537
- }, ue = (Nt) => Ol(Nt).bind(io).exists((Ct) => ua(Ct, Nt)), xe = (Nt, Ct, dn) => w(Nt, dn).filter((Pn) => !dn.useTabstopAt(Pn)).bind((Pn) => (ue(Pn) ? ne : ce)(Nt, Ct, dn)), Ge = (Nt, Ct, dn) => dn.onEnter.bind((Pn) => Pn(Nt, Ct)), Tt = (Nt, Ct, dn) => dn.onEscape.bind((Pn) => Pn(Nt, Ct)), Qt = Ce([
54537
+ }, ue = (Nt) => Ol(Nt).bind(io).exists((Ct) => ua(Ct, Nt)), xe = (Nt, Ct, dn) => w(Nt, dn).filter((Pn) => !dn.useTabstopAt(Pn)).bind((Pn) => (ue(Pn) ? ne : ce)(Nt, Ct, dn)), Ge = (Nt, Ct, dn) => dn.onEnter.bind((Pn) => Pn(Nt, Ct)), Ot = (Nt, Ct, dn) => dn.onEscape.bind((Pn) => Pn(Nt, Ct)), Qt = Ce([
54538
54538
  je(P([
54539
54539
  G,
54540
54540
  A(Vp)
@@ -54545,7 +54545,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
54545
54545
  A(Hm)
54546
54546
  ]), Ge)
54547
54547
  ]), On = Ce([
54548
- je(A(aw), Tt),
54548
+ je(A(aw), Ot),
54549
54549
  je(A(Vp), xe)
54550
54550
  ]);
54551
54551
  return tr(l, eh.init, Qt, On, () => F.some(R));
@@ -55431,12 +55431,12 @@ Components: ` + JSON.stringify(l.components, null, 2));
55431
55431
  return [
55432
55432
  dn
55433
55433
  ].concat(Pn);
55434
- }), Ge = (Ct) => lr(u.get(), Ct).bind((dn) => dn.length > 1 ? F.some(dn.slice(1)) : F.none()), Tt = (Ct) => lr(u.get(), Ct), Qt = (Ct) => On(Ct).bind(x5), On = (Ct) => lr(l.get(), Ct), Nt = (Ct) => lr(n.get(), Ct);
55434
+ }), Ge = (Ct) => lr(u.get(), Ct).bind((dn) => dn.length > 1 ? F.some(dn.slice(1)) : F.none()), Ot = (Ct) => lr(u.get(), Ct), Qt = (Ct) => On(Ct).bind(x5), On = (Ct) => lr(l.get(), Ct), Nt = (Ct) => lr(n.get(), Ct);
55435
55435
  return {
55436
55436
  setMenuBuilt: q,
55437
55437
  setContents: W,
55438
55438
  expand: xe,
55439
- refresh: Tt,
55439
+ refresh: Ot,
55440
55440
  collapse: Ge,
55441
55441
  lookupMenu: On,
55442
55442
  lookupItem: Nt,
@@ -55515,7 +55515,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
55515
55515
  Xn[ta] = fa;
55516
55516
  });
55517
55517
  }), u.set(Xn), Xn;
55518
- }), Tt = (kn, Xn) => {
55518
+ }), Ot = (kn, Xn) => {
55519
55519
  const ur = Ge(kn);
55520
55520
  is(ur, (qr, Do) => {
55521
55521
  const fa = $r(Xn, Do);
@@ -55548,17 +55548,17 @@ Components: ` + JSON.stringify(l.components, null, 2));
55548
55548
  return F.some(Xn);
55549
55549
  {
55550
55550
  const qr = R(Xn);
55551
- return w.expand(qr).bind((Do) => (Tt(kn, Do), F.from(Do[0]).bind((fa) => w.lookupMenu(fa).bind((ta) => {
55551
+ return w.expand(qr).bind((Do) => (Ot(kn, Do), F.from(Do[0]).bind((fa) => w.lookupMenu(fa).bind((ta) => {
55552
55552
  const os = Nt(kn, fa, ta);
55553
55553
  return Mi(os.element) || uo.append(kn, bu(os)), n.onOpenSubmenu(kn, Xn, os, xs(Do)), ur === On.HighlightSubmenu ? (Yo.highlightFirst(os), Qt(kn, w, Do)) : (Yo.dehighlightAll(os), F.some(Xn));
55554
55554
  }))));
55555
55555
  }
55556
55556
  }, dn = (kn, Xn) => {
55557
55557
  const ur = R(Xn);
55558
- return w.collapse(ur).bind((qr) => (Tt(kn, qr), Qt(kn, w, qr).map((Do) => (n.onCollapseMenu(kn, Xn, Do), Do))));
55558
+ return w.collapse(ur).bind((qr) => (Ot(kn, qr), Qt(kn, w, qr).map((Do) => (n.onCollapseMenu(kn, Xn, Do), Do))));
55559
55559
  }, Pn = (kn, Xn) => {
55560
55560
  const ur = R(Xn);
55561
- return w.refresh(ur).bind((qr) => (Tt(kn, qr), Qt(kn, w, qr)));
55561
+ return w.refresh(ur).bind((qr) => (Ot(kn, qr), Qt(kn, w, qr)));
55562
55562
  }, un = (kn, Xn) => Wv(Xn.element) ? F.none() : Ct(kn, Xn, On.HighlightSubmenu), Wn = (kn, Xn) => Wv(Xn.element) ? F.none() : dn(kn, Xn), mr = (kn, Xn) => dn(kn, Xn).orThunk(() => n.onEscape(kn, Xn).map(() => kn)), Nr = (kn) => (Xn, ur) => rh(ur.getSource(), `.${n.markers.item}`).bind((qr) => Xn.getSystem().getByDom(qr).toOptional().bind((Do) => kn(Xn, Do).map(Et))), Co = Ia([
55563
55563
  In(kH(), (kn, Xn) => {
55564
55564
  const ur = Xn.event.item;
@@ -55744,34 +55744,34 @@ Components: ` + JSON.stringify(l.components, null, 2));
55744
55744
  onRepositionMenu: (ne, ce, ue) => {
55745
55745
  const xe = k().getOrDie();
55746
55746
  Ml.positionWithinBounds(xe, ce, u, w()), Bn(ue, (Ge) => {
55747
- const Tt = W(Ge.triggeringPath);
55747
+ const Ot = W(Ge.triggeringPath);
55748
55748
  Ml.position(xe, Ge.triggeredMenu, {
55749
55749
  anchor: {
55750
55750
  type: "submenu",
55751
55751
  item: Ge.triggeringItem,
55752
- ...Tt
55752
+ ...Ot
55753
55753
  }
55754
55754
  });
55755
55755
  });
55756
55756
  }
55757
55757
  });
55758
55758
  }, RH = (n, l) => {
55759
- const u = (xe, Ge) => n.getRelated(xe).exists((Tt) => $p(Tt, Ge)), p = (xe, Ge) => {
55759
+ const u = (xe, Ge) => n.getRelated(xe).exists((Ot) => $p(Ot, Ge)), p = (xe, Ge) => {
55760
55760
  Fo.setContent(xe, Ge);
55761
- }, w = (xe, Ge, Tt) => {
55761
+ }, w = (xe, Ge, Ot) => {
55762
55762
  const Qt = F.none;
55763
- k(xe, Ge, Tt, Qt);
55764
- }, k = (xe, Ge, Tt, Qt) => {
55763
+ k(xe, Ge, Ot, Qt);
55764
+ }, k = (xe, Ge, Ot, Qt) => {
55765
55765
  const On = n.lazySink(xe).getOrDie();
55766
- Fo.openWhileCloaked(xe, Ge, () => Ml.positionWithinBounds(On, xe, Tt, Qt())), gr.setValue(xe, F.some({
55766
+ Fo.openWhileCloaked(xe, Ge, () => Ml.positionWithinBounds(On, xe, Ot, Qt())), gr.setValue(xe, F.some({
55767
55767
  mode: "position",
55768
- config: Tt,
55768
+ config: Ot,
55769
55769
  getBounds: Qt
55770
55770
  }));
55771
- }, R = (xe, Ge, Tt) => {
55772
- q(xe, Ge, Tt, F.none);
55773
- }, q = (xe, Ge, Tt, Qt) => {
55774
- const On = Mne(n, xe, Ge, Tt, Qt);
55771
+ }, R = (xe, Ge, Ot) => {
55772
+ q(xe, Ge, Ot, F.none);
55773
+ }, q = (xe, Ge, Ot, Qt) => {
55774
+ const On = Mne(n, xe, Ge, Ot, Qt);
55775
55775
  Fo.open(xe, On), gr.setValue(xe, F.some({
55776
55776
  mode: "menu",
55777
55777
  menu: On
@@ -55785,8 +55785,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
55785
55785
  Fo.getState(xe).each(dw.repositionMenus);
55786
55786
  break;
55787
55787
  case "position":
55788
- const Tt = n.lazySink(xe).getOrDie();
55789
- Ml.positionWithinBounds(Tt, xe, Ge.config, Ge.getBounds());
55788
+ const Ot = n.lazySink(xe).getOrDie();
55789
+ Ml.positionWithinBounds(Ot, xe, Ge.config, Ge.getBounds());
55790
55790
  break;
55791
55791
  }
55792
55792
  });
@@ -55806,7 +55806,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
55806
55806
  dom: n.dom,
55807
55807
  behaviours: Ei(n.inlineBehaviours, [
55808
55808
  Fo.config({
55809
- isPartOf: (xe, Ge, Tt) => $p(Ge, Tt) || u(xe, Tt),
55809
+ isPartOf: (xe, Ge, Ot) => $p(Ge, Ot) || u(xe, Ot),
55810
55810
  getAttachPoint: (xe) => n.lazySink(xe).getOrDie(),
55811
55811
  onOpen: (xe) => {
55812
55812
  n.onShow(xe);
@@ -56706,7 +56706,7 @@ Components: ` + JSON.stringify(l.components, null, 2));
56706
56706
  if (l.version = "3.1.7", l.removed = [], !n || !n.document || n.document.nodeType !== px.document)
56707
56707
  return l.isSupported = !1, l;
56708
56708
  let { document: u } = n;
56709
- const p = u, w = p.currentScript, { DocumentFragment: k, HTMLTemplateElement: R, Node: q, Element: W, NodeFilter: ne, NamedNodeMap: ce = n.NamedNodeMap || n.MozNamedAttrMap, HTMLFormElement: ue, DOMParser: xe, trustedTypes: Ge } = n, Tt = W.prototype, Qt = Bk(Tt, "cloneNode"), On = Bk(Tt, "remove"), Nt = Bk(Tt, "nextSibling"), Ct = Bk(Tt, "childNodes"), dn = Bk(Tt, "parentNode");
56709
+ const p = u, w = p.currentScript, { DocumentFragment: k, HTMLTemplateElement: R, Node: q, Element: W, NodeFilter: ne, NamedNodeMap: ce = n.NamedNodeMap || n.MozNamedAttrMap, HTMLFormElement: ue, DOMParser: xe, trustedTypes: Ge } = n, Ot = W.prototype, Qt = Bk(Ot, "cloneNode"), On = Bk(Ot, "remove"), Nt = Bk(Ot, "nextSibling"), Ct = Bk(Ot, "childNodes"), dn = Bk(Ot, "parentNode");
56710
56710
  if (typeof R == "function") {
56711
56711
  const Xt = u.createElement("template");
56712
56712
  Xt.content && Xt.content.ownerDocument && (u = Xt.content.ownerDocument);
@@ -57400,16 +57400,16 @@ Components: ` + JSON.stringify(l.components, null, 2));
57400
57400
  maxHeightFunction: fb()
57401
57401
  }, Ge = n.notificationManager.getNotifications();
57402
57402
  if (Ge[0] === ce) {
57403
- const Tt = {
57403
+ const Ot = {
57404
57404
  ...p.anchors.banner(),
57405
57405
  overrides: xe
57406
57406
  };
57407
57407
  rs.showWithinBounds(ne, ue, {
57408
- anchor: Tt
57408
+ anchor: Ot
57409
57409
  }, w);
57410
57410
  } else
57411
- Mt(Ge, ce).each((Tt) => {
57412
- const Qt = Ge[Tt - 1].getEl(), On = {
57411
+ Mt(Ge, ce).each((Ot) => {
57412
+ const Qt = Ge[Ot - 1].getEl(), On = {
57413
57413
  type: "node",
57414
57414
  root: he(),
57415
57415
  node: F.some(Zn.fromDom(Qt)),
@@ -59703,8 +59703,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
59703
59703
  }), Fo.decloak(w);
59704
59704
  },
59705
59705
  onOpenSubmenu: (ue, xe, Ge) => {
59706
- const Tt = W().getOrDie();
59707
- Ml.position(Tt, Ge, {
59706
+ const Ot = W().getOrDie();
59707
+ Ml.position(Ot, Ge, {
59708
59708
  anchor: {
59709
59709
  type: "submenu",
59710
59710
  item: xe
@@ -59712,11 +59712,11 @@ Components: ` + JSON.stringify(l.components, null, 2));
59712
59712
  }), Fo.decloak(w);
59713
59713
  },
59714
59714
  onRepositionMenu: (ue, xe, Ge) => {
59715
- const Tt = W().getOrDie();
59716
- Ml.position(Tt, xe, {
59715
+ const Ot = W().getOrDie();
59716
+ Ml.position(Ot, xe, {
59717
59717
  anchor: u
59718
59718
  }), Bn(Ge, (Qt) => {
59719
- Ml.position(Tt, Qt.triggeredMenu, {
59719
+ Ml.position(Ot, Qt.triggeredMenu, {
59720
59720
  anchor: {
59721
59721
  type: "submenu",
59722
59722
  item: Qt.triggeringItem
@@ -60092,8 +60092,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
60092
60092
  }), ne().each(Yo.highlightFirst);
60093
60093
  }, Ge = (On) => {
60094
60094
  const Nt = ue(On);
60095
- Nt.length > 0 ? (xe(On, Nt), fn(Zn.fromDom(n.getBody()), "aria-owns", u), n.inline || Tt()) : W();
60096
- }, Tt = () => {
60095
+ Nt.length > 0 ? (xe(On, Nt), fn(Zn.fromDom(n.getBody()), "aria-owns", u), n.inline || Ot()) : W();
60096
+ }, Ot = () => {
60097
60097
  n.dom.get(u) && n.dom.remove(u, !1);
60098
60098
  const On = n.getDoc().documentElement, Nt = n.selection.getNode(), Ct = TT(k.element);
60099
60099
  Ka(Ct, {
@@ -60236,8 +60236,8 @@ Components: ` + JSON.stringify(l.components, null, 2));
60236
60236
  "drop",
60237
60237
  "keyup"
60238
60238
  ]), (xe) => ed(n, xe, (Ge) => {
60239
- w.fireIfReady(Ge, xe).each((Tt) => {
60240
- Tt && Ge.kill();
60239
+ w.fireIfReady(Ge, xe).each((Ot) => {
60240
+ Ot && Ge.kill();
60241
60241
  }), u.triggerEvent(xe, Ge) && Ge.kill();
60242
60242
  })), R = Qa(), q = ed(n, "paste", (xe) => {
60243
60243
  w.fireIfReady(xe, "paste").each((Ge) => {
@@ -60450,7 +60450,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
60450
60450
  Ge(Nt, Ct);
60451
60451
  },
60452
60452
  broadcastEvent: (Nt, Ct) => {
60453
- Tt(Nt, Ct);
60453
+ Ot(Nt, Ct);
60454
60454
  },
60455
60455
  isConnected: Et
60456
60456
  }, R = (Nt) => {
@@ -60482,7 +60482,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
60482
60482
  channels: Nt,
60483
60483
  data: Ct
60484
60484
  });
60485
- }, Tt = (Nt, Ct) => {
60485
+ }, Ot = (Nt, Ct) => {
60486
60486
  const dn = u.filter(Nt);
60487
60487
  return tae(dn, Ct);
60488
60488
  }, Qt = (Nt) => u.getById(Nt).fold(() => mo.error(new Error('Could not find component with uid: "' + Nt + '" in system.')), mo.value), On = (Nt) => {
@@ -60501,7 +60501,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
60501
60501
  removeFromWorld: q,
60502
60502
  broadcast: xe,
60503
60503
  broadcastOn: Ge,
60504
- broadcastEvent: Tt
60504
+ broadcastEvent: Ot
60505
60505
  };
60506
60506
  }, aae = (n, l) => ({
60507
60507
  dom: {
@@ -60662,44 +60662,44 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
60662
60662
  const p = n.label.map((xe) => l0(xe, l)), w = l.icons(), k = (xe) => {
60663
60663
  var Ge;
60664
60664
  return (Ge = w[xe]) !== null && Ge !== void 0 ? Ge : xe;
60665
- }, R = (xe) => (Ge, Tt) => {
60666
- rh(Tt.event.target, "[data-collection-item-value]").each((Qt) => {
60667
- xe(Ge, Tt, Qt, Zr(Qt, "data-collection-item-value"));
60665
+ }, R = (xe) => (Ge, Ot) => {
60666
+ rh(Ot.event.target, "[data-collection-item-value]").each((Qt) => {
60667
+ xe(Ge, Ot, Qt, Zr(Qt, "data-collection-item-value"));
60668
60668
  });
60669
60669
  }, q = (xe, Ge) => {
60670
- const Tt = pn(Ge, (Nt) => {
60670
+ const Ot = pn(Ge, (Nt) => {
60671
60671
  const Ct = ku.translate(Nt.text), dn = n.columns === 1 ? `<div class="tox-collection__item-label">${Ct}</div>` : "", Pn = `<div class="tox-collection__item-icon">${k(Nt.icon)}</div>`, un = {
60672
60672
  _: " ",
60673
60673
  " - ": " ",
60674
60674
  "-": " "
60675
60675
  }, Wn = Ct.replace(/\_| \- |\-/g, (mr) => un[mr]);
60676
60676
  return `<div class="tox-collection__item${l.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${lae.encodeAllRaw(Nt.value)}" title="${Wn}" aria-label="${Wn}">${Pn}${dn}</div>`;
60677
- }), Qt = n.columns !== "auto" && n.columns > 1 ? Tr(Tt, n.columns) : [
60678
- Tt
60677
+ }), Qt = n.columns !== "auto" && n.columns > 1 ? Tr(Ot, n.columns) : [
60678
+ Ot
60679
60679
  ], On = pn(Qt, (Nt) => `<div class="tox-collection__group">${Nt.join("")}</div>`);
60680
60680
  tv(xe.element, On.join(""));
60681
- }, W = R((xe, Ge, Tt, Qt) => {
60681
+ }, W = R((xe, Ge, Ot, Qt) => {
60682
60682
  Ge.stop(), l.isDisabled() || Vr(xe, Jp, {
60683
60683
  name: n.name,
60684
60684
  value: Qt
60685
60685
  });
60686
60686
  }), ne = [
60687
- In(dc(), R((xe, Ge, Tt) => {
60688
- pr(Tt);
60687
+ In(dc(), R((xe, Ge, Ot) => {
60688
+ pr(Ot);
60689
60689
  })),
60690
60690
  In(Pf(), W),
60691
60691
  In(p1(), W),
60692
- In(ol(), R((xe, Ge, Tt) => {
60692
+ In(ol(), R((xe, Ge, Ot) => {
60693
60693
  ns(xe.element, "." + Yk).each((Qt) => {
60694
60694
  gs(Qt, Yk);
60695
- }), yo(Tt, Yk);
60695
+ }), yo(Ot, Yk);
60696
60696
  })),
60697
60697
  In(VC(), R((xe) => {
60698
60698
  ns(xe.element, "." + Yk).each((Ge) => {
60699
60699
  gs(Ge, Yk);
60700
60700
  });
60701
60701
  })),
60702
- Lc(R((xe, Ge, Tt, Qt) => {
60702
+ Lc(R((xe, Ge, Ot, Qt) => {
60703
60703
  Vr(xe, Jp, {
60704
60704
  name: n.name,
60705
60705
  value: Qt
@@ -60742,8 +60742,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
60742
60742
  initialValue: u.getOr([])
60743
60743
  },
60744
60744
  onSetValue: (xe, Ge) => {
60745
- q(xe, Ge), n.columns === "auto" && KR(xe, 5, "tox-collection__item").each(({ numRows: Tt, numColumns: Qt }) => {
60746
- Ur.setGridSize(xe, Tt, Qt);
60745
+ q(xe, Ge), n.columns === "auto" && KR(xe, 5, "tox-collection__item").each(({ numRows: Ot, numColumns: Qt }) => {
60746
+ Ur.setGridSize(xe, Ot, Qt);
60747
60747
  }), la(xe, aW);
60748
60748
  }
60749
60749
  }),
@@ -61132,13 +61132,13 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61132
61132
  const R = (n - k) % p, q = Math.round(R / p), W = Math.floor((n - k) / p), ne = Math.floor((u - k) / p), ce = Math.min(ne, W + q), ue = k + ce * p;
61133
61133
  return Math.max(k, ue);
61134
61134
  }), qae = (n, l, u) => Math.min(u, Math.max(n, l)) - l, E2 = (n) => {
61135
- const { min: l, max: u, range: p, value: w, step: k, snap: R, snapStart: q, rounded: W, hasMinEdge: ne, hasMaxEdge: ce, minBound: ue, maxBound: xe, screenRange: Ge } = n, Tt = ne ? l - 1 : l, Qt = ce ? u + 1 : u;
61135
+ const { min: l, max: u, range: p, value: w, step: k, snap: R, snapStart: q, rounded: W, hasMinEdge: ne, hasMaxEdge: ce, minBound: ue, maxBound: xe, screenRange: Ge } = n, Ot = ne ? l - 1 : l, Qt = ce ? u + 1 : u;
61136
61136
  if (w < ue)
61137
- return Tt;
61137
+ return Ot;
61138
61138
  if (w > xe)
61139
61139
  return Qt;
61140
61140
  {
61141
- const On = qae(w, ue, xe), Nt = xW(On / Ge * p + l, Tt, Qt);
61141
+ const On = qae(w, ue, xe), Nt = xW(On / Ge * p + l, Ot, Qt);
61142
61142
  return R && Nt >= l && Nt <= u ? jae(Nt, l, u, k, q) : W ? Math.round(Nt) : Nt;
61143
61143
  }
61144
61144
  }, mh = (n) => {
@@ -61432,7 +61432,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61432
61432
  ce.value.set(Wn);
61433
61433
  const mr = w(un);
61434
61434
  xe(un, mr);
61435
- }, Tt = (un, Wn) => {
61435
+ }, Ot = (un, Wn) => {
61436
61436
  Ge(un, Wn);
61437
61437
  const mr = w(un);
61438
61438
  return n.onChange(un, mr, Wn), F.some(!0);
@@ -61481,7 +61481,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61481
61481
  ]),
61482
61482
  events: Ia([
61483
61483
  In(_2(), (un, Wn) => {
61484
- Tt(un, Wn.event.value);
61484
+ Ot(un, Wn.event.value);
61485
61485
  }),
61486
61486
  us((un, Wn) => {
61487
61487
  const mr = ce.getInitialValue();
@@ -61651,12 +61651,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61651
61651
  },
61652
61652
  validator: {
61653
61653
  validate: (xe) => {
61654
- const Ge = gr.getValue(xe), Tt = ue(Ge) ? mo.value(!0) : mo.error(n("aria.input.invalid"));
61655
- return Cl.pure(Tt);
61654
+ const Ge = gr.getValue(xe), Ot = ue(Ge) ? mo.value(!0) : mo.error(n("aria.input.invalid"));
61655
+ return Cl.pure(Ot);
61656
61656
  },
61657
61657
  validateOnLoad: !1
61658
61658
  }
61659
- }), k = (ce, ue, xe, Ge, Tt) => {
61659
+ }), k = (ce, ue, xe, Ge, Ot) => {
61660
61660
  const Qt = n(Aq + "range"), On = _a.parts.label({
61661
61661
  dom: {
61662
61662
  tag: "label",
@@ -61668,7 +61668,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61668
61668
  Us(xe)
61669
61669
  ]
61670
61670
  }), Nt = _a.parts.field({
61671
- data: Tt,
61671
+ data: Ot,
61672
61672
  factory: gw,
61673
61673
  inputAttributes: {
61674
61674
  type: "text",
@@ -61711,11 +61711,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61711
61711
  });
61712
61712
  }), xe;
61713
61713
  }, q = (ce, ue) => {
61714
- const xe = ue.red, Ge = ue.green, Tt = ue.blue;
61714
+ const xe = ue.red, Ge = ue.green, Ot = ue.blue;
61715
61715
  gr.setValue(ce, {
61716
61716
  red: xe,
61717
61717
  green: Ge,
61718
- blue: Tt
61718
+ blue: Ot
61719
61719
  });
61720
61720
  }, W = Na({
61721
61721
  dom: {
@@ -61747,7 +61747,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61747
61747
  q(ht, on), Qt(on);
61748
61748
  }, xe = (ht) => ce[ht].get(), Ge = (ht, lt) => {
61749
61749
  ce[ht].set(lt);
61750
- }, Tt = () => xe("red").bind((ht) => xe("green").bind((lt) => xe("blue").map((on) => dg(ht, lt, on, 1)))), Qt = (ht) => {
61750
+ }, Ot = () => xe("red").bind((ht) => xe("green").bind((lt) => xe("blue").map((on) => dg(ht, lt, on, 1)))), Qt = (ht) => {
61751
61751
  const lt = ht.red, on = ht.green, An = ht.blue;
61752
61752
  Ge("red", F.some(lt)), Ge("green", F.some(on)), Ge("blue", F.some(An));
61753
61753
  }, On = (ht, lt) => {
@@ -61763,7 +61763,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61763
61763
  }), ne(ht, on);
61764
61764
  }, Ct = (ht, lt, on) => {
61765
61765
  const An = parseInt(on, 10);
61766
- Ge(lt, F.some(An)), Tt().each((_r) => {
61766
+ Ge(lt, F.some(An)), Ot().each((_r) => {
61767
61767
  const kn = R(ht, _r);
61768
61768
  Vr(ht, ED, {
61769
61769
  hex: kn
@@ -61872,16 +61872,16 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61872
61872
  const W = Ce({
61873
61873
  x: 0,
61874
61874
  y: 0
61875
- }), ne = (xe, Ge, Tt) => {
61876
- cn(Tt) || fn(xe.element, "aria-valuetext", n([
61875
+ }), ne = (xe, Ge, Ot) => {
61876
+ cn(Ot) || fn(xe.element, "aria-valuetext", n([
61877
61877
  "Saturation {0}%, Brightness {1}%",
61878
- Math.floor(Tt.x),
61879
- Math.floor(100 - Tt.y)
61878
+ Math.floor(Ot.x),
61879
+ Math.floor(100 - Ot.y)
61880
61880
  ])), Vr(xe, PW, {
61881
- value: Tt
61881
+ value: Ot
61882
61882
  });
61883
- }, ce = (xe, Ge, Tt, Qt) => {
61884
- w(Tt.element.dom, u2(iU));
61883
+ }, ce = (xe, Ge, Ot, Qt) => {
61884
+ w(Ot.element.dom, u2(iU));
61885
61885
  }, ue = er([
61886
61886
  Wo.config({
61887
61887
  find: F.some
@@ -61942,7 +61942,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61942
61942
  ue.getOpt(un).each((mr) => {
61943
61943
  w.updateHex(mr, Wn);
61944
61944
  });
61945
- }, Tt = (un, Wn, mr) => {
61945
+ }, Ot = (un, Wn, mr) => {
61946
61946
  ne.getOpt(un).each((Nr) => {
61947
61947
  Jm.setValue(Nr, q(mr));
61948
61948
  });
@@ -61977,7 +61977,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
61977
61977
  }, Pn = () => {
61978
61978
  const un = [
61979
61979
  xe,
61980
- Tt,
61980
+ Ot,
61981
61981
  Qt
61982
61982
  ];
61983
61983
  return (Wn, mr) => {
@@ -62113,8 +62113,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
62113
62113
  }, (Ge) => {
62114
62114
  gr.setValue(Ge, {
62115
62115
  hex: ue.getOr("")
62116
- }), Px.getField(Ge, "hex").each((Tt) => {
62117
- la(Tt, Yg());
62116
+ }), Px.getField(Ge, "hex").each((Ot) => {
62117
+ la(Ot, Yg());
62118
62118
  });
62119
62119
  });
62120
62120
  }),
@@ -62165,19 +62165,19 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
62165
62165
  }, GW = (n, l, u) => {
62166
62166
  const p = (xe, Ge) => {
62167
62167
  Ge.stop();
62168
- }, w = (xe) => (Ge, Tt) => {
62168
+ }, w = (xe) => (Ge, Ot) => {
62169
62169
  Bn(xe, (Qt) => {
62170
- Qt(Ge, Tt);
62170
+ Qt(Ge, Ot);
62171
62171
  });
62172
62172
  }, k = (xe, Ge) => {
62173
- var Tt;
62173
+ var Ot;
62174
62174
  if (!Fr.isDisabled(xe)) {
62175
62175
  const Qt = Ge.event.raw;
62176
- q(xe, (Tt = Qt.dataTransfer) === null || Tt === void 0 ? void 0 : Tt.files);
62176
+ q(xe, (Ot = Qt.dataTransfer) === null || Ot === void 0 ? void 0 : Ot.files);
62177
62177
  }
62178
62178
  }, R = (xe, Ge) => {
62179
- const Tt = Ge.event.raw.target;
62180
- q(xe, Tt.files);
62179
+ const Ot = Ge.event.raw.target;
62180
+ q(xe, Ot.files);
62181
62181
  }, q = (xe, Ge) => {
62182
62182
  Ge && (gr.setValue(xe, yse(Ge, l)), Vr(xe, Tu, {
62183
62183
  name: n.name
@@ -62444,9 +62444,9 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
62444
62444
  channels: {
62445
62445
  [D2]: {
62446
62446
  onReceive: (xe, Ge) => {
62447
- Ge.newFocus.each((Tt) => {
62447
+ Ge.newFocus.each((Ot) => {
62448
62448
  Pi(xe.element).each((Qt) => {
62449
- (ua(xe.element, Tt) ? yo : gs)(Qt, "tox-navobj-bordered-focus");
62449
+ (ua(xe.element, Ot) ? yo : gs)(Qt, "tox-navobj-bordered-focus");
62450
62450
  });
62451
62451
  });
62452
62452
  }
@@ -62515,9 +62515,9 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
62515
62515
  };
62516
62516
  ne.zoom.each((xe) => ce.zoom = xe), ne.cachedWidth.each((xe) => ce.cachedWidth = xe), ne.cachedHeight.each((xe) => ce.cachedHeight = xe), u.set(ce);
62517
62517
  const ue = () => {
62518
- const { cachedWidth: xe, cachedHeight: Ge, zoom: Tt } = ce;
62518
+ const { cachedWidth: xe, cachedHeight: Ge, zoom: Ot } = ce;
62519
62519
  if (!Ie(xe) && !Ie(Ge)) {
62520
- if (Ie(Tt)) {
62520
+ if (Ie(Ot)) {
62521
62521
  const On = rG(W.element, xe, Ge);
62522
62522
  ce.zoom = On;
62523
62523
  }
@@ -62529,8 +62529,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
62529
62529
  };
62530
62530
  p.getOpt(W).each((xe) => {
62531
62531
  const Ge = xe.element;
62532
- ne.url !== Zr(Ge, "src") && (fn(Ge, "src", ne.url), gs(W.element, "tox-imagepreview__loaded")), ue(), tG(Ge).then((Tt) => {
62533
- W.getSystem().isConnected() && (yo(W.element, "tox-imagepreview__loaded"), ce.cachedWidth = Tt.dom.naturalWidth, ce.cachedHeight = Tt.dom.naturalHeight, ue());
62532
+ ne.url !== Zr(Ge, "src") && (fn(Ge, "src", ne.url), gs(W.element, "tox-imagepreview__loaded")), ue(), tG(Ge).then((Ot) => {
62533
+ W.getSystem().isConnected() && (yo(W.element, "tox-imagepreview__loaded"), ce.cachedWidth = Ot.dom.naturalWidth, ce.cachedHeight = Ot.dom.naturalHeight, ue());
62534
62534
  });
62535
62535
  });
62536
62536
  }, R = {};
@@ -62753,8 +62753,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
62753
62753
  fakeFocus: n.searchable,
62754
62754
  onHighlightItem: VU,
62755
62755
  onCollapseMenu: (ue, xe, Ge) => {
62756
- Yo.getHighlighted(Ge).each((Tt) => {
62757
- VU(ue, Ge, Tt);
62756
+ Yo.getHighlighted(Ge).each((Ot) => {
62757
+ VU(ue, Ge, Ot);
62758
62758
  });
62759
62759
  },
62760
62760
  onDehighlightItem: cg
@@ -63294,8 +63294,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
63294
63294
  lockClass: "tox-locked"
63295
63295
  },
63296
63296
  onLockedChange: (ue, xe, Ge) => {
63297
- qx(gr.getValue(ue)).each((Tt) => {
63298
- u(Tt).each((Qt) => {
63297
+ qx(gr.getValue(ue)).each((Ot) => {
63298
+ u(Ot).each((Qt) => {
63299
63299
  gr.setValue(xe, Mse(Qt));
63300
63300
  });
63301
63301
  });
@@ -63313,7 +63313,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
63313
63313
  Ti(),
63314
63314
  _o("size-input-events2", [
63315
63315
  In(p, (ue, xe) => {
63316
- const Ge = xe.event.isField1, Tt = Ge ? fh.getField1(ue) : fh.getField2(ue), Qt = Ge ? fh.getField2(ue) : fh.getField1(ue), On = Tt.map(gr.getValue).getOr(""), Nt = Qt.map(gr.getValue).getOr("");
63316
+ const Ge = xe.event.isField1, Ot = Ge ? fh.getField1(ue) : fh.getField2(ue), Qt = Ge ? fh.getField2(ue) : fh.getField1(ue), On = Ot.map(gr.getValue).getOr(""), Nt = Qt.map(gr.getValue).getOr("");
63317
63317
  u = fG(On, Nt);
63318
63318
  })
63319
63319
  ])
@@ -63463,8 +63463,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
63463
63463
  invalidClass: "tox-invalid",
63464
63464
  validator: {
63465
63465
  validate: (Ge) => {
63466
- const Tt = gr.getValue(Ge), Qt = xe.validator(Tt);
63467
- return Cl.pure(Qt === !0 ? mo.value(Tt) : mo.error(Qt));
63466
+ const Ot = gr.getValue(Ge), Qt = xe.validator(Ot);
63467
+ return Cl.pure(Qt === !0 ? mo.value(Ot) : mo.error(Qt));
63468
63468
  },
63469
63469
  validateOnLoad: xe.validateOnLoad
63470
63470
  }
@@ -63812,8 +63812,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
63812
63812
  const ce = ne.event.raw.code === "ArrowLeft", ue = ne.event.raw.code === "ArrowRight";
63813
63813
  ce ? (Mc(W.element, ".tox-tree--directory").each((xe) => {
63814
63814
  W.getSystem().getByDom(xe).each((Ge) => {
63815
- kp(xe, ".tox-tree--directory__label").each((Tt) => {
63816
- Ge.getSystem().getByDom(Tt).each(oo.focus);
63815
+ kp(xe, ".tox-tree--directory__label").each((Ot) => {
63816
+ Ge.getSystem().getByDom(Ot).each(oo.focus);
63817
63817
  });
63818
63818
  });
63819
63819
  }), ne.stop()) : ue && ne.stop();
@@ -63885,8 +63885,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
63885
63885
  ne && u && W.stop(), (ne || ce) && Mc(q.element, ".tox-tree--directory").each((ue) => {
63886
63886
  q.getSystem().getByDom(ue).each((xe) => {
63887
63887
  !Oo.isOn(xe) && ne || Oo.isOn(xe) && ce ? (R(q), W.stop()) : ce && !Oo.isOn(xe) && (Mc(xe.element, ".tox-tree--directory").each((Ge) => {
63888
- kp(Ge, ".tox-tree--directory__label").each((Tt) => {
63889
- xe.getSystem().getByDom(Tt).each(oo.focus);
63888
+ kp(Ge, ".tox-tree--directory__label").each((Ot) => {
63889
+ xe.getSystem().getByDom(Ot).each(oo.focus);
63890
63890
  });
63891
63891
  }), W.stop());
63892
63892
  });
@@ -63981,11 +63981,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
63981
63981
  Oo.set(ue, ce);
63982
63982
  }),
63983
63983
  In("expand-tree-node", (ue, xe) => {
63984
- const { expanded: Ge, node: Tt } = xe.event;
63984
+ const { expanded: Ge, node: Ot } = xe.event;
63985
63985
  W.set(Ge ? [
63986
63986
  ...W.get(),
63987
- Tt
63988
- ] : W.get().filter((Qt) => Qt !== Tt));
63987
+ Ot
63988
+ ] : W.get().filter((Qt) => Qt !== Ot));
63989
63989
  })
63990
63990
  ]),
63991
63991
  Oo.config({
@@ -63996,8 +63996,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
63996
63996
  } : {},
63997
63997
  toggleClass: "tox-tree--directory--expanded",
63998
63998
  onToggled: (ue, xe) => {
63999
- const Ge = ue.components()[1], Tt = ne(xe);
64000
- xe ? Ou.grow(Ge) : Ou.shrink(Ge), uo.set(Ge, Tt);
63999
+ const Ge = ue.components()[1], Ot = ne(xe);
64000
+ xe ? Ou.grow(Ge) : Ou.shrink(Ge), uo.set(Ge, Ot);
64001
64001
  }
64002
64002
  })
64003
64003
  ])
@@ -64140,23 +64140,23 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
64140
64140
  }, Qq = Ce("alloy.typeahead.itemexecute"), tie = (n, l, u, p) => {
64141
64141
  const w = (ue, xe, Ge) => {
64142
64142
  n.previewing.set(!1);
64143
- const Tt = Ws.getCoupled(ue, "sandbox");
64144
- if (Fo.isOpen(Tt))
64145
- Wo.getCurrent(Tt).each((Qt) => {
64143
+ const Ot = Ws.getCoupled(ue, "sandbox");
64144
+ if (Fo.isOpen(Ot))
64145
+ Wo.getCurrent(Ot).each((Qt) => {
64146
64146
  Yo.getHighlighted(Qt).fold(() => {
64147
64147
  Ge(Qt);
64148
64148
  }, () => {
64149
- o_(Tt, Qt.element, "keydown", xe);
64149
+ o_(Ot, Qt.element, "keydown", xe);
64150
64150
  });
64151
64151
  });
64152
64152
  else {
64153
64153
  const Qt = (On) => {
64154
64154
  Wo.getCurrent(On).each(Ge);
64155
64155
  };
64156
- Tx(n, R(ue), ue, Tt, p, Qt, yd.HighlightMenuAndItem).get(qe);
64156
+ Tx(n, R(ue), ue, Ot, p, Qt, yd.HighlightMenuAndItem).get(qe);
64157
64157
  }
64158
64158
  }, k = yz(n), R = (ue) => (xe) => xe.map((Ge) => {
64159
- const Tt = Ad(Ge.menus), Qt = en(Tt, (On) => Yr(On.items, (Nt) => Nt.type === "item"));
64159
+ const Ot = Ad(Ge.menus), Qt = en(Ot, (On) => Yr(On.items, (Nt) => Nt.type === "item"));
64160
64160
  return gr.getState(ue).update(pn(Qt, (On) => On.data)), Ge;
64161
64161
  }), q = (ue) => Wo.getCurrent(ue), W = "typeaheadevents", ne = [
64162
64162
  oo.config({}),
@@ -64184,11 +64184,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
64184
64184
  onStream: (ue, xe) => {
64185
64185
  const Ge = Ws.getCoupled(ue, "sandbox");
64186
64186
  if (oo.isFocused(ue) && il(ue.element).length >= n.minChars) {
64187
- const Tt = q(Ge).bind((On) => Yo.getHighlighted(On).map(gr.getValue));
64187
+ const Ot = q(Ge).bind((On) => Yo.getHighlighted(On).map(gr.getValue));
64188
64188
  n.previewing.set(!0);
64189
64189
  const Qt = (On) => {
64190
64190
  q(Ge).each((Nt) => {
64191
- Tt.fold(() => {
64191
+ Ot.fold(() => {
64192
64192
  n.model.selectsOver && Yo.highlightFirst(Nt);
64193
64193
  }, (Ct) => {
64194
64194
  Yo.highlightBy(Nt, (dn) => gr.getValue(dn).value === Ct.value), Yo.getHighlighted(Nt).orThunk(() => (Yo.highlightFirst(Nt), F.none()));
@@ -64211,12 +64211,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
64211
64211
  onEnter: (ue) => {
64212
64212
  const xe = Ws.getCoupled(ue, "sandbox"), Ge = Fo.isOpen(xe);
64213
64213
  if (Ge && !n.previewing.get())
64214
- return q(xe).bind((Tt) => Yo.getHighlighted(Tt)).map((Tt) => (Vr(ue, Qq(), {
64215
- item: Tt
64214
+ return q(xe).bind((Ot) => Yo.getHighlighted(Ot)).map((Ot) => (Vr(ue, Qq(), {
64215
+ item: Ot
64216
64216
  }), !0));
64217
64217
  {
64218
- const Tt = gr.getValue(ue);
64219
- return la(ue, nb()), n.onExecute(xe, ue, Tt), Ge && Fo.close(xe), F.some(!0);
64218
+ const Ot = gr.getValue(ue);
64219
+ return la(ue, nb()), n.onExecute(xe, ue, Ot), Ge && Fo.close(xe), F.some(!0);
64220
64220
  }
64221
64221
  }
64222
64222
  }),
@@ -64509,12 +64509,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
64509
64509
  ] : []
64510
64510
  ],
64511
64511
  attributes: W
64512
- }, xe = [], Ge = l.translate(n.text.getOr("")), Tt = Us(Ge), Qt = [
64512
+ }, xe = [], Ge = l.translate(n.text.getOr("")), Ot = Us(Ge), Qt = [
64513
64513
  ...yw([
64514
64514
  w.map((Nt) => Nt.asSpec())
64515
64515
  ]),
64516
64516
  ...n.text.isSome() ? [
64517
- Tt
64517
+ Ot
64518
64518
  ] : []
64519
64519
  ], On = FD(q, F.some(k), xe, ue, Qt, l);
64520
64520
  return Ai.sketch(On);
@@ -64744,7 +64744,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
64744
64744
  disabled: () => !n.enabled || w.isDisabled()
64745
64745
  })
64746
64746
  ])
64747
- }), Tt = Na(qG({
64747
+ }), Ot = Na(qG({
64748
64748
  name: n.name,
64749
64749
  icon: F.some("browse"),
64750
64750
  text: n.picker_text.or(n.label).getOr(""),
@@ -64765,7 +64765,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
64765
64765
  [
64766
64766
  Ge.asSpec()
64767
64767
  ],
64768
- ue.map(() => Tt.asSpec()).toArray()
64768
+ ue.map(() => Ot.asSpec()).toArray()
64769
64769
  ])
64770
64770
  }), On = (Nt) => {
64771
64771
  Wo.getCurrent(Nt).each((Ct) => {
@@ -64791,10 +64791,10 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
64791
64791
  Fr.config({
64792
64792
  disabled: () => !n.enabled || w.isDisabled(),
64793
64793
  onDisabled: (Nt) => {
64794
- _a.getField(Nt).each(Fr.disable), Tt.getOpt(Nt).each(Fr.disable);
64794
+ _a.getField(Nt).each(Fr.disable), Ot.getOpt(Nt).each(Fr.disable);
64795
64795
  },
64796
64796
  onEnabled: (Nt) => {
64797
- _a.getField(Nt).each(Fr.enable), Tt.getOpt(Nt).each(Fr.enable);
64797
+ _a.getField(Nt).each(Fr.enable), Ot.getOpt(Nt).each(Fr.enable);
64798
64798
  }
64799
64799
  }),
64800
64800
  Ti(),
@@ -65547,11 +65547,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
65547
65547
  dialog: ce,
65548
65548
  isContextMenuOpen: ue,
65549
65549
  setContextMenuState: xe
65550
- }, Tt = {
65550
+ }, Ot = {
65551
65551
  ...Ge,
65552
65552
  shared: {
65553
65553
  ...Ge.shared,
65554
- interpreter: (On) => r6(On, {}, Tt),
65554
+ interpreter: (On) => r6(On, {}, Ot),
65555
65555
  getSink: n.popup
65556
65556
  }
65557
65557
  }, Qt = {
@@ -65563,7 +65563,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
65563
65563
  }
65564
65564
  };
65565
65565
  return {
65566
- popup: Tt,
65566
+ popup: Ot,
65567
65567
  dialog: Qt
65568
65568
  };
65569
65569
  }, ele = (n, l, u) => {
@@ -65595,7 +65595,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
65595
65595
  Wn.button === 0 && w(Y1(), {
65596
65596
  target: Zn.fromDom(Wn.target)
65597
65597
  });
65598
- }, Tt = () => {
65598
+ }, Ot = () => {
65599
65599
  Bn(n.editorManager.get(), (Wn) => {
65600
65600
  n !== Wn && Wn.dispatch("DismissPopups", {
65601
65601
  relatedTarget: n
@@ -65625,9 +65625,9 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
65625
65625
  });
65626
65626
  };
65627
65627
  n.on("PostRender", () => {
65628
- n.on("click", xe), n.on("tap", xe), n.on("mouseup", Ge), n.on("mousedown", Tt), n.on("ScrollWindow", Qt), n.on("ResizeWindow", On), n.on("ResizeEditor", dn), n.on("AfterProgressState", Pn), n.on("DismissPopups", un);
65628
+ n.on("click", xe), n.on("tap", xe), n.on("mouseup", Ge), n.on("mousedown", Ot), n.on("ScrollWindow", Qt), n.on("ResizeWindow", On), n.on("ResizeEditor", dn), n.on("AfterProgressState", Pn), n.on("DismissPopups", un);
65629
65629
  }), n.on("remove", () => {
65630
- n.off("click", xe), n.off("tap", xe), n.off("mouseup", Ge), n.off("mousedown", Tt), n.off("ScrollWindow", Qt), n.off("ResizeWindow", On), n.off("ResizeEditor", dn), n.off("AfterProgressState", Pn), n.off("DismissPopups", un), ce.unbind(), q.unbind(), W.unbind(), ne.unbind(), ue.unbind(), Ct.unbind();
65630
+ n.off("click", xe), n.off("tap", xe), n.off("mouseup", Ge), n.off("mousedown", Ot), n.off("ScrollWindow", Qt), n.off("ResizeWindow", On), n.off("ResizeEditor", dn), n.off("AfterProgressState", Pn), n.off("DismissPopups", un), ce.unbind(), q.unbind(), W.unbind(), ne.unbind(), ue.unbind(), Ct.unbind();
65631
65631
  }), n.on("detach", () => {
65632
65632
  Bn([
65633
65633
  l,
@@ -65658,8 +65658,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
65658
65658
  R(q).fold(() => {
65659
65659
  throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"), new Error("Custom List was defined to not be a shell, but no item container was specified in components");
65660
65660
  }, (ne) => {
65661
- const ce = uo.contents(ne), ue = W.length, xe = ue - ce.length, Ge = xe > 0 ? Hr(xe, () => n.makeItem()) : [], Tt = ce.slice(ue);
65662
- Bn(Tt, (On) => uo.remove(ne, On)), Bn(Ge, (On) => uo.append(ne, On));
65661
+ const ce = uo.contents(ne), ue = W.length, xe = ue - ce.length, Ge = xe > 0 ? Hr(xe, () => n.makeItem()) : [], Ot = ce.slice(ue);
65662
+ Bn(Ot, (On) => uo.remove(ne, On)), Bn(Ge, (On) => uo.append(ne, On));
65663
65663
  const Qt = uo.contents(ne);
65664
65664
  Bn(Qt, (On, Nt) => {
65665
65665
  n.setupItem(q, On, W[Nt], Nt);
@@ -66023,8 +66023,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
66023
66023
  fadeOutClass: "tox-editor-dock-fadeout",
66024
66024
  transitionClass: "tox-editor-dock-transition"
66025
66025
  }, IK = "tox-tinymce--toolbar-sticky-on", LK = "tox-tinymce--toolbar-sticky-off", fle = (n, l) => {
66026
- const u = ls(l), p = Tl(l).dom.innerHeight, w = qd(u), k = Zn.fromDom(n.elm), R = nl(k), q = cs(k), W = R.y, ne = W + q, ce = ji(l), ue = cs(l), xe = ce.top, Ge = xe + ue, Tt = Math.abs(xe - w.top) < 2, Qt = Math.abs(Ge - (w.top + p)) < 2;
66027
- if (Tt && W < Ge)
66026
+ const u = ls(l), p = Tl(l).dom.innerHeight, w = qd(u), k = Zn.fromDom(n.elm), R = nl(k), q = cs(k), W = R.y, ne = W + q, ce = ji(l), ue = cs(l), xe = ce.top, Ge = xe + ue, Ot = Math.abs(xe - w.top) < 2, Qt = Math.abs(Ge - (w.top + p)) < 2;
66027
+ if (Ot && W < Ge)
66028
66028
  jy(w.left, W - ue, u);
66029
66029
  else if (Qt && ne > xe) {
66030
66030
  const On = W - p + q + ue;
@@ -66104,8 +66104,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
66104
66104
  const xe = ue.height - W, Ge = ue.y + (a3(q, "top") ? 0 : W);
66105
66105
  return Hs(ue.x, Ge, ue.width, xe);
66106
66106
  }, (xe) => {
66107
- const Ge = qy(ue, Rx(xe)), Tt = a3(q, "top") ? Ge.y : Ge.y + W;
66108
- return Hs(Ge.x, Tt, Ge.width, Ge.height - W);
66107
+ const Ge = qy(ue, Rx(xe)), Ot = a3(q, "top") ? Ge.y : Ge.y + W;
66108
+ return Hs(Ge.x, Ot, Ge.width, Ge.height - W);
66109
66109
  });
66110
66110
  });
66111
66111
  },
@@ -66341,7 +66341,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
66341
66341
  visible: !1
66342
66342
  });
66343
66343
  }
66344
- }, ne = w(R, !1), ce = w(W), ue = k(ce), xe = (Qt) => ue(Qt, u()), Ge = w(q), Tt = {
66344
+ }, ne = w(R, !1), ce = w(W), ue = k(ce), xe = (Qt) => ue(Qt, u()), Ge = w(q), Ot = {
66345
66345
  getSlotNames: u,
66346
66346
  getSlot: p,
66347
66347
  isShowing: ne,
@@ -66354,7 +66354,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
66354
66354
  dom: n.dom,
66355
66355
  components: l,
66356
66356
  behaviours: _b(n.slotBehaviours),
66357
- apis: Tt
66357
+ apis: Ot
66358
66358
  };
66359
66359
  }, vd = {
66360
66360
  ...ra({
@@ -67421,11 +67421,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
67421
67421
  })).getOr({}), xe = k.map((Ct) => Ct.asSpec()), Ge = yw([
67422
67422
  xe,
67423
67423
  ce
67424
- ]), Tt = n.icon.isSome() && ce.isSome(), Qt = {
67424
+ ]), Ot = n.icon.isSome() && ce.isSome(), Qt = {
67425
67425
  tag: "button",
67426
- classes: W.concat(...n.icon.isSome() && !Tt ? [
67426
+ classes: W.concat(...n.icon.isSome() && !Ot ? [
67427
67427
  "tox-button--icon"
67428
- ] : []).concat(...Tt ? [
67428
+ ] : []).concat(...Ot ? [
67429
67429
  "tox-button--icon-and-text"
67430
67430
  ] : []).concat(...n.borderless ? [
67431
67431
  "tox-button--naked"
@@ -68238,8 +68238,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
68238
68238
  const W = (Ge) => Ge ? LZ(Ge)[0] : "", ne = n.queryCommandValue("FontName"), ce = q.data, ue = ne ? ne.toLowerCase() : "", xe = LR(n);
68239
68239
  return {
68240
68240
  matchOpt: Cr(ce, (Ge) => {
68241
- const Tt = Ge.format;
68242
- return Tt.toLowerCase() === ue || W(Tt).toLowerCase() === W(ue).toLowerCase();
68241
+ const Ot = Ge.format;
68242
+ return Ot.toLowerCase() === ue || W(Ot).toLowerCase() === W(ue).toLowerCase();
68243
68243
  }).orThunk(() => Gr(Cde(ue, xe), {
68244
68244
  title: dB,
68245
68245
  format: ue
@@ -68361,7 +68361,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
68361
68361
  u.onAction(Wn, Pn), p.each((ht) => {
68362
68362
  gr.setValue(ht, Wn), dn && (Nr.each((lt) => ht.element.dom.selectionStart = lt), Co.each((lt) => ht.element.dom.selectionEnd = lt));
68363
68363
  });
68364
- }, ce = (Ct, dn) => ne((Pn, un) => Pn - un, Ct, dn), ue = (Ct, dn) => ne((Pn, un) => Pn + un, Ct, dn), xe = (Ct) => Pi(Ct.element).fold(F.none, (dn) => (pr(dn), F.some(!0))), Ge = (Ct) => vv(Ct.element) ? (io(Ct.element).each((dn) => pr(dn)), F.some(!0)) : F.none(), Tt = (Ct, dn, Pn, un) => {
68364
+ }, ce = (Ct, dn) => ne((Pn, un) => Pn - un, Ct, dn), ue = (Ct, dn) => ne((Pn, un) => Pn + un, Ct, dn), xe = (Ct) => Pi(Ct.element).fold(F.none, (dn) => (pr(dn), F.some(!0))), Ge = (Ct) => vv(Ct.element) ? (io(Ct.element).each((dn) => pr(dn)), F.some(!0)) : F.none(), Ot = (Ct, dn, Pn, un) => {
68365
68365
  const Wn = Kr(qe), mr = l.shared.providers.translate(Pn), Nr = Er("altExecuting"), Co = Nw(n, "NodeChange SwitchMode", (lt) => {
68366
68366
  Fr.set(lt.getComponent(), !n.selection.isEditable());
68367
68367
  }), ht = (lt) => {
@@ -68411,7 +68411,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
68411
68411
  ]
68412
68412
  }
68413
68413
  });
68414
- }, Qt = Na(Tt((Ct) => ce(!1, Ct), "minus", "Decrease font size", [])), On = Na(Tt((Ct) => ue(!1, Ct), "plus", "Increase font size", [])), Nt = Na({
68414
+ }, Qt = Na(Ot((Ct) => ce(!1, Ct), "minus", "Decrease font size", [])), On = Na(Ot((Ct) => ue(!1, Ct), "plus", "Increase font size", [])), Nt = Na({
68415
68415
  dom: {
68416
68416
  tag: "div",
68417
68417
  classes: [
@@ -68524,7 +68524,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
68524
68524
  if (ce)
68525
68525
  for (let ue = 3; W.isNone() && ue >= 0; ue--) {
68526
68526
  const xe = Ide(ce, ue), Ge = Lde(xe);
68527
- W = Cr(ne, (Tt) => Tt.format === ce || Tt.format === xe || Tt.format === Ge);
68527
+ W = Cr(ne, (Ot) => Ot.format === ce || Ot.format === xe || Ot.format === Ge);
68528
68528
  }
68529
68529
  return {
68530
68530
  matchOpt: W,
@@ -69324,7 +69324,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
69324
69324
  const Qt = n.getWin().innerWidth;
69325
69325
  Qt !== q.get() && (Ge(), q.set(Qt));
69326
69326
  });
69327
- const Tt = {
69327
+ const Ot = {
69328
69328
  setEnabled: (Qt) => {
69329
69329
  ZR(l, !Qt);
69330
69330
  },
@@ -69333,7 +69333,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
69333
69333
  return {
69334
69334
  iframeContainer: ue.element.dom,
69335
69335
  editorContainer: W.element.dom,
69336
- api: Tt
69336
+ api: Ot
69337
69337
  };
69338
69338
  }
69339
69339
  });
@@ -69347,7 +69347,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
69347
69347
  const l = Wk(n), u = kR(n), p = AR(n);
69348
69348
  return yB(l).map((w) => E3(w, u, p));
69349
69349
  }, ace = (n) => rJ(n).getOr(Wk(n)), { ToolbarLocation: wB, ToolbarMode: oJ } = tre, sce = 40, ice = (n, l, u, p, w) => {
69350
- const { mainUi: k, uiMotherships: R } = u, q = hw.DOM, W = bx(n), ne = Qk(n), ce = AR(n).or(rJ(n)), ue = p.shared.header, xe = ue.isPositionedAtTop, Ge = mw(n), Tt = Ge === oJ.sliding || Ge === oJ.floating, Qt = Kr(!1), On = () => Qt.get() && !n.removed, Nt = (lt) => Tt ? lt.fold(Ce(0), (on) => on.components().length > 1 ? cs(on.components()[1].element) : 0) : 0, Ct = (lt) => {
69350
+ const { mainUi: k, uiMotherships: R } = u, q = hw.DOM, W = bx(n), ne = Qk(n), ce = AR(n).or(rJ(n)), ue = p.shared.header, xe = ue.isPositionedAtTop, Ge = mw(n), Ot = Ge === oJ.sliding || Ge === oJ.floating, Qt = Kr(!1), On = () => Qt.get() && !n.removed, Nt = (lt) => Ot ? lt.fold(Ce(0), (on) => on.components().length > 1 ? cs(on.components()[1].element) : 0) : 0, Ct = (lt) => {
69351
69351
  switch (q5(n)) {
69352
69352
  case wB.auto:
69353
69353
  const on = Ha.getToolbar(k.outerContainer), An = Nt(on), _r = cs(lt.element) - An, kn = Ss(l);
@@ -69426,7 +69426,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
69426
69426
  return;
69427
69427
  W || Pn();
69428
69428
  const on = W ? F.none() : Nr();
69429
- Tt && Ha.refreshToolbar(k.outerContainer), W || un(on), ne && w.on(lt), mr();
69429
+ Ot && Ha.refreshToolbar(k.outerContainer), W || un(on), ne && w.on(lt), mr();
69430
69430
  }, ht = () => W || !ne || !On() ? !1 : w.get().exists((lt) => {
69431
69431
  const on = ue.getDockingMode(), An = Ct(lt);
69432
69432
  return An !== on ? (dn(An), !0) : !1;
@@ -69458,11 +69458,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
69458
69458
  };
69459
69459
  }, lce = (n, l, u, p) => {
69460
69460
  const w = Kr(NB(l, u.isPositionedAtTop())), k = (ne) => {
69461
- const { pos: ce, bounds: ue } = NB(l, u.isPositionedAtTop()), { pos: xe, bounds: Ge } = w.get(), Tt = ue.height !== Ge.height || ue.width !== Ge.width;
69461
+ const { pos: ce, bounds: ue } = NB(l, u.isPositionedAtTop()), { pos: xe, bounds: Ge } = w.get(), Ot = ue.height !== Ge.height || ue.width !== Ge.width;
69462
69462
  w.set({
69463
69463
  pos: ce,
69464
69464
  bounds: ue
69465
- }), Tt && Tj(n, ne), u.isVisible() && (xe !== ce ? u.update(Xs.reset) : Tt && (u.updateMode(), u.repositionPopups()));
69465
+ }), Ot && Tj(n, ne), u.isVisible() && (xe !== ce ? u.update(Xs.reset) : Ot && (u.updateMode(), u.repositionPopups()));
69466
69466
  };
69467
69467
  p || (n.on("activate", u.show), n.on("deactivate", u.hide)), n.on("SkinLoaded ResizeWindow", () => u.update(Xs.reset)), n.on("NodeChange keydown", (ne) => {
69468
69468
  requestAnimationFrame(() => k(ne));
@@ -69927,7 +69927,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
69927
69927
  })), ue = () => {
69928
69928
  const ht = ne.get().getOr("node"), lt = hJ(ht) ? 1 : 0;
69929
69929
  return cJ(n, k, ht, lt);
69930
- }, xe = () => !n.removed && !(R() && w.isContextMenuOpen()), Ge = (ht) => Ks(bi(ht, q.get(), ua), !0), Tt = () => {
69930
+ }, xe = () => !n.removed && !(R() && w.isContextMenuOpen()), Ge = (ht) => Ks(bi(ht, q.get(), ua), !0), Ot = () => {
69931
69931
  if (xe()) {
69932
69932
  const ht = ue(), lt = Ks(ne.get(), "node") ? bce(n, q.get()) : xB(n);
69933
69933
  return ht.height <= 0 || !dJ(lt, ht, 0.01);
@@ -69938,7 +69938,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
69938
69938
  }, On = () => {
69939
69939
  if (rs.isOpen(ce)) {
69940
69940
  const ht = ce.element;
69941
- zo(ht, "display"), Tt() ? tn(ht, "display", "none") : (W.set(0), rs.reposition(ce));
69941
+ zo(ht, "display"), Ot() ? tn(ht, "display", "none") : (W.set(0), rs.reposition(ce));
69942
69942
  }
69943
69943
  }, Nt = (ht) => ({
69944
69944
  dom: {
@@ -70010,7 +70010,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
70010
70010
  ],
70011
70011
  mode: "placement"
70012
70012
  }
70013
- }, () => F.some(ue())), lt.fold(q.clear, q.set), Tt() && tn(kn, "display", "none");
70013
+ }, () => F.some(ue())), lt.fold(q.clear, q.set), Ot() && tn(kn, "display", "none");
70014
70014
  };
70015
70015
  let Nr = !1;
70016
70016
  const Co = AD(() => {
@@ -71228,7 +71228,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
71228
71228
  return WJ(Ge.getOpt(l), mr, Nr.x, Nr.y, Nr.width, Nr.height);
71229
71229
  }, W = () => pn(u.get(), (mr) => q(mr)), ne = (mr) => {
71230
71230
  const Nr = nl(mr);
71231
- return WJ(Tt.getOpt(l), mr, Nr.right, Nr.bottom, Nr.width, Nr.height);
71231
+ return WJ(Ot.getOpt(l), mr, Nr.right, Nr.bottom, Nr.width, Nr.height);
71232
71232
  }, ce = () => pn(p.get(), (mr) => ne(mr)), ue = GJ(W, k, (mr) => {
71233
71233
  R.get().each((Nr) => {
71234
71234
  n.dispatch("TableSelectorChange", {
@@ -71243,7 +71243,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
71243
71243
  finish: mr
71244
71244
  });
71245
71245
  });
71246
- }), Ge = KJ(ue), Tt = KJ(xe), Qt = wl(Ge.asSpec()), On = wl(Tt.asSpec()), Nt = (mr, Nr, Co, ht) => {
71246
+ }), Ge = KJ(ue), Ot = KJ(xe), Qt = wl(Ge.asSpec()), On = wl(Ot.asSpec()), Nt = (mr, Nr, Co, ht) => {
71247
71247
  const lt = Nr.dom.getBoundingClientRect();
71248
71248
  zo(mr.element, "display");
71249
71249
  const on = Tl(Zn.fromDom(n.getBody())).dom.innerHeight, An = Co(lt), _r = ht(lt, on);
@@ -71529,15 +71529,15 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
71529
71529
  const R = [], q = U5(n), W = F5(n), ne = V5(n) || n.hasPlugin("wordcount"), ce = () => {
71530
71530
  const ue = "tox-statusbar__text-container--flex-start", xe = "tox-statusbar__text-container--flex-end", Ge = "tox-statusbar__text-container--space-around";
71531
71531
  if (q) {
71532
- const Tt = "tox-statusbar__text-container-3-cols";
71532
+ const Ot = "tox-statusbar__text-container-3-cols";
71533
71533
  return !ne && !W ? [
71534
- Tt,
71534
+ Ot,
71535
71535
  Ge
71536
71536
  ] : ne && !W ? [
71537
- Tt,
71537
+ Ot,
71538
71538
  xe
71539
71539
  ] : [
71540
- Tt,
71540
+ Ot,
71541
71541
  ue
71542
71542
  ];
71543
71543
  }
@@ -71587,7 +71587,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
71587
71587
  "tox-bottom-anchorbar"
71588
71588
  ]
71589
71589
  }
71590
- }), Tt = () => k.mainUi.get().map((ur) => ur.outerContainer).bind(Ha.getHeader), Qt = () => mo.fromOption(k.dialogUi.get().map((ur) => ur.sink), "UI has not been rendered"), On = () => mo.fromOption(k.popupUi.get().map((ur) => ur.sink), "(popup) UI has not been rendered"), Nt = k.lazyGetInOuterOrDie("anchor bar", xe.getOpt), Ct = k.lazyGetInOuterOrDie("bottom anchor bar", Ge.getOpt), dn = k.lazyGetInOuterOrDie("toolbar", Ha.getToolbar), Pn = k.lazyGetInOuterOrDie("throbber", Ha.getThrobber), un = Yie({
71590
+ }), Ot = () => k.mainUi.get().map((ur) => ur.outerContainer).bind(Ha.getHeader), Qt = () => mo.fromOption(k.dialogUi.get().map((ur) => ur.sink), "UI has not been rendered"), On = () => mo.fromOption(k.popupUi.get().map((ur) => ur.sink), "(popup) UI has not been rendered"), Nt = k.lazyGetInOuterOrDie("anchor bar", xe.getOpt), Ct = k.lazyGetInOuterOrDie("bottom anchor bar", Ge.getOpt), dn = k.lazyGetInOuterOrDie("toolbar", Ha.getToolbar), Pn = k.lazyGetInOuterOrDie("throbber", Ha.getThrobber), un = Yie({
71591
71591
  popup: On,
71592
71592
  dialog: Qt
71593
71593
  }, n, Nt, Ct), Wn = () => {
@@ -71623,7 +71623,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
71623
71623
  },
71624
71624
  type: ue,
71625
71625
  lazyToolbar: dn,
71626
- lazyHeader: () => Tt().getOrDie("Could not find header element"),
71626
+ lazyHeader: () => Ot().getOrDie("Could not find header element"),
71627
71627
  ...ur
71628
71628
  }), fa = Ha.parts["multiple-toolbar"]({
71629
71629
  dom: {
@@ -71720,7 +71720,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
71720
71720
  },
71721
71721
  behaviours: er([
71722
71722
  Ml.config({
71723
- useFixed: () => w.isDocked(Tt)
71723
+ useFixed: () => w.isDocked(Ot)
71724
71724
  })
71725
71725
  ])
71726
71726
  }, fa = {
@@ -71757,7 +71757,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
71757
71757
  },
71758
71758
  behaviours: er([
71759
71759
  Ml.config({
71760
- useFixed: () => w.isDocked(Tt),
71760
+ useFixed: () => w.isDocked(Ot),
71761
71761
  getBounds: () => l.getPopupSinkBounds()
71762
71762
  })
71763
71763
  ])
@@ -71871,7 +71871,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
71871
71871
  sidebar: sm,
71872
71872
  views: Ms
71873
71873
  };
71874
- An(qr.outerContainer), ele(n, qr.mothership, fa), w.setup(n, un.popup.shared, Tt), Vce(n, un.popup), eue(n, un.popup.shared.getSink, un.popup), Tle(n), M6(n, Pn, un.popup.shared), $ce(n, as, Do.sink, {
71874
+ An(qr.outerContainer), ele(n, qr.mothership, fa), w.setup(n, un.popup.shared, Ot), Vce(n, un.popup), eue(n, un.popup.shared.getSink, un.popup), Tle(n), M6(n, Pn, un.popup.shared), $ce(n, as, Do.sink, {
71875
71875
  backstage: un.popup
71876
71876
  }), xue(n, Do.sink);
71877
71877
  const yh = n.getElement(), S0 = on(qr.outerContainer), f$ = {
@@ -71989,7 +71989,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
71989
71989
  ]), Due = (n, l, u, p) => {
71990
71990
  const w = Qa(), k = (Ge) => {
71991
71991
  w.set(Ge);
71992
- const Tt = n.lazySink(Ge).getOrDie(), Qt = p.blocker(), On = Tt.getSystem().build({
71992
+ const Ot = n.lazySink(Ge).getOrDie(), Qt = p.blocker(), On = Ot.getSystem().build({
71993
71993
  ...Qt,
71994
71994
  components: Qt.components.concat([
71995
71995
  bu(Ge)
@@ -72003,15 +72003,15 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
72003
72003
  ])
72004
72004
  ])
72005
72005
  });
72006
- eg(Tt, On), Ur.focusIn(Ge);
72006
+ eg(Ot, On), Ur.focusIn(Ge);
72007
72007
  }, R = (Ge) => {
72008
- w.clear(), Li(Ge.element).each((Tt) => {
72009
- Ge.getSystem().getByDom(Tt).each((Qt) => {
72008
+ w.clear(), Li(Ge.element).each((Ot) => {
72009
+ Ge.getSystem().getByDom(Ot).each((Qt) => {
72010
72010
  Mp(Qt);
72011
72011
  });
72012
72012
  });
72013
- }, q = (Ge) => rg(Ge, n, "body"), W = (Ge) => va(Ge, n, "footer"), ne = (Ge, Tt) => {
72014
- tp.block(Ge, Tt);
72013
+ }, q = (Ge) => rg(Ge, n, "body"), W = (Ge) => va(Ge, n, "footer"), ne = (Ge, Ot) => {
72014
+ tp.block(Ge, Ot);
72015
72015
  }, ce = (Ge) => {
72016
72016
  tp.unblock(Ge);
72017
72017
  }, ue = Er("modal-events"), xe = {
@@ -73397,12 +73397,12 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73397
73397
  });
73398
73398
  }),
73399
73399
  p(Jp, (k, R, q, W) => {
73400
- const ne = () => W.getSystem().isConnected() ? Ur.focusIn(W) : void 0, ce = (Ge) => ka(Ge, "disabled") || bo(Ge, "aria-disabled").exists((Tt) => Tt === "true"), ue = Vs(W.element), xe = Im(ue);
73400
+ const ne = () => W.getSystem().isConnected() ? Ur.focusIn(W) : void 0, ce = (Ge) => ka(Ge, "disabled") || bo(Ge, "aria-disabled").exists((Ot) => Ot === "true"), ue = Vs(W.element), xe = Im(ue);
73401
73401
  R.onAction(k, {
73402
73402
  name: q.name,
73403
73403
  value: q.value
73404
73404
  }), Im(ue).fold(ne, (Ge) => {
73405
- ce(Ge) || xe.exists((Tt) => Kl(Ge, Tt) && ce(Tt)) ? ne() : u().toOptional().filter((Tt) => !Kl(Tt.element, Ge)).each(ne);
73405
+ ce(Ge) || xe.exists((Ot) => Kl(Ge, Ot) && ce(Ot)) ? ne() : u().toOptional().filter((Ot) => !Kl(Ot.element, Ge)).each(ne);
73406
73406
  });
73407
73407
  }),
73408
73408
  p(oW, (k, R, q) => {
@@ -73545,7 +73545,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73545
73545
  initialData: w.initialData
73546
73546
  }, p, u), ce = Cn(w.buttons), ue = nr(ce), xe = Gr(ce.length !== 0, Mr({
73547
73547
  buttons: ce
73548
- }, p, u)), Ge = Rn(() => Nt, Le(() => Qt, u.shared.providers, l), u.shared.getSink), Tt = {
73548
+ }, p, u)), Ge = Rn(() => Nt, Le(() => Qt, u.shared.providers, l), u.shared.getSink), Ot = {
73549
73549
  id: p,
73550
73550
  header: k,
73551
73551
  body: ne,
@@ -73559,7 +73559,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73559
73559
  })
73560
73560
  ],
73561
73561
  extraStyles: {}
73562
- }, Qt = ln(Tt, Ge, u), On = (() => {
73562
+ }, Qt = ln(Ot, Ge, u), On = (() => {
73563
73563
  const Ct = () => {
73564
73564
  const Pn = Zi.getBody(Qt);
73565
73565
  return Wo.getCurrent(Pn).getOr(Pn);
@@ -73586,8 +73586,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73586
73586
  }, k, R, u.shared.providers)), Ge = Na(zhe({
73587
73587
  body: W.body,
73588
73588
  initialData: W.initialData
73589
- }, k, q, u, p)), Tt = Cn(W.buttons), Qt = nr(Tt), On = Gr(Tt.length !== 0, Na(br({
73590
- buttons: Tt
73589
+ }, k, q, u, p)), Ot = Cn(W.buttons), Qt = nr(Ot), On = Gr(Ot.length !== 0, Na(br({
73590
+ buttons: Ot
73591
73591
  }, k, u))), Nt = Rn(() => Pn, {
73592
73592
  onBlock: (un) => {
73593
73593
  tp.block(Ct, (Wn, mr) => {
@@ -73757,10 +73757,10 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73757
73757
  "tox-dialog--width-lg"
73758
73758
  ] : [], ue = new Vc(n.url, {
73759
73759
  base_uri: new Vc(window.location.href)
73760
- }), xe = `${ue.protocol}://${ue.host}${ue.port ? ":" + ue.port : ""}`, Ge = hb(), Tt = (Ct, dn) => F.some(dn), Qt = [
73760
+ }), xe = `${ue.protocol}://${ue.host}${ue.port ? ":" + ue.port : ""}`, Ge = hb(), Ot = (Ct, dn) => F.some(dn), Qt = [
73761
73761
  Ru.config({
73762
73762
  channel: `${OD}-${w}`,
73763
- updateState: Tt,
73763
+ updateState: Ot,
73764
73764
  initialData: n
73765
73765
  }),
73766
73766
  _o("messages", [
@@ -73918,8 +73918,8 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73918
73918
  }
73919
73919
  return W(ue, Ge);
73920
73920
  }, R = (ue, xe) => q(ue, xe), q = (ue, xe) => {
73921
- const Ge = (Tt) => {
73922
- const Qt = jr(Tt, {
73921
+ const Ge = (Ot) => {
73922
+ const Qt = jr(Ot, {
73923
73923
  closeWindow: () => {
73924
73924
  Zi.hide(Qt.dialog), xe(Qt.instanceApi);
73925
73925
  }
@@ -73928,11 +73928,11 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73928
73928
  };
73929
73929
  return Bw.openUrl(Ge, ue);
73930
73930
  }, W = (ue, xe) => {
73931
- const Ge = (Tt, Qt, On) => {
73931
+ const Ge = (Ot, Qt, On) => {
73932
73932
  const Nt = Qt, Ct = bc({
73933
73933
  dataValidator: On,
73934
73934
  initialData: Nt,
73935
- internalDialog: Tt
73935
+ internalDialog: Ot
73936
73936
  }, {
73937
73937
  redial: Bw.redial,
73938
73938
  closeWindow: () => {
@@ -73942,7 +73942,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73942
73942
  return Zi.show(Ct.dialog), Ct.instanceApi.setData(Nt), Ct.instanceApi;
73943
73943
  };
73944
73944
  return Bw.open(Ge, ue);
73945
- }, ne = (ue, xe, Ge, Tt) => {
73945
+ }, ne = (ue, xe, Ge, Ot) => {
73946
73946
  const Qt = (On, Nt, Ct) => {
73947
73947
  const dn = Vo(Nt, Ct), Pn = Qa(), un = n.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
73948
73948
  dataValidator: Ct,
@@ -73955,13 +73955,13 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73955
73955
  closeWindow: () => {
73956
73956
  Pn.on(rs.hide), l.off("ResizeEditor", mr), Pn.clear(), Ge(Nr.instanceApi);
73957
73957
  }
73958
- }, n.backstages.popup, Tt.ariaAttrs, mr), Co = wl(rs.sketch({
73958
+ }, n.backstages.popup, Ot.ariaAttrs, mr), Co = wl(rs.sketch({
73959
73959
  lazySink: n.backstages.popup.shared.getSink,
73960
73960
  dom: {
73961
73961
  tag: "div",
73962
73962
  classes: []
73963
73963
  },
73964
- fireDismissalEventInstead: Tt.persistent ? {
73964
+ fireDismissalEventInstead: Ot.persistent ? {
73965
73965
  event: "doNotDismissYet"
73966
73966
  } : {},
73967
73967
  ...un ? {} : {
@@ -73987,7 +73987,7 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
73987
73987
  }, ht), (!u || !un) && (Xs.refresh(Co), l.on("ResizeEditor", mr)), Nr.instanceApi.setData(dn), Ur.focusIn(Nr.dialog), Nr.instanceApi;
73988
73988
  };
73989
73989
  return Bw.open(Qt, ue);
73990
- }, ce = (ue, xe, Ge, Tt) => {
73990
+ }, ce = (ue, xe, Ge, Ot) => {
73991
73991
  const Qt = (On, Nt, Ct) => {
73992
73992
  const dn = Vo(Nt, Ct), Pn = Qa(), un = n.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
73993
73993
  dataValidator: Ct,
@@ -74000,13 +74000,13 @@ The conflicting element is` + (Mi(W.element) ? " " : " not ") + "already in the
74000
74000
  closeWindow: () => {
74001
74001
  Pn.on(rs.hide), l.off("ResizeEditor ScrollWindow ElementScroll", mr), Pn.clear(), Ge(Nr.instanceApi);
74002
74002
  }
74003
- }, n.backstages.popup, Tt.ariaAttrs, mr), Co = wl(rs.sketch({
74003
+ }, n.backstages.popup, Ot.ariaAttrs, mr), Co = wl(rs.sketch({
74004
74004
  lazySink: n.backstages.popup.shared.getSink,
74005
74005
  dom: {
74006
74006
  tag: "div",
74007
74007
  classes: []
74008
74008
  },
74009
- fireDismissalEventInstead: Tt.persistent ? {
74009
+ fireDismissalEventInstead: Ot.persistent ? {
74010
74010
  event: "doNotDismissYet"
74011
74011
  } : {},
74012
74012
  ...un ? {} : {
@@ -102190,7 +102190,7 @@ class oN extends O0 {
102190
102190
  J.address
102191
102191
  );
102192
102192
  if (be?.["dcat:dataset"]) {
102193
- const Be = be["dcat:dataset"], rt = Array.isArray(Be) ? Be : [Be], Ot = be.participantId || be["edc:participantId"] || be["https://w3id.org/edc/v0.0.1/ns/participantId"], hn = J.participantId || Ot;
102193
+ const Be = be["dcat:dataset"], rt = Array.isArray(Be) ? Be : [Be], Tt = be.participantId || be["edc:participantId"] || be["https://w3id.org/edc/v0.0.1/ns/participantId"], hn = J.participantId || Tt;
102194
102194
  return rt.map((gn) => {
102195
102195
  const _n = {
102196
102196
  temsServiceBase: I,
@@ -102327,7 +102327,7 @@ class Cd extends Sye {
102327
102327
  const J = H.getAttribute("navigation-subrouter"), be = H.getAttribute("navigation-resource"), Be = H.getAttribute("navigation-rdf-type");
102328
102328
  if (Be) {
102329
102329
  const rt = window.orbit?.components?.filter(
102330
- (Ot) => Ot?.routeAttributes?.["rdf-type"] === Be
102330
+ (Tt) => Tt?.routeAttributes?.["rdf-type"] === Be
102331
102331
  );
102332
102332
  rt && (X = rt[0]?.uniq);
102333
102333
  }
@@ -103102,11 +103102,11 @@ let A0 = class extends Sye {
103102
103102
  renderFilterItemsByNumberRange(B, I) {
103103
103103
  if (!B)
103104
103104
  return Ar;
103105
- const H = B.map((Ot) => Number(Ot[I]) || 0).filter(Number.isFinite), X = H.length > 0 ? Math.min(...H) : 0, J = H.length > 0 ? Math.max(...H) : 0;
103105
+ const H = B.map((Tt) => Number(Tt[I]) || 0).filter(Number.isFinite), X = H.length > 0 ? Math.min(...H) : 0, J = H.length > 0 ? Math.max(...H) : 0;
103106
103106
  if (X === J)
103107
103107
  return Ar;
103108
103108
  const be = this._internalFilters.find(
103109
- (Ot) => Ot.type === "interval" && Ot.name === I
103109
+ (Tt) => Tt.type === "interval" && Tt.name === I
103110
103110
  ), Be = be?.value?.split("/")[0] || X, rt = be?.value?.split("/")[1] || J;
103111
103111
  return Ao`
103112
103112
  <tems-slider
@@ -103115,11 +103115,11 @@ let A0 = class extends Sye {
103115
103115
  max=${J}
103116
103116
  value=${Be}
103117
103117
  value-max=${rt}
103118
- @change=${(Ot) => {
103119
- Ot.preventDefault(), this._internalFilters = this._internalFilters.filter(
103118
+ @change=${(Tt) => {
103119
+ Tt.preventDefault(), this._internalFilters = this._internalFilters.filter(
103120
103120
  (_n) => !(_n.type === "interval" && _n.name === I)
103121
103121
  );
103122
- const hn = Ot.detail.min ?? 0, gn = Ot.detail.max ?? 0;
103122
+ const hn = Tt.detail.min ?? 0, gn = Tt.detail.max ?? 0;
103123
103123
  this._internalFilters.push({
103124
103124
  type: "interval",
103125
103125
  name: I,
@@ -104358,7 +104358,7 @@ let vh = class extends rp {
104358
104358
  bubbles: !0
104359
104359
  })
104360
104360
  ), this.dspConnector) {
104361
- const J = await window.crypto.subtle.digest("SHA-256", new TextEncoder().encode(H)).then((Ot) => `sha-256:${Array.from(new Uint8Array(Ot)).map((hn) => hn.toString(16).padStart(2, "0")).join("")}`);
104361
+ const J = await window.crypto.subtle.digest("SHA-256", new TextEncoder().encode(H)).then((Tt) => `sha-256:${Array.from(new Uint8Array(Tt)).map((hn) => hn.toString(16).padStart(2, "0")).join("")}`);
104362
104362
  await this.dspConnector.instance?.createAsset({
104363
104363
  "@id": `urn:asset-id:${J}`,
104364
104364
  properties: {
@@ -104370,8 +104370,8 @@ let vh = class extends rp {
104370
104370
  bundleSize: this.selectedFacts.length,
104371
104371
  offeredAccess: "40",
104372
104372
  pricingTier: "premium",
104373
- // "dcat:endpointUrl": "https://api.stg.ds4go.startinblox.com/facts/", // ?
104374
- previewLinks: this.selectedFacts.slice(0, 3).join(", "),
104373
+ "dcat:endpointUrl": H,
104374
+ previewLinks: this.selectedFacts.slice(0, 3).map((Tt) => Tt["@id"]).join(", "),
104375
104375
  "dsif:pricing": {
104376
104376
  "dsif:costPerAPICall": 0.15,
104377
104377
  "dsif:setupFee": 50,
@@ -104392,7 +104392,7 @@ let vh = class extends rp {
104392
104392
  policy: {
104393
104393
  "@context": "http://www.w3.org/ns/odrl.jsonld",
104394
104394
  ...this.policyTemplates.find(
104395
- (Ot) => Ot.id === this.bundleAccessPolicy
104395
+ (Tt) => Tt.id === this.bundleAccessPolicy
104396
104396
  )?.policy
104397
104397
  }
104398
104398
  }),
@@ -104402,7 +104402,7 @@ let vh = class extends rp {
104402
104402
  policy: {
104403
104403
  "@context": "http://www.w3.org/ns/odrl.jsonld",
104404
104404
  ...this.policyTemplates.find(
104405
- (Ot) => Ot.id === this.bundleContractPolicy
104405
+ (Tt) => Tt.id === this.bundleContractPolicy
104406
104406
  )?.policy
104407
104407
  }
104408
104408
  }),