@redocly/replay 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/replay.cjs +199 -185
  2. package/dist/replay.js +688 -665
  3. package/package.json +1 -1
package/dist/replay.js CHANGED
@@ -3,10 +3,10 @@ var RT = (n, e, t) => e in n ? $T(n, e, { enumerable: !0, configurable: !0, writ
3
3
  var _O = (n, e, t) => (RT(n, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import * as U from "react";
5
5
  import Ke, { useRef as ct, useContext as ji, createElement as es, useState as Ce, useCallback as Je, forwardRef as Rf, Fragment as ci, createContext as Df, useLayoutEffect as tw, useMemo as tt, Component as DT, useEffect as ze, memo as ms, useImperativeHandle as nw, useTransition as QT, StrictMode as rw } from "react";
6
- import { CheckmarkIcon as G0, ChevronUpIcon as jT, ChevronDownIcon as Qf, Segmented as Y0, Button as Xe, useThemeHooks as BT, ChevronRightIcon as jf, WarningFilledIcon as iw, CopyButton as zs, EditIcon as U0, ValueVariableIcon as _T, Portal as q0, useMount as sw, useUnmount as NT, H4 as ow, CloseIcon as Qo, useModalScrollLock as MT, CheckboxIcon as aw, TrashCanIcon as Bi, ViewOffIcon as H0, ViewIcon as J0, CircleDashIcon as K0, isString as lw, CloseFilledIcon as cw, SecurityVariablesEnvSuffix as xt, InformationIcon as El, SpinnerIcon as Bf, AddIcon as Su, FileIcon as FT, CharacterIcon as ZT, DocumentBlankIcon as WT, CloudUploadIcon as VT, Select as uw, ChevronSortIcon as XT, Markdown as zT, SecurityIcon as LT, CodeIcon as fw, DataFormatIcon as GT, TableBuiltIcon as dw, CookieIcon as hw, ArrowUpRightIcon as YT, RestartIcon as UT, ArrowRightIcon as qT, StatusCode as pw, TimeIcon as HT, FileStorageIcon as JT, SearchIcon as KT, CleanIcon as eI, IBMCloudHyperProtectCryptoServicesIcon as tI, Tag as NO, markdoc as nI, SidePanelOpenIcon as rI, SidePanelCloseIcon as iI, GlobalStyle as sI } from "@redocly/theme";
6
+ import { CheckmarkIcon as G0, ChevronUpIcon as jT, ChevronDownIcon as Qf, Segmented as Y0, Button as Xe, useThemeHooks as BT, ChevronRightIcon as jf, WarningFilledIcon as iw, CopyButton as zs, EditIcon as U0, ValueVariableIcon as _T, Portal as q0, useMount as sw, useUnmount as NT, H4 as ow, CloseIcon as jo, useModalScrollLock as MT, CheckboxIcon as aw, TrashCanIcon as Bi, ViewOffIcon as H0, ViewIcon as J0, CircleDashIcon as K0, isString as lw, CloseFilledIcon as cw, SecurityVariablesEnvSuffix as xt, InformationIcon as El, SpinnerIcon as Bf, AddIcon as Su, FileIcon as FT, CharacterIcon as ZT, DocumentBlankIcon as WT, CloudUploadIcon as VT, Select as uw, ChevronSortIcon as XT, Markdown as zT, SecurityIcon as LT, CodeIcon as fw, DataFormatIcon as GT, TableBuiltIcon as dw, CookieIcon as hw, ArrowUpRightIcon as YT, RestartIcon as UT, ArrowRightIcon as qT, StatusCode as pw, TimeIcon as HT, FileStorageIcon as JT, SearchIcon as KT, CleanIcon as eI, IBMCloudHyperProtectCryptoServicesIcon as tI, Tag as NO, markdoc as nI, SidePanelOpenIcon as rI, SidePanelCloseIcon as iI, GlobalStyle as sI } from "@redocly/theme";
7
7
  import oI, { createPortal as gw } from "react-dom";
8
8
  var De = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9
- function Ko(n) {
9
+ function ea(n) {
10
10
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
11
11
  }
12
12
  function aI(n) {
@@ -88,8 +88,8 @@ function cI() {
88
88
  }
89
89
  function x(F, ne, le) {
90
90
  {
91
- var Se = v.ReactDebugCurrentFrame, Ze = Se.getStackAddendum();
92
- Ze !== "" && (ne += "%s", le = le.concat([Ze]));
91
+ var Se = v.ReactDebugCurrentFrame, We = Se.getStackAddendum();
92
+ We !== "" && (ne += "%s", le = le.concat([We]));
93
93
  var st = le.map(function(Ne) {
94
94
  return String(Ne);
95
95
  });
@@ -109,8 +109,8 @@ function cI() {
109
109
  var Se = F.displayName;
110
110
  if (Se)
111
111
  return Se;
112
- var Ze = ne.displayName || ne.name || "";
113
- return Ze !== "" ? le + "(" + Ze + ")" : le;
112
+ var We = ne.displayName || ne.name || "";
113
+ return We !== "" ? le + "(" + We + ")" : le;
114
114
  }
115
115
  function I(F) {
116
116
  return F.displayName || "Context";
@@ -150,7 +150,7 @@ function cI() {
150
150
  var Se = F.displayName || null;
151
151
  return Se !== null ? Se : R(F.type) || "Memo";
152
152
  case d: {
153
- var Ze = F, st = Ze._payload, Ne = Ze._init;
153
+ var We = F, st = We._payload, Ne = We._init;
154
154
  try {
155
155
  return R(Ne(st));
156
156
  } catch {
@@ -228,8 +228,8 @@ function cI() {
228
228
  if (J === void 0)
229
229
  try {
230
230
  throw Error();
231
- } catch (Ze) {
232
- var Se = Ze.stack.trim().match(/\n( *(at )?)/);
231
+ } catch (We) {
232
+ var Se = We.stack.trim().match(/\n( *(at )?)/);
233
233
  J = Se && Se[1] || "";
234
234
  }
235
235
  return `
@@ -251,7 +251,7 @@ function cI() {
251
251
  }
252
252
  var Se;
253
253
  oe = !0;
254
- var Ze = Error.prepareStackTrace;
254
+ var We = Error.prepareStackTrace;
255
255
  Error.prepareStackTrace = void 0;
256
256
  var st;
257
257
  st = N.current, N.current = null, j();
@@ -307,7 +307,7 @@ function cI() {
307
307
  }
308
308
  }
309
309
  } finally {
310
- oe = !1, N.current = st, Y(), Error.prepareStackTrace = Ze;
310
+ oe = !1, N.current = st, Y(), Error.prepareStackTrace = We;
311
311
  }
312
312
  var Wr = F ? F.displayName || F.name : "", ys = Wr ? V(Wr) : "";
313
313
  return typeof F == "function" && ie.set(F, ys), ys;
@@ -339,9 +339,9 @@ function cI() {
339
339
  case f:
340
340
  return K(F.type, ne, le);
341
341
  case d: {
342
- var Se = F, Ze = Se._payload, st = Se._init;
342
+ var Se = F, We = Se._payload, st = Se._init;
343
343
  try {
344
- return K(st(Ze), ne, le);
344
+ return K(st(We), ne, le);
345
345
  } catch {
346
346
  }
347
347
  }
@@ -356,7 +356,7 @@ function cI() {
356
356
  } else
357
357
  Ie.setExtraStackFrame(null);
358
358
  }
359
- function Ae(F, ne, le, Se, Ze) {
359
+ function Ae(F, ne, le, Se, We) {
360
360
  {
361
361
  var st = Function.call.bind(pe);
362
362
  for (var Ne in F)
@@ -371,7 +371,7 @@ function cI() {
371
371
  } catch (Ot) {
372
372
  Re = Ot;
373
373
  }
374
- Re && !(Re instanceof Error) && (ve(Ze), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Se || "React class", le, Ne, typeof Re), ve(null)), Re instanceof Error && !(Re.message in Oe) && (Oe[Re.message] = !0, ve(Ze), O("Failed %s type: %s", le, Re.message), ve(null));
374
+ Re && !(Re instanceof Error) && (ve(We), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Se || "React class", le, Ne, typeof Re), ve(null)), Re instanceof Error && !(Re.message in Oe) && (Oe[Re.message] = !0, ve(We), O("Failed %s type: %s", le, Re.message), ve(null));
375
375
  }
376
376
  }
377
377
  }
@@ -450,7 +450,7 @@ function cI() {
450
450
  });
451
451
  }
452
452
  }
453
- var An = function(F, ne, le, Se, Ze, st, Ne) {
453
+ var An = function(F, ne, le, Se, We, st, Ne) {
454
454
  var Re = {
455
455
  // This tag allows us to uniquely identify this as a React Element
456
456
  $$typeof: e,
@@ -476,13 +476,13 @@ function cI() {
476
476
  configurable: !1,
477
477
  enumerable: !1,
478
478
  writable: !1,
479
- value: Ze
479
+ value: We
480
480
  }), Object.freeze && (Object.freeze(Re.props), Object.freeze(Re)), Re;
481
481
  };
482
- function Un(F, ne, le, Se, Ze) {
482
+ function Un(F, ne, le, Se, We) {
483
483
  {
484
484
  var st, Ne = {}, Re = null, Yt = null;
485
- le !== void 0 && (mt(le), Re = "" + le), bs(ne) && (mt(ne.key), Re = "" + ne.key), Jt(ne) && (Yt = ne.ref, mi(ne, Ze));
485
+ le !== void 0 && (mt(le), Re = "" + le), bs(ne) && (mt(ne.key), Re = "" + ne.key), Jt(ne) && (Yt = ne.ref, mi(ne, We));
486
486
  for (st in ne)
487
487
  pe.call(ne, st) && !ln.hasOwnProperty(st) && (Ne[st] = ne[st]);
488
488
  if (F && F.defaultProps) {
@@ -494,7 +494,7 @@ function cI() {
494
494
  var vt = typeof F == "function" ? F.displayName || F.name || "Unknown" : F;
495
495
  Re && Ni(Ne, vt), Yt && Ar(Ne, vt);
496
496
  }
497
- return An(F, Re, Yt, Ze, Se, Ht.current, Ne);
497
+ return An(F, Re, Yt, We, Se, Ht.current, Ne);
498
498
  }
499
499
  }
500
500
  var Dn = v.ReactCurrentOwner, Kt = v.ReactDebugCurrentFrame;
@@ -571,9 +571,9 @@ Check the top-level render call using <` + le + ">.");
571
571
  else if (Qn(F))
572
572
  F._store && (F._store.validated = !0);
573
573
  else if (F) {
574
- var Ze = g(F);
575
- if (typeof Ze == "function" && Ze !== F.entries)
576
- for (var st = Ze.call(F), Ne; !(Ne = st.next()).done; )
574
+ var We = g(F);
575
+ if (typeof We == "function" && We !== F.entries)
576
+ for (var st = We.call(F), Ne; !(Ne = st.next()).done; )
577
577
  Qn(Ne.value) && Hn(Ne.value, ne);
578
578
  }
579
579
  }
@@ -597,8 +597,8 @@ Check the top-level render call using <` + le + ">.");
597
597
  Ae(le, F.props, "prop", Se, F);
598
598
  } else if (ne.PropTypes !== void 0 && !Pr) {
599
599
  Pr = !0;
600
- var Ze = R(ne);
601
- O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ze || "Unknown");
600
+ var We = R(ne);
601
+ O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", We || "Unknown");
602
602
  }
603
603
  typeof ne.getDefaultProps == "function" && !ne.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
604
604
  }
@@ -615,18 +615,18 @@ Check the top-level render call using <` + le + ">.");
615
615
  F.ref !== null && (qn(F), O("Invalid attribute `ref` supplied to `React.Fragment`."), qn(null));
616
616
  }
617
617
  }
618
- function Rt(F, ne, le, Se, Ze, st) {
618
+ function Rt(F, ne, le, Se, We, st) {
619
619
  {
620
620
  var Ne = A(F);
621
621
  if (!Ne) {
622
622
  var Re = "";
623
623
  (F === void 0 || typeof F == "object" && F !== null && Object.keys(F).length === 0) && (Re += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
624
- var Yt = Tt(Ze);
624
+ var Yt = Tt(We);
625
625
  Yt ? Re += Yt : Re += Et();
626
626
  var Ot;
627
627
  F === null ? Ot = "null" : Ve(F) ? Ot = "array" : F !== void 0 && F.$$typeof === e ? (Ot = "<" + (R(F.type) || "Unknown") + " />", Re = " Did you accidentally export a JSX literal instead of a component?") : Ot = typeof F, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ot, Re);
628
628
  }
629
- var vt = Un(F, ne, le, Ze, st);
629
+ var vt = Un(F, ne, le, We, st);
630
630
  if (vt == null)
631
631
  return vt;
632
632
  if (Ne) {
@@ -1556,7 +1556,7 @@ function vw(n, e, t) {
1556
1556
  return n;
1557
1557
  }
1558
1558
  var kI = vw;
1559
- const AI = /* @__PURE__ */ Ko(kI);
1559
+ const AI = /* @__PURE__ */ ea(kI);
1560
1560
  function Ci() {
1561
1561
  return (Ci = Object.assign || function(n) {
1562
1562
  for (var e = 1; e < arguments.length; e++) {
@@ -1583,7 +1583,7 @@ function Rp(n) {
1583
1583
  function nm(n) {
1584
1584
  return n && typeof n.styledComponentId == "string";
1585
1585
  }
1586
- var jo = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", rm = typeof window < "u" && "HTMLElement" in window, PI = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production")), EI = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
1586
+ var Bo = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", rm = typeof window < "u" && "HTMLElement" in window, PI = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production")), EI = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
1587
1587
 
1588
1588
  `, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
1589
1589
 
@@ -1632,7 +1632,7 @@ function TI() {
1632
1632
  n = n.replace(/%[a-z]/, i);
1633
1633
  }), n;
1634
1634
  }
1635
- function ea(n) {
1635
+ function ta(n) {
1636
1636
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++)
1637
1637
  t[r - 1] = arguments[r];
1638
1638
  throw process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + n + " for more information." + (t.length > 0 ? " Args: " + t.join(", ") : "")) : new Error(TI.apply(void 0, [EI[n]].concat(t)).trim());
@@ -1649,7 +1649,7 @@ var II = function() {
1649
1649
  }, e.insertRules = function(t, r) {
1650
1650
  if (t >= this.groupSizes.length) {
1651
1651
  for (var i = this.groupSizes, s = i.length, o = s; t >= o; )
1652
- (o <<= 1) < 0 && ea(16, "" + t);
1652
+ (o <<= 1) < 0 && ta(16, "" + t);
1653
1653
  this.groupSizes = new Uint32Array(o), this.groupSizes.set(i), this.length = o;
1654
1654
  for (var a = s; a < o; a++)
1655
1655
  this.groupSizes[a] = 0;
@@ -1678,12 +1678,12 @@ var II = function() {
1678
1678
  for (; Cu.has(Za); )
1679
1679
  Za++;
1680
1680
  var e = Za++;
1681
- return process.env.NODE_ENV !== "production" && ((0 | e) < 0 || e > 1 << 30) && ea(16, "" + e), Yc.set(n, e), Cu.set(e, n), e;
1681
+ return process.env.NODE_ENV !== "production" && ((0 | e) < 0 || e > 1 << 30) && ta(16, "" + e), Yc.set(n, e), Cu.set(e, n), e;
1682
1682
  }, $I = function(n) {
1683
1683
  return Cu.get(n);
1684
1684
  }, RI = function(n, e) {
1685
1685
  e >= Za && (Za = e + 1), Yc.set(n, e), Cu.set(e, n);
1686
- }, DI = "style[" + jo + '][data-styled-version="5.3.11"]', QI = new RegExp("^" + jo + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), jI = function(n, e, t) {
1686
+ }, DI = "style[" + Bo + '][data-styled-version="5.3.11"]', QI = new RegExp("^" + Bo + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), jI = function(n, e, t) {
1687
1687
  for (var r, i = t.split(","), s = 0, o = i.length; s < o; s++)
1688
1688
  (r = i[s]) && n.registerName(e, r);
1689
1689
  }, BI = function(n, e) {
@@ -1705,11 +1705,11 @@ var II = function() {
1705
1705
  var e = document.head, t = n || e, r = document.createElement("style"), i = function(a) {
1706
1706
  for (var l = a.childNodes, c = l.length; c >= 0; c--) {
1707
1707
  var u = l[c];
1708
- if (u && u.nodeType === 1 && u.hasAttribute(jo))
1708
+ if (u && u.nodeType === 1 && u.hasAttribute(Bo))
1709
1709
  return u;
1710
1710
  }
1711
1711
  }(t), s = i !== void 0 ? i.nextSibling : null;
1712
- r.setAttribute(jo, "active"), r.setAttribute("data-styled-version", "5.3.11");
1712
+ r.setAttribute(Bo, "active"), r.setAttribute("data-styled-version", "5.3.11");
1713
1713
  var o = _I();
1714
1714
  return o && r.setAttribute("nonce", o), t.insertBefore(r, s), r;
1715
1715
  }, NI = function() {
@@ -1723,7 +1723,7 @@ var II = function() {
1723
1723
  if (l.ownerNode === i)
1724
1724
  return l;
1725
1725
  }
1726
- ea(17);
1726
+ ta(17);
1727
1727
  }(r), this.length = 0;
1728
1728
  }
1729
1729
  var e = n.prototype;
@@ -1773,7 +1773,7 @@ var II = function() {
1773
1773
  t === void 0 && (t = ts), r === void 0 && (r = {}), this.options = Ci({}, ZI, {}, t), this.gs = r, this.names = new Map(i), this.server = !!t.isServer, !this.server && rm && qO && (qO = !1, function(s) {
1774
1774
  for (var o = document.querySelectorAll(DI), a = 0, l = o.length; a < l; a++) {
1775
1775
  var c = o[a];
1776
- c && c.getAttribute(jo) !== "active" && (BI(s, c), c.parentNode && c.parentNode.removeChild(c));
1776
+ c && c.getAttribute(Bo) !== "active" && (BI(s, c), c.parentNode && c.parentNode.removeChild(c));
1777
1777
  }
1778
1778
  }(this));
1779
1779
  }
@@ -1812,7 +1812,7 @@ var II = function() {
1812
1812
  if (a !== void 0) {
1813
1813
  var l = t.names.get(a), c = r.getGroup(o);
1814
1814
  if (l && c && l.size) {
1815
- var u = jo + ".g" + o + '[id="' + a + '"]', f = "";
1815
+ var u = Bo + ".g" + o + '[id="' + a + '"]', f = "";
1816
1816
  l !== void 0 && l.forEach(function(d) {
1817
1817
  d.length > 0 && (f += d + ",");
1818
1818
  }), s += "" + c + u + '{content:"' + f + `"}/*!sc*/
@@ -1857,7 +1857,7 @@ var XI = yw("5.3.11"), zI = function() {
1857
1857
  if (this.staticRulesId && t.hasNameForId(i, this.staticRulesId))
1858
1858
  s.push(this.staticRulesId);
1859
1859
  else {
1860
- var o = Bo(this.rules, e, t, r).join(""), a = Dp(Is(this.baseHash, o) >>> 0);
1860
+ var o = _o(this.rules, e, t, r).join(""), a = Dp(Is(this.baseHash, o) >>> 0);
1861
1861
  if (!t.hasNameForId(i, a)) {
1862
1862
  var l = r(o, "." + a, void 0, i);
1863
1863
  t.insertRules(i, a, l);
@@ -1870,7 +1870,7 @@ var XI = yw("5.3.11"), zI = function() {
1870
1870
  if (typeof h == "string")
1871
1871
  f += h, process.env.NODE_ENV !== "production" && (u = Is(u, h + d));
1872
1872
  else if (h) {
1873
- var p = Bo(h, e, t, r), m = Array.isArray(p) ? p.join("") : p;
1873
+ var p = _o(h, e, t, r), m = Array.isArray(p) ? p.join("") : p;
1874
1874
  u = Is(u, m + d), f += m;
1875
1875
  }
1876
1876
  }
@@ -1935,7 +1935,7 @@ function YI(n) {
1935
1935
  return f = [], g;
1936
1936
  }
1937
1937
  }])), p.hash = c.length ? c.reduce(function(m, g) {
1938
- return g.name || ea(15), Is(m, g.name);
1938
+ return g.name || ta(15), Is(m, g.name);
1939
1939
  }, 5381).toString() : "", p;
1940
1940
  }
1941
1941
  var Sw = Ke.createContext();
@@ -1955,7 +1955,7 @@ var Cw = function() {
1955
1955
  var o = r.name + s.hash;
1956
1956
  i.hasNameForId(r.id, o) || i.insertRules(r.id, o, s(r.rules, o, "@keyframes"));
1957
1957
  }, this.toString = function() {
1958
- return ea(12, String(r.name));
1958
+ return ta(12, String(r.name));
1959
1959
  }, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
1960
1960
  }
1961
1961
  return n.prototype.getName = function(e) {
@@ -1970,10 +1970,10 @@ function JO(n) {
1970
1970
  var KO = function(n) {
1971
1971
  return n == null || n === !1 || n === "";
1972
1972
  };
1973
- function Bo(n, e, t, r) {
1973
+ function _o(n, e, t, r) {
1974
1974
  if (Array.isArray(n)) {
1975
1975
  for (var i, s = [], o = 0, a = n.length; o < a; o += 1)
1976
- (i = Bo(n[o], e, t, r)) !== "" && (Array.isArray(i) ? s.push.apply(s, i) : s.push(i));
1976
+ (i = _o(n[o], e, t, r)) !== "" && (Array.isArray(i) ? s.push.apply(s, i) : s.push(i));
1977
1977
  return s;
1978
1978
  }
1979
1979
  if (KO(n))
@@ -1984,7 +1984,7 @@ function Bo(n, e, t, r) {
1984
1984
  if (typeof (c = n) != "function" || c.prototype && c.prototype.isReactComponent || !e)
1985
1985
  return n;
1986
1986
  var l = n(e);
1987
- return process.env.NODE_ENV !== "production" && _s.isElement(l) && console.warn(Rp(n) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), Bo(l, e, t, r);
1987
+ return process.env.NODE_ENV !== "production" && _s.isElement(l) && console.warn(Rp(n) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), _o(l, e, t, r);
1988
1988
  }
1989
1989
  var c;
1990
1990
  return n instanceof Cw ? t ? (n.inject(t, r), n.getName(r)) : n : $p(n) ? function u(f, d) {
@@ -2000,7 +2000,7 @@ var ev = function(n) {
2000
2000
  function Ja(n) {
2001
2001
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), r = 1; r < e; r++)
2002
2002
  t[r - 1] = arguments[r];
2003
- return Ha(n) || $p(n) ? ev(Bo(UO(wu, [n].concat(t)))) : t.length === 0 && n.length === 1 && typeof n[0] == "string" ? n : ev(Bo(UO(n, t)));
2003
+ return Ha(n) || $p(n) ? ev(_o(UO(wu, [n].concat(t)))) : t.length === 0 && n.length === 1 && typeof n[0] == "string" ? n : ev(_o(UO(n, t)));
2004
2004
  }
2005
2005
  var tv = /invalid hook call/i, lc = /* @__PURE__ */ new Set(), n$ = function(n, e) {
2006
2006
  if (process.env.NODE_ENV !== "production") {
@@ -2128,7 +2128,7 @@ Example:
2128
2128
  var Bp = function(n) {
2129
2129
  return function e(t, r, i) {
2130
2130
  if (i === void 0 && (i = ts), !_s.isValidElementType(r))
2131
- return ea(1, String(r));
2131
+ return ta(1, String(r));
2132
2132
  var s = function() {
2133
2133
  return t(r, i, Ja.apply(void 0, arguments));
2134
2134
  };
@@ -2155,9 +2155,9 @@ Read more about this at https://www.styled-components.com/docs/basics#react-nati
2155
2155
 
2156
2156
  See https://s-c.sh/2BAXzed for more info.`), window["__styled-components-init__"] += 1);
2157
2157
  const _ = Bp, {
2158
- createElement: _o,
2158
+ createElement: No,
2159
2159
  createContext: c$,
2160
- createRef: $q,
2160
+ createRef: Rq,
2161
2161
  forwardRef: Tw,
2162
2162
  useCallback: Wn,
2163
2163
  useContext: Iw,
@@ -2263,7 +2263,7 @@ function Rw({
2263
2263
  }
2264
2264
  }), [v, O, x, w, E, P]);
2265
2265
  const R = S(I.current, i);
2266
- return _o(p, {
2266
+ return No(p, {
2267
2267
  ...m,
2268
2268
  children: n,
2269
2269
  className: e,
@@ -2280,7 +2280,7 @@ function Rw({
2280
2280
  "data-panel-size": void 0
2281
2281
  });
2282
2282
  }
2283
- const _p = Tw((n, e) => _o(Rw, {
2283
+ const _p = Tw((n, e) => No(Rw, {
2284
2284
  ...n,
2285
2285
  forwardedRef: e
2286
2286
  }));
@@ -2299,7 +2299,7 @@ function el(n, e, t = Dw) {
2299
2299
  function ir(n, e, t) {
2300
2300
  return el(n, e, t) === 0;
2301
2301
  }
2302
- function mo({
2302
+ function Oo({
2303
2303
  panelConstraints: n,
2304
2304
  panelIndex: e,
2305
2305
  size: t
@@ -2378,7 +2378,7 @@ function $a({
2378
2378
  for (; ; ) {
2379
2379
  const p = e[f];
2380
2380
  je(p != null);
2381
- const g = mo({
2381
+ const g = Oo({
2382
2382
  panelConstraints: t,
2383
2383
  panelIndex: f,
2384
2384
  size: 100
@@ -2394,7 +2394,7 @@ function $a({
2394
2394
  for (; f >= 0 && f < t.length; ) {
2395
2395
  const d = Math.abs(n) - Math.abs(l), h = e[f];
2396
2396
  je(h != null);
2397
- const p = h - d, m = mo({
2397
+ const p = h - d, m = Oo({
2398
2398
  panelConstraints: t,
2399
2399
  panelIndex: f,
2400
2400
  size: p
@@ -2411,7 +2411,7 @@ function $a({
2411
2411
  {
2412
2412
  const u = n < 0 ? a : o, f = e[u];
2413
2413
  je(f != null);
2414
- const d = f + l, h = mo({
2414
+ const d = f + l, h = Oo({
2415
2415
  panelConstraints: t,
2416
2416
  panelIndex: u,
2417
2417
  size: d
@@ -2421,7 +2421,7 @@ function $a({
2421
2421
  for (; g >= 0 && g < t.length; ) {
2422
2422
  const v = s[g];
2423
2423
  je(v != null);
2424
- const O = v + p, x = mo({
2424
+ const O = v + p, x = Oo({
2425
2425
  panelConstraints: t,
2426
2426
  panelIndex: g,
2427
2427
  size: O
@@ -2672,7 +2672,7 @@ function x$({
2672
2672
  }
2673
2673
  return e;
2674
2674
  }
2675
- function ro(n, e, t) {
2675
+ function io(n, e, t) {
2676
2676
  e.forEach((r, i) => {
2677
2677
  const s = n[i];
2678
2678
  je(s);
@@ -2834,7 +2834,7 @@ function sv({
2834
2834
  for (let s = 0; s < e.length; s++) {
2835
2835
  const o = t[s];
2836
2836
  je(o != null);
2837
- const a = mo({
2837
+ const a = Oo({
2838
2838
  panelConstraints: e,
2839
2839
  panelIndex: s,
2840
2840
  size: o
@@ -2845,7 +2845,7 @@ function sv({
2845
2845
  for (let s = 0; s < e.length; s++) {
2846
2846
  const o = t[s];
2847
2847
  je(o != null);
2848
- const a = o + i, l = mo({
2848
+ const a = o + i, l = Oo({
2849
2849
  panelConstraints: e,
2850
2850
  panelIndex: s,
2851
2851
  size: a
@@ -2910,7 +2910,7 @@ function zw({
2910
2910
  layout: D,
2911
2911
  panelConstraints: Y.map((J) => J.constraints)
2912
2912
  });
2913
- rv(j, N) || (v(N), w.current.layout = N, B && B(N), ro(Y, N, O.current));
2913
+ rv(j, N) || (v(N), w.current.layout = N, B && B(N), io(Y, N, O.current));
2914
2914
  }
2915
2915
  }), []), Ka(() => {
2916
2916
  y.current.autoSaveId = n, y.current.direction = r, y.current.dragState = p, y.current.id = d, y.current.onLayout = o, y.current.storage = l;
@@ -2951,14 +2951,14 @@ function zw({
2951
2951
  } = ks(Y, D, j);
2952
2952
  if (je(V != null), V !== J) {
2953
2953
  x.current.set(D.id, V);
2954
- const se = ho(Y, D) === Y.length - 1 ? V - J : J - V, H = $a({
2954
+ const se = po(Y, D) === Y.length - 1 ? V - J : J - V, H = $a({
2955
2955
  delta: se,
2956
2956
  layout: j,
2957
2957
  panelConstraints: N,
2958
2958
  pivotIndices: oe,
2959
2959
  trigger: "imperative-api"
2960
2960
  });
2961
- uc(j, H) || (v(H), w.current.layout = H, B && B(H), ro(Y, H, O.current));
2961
+ uc(j, H) || (v(H), w.current.layout = H, B && B(H), io(Y, H, O.current));
2962
2962
  }
2963
2963
  }
2964
2964
  }, []), k = Wn((D) => {
@@ -2976,14 +2976,14 @@ function zw({
2976
2976
  pivotIndices: ie
2977
2977
  } = ks(Y, D, j);
2978
2978
  if (V === J) {
2979
- const se = x.current.get(D.id), H = se != null && se >= oe ? se : oe, L = ho(Y, D) === Y.length - 1 ? V - H : H - V, K = $a({
2979
+ const se = x.current.get(D.id), H = se != null && se >= oe ? se : oe, L = po(Y, D) === Y.length - 1 ? V - H : H - V, K = $a({
2980
2980
  delta: L,
2981
2981
  layout: j,
2982
2982
  panelConstraints: N,
2983
2983
  pivotIndices: ie,
2984
2984
  trigger: "imperative-api"
2985
2985
  });
2986
- uc(j, K) || (v(K), w.current.layout = K, B && B(K), ro(Y, K, O.current));
2986
+ uc(j, K) || (v(K), w.current.layout = K, B && B(K), io(Y, K, O.current));
2987
2987
  }
2988
2988
  }
2989
2989
  }, []), P = Wn((D) => {
@@ -2997,7 +2997,7 @@ function zw({
2997
2997
  }, []), A = Wn((D, B) => {
2998
2998
  const {
2999
2999
  panelDataArray: j
3000
- } = w.current, Y = ho(j, D);
3000
+ } = w.current, Y = po(j, D);
3001
3001
  return b$({
3002
3002
  defaultSize: B,
3003
3003
  dragState: p,
@@ -3057,7 +3057,7 @@ function zw({
3057
3057
  layout: J,
3058
3058
  panelConstraints: N.map((oe) => oe.constraints)
3059
3059
  });
3060
- rv(Y, V) || (v(V), w.current.layout = V, B && B(V), ro(N, V, O.current));
3060
+ rv(Y, V) || (v(V), w.current.layout = V, B && B(V), io(N, V, O.current));
3061
3061
  }
3062
3062
  });
3063
3063
  const Q = Wn((D) => function(j) {
@@ -3089,7 +3089,7 @@ function zw({
3089
3089
  pivotIndices: L,
3090
3090
  trigger: _w(j) ? "keyboard" : "mouse-or-touch"
3091
3091
  }), ve = !uc(se, Ie);
3092
- (Nw(j) || Mw(j)) && S.current != K && (S.current = K, Nd(ve ? pe ? "horizontal" : "vertical" : pe ? K < 0 ? "horizontal-min" : "horizontal-max" : K < 0 ? "vertical-min" : "vertical-max")), ve && (v(Ie), w.current.layout = Ie, ie && ie(Ie), ro(H, Ie, O.current));
3092
+ (Nw(j) || Mw(j)) && S.current != K && (S.current = K, Nd(ve ? pe ? "horizontal" : "vertical" : pe ? K < 0 ? "horizontal-min" : "horizontal-max" : K < 0 ? "vertical-min" : "vertical-max")), ve && (v(Ie), w.current.layout = Ie, ie && ie(Ie), io(H, Ie, O.current));
3093
3093
  }, []), $ = Wn((D, B) => {
3094
3094
  const {
3095
3095
  onLayout: j
@@ -3101,14 +3101,14 @@ function zw({
3101
3101
  pivotIndices: oe
3102
3102
  } = ks(N, D, Y);
3103
3103
  je(V != null);
3104
- const se = ho(N, D) === N.length - 1 ? V - B : B - V, H = $a({
3104
+ const se = po(N, D) === N.length - 1 ? V - B : B - V, H = $a({
3105
3105
  delta: se,
3106
3106
  layout: Y,
3107
3107
  panelConstraints: J,
3108
3108
  pivotIndices: oe,
3109
3109
  trigger: "imperative-api"
3110
3110
  });
3111
- uc(Y, H) || (v(H), w.current.layout = H, j && j(H), ro(N, H, O.current));
3111
+ uc(Y, H) || (v(H), w.current.layout = H, j && j(H), io(N, H, O.current));
3112
3112
  }, []), M = Wn((D, B) => {
3113
3113
  const {
3114
3114
  layout: j,
@@ -3151,7 +3151,7 @@ function zw({
3151
3151
  }, []), G = Wn((D) => {
3152
3152
  const {
3153
3153
  panelDataArray: B
3154
- } = w.current, j = ho(B, D);
3154
+ } = w.current, j = po(B, D);
3155
3155
  j >= 0 && (B.splice(j, 1), delete O.current[D.id], w.current.panelDataArrayChanged = !0);
3156
3156
  }, []), z = f$(() => ({
3157
3157
  collapsePanel: C,
@@ -3178,9 +3178,9 @@ function zw({
3178
3178
  overflow: "hidden",
3179
3179
  width: "100%"
3180
3180
  };
3181
- return _o(_f.Provider, {
3181
+ return No(_f.Provider, {
3182
3182
  value: z
3183
- }, _o(u, {
3183
+ }, No(u, {
3184
3184
  ...f,
3185
3185
  children: e,
3186
3186
  className: t,
@@ -3195,17 +3195,17 @@ function zw({
3195
3195
  "data-panel-group-id": d
3196
3196
  }));
3197
3197
  }
3198
- const Lw = Tw((n, e) => _o(zw, {
3198
+ const Lw = Tw((n, e) => No(zw, {
3199
3199
  ...n,
3200
3200
  forwardedRef: e
3201
3201
  }));
3202
3202
  zw.displayName = "PanelGroup";
3203
3203
  Lw.displayName = "forwardRef(PanelGroup)";
3204
- function ho(n, e) {
3204
+ function po(n, e) {
3205
3205
  return n.findIndex((t) => t === e || t.id === e.id);
3206
3206
  }
3207
3207
  function ks(n, e, t) {
3208
- const r = ho(n, e), s = r === n.length - 1 ? [r - 1, r] : [r, r + 1], o = t[r];
3208
+ const r = po(n, e), s = r === n.length - 1 ? [r - 1, r] : [r, r + 1], o = t[r];
3209
3209
  return {
3210
3210
  ...e.constraints,
3211
3211
  panelSize: o,
@@ -3320,7 +3320,7 @@ function Gw({
3320
3320
  touchAction: "none",
3321
3321
  userSelect: "none"
3322
3322
  };
3323
- return _o(a, {
3323
+ return No(a, {
3324
3324
  ...l,
3325
3325
  children: n,
3326
3326
  className: e,
@@ -3364,17 +3364,23 @@ function Gw({
3364
3364
  });
3365
3365
  }
3366
3366
  Gw.displayName = "PanelResizeHandle";
3367
- const We = _.div`
3367
+ const Fe = _.div`
3368
3368
  border-bottom: 1px solid var(--border-color-secondary);
3369
3369
  width: 100%;
3370
3370
  `;
3371
3371
  function P$({ onDoubleClick: n, ...e }) {
3372
- return /* @__PURE__ */ b.jsx(Gw, { ...e, children: /* @__PURE__ */ b.jsx(E$, { onDoubleClick: n, children: /* @__PURE__ */ b.jsx(We, {}) }) });
3372
+ return /* @__PURE__ */ b.jsx(Gw, { ...e, children: /* @__PURE__ */ b.jsx(E$, { onDoubleClick: n, children: /* @__PURE__ */ b.jsx(Fe, {}) }) });
3373
3373
  }
3374
3374
  const E$ = _.div`
3375
3375
  display: flex;
3376
3376
  justify-content: center;
3377
- height: 10px;
3377
+ padding: var(--spacing-xs) 0;
3378
+
3379
+ &:hover {
3380
+ ${Fe} {
3381
+ border-bottom-color: var(--color-info-base);
3382
+ }
3383
+ }
3378
3384
  `;
3379
3385
  function T$() {
3380
3386
  var l;
@@ -4142,7 +4148,7 @@ function Jw(n, e) {
4142
4148
  function Dr() {
4143
4149
  return { id: crypto.randomUUID(), ...Hw };
4144
4150
  }
4145
- function wo() {
4151
+ function Co() {
4146
4152
  return { id: crypto.randomUUID(), ...Hw, type: "text", files: null };
4147
4153
  }
4148
4154
  var ee = /* @__PURE__ */ ((n) => (n.NoAuth = "No Auth", n.BasicAuth = "Basic Auth", n.DigestAuth = "Digest Auth", n.JWT = "JWT", n.APIKey = "API key", n.OAuth2 = "OAuth 2.0", n.OpenIDConnect = "OpenID Connect", n))(ee || {}), ae = /* @__PURE__ */ ((n) => (n.ClientCredentials = "Client Credentials", n.AuthorizationCode = "Authorization Code", n.Implicit = "Implicit", n.Password = "Password", n))(ae || {});
@@ -4167,8 +4173,8 @@ function Lp() {
4167
4173
  content: "",
4168
4174
  activeExampleName: "",
4169
4175
  formData: {
4170
- [zp.FormData]: [wo()],
4171
- [zp["application/x-www-form-urlencoded"]]: [wo()]
4176
+ [zp.FormData]: [Co()],
4177
+ [zp["application/x-www-form-urlencoded"]]: [Co()]
4172
4178
  },
4173
4179
  binary: null
4174
4180
  };
@@ -4428,7 +4434,7 @@ function e5() {
4428
4434
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
4429
4435
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
4430
4436
  }
4431
- function No(n) {
4437
+ function Mo(n) {
4432
4438
  return J$(n) || K$(n) || eC(n) || e5();
4433
4439
  }
4434
4440
  function t5(n) {
@@ -4510,9 +4516,9 @@ function fc(n, e) {
4510
4516
  function c5(n, e) {
4511
4517
  return n.map(e).join("");
4512
4518
  }
4513
- var Xf = 1, Mo = 1, sC = 0, Yn = 0, Ut = 0, ta = "";
4519
+ var Xf = 1, Fo = 1, sC = 0, Yn = 0, Ut = 0, na = "";
4514
4520
  function zf(n, e, t, r, i, s, o) {
4515
- return { value: n, root: e, parent: t, type: r, props: i, children: s, line: Xf, column: Mo, length: o, return: "" };
4521
+ return { value: n, root: e, parent: t, type: r, props: i, children: s, line: Xf, column: Fo, length: o, return: "" };
4516
4522
  }
4517
4523
  function va(n, e) {
4518
4524
  return o5(zf("", null, null, "", null, null, 0), n, { length: -n.length }, e);
@@ -4521,19 +4527,19 @@ function u5() {
4521
4527
  return Ut;
4522
4528
  }
4523
4529
  function f5() {
4524
- return Ut = Yn > 0 ? bn(ta, --Yn) : 0, Mo--, Ut === 10 && (Mo = 1, Xf--), Ut;
4530
+ return Ut = Yn > 0 ? bn(na, --Yn) : 0, Fo--, Ut === 10 && (Fo = 1, Xf--), Ut;
4525
4531
  }
4526
4532
  function ur() {
4527
- return Ut = Yn < sC ? bn(ta, Yn++) : 0, Mo++, Ut === 10 && (Mo = 1, Xf++), Ut;
4533
+ return Ut = Yn < sC ? bn(na, Yn++) : 0, Fo++, Ut === 10 && (Fo = 1, Xf++), Ut;
4528
4534
  }
4529
4535
  function ii() {
4530
- return bn(ta, Yn);
4536
+ return bn(na, Yn);
4531
4537
  }
4532
4538
  function Kc() {
4533
4539
  return Yn;
4534
4540
  }
4535
4541
  function Tl(n, e) {
4536
- return nl(ta, n, e);
4542
+ return nl(na, n, e);
4537
4543
  }
4538
4544
  function rl(n) {
4539
4545
  switch (n) {
@@ -4568,10 +4574,10 @@ function rl(n) {
4568
4574
  return 0;
4569
4575
  }
4570
4576
  function oC(n) {
4571
- return Xf = Mo = 1, sC = Hr(ta = n), Yn = 0, [];
4577
+ return Xf = Fo = 1, sC = Hr(na = n), Yn = 0, [];
4572
4578
  }
4573
4579
  function aC(n) {
4574
- return ta = "", n;
4580
+ return na = "", n;
4575
4581
  }
4576
4582
  function eu(n) {
4577
4583
  return iC(Tl(Yn - 1, Hp(n === 91 ? n + 2 : n === 40 ? n + 1 : n)));
@@ -4718,7 +4724,7 @@ function O5(n, e, t) {
4718
4724
  function fv(n, e, t, r) {
4719
4725
  return zf(n, e, t, lm, nl(n, 0, r), nl(n, r + 1, -1), r);
4720
4726
  }
4721
- function Co(n, e) {
4727
+ function ko(n, e) {
4722
4728
  for (var t = "", r = cm(n), i = 0; i < r; i++)
4723
4729
  t += e(n[i], i, n, e) || "";
4724
4730
  return t;
@@ -4731,11 +4737,11 @@ function v5(n, e, t, r) {
4731
4737
  case om:
4732
4738
  return "";
4733
4739
  case rC:
4734
- return n.return = n.value + "{" + Co(n.children, r) + "}";
4740
+ return n.return = n.value + "{" + ko(n.children, r) + "}";
4735
4741
  case am:
4736
4742
  n.value = n.props.join(",");
4737
4743
  }
4738
- return Hr(t = Co(n.children, r)) ? n.return = n.value + "{" + t + "}" : "";
4744
+ return Hr(t = ko(n.children, r)) ? n.return = n.value + "{" + t + "}" : "";
4739
4745
  }
4740
4746
  function x5(n) {
4741
4747
  var e = cm(n);
@@ -4956,7 +4962,7 @@ var $5 = function(e, t, r, i) {
4956
4962
  e.return = cC(e.value, e.length);
4957
4963
  break;
4958
4964
  case rC:
4959
- return Co([va(e, {
4965
+ return ko([va(e, {
4960
4966
  value: pt(e.value, "@", "@" + at)
4961
4967
  })], i);
4962
4968
  case am:
@@ -4965,11 +4971,11 @@ var $5 = function(e, t, r, i) {
4965
4971
  switch (l5(s, /(::plac\w+|:read-\w+)/)) {
4966
4972
  case ":read-only":
4967
4973
  case ":read-write":
4968
- return Co([va(e, {
4974
+ return ko([va(e, {
4969
4975
  props: [pt(s, /:(read-\w+)/, ":" + Iu + "$1")]
4970
4976
  })], i);
4971
4977
  case "::placeholder":
4972
- return Co([va(e, {
4978
+ return ko([va(e, {
4973
4979
  props: [pt(s, /:(plac\w+)/, ":" + at + "input-$1")]
4974
4980
  }), va(e, {
4975
4981
  props: [pt(s, /:(plac\w+)/, ":" + Iu + "$1")]
@@ -5018,7 +5024,7 @@ If multiple caches share the same key they might "fight" for each other's style
5018
5024
  } : b5(function(m) {
5019
5025
  u.insert(m);
5020
5026
  })], d = x5(c.concat(i, f)), h = function(g) {
5021
- return Co(m5(g), d);
5027
+ return ko(m5(g), d);
5022
5028
  };
5023
5029
  l = function(g, v, O, x) {
5024
5030
  u = O, process.env.NODE_ENV !== "production" && v.map !== void 0 && (u = {
@@ -7195,7 +7201,7 @@ function _v() {
7195
7201
  function Nv() {
7196
7202
  return "ontouchstart" in window || navigator.maxTouchPoints;
7197
7203
  }
7198
- var Mv = !!(typeof window < "u" && window.document && window.document.createElement), xa = 0, io = {
7204
+ var Mv = !!(typeof window < "u" && window.document && window.document.createElement), xa = 0, so = {
7199
7205
  capture: !1,
7200
7206
  passive: !1
7201
7207
  };
@@ -7213,7 +7219,7 @@ function cD(n) {
7213
7219
  u && (u[p] = m);
7214
7220
  }), u && (u.paddingRight = "".concat(h, "px"));
7215
7221
  }
7216
- c && Nv() && (c.addEventListener("touchmove", jv, io), l && (l.addEventListener("touchstart", _v, io), l.addEventListener("touchmove", Bv, io))), xa += 1;
7222
+ c && Nv() && (c.addEventListener("touchmove", jv, so), l && (l.addEventListener("touchstart", _v, so), l.addEventListener("touchmove", Bv, so))), xa += 1;
7217
7223
  }
7218
7224
  }, [r]), a = Je(function(l) {
7219
7225
  if (Mv) {
@@ -7221,7 +7227,7 @@ function cD(n) {
7221
7227
  xa = Math.max(xa - 1, 0), r && xa < 1 && Dv.forEach(function(f) {
7222
7228
  var d = i.current[f];
7223
7229
  u && (u[f] = d);
7224
- }), c && Nv() && (c.removeEventListener("touchmove", jv, io), l && (l.removeEventListener("touchstart", _v, io), l.removeEventListener("touchmove", Bv, io)));
7230
+ }), c && Nv() && (c.removeEventListener("touchmove", jv, so), l && (l.removeEventListener("touchstart", _v, so), l.removeEventListener("touchmove", Bv, so)));
7225
7231
  }
7226
7232
  }, [r]);
7227
7233
  return ze(function() {
@@ -7450,14 +7456,14 @@ function ru(n, e) {
7450
7456
  }
7451
7457
  function _C(n) {
7452
7458
  return n.reduce(function(e, t) {
7453
- return t.type === "group" ? e.push.apply(e, No(t.options.map(function(r) {
7459
+ return t.type === "group" ? e.push.apply(e, Mo(t.options.map(function(r) {
7454
7460
  return r.data;
7455
7461
  }))) : e.push(t.data), e;
7456
7462
  }, []);
7457
7463
  }
7458
7464
  function Zv(n, e) {
7459
7465
  return n.reduce(function(t, r) {
7460
- return r.type === "group" ? t.push.apply(t, No(r.options.map(function(i) {
7466
+ return r.type === "group" ? t.push.apply(t, Mo(r.options.map(function(i) {
7461
7467
  return {
7462
7468
  data: i.data,
7463
7469
  id: "".concat(e, "-").concat(r.index, "-").concat(i.index)
@@ -7574,7 +7580,7 @@ var WC = function(e) {
7574
7580
  return i.getOptionValue(v) !== g;
7575
7581
  }), "deselect-option", l);
7576
7582
  } else if (!m)
7577
- f ? i.setValue([].concat(No(h), [l]), "select-option", l) : i.setValue(l, "select-option");
7583
+ f ? i.setValue([].concat(Mo(h), [l]), "select-option", l) : i.setValue(l, "select-option");
7578
7584
  else {
7579
7585
  i.ariaOnChange(l, {
7580
7586
  action: "select-option",
@@ -8864,7 +8870,7 @@ function KD(n, e) {
8864
8870
  return l;
8865
8871
  }
8866
8872
  var eQ = KD;
8867
- const tQ = /* @__PURE__ */ Ko(eQ);
8873
+ const tQ = /* @__PURE__ */ ea(eQ);
8868
8874
  class nQ {
8869
8875
  static copyCustom(e) {
8870
8876
  return tQ(e);
@@ -13696,7 +13702,7 @@ const CQ = {
13696
13702
  }
13697
13703
  },
13698
13704
  additionalProperties: !1
13699
- }, so = {
13705
+ }, oo = {
13700
13706
  type: "object",
13701
13707
  additionalProperties: { type: "string" }
13702
13708
  }, _Q = {
@@ -13704,18 +13710,18 @@ const CQ = {
13704
13710
  properties: {
13705
13711
  teamNamePatterns: { type: "array", items: { type: "string" } },
13706
13712
  teamFolders: { type: "array", items: { type: "string" } },
13707
- teamFoldersBaseRoles: so,
13708
- cms: so,
13709
- reunite: so,
13713
+ teamFoldersBaseRoles: oo,
13714
+ cms: oo,
13715
+ reunite: oo,
13710
13716
  content: {
13711
13717
  type: "object",
13712
13718
  properties: {
13713
- "**": so
13719
+ "**": oo
13714
13720
  },
13715
- additionalProperties: so
13721
+ additionalProperties: oo
13716
13722
  }
13717
13723
  },
13718
- additionalProperties: so
13724
+ additionalProperties: oo
13719
13725
  }, NQ = {
13720
13726
  type: "object",
13721
13727
  properties: {
@@ -14033,7 +14039,7 @@ var UC = { exports: {} };
14033
14039
  });
14034
14040
  })(UC);
14035
14041
  var GQ = UC.exports;
14036
- const YQ = /* @__PURE__ */ Ko(GQ);
14042
+ const YQ = /* @__PURE__ */ ea(GQ);
14037
14043
  YQ.configure({
14038
14044
  trickleSpeed: 100,
14039
14045
  template: '<div class="bar" role="bar"><div class="peg"></div></div>'
@@ -14088,7 +14094,7 @@ var HC = { exports: {} };
14088
14094
  })();
14089
14095
  })(HC);
14090
14096
  var UQ = HC.exports;
14091
- const ns = /* @__PURE__ */ Ko(UQ);
14097
+ const ns = /* @__PURE__ */ ea(UQ);
14092
14098
  function qQ(n) {
14093
14099
  var e = n.children, t = n.prefixCls, r = n.id, i = n.overlayInnerStyle, s = n.className, o = n.style;
14094
14100
  return /* @__PURE__ */ U.createElement("div", {
@@ -14190,7 +14196,7 @@ function n3(n, e) {
14190
14196
  return process.env.NODE_ENV !== "production" && e && p.setAttribute("data-debug", e), p;
14191
14197
  }), r = Be(t, 1), i = r[0], s = U.useRef(!1), o = U.useContext(ek), a = U.useState(Gv), l = Be(a, 2), c = l[0], u = l[1], f = o || (s.current ? void 0 : function(p) {
14192
14198
  u(function(m) {
14193
- var g = [p].concat(No(m));
14199
+ var g = [p].concat(Mo(m));
14194
14200
  return g;
14195
14201
  });
14196
14202
  });
@@ -14547,7 +14553,7 @@ var O3 = 20, v3 = ["top", "right", "bottom", "left", "width", "height", "size",
14547
14553
  });
14548
14554
  }
14549
14555
  return n;
14550
- }, Fo = function(n) {
14556
+ }, Zo = function(n) {
14551
14557
  var e = n && n.ownerDocument && n.ownerDocument.defaultView;
14552
14558
  return e || Wu;
14553
14559
  }, ak = Hf(0, 0, 0, 0);
@@ -14577,7 +14583,7 @@ function w3(n) {
14577
14583
  var e = n.clientWidth, t = n.clientHeight;
14578
14584
  if (!e && !t)
14579
14585
  return ak;
14580
- var r = Fo(n).getComputedStyle(n), i = y3(r), s = i.left + i.right, o = i.top + i.bottom, a = Vu(r.width), l = Vu(r.height);
14586
+ var r = Zo(n).getComputedStyle(n), i = y3(r), s = i.left + i.right, o = i.top + i.bottom, a = Vu(r.width), l = Vu(r.height);
14581
14587
  if (r.boxSizing === "border-box" && (Math.round(a + s) !== e && (a -= Kv(r, "left", "right") + s), Math.round(l + o) !== t && (l -= Kv(r, "top", "bottom") + o)), !k3(n)) {
14582
14588
  var c = Math.round(a + s) - e, u = Math.round(l + o) - t;
14583
14589
  Math.abs(c) !== 1 && (a -= c), Math.abs(u) !== 1 && (l -= u);
@@ -14586,13 +14592,13 @@ function w3(n) {
14586
14592
  }
14587
14593
  var C3 = function() {
14588
14594
  return typeof SVGGraphicsElement < "u" ? function(n) {
14589
- return n instanceof Fo(n).SVGGraphicsElement;
14595
+ return n instanceof Zo(n).SVGGraphicsElement;
14590
14596
  } : function(n) {
14591
- return n instanceof Fo(n).SVGElement && typeof n.getBBox == "function";
14597
+ return n instanceof Zo(n).SVGElement && typeof n.getBBox == "function";
14592
14598
  };
14593
14599
  }();
14594
14600
  function k3(n) {
14595
- return n === Fo(n).document.documentElement;
14601
+ return n === Zo(n).document.documentElement;
14596
14602
  }
14597
14603
  function A3(n) {
14598
14604
  return hg ? C3(n) ? S3(n) : w3(n) : ak;
@@ -14648,7 +14654,7 @@ var E3 = (
14648
14654
  if (!arguments.length)
14649
14655
  throw new TypeError("1 argument required, but only 0 present.");
14650
14656
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
14651
- if (!(e instanceof Fo(e).Element))
14657
+ if (!(e instanceof Zo(e).Element))
14652
14658
  throw new TypeError('parameter 1 is not of type "Element".');
14653
14659
  var t = this.observations_;
14654
14660
  t.has(e) || (t.set(e, new E3(e)), this.controller_.addObserver(this), this.controller_.refresh());
@@ -14657,7 +14663,7 @@ var E3 = (
14657
14663
  if (!arguments.length)
14658
14664
  throw new TypeError("1 argument required, but only 0 present.");
14659
14665
  if (!(typeof Element > "u" || !(Element instanceof Object))) {
14660
- if (!(e instanceof Fo(e).Element))
14666
+ if (!(e instanceof Zo(e).Element))
14661
14667
  throw new TypeError('parameter 1 is not of type "Element".');
14662
14668
  var t = this.observations_;
14663
14669
  t.has(e) && (t.delete(e), t.size || this.controller_.removeObserver(this));
@@ -14872,7 +14878,7 @@ function su(n) {
14872
14878
  }
14873
14879
  return [i, o];
14874
14880
  }
14875
- var Ts = "none", mc = "appear", Oc = "enter", vc = "leave", nx = "none", Tr = "prepare", Oo = "start", vo = "active", Pm = "end", pk = "prepared";
14881
+ var Ts = "none", mc = "appear", Oc = "enter", vc = "leave", nx = "none", Tr = "prepare", vo = "start", xo = "active", Pm = "end", pk = "prepared";
14876
14882
  function rx(n, e) {
14877
14883
  var t = {};
14878
14884
  return t[n.toLowerCase()] = e.toLowerCase(), t["Webkit".concat(n)] = "webkit".concat(e), t["Moz".concat(n)] = "moz".concat(e), t["ms".concat(n)] = "MS".concat(e), t["O".concat(n)] = "o".concat(e.toLowerCase()), t;
@@ -14992,9 +14998,9 @@ const Y3 = function() {
14992
14998
  };
14993
14999
  }, []), [t, e];
14994
15000
  };
14995
- var U3 = [Tr, Oo, vo, Pm], q3 = [Tr, pk], Ck = !1, H3 = !0;
15001
+ var U3 = [Tr, vo, xo, Pm], q3 = [Tr, pk], Ck = !1, H3 = !0;
14996
15002
  function kk(n) {
14997
- return n === vo || n === Pm;
15003
+ return n === xo || n === Pm;
14998
15004
  }
14999
15005
  const J3 = function(n, e, t) {
15000
15006
  var r = su(nx), i = Be(r, 2), s = i[0], o = i[1], a = Y3(), l = Be(a, 2), c = l[0], u = l[1];
@@ -15038,11 +15044,11 @@ function K3(n, e, t, r) {
15038
15044
  var Te, Ve, Ge;
15039
15045
  switch (Ae) {
15040
15046
  case mc:
15041
- return Te = {}, rn(Te, Tr, d), rn(Te, Oo, m), rn(Te, vo, O), Te;
15047
+ return Te = {}, rn(Te, Tr, d), rn(Te, vo, m), rn(Te, xo, O), Te;
15042
15048
  case Oc:
15043
- return Ve = {}, rn(Ve, Tr, h), rn(Ve, Oo, g), rn(Ve, vo, x), Ve;
15049
+ return Ve = {}, rn(Ve, Tr, h), rn(Ve, vo, g), rn(Ve, xo, x), Ve;
15044
15050
  case vc:
15045
- return Ge = {}, rn(Ge, Tr, p), rn(Ge, Oo, v), rn(Ge, vo, S), Ge;
15051
+ return Ge = {}, rn(Ge, Tr, p), rn(Ge, vo, v), rn(Ge, xo, S), Ge;
15046
15052
  default:
15047
15053
  return {};
15048
15054
  }
@@ -15057,7 +15063,7 @@ function K3(n, e, t, r) {
15057
15063
  var Te;
15058
15064
  z(((Te = se[K]) === null || Te === void 0 ? void 0 : Te.call(se, B(), null)) || null);
15059
15065
  }
15060
- return K === vo && (oe(B()), u > 0 && (clearTimeout(D.current), D.current = setTimeout(function() {
15066
+ return K === xo && (oe(B()), u > 0 && (clearTimeout(D.current), D.current = setTimeout(function() {
15061
15067
  N({
15062
15068
  deadline: !0
15063
15069
  });
@@ -15086,7 +15092,7 @@ function K3(n, e, t, r) {
15086
15092
  E && (Oe.current = !0), E !== void 0 && $ === Ts && ((Oe.current || E) && (k == null || k(E)), Oe.current = !0);
15087
15093
  }, [E, $]);
15088
15094
  var Ie = G;
15089
- return se[Tr] && K === Oo && (Ie = re({
15095
+ return se[Tr] && K === vo && (Ie = re({
15090
15096
  transition: "none"
15091
15097
  }, Ie)), [$, K, Ie, E ?? e];
15092
15098
  }
@@ -15124,7 +15130,7 @@ function ej(n) {
15124
15130
  }), I) : R = null;
15125
15131
  else {
15126
15132
  var $, M;
15127
- k === Tr ? M = "prepare" : kk(k) ? M = "active" : k === Oo && (M = "start");
15133
+ k === Tr ? M = "prepare" : kk(k) ? M = "active" : k === vo && (M = "start");
15128
15134
  var X = ox(d, "".concat(C, "-").concat(M));
15129
15135
  R = f(re(re({}, Q), {}, {
15130
15136
  className: ns(ox(d, C), ($ = {}, rn($, X, X && M), rn($, d, typeof d == "string"), $)),
@@ -15490,7 +15496,7 @@ function px() {
15490
15496
  var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
15491
15497
  return [n[0], n[1]];
15492
15498
  }
15493
- function oo(n, e) {
15499
+ function ao(n, e) {
15494
15500
  var t = e[0], r = e[1], i, s;
15495
15501
  return t === "t" ? s = n.y : t === "b" ? s = n.y + n.height : s = n.y + n.height / 2, r === "l" ? i = n.x : r === "r" ? i = n.x + n.width : i = n.x + n.width / 2, {
15496
15502
  x: i,
@@ -15529,10 +15535,10 @@ function hj(n, e, t, r, i, s, o) {
15529
15535
  var m = Es(function() {
15530
15536
  if (e && t && n) {
15531
15537
  let hr = function(tc, pr) {
15532
- var to = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ae, nc = z.x + tc, no = z.y + pr, rc = nc + oe, ga = no + V, ic = Math.max(nc, to.left), Rd = Math.max(no, to.top), Dd = Math.min(rc, to.right), Qd = Math.min(ga, to.bottom);
15538
+ var no = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ae, nc = z.x + tc, ro = z.y + pr, rc = nc + oe, ga = ro + V, ic = Math.max(nc, no.left), Rd = Math.max(ro, no.top), Dd = Math.min(rc, no.right), Qd = Math.min(ga, no.bottom);
15533
15539
  return Math.max(0, (Dd - ic) * (Qd - Rd));
15534
15540
  }, ec = function() {
15535
- ne = z.y + Tt, le = ne + V, Se = z.x + Et, Ze = Se + oe;
15541
+ ne = z.y + Tt, le = ne + V, Se = z.x + Et, We = Se + oe;
15536
15542
  };
15537
15543
  var O, x, S = e, y = S.ownerDocument, w = Dl(S), C = w.getComputedStyle(S), k = C.width, P = C.height, A = C.position, E = S.style.left, I = S.style.top, R = S.style.right, Q = S.style.bottom, $ = S.style.overflow, M = re(re({}, i[r]), s), X = y.createElement("div");
15538
15544
  (O = S.parentElement) === null || O === void 0 || O.appendChild(X), X.style.left = "".concat(S.offsetLeft, "px"), X.style.top = "".concat(S.offsetTop, "px"), X.style.position = A, X.style.height = "".concat(S.offsetHeight, "px"), X.style.width = "".concat(S.offsetWidth, "px"), S.style.left = "0", S.style.top = "0", S.style.right = "auto", S.style.bottom = "auto", S.style.overflow = "hidden";
@@ -15574,9 +15580,9 @@ function hj(n, e, t, r, i, s, o) {
15574
15580
  return;
15575
15581
  var it = M.offset, mt = M.targetOffset, Ht = hx(z, it), ln = Be(Ht, 2), fn = ln[0], dn = ln[1], Rn = hx(Z, mt), Jt = Be(Rn, 2), bs = Jt[0], mi = Jt[1];
15576
15582
  Z.x -= bs, Z.y -= mi;
15577
- var Ni = M.points || [], Ar = Be(Ni, 2), An = Ar[0], Un = Ar[1], Dn = px(Un), Kt = px(An), qn = oo(Z, Dn), Pr = oo(z, Kt), Qn = re({}, M), Et = qn.x - Pr.x + fn, Tt = qn.y - Pr.y + dn, bt = hr(Et, Tt), Fr = hr(Et, Tt, ve), Hn = oo(Z, ["t", "l"]), Jn = oo(z, ["t", "l"]), Oi = oo(Z, ["b", "r"]), Zr = oo(z, ["b", "r"]), Rt = M.overflow || {}, Zt = Rt.adjustX, Mi = Rt.adjustY, xi = Rt.shiftX, Fi = Rt.shiftY, F = function(pr) {
15583
+ var Ni = M.points || [], Ar = Be(Ni, 2), An = Ar[0], Un = Ar[1], Dn = px(Un), Kt = px(An), qn = ao(Z, Dn), Pr = ao(z, Kt), Qn = re({}, M), Et = qn.x - Pr.x + fn, Tt = qn.y - Pr.y + dn, bt = hr(Et, Tt), Fr = hr(Et, Tt, ve), Hn = ao(Z, ["t", "l"]), Jn = ao(z, ["t", "l"]), Oi = ao(Z, ["b", "r"]), Zr = ao(z, ["b", "r"]), Rt = M.overflow || {}, Zt = Rt.adjustX, Mi = Rt.adjustY, xi = Rt.shiftX, Fi = Rt.shiftY, F = function(pr) {
15578
15584
  return typeof pr == "boolean" ? pr : pr >= 0;
15579
- }, ne, le, Se, Ze;
15585
+ }, ne, le, Se, We;
15580
15586
  ec();
15581
15587
  var st = F(Mi), Ne = Kt[0] === Dn[0];
15582
15588
  if (st && Kt[0] === "t" && (le > Te.bottom || h.current.bt)) {
@@ -15596,7 +15602,7 @@ function hj(n, e, t, r, i, s, o) {
15596
15602
  Wr >= Fr) ? (h.current.tb = !0, Tt = vt, dn = -dn, Qn.points = [Wi(Kt, 0), Wi(Dn, 0)]) : h.current.tb = !1;
15597
15603
  }
15598
15604
  var ys = F(Zt), Zn = Kt[1] === Dn[1];
15599
- if (ys && Kt[1] === "l" && (Ze > Te.right || h.current.rl)) {
15605
+ if (ys && Kt[1] === "l" && (We > Te.right || h.current.rl)) {
15600
15606
  var Ss = Et;
15601
15607
  Zn ? Ss -= oe - se : Ss = Hn.x - Zr.x - fn;
15602
15608
  var Yl = hr(Ss, Tt), Sd = hr(Ss, Tt, ve);
@@ -15614,10 +15620,10 @@ function hj(n, e, t, r, i, s, o) {
15614
15620
  }
15615
15621
  ec();
15616
15622
  var Vr = xi === !0 ? 0 : xi;
15617
- typeof Vr == "number" && (Se < ve.left && (Et -= Se - ve.left - fn, Z.x + se < ve.left + Vr && (Et += Z.x - ve.left + se - Vr)), Ze > ve.right && (Et -= Ze - ve.right - fn, Z.x > ve.right - Vr && (Et += Z.x - ve.right + Vr)));
15623
+ typeof Vr == "number" && (Se < ve.left && (Et -= Se - ve.left - fn, Z.x + se < ve.left + Vr && (Et += Z.x - ve.left + se - Vr)), We > ve.right && (Et -= We - ve.right - fn, Z.x > ve.right - Vr && (Et += Z.x - ve.right + Vr)));
15618
15624
  var bi = Fi === !0 ? 0 : Fi;
15619
15625
  typeof bi == "number" && (ne < ve.top && (Tt -= ne - ve.top - dn, Z.y + ie < ve.top + bi && (Tt += Z.y - ve.top + ie - bi)), le > ve.bottom && (Tt -= le - ve.bottom - dn, Z.y > ve.bottom - bi && (Tt += Z.y - ve.bottom + bi)));
15620
- var ha = z.x + Et, ql = ha + oe, Zi = z.y + Tt, Cs = Zi + V, pa = Z.x, eo = pa + se, yi = Z.y, Cd = yi + ie, kd = Math.max(ha, pa), Ad = Math.min(ql, eo), Hl = (kd + Ad) / 2, Pd = Hl - ha, Ed = Math.max(Zi, yi), Td = Math.min(Cs, Cd), Jl = (Ed + Td) / 2, Id = Jl - Zi;
15626
+ var ha = z.x + Et, ql = ha + oe, Zi = z.y + Tt, Cs = Zi + V, pa = Z.x, to = pa + se, yi = Z.y, Cd = yi + ie, kd = Math.max(ha, pa), Ad = Math.min(ql, to), Hl = (kd + Ad) / 2, Pd = Hl - ha, Ed = Math.max(Zi, yi), Td = Math.min(Cs, Cd), Jl = (Ed + Td) / 2, Id = Jl - Zi;
15621
15627
  o == null || o(e, Qn);
15622
15628
  var $d = Ve.right - z.x - (Et + z.width), Kl = Ve.bottom - z.y - (Tt + z.height);
15623
15629
  u({
@@ -15656,7 +15662,7 @@ function pj(n, e, t, r, i) {
15656
15662
  let f = function() {
15657
15663
  r(), i();
15658
15664
  };
15659
- var s = e, o = t, a = xg(s), l = xg(o), c = Dl(o), u = new Set([c].concat(No(a), No(l)));
15665
+ var s = e, o = t, a = xg(s), l = xg(o), c = Dl(o), u = new Set([c].concat(Mo(a), Mo(l)));
15660
15666
  return u.forEach(function(d) {
15661
15667
  d.addEventListener("scroll", f, {
15662
15668
  passive: !0
@@ -15741,12 +15747,12 @@ function Oj() {
15741
15747
  ar(function(me) {
15742
15748
  (!me || bt) && F(!0);
15743
15749
  }, [bt]);
15744
- var ne = U.useState(null), le = Be(ne, 2), Se = le[0], Ze = le[1], st = U.useState([0, 0]), Ne = Be(st, 2), Re = Ne[0], Yt = Ne[1], Ot = function($e) {
15750
+ var ne = U.useState(null), le = Be(ne, 2), Se = le[0], We = le[1], st = U.useState([0, 0]), Ne = Be(st, 2), Re = Ne[0], Yt = Ne[1], Ot = function($e) {
15745
15751
  Yt([$e.clientX, $e.clientY]);
15746
- }, vt = hj(bt, mt, D ? Re : Jt, Q, M, X, j), yt = Be(vt, 11), Wr = yt[0], ys = yt[1], Zn = yt[2], Ss = yt[3], Yl = yt[4], Sd = yt[5], ws = yt[6], Ul = yt[7], wd = yt[8], Vr = yt[9], bi = yt[10], ha = cj(Ie, l, c, u), ql = Be(ha, 2), Zi = ql[0], Cs = ql[1], pa = Zi.has("click"), eo = Cs.has("click") || Cs.has("contextMenu"), yi = Es(function() {
15752
+ }, vt = hj(bt, mt, D ? Re : Jt, Q, M, X, j), yt = Be(vt, 11), Wr = yt[0], ys = yt[1], Zn = yt[2], Ss = yt[3], Yl = yt[4], Sd = yt[5], ws = yt[6], Ul = yt[7], wd = yt[8], Vr = yt[9], bi = yt[10], ha = cj(Ie, l, c, u), ql = Be(ha, 2), Zi = ql[0], Cs = ql[1], pa = Zi.has("click"), to = Cs.has("click") || Cs.has("contextMenu"), yi = Es(function() {
15747
15753
  Fi || bi();
15748
15754
  }), Cd = function() {
15749
- Hn.current && D && eo && Zt(!1);
15755
+ Hn.current && D && to && Zt(!1);
15750
15756
  };
15751
15757
  pj(bt, Jt, mt, yi, Cd), ar(function() {
15752
15758
  yi();
@@ -15775,13 +15781,13 @@ function Oj() {
15775
15781
  F(!1), bi(), p == null || p($e);
15776
15782
  }, tc = function() {
15777
15783
  return new Promise(function($e) {
15778
- Kl(), Ze(function() {
15784
+ Kl(), We(function() {
15779
15785
  return $e;
15780
15786
  });
15781
15787
  });
15782
15788
  };
15783
15789
  ar(function() {
15784
- Se && (bi(), Se(), Ze(null));
15790
+ Se && (bi(), Se(), We(null));
15785
15791
  }, [Se]);
15786
15792
  function pr(me, $e, Wt, en) {
15787
15793
  Un[me] = function(Vt) {
@@ -15792,19 +15798,19 @@ function Oj() {
15792
15798
  (sc = An[me]) === null || sc === void 0 || sc.call.apply(sc, [An, Vt].concat(BO));
15793
15799
  };
15794
15800
  }
15795
- (pa || eo) && (Un.onClick = function(me) {
15801
+ (pa || to) && (Un.onClick = function(me) {
15796
15802
  var $e;
15797
- Hn.current && eo ? Zt(!1) : !Hn.current && pa && (Ot(me), Zt(!0));
15803
+ Hn.current && to ? Zt(!1) : !Hn.current && pa && (Ot(me), Zt(!0));
15798
15804
  for (var Wt = arguments.length, en = new Array(Wt > 1 ? Wt - 1 : 0), Vt = 1; Vt < Wt; Vt++)
15799
15805
  en[Vt - 1] = arguments[Vt];
15800
15806
  ($e = An.onClick) === null || $e === void 0 || $e.call.apply($e, [An, me].concat(en));
15801
- }), gj(bt, eo, Jt, mt, S, w, Dn, Zt);
15802
- var to = Zi.has("hover"), nc = Cs.has("hover"), no, rc;
15803
- to && (pr("onMouseEnter", !0, m, function(me) {
15807
+ }), gj(bt, to, Jt, mt, S, w, Dn, Zt);
15808
+ var no = Zi.has("hover"), nc = Cs.has("hover"), ro, rc;
15809
+ no && (pr("onMouseEnter", !0, m, function(me) {
15804
15810
  Ot(me);
15805
15811
  }), pr("onPointerEnter", !0, m, function(me) {
15806
15812
  Ot(me);
15807
- }), no = function($e) {
15813
+ }), ro = function($e) {
15808
15814
  (bt || Fi) && mt !== null && mt !== void 0 && mt.contains($e.target) && Zt(!0, m);
15809
15815
  }, D && (Un.onMouseMove = function(me) {
15810
15816
  var $e;
@@ -15846,9 +15852,9 @@ function Oj() {
15846
15852
  className: ns(I, kd),
15847
15853
  style: R,
15848
15854
  target: Jt,
15849
- onMouseEnter: no,
15855
+ onMouseEnter: ro,
15850
15856
  onMouseLeave: rc,
15851
- onPointerEnter: no,
15857
+ onPointerEnter: ro,
15852
15858
  zIndex: Z,
15853
15859
  open: bt,
15854
15860
  keepDom: Fi,
@@ -15879,82 +15885,82 @@ function Oj() {
15879
15885
  return process.env.NODE_ENV !== "production" && (e.displayName = "Trigger"), e;
15880
15886
  }
15881
15887
  const vj = Oj(Am);
15882
- var ao = {
15888
+ var lo = {
15883
15889
  shiftX: 64,
15884
15890
  adjustY: 1
15885
- }, lo = {
15891
+ }, co = {
15886
15892
  adjustX: 1,
15887
15893
  shiftY: !0
15888
15894
  }, gr = [0, 0], xj = {
15889
15895
  left: {
15890
15896
  points: ["cr", "cl"],
15891
- overflow: lo,
15897
+ overflow: co,
15892
15898
  offset: [-4, 0],
15893
15899
  targetOffset: gr
15894
15900
  },
15895
15901
  right: {
15896
15902
  points: ["cl", "cr"],
15897
- overflow: lo,
15903
+ overflow: co,
15898
15904
  offset: [4, 0],
15899
15905
  targetOffset: gr
15900
15906
  },
15901
15907
  top: {
15902
15908
  points: ["bc", "tc"],
15903
- overflow: ao,
15909
+ overflow: lo,
15904
15910
  offset: [0, -4],
15905
15911
  targetOffset: gr
15906
15912
  },
15907
15913
  bottom: {
15908
15914
  points: ["tc", "bc"],
15909
- overflow: ao,
15915
+ overflow: lo,
15910
15916
  offset: [0, 4],
15911
15917
  targetOffset: gr
15912
15918
  },
15913
15919
  topLeft: {
15914
15920
  points: ["bl", "tl"],
15915
- overflow: ao,
15921
+ overflow: lo,
15916
15922
  offset: [0, -4],
15917
15923
  targetOffset: gr
15918
15924
  },
15919
15925
  leftTop: {
15920
15926
  points: ["tr", "tl"],
15921
- overflow: lo,
15927
+ overflow: co,
15922
15928
  offset: [-4, 0],
15923
15929
  targetOffset: gr
15924
15930
  },
15925
15931
  topRight: {
15926
15932
  points: ["br", "tr"],
15927
- overflow: ao,
15933
+ overflow: lo,
15928
15934
  offset: [0, -4],
15929
15935
  targetOffset: gr
15930
15936
  },
15931
15937
  rightTop: {
15932
15938
  points: ["tl", "tr"],
15933
- overflow: lo,
15939
+ overflow: co,
15934
15940
  offset: [4, 0],
15935
15941
  targetOffset: gr
15936
15942
  },
15937
15943
  bottomRight: {
15938
15944
  points: ["tr", "br"],
15939
- overflow: ao,
15945
+ overflow: lo,
15940
15946
  offset: [0, 4],
15941
15947
  targetOffset: gr
15942
15948
  },
15943
15949
  rightBottom: {
15944
15950
  points: ["bl", "br"],
15945
- overflow: lo,
15951
+ overflow: co,
15946
15952
  offset: [4, 0],
15947
15953
  targetOffset: gr
15948
15954
  },
15949
15955
  bottomLeft: {
15950
15956
  points: ["tl", "bl"],
15951
- overflow: ao,
15957
+ overflow: lo,
15952
15958
  offset: [0, 4],
15953
15959
  targetOffset: gr
15954
15960
  },
15955
15961
  leftBottom: {
15956
15962
  points: ["br", "bl"],
15957
- overflow: lo,
15963
+ overflow: co,
15958
15964
  offset: [-4, 0],
15959
15965
  targetOffset: gr
15960
15966
  }
@@ -16113,7 +16119,7 @@ const wj = _.div`
16113
16119
  flex-direction: row;
16114
16120
  align-self: flex-end;
16115
16121
  padding-top: var(--spacing-xxs);
16116
- `, na = ({
16122
+ `, Us = ({
16117
16123
  children: n,
16118
16124
  className: e,
16119
16125
  ...t
@@ -16266,7 +16272,7 @@ function Bj({
16266
16272
  (R == null ? void 0 : R.value) && /* @__PURE__ */ b.jsx(zs, { data: R == null ? void 0 : R.value, onCopyClick: m, toasterPlacement: "left" })
16267
16273
  ] }),
16268
16274
  (R == null ? void 0 : R.canBeEdited) && /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
16269
- /* @__PURE__ */ b.jsx(We, {}),
16275
+ /* @__PURE__ */ b.jsx(Fe, {}),
16270
16276
  /* @__PURE__ */ b.jsx(
16271
16277
  Xe,
16272
16278
  {
@@ -16307,7 +16313,7 @@ function Bj({
16307
16313
  /* @__PURE__ */ b.jsx("span", { children: "Undefined variable" })
16308
16314
  ] }),
16309
16315
  /* @__PURE__ */ b.jsx(nh, { children: "Make sure the variable is defined and enabled in the active environment." }),
16310
- /* @__PURE__ */ b.jsx(We, {}),
16316
+ /* @__PURE__ */ b.jsx(Fe, {}),
16311
16317
  /* @__PURE__ */ b.jsx(Xe, { onClick: p, children: "Add new variable" })
16312
16318
  ] }), C = /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
16313
16319
  /* @__PURE__ */ b.jsxs(th, { children: [
@@ -16315,7 +16321,7 @@ function Bj({
16315
16321
  /* @__PURE__ */ b.jsx("span", { children: "Undefined variable value" })
16316
16322
  ] }),
16317
16323
  /* @__PURE__ */ b.jsx(nh, { children: "This variable needs a value assigned before you can use it." }),
16318
- /* @__PURE__ */ b.jsx(We, {}),
16324
+ /* @__PURE__ */ b.jsx(Fe, {}),
16319
16325
  /* @__PURE__ */ b.jsx(Xe, { onClick: p, children: "Set value" })
16320
16326
  ] }), k = /* @__PURE__ */ b.jsxs(
16321
16327
  _j,
@@ -16376,7 +16382,7 @@ const _j = _.span`
16376
16382
  &:hover {
16377
16383
  background-color: ${({ $isServerVariable: n, $isUndefined: e }) => `var(--replay-${n ? "server" : e ? "undefined" : "defined"}-variable-bg-color-hover)`};
16378
16384
  }
16379
- `, Nj = _(na)`
16385
+ `, Nj = _(Us)`
16380
16386
  display: flex;
16381
16387
  flex-direction: column;
16382
16388
  align-items: flex-start;
@@ -16431,7 +16437,7 @@ const _j = _.span`
16431
16437
  flex-direction: column;
16432
16438
  gap: var(--spacing-xs);
16433
16439
  padding-top: var(--spacing-xs);
16434
- `, Xj = _(We)`
16440
+ `, Xj = _(Fe)`
16435
16441
  margin-left: -16.5px;
16436
16442
  width: calc(100% + 16.5px);
16437
16443
  `, Wa = (n, e, t = { withPopover: !0 }) => {
@@ -16560,7 +16566,7 @@ const Yj = _.div`
16560
16566
  left: ${({ $rect: n }) => n.left}px;
16561
16567
  height: ${({ $rect: n }) => n.height}px;
16562
16568
  width: ${({ $rect: n }) => n.width}px;
16563
- `, Uj = _(na)`
16569
+ `, Uj = _(Us)`
16564
16570
  padding: var(--spacing-xs) var(--spacing-sm);
16565
16571
  `, mx = (n, e) => {
16566
16572
  const t = Rk(n, e);
@@ -16722,7 +16728,7 @@ const lB = _.div`
16722
16728
  left: ${({ $rect: n }) => n.left}px;
16723
16729
  height: ${({ $rect: n }) => n.height}px;
16724
16730
  width: ${({ $rect: n }) => n.width}px;
16725
- `, cB = _(na)`
16731
+ `, cB = _(Us)`
16726
16732
  padding: var(--spacing-xxs);
16727
16733
  border-radius: var(--border-radius-lg);
16728
16734
  `, uB = _.div`
@@ -17054,7 +17060,7 @@ function OB() {
17054
17060
  }
17055
17061
  )
17056
17062
  ] }),
17057
- /* @__PURE__ */ b.jsx(We, {}),
17063
+ /* @__PURE__ */ b.jsx(Fe, {}),
17058
17064
  /* @__PURE__ */ b.jsxs(lt, { children: [
17059
17065
  /* @__PURE__ */ b.jsx(Ue, { children: "API key" }),
17060
17066
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17100,7 +17106,7 @@ function vB() {
17100
17106
  }
17101
17107
  )
17102
17108
  ] }),
17103
- /* @__PURE__ */ b.jsx(We, {}),
17109
+ /* @__PURE__ */ b.jsx(Fe, {}),
17104
17110
  /* @__PURE__ */ b.jsxs(lt, { children: [
17105
17111
  /* @__PURE__ */ b.jsx(Ue, { children: "Password" }),
17106
17112
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17116,7 +17122,7 @@ function vB() {
17116
17122
  }
17117
17123
  )
17118
17124
  ] }),
17119
- /* @__PURE__ */ b.jsx(We, {})
17125
+ /* @__PURE__ */ b.jsx(Fe, {})
17120
17126
  ] });
17121
17127
  }
17122
17128
  function xB() {
@@ -17227,7 +17233,7 @@ function AB({ isOpen: n, title: e, content: t, onClose: r, mountId: i }) {
17227
17233
  }, []), n ? /* @__PURE__ */ b.jsx(q0, { mountId: i, children: /* @__PURE__ */ b.jsx(Bk, { children: /* @__PURE__ */ b.jsxs(EB, { children: [
17228
17234
  /* @__PURE__ */ b.jsxs(TB, { children: [
17229
17235
  /* @__PURE__ */ b.jsx(ow, { children: e }),
17230
- /* @__PURE__ */ b.jsx(Xe, { variant: "text", onClick: r, icon: /* @__PURE__ */ b.jsx(Qo, { size: "18px" }), autoFocus: !0 })
17236
+ /* @__PURE__ */ b.jsx(Xe, { variant: "text", onClick: r, icon: /* @__PURE__ */ b.jsx(jo, { size: "18px" }), autoFocus: !0 })
17231
17237
  ] }),
17232
17238
  /* @__PURE__ */ b.jsx(IB, { children: t })
17233
17239
  ] }) }) }) : null;
@@ -17250,7 +17256,7 @@ const PB = ms(AB), EB = _.section`
17250
17256
  margin: 0;
17251
17257
  }
17252
17258
 
17253
- ${Qo} {
17259
+ ${jo} {
17254
17260
  cursor: pointer;
17255
17261
  }
17256
17262
  `, IB = _.div`
@@ -17522,7 +17528,7 @@ function _B({
17522
17528
  }
17523
17529
  )
17524
17530
  ] }),
17525
- /* @__PURE__ */ b.jsx(We, {}),
17531
+ /* @__PURE__ */ b.jsx(Fe, {}),
17526
17532
  /* @__PURE__ */ b.jsxs(lt, { children: [
17527
17533
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Client secret" }),
17528
17534
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17537,7 +17543,7 @@ function _B({
17537
17543
  }
17538
17544
  )
17539
17545
  ] }),
17540
- /* @__PURE__ */ b.jsx(We, {}),
17546
+ /* @__PURE__ */ b.jsx(Fe, {}),
17541
17547
  /* @__PURE__ */ b.jsxs(lt, { children: [
17542
17548
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Access Token URL" }),
17543
17549
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17552,7 +17558,7 @@ function _B({
17552
17558
  }
17553
17559
  )
17554
17560
  ] }),
17555
- /* @__PURE__ */ b.jsx(We, {}),
17561
+ /* @__PURE__ */ b.jsx(Fe, {}),
17556
17562
  /* @__PURE__ */ b.jsx($l, { children: /* @__PURE__ */ b.jsx(
17557
17563
  Xe,
17558
17564
  {
@@ -17593,7 +17599,7 @@ function FB({ codeVerifier: n, codeChallenge: e }) {
17593
17599
  )
17594
17600
  ] }),
17595
17601
  r && /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
17596
- /* @__PURE__ */ b.jsx(We, {}),
17602
+ /* @__PURE__ */ b.jsx(Fe, {}),
17597
17603
  /* @__PURE__ */ b.jsxs(lt, { children: [
17598
17604
  /* @__PURE__ */ b.jsx(Ue, { children: "Code verifier" }),
17599
17605
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17608,7 +17614,7 @@ function FB({ codeVerifier: n, codeChallenge: e }) {
17608
17614
  }
17609
17615
  )
17610
17616
  ] }),
17611
- /* @__PURE__ */ b.jsx(We, {}),
17617
+ /* @__PURE__ */ b.jsx(Fe, {}),
17612
17618
  /* @__PURE__ */ b.jsxs(lt, { children: [
17613
17619
  /* @__PURE__ */ b.jsx(Ue, { children: "Code challenge" }),
17614
17620
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17913,7 +17919,7 @@ function e_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
17913
17919
  }
17914
17920
  )
17915
17921
  ] }),
17916
- /* @__PURE__ */ b.jsx(We, {}),
17922
+ /* @__PURE__ */ b.jsx(Fe, {}),
17917
17923
  /* @__PURE__ */ b.jsxs(lt, { children: [
17918
17924
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Client secret" }),
17919
17925
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17928,9 +17934,9 @@ function e_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
17928
17934
  }
17929
17935
  )
17930
17936
  ] }),
17931
- /* @__PURE__ */ b.jsx(We, {}),
17937
+ /* @__PURE__ */ b.jsx(Fe, {}),
17932
17938
  /* @__PURE__ */ b.jsx(ZB, { codeVerifier: f, codeChallenge: d }),
17933
- /* @__PURE__ */ b.jsx(We, {}),
17939
+ /* @__PURE__ */ b.jsx(Fe, {}),
17934
17940
  /* @__PURE__ */ b.jsxs(lt, { children: [
17935
17941
  /* @__PURE__ */ b.jsx(LC, { children: /* @__PURE__ */ b.jsx(Ue, { children: "Scopes" }) }),
17936
17942
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17944,7 +17950,7 @@ function e_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
17944
17950
  }
17945
17951
  )
17946
17952
  ] }),
17947
- /* @__PURE__ */ b.jsx(We, {}),
17953
+ /* @__PURE__ */ b.jsx(Fe, {}),
17948
17954
  /* @__PURE__ */ b.jsxs(lt, { children: [
17949
17955
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Access Token URL" }),
17950
17956
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17960,7 +17966,7 @@ function e_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
17960
17966
  }
17961
17967
  )
17962
17968
  ] }),
17963
- /* @__PURE__ */ b.jsx(We, {}),
17969
+ /* @__PURE__ */ b.jsx(Fe, {}),
17964
17970
  /* @__PURE__ */ b.jsxs(lt, { children: [
17965
17971
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Authorization URL" }),
17966
17972
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17976,7 +17982,7 @@ function e_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
17976
17982
  }
17977
17983
  )
17978
17984
  ] }),
17979
- /* @__PURE__ */ b.jsx(We, {}),
17985
+ /* @__PURE__ */ b.jsx(Fe, {}),
17980
17986
  /* @__PURE__ */ b.jsxs(lt, { children: [
17981
17987
  /* @__PURE__ */ b.jsx(Ue, { children: "Callback URL" }),
17982
17988
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -17991,7 +17997,7 @@ function e_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
17991
17997
  }
17992
17998
  )
17993
17999
  ] }),
17994
- /* @__PURE__ */ b.jsx(We, {}),
18000
+ /* @__PURE__ */ b.jsx(Fe, {}),
17995
18001
  /* @__PURE__ */ b.jsx($l, { children: /* @__PURE__ */ b.jsx(
17996
18002
  Xe,
17997
18003
  {
@@ -18051,7 +18057,7 @@ function n_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
18051
18057
  }
18052
18058
  )
18053
18059
  ] }),
18054
- /* @__PURE__ */ b.jsx(We, {}),
18060
+ /* @__PURE__ */ b.jsx(Fe, {}),
18055
18061
  /* @__PURE__ */ b.jsxs(lt, { children: [
18056
18062
  /* @__PURE__ */ b.jsx(LC, { children: /* @__PURE__ */ b.jsx(Ue, { children: "Scopes" }) }),
18057
18063
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -18065,7 +18071,7 @@ function n_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
18065
18071
  }
18066
18072
  )
18067
18073
  ] }),
18068
- /* @__PURE__ */ b.jsx(We, {}),
18074
+ /* @__PURE__ */ b.jsx(Fe, {}),
18069
18075
  /* @__PURE__ */ b.jsxs(lt, { children: [
18070
18076
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Authorization URL" }),
18071
18077
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -18081,7 +18087,7 @@ function n_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
18081
18087
  }
18082
18088
  )
18083
18089
  ] }),
18084
- /* @__PURE__ */ b.jsx(We, {}),
18090
+ /* @__PURE__ */ b.jsx(Fe, {}),
18085
18091
  /* @__PURE__ */ b.jsxs(lt, { children: [
18086
18092
  /* @__PURE__ */ b.jsx(Ue, { children: "Callback URL" }),
18087
18093
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -18096,7 +18102,7 @@ function n_({ type: n, onError: e, onGenerateTokenClick: t, onSuccess: r }) {
18096
18102
  }
18097
18103
  )
18098
18104
  ] }),
18099
- /* @__PURE__ */ b.jsx(We, {}),
18105
+ /* @__PURE__ */ b.jsx(Fe, {}),
18100
18106
  /* @__PURE__ */ b.jsx($l, { children: /* @__PURE__ */ b.jsx(
18101
18107
  Xe,
18102
18108
  {
@@ -18159,7 +18165,7 @@ function i_({ type: n, onSuccess: e, onError: t, onGenerateTokenClick: r }) {
18159
18165
  }
18160
18166
  )
18161
18167
  ] }),
18162
- /* @__PURE__ */ b.jsx(We, {}),
18168
+ /* @__PURE__ */ b.jsx(Fe, {}),
18163
18169
  /* @__PURE__ */ b.jsxs(lt, { children: [
18164
18170
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Password" }),
18165
18171
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -18174,7 +18180,7 @@ function i_({ type: n, onSuccess: e, onError: t, onGenerateTokenClick: r }) {
18174
18180
  }
18175
18181
  )
18176
18182
  ] }),
18177
- /* @__PURE__ */ b.jsx(We, {}),
18183
+ /* @__PURE__ */ b.jsx(Fe, {}),
18178
18184
  /* @__PURE__ */ b.jsxs(lt, { children: [
18179
18185
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Access Token URL" }),
18180
18186
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -18189,7 +18195,7 @@ function i_({ type: n, onSuccess: e, onError: t, onGenerateTokenClick: r }) {
18189
18195
  }
18190
18196
  )
18191
18197
  ] }),
18192
- /* @__PURE__ */ b.jsx(We, {}),
18198
+ /* @__PURE__ */ b.jsx(Fe, {}),
18193
18199
  /* @__PURE__ */ b.jsxs(lt, { children: [
18194
18200
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Client ID" }),
18195
18201
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -18204,7 +18210,7 @@ function i_({ type: n, onSuccess: e, onError: t, onGenerateTokenClick: r }) {
18204
18210
  }
18205
18211
  )
18206
18212
  ] }),
18207
- /* @__PURE__ */ b.jsx(We, {}),
18213
+ /* @__PURE__ */ b.jsx(Fe, {}),
18208
18214
  /* @__PURE__ */ b.jsxs(lt, { children: [
18209
18215
  /* @__PURE__ */ b.jsx(Ue, { required: !0, children: "Client secret" }),
18210
18216
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -18219,7 +18225,7 @@ function i_({ type: n, onSuccess: e, onError: t, onGenerateTokenClick: r }) {
18219
18225
  }
18220
18226
  )
18221
18227
  ] }),
18222
- /* @__PURE__ */ b.jsx(We, {}),
18228
+ /* @__PURE__ */ b.jsx(Fe, {}),
18223
18229
  /* @__PURE__ */ b.jsx($l, { children: /* @__PURE__ */ b.jsx(
18224
18230
  Xe,
18225
18231
  {
@@ -18372,7 +18378,7 @@ let b_ = 0, br = class {
18372
18378
  this.from = e, this.to = t;
18373
18379
  }
18374
18380
  };
18375
- class Fe {
18381
+ class Ze {
18376
18382
  /**
18377
18383
  Create a new node prop type.
18378
18384
  */
@@ -18399,17 +18405,17 @@ class Fe {
18399
18405
  };
18400
18406
  }
18401
18407
  }
18402
- Fe.closedBy = new Fe({ deserialize: (n) => n.split(" ") });
18403
- Fe.openedBy = new Fe({ deserialize: (n) => n.split(" ") });
18404
- Fe.group = new Fe({ deserialize: (n) => n.split(" ") });
18405
- Fe.isolate = new Fe({ deserialize: (n) => {
18408
+ Ze.closedBy = new Ze({ deserialize: (n) => n.split(" ") });
18409
+ Ze.openedBy = new Ze({ deserialize: (n) => n.split(" ") });
18410
+ Ze.group = new Ze({ deserialize: (n) => n.split(" ") });
18411
+ Ze.isolate = new Ze({ deserialize: (n) => {
18406
18412
  if (n && n != "rtl" && n != "ltr" && n != "auto")
18407
18413
  throw new RangeError("Invalid value for isolate: " + n);
18408
18414
  return n || "auto";
18409
18415
  } });
18410
- Fe.contextHash = new Fe({ perNode: !0 });
18411
- Fe.lookAhead = new Fe({ perNode: !0 });
18412
- Fe.mounted = new Fe({ perNode: !0 });
18416
+ Ze.contextHash = new Ze({ perNode: !0 });
18417
+ Ze.lookAhead = new Ze({ perNode: !0 });
18418
+ Ze.mounted = new Ze({ perNode: !0 });
18413
18419
  class cl {
18414
18420
  constructor(e, t, r) {
18415
18421
  this.tree = e, this.overlay = t, this.parser = r;
@@ -18418,7 +18424,7 @@ class cl {
18418
18424
  @internal
18419
18425
  */
18420
18426
  static get(e) {
18421
- return e && e.props && e.props[Fe.mounted.id];
18427
+ return e && e.props && e.props[Ze.mounted.id];
18422
18428
  }
18423
18429
  }
18424
18430
  const y_ = /* @__PURE__ */ Object.create(null);
@@ -18484,7 +18490,7 @@ class Fn {
18484
18490
  if (typeof e == "string") {
18485
18491
  if (this.name == e)
18486
18492
  return !0;
18487
- let t = this.prop(Fe.group);
18493
+ let t = this.prop(Ze.group);
18488
18494
  return t ? t.indexOf(e) > -1 : !1;
18489
18495
  }
18490
18496
  return this.id == e;
@@ -18503,7 +18509,7 @@ class Fn {
18503
18509
  for (let i of r.split(" "))
18504
18510
  t[i] = e[r];
18505
18511
  return (r) => {
18506
- for (let i = r.prop(Fe.group), s = -1; s < (i ? i.length : 0); s++) {
18512
+ for (let i = r.prop(Ze.group), s = -1; s < (i ? i.length : 0); s++) {
18507
18513
  let o = t[s < 0 ? r.name : i[s]];
18508
18514
  if (o)
18509
18515
  return o;
@@ -19502,7 +19508,7 @@ function k_(n) {
19502
19508
  if (A >= 0 && (E = w[A]) instanceof _t) {
19503
19509
  if (!A && E.type == y && E.length == k)
19504
19510
  return E;
19505
- (I = E.prop(Fe.lookAhead)) && (P = C[A] + E.length + I);
19511
+ (I = E.prop(Ze.lookAhead)) && (P = C[A] + E.length + I);
19506
19512
  }
19507
19513
  return m(y, w, C, k, P);
19508
19514
  };
@@ -19515,11 +19521,11 @@ function k_(n) {
19515
19521
  }
19516
19522
  function m(y, w, C, k, P = 0, A) {
19517
19523
  if (c) {
19518
- let E = [Fe.contextHash, c];
19524
+ let E = [Ze.contextHash, c];
19519
19525
  A = A ? [E].concat(A) : [E];
19520
19526
  }
19521
19527
  if (P > 25) {
19522
- let E = [Fe.lookAhead, P];
19528
+ let E = [Ze.lookAhead, P];
19523
19529
  A = A ? [E].concat(A) : [E];
19524
19530
  }
19525
19531
  return new _t(y, w, C, k, A);
@@ -19789,7 +19795,7 @@ class E_ {
19789
19795
  this.parser = e, this.predicate = t, this.mounts = r, this.index = i, this.start = s, this.target = o, this.prev = a, this.depth = 0, this.ranges = [];
19790
19796
  }
19791
19797
  }
19792
- const yg = new Fe({ perNode: !0 });
19798
+ const yg = new Ze({ perNode: !0 });
19793
19799
  class T_ {
19794
19800
  constructor(e, t, r, i, s) {
19795
19801
  this.nest = t, this.input = r, this.fragments = i, this.ranges = s, this.inner = [], this.innerDone = 0, this.baseTree = null, this.stoppedAt = null, this.baseParse = e;
@@ -19811,7 +19817,7 @@ class T_ {
19811
19817
  if (t) {
19812
19818
  this.innerDone++;
19813
19819
  let r = Object.assign(/* @__PURE__ */ Object.create(null), e.target.props);
19814
- r[Fe.mounted.id] = new cl(t, e.overlay, e.parser), e.target.props = r;
19820
+ r[Ze.mounted.id] = new cl(t, e.overlay, e.parser), e.target.props = r;
19815
19821
  }
19816
19822
  return null;
19817
19823
  }
@@ -19962,7 +19968,7 @@ let R_ = class {
19962
19968
  if (this.inner) {
19963
19969
  this.inner.cursor.moveTo(e, 1);
19964
19970
  for (let s = this.inner.cursor.node; s; s = s.parent) {
19965
- let o = (r = s.tree) === null || r === void 0 ? void 0 : r.prop(Fe.mounted);
19971
+ let o = (r = s.tree) === null || r === void 0 ? void 0 : r.prop(Ze.mounted);
19966
19972
  if (o && o.parser == t)
19967
19973
  for (let a = this.fragI; a < this.fragments.length; a++) {
19968
19974
  let l = this.fragments[a];
@@ -20609,7 +20615,7 @@ class j_ {
20609
20615
  return r;
20610
20616
  }
20611
20617
  }
20612
- class ko {
20618
+ class Ao {
20613
20619
  constructor(e, t) {
20614
20620
  this.data = e, this.id = t;
20615
20621
  }
@@ -20618,7 +20624,7 @@ class ko {
20618
20624
  zk(this.data, e, t, this.id, r.data, r.tokenPrecTable);
20619
20625
  }
20620
20626
  }
20621
- ko.prototype.contextual = ko.prototype.fallback = ko.prototype.extend = !1;
20627
+ Ao.prototype.contextual = Ao.prototype.fallback = Ao.prototype.extend = !1;
20622
20628
  class Uu {
20623
20629
  constructor(e, t, r) {
20624
20630
  this.precTable = t, this.elseToken = r, this.data = typeof e == "string" ? Qa(e) : e;
@@ -20638,7 +20644,7 @@ class Uu {
20638
20644
  i && (e.reset(r, e.token), e.acceptToken(this.elseToken, i));
20639
20645
  }
20640
20646
  }
20641
- Uu.prototype.contextual = ko.prototype.fallback = ko.prototype.extend = !1;
20647
+ Uu.prototype.contextual = Ao.prototype.fallback = Ao.prototype.extend = !1;
20642
20648
  class dr {
20643
20649
  /**
20644
20650
  Create a tokenizer. The first argument is the function that,
@@ -20755,7 +20761,7 @@ class __ {
20755
20761
  return null;
20756
20762
  let a = o + s.length;
20757
20763
  if (a <= this.safeTo) {
20758
- let l = s.prop(Fe.lookAhead);
20764
+ let l = s.prop(Ze.lookAhead);
20759
20765
  if (!l || a + l < this.fragment.to)
20760
20766
  return s;
20761
20767
  }
@@ -20939,7 +20945,7 @@ class M_ {
20939
20945
  let c = e.curContext && e.curContext.tracker.strict, u = c ? e.curContext.hash : 0;
20940
20946
  for (let f = this.fragments.nodeAt(i); f; ) {
20941
20947
  let d = this.parser.nodeSet.types[f.type.id] == f.type ? s.getGoto(e.state, f.type.id) : -1;
20942
- if (d > -1 && f.length && (!c || (f.prop(Fe.contextHash) || 0) == u))
20948
+ if (d > -1 && f.length && (!c || (f.prop(Ze.contextHash) || 0) == u))
20943
20949
  return e.useNode(f, d), Kn && console.log(o + this.stackID(e) + ` (via reuse of ${s.getName(f.type.id)})`), !0;
20944
20950
  if (!(f instanceof _t) || f.children.length == 0 || f.positions[0] > 0)
20945
20951
  break;
@@ -21067,7 +21073,7 @@ class cs extends Xk {
21067
21073
  if (e.nodeProps)
21068
21074
  for (let a of e.nodeProps) {
21069
21075
  let l = a[0];
21070
- typeof l == "string" && (l = Fe[l]);
21076
+ typeof l == "string" && (l = Ze[l]);
21071
21077
  for (let c = 1; c < a.length; ) {
21072
21078
  let u = a[c++];
21073
21079
  if (u >= 0)
@@ -21092,7 +21098,7 @@ class cs extends Xk {
21092
21098
  this.context = e.context, this.specializerSpecs = e.specialized || [], this.specialized = new Uint16Array(this.specializerSpecs.length);
21093
21099
  for (let a = 0; a < this.specializerSpecs.length; a++)
21094
21100
  this.specialized[a] = this.specializerSpecs[a].term;
21095
- this.specializers = this.specializerSpecs.map(Qx), this.states = Qa(e.states, Uint32Array), this.data = Qa(e.stateData), this.goto = Qa(e.goto), this.maxTerm = e.maxTerm, this.tokenizers = e.tokenizers.map((a) => typeof a == "number" ? new ko(o, a) : a), this.topRules = e.topRules, this.dialects = e.dialects || {}, this.dynamicPrecedences = e.dynamicPrecedences || null, this.tokenPrecTable = e.tokenPrec, this.termNames = e.termNames || null, this.maxNode = this.nodeSet.types.length - 1, this.dialect = this.parseDialect(), this.top = this.topRules[Object.keys(this.topRules)[0]];
21101
+ this.specializers = this.specializerSpecs.map(Qx), this.states = Qa(e.states, Uint32Array), this.data = Qa(e.stateData), this.goto = Qa(e.goto), this.maxTerm = e.maxTerm, this.tokenizers = e.tokenizers.map((a) => typeof a == "number" ? new Ao(o, a) : a), this.topRules = e.topRules, this.dialects = e.dialects || {}, this.dynamicPrecedences = e.dynamicPrecedences || null, this.tokenPrecTable = e.tokenPrec, this.termNames = e.termNames || null, this.maxNode = this.nodeSet.types.length - 1, this.dialect = this.parseDialect(), this.top = this.topRules[Object.keys(this.topRules)[0]];
21096
21102
  }
21097
21103
  createParse(e, t, r) {
21098
21104
  let i = new M_(this, e, t, r);
@@ -21424,7 +21430,7 @@ function ra(n) {
21424
21430
  }
21425
21431
  return Gk.add(e);
21426
21432
  }
21427
- const Gk = new Fe();
21433
+ const Gk = new Ze();
21428
21434
  class Hu {
21429
21435
  constructor(e, t, r, i) {
21430
21436
  this.tags = e, this.mode = t, this.context = r, this.next = i;
@@ -21498,7 +21504,7 @@ class Y_ {
21498
21504
  let c = i, u = U_(e) || Hu.empty, f = L_(s, u.tags);
21499
21505
  if (f && (c && (c += " "), c += f, u.mode == 1 && (i += (i ? " " : "") + f)), this.startSpan(Math.max(t, a), c), u.opaque)
21500
21506
  return;
21501
- let d = e.tree && e.tree.prop(Fe.mounted);
21507
+ let d = e.tree && e.tree.prop(Ze.mounted);
21502
21508
  if (d && d.overlay) {
21503
21509
  let h = e.node.enter(d.overlay[0].from + a, 1), p = this.highlighters.filter((g) => !g.scope || g.scope(d.tree.type)), m = e.firstChild();
21504
21510
  for (let g = 0, v = a; ; g++) {
@@ -21977,7 +21983,7 @@ class ot {
21977
21983
  Replace a range of the text with the given content.
21978
21984
  */
21979
21985
  replace(e, t, r) {
21980
- [e, t] = Zo(this, e, t);
21986
+ [e, t] = Wo(this, e, t);
21981
21987
  let i = [];
21982
21988
  return this.decompose(
21983
21989
  0,
@@ -22009,7 +22015,7 @@ class ot {
22009
22015
  Retrieve the text between the given points.
22010
22016
  */
22011
22017
  slice(e, t = this.length) {
22012
- [e, t] = Zo(this, e, t);
22018
+ [e, t] = Wo(this, e, t);
22013
22019
  let r = [];
22014
22020
  return this.decompose(e, t, r, 0), Jr.from(r, t - e);
22015
22021
  }
@@ -22125,13 +22131,13 @@ class Gt extends ot {
22125
22131
  replace(e, t, r) {
22126
22132
  if (!(r instanceof Gt))
22127
22133
  return super.replace(e, t, r);
22128
- [e, t] = Zo(this, e, t);
22134
+ [e, t] = Wo(this, e, t);
22129
22135
  let i = cu(this.text, cu(r.text, _x(this.text, 0, e)), t), s = this.length + r.length - (t - e);
22130
22136
  return i.length <= 32 ? new Gt(i, s) : Jr.from(Gt.split(i, []), s);
22131
22137
  }
22132
22138
  sliceString(e, t = this.length, r = `
22133
22139
  `) {
22134
- [e, t] = Zo(this, e, t);
22140
+ [e, t] = Wo(this, e, t);
22135
22141
  let i = "";
22136
22142
  for (let s = 0, o = 0; s <= t && o < this.text.length; o++) {
22137
22143
  let a = this.text[o], l = s + a.length;
@@ -22178,7 +22184,7 @@ class Jr extends ot {
22178
22184
  }
22179
22185
  }
22180
22186
  replace(e, t, r) {
22181
- if ([e, t] = Zo(this, e, t), r.lines < this.lines)
22187
+ if ([e, t] = Wo(this, e, t), r.lines < this.lines)
22182
22188
  for (let i = 0, s = 0; i < this.children.length; i++) {
22183
22189
  let o = this.children[i], a = s + o.length;
22184
22190
  if (e >= s && t <= a) {
@@ -22195,7 +22201,7 @@ class Jr extends ot {
22195
22201
  }
22196
22202
  sliceString(e, t = this.length, r = `
22197
22203
  `) {
22198
- [e, t] = Zo(this, e, t);
22204
+ [e, t] = Wo(this, e, t);
22199
22205
  let i = "";
22200
22206
  for (let s = 0, o = 0; s < this.children.length && o <= t; s++) {
22201
22207
  let a = this.children[s], l = o + a.length;
@@ -22350,16 +22356,16 @@ class K_ {
22350
22356
  return this.to - this.from;
22351
22357
  }
22352
22358
  }
22353
- function Zo(n, e, t) {
22359
+ function Wo(n, e, t) {
22354
22360
  return e = Math.max(0, Math.min(n.length, e)), [e, Math.max(e, Math.min(n.length, t))];
22355
22361
  }
22356
- let Ao = /* @__PURE__ */ "lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((n) => n ? parseInt(n, 36) : 1);
22357
- for (let n = 1; n < Ao.length; n++)
22358
- Ao[n] += Ao[n - 1];
22362
+ let Po = /* @__PURE__ */ "lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((n) => n ? parseInt(n, 36) : 1);
22363
+ for (let n = 1; n < Po.length; n++)
22364
+ Po[n] += Po[n - 1];
22359
22365
  function e9(n) {
22360
- for (let e = 1; e < Ao.length; e += 2)
22361
- if (Ao[e] > n)
22362
- return Ao[e - 1] <= n;
22366
+ for (let e = 1; e < Po.length; e += 2)
22367
+ if (Po[e] > n)
22368
+ return Po[e - 1] <= n;
22363
22369
  return !1;
22364
22370
  }
22365
22371
  function Nx(n) {
@@ -23645,11 +23651,11 @@ function cA(n, e, t) {
23645
23651
  };
23646
23652
  }
23647
23653
  function Ig(n, e, t) {
23648
- let r = e.selection, i = Po(e.annotations);
23654
+ let r = e.selection, i = Eo(e.annotations);
23649
23655
  return e.userEvent && (i = i.concat(qt.userEvent.of(e.userEvent))), {
23650
23656
  changes: e.changes instanceof sn ? e.changes : sn.of(e.changes || [], t, n.facet(iA)),
23651
23657
  selection: r && (r instanceof te ? r : te.single(r.anchor, r.head)),
23652
- effects: Po(e.effects),
23658
+ effects: Eo(e.effects),
23653
23659
  annotations: i,
23654
23660
  scrollIntoView: !!e.scrollIntoView
23655
23661
  };
@@ -23688,7 +23694,7 @@ function a9(n) {
23688
23694
  let r = e.facet(oA);
23689
23695
  for (let i = r.length - 1; i >= 0; i--) {
23690
23696
  let s = r[i](n);
23691
- s instanceof qt ? n = s : Array.isArray(s) && s.length == 1 && s[0] instanceof qt ? n = s[0] : n = uA(e, Po(s), !1);
23697
+ s instanceof qt ? n = s : Array.isArray(s) && s.length == 1 && s[0] instanceof qt ? n = s[0] : n = uA(e, Eo(s), !1);
23692
23698
  }
23693
23699
  return n;
23694
23700
  }
@@ -23701,7 +23707,7 @@ function l9(n) {
23701
23707
  return r == n ? n : qt.create(e, n.changes, n.selection, r.effects, r.annotations, r.scrollIntoView);
23702
23708
  }
23703
23709
  const c9 = [];
23704
- function Po(n) {
23710
+ function Eo(n) {
23705
23711
  return n == null ? c9 : Array.isArray(n) ? n : [n];
23706
23712
  }
23707
23713
  var jt = /* @__PURE__ */ function(n) {
@@ -23775,7 +23781,7 @@ class Ye {
23775
23781
  applyTransaction(e) {
23776
23782
  let t = this.config, { base: r, compartments: i } = t;
23777
23783
  for (let a of e.effects)
23778
- a.is(rd.reconfigure) ? (t && (i = /* @__PURE__ */ new Map(), t.compartments.forEach((l, c) => i.set(c, l)), t = null), i.set(a.value.compartment, a.value.extension)) : a.is(Qe.reconfigure) ? (t = null, r = a.value) : a.is(Qe.appendConfig) && (t = null, r = Po(r).concat(a.value));
23784
+ a.is(rd.reconfigure) ? (t && (i = /* @__PURE__ */ new Map(), t.compartments.forEach((l, c) => i.set(c, l)), t = null), i.set(a.value.compartment, a.value.extension)) : a.is(Qe.reconfigure) ? (t = null, r = a.value) : a.is(Qe.appendConfig) && (t = null, r = Eo(r).concat(a.value));
23779
23785
  let s;
23780
23786
  t ? s = e.startState.values.slice() : (t = Ju.resolve(r, i, this), s = new Ye(t, this.doc, this.selection, t.dynamicSlots.map(() => null), (l, c) => c.reconfigure(l, this), null).values);
23781
23787
  let o = e.startState.facet(Tg) ? e.newSelection : e.newSelection.asSingle();
@@ -23803,13 +23809,13 @@ class Ye {
23803
23809
  [`update`](https://codemirror.net/6/docs/ref/#state.EditorState.update).
23804
23810
  */
23805
23811
  changeByRange(e) {
23806
- let t = this.selection, r = e(t.ranges[0]), i = this.changes(r.changes), s = [r.range], o = Po(r.effects);
23812
+ let t = this.selection, r = e(t.ranges[0]), i = this.changes(r.changes), s = [r.range], o = Eo(r.effects);
23807
23813
  for (let a = 1; a < t.ranges.length; a++) {
23808
23814
  let l = e(t.ranges[a]), c = this.changes(l.changes), u = c.map(i);
23809
23815
  for (let d = 0; d < a; d++)
23810
23816
  s[d] = s[d].map(u);
23811
23817
  let f = i.mapDesc(c, !0);
23812
- s.push(l.range.map(f)), i = i.compose(u), o = Qe.mapEffects(o, u).concat(Qe.mapEffects(Po(l.effects), f));
23818
+ s.push(l.range.map(f)), i = i.compose(u), o = Qe.mapEffects(o, u).concat(Qe.mapEffects(Eo(l.effects), f));
23813
23819
  }
23814
23820
  return {
23815
23821
  changes: i,
@@ -24832,7 +24838,7 @@ function fu(n, e) {
24832
24838
  return !1;
24833
24839
  }
24834
24840
  }
24835
- function Wo(n) {
24841
+ function Vo(n) {
24836
24842
  return n.nodeType == 3 ? Zs(n, 0, n.nodeValue.length).getClientRects() : n.nodeType == 1 ? n.getClientRects() : [];
24837
24843
  }
24838
24844
  function za(n, e, t, r) {
@@ -24973,21 +24979,21 @@ class S9 {
24973
24979
  this.anchorNode = e, this.anchorOffset = t, this.focusNode = r, this.focusOffset = i;
24974
24980
  }
24975
24981
  }
24976
- let co = null;
24982
+ let uo = null;
24977
24983
  function pA(n) {
24978
24984
  if (n.setActive)
24979
24985
  return n.setActive();
24980
- if (co)
24981
- return n.focus(co);
24986
+ if (uo)
24987
+ return n.focus(uo);
24982
24988
  let e = [];
24983
24989
  for (let t = n; t && (e.push(t, t.scrollTop, t.scrollLeft), t != t.ownerDocument); t = t.parentNode)
24984
24990
  ;
24985
- if (n.focus(co == null ? {
24991
+ if (n.focus(uo == null ? {
24986
24992
  get preventScroll() {
24987
- return co = { preventScroll: !0 }, !0;
24993
+ return uo = { preventScroll: !0 }, !0;
24988
24994
  }
24989
- } : void 0), !co) {
24990
- co = !1;
24995
+ } : void 0), !uo) {
24996
+ uo = !1;
24991
24997
  for (let t = 0; t < e.length; ) {
24992
24998
  let r = e[t++], i = e[t++], s = e[t++];
24993
24999
  r.scrollTop != i && (r.scrollTop = i), r.scrollLeft != s && (r.scrollLeft = s);
@@ -24999,7 +25005,7 @@ function Zs(n, e, t = e) {
24999
25005
  let r = Ux || (Ux = document.createRange());
25000
25006
  return r.setEnd(n, t), r.setStart(n, e), r;
25001
25007
  }
25002
- function Eo(n, e, t, r) {
25008
+ function To(n, e, t, r) {
25003
25009
  let i = { key: e, code: e, keyCode: t, which: t, cancelable: !0 };
25004
25010
  r && ({ altKey: i.altKey, ctrlKey: i.ctrlKey, shiftKey: i.shiftKey, metaKey: i.metaKey } = r);
25005
25011
  let s = new KeyboardEvent("keydown", i);
@@ -25475,7 +25481,7 @@ class Hi extends Ct {
25475
25481
  super.destroy(), this.dom && this.widget.destroy(this.dom);
25476
25482
  }
25477
25483
  }
25478
- class Vo extends Ct {
25484
+ class Xo extends Ct {
25479
25485
  constructor(e) {
25480
25486
  super(), this.side = e;
25481
25487
  }
@@ -25486,10 +25492,10 @@ class Vo extends Ct {
25486
25492
  return !1;
25487
25493
  }
25488
25494
  become(e) {
25489
- return e instanceof Vo && e.side == this.side;
25495
+ return e instanceof Xo && e.side == this.side;
25490
25496
  }
25491
25497
  split() {
25492
- return new Vo(this.side);
25498
+ return new Xo(this.side);
25493
25499
  }
25494
25500
  sync() {
25495
25501
  if (!this.dom) {
@@ -25519,7 +25525,7 @@ class Vo extends Ct {
25519
25525
  return !0;
25520
25526
  }
25521
25527
  }
25522
- Br.prototype.children = Hi.prototype.children = Vo.prototype.children = Mm;
25528
+ Br.prototype.children = Hi.prototype.children = Xo.prototype.children = Mm;
25523
25529
  function CA(n, e) {
25524
25530
  let t = n.dom, { children: r } = n, i = 0;
25525
25531
  for (let s = 0; i < r.length; i++) {
@@ -25564,7 +25570,7 @@ function P9(n) {
25564
25570
  let e = n.dom.lastChild;
25565
25571
  if (!e)
25566
25572
  return n.dom.getBoundingClientRect();
25567
- let t = Wo(e);
25573
+ let t = Vo(e);
25568
25574
  return t[t.length - 1] || null;
25569
25575
  }
25570
25576
  function Wg(n, e) {
@@ -25666,7 +25672,7 @@ class nn extends Ct {
25666
25672
  for (let r of this.children) {
25667
25673
  if (!(r instanceof Br) || /[^ -~]/.test(r.text))
25668
25674
  return null;
25669
- let i = Wo(r.dom);
25675
+ let i = Vo(r.dom);
25670
25676
  if (i.length != 1)
25671
25677
  return null;
25672
25678
  e += i[0].width, t = i[0].height;
@@ -25995,7 +26001,7 @@ class La {
25995
26001
  return this.curLine || (this.content.push(this.curLine = new nn()), this.atCursorPos = !0), this.curLine;
25996
26002
  }
25997
26003
  flushBuffer(e = this.bufferMarks) {
25998
- this.pendingBuffer && (this.curLine.append(Pc(new Vo(-1), e), e.length), this.pendingBuffer = 0);
26004
+ this.pendingBuffer && (this.curLine.append(Pc(new Xo(-1), e), e.length), this.pendingBuffer = 0);
25999
26005
  }
26000
26006
  addBlockWidget(e) {
26001
26007
  this.flushBuffer(), this.curLine = null, this.content.push(e);
@@ -26037,10 +26043,10 @@ class La {
26037
26043
  let a = t - e;
26038
26044
  if (r instanceof hs)
26039
26045
  if (r.block)
26040
- r.startSide > 0 && !this.posCovered() && this.getLine(), this.addBlockWidget(new rs(r.widget || Xo.block, a, r));
26046
+ r.startSide > 0 && !this.posCovered() && this.getLine(), this.addBlockWidget(new rs(r.widget || zo.block, a, r));
26041
26047
  else {
26042
- let l = Hi.create(r.widget || Xo.inline, a, a ? 0 : r.startSide), c = this.atCursorPos && !l.isEditable && s <= i.length && (e < t || r.startSide > 0), u = !l.isEditable && (e < t || s > i.length || r.startSide <= 0), f = this.getLine();
26043
- this.pendingBuffer == 2 && !c && !l.isEditable && (this.pendingBuffer = 0), this.flushBuffer(i), c && (f.append(Pc(new Vo(1), i), s), s = i.length + Math.max(0, s - i.length)), f.append(Pc(l, i), s), this.atCursorPos = u, this.pendingBuffer = u ? e < t || s > i.length ? 1 : 2 : 0, this.pendingBuffer && (this.bufferMarks = i.slice());
26048
+ let l = Hi.create(r.widget || zo.inline, a, a ? 0 : r.startSide), c = this.atCursorPos && !l.isEditable && s <= i.length && (e < t || r.startSide > 0), u = !l.isEditable && (e < t || s > i.length || r.startSide <= 0), f = this.getLine();
26049
+ this.pendingBuffer == 2 && !c && !l.isEditable && (this.pendingBuffer = 0), this.flushBuffer(i), c && (f.append(Pc(new Xo(1), i), s), s = i.length + Math.max(0, s - i.length)), f.append(Pc(l, i), s), this.atCursorPos = u, this.pendingBuffer = u ? e < t || s > i.length ? 1 : 2 : 0, this.pendingBuffer && (this.bufferMarks = i.slice());
26044
26050
  }
26045
26051
  else
26046
26052
  this.doc.lineAt(this.pos).from == this.pos && this.getLine().addLineDeco(r);
@@ -26056,7 +26062,7 @@ function Pc(n, e) {
26056
26062
  n = new $i(t, [n], n.length);
26057
26063
  return n;
26058
26064
  }
26059
- class Xo extends pi {
26065
+ class zo extends pi {
26060
26066
  constructor(e) {
26061
26067
  super(), this.tag = e;
26062
26068
  }
@@ -26073,8 +26079,8 @@ class Xo extends pi {
26073
26079
  return !0;
26074
26080
  }
26075
26081
  }
26076
- Xo.inline = /* @__PURE__ */ new Xo("span");
26077
- Xo.block = /* @__PURE__ */ new Xo("div");
26082
+ zo.inline = /* @__PURE__ */ new zo("span");
26083
+ zo.block = /* @__PURE__ */ new zo("div");
26078
26084
  var $t = /* @__PURE__ */ function(n) {
26079
26085
  return n[n.LTR = 0] = "LTR", n[n.RTL = 1] = "RTL", n;
26080
26086
  }($t || ($t = {}));
@@ -26367,15 +26373,15 @@ const DA = /* @__PURE__ */ he.define(), QA = /* @__PURE__ */ he.define(), jA = /
26367
26373
  }), FA = /* @__PURE__ */ he.define({
26368
26374
  combine: (n) => n.some((e) => e)
26369
26375
  }), ZA = /* @__PURE__ */ he.define();
26370
- class To {
26376
+ class Io {
26371
26377
  constructor(e, t = "nearest", r = "nearest", i = 5, s = 5, o = !1) {
26372
26378
  this.range = e, this.y = t, this.x = r, this.yMargin = i, this.xMargin = s, this.isSnapshot = o;
26373
26379
  }
26374
26380
  map(e) {
26375
- return e.empty ? this : new To(this.range.map(e), this.y, this.x, this.yMargin, this.xMargin, this.isSnapshot);
26381
+ return e.empty ? this : new Io(this.range.map(e), this.y, this.x, this.yMargin, this.xMargin, this.isSnapshot);
26376
26382
  }
26377
26383
  clip(e) {
26378
- return this.range.to <= e.doc.length ? this : new To(te.cursor(e.doc.length), this.y, this.x, this.yMargin, this.xMargin, this.isSnapshot);
26384
+ return this.range.to <= e.doc.length ? this : new Io(te.cursor(e.doc.length), this.y, this.x, this.yMargin, this.xMargin, this.isSnapshot);
26379
26385
  }
26380
26386
  }
26381
26387
  const Ec = /* @__PURE__ */ Qe.define({ map: (n, e) => n.map(e) });
@@ -26820,7 +26826,7 @@ class nb extends Ct {
26820
26826
  if (c >= r) {
26821
26827
  let h = f.dom.getBoundingClientRect();
26822
26828
  if (t.push(h.height), o) {
26823
- let p = f.dom.lastChild, m = p ? Wo(p) : [];
26829
+ let p = f.dom.lastChild, m = p ? Vo(p) : [];
26824
26830
  if (m.length) {
26825
26831
  let g = m[m.length - 1], v = l ? g.right - h.left : h.right - g.left;
26826
26832
  v > a && (a = v, this.minWidth = s, this.minWidthFrom = c, this.minWidthTo = d);
@@ -26845,7 +26851,7 @@ class nb extends Ct {
26845
26851
  let e = document.createElement("div"), t, r, i;
26846
26852
  return e.className = "cm-line", e.style.width = "99999px", e.style.position = "absolute", e.textContent = "abc def ghi jkl mno pqr stu", this.view.observer.ignore(() => {
26847
26853
  this.dom.appendChild(e);
26848
- let s = Wo(e.firstChild)[0];
26854
+ let s = Vo(e.firstChild)[0];
26849
26855
  t = e.getBoundingClientRect().height, r = s ? s.width / 27 : 7, i = s ? s.height : t, e.remove();
26850
26856
  }), { lineHeight: t, charWidth: r, textHeight: i };
26851
26857
  }
@@ -27058,7 +27064,7 @@ function sb(n, e) {
27058
27064
  function Ug(n, e, t) {
27059
27065
  let r, i, s, o, a = !1, l, c, u, f;
27060
27066
  for (let p = n.firstChild; p; p = p.nextSibling) {
27061
- let m = Wo(p);
27067
+ let m = Vo(p);
27062
27068
  for (let g = 0; g < m.length; g++) {
27063
27069
  let v = m[g];
27064
27070
  i && dh(i, v) && (v = ib(sb(v, i.bottom), i.top));
@@ -27314,7 +27320,7 @@ class tN {
27314
27320
  }
27315
27321
  flushIOSKey(e) {
27316
27322
  let t = this.pendingIOSKey;
27317
- return !t || t.key == "Enter" && e && e.from < e.to && /^\S+$/.test(e.insert.toString()) ? !1 : (this.pendingIOSKey = void 0, Eo(this.view.contentDOM, t.key, t.keyCode, t instanceof KeyboardEvent ? t : void 0));
27323
+ return !t || t.key == "Enter" && e && e.from < e.to && /^\S+$/.test(e.insert.toString()) ? !1 : (this.pendingIOSKey = void 0, To(this.view.contentDOM, t.key, t.keyCode, t instanceof KeyboardEvent ? t : void 0));
27318
27324
  }
27319
27325
  ignoreDuringComposition(e) {
27320
27326
  return /^key/.test(e.type) ? this.composing > 0 ? !0 : ge.safari && !ge.ios && this.compositionPendingKey && Date.now() - this.compositionEndedAt < 100 ? (this.compositionPendingKey = !1, !0) : !1 : !1;
@@ -28933,7 +28939,7 @@ function lP(n, e) {
28933
28939
  ` && n.lineWrapping && (r && (r = te.single(r.main.anchor - 1, r.main.head - 1)), t = { from: i.from, to: i.to, insert: ot.of([" "]) }), t) {
28934
28940
  if (ge.ios && n.inputState.flushIOSKey(t) || ge.android && (t.to == i.to && // GBoard will sometimes remove a space it just inserted
28935
28941
  // after a completion when you press enter
28936
- (t.from == i.from || t.from == i.from - 1 && n.state.sliceDoc(t.from, i.from) == " ") && t.insert.length == 1 && t.insert.lines == 2 && Eo(n.contentDOM, "Enter", 13) || (t.from == i.from - 1 && t.to == i.to && t.insert.length == 0 || s == 8 && t.insert.length < t.to - t.from && t.to > i.head) && Eo(n.contentDOM, "Backspace", 8) || t.from == i.from && t.to == i.to + 1 && t.insert.length == 0 && Eo(n.contentDOM, "Delete", 46)))
28942
+ (t.from == i.from || t.from == i.from - 1 && n.state.sliceDoc(t.from, i.from) == " ") && t.insert.length == 1 && t.insert.lines == 2 && To(n.contentDOM, "Enter", 13) || (t.from == i.from - 1 && t.to == i.to && t.insert.length == 0 || s == 8 && t.insert.length < t.to - t.from && t.to > i.head) && To(n.contentDOM, "Backspace", 8) || t.from == i.from && t.to == i.to + 1 && t.insert.length == 0 && To(n.contentDOM, "Delete", 46)))
28937
28943
  return !0;
28938
28944
  let o = t.insert.toString();
28939
28945
  n.inputState.composing >= 0 && n.inputState.composing++;
@@ -29152,7 +29158,7 @@ class MN {
29152
29158
  if (!this.delayedAndroidKey) {
29153
29159
  let i = () => {
29154
29160
  let s = this.delayedAndroidKey;
29155
- s && (this.clearDelayedAndroidKey(), this.view.inputState.lastKeyCode = s.keyCode, this.view.inputState.lastKeyTime = Date.now(), !this.flush() && s.force && Eo(this.dom, s.key, s.keyCode));
29161
+ s && (this.clearDelayedAndroidKey(), this.view.inputState.lastKeyCode = s.keyCode, this.view.inputState.lastKeyTime = Date.now(), !this.flush() && s.force && To(this.dom, s.key, s.keyCode));
29156
29162
  };
29157
29163
  this.flushingAndroidKey = this.view.win.requestAnimationFrame(i);
29158
29164
  }
@@ -29382,7 +29388,7 @@ class ue {
29382
29388
  for (let d of e) {
29383
29389
  if (f && (f = f.map(d.changes)), d.scrollIntoView) {
29384
29390
  let { main: h } = d.state.selection;
29385
- f = new To(h.empty ? h : te.cursor(h.head, h.head > h.anchor ? -1 : 1));
29391
+ f = new Io(h.empty ? h : te.cursor(h.head, h.head > h.anchor ? -1 : 1));
29386
29392
  }
29387
29393
  for (let h of d.effects)
29388
29394
  h.is(Ec) && (f = h.value.clip(this.state));
@@ -29399,7 +29405,7 @@ class ue {
29399
29405
  _n(this.state, h, "update listener");
29400
29406
  }
29401
29407
  (l || u) && Promise.resolve().then(() => {
29402
- l && this.state == l.startState && this.dispatch(l), u && !lP(this, u) && c.force && Eo(this.contentDOM, c.key, c.keyCode);
29408
+ l && this.state == l.startState && this.dispatch(l), u && !lP(this, u) && c.force && To(this.contentDOM, c.key, c.keyCode);
29403
29409
  });
29404
29410
  }
29405
29411
  /**
@@ -29898,7 +29904,7 @@ class ue {
29898
29904
  cause it to scroll the given position or range into view.
29899
29905
  */
29900
29906
  static scrollIntoView(e, t = {}) {
29901
- return Ec.of(new To(typeof e == "number" ? te.cursor(e) : e, t.y, t.x, t.yMargin, t.xMargin));
29907
+ return Ec.of(new Io(typeof e == "number" ? te.cursor(e) : e, t.y, t.x, t.yMargin, t.xMargin));
29902
29908
  }
29903
29909
  /**
29904
29910
  Return an effect that resets the editor to its current (at the
@@ -29914,7 +29920,7 @@ class ue {
29914
29920
  */
29915
29921
  scrollSnapshot() {
29916
29922
  let { scrollTop: e, scrollLeft: t } = this.scrollDOM, r = this.viewState.scrollAnchorAt(e);
29917
- return Ec.of(new To(te.cursor(r.from), "start", "start", r.top - e, t, !0));
29923
+ return Ec.of(new Io(te.cursor(r.from), "start", "start", r.top - e, t, !0));
29918
29924
  }
29919
29925
  /**
29920
29926
  Returns an extension that can be used to add DOM event handlers.
@@ -30644,7 +30650,7 @@ let mM = class extends pi {
30644
30650
  return e.className = "cm-placeholder", e.style.pointerEvents = "none", e.appendChild(typeof this.content == "string" ? document.createTextNode(this.content) : this.content), typeof this.content == "string" ? e.setAttribute("aria-label", "placeholder " + this.content) : e.setAttribute("aria-hidden", "true"), e;
30645
30651
  }
30646
30652
  coordsAt(e) {
30647
- let t = e.firstChild ? Wo(e.firstChild) : [];
30653
+ let t = e.firstChild ? Vo(e.firstChild) : [];
30648
30654
  if (!t.length)
30649
30655
  return null;
30650
30656
  let r = window.getComputedStyle(e.parentNode), i = id(t[0], r.direction != "rtl"), s = parseInt(r.lineHeight);
@@ -31536,7 +31542,7 @@ function NM(n, e) {
31536
31542
  return !1;
31537
31543
  return !0;
31538
31544
  }
31539
- const MM = /* @__PURE__ */ he.define(), xo = /* @__PURE__ */ he.define({
31545
+ const MM = /* @__PURE__ */ he.define(), bo = /* @__PURE__ */ he.define({
31540
31546
  combine(n) {
31541
31547
  return hi(n, { formatNumber: String, domEventHandlers: {} }, {
31542
31548
  domEventHandlers(e, t) {
@@ -31562,9 +31568,9 @@ class vh extends Ri {
31562
31568
  }
31563
31569
  }
31564
31570
  function xh(n, e) {
31565
- return n.state.facet(xo).formatNumber(e, n.state);
31571
+ return n.state.facet(bo).formatNumber(e, n.state);
31566
31572
  }
31567
- const FM = /* @__PURE__ */ Ga.compute([xo], (n) => ({
31573
+ const FM = /* @__PURE__ */ Ga.compute([bo], (n) => ({
31568
31574
  class: "cm-lineNumbers",
31569
31575
  renderEmptyElements: !1,
31570
31576
  markers(e) {
@@ -31574,7 +31580,7 @@ const FM = /* @__PURE__ */ Ga.compute([xo], (n) => ({
31574
31580
  return r.some((i) => i.toDOM) ? null : new vh(xh(e, e.state.doc.lineAt(t.from).number));
31575
31581
  },
31576
31582
  widgetMarker: () => null,
31577
- lineMarkerChange: (e) => e.startState.facet(xo) != e.state.facet(xo),
31583
+ lineMarkerChange: (e) => e.startState.facet(bo) != e.state.facet(bo),
31578
31584
  initialSpacer(e) {
31579
31585
  return new vh(xh(e, Nb(e.state.doc.lines)));
31580
31586
  },
@@ -31582,11 +31588,11 @@ const FM = /* @__PURE__ */ Ga.compute([xo], (n) => ({
31582
31588
  let r = xh(t.view, Nb(t.view.state.doc.lines));
31583
31589
  return r == e.number ? e : new vh(r);
31584
31590
  },
31585
- domEventHandlers: n.facet(xo).domEventHandlers
31591
+ domEventHandlers: n.facet(bo).domEventHandlers
31586
31592
  }));
31587
31593
  function ZM(n = {}) {
31588
31594
  return [
31589
- xo.of(n),
31595
+ bo.of(n),
31590
31596
  bP(),
31591
31597
  FM
31592
31598
  ];
@@ -31613,13 +31619,13 @@ function XM() {
31613
31619
  return VM;
31614
31620
  }
31615
31621
  var bh;
31616
- const bo = /* @__PURE__ */ new Fe();
31622
+ const yo = /* @__PURE__ */ new Ze();
31617
31623
  function SP(n) {
31618
31624
  return he.define({
31619
31625
  combine: n ? (e) => e.concat(n) : void 0
31620
31626
  });
31621
31627
  }
31622
- const Gm = /* @__PURE__ */ new Fe();
31628
+ const Gm = /* @__PURE__ */ new Ze();
31623
31629
  class Rr {
31624
31630
  /**
31625
31631
  Construct a language object. If you need to invoke this
@@ -31634,7 +31640,7 @@ class Rr {
31634
31640
  } }), this.parser = t, this.extension = [
31635
31641
  gs.of(this),
31636
31642
  Ye.languageData.of((s, o, a) => {
31637
- let l = Mb(s, o, a), c = l.type.prop(bo);
31643
+ let l = Mb(s, o, a), c = l.type.prop(yo);
31638
31644
  if (!c)
31639
31645
  return [];
31640
31646
  let u = s.facet(c), f = l.type.prop(Gm);
@@ -31654,7 +31660,7 @@ class Rr {
31654
31660
  Query whether this language is active at the given position.
31655
31661
  */
31656
31662
  isActiveAt(e, t, r = -1) {
31657
- return Mb(e, t, r).type.prop(bo) == this.data;
31663
+ return Mb(e, t, r).type.prop(yo) == this.data;
31658
31664
  }
31659
31665
  /**
31660
31666
  Find the document regions that were parsed using this language.
@@ -31668,13 +31674,13 @@ class Rr {
31668
31674
  if (!t || !t.allowsNesting)
31669
31675
  return [];
31670
31676
  let r = [], i = (s, o) => {
31671
- if (s.prop(bo) == this.data) {
31677
+ if (s.prop(yo) == this.data) {
31672
31678
  r.push({ from: o, to: o + s.length });
31673
31679
  return;
31674
31680
  }
31675
- let a = s.prop(Fe.mounted);
31681
+ let a = s.prop(Ze.mounted);
31676
31682
  if (a) {
31677
- if (a.tree.prop(bo) == this.data) {
31683
+ if (a.tree.prop(yo) == this.data) {
31678
31684
  if (a.overlay)
31679
31685
  for (let l of a.overlay)
31680
31686
  r.push({ from: l.from + o, to: l.to + o });
@@ -31720,7 +31726,7 @@ class ps extends Rr {
31720
31726
  static define(e) {
31721
31727
  let t = SP(e.languageData);
31722
31728
  return new ps(t, e.parser.configure({
31723
- props: [bo.add((r) => r.isTop ? t : void 0)]
31729
+ props: [yo.add((r) => r.isTop ? t : void 0)]
31724
31730
  }), e.name);
31725
31731
  }
31726
31732
  /**
@@ -31917,7 +31923,7 @@ class of {
31917
31923
  function Fb(n, e, t) {
31918
31924
  return Ei.applyChanges(n, [{ fromA: e, toA: t, fromB: e, toB: t }]);
31919
31925
  }
31920
- class zo {
31926
+ class Lo {
31921
31927
  constructor(e) {
31922
31928
  this.context = e, this.tree = e.tree;
31923
31929
  }
@@ -31925,20 +31931,20 @@ class zo {
31925
31931
  if (!e.docChanged && this.tree == this.context.tree)
31926
31932
  return this;
31927
31933
  let t = this.context.changes(e.changes, e.state), r = this.context.treeLen == e.startState.doc.length ? void 0 : Math.max(e.changes.mapPos(this.context.treeLen), t.viewport.to);
31928
- return t.work(20, r) || t.takeTree(), new zo(t);
31934
+ return t.work(20, r) || t.takeTree(), new Lo(t);
31929
31935
  }
31930
31936
  static init(e) {
31931
31937
  let t = Math.min(3e3, e.doc.length), r = of.create(e.facet(gs).parser, e, { from: 0, to: t });
31932
- return r.work(20, t) || r.takeTree(), new zo(r);
31938
+ return r.work(20, t) || r.takeTree(), new Lo(r);
31933
31939
  }
31934
31940
  }
31935
31941
  Rr.state = /* @__PURE__ */ an.define({
31936
- create: zo.init,
31942
+ create: Lo.init,
31937
31943
  update(n, e) {
31938
31944
  for (let t of e.effects)
31939
31945
  if (t.is(Rr.setState))
31940
31946
  return t.value;
31941
- return e.startState.facet(gs) != e.state.facet(gs) ? zo.init(e.state) : n.apply(e);
31947
+ return e.startState.facet(gs) != e.state.facet(gs) ? Lo.init(e.state) : n.apply(e);
31942
31948
  }
31943
31949
  });
31944
31950
  let wP = (n) => {
@@ -31988,7 +31994,7 @@ const yh = typeof navigator < "u" && (!((bh = navigator.scheduling) === null ||
31988
31994
  ))
31989
31995
  return;
31990
31996
  let o = Date.now() + Math.min(this.chunkBudget, 100, e && !yh ? Math.max(25, e.timeRemaining() - 5) : 1e9), a = s.context.treeLen < i && r.doc.length > i + 1e3, l = s.context.work(() => yh && yh() || Date.now() > o, i + (a ? 0 : 1e5));
31991
- this.chunkBudget -= Date.now() - t, (l || this.chunkBudget <= 0) && (s.context.takeTree(), this.view.dispatch({ effects: Rr.setState.of(new zo(s.context)) })), this.chunkBudget > 0 && !(l && !a) && this.scheduleWork(), this.checkAsyncSchedule(s.context);
31997
+ this.chunkBudget -= Date.now() - t, (l || this.chunkBudget <= 0) && (s.context.takeTree(), this.view.dispatch({ effects: Rr.setState.of(new Lo(s.context)) })), this.chunkBudget > 0 && !(l && !a) && this.scheduleWork(), this.checkAsyncSchedule(s.context);
31992
31998
  }
31993
31999
  checkAsyncSchedule(e) {
31994
32000
  e.scheduleOn && (this.workScheduled++, e.scheduleOn.then(() => this.scheduleWork()).catch((t) => _n(this.view.state, t)).then(() => this.workScheduled--), e.scheduleOn = null);
@@ -32123,7 +32129,7 @@ class ld {
32123
32129
  return this.options.simulateBreak || null;
32124
32130
  }
32125
32131
  }
32126
- const oa = /* @__PURE__ */ new Fe();
32132
+ const oa = /* @__PURE__ */ new Ze();
32127
32133
  function YM(n, e, t) {
32128
32134
  let r = e.resolveStack(t), i = r.node.enterUnfinishedNodesBefore(t);
32129
32135
  if (i != r.node) {
@@ -32151,7 +32157,7 @@ function qM(n) {
32151
32157
  if (e)
32152
32158
  return e;
32153
32159
  let t = n.firstChild, r;
32154
- if (t && (r = t.type.prop(Fe.closedBy))) {
32160
+ if (t && (r = t.type.prop(Ze.closedBy))) {
32155
32161
  let i = n.lastChild, s = i && r.indexOf(i.name) > -1;
32156
32162
  return (o) => kP(o, !0, 1, void 0, s && !UM(o) ? i.from : void 0);
32157
32163
  }
@@ -32246,7 +32252,7 @@ function kP(n, e, t, r, i) {
32246
32252
  return l ? a ? n.column(l.from) : n.column(l.to) : n.baseIndent + (a ? 0 : n.unit * t);
32247
32253
  }
32248
32254
  const t8 = (n) => n.baseIndent;
32249
- function Io({ except: n, units: e = 1 } = {}) {
32255
+ function $o({ except: n, units: e = 1 } = {}) {
32250
32256
  return (t) => {
32251
32257
  let r = n && n.test(t.textAfter);
32252
32258
  return t.baseIndent + (r ? 0 : e * t.unit);
@@ -32281,7 +32287,7 @@ function r8() {
32281
32287
  return l.length ? [n, { changes: l, sequential: !0 }] : n;
32282
32288
  });
32283
32289
  }
32284
- const i8 = /* @__PURE__ */ he.define(), aa = /* @__PURE__ */ new Fe();
32290
+ const i8 = /* @__PURE__ */ he.define(), aa = /* @__PURE__ */ new Ze();
32285
32291
  function qm(n) {
32286
32292
  let e = n.firstChild, t = n.lastChild;
32287
32293
  return e && e.to < t.from ? { from: e.to, to: t.type.isError ? n.to : t.from } : null;
@@ -32558,7 +32564,7 @@ class la {
32558
32564
  return (r || (r = /* @__PURE__ */ Object.create(null)))["." + l] = a, l;
32559
32565
  }
32560
32566
  const s = typeof t.all == "string" ? t.all : t.all ? i(t.all) : void 0, o = t.scope;
32561
- this.scope = o instanceof Rr ? (a) => a.prop(bo) == o.data : o ? (a) => a == o : void 0, this.style = Yk(e.map((a) => ({
32567
+ this.scope = o instanceof Rr ? (a) => a.prop(yo) == o.data : o ? (a) => a == o : void 0, this.style = Yk(e.map((a) => ({
32562
32568
  tag: a.tag,
32563
32569
  class: a.class || i(Object.assign({}, a, { tag: null }))
32564
32570
  })), {
@@ -32737,9 +32743,9 @@ const k8 = /* @__PURE__ */ an.define({
32737
32743
  function P8(n = {}) {
32738
32744
  return [jP.of(n), A8];
32739
32745
  }
32740
- const Km = /* @__PURE__ */ new Fe();
32746
+ const Km = /* @__PURE__ */ new Ze();
32741
32747
  function a0(n, e, t) {
32742
- let r = n.prop(e < 0 ? Fe.openedBy : Fe.closedBy);
32748
+ let r = n.prop(e < 0 ? Ze.openedBy : Ze.closedBy);
32743
32749
  if (r)
32744
32750
  return r;
32745
32751
  if (n.name.length == 1) {
@@ -32862,8 +32868,8 @@ const BP = /* @__PURE__ */ ps.define({
32862
32868
  parser: /* @__PURE__ */ H_.configure({
32863
32869
  props: [
32864
32870
  /* @__PURE__ */ oa.add({
32865
- Object: /* @__PURE__ */ Io({ except: /^\s*\}/ }),
32866
- Array: /* @__PURE__ */ Io({ except: /^\s*\]/ })
32871
+ Object: /* @__PURE__ */ $o({ except: /^\s*\}/ }),
32872
+ Array: /* @__PURE__ */ $o({ except: /^\s*\]/ })
32867
32873
  }),
32868
32874
  /* @__PURE__ */ aa.add({
32869
32875
  "Object Array": qm
@@ -34084,7 +34090,7 @@ const WF = (n) => (e) => {
34084
34090
  parser: /* @__PURE__ */ BF.configure({
34085
34091
  props: [
34086
34092
  /* @__PURE__ */ oa.add({
34087
- Declaration: /* @__PURE__ */ Io()
34093
+ Declaration: /* @__PURE__ */ $o()
34088
34094
  }),
34089
34095
  /* @__PURE__ */ aa.add({
34090
34096
  "Block KeyframeList": qm
@@ -34720,12 +34726,12 @@ function PZ(n, e) {
34720
34726
  }
34721
34727
  return o;
34722
34728
  }
34723
- class yo {
34729
+ class So {
34724
34730
  constructor(e, t, r, i, s, o) {
34725
34731
  this.options = e, this.attrs = t, this.tooltip = r, this.timestamp = i, this.selected = s, this.disabled = o;
34726
34732
  }
34727
34733
  setSelected(e, t) {
34728
- return e == this.selected || e >= this.options.length ? this : new yo(this.options, uy(t, e), this.tooltip, this.timestamp, e, this.disabled);
34734
+ return e == this.selected || e >= this.options.length ? this : new So(this.options, uy(t, e), this.tooltip, this.timestamp, e, this.disabled);
34729
34735
  }
34730
34736
  static build(e, t, r, i, s) {
34731
34737
  let o = PZ(e, t);
@@ -34733,7 +34739,7 @@ class yo {
34733
34739
  return i && e.some(
34734
34740
  (l) => l.state == 1
34735
34741
  /* State.Pending */
34736
- ) ? new yo(i.options, i.attrs, i.tooltip, i.timestamp, i.selected, !0) : null;
34742
+ ) ? new So(i.options, i.attrs, i.tooltip, i.timestamp, i.selected, !0) : null;
34737
34743
  let a = t.facet(Cn).selectOnOpen ? 0 : -1;
34738
34744
  if (i && i.selected != a && i.selected != -1) {
34739
34745
  let l = i.options[i.selected].completion;
@@ -34743,14 +34749,14 @@ class yo {
34743
34749
  break;
34744
34750
  }
34745
34751
  }
34746
- return new yo(o, uy(r, a), {
34752
+ return new So(o, uy(r, a), {
34747
34753
  pos: e.reduce((l, c) => c.hasResult() ? Math.min(l, c.from) : l, 1e8),
34748
34754
  create: RZ,
34749
34755
  above: s.aboveCursor
34750
34756
  }, i ? i.timestamp : Date.now(), a, !1);
34751
34757
  }
34752
34758
  map(e) {
34753
- return new yo(this.options, this.attrs, Object.assign(Object.assign({}, this.tooltip), { pos: e.mapPos(this.tooltip.pos) }), this.timestamp, this.selected, this.disabled);
34759
+ return new So(this.options, this.attrs, Object.assign(Object.assign({}, this.tooltip), { pos: e.mapPos(this.tooltip.pos) }), this.timestamp, this.selected, this.disabled);
34754
34760
  }
34755
34761
  }
34756
34762
  class pf {
@@ -34771,7 +34777,7 @@ class pf {
34771
34777
  )).update(e, r));
34772
34778
  s.length == this.active.length && s.every((a, l) => a == this.active[l]) && (s = this.active);
34773
34779
  let o = this.open;
34774
- o && e.docChanged && (o = o.map(e.changes)), e.selection || s.some((a) => a.hasResult() && e.changes.touchesRange(a.from, a.to)) || !EZ(s, this.active) ? o = yo.build(s, t, this.id, o, r) : o && o.disabled && !s.some(
34780
+ o && e.docChanged && (o = o.map(e.changes)), e.selection || s.some((a) => a.hasResult() && e.changes.touchesRange(a.from, a.to)) || !EZ(s, this.active) ? o = So.build(s, t, this.id, o, r) : o && o.disabled && !s.some(
34775
34781
  (a) => a.state == 1
34776
34782
  /* State.Pending */
34777
34783
  ) && (o = null), !o && s.every(
@@ -34874,7 +34880,7 @@ class jn {
34874
34880
  return e.empty || this.explicitPos < 0 ? this : new jn(this.source, this.state, e.mapPos(this.explicitPos));
34875
34881
  }
34876
34882
  }
34877
- class $o extends jn {
34883
+ class Ro extends jn {
34878
34884
  constructor(e, t, r, i, s) {
34879
34885
  super(e, 2, t), this.result = r, this.from = i, this.to = s;
34880
34886
  }
@@ -34893,7 +34899,7 @@ class $o extends jn {
34893
34899
  /* State.Inactive */
34894
34900
  );
34895
34901
  let c = this.explicitPos < 0 ? -1 : e.changes.mapPos(this.explicitPos);
34896
- return $Z(s.validFor, e.state, o, a) ? new $o(this.source, c, s, o, a) : s.update && (s = s.update(s, o, a, new KP(e.state, l, c >= 0))) ? new $o(this.source, c, s, s.from, (i = s.to) !== null && i !== void 0 ? i : is(e.state)) : new jn(this.source, 1, c);
34902
+ return $Z(s.validFor, e.state, o, a) ? new Ro(this.source, c, s, o, a) : s.update && (s = s.update(s, o, a, new KP(e.state, l, c >= 0))) ? new Ro(this.source, c, s, s.from, (i = s.to) !== null && i !== void 0 ? i : is(e.state)) : new jn(this.source, 1, c);
34897
34903
  }
34898
34904
  handleChange(e) {
34899
34905
  return e.changes.touchesRange(this.from, this.to) ? new jn(
@@ -34903,7 +34909,7 @@ class $o extends jn {
34903
34909
  ) : this.map(e.changes);
34904
34910
  }
34905
34911
  map(e) {
34906
- return e.empty ? this : (this.result.map ? this.result.map(this.result, e) : this.result) ? new $o(this.source, this.explicitPos < 0 ? -1 : e.mapPos(this.explicitPos), this.result, e.mapPos(this.from), e.mapPos(this.to, 1)) : new jn(
34912
+ return e.empty ? this : (this.result.map ? this.result.map(this.result, e) : this.result) ? new Ro(this.source, this.explicitPos < 0 ? -1 : e.mapPos(this.explicitPos), this.result, e.mapPos(this.from), e.mapPos(this.to, 1)) : new jn(
34907
34913
  this.source,
34908
34914
  0
34909
34915
  /* State.Inactive */
@@ -34935,7 +34941,7 @@ const n2 = /* @__PURE__ */ Qe.define({
34935
34941
  function rO(n, e) {
34936
34942
  const t = e.completion.apply || e.completion.label;
34937
34943
  let r = n.state.field(Ln).active.find((i) => i.source == e.source);
34938
- return r instanceof $o ? (typeof t == "string" ? n.dispatch(Object.assign(Object.assign({}, vZ(n.state, t, r.from, r.to)), { annotations: nO.of(e.completion) })) : t(n, e.completion, r.from, r.to), !0) : !1;
34944
+ return r instanceof Ro ? (typeof t == "string" ? n.dispatch(Object.assign(Object.assign({}, vZ(n.state, t, r.from, r.to)), { annotations: nO.of(e.completion) })) : t(n, e.completion, r.from, r.to), !0) : !1;
34939
34945
  }
34940
34946
  const RZ = /* @__PURE__ */ kZ(Ln, rO);
34941
34947
  function Nc(n, e = "option") {
@@ -35022,7 +35028,7 @@ const BZ = 50, _Z = 1e3, NZ = /* @__PURE__ */ Mt.fromClass(class {
35022
35028
  if (i.done === void 0)
35023
35029
  continue;
35024
35030
  if (this.running.splice(r--, 1), i.done) {
35025
- let o = new $o(i.active.source, i.active.explicitPos, i.done, i.done.from, (n = i.done.to) !== null && n !== void 0 ? n : is(i.updates.length ? i.updates[0].startState : this.view.state));
35031
+ let o = new Ro(i.active.source, i.active.explicitPos, i.done, i.done.from, (n = i.done.to) !== null && n !== void 0 ? n : is(i.updates.length ? i.updates[0].startState : this.view.state));
35026
35032
  for (let a of i.updates)
35027
35033
  o = o.update(a, t);
35028
35034
  if (o.hasResult()) {
@@ -35745,8 +35751,8 @@ const ai = /* @__PURE__ */ ps.define({
35745
35751
  parser: /* @__PURE__ */ gZ.configure({
35746
35752
  props: [
35747
35753
  /* @__PURE__ */ oa.add({
35748
- IfStatement: /* @__PURE__ */ Io({ except: /^\s*({|else\b)/ }),
35749
- TryStatement: /* @__PURE__ */ Io({ except: /^\s*({|catch\b|finally\b)/ }),
35754
+ IfStatement: /* @__PURE__ */ $o({ except: /^\s*({|else\b)/ }),
35755
+ TryStatement: /* @__PURE__ */ $o({ except: /^\s*({|catch\b|finally\b)/ }),
35750
35756
  LabeledStatement: t8,
35751
35757
  SwitchBody: (n) => {
35752
35758
  let e = n.textAfter, t = /^\s*\}/.test(e), r = /^\s*(case|default)\b/.test(e);
@@ -35755,7 +35761,7 @@ const ai = /* @__PURE__ */ ps.define({
35755
35761
  Block: /* @__PURE__ */ e8({ closing: "}" }),
35756
35762
  ArrowFunction: (n) => n.baseIndent + n.unit,
35757
35763
  "TemplateString BlockComment": () => null,
35758
- "Statement Property": /* @__PURE__ */ Io({ except: /^{/ }),
35764
+ "Statement Property": /* @__PURE__ */ $o({ except: /^{/ }),
35759
35765
  JSXElement(n) {
35760
35766
  let e = /^\s*<\//.test(n.textAfter);
35761
35767
  return n.lineIndent(n.node.from) + (e ? 0 : n.unit);
@@ -36275,13 +36281,13 @@ class gf {
36275
36281
  }
36276
36282
  }
36277
36283
  gf.default = /* @__PURE__ */ new gf();
36278
- function Lo(n, e, t = n.length) {
36284
+ function Go(n, e, t = n.length) {
36279
36285
  if (!e)
36280
36286
  return "";
36281
36287
  let r = e.firstChild, i = r && r.getChild("TagName");
36282
36288
  return i ? n.sliceString(i.from, Math.min(i.to, t)) : "";
36283
36289
  }
36284
- function Go(n, e = !1) {
36290
+ function Yo(n, e = !1) {
36285
36291
  for (; n; n = n.parent)
36286
36292
  if (n.name == "Element")
36287
36293
  if (e)
@@ -36291,13 +36297,13 @@ function Go(n, e = !1) {
36291
36297
  return null;
36292
36298
  }
36293
36299
  function C2(n, e, t) {
36294
- let r = t.tags[Lo(n, Go(e))];
36300
+ let r = t.tags[Go(n, Yo(e))];
36295
36301
  return (r == null ? void 0 : r.children) || t.allTags;
36296
36302
  }
36297
36303
  function lO(n, e) {
36298
36304
  let t = [];
36299
- for (let r = Go(e); r && !r.type.isTop; r = Go(r.parent)) {
36300
- let i = Lo(n, r);
36305
+ for (let r = Yo(e); r && !r.type.isTop; r = Yo(r.parent)) {
36306
+ let i = Go(n, r);
36301
36307
  if (i && r.lastChild.name == "CloseTag")
36302
36308
  break;
36303
36309
  i && t.indexOf(i) < 0 && (e.name == "EndTag" || e.from >= r.firstChild.to) && t.push(i);
@@ -36306,7 +36312,7 @@ function lO(n, e) {
36306
36312
  }
36307
36313
  const k2 = /^[:\-\.\w\u00b7-\uffff]*$/;
36308
36314
  function Oy(n, e, t, r, i) {
36309
- let s = /\s*>/.test(n.sliceDoc(i, i + 5)) ? "" : ">", o = Go(t, !0);
36315
+ let s = /\s*>/.test(n.sliceDoc(i, i + 5)) ? "" : ">", o = Yo(t, !0);
36310
36316
  return {
36311
36317
  from: r,
36312
36318
  to: i,
@@ -36337,7 +36343,7 @@ function y6(n, e, t, r) {
36337
36343
  return { from: r, to: r, options: i, validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/ };
36338
36344
  }
36339
36345
  function S6(n, e, t, r, i) {
36340
- let s = Go(t), o = s ? e.tags[Lo(n.doc, s)] : null, a = o && o.attrs ? Object.keys(o.attrs) : [], l = o && o.globalAttrs === !1 ? a : a.length ? a.concat(e.globalAttrNames) : e.globalAttrNames;
36346
+ let s = Yo(t), o = s ? e.tags[Go(n.doc, s)] : null, a = o && o.attrs ? Object.keys(o.attrs) : [], l = o && o.globalAttrs === !1 ? a : a.length ? a.concat(e.globalAttrNames) : e.globalAttrNames;
36341
36347
  return {
36342
36348
  from: r,
36343
36349
  to: i,
@@ -36351,7 +36357,7 @@ function w6(n, e, t, r, i) {
36351
36357
  if (o) {
36352
36358
  let c = n.sliceDoc(o.from, o.to), u = e.globalAttrs[c];
36353
36359
  if (!u) {
36354
- let f = Go(t), d = f ? e.tags[Lo(n.doc, f)] : null;
36360
+ let f = Yo(t), d = f ? e.tags[Go(n.doc, f)] : null;
36355
36361
  u = (d == null ? void 0 : d.attrs) && d.attrs[c];
36356
36362
  }
36357
36363
  if (u) {
@@ -36482,13 +36488,13 @@ const xy = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command emb
36482
36488
  let d = o.doc.sliceString(l.from - 1, l.to) == r, { head: h } = l, p = Bt(o).resolveInner(h, -1), m;
36483
36489
  if (d && r == ">" && p.name == "EndTag") {
36484
36490
  let g = p.parent;
36485
- if (((u = (c = g.parent) === null || c === void 0 ? void 0 : c.lastChild) === null || u === void 0 ? void 0 : u.name) != "CloseTag" && (m = Lo(o.doc, g.parent, h)) && !xy.has(m)) {
36491
+ if (((u = (c = g.parent) === null || c === void 0 ? void 0 : c.lastChild) === null || u === void 0 ? void 0 : u.name) != "CloseTag" && (m = Go(o.doc, g.parent, h)) && !xy.has(m)) {
36486
36492
  let v = h + (o.doc.sliceString(h, h + 1) === ">" ? 1 : 0), O = `</${m}>`;
36487
36493
  return { range: l, changes: { from: h, to: v, insert: O } };
36488
36494
  }
36489
36495
  } else if (d && r == "/" && p.name == "IncompleteCloseTag") {
36490
36496
  let g = p.parent;
36491
- if (p.from == h - 2 && ((f = g.lastChild) === null || f === void 0 ? void 0 : f.name) != "CloseTag" && (m = Lo(o.doc, g, h)) && !xy.has(m)) {
36497
+ if (p.from == h - 2 && ((f = g.lastChild) === null || f === void 0 ? void 0 : f.name) != "CloseTag" && (m = Go(o.doc, g, h)) && !xy.has(m)) {
36492
36498
  let v = h + (o.doc.sliceString(h, h + 1) === ">" ? 1 : 0), O = `${m}>`;
36493
36499
  return {
36494
36500
  range: te.cursor(h + O.length, -1),
@@ -36868,10 +36874,10 @@ class Rs {
36868
36874
  diagnostic: a,
36869
36875
  inclusive: !0
36870
36876
  }).range(a.from, a.to)), !0);
36871
- return new Rs(o, t, Yo(o));
36877
+ return new Rs(o, t, Uo(o));
36872
36878
  }
36873
36879
  }
36874
- function Yo(n, e = null, t = 0) {
36880
+ function Uo(n, e = null, t = 0) {
36875
36881
  let r = null;
36876
36882
  return n.between(t, 1e9, (i, s, { spec: o }) => {
36877
36883
  if (!(e && o.diagnostic != e))
@@ -36902,7 +36908,7 @@ const uO = /* @__PURE__ */ Qe.define(), fO = /* @__PURE__ */ Qe.define(), $2 = /
36902
36908
  let t = n.diagnostics.map(e.changes), r = null;
36903
36909
  if (n.selected) {
36904
36910
  let i = e.changes.mapPos(n.selected.from, 1);
36905
- r = Yo(t, n.selected.diagnostic, i) || Yo(t, null, i);
36911
+ r = Uo(t, n.selected.diagnostic, i) || Uo(t, null, i);
36906
36912
  }
36907
36913
  n = new Rs(t, n.panel, r);
36908
36914
  }
@@ -37025,7 +37031,7 @@ function D2(n, e, t) {
37025
37031
  if (d.preventDefault(), a)
37026
37032
  return;
37027
37033
  a = !0;
37028
- let h = Yo(n.state.field(cr).diagnostics, e);
37034
+ let h = Uo(n.state.field(cr).diagnostics, e);
37029
37035
  h && s.apply(n, h.from, h.to);
37030
37036
  }, { name: c } = s, u = i[o] ? c.indexOf(i[o]) : -1, f = u < 0 ? c : [
37031
37037
  c.slice(0, u),
@@ -37077,7 +37083,7 @@ class fd {
37077
37083
  let { diagnostic: s } = this.items[this.selectedIndex], o = R2(s.actions);
37078
37084
  for (let a = 0; a < o.length; a++)
37079
37085
  if (o[a].toUpperCase().charCodeAt(0) == i.keyCode) {
37080
- let l = Yo(this.view.state.field(cr).diagnostics, s);
37086
+ let l = Uo(this.view.state.field(cr).diagnostics, s);
37081
37087
  l && s.actions[a].apply(e, l.from, l.to);
37082
37088
  }
37083
37089
  } else
@@ -37154,7 +37160,7 @@ class fd {
37154
37160
  moveSelection(e) {
37155
37161
  if (this.selectedIndex < 0)
37156
37162
  return;
37157
- let t = this.view.state.field(cr), r = Yo(t.diagnostics, this.items[e].diagnostic);
37163
+ let t = this.view.state.field(cr), r = Uo(t.diagnostics, this.items[e].diagnostic);
37158
37164
  r && this.view.dispatch({
37159
37165
  selection: { anchor: r.from, head: r.to },
37160
37166
  scrollIntoView: !0,
@@ -37616,7 +37622,7 @@ function QW(n, e, t) {
37616
37622
  return r && (r > 2 || /[^\s,.;:]/.test(n.sliceDoc(e.from, e.to))) || e.firstChild;
37617
37623
  }
37618
37624
  function pd(n, e, t) {
37619
- let r = Bt(n).resolveInner(e.head), i = t ? Fe.closedBy : Fe.openedBy;
37625
+ let r = Bt(n).resolveInner(e.head), i = t ? Ze.closedBy : Ze.openedBy;
37620
37626
  for (let l = e.head; ; ) {
37621
37627
  let c = t ? r.childAfter(l) : r.childBefore(l);
37622
37628
  if (!c)
@@ -37866,7 +37872,7 @@ function mV(n, e) {
37866
37872
  if (/\(\)|\[\]|\{\}/.test(n.sliceDoc(e - 1, e + 1)))
37867
37873
  return { from: e, to: e };
37868
37874
  let t = Bt(n).resolveInner(e), r = t.childBefore(e), i = t.childAfter(e), s;
37869
- return r && i && r.to <= e && i.from >= e && (s = r.type.prop(Fe.closedBy)) && s.indexOf(i.name) > -1 && n.doc.lineAt(r.to).from == n.doc.lineAt(i.from).from && !/\S/.test(n.sliceDoc(r.to, i.from)) ? { from: r.to, to: i.from } : null;
37875
+ return r && i && r.to <= e && i.from >= e && (s = r.type.prop(Ze.closedBy)) && s.indexOf(i.name) > -1 && n.doc.lineAt(r.to).from == n.doc.lineAt(i.from).from && !/\S/.test(n.sliceDoc(r.to, i.from)) ? { from: r.to, to: i.from } : null;
37870
37876
  }
37871
37877
  const OV = /* @__PURE__ */ uE(!1), vV = /* @__PURE__ */ uE(!0);
37872
37878
  function uE(n) {
@@ -37989,7 +37995,7 @@ const xV = ({ state: n, dispatch: e }) => {
37989
37995
  { key: "Mod-/", run: hW },
37990
37996
  { key: "Alt-A", run: gW }
37991
37997
  ].concat(yV), wV = { key: "Tab", run: fE, shift: dE }, By = typeof String.prototype.normalize == "function" ? (n) => n.normalize("NFKD") : (n) => n;
37992
- class Uo {
37998
+ class qo {
37993
37999
  /**
37994
38000
  Create a text cursor. The query is the search string, `from` to
37995
38001
  `to` provides the region to search.
@@ -38058,7 +38064,7 @@ class Uo {
38058
38064
  return this.query.charCodeAt(0) == e && (this.query.length == 1 ? i = { from: t, to: r } : this.matches.push(1, t)), i && this.test && !this.test(i.from, i.to, this.buffer, this.bufferStart) && (i = null), i;
38059
38065
  }
38060
38066
  }
38061
- typeof Symbol < "u" && (Uo.prototype[Symbol.iterator] = function() {
38067
+ typeof Symbol < "u" && (qo.prototype[Symbol.iterator] = function() {
38062
38068
  return this;
38063
38069
  });
38064
38070
  const hE = { from: -1, to: -1, match: /* @__PURE__ */ /.*/.exec("") }, gO = "gm" + (/x/.unicode == null ? "" : "u");
@@ -38101,7 +38107,7 @@ class pE {
38101
38107
  }
38102
38108
  }
38103
38109
  const Mh = /* @__PURE__ */ new WeakMap();
38104
- class Ro {
38110
+ class Do {
38105
38111
  constructor(e, t) {
38106
38112
  this.from = e, this.text = t;
38107
38113
  }
@@ -38111,18 +38117,18 @@ class Ro {
38111
38117
  static get(e, t, r) {
38112
38118
  let i = Mh.get(e);
38113
38119
  if (!i || i.from >= r || i.to <= t) {
38114
- let a = new Ro(t, e.sliceString(t, r));
38120
+ let a = new Do(t, e.sliceString(t, r));
38115
38121
  return Mh.set(e, a), a;
38116
38122
  }
38117
38123
  if (i.from == t && i.to == r)
38118
38124
  return i;
38119
38125
  let { text: s, from: o } = i;
38120
- return o > t && (s = e.sliceString(t, o) + s, o = t), i.to < r && (s += e.sliceString(i.to, r)), Mh.set(e, new Ro(o, s)), new Ro(t, s.slice(t - o, r - o));
38126
+ return o > t && (s = e.sliceString(t, o) + s, o = t), i.to < r && (s += e.sliceString(i.to, r)), Mh.set(e, new Do(o, s)), new Do(t, s.slice(t - o, r - o));
38121
38127
  }
38122
38128
  }
38123
38129
  class gE {
38124
38130
  constructor(e, t, r, i, s) {
38125
- this.text = e, this.to = s, this.done = !1, this.value = hE, this.matchPos = Of(e, i), this.re = new RegExp(t, gO + (r != null && r.ignoreCase ? "i" : "")), this.test = r == null ? void 0 : r.test, this.flat = Ro.get(e, i, this.chunkEnd(
38131
+ this.text = e, this.to = s, this.done = !1, this.value = hE, this.matchPos = Of(e, i), this.re = new RegExp(t, gO + (r != null && r.ignoreCase ? "i" : "")), this.test = r == null ? void 0 : r.test, this.flat = Do.get(e, i, this.chunkEnd(
38126
38132
  i + 5e3
38127
38133
  /* Chunk.Base */
38128
38134
  ));
@@ -38140,7 +38146,7 @@ class gE {
38140
38146
  }
38141
38147
  if (this.flat.to == this.to)
38142
38148
  return this.done = !0, this;
38143
- this.flat = Ro.get(this.text, this.flat.from, this.chunkEnd(this.flat.from + this.flat.text.length * 2));
38149
+ this.flat = Do.get(this.text, this.flat.from, this.chunkEnd(this.flat.from + this.flat.text.length * 2));
38144
38150
  }
38145
38151
  }
38146
38152
  }
@@ -38268,7 +38274,7 @@ const RV = /* @__PURE__ */ Mt.fromClass(class {
38268
38274
  }
38269
38275
  let a = [];
38270
38276
  for (let l of n.visibleRanges) {
38271
- let c = new Uo(t.doc, s, l.from, l.to);
38277
+ let c = new qo(t.doc, s, l.from, l.to);
38272
38278
  for (; !c.next().done; ) {
38273
38279
  let { from: u, to: f } = c.value;
38274
38280
  if ((!o || Ny(o, t, u, f)) && (i.empty && u <= i.from && f >= i.to ? a.push(IV.range(u, f)) : (u >= i.to || f <= i.from) && a.push(TV.range(u, f)), a.length > e.maxMatches))
@@ -38288,11 +38294,11 @@ const RV = /* @__PURE__ */ Mt.fromClass(class {
38288
38294
  };
38289
38295
  function jV(n, e) {
38290
38296
  let { main: t, ranges: r } = n.selection, i = n.wordAt(t.head), s = i && i.from == t.from && i.to == t.to;
38291
- for (let o = !1, a = new Uo(n.doc, e, r[r.length - 1].to); ; )
38297
+ for (let o = !1, a = new qo(n.doc, e, r[r.length - 1].to); ; )
38292
38298
  if (a.next(), a.done) {
38293
38299
  if (o)
38294
38300
  return null;
38295
- a = new Uo(n.doc, e, 0, Math.max(0, r[r.length - 1].from - 1)), o = !0;
38301
+ a = new qo(n.doc, e, 0, Math.max(0, r[r.length - 1].from - 1)), o = !0;
38296
38302
  } else {
38297
38303
  if (o && r.some((l) => l.from == a.value.from))
38298
38304
  continue;
@@ -38361,7 +38367,7 @@ class OE {
38361
38367
  */
38362
38368
  getCursor(e, t = 0, r) {
38363
38369
  let i = e.doc ? e : Ye.create({ doc: e });
38364
- return r == null && (r = i.doc.length), this.regexp ? go(this, i, t, r) : po(this, i, t, r);
38370
+ return r == null && (r = i.doc.length), this.regexp ? mo(this, i, t, r) : go(this, i, t, r);
38365
38371
  }
38366
38372
  }
38367
38373
  class vE {
@@ -38369,8 +38375,8 @@ class vE {
38369
38375
  this.spec = e;
38370
38376
  }
38371
38377
  }
38372
- function po(n, e, t, r) {
38373
- return new Uo(e.doc, n.unquoted, t, r, n.caseSensitive ? void 0 : (i) => i.toLowerCase(), n.wholeWord ? _V(e.doc, e.charCategorizer(e.selection.main.head)) : void 0);
38378
+ function go(n, e, t, r) {
38379
+ return new qo(e.doc, n.unquoted, t, r, n.caseSensitive ? void 0 : (i) => i.toLowerCase(), n.wholeWord ? _V(e.doc, e.charCategorizer(e.selection.main.head)) : void 0);
38374
38380
  }
38375
38381
  function _V(n, e) {
38376
38382
  return (t, r, i, s) => ((s > t || s + i.length < r) && (s = Math.max(0, t - 2), i = n.sliceString(s, Math.min(n.length, r + 2))), (e(xf(i, t - s)) != jt.Word || e(bf(i, t - s)) != jt.Word) && (e(bf(i, r - s)) != jt.Word || e(xf(i, r - s)) != jt.Word));
@@ -38380,14 +38386,14 @@ class NV extends vE {
38380
38386
  super(e);
38381
38387
  }
38382
38388
  nextMatch(e, t, r) {
38383
- let i = po(this.spec, e, r, e.doc.length).nextOverlapping();
38384
- return i.done && (i = po(this.spec, e, 0, t).nextOverlapping()), i.done ? null : i.value;
38389
+ let i = go(this.spec, e, r, e.doc.length).nextOverlapping();
38390
+ return i.done && (i = go(this.spec, e, 0, t).nextOverlapping()), i.done ? null : i.value;
38385
38391
  }
38386
38392
  // Searching in reverse is, rather than implementing an inverted search
38387
38393
  // cursor, done by scanning chunk after chunk forward.
38388
38394
  prevMatchInRange(e, t, r) {
38389
38395
  for (let i = r; ; ) {
38390
- let s = Math.max(t, i - 1e4 - this.spec.unquoted.length), o = po(this.spec, e, s, i), a = null;
38396
+ let s = Math.max(t, i - 1e4 - this.spec.unquoted.length), o = go(this.spec, e, s, i), a = null;
38391
38397
  for (; !o.nextOverlapping().done; )
38392
38398
  a = o.value;
38393
38399
  if (a)
@@ -38404,7 +38410,7 @@ class NV extends vE {
38404
38410
  return this.spec.unquote(this.spec.replace);
38405
38411
  }
38406
38412
  matchAll(e, t) {
38407
- let r = po(this.spec, e, 0, e.doc.length), i = [];
38413
+ let r = go(this.spec, e, 0, e.doc.length), i = [];
38408
38414
  for (; !r.next().done; ) {
38409
38415
  if (i.length >= t)
38410
38416
  return null;
@@ -38413,12 +38419,12 @@ class NV extends vE {
38413
38419
  return i;
38414
38420
  }
38415
38421
  highlight(e, t, r, i) {
38416
- let s = po(this.spec, e, Math.max(0, t - this.spec.unquoted.length), Math.min(r + this.spec.unquoted.length, e.doc.length));
38422
+ let s = go(this.spec, e, Math.max(0, t - this.spec.unquoted.length), Math.min(r + this.spec.unquoted.length, e.doc.length));
38417
38423
  for (; !s.next().done; )
38418
38424
  i(s.value.from, s.value.to);
38419
38425
  }
38420
38426
  }
38421
- function go(n, e, t, r) {
38427
+ function mo(n, e, t, r) {
38422
38428
  return new pE(e.doc, n.search, {
38423
38429
  ignoreCase: !n.caseSensitive,
38424
38430
  test: n.wholeWord ? MV(e.charCategorizer(e.selection.main.head)) : void 0
@@ -38435,8 +38441,8 @@ function MV(n) {
38435
38441
  }
38436
38442
  class FV extends vE {
38437
38443
  nextMatch(e, t, r) {
38438
- let i = go(this.spec, e, r, e.doc.length).next();
38439
- return i.done && (i = go(this.spec, e, 0, t).next()), i.done ? null : i.value;
38444
+ let i = mo(this.spec, e, r, e.doc.length).next();
38445
+ return i.done && (i = mo(this.spec, e, 0, t).next()), i.done ? null : i.value;
38440
38446
  }
38441
38447
  prevMatchInRange(e, t, r) {
38442
38448
  for (let i = 1; ; i++) {
@@ -38444,7 +38450,7 @@ class FV extends vE {
38444
38450
  t,
38445
38451
  r - i * 1e4
38446
38452
  /* FindPrev.ChunkSize */
38447
- ), o = go(this.spec, e, s, r), a = null;
38453
+ ), o = mo(this.spec, e, s, r), a = null;
38448
38454
  for (; !o.next().done; )
38449
38455
  a = o.value;
38450
38456
  if (a && (s == t || a.from > s + 10))
@@ -38460,7 +38466,7 @@ class FV extends vE {
38460
38466
  return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g, (t, r) => r == "$" ? "$" : r == "&" ? e.match[0] : r != "0" && +r < e.match.length ? e.match[r] : t);
38461
38467
  }
38462
38468
  matchAll(e, t) {
38463
- let r = go(this.spec, e, 0, e.doc.length), i = [];
38469
+ let r = mo(this.spec, e, 0, e.doc.length), i = [];
38464
38470
  for (; !r.next().done; ) {
38465
38471
  if (i.length >= t)
38466
38472
  return null;
@@ -38469,7 +38475,7 @@ class FV extends vE {
38469
38475
  return i;
38470
38476
  }
38471
38477
  highlight(e, t, r, i) {
38472
- let s = go(this.spec, e, Math.max(
38478
+ let s = mo(this.spec, e, Math.max(
38473
38479
  0,
38474
38480
  t - 250
38475
38481
  /* RegExp.HighlightMargin */
@@ -38557,7 +38563,7 @@ const yf = /* @__PURE__ */ zl((n, { query: e }) => {
38557
38563
  if (t.ranges.length > 1 || t.main.empty)
38558
38564
  return !1;
38559
38565
  let { from: r, to: i } = t.main, s = [], o = 0;
38560
- for (let a = new Uo(n.doc, n.sliceDoc(r, i)); !a.next().done; ) {
38566
+ for (let a = new qo(n.doc, n.sliceDoc(r, i)); !a.next().done; ) {
38561
38567
  if (s.length > 1e3)
38562
38568
  return !1;
38563
38569
  a.value.from == r && (o = s.length), s.push(te.range(a.value.from, a.value.to));
@@ -39180,18 +39186,18 @@ function xO(n, e) {
39180
39186
  if (n.charCodeAt(r) === 48)
39181
39187
  r++;
39182
39188
  else
39183
- for (r++; r < n.length && uo(n.charCodeAt(r)); )
39189
+ for (r++; r < n.length && fo(n.charCodeAt(r)); )
39184
39190
  r++;
39185
39191
  if (r < n.length && n.charCodeAt(r) === 46)
39186
- if (r++, r < n.length && uo(n.charCodeAt(r)))
39187
- for (r++; r < n.length && uo(n.charCodeAt(r)); )
39192
+ if (r++, r < n.length && fo(n.charCodeAt(r)))
39193
+ for (r++; r < n.length && fo(n.charCodeAt(r)); )
39188
39194
  r++;
39189
39195
  else
39190
39196
  return f = 3, n.substring(x, r);
39191
39197
  var S = r;
39192
39198
  if (r < n.length && (n.charCodeAt(r) === 69 || n.charCodeAt(r) === 101))
39193
- if (r++, (r < n.length && n.charCodeAt(r) === 43 || n.charCodeAt(r) === 45) && r++, r < n.length && uo(n.charCodeAt(r))) {
39194
- for (r++; r < n.length && uo(n.charCodeAt(r)); )
39199
+ if (r++, (r < n.length && n.charCodeAt(r) === 43 || n.charCodeAt(r) === 45) && r++, r < n.length && fo(n.charCodeAt(r))) {
39200
+ for (r++; r < n.length && fo(n.charCodeAt(r)); )
39195
39201
  r++;
39196
39202
  S = r;
39197
39203
  } else
@@ -39310,7 +39316,7 @@ function xO(n, e) {
39310
39316
  }
39311
39317
  return i += String.fromCharCode(x), r++, o = 16;
39312
39318
  case 45:
39313
- if (i += String.fromCharCode(x), r++, r === t || !uo(n.charCodeAt(r)))
39319
+ if (i += String.fromCharCode(x), r++, r === t || !fo(n.charCodeAt(r)))
39314
39320
  return o = 16;
39315
39321
  case 48:
39316
39322
  case 49:
@@ -39398,7 +39404,7 @@ function Wh(n) {
39398
39404
  function Ta(n) {
39399
39405
  return n === 10 || n === 13 || n === 8232 || n === 8233;
39400
39406
  }
39401
- function uo(n) {
39407
+ function fo(n) {
39402
39408
  return n >= 48 && n <= 57;
39403
39409
  }
39404
39410
  function p7(n, e, t) {
@@ -39788,7 +39794,7 @@ function x7(n, e, t) {
39788
39794
  }
39789
39795
  return v(), r.getToken() === 17 ? t.allowEmptyContent ? !0 : (O(4, [], []), !1) : k() ? (r.getToken() !== 17 && O(9, [], []), !0) : (O(4, [], []), !1);
39790
39796
  }
39791
- var Do = xO, b7 = O7, y7 = kE, S7 = CE, w7 = C0;
39797
+ var Qo = xO, b7 = O7, y7 = kE, S7 = CE, w7 = C0;
39792
39798
  function C7(n, e, t) {
39793
39799
  return p7(n, e, t);
39794
39800
  }
@@ -39890,7 +39896,7 @@ var rt;
39890
39896
  }
39891
39897
  n.is = t;
39892
39898
  })(rt || (rt = {}));
39893
- var qo;
39899
+ var Ho;
39894
39900
  (function(n) {
39895
39901
  function e(r, i) {
39896
39902
  return { uri: r, range: i };
@@ -39901,7 +39907,7 @@ var qo;
39901
39907
  return q.objectLiteral(i) && rt.is(i.range) && (q.string(i.uri) || q.undefined(i.uri));
39902
39908
  }
39903
39909
  n.is = t;
39904
- })(qo || (qo = {}));
39910
+ })(Ho || (Ho = {}));
39905
39911
  var qy;
39906
39912
  (function(n) {
39907
39913
  function e(r, i, s, o) {
@@ -39993,7 +39999,7 @@ var P0;
39993
39999
  n.create = e;
39994
40000
  function t(r) {
39995
40001
  let i = r;
39996
- return q.defined(i) && qo.is(i.location) && q.string(i.message);
40002
+ return q.defined(i) && Ho.is(i.location) && q.string(i.message);
39997
40003
  }
39998
40004
  n.is = t;
39999
40005
  })(P0 || (P0 = {}));
@@ -40027,7 +40033,7 @@ var Ti;
40027
40033
  }
40028
40034
  n.is = t;
40029
40035
  })(Ti || (Ti = {}));
40030
- var Ho;
40036
+ var Jo;
40031
40037
  (function(n) {
40032
40038
  function e(r, i, ...s) {
40033
40039
  let o = { title: r, command: i };
@@ -40039,7 +40045,7 @@ var Ho;
40039
40045
  return q.defined(i) && q.string(i.title) && q.string(i.command);
40040
40046
  }
40041
40047
  n.is = t;
40042
- })(Ho || (Ho = {}));
40048
+ })(Jo || (Jo = {}));
40043
40049
  var Di;
40044
40050
  (function(n) {
40045
40051
  function e(s, o) {
@@ -40073,14 +40079,14 @@ var E0;
40073
40079
  }
40074
40080
  n.is = t;
40075
40081
  })(E0 || (E0 = {}));
40076
- var Jo;
40082
+ var Ko;
40077
40083
  (function(n) {
40078
40084
  function e(t) {
40079
40085
  const r = t;
40080
40086
  return q.string(r);
40081
40087
  }
40082
40088
  n.is = e;
40083
- })(Jo || (Jo = {}));
40089
+ })(Ko || (Ko = {}));
40084
40090
  var n1;
40085
40091
  (function(n) {
40086
40092
  function e(s, o, a) {
@@ -40097,7 +40103,7 @@ var n1;
40097
40103
  n.del = r;
40098
40104
  function i(s) {
40099
40105
  const o = s;
40100
- return Di.is(o) && (E0.is(o.annotationId) || Jo.is(o.annotationId));
40106
+ return Di.is(o) && (E0.is(o.annotationId) || Ko.is(o.annotationId));
40101
40107
  }
40102
40108
  n.is = i;
40103
40109
  })(n1 || (n1 = {}));
@@ -40125,7 +40131,7 @@ var I0;
40125
40131
  n.create = e;
40126
40132
  function t(r) {
40127
40133
  let i = r;
40128
- return i && i.kind === "create" && q.string(i.uri) && (i.options === void 0 || (i.options.overwrite === void 0 || q.boolean(i.options.overwrite)) && (i.options.ignoreIfExists === void 0 || q.boolean(i.options.ignoreIfExists))) && (i.annotationId === void 0 || Jo.is(i.annotationId));
40134
+ return i && i.kind === "create" && q.string(i.uri) && (i.options === void 0 || (i.options.overwrite === void 0 || q.boolean(i.options.overwrite)) && (i.options.ignoreIfExists === void 0 || q.boolean(i.options.ignoreIfExists))) && (i.annotationId === void 0 || Ko.is(i.annotationId));
40129
40135
  }
40130
40136
  n.is = t;
40131
40137
  })(I0 || (I0 = {}));
@@ -40142,7 +40148,7 @@ var $0;
40142
40148
  n.create = e;
40143
40149
  function t(r) {
40144
40150
  let i = r;
40145
- return i && i.kind === "rename" && q.string(i.oldUri) && q.string(i.newUri) && (i.options === void 0 || (i.options.overwrite === void 0 || q.boolean(i.options.overwrite)) && (i.options.ignoreIfExists === void 0 || q.boolean(i.options.ignoreIfExists))) && (i.annotationId === void 0 || Jo.is(i.annotationId));
40151
+ return i && i.kind === "rename" && q.string(i.oldUri) && q.string(i.newUri) && (i.options === void 0 || (i.options.overwrite === void 0 || q.boolean(i.options.overwrite)) && (i.options.ignoreIfExists === void 0 || q.boolean(i.options.ignoreIfExists))) && (i.annotationId === void 0 || Ko.is(i.annotationId));
40146
40152
  }
40147
40153
  n.is = t;
40148
40154
  })($0 || ($0 = {}));
@@ -40158,7 +40164,7 @@ var R0;
40158
40164
  n.create = e;
40159
40165
  function t(r) {
40160
40166
  let i = r;
40161
- return i && i.kind === "delete" && q.string(i.uri) && (i.options === void 0 || (i.options.recursive === void 0 || q.boolean(i.options.recursive)) && (i.options.ignoreIfNotExists === void 0 || q.boolean(i.options.ignoreIfNotExists))) && (i.annotationId === void 0 || Jo.is(i.annotationId));
40167
+ return i && i.kind === "delete" && q.string(i.uri) && (i.options === void 0 || (i.options.recursive === void 0 || q.boolean(i.options.recursive)) && (i.options.ignoreIfNotExists === void 0 || q.boolean(i.options.ignoreIfNotExists))) && (i.annotationId === void 0 || Ko.is(i.annotationId));
40162
40168
  }
40163
40169
  n.is = t;
40164
40170
  })(R0 || (R0 = {}));
@@ -40403,12 +40409,12 @@ var S1;
40403
40409
  (function(n) {
40404
40410
  function e(r, i, s) {
40405
40411
  let o = { title: r }, a = !0;
40406
- return typeof i == "string" ? (a = !1, o.kind = i) : Ho.is(i) ? o.command = i : o.edit = i, a && s !== void 0 && (o.kind = s), o;
40412
+ return typeof i == "string" ? (a = !1, o.kind = i) : Jo.is(i) ? o.command = i : o.edit = i, a && s !== void 0 && (o.kind = s), o;
40407
40413
  }
40408
40414
  n.create = e;
40409
40415
  function t(r) {
40410
40416
  let i = r;
40411
- return i && q.string(i.title) && (i.diagnostics === void 0 || q.typedArray(i.diagnostics, Ti.is)) && (i.kind === void 0 || q.string(i.kind)) && (i.edit !== void 0 || i.command !== void 0) && (i.command === void 0 || Ho.is(i.command)) && (i.isPreferred === void 0 || q.boolean(i.isPreferred)) && (i.edit === void 0 || D0.is(i.edit));
40417
+ return i && q.string(i.title) && (i.diagnostics === void 0 || q.typedArray(i.diagnostics, Ti.is)) && (i.kind === void 0 || q.string(i.kind)) && (i.edit !== void 0 || i.command !== void 0) && (i.command === void 0 || Jo.is(i.command)) && (i.isPreferred === void 0 || q.boolean(i.isPreferred)) && (i.edit === void 0 || D0.is(i.edit));
40412
40418
  }
40413
40419
  n.is = t;
40414
40420
  })(S1 || (S1 = {}));
@@ -40421,7 +40427,7 @@ var w1;
40421
40427
  n.create = e;
40422
40428
  function t(r) {
40423
40429
  let i = r;
40424
- return q.defined(i) && rt.is(i.range) && (q.undefined(i.command) || Ho.is(i.command));
40430
+ return q.defined(i) && rt.is(i.range) && (q.undefined(i.command) || Jo.is(i.command));
40425
40431
  }
40426
40432
  n.is = t;
40427
40433
  })(w1 || (w1 = {}));
@@ -40541,7 +40547,7 @@ var _0;
40541
40547
  n.create = e;
40542
40548
  function t(r) {
40543
40549
  const i = r;
40544
- return q.objectLiteral(i) && (i.tooltip === void 0 || q.string(i.tooltip) || Cl.is(i.tooltip)) && (i.location === void 0 || qo.is(i.location)) && (i.command === void 0 || Ho.is(i.command));
40550
+ return q.objectLiteral(i) && (i.tooltip === void 0 || q.string(i.tooltip) || Cl.is(i.tooltip)) && (i.location === void 0 || Ho.is(i.location)) && (i.command === void 0 || Jo.is(i.command));
40545
40551
  }
40546
40552
  n.is = t;
40547
40553
  })(_0 || (_0 = {}));
@@ -40911,7 +40917,7 @@ var V1;
40911
40917
  }
40912
40918
  };
40913
40919
  })(V1 || (V1 = {}));
40914
- var Us = globalThis && globalThis.__extends || function() {
40920
+ var qs = globalThis && globalThis.__extends || function() {
40915
40921
  var n = function(e, t) {
40916
40922
  return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
40917
40923
  r.__proto__ = i;
@@ -40933,7 +40939,7 @@ var Us = globalThis && globalThis.__extends || function() {
40933
40939
  date: { errorMessage: "String is not a RFC3339 date.", pattern: /^(\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$/i },
40934
40940
  time: { errorMessage: "String is not a RFC3339 time.", pattern: /^([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(Z|(\+|-)([01][0-9]|2[0-3]):([0-5][0-9]))$/i },
40935
40941
  email: { errorMessage: "String is not an e-mail address.", pattern: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ }
40936
- }, qs = (
40942
+ }, Hs = (
40937
40943
  /** @class */
40938
40944
  function() {
40939
40945
  function n(e, t, r) {
@@ -40952,27 +40958,27 @@ var Us = globalThis && globalThis.__extends || function() {
40952
40958
  ), T7 = (
40953
40959
  /** @class */
40954
40960
  function(n) {
40955
- Us(e, n);
40961
+ qs(e, n);
40956
40962
  function e(t, r) {
40957
40963
  var i = n.call(this, t, r) || this;
40958
40964
  return i.type = "null", i.value = null, i;
40959
40965
  }
40960
40966
  return e;
40961
- }(qs)
40967
+ }(Hs)
40962
40968
  ), X1 = (
40963
40969
  /** @class */
40964
40970
  function(n) {
40965
- Us(e, n);
40971
+ qs(e, n);
40966
40972
  function e(t, r, i) {
40967
40973
  var s = n.call(this, t, i) || this;
40968
40974
  return s.type = "boolean", s.value = r, s;
40969
40975
  }
40970
40976
  return e;
40971
- }(qs)
40977
+ }(Hs)
40972
40978
  ), I7 = (
40973
40979
  /** @class */
40974
40980
  function(n) {
40975
- Us(e, n);
40981
+ qs(e, n);
40976
40982
  function e(t, r) {
40977
40983
  var i = n.call(this, t, r) || this;
40978
40984
  return i.type = "array", i.items = [], i;
@@ -40984,31 +40990,31 @@ var Us = globalThis && globalThis.__extends || function() {
40984
40990
  enumerable: !0,
40985
40991
  configurable: !0
40986
40992
  }), e;
40987
- }(qs)
40993
+ }(Hs)
40988
40994
  ), $7 = (
40989
40995
  /** @class */
40990
40996
  function(n) {
40991
- Us(e, n);
40997
+ qs(e, n);
40992
40998
  function e(t, r) {
40993
40999
  var i = n.call(this, t, r) || this;
40994
41000
  return i.type = "number", i.isInteger = !0, i.value = Number.NaN, i;
40995
41001
  }
40996
41002
  return e;
40997
- }(qs)
41003
+ }(Hs)
40998
41004
  ), z1 = (
40999
41005
  /** @class */
41000
41006
  function(n) {
41001
- Us(e, n);
41007
+ qs(e, n);
41002
41008
  function e(t, r, i) {
41003
41009
  var s = n.call(this, t, r, i) || this;
41004
41010
  return s.type = "string", s.value = "", s;
41005
41011
  }
41006
41012
  return e;
41007
- }(qs)
41013
+ }(Hs)
41008
41014
  ), R7 = (
41009
41015
  /** @class */
41010
41016
  function(n) {
41011
- Us(e, n);
41017
+ qs(e, n);
41012
41018
  function e(t, r) {
41013
41019
  var i = n.call(this, t, r) || this;
41014
41020
  return i.type = "property", i.colonOffset = -1, i;
@@ -41020,11 +41026,11 @@ var Us = globalThis && globalThis.__extends || function() {
41020
41026
  enumerable: !0,
41021
41027
  configurable: !0
41022
41028
  }), e;
41023
- }(qs)
41029
+ }(Hs)
41024
41030
  ), D7 = (
41025
41031
  /** @class */
41026
41032
  function(n) {
41027
- Us(e, n);
41033
+ qs(e, n);
41028
41034
  function e(t, r) {
41029
41035
  var i = n.call(this, t, r) || this;
41030
41036
  return i.type = "object", i.properties = [], i;
@@ -41036,7 +41042,7 @@ var Us = globalThis && globalThis.__extends || function() {
41036
41042
  enumerable: !0,
41037
41043
  configurable: !0
41038
41044
  }), e;
41039
- }(qs)
41045
+ }(Hs)
41040
41046
  );
41041
41047
  function Vn(n) {
41042
41048
  return ri(n) ? n ? {} : { not: {} } : n;
@@ -41549,7 +41555,7 @@ function hn(n, e, t, r) {
41549
41555
  }
41550
41556
  }
41551
41557
  function B7(n, e) {
41552
- var t = [], r = -1, i = n.getText(), s = Do(i, !1), o = e && e.collectComments ? [] : void 0;
41558
+ var t = [], r = -1, i = n.getText(), s = Qo(i, !1), o = e && e.collectComments ? [] : void 0;
41553
41559
  function a() {
41554
41560
  for (; ; ) {
41555
41561
  var y = s.scan();
@@ -42251,7 +42257,7 @@ var M7 = [",", "}", "]"], F7 = [":"], Z7 = (
42251
42257
  r--;
42252
42258
  return i.substring(r + 1, t);
42253
42259
  }, n.prototype.evaluateSeparatorAfter = function(e, t) {
42254
- var r = Do(e.getText(), !0);
42260
+ var r = Qo(e.getText(), !0);
42255
42261
  r.setPosition(t);
42256
42262
  var i = r.scan();
42257
42263
  switch (i) {
@@ -42264,7 +42270,7 @@ var M7 = [",", "}", "]"], F7 = [":"], Z7 = (
42264
42270
  return ",";
42265
42271
  }
42266
42272
  }, n.prototype.findItemAtOffset = function(e, t, r) {
42267
- for (var i = Do(t.getText(), !0), s = e.items, o = s.length - 1; o >= 0; o--) {
42273
+ for (var i = Qo(t.getText(), !0), s = e.items, o = s.length - 1; o >= 0; o--) {
42268
42274
  var a = s[o];
42269
42275
  if (r > a.offset + a.length) {
42270
42276
  i.setPosition(a.offset + a.length);
@@ -42275,7 +42281,7 @@ var M7 = [",", "}", "]"], F7 = [":"], Z7 = (
42275
42281
  }
42276
42282
  return 0;
42277
42283
  }, n.prototype.isInComment = function(e, t, r) {
42278
- var i = Do(e.getText(), !1);
42284
+ var i = Qo(e.getText(), !1);
42279
42285
  i.setPosition(t);
42280
42286
  for (var s = i.scan(); s !== 17 && i.getTokenOffset() + i.getTokenLength() < r; )
42281
42287
  s = i.scan();
@@ -42455,20 +42461,20 @@ var St = "", $r = "/", J7 = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))
42455
42461
  if (!e)
42456
42462
  return this;
42457
42463
  var t = e.scheme, r = e.authority, i = e.path, s = e.query, o = e.fragment;
42458
- return t === void 0 ? t = this.scheme : t === null && (t = St), r === void 0 ? r = this.authority : r === null && (r = St), i === void 0 ? i = this.path : i === null && (i = St), s === void 0 ? s = this.query : s === null && (s = St), o === void 0 ? o = this.fragment : o === null && (o = St), t === this.scheme && r === this.authority && i === this.path && s === this.query && o === this.fragment ? this : new fo(t, r, i, s, o);
42464
+ return t === void 0 ? t = this.scheme : t === null && (t = St), r === void 0 ? r = this.authority : r === null && (r = St), i === void 0 ? i = this.path : i === null && (i = St), s === void 0 ? s = this.query : s === null && (s = St), o === void 0 ? o = this.fragment : o === null && (o = St), t === this.scheme && r === this.authority && i === this.path && s === this.query && o === this.fragment ? this : new ho(t, r, i, s, o);
42459
42465
  }, n.parse = function(e, t) {
42460
42466
  t === void 0 && (t = !1);
42461
42467
  var r = J7.exec(e);
42462
- return r ? new fo(r[2] || St, Vc(r[4] || St), Vc(r[5] || St), Vc(r[7] || St), Vc(r[9] || St), t) : new fo(St, St, St, St, St);
42468
+ return r ? new ho(r[2] || St, Vc(r[4] || St), Vc(r[5] || St), Vc(r[7] || St), Vc(r[9] || St), t) : new ho(St, St, St, St, St);
42463
42469
  }, n.file = function(e) {
42464
42470
  var t = St;
42465
42471
  if (Al && (e = e.replace(/\\/g, $r)), e[0] === $r && e[1] === $r) {
42466
42472
  var r = e.indexOf($r, 2);
42467
42473
  r === -1 ? (t = e.substring(2), e = $r) : (t = e.substring(2, r), e = e.substring(r) || $r);
42468
42474
  }
42469
- return new fo("file", t, e, St, St);
42475
+ return new ho("file", t, e, St, St);
42470
42476
  }, n.from = function(e) {
42471
- return new fo(e.scheme, e.authority, e.path, e.query, e.fragment);
42477
+ return new ho(e.scheme, e.authority, e.path, e.query, e.fragment);
42472
42478
  }, n.prototype.toString = function(e) {
42473
42479
  return e === void 0 && (e = !1), z0(this, e);
42474
42480
  }, n.prototype.toJSON = function() {
@@ -42477,13 +42483,13 @@ var St = "", $r = "/", J7 = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))
42477
42483
  if (e) {
42478
42484
  if (e instanceof n)
42479
42485
  return e;
42480
- var t = new fo(e);
42486
+ var t = new ho(e);
42481
42487
  return t._formatted = e.external, t._fsPath = e._sep === TE ? e.fsPath : null, t;
42482
42488
  } else
42483
42489
  return e;
42484
42490
  }, n;
42485
42491
  }()
42486
- ), TE = Al ? 1 : void 0, fo = (
42492
+ ), TE = Al ? 1 : void 0, ho = (
42487
42493
  /** @class */
42488
42494
  function(n) {
42489
42495
  X7(e, n);
@@ -42646,7 +42652,7 @@ var eX = (
42646
42652
  /** @class */
42647
42653
  function() {
42648
42654
  function n(e, t, r) {
42649
- this.service = e, this.url = t, this.dependencies = {}, r && (this.unresolvedSchema = this.service.promise.resolve(new So(r)));
42655
+ this.service = e, this.url = t, this.dependencies = {}, r && (this.unresolvedSchema = this.service.promise.resolve(new wo(r)));
42650
42656
  }
42651
42657
  return n.prototype.getUnresolvedSchema = function() {
42652
42658
  return this.unresolvedSchema || (this.unresolvedSchema = this.service.loadSchema(this.url)), this.unresolvedSchema;
@@ -42659,7 +42665,7 @@ var eX = (
42659
42665
  this.resolvedSchema = null, this.unresolvedSchema = null, this.dependencies = {};
42660
42666
  }, n;
42661
42667
  }()
42662
- ), So = (
42668
+ ), wo = (
42663
42669
  /** @class */
42664
42670
  function() {
42665
42671
  function n(e, t) {
@@ -42790,20 +42796,20 @@ var eX = (
42790
42796
  }, n.prototype.loadSchema = function(e) {
42791
42797
  if (!this.requestService) {
42792
42798
  var t = "Unable to load schema from '" + e + "'. No schema request service available";
42793
- return this.promise.resolve(new So({}, [t]));
42799
+ return this.promise.resolve(new wo({}, [t]));
42794
42800
  }
42795
42801
  return this.requestService(e).then(function(r) {
42796
42802
  if (!r) {
42797
42803
  var i = "Unable to load schema from '" + e + "': No content.";
42798
- return new So({}, [i]);
42804
+ return new wo({}, [i]);
42799
42805
  }
42800
42806
  var s = {}, o = [];
42801
42807
  s = b7(r, o);
42802
42808
  var a = o.length ? ["Unable to parse content from '" + e + "': Parse error at offset " + o[0].offset] : [];
42803
- return new So(s, a);
42809
+ return new wo(s, a);
42804
42810
  }, function(r) {
42805
42811
  var i = "Unable to load schema from '" + e + "': " + r.toString();
42806
- return new So({}, [i]);
42812
+ return new wo({}, [i]);
42807
42813
  });
42808
42814
  }, n.prototype.resolveSchemaContent = function(e, t, r) {
42809
42815
  var i = this, s = e.errors.slice(0), o = e.schema;
@@ -42974,7 +42980,7 @@ var rX = (
42974
42980
  };
42975
42981
  if (i) {
42976
42982
  var u = i.id || "schemaservice://untitled/" + iX++;
42977
- return this.jsonSchemaService.resolveSchemaContent(new So(i), u, {}).then(function(f) {
42983
+ return this.jsonSchemaService.resolveSchemaContent(new wo(i), u, {}).then(function(f) {
42978
42984
  return c(f);
42979
42985
  });
42980
42986
  }
@@ -43079,7 +43085,7 @@ var cX = (
43079
43085
  for (var d = 0, h = f.properties; d < h.length; d++) {
43080
43086
  var p = h[d];
43081
43087
  if (p.keyNode.value === "key" && p.valueNode) {
43082
- var m = qo.create(e.uri, Xi(e, f));
43088
+ var m = Ho.create(e.uri, Xi(e, f));
43083
43089
  if (l.push({ name: os(p.valueNode), kind: qr.Function, location: m }), o--, o <= 0)
43084
43090
  return r && r.onResultLimitExceeded && r.onResultLimitExceeded(a), l;
43085
43091
  }
@@ -43095,7 +43101,7 @@ var cX = (
43095
43101
  var w = y.valueNode;
43096
43102
  if (w) {
43097
43103
  o--;
43098
- var C = qo.create(e.uri, Xi(e, y)), k = S ? S + "." + y.keyNode.value : y.keyNode.value;
43104
+ var C = Ho.create(e.uri, Xi(e, y)), k = S ? S + "." + y.keyNode.value : y.keyNode.value;
43099
43105
  O.push({ name: i.getKeyLabel(y), kind: i.getSymbolKind(w.type), location: C, containerName: S }), g(O, w, k);
43100
43106
  }
43101
43107
  }
@@ -43439,7 +43445,7 @@ var uX = {
43439
43445
  }
43440
43446
  };
43441
43447
  function fX(n, e) {
43442
- var t = [], r = [], i = [], s = -1, o = Do(n.getText(), !1), a = o.scan();
43448
+ var t = [], r = [], i = [], s = -1, o = Qo(n.getText(), !1), a = o.scan();
43443
43449
  function l(A) {
43444
43450
  t.push(A), r.push(i.length);
43445
43451
  }
@@ -43544,7 +43550,7 @@ function dX(n, e, t) {
43544
43550
  function i(a, l) {
43545
43551
  return rt.create(n.positionAt(a), n.positionAt(l));
43546
43552
  }
43547
- var s = Do(n.getText(), !0);
43553
+ var s = Qo(n.getText(), !0);
43548
43554
  function o(a, l) {
43549
43555
  s.setPosition(a);
43550
43556
  var c = s.scan();
@@ -44592,7 +44598,7 @@ function CX() {
44592
44598
  }(Yh)), Yh.exports;
44593
44599
  }
44594
44600
  var Uh = { exports: {} }, rS;
44595
- function Hs() {
44601
+ function Js() {
44596
44602
  return rS || (rS = 1, function(n, e) {
44597
44603
  (function(t, r) {
44598
44604
  n.exports = r(qe());
@@ -44749,7 +44755,7 @@ function kX() {
44749
44755
  }(qh)), qh.exports;
44750
44756
  }
44751
44757
  var Hh = { exports: {} }, sS;
44752
- function Js() {
44758
+ function Ks() {
44753
44759
  return sS || (sS = 1, function(n, e) {
44754
44760
  (function(t, r) {
44755
44761
  n.exports = r(qe());
@@ -46635,7 +46641,7 @@ var bp = { exports: {} }, ES;
46635
46641
  function WX() {
46636
46642
  return ES || (ES = 1, function(n, e) {
46637
46643
  (function(t, r, i) {
46638
- n.exports = r(qe(), Hs(), Js(), vs(), un());
46644
+ n.exports = r(qe(), Js(), Ks(), vs(), un());
46639
46645
  })(De, function(t) {
46640
46646
  return function() {
46641
46647
  var r = t, i = r.lib, s = i.BlockCipher, o = r.algo, a = [], l = [], c = [], u = [], f = [], d = [], h = [], p = [], m = [], g = [];
@@ -46695,7 +46701,7 @@ var yp = { exports: {} }, TS;
46695
46701
  function VX() {
46696
46702
  return TS || (TS = 1, function(n, e) {
46697
46703
  (function(t, r, i) {
46698
- n.exports = r(qe(), Hs(), Js(), vs(), un());
46704
+ n.exports = r(qe(), Js(), Ks(), vs(), un());
46699
46705
  })(De, function(t) {
46700
46706
  return function() {
46701
46707
  var r = t, i = r.lib, s = i.WordArray, o = i.BlockCipher, a = r.algo, l = [
@@ -47415,7 +47421,7 @@ var Sp = { exports: {} }, IS;
47415
47421
  function XX() {
47416
47422
  return IS || (IS = 1, function(n, e) {
47417
47423
  (function(t, r, i) {
47418
- n.exports = r(qe(), Hs(), Js(), vs(), un());
47424
+ n.exports = r(qe(), Js(), Ks(), vs(), un());
47419
47425
  })(De, function(t) {
47420
47426
  return function() {
47421
47427
  var r = t, i = r.lib, s = i.StreamCipher, o = r.algo, a = o.RC4 = s.extend({
@@ -47469,7 +47475,7 @@ var wp = { exports: {} }, $S;
47469
47475
  function zX() {
47470
47476
  return $S || ($S = 1, function(n, e) {
47471
47477
  (function(t, r, i) {
47472
- n.exports = r(qe(), Hs(), Js(), vs(), un());
47478
+ n.exports = r(qe(), Js(), Ks(), vs(), un());
47473
47479
  })(De, function(t) {
47474
47480
  return function() {
47475
47481
  var r = t, i = r.lib, s = i.StreamCipher, o = r.algo, a = [], l = [], c = [], u = o.Rabbit = s.extend({
@@ -47535,7 +47541,7 @@ var Cp = { exports: {} }, RS;
47535
47541
  function LX() {
47536
47542
  return RS || (RS = 1, function(n, e) {
47537
47543
  (function(t, r, i) {
47538
- n.exports = r(qe(), Hs(), Js(), vs(), un());
47544
+ n.exports = r(qe(), Js(), Ks(), vs(), un());
47539
47545
  })(De, function(t) {
47540
47546
  return function() {
47541
47547
  var r = t, i = r.lib, s = i.StreamCipher, o = r.algo, a = [], l = [], c = [], u = o.RabbitLegacy = s.extend({
@@ -47599,7 +47605,7 @@ var kp = { exports: {} }, DS;
47599
47605
  function GX() {
47600
47606
  return DS || (DS = 1, function(n, e) {
47601
47607
  (function(t, r, i) {
47602
- n.exports = r(qe(), Hs(), Js(), vs(), un());
47608
+ n.exports = r(qe(), Js(), Ks(), vs(), un());
47603
47609
  })(De, function(t) {
47604
47610
  return function() {
47605
47611
  var r = t, i = r.lib, s = i.BlockCipher, o = r.algo;
@@ -48719,7 +48725,7 @@ function GX() {
48719
48725
  }
48720
48726
  (function(n, e) {
48721
48727
  (function(t, r, i) {
48722
- n.exports = r(qe(), Od(), wX(), CX(), Hs(), kX(), Js(), NE(), bO(), AX(), ME(), PX(), EX(), TX(), yO(), IX(), vs(), un(), $X(), RX(), DX(), QX(), jX(), BX(), _X(), NX(), MX(), FX(), ZX(), WX(), VX(), XX(), zX(), LX(), GX());
48728
+ n.exports = r(qe(), Od(), wX(), CX(), Js(), kX(), Ks(), NE(), bO(), AX(), ME(), PX(), EX(), TX(), yO(), IX(), vs(), un(), $X(), RX(), DX(), QX(), jX(), BX(), _X(), NX(), MX(), FX(), ZX(), WX(), VX(), XX(), zX(), LX(), GX());
48723
48729
  })(De, function(t) {
48724
48730
  return t;
48725
48731
  });
@@ -49209,7 +49215,7 @@ function Cz(n, e) {
49209
49215
  }), t;
49210
49216
  }
49211
49217
  function wO(n) {
49212
- const e = Cz(n.parameters, "in"), t = kz(n), r = Pz(n), i = KE(n), s = Ks(), o = Zd(e.query || []);
49218
+ const e = Cz(n.parameters, "in"), t = kz(n), r = Pz(n), i = KE(n), s = eo(), o = Zd(e.query || []);
49213
49219
  return {
49214
49220
  ...s.request,
49215
49221
  method: n.method.toLocaleUpperCase(),
@@ -49242,9 +49248,9 @@ function kz(n) {
49242
49248
  }
49243
49249
  function _S(n) {
49244
49250
  if (!n)
49245
- return [wo()];
49251
+ return [Co()];
49246
49252
  if (!n.parameters)
49247
- return [wo()];
49253
+ return [Co()];
49248
49254
  const e = n.parameters.map(
49249
49255
  (t) => ({
49250
49256
  id: crypto.randomUUID(),
@@ -49255,7 +49261,7 @@ function _S(n) {
49255
49261
  files: null
49256
49262
  })
49257
49263
  );
49258
- return e.push(wo()), e;
49264
+ return e.push(Co()), e;
49259
49265
  }
49260
49266
  function JE(n) {
49261
49267
  const e = n == null ? void 0 : n.examples;
@@ -49332,7 +49338,7 @@ function kO(n) {
49332
49338
  return Object.keys((n == null ? void 0 : n.flows) || {}).map((e) => Ez(e)).filter(Boolean);
49333
49339
  }
49334
49340
  function Iz(n, e) {
49335
- const t = Rz(e), r = Ks().request.security;
49341
+ const t = Rz(e), r = eo().request.security;
49336
49342
  let i = r;
49337
49343
  if (n.includes(ee.APIKey)) {
49338
49344
  const s = t == null ? void 0 : t.find(
@@ -49377,7 +49383,7 @@ function $z(n) {
49377
49383
  var i, s, o, a, l, c, u, f, d, h;
49378
49384
  if (!n)
49379
49385
  return null;
49380
- const e = Object.keys(n.flows || {}), t = Ks();
49386
+ const e = Object.keys(n.flows || {}), t = eo();
49381
49387
  let r = {
49382
49388
  ...t.request.security[ee.OAuth2]
49383
49389
  };
@@ -49487,7 +49493,7 @@ const xs = ({
49487
49493
  display: flex;
49488
49494
  align-items: center;
49489
49495
  max-width: 100%;
49490
- `, Bz = _(na)`
49496
+ `, Bz = _(Us)`
49491
49497
  padding: var(--spacing-unit) var(--spacing-xs);
49492
49498
  font-size: var(--font-size-base);
49493
49499
  font-weight: var(--font-weight-regular);
@@ -49572,9 +49578,9 @@ function eT({ securityType: n = ee.OAuth2 }) {
49572
49578
  }
49573
49579
  )
49574
49580
  ] }),
49575
- /* @__PURE__ */ b.jsx(We, {}),
49581
+ /* @__PURE__ */ b.jsx(Fe, {}),
49576
49582
  /* @__PURE__ */ b.jsxs(yB, { title: "Configure New Token", expanded: !0, children: [
49577
- /* @__PURE__ */ b.jsx(We, {}),
49583
+ /* @__PURE__ */ b.jsx(Fe, {}),
49578
49584
  /* @__PURE__ */ b.jsxs(lt, { children: [
49579
49585
  /* @__PURE__ */ b.jsx(Ue, { children: "Grant type" }),
49580
49586
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -49589,7 +49595,7 @@ function eT({ securityType: n = ee.OAuth2 }) {
49589
49595
  }
49590
49596
  )
49591
49597
  ] }),
49592
- /* @__PURE__ */ b.jsx(We, {}),
49598
+ /* @__PURE__ */ b.jsx(Fe, {}),
49593
49599
  /* @__PURE__ */ b.jsx(
49594
49600
  y,
49595
49601
  {
@@ -49636,7 +49642,7 @@ function Jz(n) {
49636
49642
  return n.userinfo_endpoint;
49637
49643
  }
49638
49644
  function Kz(n, e) {
49639
- const t = Ks().request.security[ee.OAuth2], r = (o, a) => {
49645
+ const t = eo().request.security[ee.OAuth2], r = (o, a) => {
49640
49646
  var l, c;
49641
49647
  switch (a) {
49642
49648
  case ae.AuthorizationCode:
@@ -49728,7 +49734,7 @@ function nL() {
49728
49734
  }
49729
49735
  )
49730
49736
  ] }),
49731
- /* @__PURE__ */ b.jsx(We, {}),
49737
+ /* @__PURE__ */ b.jsx(Fe, {}),
49732
49738
  /* @__PURE__ */ b.jsxs(iL, { children: [
49733
49739
  /* @__PURE__ */ b.jsx(
49734
49740
  Xe,
@@ -49746,7 +49752,7 @@ function nL() {
49746
49752
  /* @__PURE__ */ b.jsx("span", { children: "Something is wrong!" })
49747
49753
  ] })
49748
49754
  ] }),
49749
- /* @__PURE__ */ b.jsx(We, {}),
49755
+ /* @__PURE__ */ b.jsx(Fe, {}),
49750
49756
  /* @__PURE__ */ b.jsxs(lt, { children: [
49751
49757
  /* @__PURE__ */ b.jsx(Ue, { children: "User Info URL" }),
49752
49758
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -49761,7 +49767,7 @@ function nL() {
49761
49767
  }
49762
49768
  )
49763
49769
  ] }),
49764
- /* @__PURE__ */ b.jsx(We, {}),
49770
+ /* @__PURE__ */ b.jsx(Fe, {}),
49765
49771
  /* @__PURE__ */ b.jsx(eT, { securityType: ee.OpenIDConnect })
49766
49772
  ] });
49767
49773
  }
@@ -49807,7 +49813,7 @@ function sL() {
49807
49813
  }
49808
49814
  )
49809
49815
  ] }),
49810
- /* @__PURE__ */ b.jsx(We, {}),
49816
+ /* @__PURE__ */ b.jsx(Fe, {}),
49811
49817
  /* @__PURE__ */ b.jsxs(lt, { children: [
49812
49818
  /* @__PURE__ */ b.jsx(Ue, { children: "Password" }),
49813
49819
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -49823,7 +49829,7 @@ function sL() {
49823
49829
  }
49824
49830
  )
49825
49831
  ] }),
49826
- /* @__PURE__ */ b.jsx(We, {})
49832
+ /* @__PURE__ */ b.jsx(Fe, {})
49827
49833
  ] });
49828
49834
  }
49829
49835
  const oL = {
@@ -49877,7 +49883,7 @@ function aL() {
49877
49883
  )
49878
49884
  ] })
49879
49885
  ] }),
49880
- /* @__PURE__ */ b.jsx(We, {}),
49886
+ /* @__PURE__ */ b.jsx(Fe, {}),
49881
49887
  l && /* @__PURE__ */ b.jsx(l, {})
49882
49888
  ] });
49883
49889
  }
@@ -49915,7 +49921,7 @@ function uL({
49915
49921
  return /* @__PURE__ */ b.jsx(
49916
49922
  FS,
49917
49923
  {
49918
- icon: /* @__PURE__ */ b.jsx(Qo, {}),
49924
+ icon: /* @__PURE__ */ b.jsx(jo, {}),
49919
49925
  variant: "secondary",
49920
49926
  onClick: s,
49921
49927
  iconPosition: "right",
@@ -49927,7 +49933,7 @@ function uL({
49927
49933
  return /* @__PURE__ */ b.jsx(
49928
49934
  FS,
49929
49935
  {
49930
- icon: /* @__PURE__ */ b.jsx(Qo, {}),
49936
+ icon: /* @__PURE__ */ b.jsx(jo, {}),
49931
49937
  variant: "secondary",
49932
49938
  onClick: s,
49933
49939
  iconPosition: "right",
@@ -50185,7 +50191,7 @@ function IL({ type: n }) {
50185
50191
  isRequestEditable: r
50186
50192
  } = Le(), i = t.formData[n];
50187
50193
  function s(a, l, c) {
50188
- c && i.merge([wo()]), l.set(a);
50194
+ c && i.merge([Co()]), l.set(a);
50189
50195
  }
50190
50196
  function o(a) {
50191
50197
  i[a].set(Dt);
@@ -52439,7 +52445,7 @@ function yG({ description: n, required: e, schema: t }) {
52439
52445
  /* @__PURE__ */ b.jsx(bG, { rawMarkdown: n, parser: xG })
52440
52446
  ] });
52441
52447
  }
52442
- const SG = _(na)`
52448
+ const SG = _(Us)`
52443
52449
  padding: var(--spacing-unit) var(--spacing-xs);
52444
52450
  font-size: var(--font-size-base);
52445
52451
  font-weight: var(--font-weight-regular);
@@ -52713,10 +52719,10 @@ const Ui = {
52713
52719
  oAuth2RedirectURI: void 0,
52714
52720
  isRequestEditable: !0
52715
52721
  };
52716
- function Ks() {
52722
+ function eo() {
52717
52723
  return structuredClone($G);
52718
52724
  }
52719
- const RG = Yw(Ks()), dT = Df(RG), DG = dT.Provider;
52725
+ const RG = Yw(eo()), dT = Df(RG), DG = dT.Provider;
52720
52726
  function Le() {
52721
52727
  const n = ji(dT);
52722
52728
  return Uw(n);
@@ -53319,7 +53325,7 @@ function xY() {
53319
53325
  ] }),
53320
53326
  /* @__PURE__ */ b.jsx(xT, { children: /* @__PURE__ */ b.jsx(zs, { toasterPlacement: "left", data: o, onCopyClick: l }) })
53321
53327
  ] }),
53322
- /* @__PURE__ */ b.jsx(We, {}),
53328
+ /* @__PURE__ */ b.jsx(Fe, {}),
53323
53329
  /* @__PURE__ */ b.jsx(
53324
53330
  rT,
53325
53331
  {
@@ -53405,7 +53411,16 @@ function PY() {
53405
53411
  /* @__PURE__ */ b.jsx(IO, { children: "Cookies list" }),
53406
53412
  /* @__PURE__ */ b.jsx(mT, { children: (e || []).map(([r, i]) => /* @__PURE__ */ b.jsxs(OT, { children: [
53407
53413
  /* @__PURE__ */ b.jsx(vT, { children: r }),
53408
- /* @__PURE__ */ b.jsx(TY, { children: /* @__PURE__ */ b.jsx(xs, { mouseEnterDelay: 1, placement: "top", content: i, showArrow: !1, children: /* @__PURE__ */ b.jsx(yT, { children: i }) }) })
53414
+ /* @__PURE__ */ b.jsx(TY, { children: /* @__PURE__ */ b.jsx(
53415
+ xs,
53416
+ {
53417
+ mouseEnterDelay: 1,
53418
+ placement: "top",
53419
+ content: /* @__PURE__ */ b.jsx(IY, { children: i }),
53420
+ showArrow: !1,
53421
+ children: /* @__PURE__ */ b.jsx(yT, { children: i })
53422
+ }
53423
+ ) })
53409
53424
  ] }, r)) })
53410
53425
  ] }) : /* @__PURE__ */ b.jsx($O, { children: "No cookies were received from the server." });
53411
53426
  }
@@ -53416,6 +53431,14 @@ const EY = _.div`
53416
53431
  height: 100%;
53417
53432
  `, TY = _(bT)`
53418
53433
  border-right: none;
53434
+ `, IY = _(Us)`
53435
+ padding: var(--spacing-unit) var(--spacing-xs);
53436
+ font-size: var(--font-size-base);
53437
+ font-weight: var(--font-weight-regular);
53438
+ line-height: var(--line-height-base);
53439
+ word-break: break-word;
53440
+ overflow-wrap: break-word;
53441
+ max-width: 400px;
53419
53442
  `, HS = [
53420
53443
  {
53421
53444
  name: "Body",
@@ -53433,12 +53456,12 @@ const EY = _.div`
53433
53456
  icon: /* @__PURE__ */ b.jsx(hw, {})
53434
53457
  }
53435
53458
  ];
53436
- function IY() {
53459
+ function $Y() {
53437
53460
  const { sendEvent: n } = Ft(), [e, t] = Ce(HS[0]), r = (i) => {
53438
53461
  t(i), n("response_tab_changed", { name: i.name });
53439
53462
  };
53440
- return /* @__PURE__ */ b.jsxs($Y, { children: [
53441
- /* @__PURE__ */ b.jsx(RY, { children: HS.map((i) => /* @__PURE__ */ b.jsx(ci, { children: e === i ? /* @__PURE__ */ b.jsx(JS, { icon: i.icon, iconPosition: "left", children: i.name }) : /* @__PURE__ */ b.jsx(
53463
+ return /* @__PURE__ */ b.jsxs(RY, { children: [
53464
+ /* @__PURE__ */ b.jsx(DY, { children: HS.map((i) => /* @__PURE__ */ b.jsx(ci, { children: e === i ? /* @__PURE__ */ b.jsx(JS, { icon: i.icon, iconPosition: "left", children: i.name }) : /* @__PURE__ */ b.jsx(
53442
53465
  JS,
53443
53466
  {
53444
53467
  icon: i.icon,
@@ -53451,13 +53474,13 @@ function IY() {
53451
53474
  e.content
53452
53475
  ] });
53453
53476
  }
53454
- const $Y = _.div`
53477
+ const RY = _.div`
53455
53478
  display: flex;
53456
53479
  flex-direction: column;
53457
53480
  padding: var(--spacing-base) 0 var(--spacing-unit) 0;
53458
53481
  gap: var(--spacing-sm);
53459
53482
  height: calc(100% - 38px);
53460
- `, RY = _.div`
53483
+ `, DY = _.div`
53461
53484
  display: flex;
53462
53485
  flex-direction: row;
53463
53486
  gap: 2px;
@@ -53468,14 +53491,14 @@ const $Y = _.div`
53468
53491
  padding: var(--spacing-xxs) var(--spacing-base);
53469
53492
  margin: 0;
53470
53493
  `;
53471
- function DY() {
53494
+ function QY() {
53472
53495
  return /* @__PURE__ */ b.jsxs($O, { "data-testid": "empty-response", children: [
53473
53496
  "No response received yet.",
53474
53497
  /* @__PURE__ */ b.jsx("br", {}),
53475
53498
  "Click “Send” to start a request and see the response here!"
53476
53499
  ] });
53477
53500
  }
53478
- function QY() {
53501
+ function jY() {
53479
53502
  return /* @__PURE__ */ b.jsxs($O, { children: [
53480
53503
  /* @__PURE__ */ b.jsx("h3", { children: "Could not get a response." }),
53481
53504
  "Something went wrong, please review",
@@ -53483,20 +53506,20 @@ function QY() {
53483
53506
  "your request and try again"
53484
53507
  ] });
53485
53508
  }
53486
- function jY({ panel: n }) {
53509
+ function BY({ panel: n }) {
53487
53510
  const { response: e, requestError: t } = Le();
53488
- return /* @__PURE__ */ b.jsxs(BY, { "data-testid": "response-container", children: [
53511
+ return /* @__PURE__ */ b.jsxs(_Y, { "data-testid": "response-container", children: [
53489
53512
  /* @__PURE__ */ b.jsx(gT, { panel: n, response: e }),
53490
- t.get() && /* @__PURE__ */ b.jsx(QY, {}),
53491
- !e.get() && !n.isCollapsed && !t.get() && /* @__PURE__ */ b.jsx(DY, {}),
53492
- e.get() && !n.isCollapsed && !t.get() && /* @__PURE__ */ b.jsx(IY, {})
53513
+ t.get() && /* @__PURE__ */ b.jsx(jY, {}),
53514
+ !e.get() && !n.isCollapsed && !t.get() && /* @__PURE__ */ b.jsx(QY, {}),
53515
+ e.get() && !n.isCollapsed && !t.get() && /* @__PURE__ */ b.jsx($Y, {})
53493
53516
  ] });
53494
53517
  }
53495
- const BY = _.div`
53518
+ const _Y = _.div`
53496
53519
  padding: var(--spacing-sm) var(--spacing-lg);
53497
53520
  height: 100%;
53498
53521
  `;
53499
- function _Y(n, e) {
53522
+ function NY(n, e) {
53500
53523
  const t = jr(n);
53501
53524
  return e.forEach((r) => {
53502
53525
  const i = t.find((s) => s.name === r.name);
@@ -53510,7 +53533,7 @@ class Fa {
53510
53533
  (a) => a.type !== Or.ServerUrl
53511
53534
  );
53512
53535
  return { ...s, variables: o };
53513
- }), r = this.get(), i = _Y(r, t);
53536
+ }), r = this.get(), i = NY(r, t);
53514
53537
  sessionStorage.setItem(Kd, JSON.stringify(i));
53515
53538
  }
53516
53539
  static get() {
@@ -53537,14 +53560,14 @@ class Fa {
53537
53560
  sessionStorage.removeItem(Kd);
53538
53561
  }
53539
53562
  }
53540
- function NY(n) {
53563
+ function MY(n) {
53541
53564
  ze(() => {
53542
53565
  Fa.save(n.get());
53543
53566
  }, [n]);
53544
53567
  }
53545
53568
  function ST() {
53546
53569
  const { response: n, environments: e } = Le(), t = n.get(), r = [50, 50], i = ct(null), [s, o] = Ce(!0), a = T$();
53547
- NY(e), ze(() => {
53570
+ MY(e), ze(() => {
53548
53571
  var c, u;
53549
53572
  t && s && (((c = i.current) == null ? void 0 : c.getLayout()[1]) || 0) === 25 && ((u = i.current) == null || u.setLayout(r));
53550
53573
  }, [t, s]);
@@ -53552,7 +53575,7 @@ function ST() {
53552
53575
  var c;
53553
53576
  (c = i.current) == null || c.setLayout(r);
53554
53577
  };
53555
- return /* @__PURE__ */ b.jsxs(MY, { autoSaveId: "mainPanelResponsible", direction: "vertical", ref: i, children: [
53578
+ return /* @__PURE__ */ b.jsxs(FY, { autoSaveId: "mainPanelResponsible", direction: "vertical", ref: i, children: [
53556
53579
  /* @__PURE__ */ b.jsx(_p, { defaultSize: 75, children: /* @__PURE__ */ b.jsx(eY, {}) }),
53557
53580
  /* @__PURE__ */ b.jsx(
53558
53581
  P$,
@@ -53561,16 +53584,16 @@ function ST() {
53561
53584
  onDoubleClick: l
53562
53585
  }
53563
53586
  ),
53564
- a.panel.isCollapsed && /* @__PURE__ */ b.jsx(FY, { children: /* @__PURE__ */ b.jsx(gT, { panel: a.panel, response: n }) }),
53565
- /* @__PURE__ */ b.jsx(_p, { ...a.panelProps, minSize: QG, defaultSize: 25, children: /* @__PURE__ */ b.jsx(jY, { panel: a.panel }) })
53587
+ a.panel.isCollapsed && /* @__PURE__ */ b.jsx(ZY, { children: /* @__PURE__ */ b.jsx(gT, { panel: a.panel, response: n }) }),
53588
+ /* @__PURE__ */ b.jsx(_p, { ...a.panelProps, minSize: QG, defaultSize: 25, children: /* @__PURE__ */ b.jsx(BY, { panel: a.panel }) })
53566
53589
  ] });
53567
53590
  }
53568
- const MY = _(Lw)`
53591
+ const FY = _(Lw)`
53569
53592
  display: flex;
53570
53593
  flex-direction: column;
53571
53594
  flex-grow: 1;
53572
53595
  width: 55%;
53573
- `, FY = _.div`
53596
+ `, ZY = _.div`
53574
53597
  padding: var(--spacing-sm) var(--spacing-lg);
53575
53598
  `;
53576
53599
  var wT = { exports: {} };
@@ -53863,8 +53886,8 @@ var wT = { exports: {} };
53863
53886
  }, A.en = w[y], A.Ls = w, A.p = {}, A;
53864
53887
  });
53865
53888
  })(wT);
53866
- var ZY = wT.exports;
53867
- const yd = /* @__PURE__ */ Ko(ZY);
53889
+ var WY = wT.exports;
53890
+ const yd = /* @__PURE__ */ ea(WY);
53868
53891
  function CT({
53869
53892
  children: n,
53870
53893
  controls: e,
@@ -53878,7 +53901,7 @@ function CT({
53878
53901
  (l.key === " " || l.key === "Enter") && (l.preventDefault(), r == null || r());
53879
53902
  };
53880
53903
  return /* @__PURE__ */ b.jsxs(
53881
- VY,
53904
+ XY,
53882
53905
  {
53883
53906
  tabIndex: 0,
53884
53907
  role: "listitem",
@@ -53887,9 +53910,9 @@ function CT({
53887
53910
  $standalone: i,
53888
53911
  "data-testid": o,
53889
53912
  children: [
53890
- /* @__PURE__ */ b.jsx(XY, { className: "accordion-item-content", children: n }),
53913
+ /* @__PURE__ */ b.jsx(zY, { className: "accordion-item-content", children: n }),
53891
53914
  /* @__PURE__ */ b.jsxs(RO, { children: [
53892
- t && /* @__PURE__ */ b.jsx(WY, { children: t }),
53915
+ t && /* @__PURE__ */ b.jsx(VY, { children: t }),
53893
53916
  /* @__PURE__ */ b.jsx(kT, { $showControlsOnHover: s, children: e })
53894
53917
  ] })
53895
53918
  ]
@@ -53899,14 +53922,14 @@ function CT({
53899
53922
  const RO = _.div`
53900
53923
  display: flex;
53901
53924
  flex-direction: row;
53902
- `, WY = _(RO)`
53925
+ `, VY = _(RO)`
53903
53926
  gap: var(--spacing-xxs);
53904
53927
  width: max-content;
53905
53928
  align-items: center;
53906
53929
  `, kT = _(RO)`
53907
53930
  display: ${({ $showControlsOnHover: n }) => n ? "none" : "flex"};
53908
53931
  gap: var(--spacing-xxs);
53909
- `, VY = _.div`
53932
+ `, XY = _.div`
53910
53933
  width: ${({ $standalone: n }) => n ? "100%" : "calc(100% + 24px)"};
53911
53934
  max-height: 100%;
53912
53935
  display: flex;
@@ -53925,7 +53948,7 @@ const RO = _.div`
53925
53948
  display: flex;
53926
53949
  }
53927
53950
  }
53928
- `, XY = _.div`
53951
+ `, zY = _.div`
53929
53952
  max-width: 30vw;
53930
53953
  display: flex;
53931
53954
  border-left: 1px solid var(--border-color-secondary);
@@ -53948,9 +53971,9 @@ var AT = { exports: {} };
53948
53971
  };
53949
53972
  });
53950
53973
  })(AT);
53951
- var zY = AT.exports;
53952
- const LY = /* @__PURE__ */ Ko(zY);
53953
- yd.extend(LY);
53974
+ var LY = AT.exports;
53975
+ const GY = /* @__PURE__ */ ea(LY);
53976
+ yd.extend(GY);
53954
53977
  const KS = (n, e) => {
53955
53978
  const t = yd(n), r = e ? "[today]" : "[Today]", i = e ? "[yesterday]" : "[Yesterday]";
53956
53979
  return t.calendar(null, {
@@ -53964,26 +53987,26 @@ const KS = (n, e) => {
53964
53987
  // Everything else ( Jun 14)
53965
53988
  });
53966
53989
  };
53967
- function GY(n, e) {
53990
+ function YY(n, e) {
53968
53991
  return n.reduce((r, i) => {
53969
53992
  const s = yd(i[e]).format("YYYY-MM-DD");
53970
53993
  return r[s] || (r[s] = []), r[s].push(i), r;
53971
53994
  }, {});
53972
53995
  }
53973
- function YY({
53996
+ function UY({
53974
53997
  onConfirm: n,
53975
53998
  onCancel: e,
53976
53999
  confirmText: t = "Yes",
53977
54000
  cancelText: r = "No",
53978
54001
  description: i = "Are you sure?"
53979
54002
  }) {
53980
- return /* @__PURE__ */ b.jsxs(UY, { children: [
54003
+ return /* @__PURE__ */ b.jsxs(qY, { children: [
53981
54004
  /* @__PURE__ */ b.jsx(iw, { size: "16px", color: "--color-warning-base" }),
53982
54005
  /* @__PURE__ */ b.jsxs("div", { children: [
53983
54006
  /* @__PURE__ */ b.jsx("div", { children: i }),
53984
- /* @__PURE__ */ b.jsxs(qY, { children: [
53985
- /* @__PURE__ */ b.jsx(Xe, { variant: "text", onClick: e, "data-testid": "cancel-btn", children: r }),
53986
- /* @__PURE__ */ b.jsx(Xe, { variant: "primary", onClick: n, "data-testid": "confirm-btn", children: t })
54007
+ /* @__PURE__ */ b.jsxs(HY, { children: [
54008
+ /* @__PURE__ */ b.jsx(Xe, { size: "small", variant: "text", onClick: e, "data-testid": "cancel-btn", children: r }),
54009
+ /* @__PURE__ */ b.jsx(Xe, { size: "small", variant: "primary", onClick: n, "data-testid": "confirm-btn", children: t })
53987
54010
  ] })
53988
54011
  ] })
53989
54012
  ] });
@@ -54009,12 +54032,12 @@ function $f({
54009
54032
  {
54010
54033
  ref: c,
54011
54034
  trigger: r,
54012
- showArrow: s && { content: /* @__PURE__ */ b.jsx(HY, {}) },
54035
+ showArrow: s && { content: /* @__PURE__ */ b.jsx(JY, {}) },
54013
54036
  placement: i,
54014
54037
  visible: a,
54015
54038
  overlayStyle: { zIndex: "1000", position: "absolute" },
54016
54039
  overlay: /* @__PURE__ */ b.jsx(Bl, { onClickOutside: f, children: /* @__PURE__ */ b.jsx(
54017
- YY,
54040
+ UY,
54018
54041
  {
54019
54042
  ...o,
54020
54043
  onCancel: f,
@@ -54025,7 +54048,7 @@ function $f({
54025
54048
  }
54026
54049
  ) : /* @__PURE__ */ b.jsx("div", { onClick: d, children: n });
54027
54050
  }
54028
- const UY = _(na)`
54051
+ const qY = _(Us)`
54029
54052
  display: flex;
54030
54053
  gap: var(--spacing-xs);
54031
54054
  width: 300px;
@@ -54033,10 +54056,10 @@ const UY = _(na)`
54033
54056
  border-radius: var(--border-radius-sm);
54034
54057
  color: var(--text-color-secondary);
54035
54058
  font-size: var(--font-size-base);
54036
- `, qY = _.div`
54059
+ `, HY = _.div`
54037
54060
  display: flex;
54038
54061
  justify-content: flex-end;
54039
- `, HY = _(_k)`
54062
+ `, JY = _(_k)`
54040
54063
  left: -4px;
54041
54064
  `;
54042
54065
  function DO({ onSearch: n, variant: e = "focused", value: t }) {
@@ -54045,10 +54068,10 @@ function DO({ onSearch: n, variant: e = "focused", value: t }) {
54045
54068
  n(o);
54046
54069
  });
54047
54070
  };
54048
- return /* @__PURE__ */ b.jsx(JY, { "data-testid": "search-input", children: /* @__PURE__ */ b.jsx(
54049
- KY,
54071
+ return /* @__PURE__ */ b.jsx(KY, { "data-testid": "search-input", children: /* @__PURE__ */ b.jsx(
54072
+ eU,
54050
54073
  {
54051
- icon: /* @__PURE__ */ b.jsx(eU, { color: "--text-color-helper" }),
54074
+ icon: /* @__PURE__ */ b.jsx(tU, { color: "--text-color-helper" }),
54052
54075
  iconPosition: "left",
54053
54076
  placeholder: "Search",
54054
54077
  variant: e,
@@ -54057,13 +54080,13 @@ function DO({ onSearch: n, variant: e = "focused", value: t }) {
54057
54080
  }
54058
54081
  ) });
54059
54082
  }
54060
- const JY = _.div`
54083
+ const KY = _.div`
54061
54084
  display: flex;
54062
54085
  flex-direction: row;
54063
54086
  flex-grow: 1;
54064
54087
  align-items: center;
54065
54088
  gap: var(--spacing-xs);
54066
- `, KY = _(ol)`
54089
+ `, eU = _(ol)`
54067
54090
  height: 39px;
54068
54091
  font-size: var(--font-size-base);
54069
54092
  line-height: var(--line-height-base);
@@ -54072,7 +54095,7 @@ const JY = _.div`
54072
54095
  &:focus {
54073
54096
  box-shadow: none;
54074
54097
  }
54075
- `, eU = _(KT)`
54098
+ `, tU = _(KT)`
54076
54099
  margin-left: var(--spacing-base);
54077
54100
  `, QO = _.div`
54078
54101
  display: flex;
@@ -54082,7 +54105,7 @@ const JY = _.div`
54082
54105
  gap: var(--spacing-xs);
54083
54106
  border-bottom: 1px solid var(--border-color-secondary);
54084
54107
  height: 40px;
54085
- `, tU = _.div`
54108
+ `, nU = _.div`
54086
54109
  display: flex;
54087
54110
  width: 100%;
54088
54111
  flex-direction: row;
@@ -54128,7 +54151,7 @@ const JY = _.div`
54128
54151
  font-weight: var(--font-weight-semibold);
54129
54152
  }
54130
54153
  `;
54131
- function nU() {
54154
+ function rU() {
54132
54155
  var p, m;
54133
54156
  const [n, e] = Ce(""), { history: t, request: r, response: i, requestError: s } = Le(), { sendEvent: o } = Ft(), a = tt(
54134
54157
  () => [...t.get()].sort((g, v) => v.date - g.date),
@@ -54139,7 +54162,7 @@ function nU() {
54139
54162
  ),
54140
54163
  [a, n]
54141
54164
  ), c = tt(
54142
- () => GY(l, "date"),
54165
+ () => YY(l, "date"),
54143
54166
  [l]
54144
54167
  ), u = (g) => {
54145
54168
  e(g);
@@ -54185,7 +54208,7 @@ function nU() {
54185
54208
  }
54186
54209
  ) })
54187
54210
  ] }),
54188
- /* @__PURE__ */ b.jsx(rU, { children: /* @__PURE__ */ b.jsx(jO, { children: Object.entries(c).map((g, v) => {
54211
+ /* @__PURE__ */ b.jsx(iU, { children: /* @__PURE__ */ b.jsx(jO, { children: Object.entries(c).map((g, v) => {
54189
54212
  const [O, x] = g;
54190
54213
  return /* @__PURE__ */ b.jsx(
54191
54214
  ed,
@@ -54193,7 +54216,7 @@ function nU() {
54193
54216
  title: KS(O),
54194
54217
  defaultExpanded: v === 0,
54195
54218
  children: x.map((S, y) => /* @__PURE__ */ b.jsx(
54196
- iU,
54219
+ sU,
54197
54220
  {
54198
54221
  "data-testid": `history-item-${y}`,
54199
54222
  children: /* @__PURE__ */ b.jsx(
@@ -54201,7 +54224,7 @@ function nU() {
54201
54224
  {
54202
54225
  showControlsOnHover: !0,
54203
54226
  onClick: () => h(S),
54204
- staticLabels: /* @__PURE__ */ b.jsx(fU, { children: /* @__PURE__ */ b.jsx(cU, { tabIndex: -1, status: S.response.status, children: S.response.status }) }),
54227
+ staticLabels: /* @__PURE__ */ b.jsx(dU, { children: /* @__PURE__ */ b.jsx(uU, { tabIndex: -1, status: S.response.status, children: S.response.status }) }),
54205
54228
  controls: /* @__PURE__ */ b.jsx(b.Fragment, { children: /* @__PURE__ */ b.jsx(
54206
54229
  $f,
54207
54230
  {
@@ -54209,7 +54232,7 @@ function nU() {
54209
54232
  placement: "bottomRight",
54210
54233
  onConfirm: () => f(S.date),
54211
54234
  children: /* @__PURE__ */ b.jsx(
54212
- uU,
54235
+ fU,
54213
54236
  {
54214
54237
  icon: /* @__PURE__ */ b.jsx(Bi, {}),
54215
54238
  "data-testid": `remove-history-item-${y}`
@@ -54217,17 +54240,17 @@ function nU() {
54217
54240
  )
54218
54241
  }
54219
54242
  ) }),
54220
- children: /* @__PURE__ */ b.jsxs(sU, { children: [
54221
- /* @__PURE__ */ b.jsx(lU, { value: S.request.method }),
54243
+ children: /* @__PURE__ */ b.jsxs(oU, { children: [
54244
+ /* @__PURE__ */ b.jsx(cU, { value: S.request.method }),
54222
54245
  /* @__PURE__ */ b.jsx(
54223
- oU,
54246
+ aU,
54224
54247
  {
54225
54248
  mouseEnterDelay: 1,
54226
54249
  placement: "bottom",
54227
54250
  content: yd(new Date(S.date)).format(
54228
54251
  "MMM, DD, YYYY, hh:mm:ss A"
54229
54252
  ),
54230
- children: /* @__PURE__ */ b.jsx(aU, { children: S.request.url })
54253
+ children: /* @__PURE__ */ b.jsx(lU, { children: S.request.url })
54231
54254
  }
54232
54255
  )
54233
54256
  ] }, S.date)
@@ -54245,18 +54268,18 @@ function nU() {
54245
54268
  "You'll see the full history of the request."
54246
54269
  ] });
54247
54270
  }
54248
- const rU = _.div`
54271
+ const iU = _.div`
54249
54272
  display: flex;
54250
54273
  flex-direction: column;
54251
54274
  max-width: 100%;
54252
54275
  height: 100%;
54253
- `, iU = _.div`
54276
+ `, sU = _.div`
54254
54277
  height: 32px;
54255
54278
 
54256
54279
  .accordion-item-content {
54257
54280
  max-width: calc(30vw - 100px);
54258
54281
  }
54259
- `, sU = _.div`
54282
+ `, oU = _.div`
54260
54283
  max-width: 100%;
54261
54284
  display: flex;
54262
54285
  flex-direction: row;
@@ -54265,12 +54288,12 @@ const rU = _.div`
54265
54288
  padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-base);
54266
54289
  cursor: pointer;
54267
54290
  min-width: 0;
54268
- `, oU = _(xs)`
54291
+ `, aU = _(xs)`
54269
54292
  max-width: 100%;
54270
54293
  text-overflow: ellipsis;
54271
54294
  overflow: hidden;
54272
54295
  white-space: nowrap;
54273
- `, aU = _.div`
54296
+ `, lU = _.div`
54274
54297
  font-size: var(--font-size-base);
54275
54298
  font-weight: var(--font-weight-regular);
54276
54299
  line-height: var(--line-height-base);
@@ -54279,19 +54302,19 @@ const rU = _.div`
54279
54302
  text-overflow: ellipsis;
54280
54303
  overflow: hidden;
54281
54304
  white-space: nowrap;
54282
- `, lU = _(pT)`
54305
+ `, cU = _(pT)`
54283
54306
  display: flex;
54284
54307
  flex-shrink: 0;
54285
54308
  width: 48px;
54286
54309
  align-self: center;
54287
54310
  justify-content: center;
54288
- `, cU = _(pw)`
54311
+ `, uU = _(pw)`
54289
54312
  font-size: var(--font-size-sm);
54290
54313
  line-height: var(--line-height-sm);
54291
54314
  font-weight: var(--font-weight-regular);
54292
- `, uU = _(_i)`
54315
+ `, fU = _(_i)`
54293
54316
  margin-right: var(--spacing-xs);
54294
- `, fU = _.span`
54317
+ `, dU = _.span`
54295
54318
  height: var(--line-height-sm);
54296
54319
  background: var(--border-color-secondary);
54297
54320
  padding: 0 var(--spacing-xxs);
@@ -54303,7 +54326,7 @@ const rU = _.div`
54303
54326
  word-break: var(--code-word-break);
54304
54327
  padding: var(--spacing-xs);
54305
54328
  margin-right: var(--spacing-xs);
54306
- `, dU = "This environment is defined in the OpenAPI description and cannot be edited.", hU = "This variable is defined in the OpenAPI description and cannot be edited.", pU = "This variable is defined in the OpenAPI description and cannot be deleted.", gU = 'Are you sure you want to delete "{name}" along with all its variables?', qa = _(Xe)`
54329
+ `, hU = "This environment is defined in the OpenAPI description and cannot be edited.", pU = "This variable is defined in the OpenAPI description and cannot be edited.", gU = "This variable is defined in the OpenAPI description and cannot be deleted.", mU = 'Are you sure you want to delete "{name}" along with all its variables?', qa = _(Xe)`
54307
54330
  border: none;
54308
54331
  margin: 0;
54309
54332
 
@@ -54315,10 +54338,10 @@ const rU = _.div`
54315
54338
  margin-left: 0;
54316
54339
  }
54317
54340
  `;
54318
- function mU() {
54319
- return /* @__PURE__ */ b.jsx(OU, { children: /* @__PURE__ */ b.jsx(tI, { size: "14px", color: "--color-info-base" }) });
54341
+ function OU() {
54342
+ return /* @__PURE__ */ b.jsx(vU, { children: /* @__PURE__ */ b.jsx(tI, { size: "14px", color: "--color-info-base" }) });
54320
54343
  }
54321
- const OU = _.div`
54344
+ const vU = _.div`
54322
54345
  display: flex;
54323
54346
  align-items: center;
54324
54347
  justify-content: center;
@@ -54327,7 +54350,7 @@ const OU = _.div`
54327
54350
  width: 20px;
54328
54351
  height: 20px;
54329
54352
  `;
54330
- function vU({ variable: n, environment: e }) {
54353
+ function xU({ variable: n, environment: e }) {
54331
54354
  const [t, r] = Ce(!1), [i, s] = Ce(!1), { sendEvent: o } = Ft(), { name: a, value: l, readonlyName: c, isSecret: u, canBeRemoved: f, canBeEdited: d } = n.get(), { name: h } = e.get(), p = (x) => {
54332
54355
  o("environment_variable_edited", {
54333
54356
  name: h,
@@ -54357,7 +54380,7 @@ function vU({ variable: n, environment: e }) {
54357
54380
  });
54358
54381
  };
54359
54382
  return t ? /* @__PURE__ */ b.jsx(
54360
- wU,
54383
+ CU,
54361
54384
  {
54362
54385
  variable: n.get(),
54363
54386
  onSave: p,
@@ -54368,7 +54391,7 @@ function vU({ variable: n, environment: e }) {
54368
54391
  CT,
54369
54392
  {
54370
54393
  dataTestId: `environment-variable-${n.get().name}`,
54371
- controls: /* @__PURE__ */ b.jsxs(xU, { children: [
54394
+ controls: /* @__PURE__ */ b.jsxs(bU, { children: [
54372
54395
  u && /* @__PURE__ */ b.jsx(
54373
54396
  qa,
54374
54397
  {
@@ -54402,24 +54425,24 @@ function vU({ variable: n, environment: e }) {
54402
54425
  )
54403
54426
  }
54404
54427
  ),
54405
- (!d || !f) && /* @__PURE__ */ b.jsx(xs, { content: d ? pU : hU, children: /* @__PURE__ */ b.jsx(qa, { size: "small", variant: "text", icon: /* @__PURE__ */ b.jsx(El, {}) }) })
54428
+ (!d || !f) && /* @__PURE__ */ b.jsx(xs, { content: d ? gU : pU, children: /* @__PURE__ */ b.jsx(qa, { size: "small", variant: "text", icon: /* @__PURE__ */ b.jsx(El, {}) }) })
54406
54429
  ] }),
54407
- children: /* @__PURE__ */ b.jsxs(bU, { children: [
54408
- /* @__PURE__ */ b.jsxs(yU, { children: [
54430
+ children: /* @__PURE__ */ b.jsxs(yU, { children: [
54431
+ /* @__PURE__ */ b.jsxs(SU, { children: [
54409
54432
  a,
54410
- u && /* @__PURE__ */ b.jsx(mU, {})
54433
+ u && /* @__PURE__ */ b.jsx(OU, {})
54411
54434
  ] }),
54412
- /* @__PURE__ */ b.jsx(SU, { $isEmpty: !l, children: u && !i ? "•••••" : Wa(l, e.variables) || "No value" })
54435
+ /* @__PURE__ */ b.jsx(wU, { $isEmpty: !l, children: u && !i ? "•••••" : Wa(l, e.variables) || "No value" })
54413
54436
  ] })
54414
54437
  }
54415
54438
  );
54416
54439
  }
54417
- const xU = _.div`
54440
+ const bU = _.div`
54418
54441
  display: flex;
54419
54442
  flex-direction: row;
54420
54443
  gap: var(--spacing-xxs);
54421
54444
  padding-right: var(--spacing-base);
54422
- `, bU = _.div`
54445
+ `, yU = _.div`
54423
54446
  display: flex;
54424
54447
  flex-direction: column;
54425
54448
  justify-content: center;
@@ -54427,7 +54450,7 @@ const xU = _.div`
54427
54450
  gap: 2px;
54428
54451
  flex: 1 0 0;
54429
54452
  width: 100%;
54430
- `, yU = _.div`
54453
+ `, SU = _.div`
54431
54454
  display: flex;
54432
54455
  align-items: center;
54433
54456
  gap: var(--spacing-xxs);
@@ -54440,7 +54463,7 @@ const xU = _.div`
54440
54463
  line-height: var(--line-height-base);
54441
54464
  padding-left: var(--spacing-base);
54442
54465
  padding-top: var(--spacing-xs);
54443
- `, SU = _.span`
54466
+ `, wU = _.span`
54444
54467
  color: ${({ $isEmpty: n }) => n ? "var(--color-warm-grey-5)" : "var(--text-color-secondary)"};
54445
54468
  font-size: var(--font-size-sm);
54446
54469
  font-weight: var(--font-weight-regular);
@@ -54449,11 +54472,11 @@ const xU = _.div`
54449
54472
  padding-bottom: var(--spacing-xs);
54450
54473
  word-wrap: break-word;
54451
54474
  max-width: 100%;
54452
- `, wU = _(jl)`
54475
+ `, CU = _(jl)`
54453
54476
  padding-left: 39px;
54454
54477
  margin-left: -23px;
54455
54478
  `;
54456
- function CU({
54479
+ function kU({
54457
54480
  defaultName: n,
54458
54481
  onChange: e,
54459
54482
  onApplyNewName: t,
@@ -54464,7 +54487,7 @@ function CU({
54464
54487
  const [o, a] = Ce(n), l = (u) => {
54465
54488
  a(u.target.value), e == null || e(u);
54466
54489
  }, c = o.trim();
54467
- return /* @__PURE__ */ b.jsx(Bl, { onClickOutside: r, children: /* @__PURE__ */ b.jsxs(tU, { children: [
54490
+ return /* @__PURE__ */ b.jsx(Bl, { onClickOutside: r, children: /* @__PURE__ */ b.jsxs(nU, { children: [
54468
54491
  i,
54469
54492
  /* @__PURE__ */ b.jsx(
54470
54493
  ol,
@@ -54486,10 +54509,10 @@ function CU({
54486
54509
  children: /* @__PURE__ */ b.jsx(G0, {})
54487
54510
  }
54488
54511
  ),
54489
- /* @__PURE__ */ b.jsx(Xe, { variant: "text", onClick: r, icon: /* @__PURE__ */ b.jsx(Qo, {}) })
54512
+ /* @__PURE__ */ b.jsx(Xe, { variant: "text", onClick: r, icon: /* @__PURE__ */ b.jsx(jo, {}) })
54490
54513
  ] }) });
54491
54514
  }
54492
- function kU({ environment: n }) {
54515
+ function AU({ environment: n }) {
54493
54516
  const [e, t] = Ce(!1), { sendEvent: r } = Ft(), { state: i, canBeEdited: s, canBeRemoved: o, name: a } = n.get(), l = () => {
54494
54517
  n.set(Dt), r("environment_creation_cancelled", {});
54495
54518
  }, c = () => {
@@ -54512,7 +54535,7 @@ function kU({ environment: n }) {
54512
54535
  t(!1), r("environment_variable_creation_cancelled", { name: a });
54513
54536
  };
54514
54537
  return i === mr.Edit || i === mr.Draft ? /* @__PURE__ */ b.jsx(
54515
- CU,
54538
+ kU,
54516
54539
  {
54517
54540
  placeholder: "New Environment",
54518
54541
  defaultName: a,
@@ -54525,7 +54548,7 @@ function kU({ environment: n }) {
54525
54548
  {
54526
54549
  dataTestId: `environment-${a}`,
54527
54550
  title: a,
54528
- controls: /* @__PURE__ */ b.jsxs(AU, { children: [
54551
+ controls: /* @__PURE__ */ b.jsxs(PU, { children: [
54529
54552
  s && /* @__PURE__ */ b.jsx(
54530
54553
  qa,
54531
54554
  {
@@ -54539,7 +54562,7 @@ function kU({ environment: n }) {
54539
54562
  o && /* @__PURE__ */ b.jsx(
54540
54563
  $f,
54541
54564
  {
54542
- description: gU.replace("{name}", a),
54565
+ description: mU.replace("{name}", a),
54543
54566
  onConfirm: f,
54544
54567
  children: /* @__PURE__ */ b.jsx(
54545
54568
  _i,
@@ -54551,11 +54574,11 @@ function kU({ environment: n }) {
54551
54574
  )
54552
54575
  }
54553
54576
  ),
54554
- (!s || !o) && /* @__PURE__ */ b.jsx(xs, { content: dU, children: /* @__PURE__ */ b.jsx(qa, { size: "small", variant: "text", icon: /* @__PURE__ */ b.jsx(El, {}) }) })
54577
+ (!s || !o) && /* @__PURE__ */ b.jsx(xs, { content: hU, children: /* @__PURE__ */ b.jsx(qa, { size: "small", variant: "text", icon: /* @__PURE__ */ b.jsx(El, {}) }) })
54555
54578
  ] }),
54556
54579
  children: [
54557
54580
  e ? /* @__PURE__ */ b.jsx(
54558
- TU,
54581
+ IU,
54559
54582
  {
54560
54583
  variable: zu(),
54561
54584
  onSave: p,
@@ -54563,7 +54586,7 @@ function kU({ environment: n }) {
54563
54586
  isNew: !0
54564
54587
  }
54565
54588
  ) : /* @__PURE__ */ b.jsx(
54566
- EU,
54589
+ TU,
54567
54590
  {
54568
54591
  icon: /* @__PURE__ */ b.jsx(Su, {}),
54569
54592
  variant: "secondary",
@@ -54573,29 +54596,29 @@ function kU({ environment: n }) {
54573
54596
  children: "New variable"
54574
54597
  }
54575
54598
  ),
54576
- n.variables.map((g) => /* @__PURE__ */ b.jsx(ci, { children: /* @__PURE__ */ b.jsx(vU, { variable: g, environment: n }) }, g.get().id))
54599
+ n.variables.map((g) => /* @__PURE__ */ b.jsx(ci, { children: /* @__PURE__ */ b.jsx(xU, { variable: g, environment: n }) }, g.get().id))
54577
54600
  ]
54578
54601
  }
54579
54602
  ) });
54580
54603
  }
54581
- const AU = _.div`
54604
+ const PU = _.div`
54582
54605
  display: flex;
54583
54606
  flex-direction: row;
54584
54607
  gap: var(--spacing-xxs);
54585
54608
  align-items: center;
54586
- `, PU = _(Xe)`
54609
+ `, EU = _(Xe)`
54587
54610
  align-self: flex-start;
54588
54611
  margin: 0;
54589
- `, EU = _(PU)`
54612
+ `, TU = _(EU)`
54590
54613
  margin: 8px 0 8px -7px;
54591
54614
  font-size: var(--font-size-base);
54592
54615
  font-weight: var(--font-weight-regular);
54593
54616
  line-height: var(--line-height-base);
54594
- `, TU = _(jl)`
54617
+ `, IU = _(jl)`
54595
54618
  padding-left: 39px;
54596
54619
  margin-left: -23px;
54597
54620
  `;
54598
- function IU() {
54621
+ function $U() {
54599
54622
  const [n, e] = Ce(""), { environments: t } = Le(), { sendEvent: r } = Ft(), i = tt(
54600
54623
  () => t.filter((a) => a.name.get().toLowerCase().includes(n.toLowerCase())),
54601
54624
  [n, t]
@@ -54614,7 +54637,7 @@ function IU() {
54614
54637
  }, o = (a) => {
54615
54638
  e(a);
54616
54639
  };
54617
- return /* @__PURE__ */ b.jsxs($U, { children: [
54640
+ return /* @__PURE__ */ b.jsxs(RU, { children: [
54618
54641
  /* @__PURE__ */ b.jsxs(QO, { children: [
54619
54642
  /* @__PURE__ */ b.jsx(DO, { value: n, onSearch: o }),
54620
54643
  /* @__PURE__ */ b.jsx(_e, {}),
@@ -54630,10 +54653,10 @@ function IU() {
54630
54653
  }
54631
54654
  ) })
54632
54655
  ] }),
54633
- /* @__PURE__ */ b.jsx(jO, { children: i.map((a) => /* @__PURE__ */ b.jsx(kU, { environment: a }, a.id.get())) })
54656
+ /* @__PURE__ */ b.jsx(jO, { children: i.map((a) => /* @__PURE__ */ b.jsx(AU, { environment: a }, a.id.get())) })
54634
54657
  ] });
54635
54658
  }
54636
- const $U = _.div`
54659
+ const RU = _.div`
54637
54660
  display: flex;
54638
54661
  flex-direction: column;
54639
54662
  width: 100%;
@@ -54644,12 +54667,12 @@ function ew({ name: n, value: e }) {
54644
54667
  }, o = () => {
54645
54668
  i("app_credential_copied", { name: n });
54646
54669
  };
54647
- return /* @__PURE__ */ b.jsxs(RU, { children: [
54648
- /* @__PURE__ */ b.jsxs(DU, { children: [
54649
- /* @__PURE__ */ b.jsx(QU, { children: n }),
54650
- /* @__PURE__ */ b.jsx(jU, { children: t ? e : "••••••••••••••••••••••••••••••••••••" })
54670
+ return /* @__PURE__ */ b.jsxs(DU, { children: [
54671
+ /* @__PURE__ */ b.jsxs(QU, { children: [
54672
+ /* @__PURE__ */ b.jsx(jU, { children: n }),
54673
+ /* @__PURE__ */ b.jsx(BU, { children: t ? e : "••••••••••••••••••••••••••••••••••••" })
54651
54674
  ] }),
54652
- /* @__PURE__ */ b.jsxs(BU, { children: [
54675
+ /* @__PURE__ */ b.jsxs(_U, { children: [
54653
54676
  /* @__PURE__ */ b.jsx(
54654
54677
  Xe,
54655
54678
  {
@@ -54663,18 +54686,18 @@ function ew({ name: n, value: e }) {
54663
54686
  ] })
54664
54687
  ] });
54665
54688
  }
54666
- const RU = _.div`
54689
+ const DU = _.div`
54667
54690
  display: flex;
54668
54691
  padding: var(--spacing-xs) var(--spacing-xs);
54669
54692
  align-items: flex-start;
54670
54693
  gap: var(--spacing-xs);
54671
54694
  align-self: stretch;
54672
- `, DU = _.div`
54695
+ `, QU = _.div`
54673
54696
  display: flex;
54674
54697
  align-items: flex-start;
54675
54698
  gap: 10px;
54676
54699
  flex: 1 0 0;
54677
- `, QU = _.div`
54700
+ `, jU = _.div`
54678
54701
  display: -webkit-box;
54679
54702
  width: var(--64-px-4-rem-spacing-11, 64px);
54680
54703
  -webkit-box-orient: vertical;
@@ -54687,20 +54710,20 @@ const RU = _.div`
54687
54710
  font-style: normal;
54688
54711
  font-weight: var(--font-weight-semibold);
54689
54712
  line-height: var(--line-height-sm);
54690
- `, jU = _.div`
54713
+ `, BU = _.div`
54691
54714
  flex: 1 0 0;
54692
54715
  color: var(--text-color-primary);
54693
54716
  font-size: var(--font-size-sm);
54694
54717
  font-style: normal;
54695
54718
  font-weight: var(--font-weight-regular);
54696
54719
  line-height: var(--line-height-sm);
54697
- `, BU = _.div`
54720
+ `, _U = _.div`
54698
54721
  display: flex;
54699
54722
  justify-content: flex-end;
54700
54723
  align-items: center;
54701
54724
  gap: var(--spacing-xxs);
54702
54725
  `;
54703
- function _U({ credential: n, number: e }) {
54726
+ function NU({ credential: n, number: e }) {
54704
54727
  const {
54705
54728
  requestActiveTabIdx: t,
54706
54729
  request: { securityType: r, security: i }
@@ -54754,20 +54777,20 @@ function _U({ credential: n, number: e }) {
54754
54777
  }
54755
54778
  c("apps_use_key_clicked", { number: e });
54756
54779
  };
54757
- return /* @__PURE__ */ b.jsxs(NU, { children: [
54758
- /* @__PURE__ */ b.jsxs(MU, { children: [
54759
- /* @__PURE__ */ b.jsx(ZU, { children: e.toString().padStart(2, "0") }),
54760
- /* @__PURE__ */ b.jsxs(FU, { children: [
54780
+ return /* @__PURE__ */ b.jsxs(MU, { children: [
54781
+ /* @__PURE__ */ b.jsxs(FU, { children: [
54782
+ /* @__PURE__ */ b.jsx(WU, { children: e.toString().padStart(2, "0") }),
54783
+ /* @__PURE__ */ b.jsxs(ZU, { children: [
54761
54784
  n.stage && /* @__PURE__ */ b.jsx(NO, { color: "gray", children: n.stage }),
54762
54785
  /* @__PURE__ */ b.jsx(NO, { color: "green", children: n.status })
54763
54786
  ] })
54764
54787
  ] }),
54765
54788
  o && /* @__PURE__ */ b.jsx(ew, { name: "API key", value: o }),
54766
54789
  a && /* @__PURE__ */ b.jsx(ew, { name: o ? "Secret" : "API key", value: a }),
54767
- /* @__PURE__ */ b.jsx(WU, { children: /* @__PURE__ */ b.jsx(Xe, { size: "small", variant: "secondary", onClick: u, children: "Use key" }) })
54790
+ /* @__PURE__ */ b.jsx(VU, { children: /* @__PURE__ */ b.jsx(Xe, { size: "small", variant: "secondary", onClick: u, children: "Use key" }) })
54768
54791
  ] });
54769
54792
  }
54770
- const NU = _.div`
54793
+ const MU = _.div`
54771
54794
  display: flex;
54772
54795
  flex-direction: column;
54773
54796
  align-self: stretch;
@@ -54781,7 +54804,7 @@ const NU = _.div`
54781
54804
  & > :not(:last-child) {
54782
54805
  border-bottom: 1px solid var(--border-color-secondary);
54783
54806
  }
54784
- `, MU = _.div`
54807
+ `, FU = _.div`
54785
54808
  display: flex;
54786
54809
  justify-content: space-between;
54787
54810
  padding: var(--spacing-xs) var(--spacing-xs);
@@ -54789,16 +54812,16 @@ const NU = _.div`
54789
54812
  align-items: center;
54790
54813
  align-self: stretch;
54791
54814
  background: var(--layer-color);
54792
- `, FU = _.div`
54815
+ `, ZU = _.div`
54793
54816
  display: flex;
54794
54817
  gap: var(--spacing-xxs);
54795
- `, ZU = _.div`
54818
+ `, WU = _.div`
54796
54819
  color: var(--text-color-secondary, #3b3c45);
54797
54820
  font-size: var(--font-size-sm);
54798
54821
  font-style: normal;
54799
54822
  font-weight: var(--font-weight-regular);
54800
54823
  line-height: var(--line-height-sm);
54801
- `, WU = _.div`
54824
+ `, VU = _.div`
54802
54825
  display: flex;
54803
54826
  padding: var(--spacing-xs) var(--spacing-xs);
54804
54827
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
@@ -54807,24 +54830,24 @@ const NU = _.div`
54807
54830
  align-self: stretch;
54808
54831
  background: var(--layer-color);
54809
54832
  `;
54810
- function VU({ app: n }) {
54833
+ function XU({ app: n }) {
54811
54834
  const [e, t] = Ce(!1), { title: r, credentials: i, id: s } = n, o = i.get() || [], a = (l) => {
54812
54835
  l && !i.get() && (t(!0), fetch(`/api/api-keys/apps/${s.get()}`).then((c) => c.json().then((u) => {
54813
54836
  c.ok && i.set(u.credentials);
54814
54837
  }).catch(() => console.log("Something went wrong")).finally(() => t(!1))));
54815
54838
  };
54816
- return /* @__PURE__ */ b.jsx(ed, { dataTestId: `app-${name}`, title: r.get(), onToggle: a, children: /* @__PURE__ */ b.jsx(XU, { children: e ? /* @__PURE__ */ b.jsx(zU, { children: /* @__PURE__ */ b.jsx(Bf, { size: "16px", color: "--icon-color-additional" }) }) : o.length ? o.map((l, c) => /* @__PURE__ */ b.jsx(_U, { credential: l, number: c + 1 }, l.id)) : /* @__PURE__ */ b.jsx(LU, { children: "There are no credentials yet." }) }) });
54839
+ return /* @__PURE__ */ b.jsx(ed, { dataTestId: `app-${name}`, title: r.get(), onToggle: a, children: /* @__PURE__ */ b.jsx(zU, { children: e ? /* @__PURE__ */ b.jsx(LU, { children: /* @__PURE__ */ b.jsx(Bf, { size: "16px", color: "--icon-color-additional" }) }) : o.length ? o.map((l, c) => /* @__PURE__ */ b.jsx(NU, { credential: l, number: c + 1 }, l.id)) : /* @__PURE__ */ b.jsx(GU, { children: "There are no credentials yet." }) }) });
54817
54840
  }
54818
- const XU = _.div`
54841
+ const zU = _.div`
54819
54842
  padding-bottom: var(--spacing-xxs);
54820
54843
  margin-left: -7px;
54821
54844
  padding-right: var(--spacing-base);
54822
- `, zU = _.div`
54845
+ `, LU = _.div`
54823
54846
  display: flex;
54824
54847
  height: 224px;
54825
54848
  justify-content: center;
54826
54849
  align-items: center;
54827
- `, LU = _.div`
54850
+ `, GU = _.div`
54828
54851
  display: flex;
54829
54852
  justify-content: center;
54830
54853
  align-items: center;
@@ -54833,7 +54856,7 @@ const XU = _.div`
54833
54856
  line-height: var(--line-height-base);
54834
54857
  color: var(--text-color-secondary);
54835
54858
  `;
54836
- function GU() {
54859
+ function YU() {
54837
54860
  const [n, e] = Ce(""), { apps: t, apiId: r, appsLoadingState: i } = Le(), { sendEvent: s } = Ft(), o = () => {
54838
54861
  window.open("/apps", "_blank"), s("apps_request_access_clicked", {});
54839
54862
  };
@@ -54848,26 +54871,26 @@ function GU() {
54848
54871
  ), l = (c) => {
54849
54872
  e(c);
54850
54873
  };
54851
- return i.get() === Ur.Loading ? /* @__PURE__ */ b.jsx(UU, { children: /* @__PURE__ */ b.jsx(Bf, { size: "24px", color: "--icon-color-additional" }) }) : t.length ? /* @__PURE__ */ b.jsxs(YU, { children: [
54874
+ return i.get() === Ur.Loading ? /* @__PURE__ */ b.jsx(qU, { children: /* @__PURE__ */ b.jsx(Bf, { size: "24px", color: "--icon-color-additional" }) }) : t.length ? /* @__PURE__ */ b.jsxs(UU, { children: [
54852
54875
  /* @__PURE__ */ b.jsx(QO, { children: /* @__PURE__ */ b.jsx(DO, { value: n, onSearch: l }) }),
54853
- /* @__PURE__ */ b.jsx(jO, { children: a.map((c) => /* @__PURE__ */ b.jsx(VU, { app: c }, c.get().id)) })
54876
+ /* @__PURE__ */ b.jsx(jO, { children: a.map((c) => /* @__PURE__ */ b.jsx(XU, { app: c }, c.get().id)) })
54854
54877
  ] }) : /* @__PURE__ */ b.jsxs(ET, { children: [
54855
54878
  "You don't have any apps with access to this API",
54856
54879
  /* @__PURE__ */ b.jsx(Xe, { onClick: o, children: "Request access" })
54857
54880
  ] });
54858
54881
  }
54859
- const YU = _.div`
54882
+ const UU = _.div`
54860
54883
  display: flex;
54861
54884
  flex-direction: column;
54862
54885
  width: 100%;
54863
- `, UU = _.div`
54886
+ `, qU = _.div`
54864
54887
  display: flex;
54865
54888
  justify-content: center;
54866
54889
  align-items: center;
54867
54890
  width: 100%;
54868
54891
  height: calc(100vh - 50px);
54869
- }`, { Tab: qU, TabContent: HU, TabList: JU, Tabs: KU } = nI.components;
54870
- function eq() {
54892
+ }`, { Tab: HU, TabContent: JU, TabList: KU, Tabs: eq } = nI.components;
54893
+ function tq() {
54871
54894
  const { apiId: n } = Le(), { sendEvent: e } = Ft(), [t, r] = Ce(!0), i = Je(
54872
54895
  (a) => {
54873
54896
  e("side_panel_tab_changed", { name: a });
@@ -54877,21 +54900,21 @@ function eq() {
54877
54900
  r(!t), e("side_panel_toggled", { expanded: !t });
54878
54901
  }, o = tt(() => {
54879
54902
  const a = [
54880
- /* @__PURE__ */ b.jsx(Pp, { label: "History", onClick: () => i("History"), children: /* @__PURE__ */ b.jsx(nU, {}) }, "History"),
54881
- /* @__PURE__ */ b.jsx(Pp, { label: "Environments", onClick: () => i("Environments"), children: /* @__PURE__ */ b.jsx(IU, {}) }, "Environments")
54903
+ /* @__PURE__ */ b.jsx(Pp, { label: "History", onClick: () => i("History"), children: /* @__PURE__ */ b.jsx(rU, {}) }, "History"),
54904
+ /* @__PURE__ */ b.jsx(Pp, { label: "Environments", onClick: () => i("Environments"), children: /* @__PURE__ */ b.jsx($U, {}) }, "Environments")
54882
54905
  ];
54883
54906
  return n.get() && a.push(
54884
- /* @__PURE__ */ b.jsx(Pp, { label: "Apps", onClick: () => i("Apps"), children: /* @__PURE__ */ b.jsx(GU, {}) })
54907
+ /* @__PURE__ */ b.jsx(Pp, { label: "Apps", onClick: () => i("Apps"), children: /* @__PURE__ */ b.jsx(YU, {}) })
54885
54908
  ), a;
54886
54909
  }, [n, i]);
54887
- return /* @__PURE__ */ b.jsxs(tq, { $expanded: t, children: [
54888
- t && /* @__PURE__ */ b.jsxs(nq, { children: [
54910
+ return /* @__PURE__ */ b.jsxs(nq, { $expanded: t, children: [
54911
+ t && /* @__PURE__ */ b.jsxs(rq, { children: [
54889
54912
  ...o
54890
54913
  ] }),
54891
- /* @__PURE__ */ b.jsx(rq, { variant: "text", onClick: s, children: t ? /* @__PURE__ */ b.jsx(rI, {}) : /* @__PURE__ */ b.jsx(iI, {}) })
54914
+ /* @__PURE__ */ b.jsx(iq, { variant: "text", onClick: s, children: t ? /* @__PURE__ */ b.jsx(rI, {}) : /* @__PURE__ */ b.jsx(iI, {}) })
54892
54915
  ] });
54893
54916
  }
54894
- const tq = _.div`
54917
+ const nq = _.div`
54895
54918
  display: flex;
54896
54919
  flex-direction: row;
54897
54920
  border-left: 1px solid var(--border-color-secondary);
@@ -54903,13 +54926,13 @@ const tq = _.div`
54903
54926
  svg {
54904
54927
  fill: var(--text-color-primary);
54905
54928
  }
54906
- `, nq = _(KU)`
54929
+ `, rq = _(eq)`
54907
54930
  flex-grow: 1;
54908
54931
  margin-right: -48px;
54909
54932
  margin-top: 0;
54910
54933
  --md-tabs-content-padding: 0;
54911
54934
 
54912
- ${JU} {
54935
+ ${KU} {
54913
54936
  margin: 0;
54914
54937
  height: 49px;
54915
54938
  font-size: var(--font-size-lg);
@@ -54924,11 +54947,11 @@ const tq = _.div`
54924
54947
  --md-tabs-hover-tab-border-width: 0;
54925
54948
  }
54926
54949
 
54927
- ${HU} {
54950
+ ${JU} {
54928
54951
  overflow: auto;
54929
54952
  }
54930
54953
 
54931
- ${qU} {
54954
+ ${HU} {
54932
54955
  font-size: var(--font-size-lg);
54933
54956
  font-weight: var(--font-weight-regular);
54934
54957
  line-height: var(--line-height-lg);
@@ -54950,57 +54973,57 @@ const tq = _.div`
54950
54973
  ol[class^='Tabs__TabList'] {
54951
54974
  padding: 0 0 0 var(--spacing-base);
54952
54975
  }
54953
- `, rq = _(Xe)`
54976
+ `, iq = _(Xe)`
54954
54977
  align-self: flex-start;
54955
54978
  margin: 12px;
54956
54979
  padding: 4px;
54957
- `, Pp = _.li``, iq = ({ error: n }) => /* @__PURE__ */ b.jsxs(sq, { children: [
54958
- /* @__PURE__ */ b.jsx(oq, { children: "An Error Has Occurred" }),
54959
- /* @__PURE__ */ b.jsx(aq, { children: n == null ? void 0 : n.message }),
54960
- /* @__PURE__ */ b.jsx(lq, { children: n == null ? void 0 : n.stack })
54961
- ] }), sq = _.div`
54980
+ `, Pp = _.li``, sq = ({ error: n }) => /* @__PURE__ */ b.jsxs(oq, { children: [
54981
+ /* @__PURE__ */ b.jsx(aq, { children: "An Error Has Occurred" }),
54982
+ /* @__PURE__ */ b.jsx(lq, { children: n == null ? void 0 : n.message }),
54983
+ /* @__PURE__ */ b.jsx(cq, { children: n == null ? void 0 : n.stack })
54984
+ ] }), oq = _.div`
54962
54985
  padding: var(--spacing-xs) var(--spacing-xl);
54963
- `, oq = _.h2`
54986
+ `, aq = _.h2`
54964
54987
  color: var(--color-error-base);
54965
- `, aq = _.h4`
54988
+ `, lq = _.h4`
54966
54989
  color: var(--text-color-secondary);
54967
- `, lq = _.pre`
54990
+ `, cq = _.pre`
54968
54991
  white-space: break-spaces;
54969
54992
  `;
54970
- function cq({ className: n }) {
54971
- return /* @__PURE__ */ b.jsx(uq, { className: n, children: /* @__PURE__ */ b.jsxs(fq, { children: [
54993
+ function uq({ className: n }) {
54994
+ return /* @__PURE__ */ b.jsx(fq, { className: n, children: /* @__PURE__ */ b.jsxs(dq, { children: [
54972
54995
  /* @__PURE__ */ b.jsx(cw, { size: "24px", color: "--color-error-base" }),
54973
- /* @__PURE__ */ b.jsxs(dq, { children: [
54974
- /* @__PURE__ */ b.jsx(hq, { children: "Oops! Something went wrong." }),
54975
- /* @__PURE__ */ b.jsx(pq, { children: "We're sorry. There's been an unexpected error. Our team has been notified and will investigate the issue." })
54996
+ /* @__PURE__ */ b.jsxs(hq, { children: [
54997
+ /* @__PURE__ */ b.jsx(pq, { children: "Oops! Something went wrong." }),
54998
+ /* @__PURE__ */ b.jsx(gq, { children: "We're sorry. There's been an unexpected error. Our team has been notified and will investigate the issue." })
54976
54999
  ] })
54977
55000
  ] }) });
54978
55001
  }
54979
- const uq = _.div`
55002
+ const fq = _.div`
54980
55003
  display: flex;
54981
55004
  justify-content: center;
54982
55005
  align-items: center;
54983
55006
  width: 80vw;
54984
55007
  height: 100vh;
54985
55008
  background-color: var(--bg-color);
54986
- `, fq = _.div`
55009
+ `, dq = _.div`
54987
55010
  display: flex;
54988
55011
  flex-direction: column;
54989
55012
  align-items: center;
54990
55013
  gap: var(--spacing-base);
54991
- `, dq = _.div`
55014
+ `, hq = _.div`
54992
55015
  display: flex;
54993
55016
  flex-direction: column;
54994
55017
  align-items: center;
54995
55018
  gap: var(--spacing-xxs);
54996
55019
  width: 488px;
54997
- `, hq = _.div`
55020
+ `, pq = _.div`
54998
55021
  color: var(--text-color-primary);
54999
55022
  font-size: var(--font-size-xl);
55000
55023
  font-style: normal;
55001
55024
  font-weight: var(--font-weight-semibold);
55002
55025
  line-height: var(--line-height-xl);
55003
- `, pq = _.div`
55026
+ `, gq = _.div`
55004
55027
  color: var(--text-color-primary);
55005
55028
  font-size: var(--font-size-lg);
55006
55029
  font-style: normal;
@@ -55008,7 +55031,7 @@ const uq = _.div`
55008
55031
  line-height: var(--line-height-lg);
55009
55032
  text-align: center;
55010
55033
  `;
55011
- class gq extends U.Component {
55034
+ class mq extends U.Component {
55012
55035
  constructor(e) {
55013
55036
  super(e), this.state = { error: void 0 };
55014
55037
  }
@@ -55023,31 +55046,31 @@ class gq extends U.Component {
55023
55046
  this.setState(r), (s = (i = this.props).onError) == null || s.call(i, r.error);
55024
55047
  }
55025
55048
  render() {
55026
- return this.state.error ? process.env.NODE_ENV === "production" ? /* @__PURE__ */ b.jsx(cq, {}) : /* @__PURE__ */ b.jsx(iq, { error: this.state.error }) : this.props.children;
55049
+ return this.state.error ? process.env.NODE_ENV === "production" ? /* @__PURE__ */ b.jsx(uq, {}) : /* @__PURE__ */ b.jsx(sq, { error: this.state.error }) : this.props.children;
55027
55050
  }
55028
55051
  }
55029
- function mq({ className: n }) {
55052
+ function Oq({ className: n }) {
55030
55053
  const { operationUrl: e } = Le(), { sendEvent: t } = Ft();
55031
55054
  return /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
55032
55055
  /* @__PURE__ */ b.jsx(sI, {}),
55033
- /* @__PURE__ */ b.jsx(Oq, { className: n, children: /* @__PURE__ */ b.jsxs(
55034
- gq,
55056
+ /* @__PURE__ */ b.jsx(vq, { className: n, children: /* @__PURE__ */ b.jsxs(
55057
+ mq,
55035
55058
  {
55036
55059
  onError: (r) => t("unhandled_error", { ...r, operationUrl: e }),
55037
55060
  children: [
55038
55061
  /* @__PURE__ */ b.jsx(ST, {}),
55039
- /* @__PURE__ */ b.jsx(eq, {})
55062
+ /* @__PURE__ */ b.jsx(tq, {})
55040
55063
  ]
55041
55064
  }
55042
55065
  ) })
55043
55066
  ] });
55044
55067
  }
55045
- const Oq = _.div`
55068
+ const vq = _.div`
55046
55069
  display: flex;
55047
55070
  height: 100vh;
55048
55071
  background-color: var(--bg-color);
55049
55072
  `;
55050
- function vq(n, e) {
55073
+ function xq(n, e) {
55051
55074
  const t = ZE(n), r = FE(n), i = uz(n), s = az(n), o = n.request.get().body.activeExampleName, a = n.request.get().body.type, l = SO(n);
55052
55075
  return {
55053
55076
  requestValues: {
@@ -55070,8 +55093,8 @@ function vq(n, e) {
55070
55093
  )
55071
55094
  };
55072
55095
  }
55073
- function xq(n, e) {
55074
- const { servers: t, parameters: r } = n, i = r.filter((o) => o.in === "path"), s = bq(n);
55096
+ function bq(n, e) {
55097
+ const { servers: t, parameters: r } = n, i = r.filter((o) => o.in === "path"), s = yq(n);
55075
55098
  return t.map((o) => {
55076
55099
  const a = o.url, l = o.description || a, c = o.variables || {}, u = Object.entries(c).map(([m, g]) => {
55077
55100
  const v = Fa.getEnvironmentVariableByName(
@@ -55123,7 +55146,7 @@ function xq(n, e) {
55123
55146
  state: mr.Normal,
55124
55147
  canBeRemoved: !1,
55125
55148
  canBeEdited: !1,
55126
- variables: yq(
55149
+ variables: Sq(
55127
55150
  [
55128
55151
  ...p,
55129
55152
  {
@@ -55143,7 +55166,7 @@ function xq(n, e) {
55143
55166
  };
55144
55167
  });
55145
55168
  }
55146
- function bq(n) {
55169
+ function yq(n) {
55147
55170
  const e = [], t = n.security || [], r = /* @__PURE__ */ new Set();
55148
55171
  return t.forEach((i) => {
55149
55172
  const s = as(i);
@@ -55166,7 +55189,7 @@ function Gr(n, e) {
55166
55189
  isSecret: e === void 0 ? !0 : e
55167
55190
  };
55168
55191
  }
55169
- function yq(n, e) {
55192
+ function Sq(n, e) {
55170
55193
  return e ? n.map((t) => {
55171
55194
  const r = e[t.name];
55172
55195
  return r !== void 0 ? {
@@ -55190,19 +55213,19 @@ function TT({ value: n, disableDraft: e, ...t }) {
55190
55213
  oAuth2RedirectURI: h
55191
55214
  } = r;
55192
55215
  return ze(() => {
55193
- const p = t.operationUrl && !e ? hT.getByKey(t.operationUrl) : null, m = jr(n), g = xq(m, t.predefinedEnvValues), v = g.find(
55216
+ const p = t.operationUrl && !e ? hT.getByKey(t.operationUrl) : null, m = jr(n), g = bq(m, t.predefinedEnvValues), v = g.find(
55194
55217
  ({ name: O, url: x }) => x === (t == null ? void 0 : t.environment) || O === (t == null ? void 0 : t.environment)
55195
55218
  );
55196
55219
  i.set(m), l.set(g), a.set(t.corsProxyUrl ?? GG), o.set(null), c.set(t.operationUrl), u.set(t.mockServer), d.set(t.apiId), h.set(t.oAuth2RedirectURI), v && f.set(v.id), p ? s.set(p) : s.set(wO(m)), BE(r);
55197
55220
  }, [n]), r;
55198
55221
  }
55199
- function Fq({ onClose: n, onLoad: e, onRequestChange: t, ...r }) {
55222
+ function Zq({ onClose: n, onLoad: e, onRequestChange: t, ...r }) {
55200
55223
  const i = ct(null), { sendEvent: s } = Ft(), o = Le(), a = TT(r), l = Je(() => {
55201
55224
  if (t) {
55202
- const u = a.isLinked.get(), f = vq(a, r.value);
55225
+ const u = a.isLinked.get(), f = xq(a, r.value);
55203
55226
  t(u ? f : { requestValues: {} });
55204
55227
  }
55205
- s("replay_closed", { operationName: r.value.name }), n(), o.set(Ks());
55228
+ s("replay_closed", { operationName: r.value.name }), n(), o.set(eo());
55206
55229
  }, [n, t, a, r.value, s, o]);
55207
55230
  ze(() => {
55208
55231
  e == null || e(), s("replay_opened", { operationName: r.value.name });
@@ -55214,7 +55237,7 @@ function Fq({ onClose: n, onLoad: e, onRequestChange: t, ...r }) {
55214
55237
  };
55215
55238
  return /* @__PURE__ */ b.jsx(rw, { children: /* @__PURE__ */ b.jsxs(Bk, { onClick: l, children: [
55216
55239
  /* @__PURE__ */ b.jsx(
55217
- wq,
55240
+ Cq,
55218
55241
  {
55219
55242
  onClick: l,
55220
55243
  role: "button",
@@ -55222,15 +55245,15 @@ function Fq({ onClose: n, onLoad: e, onRequestChange: t, ...r }) {
55222
55245
  tabIndex: 0,
55223
55246
  ref: i,
55224
55247
  autoFocus: !0,
55225
- children: /* @__PURE__ */ b.jsx(Cq, {})
55248
+ children: /* @__PURE__ */ b.jsx(kq, {})
55226
55249
  }
55227
55250
  ),
55228
- /* @__PURE__ */ b.jsx(Sq, {})
55251
+ /* @__PURE__ */ b.jsx(wq, {})
55229
55252
  ] }) });
55230
55253
  }
55231
- const Sq = _(mq)`
55254
+ const wq = _(Oq)`
55232
55255
  width: 80vw;
55233
- `, wq = _.div`
55256
+ `, Cq = _.div`
55234
55257
  display: flex;
55235
55258
  justify-content: center;
55236
55259
  align-items: center;
@@ -55243,24 +55266,24 @@ const Sq = _(mq)`
55243
55266
  width: 24px;
55244
55267
  height: 24px;
55245
55268
  cursor: pointer;
55246
- `, Cq = _(Qo)`
55269
+ `, kq = _(jo)`
55247
55270
  width: 14px;
55248
55271
  height: 14px;
55249
55272
  `;
55250
- function Zq(n) {
55251
- const e = tt(() => Yw(Ks()), []);
55252
- return /* @__PURE__ */ b.jsx(DG, { value: e, children: /* @__PURE__ */ b.jsx(kq, { ...n }) });
55273
+ function Wq(n) {
55274
+ const e = tt(() => Yw(eo()), []);
55275
+ return /* @__PURE__ */ b.jsx(DG, { value: e, children: /* @__PURE__ */ b.jsx(Aq, { ...n }) });
55253
55276
  }
55254
- function kq(n) {
55255
- return TT({ ...n, disableDraft: !0 }), /* @__PURE__ */ b.jsx(rw, { children: /* @__PURE__ */ b.jsx(Aq, { children: /* @__PURE__ */ b.jsx(ST, {}) }) });
55277
+ function Aq(n) {
55278
+ return TT({ ...n, disableDraft: !0 }), /* @__PURE__ */ b.jsx(rw, { children: /* @__PURE__ */ b.jsx(Pq, { children: /* @__PURE__ */ b.jsx(ST, {}) }) });
55256
55279
  }
55257
- const Aq = _.div`
55280
+ const Pq = _.div`
55258
55281
  display: flex;
55259
55282
  max-height: 80vh;
55260
55283
  height: 800px;
55261
55284
  width: 100%;
55262
55285
  `;
55263
55286
  export {
55264
- Zq as EmbeddedReplay,
55265
- Fq as ReplayOverlay
55287
+ Wq as EmbeddedReplay,
55288
+ Zq as ReplayOverlay
55266
55289
  };