@redocly/replay 0.14.0 → 0.15.0-next.0

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.
@@ -3,7 +3,7 @@ var T7 = (t, e, n) => e in t ? I7(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var un = (t, e, n) => T7(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import * as ie from "react";
5
5
  import tt, { useContext as vn, createElement as Ur, useRef as Be, createContext as jr, useState as me, useLayoutEffect as _p, useEffect as $e, forwardRef as To, useImperativeHandle as iO, useCallback as ze, version as j7, isValidElement as k5, memo as Zn, Fragment as mn, useMemo as Ae, Component as $7, useTransition as A5, PureComponent as _7, cloneElement as Vb, useDeferredValue as D7, Suspense as R7, use as N7, StrictMode as oO } from "react";
6
- import { isString as P5, Switch as M7, Button as Oe, CheckmarkIcon as Bu, ChevronUpIcon as B7, ChevronDownIcon as Zl, ViewOffIcon as Dp, ViewIcon as Rp, CopyButton as jo, EditIcon as hi, SecurityVariablesEnvSuffix as qe, SearchIcon as E5, CloseOutlineIcon as Q7, CloseIcon as ui, FolderIcon as z7, AddIcon as hr, InformationIcon as aa, Portal as sO, WarningFilledIcon as I5, ArrowUpRightIcon as L7, RestartIcon as F7, WorkflowAutomationIcon as T5, SecurityIcon as V7, CodeIcon as j5, DataRefineryIcon as $5, DataFormatIcon as _5, TableBuiltIcon as aO, CookieIcon as lO, Select as Qu, ValueVariableIcon as Z7, CheckboxIcon as D5, FileIcon as W7, CharacterIcon as X7, TrashCanIcon as tn, SpinnerIcon as Np, DocumentBlankIcon as U7, CloudUploadIcon as G7, ChevronSortIcon as Y7, ChevronRightIcon as zu, H4 as R5, useModalScrollLock as H7, Segmented as N5, CircleDashIcon as cO, CloseFilledIcon as uO, Tag as ih, Markdown as q7, Admonition as J7, SettingsCogIcon as K7, Typography as Go, SaveIcon as eD, ArrowRightIcon as M5, StatusCode as B5, TimeIcon as tD, FileStorageIcon as nD, Spinner as Q5, useOutsideClick as z5, useFocusTrap as L5, FlowIcon as rD, DocumentAddIcon as fv, CleanIcon as iD, IBMCloudHyperProtectCryptoServicesIcon as oD, DownloadIcon as F5, DraggableIcon as sD, Dropdown as fO, DropdownMenu as dO, OverflowMenuVerticalIcon as V5, WarningAltFilledIcon as aD, markdoc as lD, SidePanelOpenIcon as cD, SidePanelCloseIcon as uD, useMount as Z5, DropdownMenuItem as fD, ArrowLeftIcon as dD, GlobalStyle as hD, IS_BROWSER as pD } from "@redocly/theme";
6
+ import { isString as P5, Switch as M7, Button as Oe, CheckmarkIcon as Bu, ChevronUpIcon as B7, ChevronDownIcon as Zl, ViewOffIcon as Dp, ViewIcon as Rp, CopyButton as jo, EditIcon as di, SecurityVariablesEnvSuffix as qe, SearchIcon as E5, CloseOutlineIcon as Q7, CloseIcon as ci, FolderIcon as z7, AddIcon as hr, InformationIcon as aa, Portal as sO, WarningFilledIcon as I5, ArrowUpRightIcon as L7, RestartIcon as F7, WorkflowAutomationIcon as T5, SecurityIcon as V7, CodeIcon as j5, DataRefineryIcon as $5, DataFormatIcon as _5, TableBuiltIcon as aO, CookieIcon as lO, Select as Qu, ValueVariableIcon as Z7, CheckboxIcon as D5, FileIcon as W7, CharacterIcon as X7, TrashCanIcon as tn, SpinnerIcon as Np, DocumentBlankIcon as U7, CloudUploadIcon as G7, ChevronSortIcon as Y7, ChevronRightIcon as zu, H4 as R5, useModalScrollLock as H7, Segmented as N5, CircleDashIcon as cO, CloseFilledIcon as uO, Tag as ih, Markdown as q7, Admonition as J7, SettingsCogIcon as K7, Typography as Go, SaveIcon as eD, ArrowRightIcon as M5, StatusCode as B5, TimeIcon as tD, FileStorageIcon as nD, Spinner as Q5, useOutsideClick as z5, useFocusTrap as L5, FlowIcon as rD, DocumentAddIcon as fv, CleanIcon as iD, IBMCloudHyperProtectCryptoServicesIcon as oD, DownloadIcon as F5, DraggableIcon as sD, Dropdown as fO, DropdownMenu as dO, OverflowMenuVerticalIcon as V5, WarningAltFilledIcon as aD, markdoc as lD, SidePanelOpenIcon as cD, SidePanelCloseIcon as uD, useMount as Z5, DropdownMenuItem as fD, ArrowLeftIcon as dD, GlobalStyle as hD, IS_BROWSER as pD } from "@redocly/theme";
7
7
  import Zb, { createPortal as W5 } from "react-dom";
8
8
  function gD(t, e) {
9
9
  for (var n = 0; n < e.length; n++) {
@@ -5661,10 +5661,10 @@ function e4() {
5661
5661
  if (re < 16)
5662
5662
  q = H.high = g[p + re * 2] | 0, K = H.low = g[p + re * 2 + 1] | 0;
5663
5663
  else {
5664
- var ne = d[re - 15], xe = ne.high, Fe = ne.low, je = (xe >>> 1 | Fe << 31) ^ (xe >>> 8 | Fe << 24) ^ xe >>> 7, sn = (Fe >>> 1 | xe << 31) ^ (Fe >>> 8 | xe << 24) ^ (Fe >>> 7 | xe << 25), Dr = d[re - 2], Lt = Dr.high, zt = Dr.low, et = (Lt >>> 19 | zt << 13) ^ (Lt << 3 | zt >>> 29) ^ Lt >>> 6, Yt = (zt >>> 19 | Lt << 13) ^ (zt << 3 | Lt >>> 29) ^ (zt >>> 6 | Lt << 26), yi = d[re - 7], an = yi.high, wn = yi.low, mr = d[re - 16], Ss = mr.high, so = mr.low;
5664
+ var ne = d[re - 15], xe = ne.high, Fe = ne.low, je = (xe >>> 1 | Fe << 31) ^ (xe >>> 8 | Fe << 24) ^ xe >>> 7, sn = (Fe >>> 1 | xe << 31) ^ (Fe >>> 8 | xe << 24) ^ (Fe >>> 7 | xe << 25), Dr = d[re - 2], Lt = Dr.high, zt = Dr.low, et = (Lt >>> 19 | zt << 13) ^ (Lt << 3 | zt >>> 29) ^ Lt >>> 6, Yt = (zt >>> 19 | Lt << 13) ^ (zt << 3 | Lt >>> 29) ^ (zt >>> 6 | Lt << 26), Oi = d[re - 7], an = Oi.high, wn = Oi.low, mr = d[re - 16], Ss = mr.high, so = mr.low;
5665
5665
  K = sn + wn, q = je + an + (K >>> 0 < sn >>> 0 ? 1 : 0), K = K + Yt, q = q + et + (K >>> 0 < Yt >>> 0 ? 1 : 0), K = K + so, q = q + Ss + (K >>> 0 < so >>> 0 ? 1 : 0), H.high = q, H.low = K;
5666
5666
  }
5667
- var _o = ve & ee ^ ~ve & F, Rr = P & te ^ ~P & L, Sn = X & le ^ X & fe ^ le & fe, Un = W & Y ^ W & de ^ Y & de, Cs = (X >>> 28 | W << 4) ^ (X << 30 | W >>> 2) ^ (X << 25 | W >>> 7), On = (W >>> 28 | X << 4) ^ (W << 30 | X >>> 2) ^ (W << 25 | X >>> 7), bi = (ve >>> 14 | P << 18) ^ (ve >>> 18 | P << 14) ^ (ve << 23 | P >>> 9), yt = (P >>> 14 | ve << 18) ^ (P >>> 18 | ve << 14) ^ (P << 23 | ve >>> 9), bt = f[re], vr = bt.high, wi = bt.low, ln = ue + yt, Zt = J + bi + (ln >>> 0 < ue >>> 0 ? 1 : 0), ln = ln + Rr, Zt = Zt + _o + (ln >>> 0 < Rr >>> 0 ? 1 : 0), ln = ln + wi, Zt = Zt + vr + (ln >>> 0 < wi >>> 0 ? 1 : 0), ln = ln + K, Zt = Zt + q + (ln >>> 0 < K >>> 0 ? 1 : 0), ks = On + Un, As = Cs + Sn + (ks >>> 0 < On >>> 0 ? 1 : 0);
5667
+ var _o = ve & ee ^ ~ve & F, Rr = P & te ^ ~P & L, Sn = X & le ^ X & fe ^ le & fe, Un = W & Y ^ W & de ^ Y & de, Cs = (X >>> 28 | W << 4) ^ (X << 30 | W >>> 2) ^ (X << 25 | W >>> 7), On = (W >>> 28 | X << 4) ^ (W << 30 | X >>> 2) ^ (W << 25 | X >>> 7), yi = (ve >>> 14 | P << 18) ^ (ve >>> 18 | P << 14) ^ (ve << 23 | P >>> 9), yt = (P >>> 14 | ve << 18) ^ (P >>> 18 | ve << 14) ^ (P << 23 | ve >>> 9), bt = f[re], vr = bt.high, bi = bt.low, ln = ue + yt, Zt = J + yi + (ln >>> 0 < ue >>> 0 ? 1 : 0), ln = ln + Rr, Zt = Zt + _o + (ln >>> 0 < Rr >>> 0 ? 1 : 0), ln = ln + bi, Zt = Zt + vr + (ln >>> 0 < bi >>> 0 ? 1 : 0), ln = ln + K, Zt = Zt + q + (ln >>> 0 < K >>> 0 ? 1 : 0), ks = On + Un, As = Cs + Sn + (ks >>> 0 < On >>> 0 ? 1 : 0);
5668
5668
  J = F, ue = L, F = ee, L = te, ee = ve, te = P, P = oe + ln | 0, ve = pe + Zt + (P >>> 0 < oe >>> 0 ? 1 : 0) | 0, pe = fe, oe = de, fe = le, de = Y, le = X, Y = W, W = ln + ks | 0, X = Zt + As + (W >>> 0 < ln >>> 0 ? 1 : 0) | 0;
5669
5669
  }
5670
5670
  T = x.low = T + W, x.high = I + X + (T >>> 0 < W >>> 0 ? 1 : 0), E = O.low = E + Y, O.high = j + le + (E >>> 0 < Y >>> 0 ? 1 : 0), k = y.low = k + de, y.high = D + fe + (k >>> 0 < de >>> 0 ? 1 : 0), V = w.low = V + oe, w.high = B + pe + (V >>> 0 < oe >>> 0 ? 1 : 0), U = b.low = U + P, b.high = Z + ve + (U >>> 0 < P >>> 0 ? 1 : 0), z = S.low = z + te, S.high = G + ee + (z >>> 0 < te >>> 0 ? 1 : 0), _ = C.low = _ + L, C.high = R + F + (_ >>> 0 < L >>> 0 ? 1 : 0), Q = A.low = Q + ue, A.high = N + J + (Q >>> 0 < ue >>> 0 ? 1 : 0);
@@ -9330,7 +9330,7 @@ function LB() {
9330
9330
  });
9331
9331
  })(JE);
9332
9332
  var _v = JE.exports;
9333
- function Ai(t) {
9333
+ function ki(t) {
9334
9334
  if (typeof t != "string")
9335
9335
  throw new TypeError("Path must be a string. Received " + JSON.stringify(t));
9336
9336
  }
@@ -9374,29 +9374,29 @@ var nl = {
9374
9374
  resolve: function() {
9375
9375
  for (var e = "", n = !1, r, i = arguments.length - 1; i >= -1 && !n; i--) {
9376
9376
  var o;
9377
- i >= 0 ? o = arguments[i] : (r === void 0 && (r = process.cwd()), o = r), Ai(o), o.length !== 0 && (e = o + "/" + e, n = o.charCodeAt(0) === 47);
9377
+ i >= 0 ? o = arguments[i] : (r === void 0 && (r = process.cwd()), o = r), ki(o), o.length !== 0 && (e = o + "/" + e, n = o.charCodeAt(0) === 47);
9378
9378
  }
9379
9379
  return e = fS(e, !n), n ? e.length > 0 ? "/" + e : "/" : e.length > 0 ? e : ".";
9380
9380
  },
9381
9381
  normalize: function(e) {
9382
- if (Ai(e), e.length === 0) return ".";
9382
+ if (ki(e), e.length === 0) return ".";
9383
9383
  var n = e.charCodeAt(0) === 47, r = e.charCodeAt(e.length - 1) === 47;
9384
9384
  return e = fS(e, !n), e.length === 0 && !n && (e = "."), e.length > 0 && r && (e += "/"), n ? "/" + e : e;
9385
9385
  },
9386
9386
  isAbsolute: function(e) {
9387
- return Ai(e), e.length > 0 && e.charCodeAt(0) === 47;
9387
+ return ki(e), e.length > 0 && e.charCodeAt(0) === 47;
9388
9388
  },
9389
9389
  join: function() {
9390
9390
  if (arguments.length === 0)
9391
9391
  return ".";
9392
9392
  for (var e, n = 0; n < arguments.length; ++n) {
9393
9393
  var r = arguments[n];
9394
- Ai(r), r.length > 0 && (e === void 0 ? e = r : e += "/" + r);
9394
+ ki(r), r.length > 0 && (e === void 0 ? e = r : e += "/" + r);
9395
9395
  }
9396
9396
  return e === void 0 ? "." : nl.normalize(e);
9397
9397
  },
9398
9398
  relative: function(e, n) {
9399
- if (Ai(e), Ai(n), e === n || (e = nl.resolve(e), n = nl.resolve(n), e === n)) return "";
9399
+ if (ki(e), ki(n), e === n || (e = nl.resolve(e), n = nl.resolve(n), e === n)) return "";
9400
9400
  for (var r = 1; r < e.length && e.charCodeAt(r) === 47; ++r)
9401
9401
  ;
9402
9402
  for (var i = e.length, o = i - r, s = 1; s < n.length && n.charCodeAt(s) === 47; ++s)
@@ -9425,7 +9425,7 @@ var nl = {
9425
9425
  return e;
9426
9426
  },
9427
9427
  dirname: function(e) {
9428
- if (Ai(e), e.length === 0) return ".";
9428
+ if (ki(e), e.length === 0) return ".";
9429
9429
  for (var n = e.charCodeAt(0), r = n === 47, i = -1, o = !0, s = e.length - 1; s >= 1; --s)
9430
9430
  if (n = e.charCodeAt(s), n === 47) {
9431
9431
  if (!o) {
@@ -9438,7 +9438,7 @@ var nl = {
9438
9438
  },
9439
9439
  basename: function(e, n) {
9440
9440
  if (n !== void 0 && typeof n != "string") throw new TypeError('"ext" argument must be a string');
9441
- Ai(e);
9441
+ ki(e);
9442
9442
  var r = 0, i = -1, o = !0, s;
9443
9443
  if (n !== void 0 && n.length > 0 && n.length <= e.length) {
9444
9444
  if (n.length === e.length && n === e) return "";
@@ -9466,7 +9466,7 @@ var nl = {
9466
9466
  }
9467
9467
  },
9468
9468
  extname: function(e) {
9469
- Ai(e);
9469
+ ki(e);
9470
9470
  for (var n = -1, r = 0, i = -1, o = !0, s = 0, a = e.length - 1; a >= 0; --a) {
9471
9471
  var l = e.charCodeAt(a);
9472
9472
  if (l === 47) {
@@ -9488,7 +9488,7 @@ var nl = {
9488
9488
  return FB("/", e);
9489
9489
  },
9490
9490
  parse: function(e) {
9491
- Ai(e);
9491
+ ki(e);
9492
9492
  var n = { root: "", dir: "", base: "", ext: "", name: "" };
9493
9493
  if (e.length === 0) return n;
9494
9494
  var r = e.charCodeAt(0), i = r === 47, o;
@@ -9542,7 +9542,7 @@ class dS {
9542
9542
  return `replay:fs:${this.baseDir}/${e}`;
9543
9543
  }
9544
9544
  }
9545
- async function pi(t, e = {}, n) {
9545
+ async function hi(t, e = {}, n) {
9546
9546
  return window.__TAURI_INTERNALS__.invoke(t, e, n);
9547
9547
  }
9548
9548
  var Sl;
@@ -9550,12 +9550,12 @@ var Sl;
9550
9550
  t[t.Audio = 1] = "Audio", t[t.Cache = 2] = "Cache", t[t.Config = 3] = "Config", t[t.Data = 4] = "Data", t[t.LocalData = 5] = "LocalData", t[t.Document = 6] = "Document", t[t.Download = 7] = "Download", t[t.Picture = 8] = "Picture", t[t.Public = 9] = "Public", t[t.Video = 10] = "Video", t[t.Resource = 11] = "Resource", t[t.Temp = 12] = "Temp", t[t.AppConfig = 13] = "AppConfig", t[t.AppData = 14] = "AppData", t[t.AppLocalData = 15] = "AppLocalData", t[t.AppCache = 16] = "AppCache", t[t.AppLog = 17] = "AppLog", t[t.Desktop = 18] = "Desktop", t[t.Executable = 19] = "Executable", t[t.Font = 20] = "Font", t[t.Home = 21] = "Home", t[t.Runtime = 22] = "Runtime", t[t.Template = 23] = "Template";
9551
9551
  })(Sl || (Sl = {}));
9552
9552
  async function ZB() {
9553
- return pi("plugin:path|resolve_directory", {
9553
+ return hi("plugin:path|resolve_directory", {
9554
9554
  directory: Sl.AppData
9555
9555
  });
9556
9556
  }
9557
9557
  async function WB() {
9558
- return pi("plugin:path|resolve_directory", {
9558
+ return hi("plugin:path|resolve_directory", {
9559
9559
  directory: Sl.Desktop
9560
9560
  });
9561
9561
  }
@@ -9563,13 +9563,13 @@ function XB() {
9563
9563
  return window.__TAURI_INTERNALS__.plugins.path.sep;
9564
9564
  }
9565
9565
  async function Kye(...t) {
9566
- return pi("plugin:path|resolve", { paths: t });
9566
+ return hi("plugin:path|resolve", { paths: t });
9567
9567
  }
9568
9568
  async function kd(...t) {
9569
- return pi("plugin:path|join", { paths: t });
9569
+ return hi("plugin:path|join", { paths: t });
9570
9570
  }
9571
9571
  async function ebe(t) {
9572
- return pi("plugin:path|is_absolute", { path: t });
9572
+ return hi("plugin:path|is_absolute", { path: t });
9573
9573
  }
9574
9574
  var hS;
9575
9575
  (function(t) {
@@ -9578,7 +9578,7 @@ var hS;
9578
9578
  async function pS(t, e) {
9579
9579
  if (t instanceof URL && t.protocol !== "file:")
9580
9580
  throw new TypeError("Must be a file URL.");
9581
- await pi("plugin:fs|mkdir", {
9581
+ await hi("plugin:fs|mkdir", {
9582
9582
  path: t instanceof URL ? t.toString() : t,
9583
9583
  options: e
9584
9584
  });
@@ -9586,7 +9586,7 @@ async function pS(t, e) {
9586
9586
  async function UB(t, e) {
9587
9587
  if (t instanceof URL && t.protocol !== "file:")
9588
9588
  throw new TypeError("Must be a file URL.");
9589
- return await pi("plugin:fs|read_dir", {
9589
+ return await hi("plugin:fs|read_dir", {
9590
9590
  path: t instanceof URL ? t.toString() : t,
9591
9591
  options: e
9592
9592
  });
@@ -9594,7 +9594,7 @@ async function UB(t, e) {
9594
9594
  async function GB(t, e) {
9595
9595
  if (t instanceof URL && t.protocol !== "file:")
9596
9596
  throw new TypeError("Must be a file URL.");
9597
- return await pi("plugin:fs|read_text_file", {
9597
+ return await hi("plugin:fs|read_text_file", {
9598
9598
  path: t instanceof URL ? t.toString() : t,
9599
9599
  options: e
9600
9600
  });
@@ -9602,7 +9602,7 @@ async function GB(t, e) {
9602
9602
  async function YB(t, e) {
9603
9603
  if (t instanceof URL && t.protocol !== "file:")
9604
9604
  throw new TypeError("Must be a file URL.");
9605
- await pi("plugin:fs|remove", {
9605
+ await hi("plugin:fs|remove", {
9606
9606
  path: t instanceof URL ? t.toString() : t,
9607
9607
  options: e
9608
9608
  });
@@ -9610,7 +9610,7 @@ async function YB(t, e) {
9610
9610
  async function HB(t, e, n) {
9611
9611
  if (t instanceof URL && t.protocol !== "file:")
9612
9612
  throw new TypeError("Must be a file URL.");
9613
- await pi("plugin:fs|write_text_file", {
9613
+ await hi("plugin:fs|write_text_file", {
9614
9614
  path: t instanceof URL ? t.toString() : t,
9615
9615
  data: e,
9616
9616
  options: n
@@ -9621,7 +9621,7 @@ function Lp() {
9621
9621
  }
9622
9622
  const Di = class Di {
9623
9623
  static async getUtils() {
9624
- return Di.utils || (Di.utils = Lp() ? await import("./replay-tauri-path-Dd5bAnfG.js") : await Promise.resolve().then(() => VB)), Di.utils;
9624
+ return Di.utils || (Di.utils = Lp() ? await import("./replay-tauri-path-Dxc0jqiy.js") : await Promise.resolve().then(() => VB)), Di.utils;
9625
9625
  }
9626
9626
  static async join(...e) {
9627
9627
  return (await Di.getUtils()).join(...e);
@@ -14712,7 +14712,7 @@ function Uz(t) {
14712
14712
  e = e.next;
14713
14713
  return e || null;
14714
14714
  }
14715
- const be = ho.define, Tf = be(), Zo = be(), ZS = be(Zo), WS = be(Zo), Wo = be(), jf = be(Wo), Y0 = be(Wo), ji = be(), Ds = be(ji), Pi = be(), Ei = be(), Vv = be(), pc = be(Vv), $f = be(), M = {
14715
+ const be = ho.define, Tf = be(), Zo = be(), ZS = be(Zo), WS = be(Zo), Wo = be(), jf = be(Wo), Y0 = be(Wo), Ti = be(), Ds = be(Ti), Ai = be(), Pi = be(), Vv = be(), pc = be(Vv), $f = be(), M = {
14716
14716
  /**
14717
14717
  A comment.
14718
14718
  */
@@ -14825,85 +14825,85 @@ const be = ho.define, Tf = be(), Zo = be(), ZS = be(Zo), WS = be(Zo), Wo = be(),
14825
14825
  /**
14826
14826
  A language keyword.
14827
14827
  */
14828
- keyword: Pi,
14828
+ keyword: Ai,
14829
14829
  /**
14830
14830
  The [keyword](#highlight.tags.keyword) for the self or this
14831
14831
  object.
14832
14832
  */
14833
- self: be(Pi),
14833
+ self: be(Ai),
14834
14834
  /**
14835
14835
  The [keyword](#highlight.tags.keyword) for null.
14836
14836
  */
14837
- null: be(Pi),
14837
+ null: be(Ai),
14838
14838
  /**
14839
14839
  A [keyword](#highlight.tags.keyword) denoting some atomic value.
14840
14840
  */
14841
- atom: be(Pi),
14841
+ atom: be(Ai),
14842
14842
  /**
14843
14843
  A [keyword](#highlight.tags.keyword) that represents a unit.
14844
14844
  */
14845
- unit: be(Pi),
14845
+ unit: be(Ai),
14846
14846
  /**
14847
14847
  A modifier [keyword](#highlight.tags.keyword).
14848
14848
  */
14849
- modifier: be(Pi),
14849
+ modifier: be(Ai),
14850
14850
  /**
14851
14851
  A [keyword](#highlight.tags.keyword) that acts as an operator.
14852
14852
  */
14853
- operatorKeyword: be(Pi),
14853
+ operatorKeyword: be(Ai),
14854
14854
  /**
14855
14855
  A control-flow related [keyword](#highlight.tags.keyword).
14856
14856
  */
14857
- controlKeyword: be(Pi),
14857
+ controlKeyword: be(Ai),
14858
14858
  /**
14859
14859
  A [keyword](#highlight.tags.keyword) that defines something.
14860
14860
  */
14861
- definitionKeyword: be(Pi),
14861
+ definitionKeyword: be(Ai),
14862
14862
  /**
14863
14863
  A [keyword](#highlight.tags.keyword) related to defining or
14864
14864
  interfacing with modules.
14865
14865
  */
14866
- moduleKeyword: be(Pi),
14866
+ moduleKeyword: be(Ai),
14867
14867
  /**
14868
14868
  An operator.
14869
14869
  */
14870
- operator: Ei,
14870
+ operator: Pi,
14871
14871
  /**
14872
14872
  An [operator](#highlight.tags.operator) that dereferences something.
14873
14873
  */
14874
- derefOperator: be(Ei),
14874
+ derefOperator: be(Pi),
14875
14875
  /**
14876
14876
  Arithmetic-related [operator](#highlight.tags.operator).
14877
14877
  */
14878
- arithmeticOperator: be(Ei),
14878
+ arithmeticOperator: be(Pi),
14879
14879
  /**
14880
14880
  Logical [operator](#highlight.tags.operator).
14881
14881
  */
14882
- logicOperator: be(Ei),
14882
+ logicOperator: be(Pi),
14883
14883
  /**
14884
14884
  Bit [operator](#highlight.tags.operator).
14885
14885
  */
14886
- bitwiseOperator: be(Ei),
14886
+ bitwiseOperator: be(Pi),
14887
14887
  /**
14888
14888
  Comparison [operator](#highlight.tags.operator).
14889
14889
  */
14890
- compareOperator: be(Ei),
14890
+ compareOperator: be(Pi),
14891
14891
  /**
14892
14892
  [Operator](#highlight.tags.operator) that updates its operand.
14893
14893
  */
14894
- updateOperator: be(Ei),
14894
+ updateOperator: be(Pi),
14895
14895
  /**
14896
14896
  [Operator](#highlight.tags.operator) that defines something.
14897
14897
  */
14898
- definitionOperator: be(Ei),
14898
+ definitionOperator: be(Pi),
14899
14899
  /**
14900
14900
  Type-related [operator](#highlight.tags.operator).
14901
14901
  */
14902
- typeOperator: be(Ei),
14902
+ typeOperator: be(Pi),
14903
14903
  /**
14904
14904
  Control-flow [operator](#highlight.tags.operator).
14905
14905
  */
14906
- controlOperator: be(Ei),
14906
+ controlOperator: be(Pi),
14907
14907
  /**
14908
14908
  Program or markup punctuation.
14909
14909
  */
@@ -14940,7 +14940,7 @@ const be = ho.define, Tf = be(), Zo = be(), ZS = be(Zo), WS = be(Zo), Wo = be(),
14940
14940
  /**
14941
14941
  Content, for example plain text in XML or markup documents.
14942
14942
  */
14943
- content: ji,
14943
+ content: Ti,
14944
14944
  /**
14945
14945
  [Content](#highlight.tags.content) that represents a heading.
14946
14946
  */
@@ -14972,37 +14972,37 @@ const be = ho.define, Tf = be(), Zo = be(), ZS = be(Zo), WS = be(Zo), Wo = be(),
14972
14972
  /**
14973
14973
  A prose [content](#highlight.tags.content) separator (such as a horizontal rule).
14974
14974
  */
14975
- contentSeparator: be(ji),
14975
+ contentSeparator: be(Ti),
14976
14976
  /**
14977
14977
  [Content](#highlight.tags.content) that represents a list.
14978
14978
  */
14979
- list: be(ji),
14979
+ list: be(Ti),
14980
14980
  /**
14981
14981
  [Content](#highlight.tags.content) that represents a quote.
14982
14982
  */
14983
- quote: be(ji),
14983
+ quote: be(Ti),
14984
14984
  /**
14985
14985
  [Content](#highlight.tags.content) that is emphasized.
14986
14986
  */
14987
- emphasis: be(ji),
14987
+ emphasis: be(Ti),
14988
14988
  /**
14989
14989
  [Content](#highlight.tags.content) that is styled strong.
14990
14990
  */
14991
- strong: be(ji),
14991
+ strong: be(Ti),
14992
14992
  /**
14993
14993
  [Content](#highlight.tags.content) that is part of a link.
14994
14994
  */
14995
- link: be(ji),
14995
+ link: be(Ti),
14996
14996
  /**
14997
14997
  [Content](#highlight.tags.content) that is styled as code or
14998
14998
  monospace.
14999
14999
  */
15000
- monospace: be(ji),
15000
+ monospace: be(Ti),
15001
15001
  /**
15002
15002
  [Content](#highlight.tags.content) that has a strike-through
15003
15003
  style.
15004
15004
  */
15005
- strikethrough: be(ji),
15005
+ strikethrough: be(Ti),
15006
15006
  /**
15007
15007
  Inserted text in a change-tracking format.
15008
15008
  */
@@ -18513,7 +18513,7 @@ var Se = {
18513
18513
  tabSize: a1.documentElement.style.tabSize != null ? "tab-size" : "-moz-tab-size"
18514
18514
  };
18515
18515
  const AL = 256;
18516
- class fi extends It {
18516
+ class ui extends It {
18517
18517
  constructor(e) {
18518
18518
  super(), this.text = e;
18519
18519
  }
@@ -18530,10 +18530,10 @@ class fi extends It {
18530
18530
  e.nodeType == 3 && this.createDOM(e);
18531
18531
  }
18532
18532
  merge(e, n, r) {
18533
- return this.flags & 8 || r && (!(r instanceof fi) || this.length - (n - e) + r.length > AL || r.flags & 8) ? !1 : (this.text = this.text.slice(0, e) + (r ? r.text : "") + this.text.slice(n), this.markDirty(), !0);
18533
+ return this.flags & 8 || r && (!(r instanceof ui) || this.length - (n - e) + r.length > AL || r.flags & 8) ? !1 : (this.text = this.text.slice(0, e) + (r ? r.text : "") + this.text.slice(n), this.markDirty(), !0);
18534
18534
  }
18535
18535
  split(e) {
18536
- let n = new fi(this.text.slice(e));
18536
+ let n = new ui(this.text.slice(e));
18537
18537
  return this.text = this.text.slice(0, e), this.markDirty(), n.flags |= this.flags & 8, n;
18538
18538
  }
18539
18539
  localPosFromDOM(e, n) {
@@ -18713,7 +18713,7 @@ class Al extends It {
18713
18713
  return !0;
18714
18714
  }
18715
18715
  }
18716
- fi.prototype.children = qo.prototype.children = Al.prototype.children = WO;
18716
+ ui.prototype.children = qo.prototype.children = Al.prototype.children = WO;
18717
18717
  function rI(t, e) {
18718
18718
  let n = t.dom, { children: r } = t, i = 0;
18719
18719
  for (let o = 0; i < r.length; i++) {
@@ -19071,7 +19071,7 @@ class Ht extends It {
19071
19071
  let i = this.dom.lastChild;
19072
19072
  for (; i && It.get(i) instanceof Ao; )
19073
19073
  i = i.lastChild;
19074
- if (!i || !this.length || i.nodeName != "BR" && ((r = It.get(i)) === null || r === void 0 ? void 0 : r.isEditable) == !1 && (!Se.ios || !this.children.some((o) => o instanceof fi))) {
19074
+ if (!i || !this.length || i.nodeName != "BR" && ((r = It.get(i)) === null || r === void 0 ? void 0 : r.isEditable) == !1 && (!Se.ios || !this.children.some((o) => o instanceof ui))) {
19075
19075
  let o = document.createElement("BR");
19076
19076
  o.cmIgnore = !0, this.dom.appendChild(o);
19077
19077
  }
@@ -19081,7 +19081,7 @@ class Ht extends It {
19081
19081
  return null;
19082
19082
  let e = 0, n;
19083
19083
  for (let r of this.children) {
19084
- if (!(r instanceof fi) || /[^ -~]/.test(r.text))
19084
+ if (!(r instanceof ui) || /[^ -~]/.test(r.text))
19085
19085
  return null;
19086
19086
  let i = kl(r.dom);
19087
19087
  if (i.length != 1)
@@ -19244,7 +19244,7 @@ class Yc {
19244
19244
  512
19245
19245
  /* T.Chunk */
19246
19246
  );
19247
- this.flushBuffer(n.slice(n.length - r)), this.getLine().append(Mf(new fi(this.text.slice(this.textOff, this.textOff + i)), n), r), this.atCursorPos = !0, this.textOff += i, e -= i, r = 0;
19247
+ this.flushBuffer(n.slice(n.length - r)), this.getLine().append(Mf(new ui(this.text.slice(this.textOff, this.textOff + i)), n), r), this.atCursorPos = !0, this.textOff += i, e -= i, r = 0;
19248
19248
  }
19249
19249
  }
19250
19250
  span(e, n, r, i) {
@@ -19307,7 +19307,7 @@ function aI(t) {
19307
19307
  e.push(1 << +t[n]);
19308
19308
  return e;
19309
19309
  }
19310
- const $L = /* @__PURE__ */ aI("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"), _L = /* @__PURE__ */ aI("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"), h1 = /* @__PURE__ */ Object.create(null), Ii = [];
19310
+ const $L = /* @__PURE__ */ aI("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"), _L = /* @__PURE__ */ aI("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"), h1 = /* @__PURE__ */ Object.create(null), Ei = [];
19311
19311
  for (let t of ["()", "[]", "{}"]) {
19312
19312
  let e = /* @__PURE__ */ t.charCodeAt(0), n = /* @__PURE__ */ t.charCodeAt(1);
19313
19313
  h1[e] = n, h1[n] = -e;
@@ -19402,29 +19402,29 @@ function NL(t, e, n, r, i) {
19402
19402
  if (h = h1[d = t.charCodeAt(f)])
19403
19403
  if (h < 0) {
19404
19404
  for (let p = a - 3; p >= 0; p -= 3)
19405
- if (Ii[p + 1] == -h) {
19406
- let v = Ii[p + 2], x = v & 2 ? i : v & 4 ? v & 1 ? o : i : 0;
19407
- x && (At[f] = At[Ii[p]] = x), a = p;
19405
+ if (Ei[p + 1] == -h) {
19406
+ let v = Ei[p + 2], x = v & 2 ? i : v & 4 ? v & 1 ? o : i : 0;
19407
+ x && (At[f] = At[Ei[p]] = x), a = p;
19408
19408
  break;
19409
19409
  }
19410
19410
  } else {
19411
- if (Ii.length == 189)
19411
+ if (Ei.length == 189)
19412
19412
  break;
19413
- Ii[a++] = f, Ii[a++] = d, Ii[a++] = l;
19413
+ Ei[a++] = f, Ei[a++] = d, Ei[a++] = l;
19414
19414
  }
19415
19415
  else if ((g = At[f]) == 2 || g == 1) {
19416
19416
  let p = g == i;
19417
19417
  l = p ? 0 : 1;
19418
19418
  for (let v = a - 3; v >= 0; v -= 3) {
19419
- let x = Ii[v + 2];
19419
+ let x = Ei[v + 2];
19420
19420
  if (x & 2)
19421
19421
  break;
19422
19422
  if (p)
19423
- Ii[v + 2] |= 2;
19423
+ Ei[v + 2] |= 2;
19424
19424
  else {
19425
19425
  if (x & 4)
19426
19426
  break;
19427
- Ii[v + 2] |= 4;
19427
+ Ei[v + 2] |= 4;
19428
19428
  }
19429
19429
  }
19430
19430
  }
@@ -19881,7 +19881,7 @@ class u2 extends It {
19881
19881
  r.is(bI) && (this.editContextFormatting = r.value);
19882
19882
  }
19883
19883
  compositionView(e) {
19884
- let n = new fi(e.text.nodeValue);
19884
+ let n = new ui(e.text.nodeValue);
19885
19885
  n.flags |= 8;
19886
19886
  for (let { deco: i } of e.marks)
19887
19887
  n = new Ao(i, [n], n.length);
@@ -20038,7 +20038,7 @@ class u2 extends It {
20038
20038
  }
20039
20039
  r = l;
20040
20040
  }
20041
- if (!(i instanceof fi))
20041
+ if (!(i instanceof ui))
20042
20042
  return null;
20043
20043
  let o = $n(i.text, r);
20044
20044
  if (o == r)
@@ -20167,11 +20167,11 @@ function AI(t, e) {
20167
20167
  let r = H4(n.focusNode, n.focusOffset), i = q4(n.focusNode, n.focusOffset), o = r || i;
20168
20168
  if (i && r && i.node != r.node) {
20169
20169
  let a = It.get(i.node);
20170
- if (!a || a instanceof fi && a.text != i.node.nodeValue)
20170
+ if (!a || a instanceof ui && a.text != i.node.nodeValue)
20171
20171
  o = i;
20172
20172
  else if (t.docView.lastCompositionAfterCursor) {
20173
20173
  let l = It.get(r.node);
20174
- !l || l instanceof fi && l.text != r.node.nodeValue || (o = i);
20174
+ !l || l instanceof ui && l.text != r.node.nodeValue || (o = i);
20175
20175
  }
20176
20176
  }
20177
20177
  if (t.docView.lastCompositionAfterCursor = o != r, !o)
@@ -20785,8 +20785,8 @@ function fF(t) {
20785
20785
  s && n(o).observers.push(v2(r.value, s));
20786
20786
  }
20787
20787
  }
20788
- for (let r in di)
20789
- n(r).handlers.push(di[r]);
20788
+ for (let r in fi)
20789
+ n(r).handlers.push(fi[r]);
20790
20790
  for (let r in Hr)
20791
20791
  n(r).observers.push(Hr[r]);
20792
20792
  return e;
@@ -20897,7 +20897,7 @@ function xF(t, e) {
20897
20897
  return !1;
20898
20898
  return !0;
20899
20899
  }
20900
- const di = /* @__PURE__ */ Object.create(null), Hr = /* @__PURE__ */ Object.create(null), jI = Se.ie && Se.ie_version < 15 || Se.ios && Se.webkit_version < 604;
20900
+ const fi = /* @__PURE__ */ Object.create(null), Hr = /* @__PURE__ */ Object.create(null), jI = Se.ie && Se.ie_version < 15 || Se.ios && Se.webkit_version < 604;
20901
20901
  function OF(t) {
20902
20902
  let e = t.dom.parentNode;
20903
20903
  if (!e)
@@ -20943,14 +20943,14 @@ function $I(t, e) {
20943
20943
  Hr.scroll = (t) => {
20944
20944
  t.inputState.lastScrollTop = t.scrollDOM.scrollTop, t.inputState.lastScrollLeft = t.scrollDOM.scrollLeft;
20945
20945
  };
20946
- di.keydown = (t, e) => (t.inputState.setSelectionOrigin("select"), e.keyCode == 27 && t.inputState.tabFocusMode != 0 && (t.inputState.tabFocusMode = Date.now() + 2e3), !1);
20946
+ fi.keydown = (t, e) => (t.inputState.setSelectionOrigin("select"), e.keyCode == 27 && t.inputState.tabFocusMode != 0 && (t.inputState.tabFocusMode = Date.now() + 2e3), !1);
20947
20947
  Hr.touchstart = (t, e) => {
20948
20948
  t.inputState.lastTouchTime = Date.now(), t.inputState.setSelectionOrigin("select.pointer");
20949
20949
  };
20950
20950
  Hr.touchmove = (t) => {
20951
20951
  t.inputState.setSelectionOrigin("select.pointer");
20952
20952
  };
20953
- di.mousedown = (t, e) => {
20953
+ fi.mousedown = (t, e) => {
20954
20954
  if (t.observer.flush(), t.inputState.lastTouchTime > Date.now() - 2e3)
20955
20955
  return !1;
20956
20956
  let n = null;
@@ -21032,7 +21032,7 @@ function SF(t, e) {
21032
21032
  }
21033
21033
  return null;
21034
21034
  }
21035
- di.dragstart = (t, e) => {
21035
+ fi.dragstart = (t, e) => {
21036
21036
  let { selection: { main: n } } = t.state;
21037
21037
  if (e.target.draggable) {
21038
21038
  let i = t.docView.nearest(e.target);
@@ -21044,7 +21044,7 @@ di.dragstart = (t, e) => {
21044
21044
  let { inputState: r } = t;
21045
21045
  return r.mouseSelection && (r.mouseSelection.dragging = !0), r.draggedContent = n, e.dataTransfer && (e.dataTransfer.setData("Text", Xp(t.state, GO, t.state.sliceDoc(n.from, n.to))), e.dataTransfer.effectAllowed = "copyMove"), !1;
21046
21046
  };
21047
- di.dragend = (t) => (t.inputState.draggedContent = null, !1);
21047
+ fi.dragend = (t) => (t.inputState.draggedContent = null, !1);
21048
21048
  function C2(t, e, n, r) {
21049
21049
  if (n = Xp(t.state, UO, n), !n)
21050
21050
  return;
@@ -21055,7 +21055,7 @@ function C2(t, e, n, r) {
21055
21055
  userEvent: s ? "move.drop" : "input.drop"
21056
21056
  }), t.inputState.draggedContent = null;
21057
21057
  }
21058
- di.drop = (t, e) => {
21058
+ fi.drop = (t, e) => {
21059
21059
  if (!e.dataTransfer)
21060
21060
  return !1;
21061
21061
  if (t.state.readOnly)
@@ -21079,7 +21079,7 @@ di.drop = (t, e) => {
21079
21079
  }
21080
21080
  return !1;
21081
21081
  };
21082
- di.paste = (t, e) => {
21082
+ fi.paste = (t, e) => {
21083
21083
  if (t.state.readOnly)
21084
21084
  return !0;
21085
21085
  t.observer.flush();
@@ -21110,7 +21110,7 @@ function kF(t) {
21110
21110
  return { text: Xp(t, GO, e.join(t.lineBreak)), ranges: n, linewise: r };
21111
21111
  }
21112
21112
  let O1 = null;
21113
- di.copy = di.cut = (t, e) => {
21113
+ fi.copy = fi.cut = (t, e) => {
21114
21114
  let { text: n, ranges: r, linewise: i } = kF(t.state);
21115
21115
  if (!n && !i)
21116
21116
  return !1;
@@ -21157,7 +21157,7 @@ Hr.compositionend = (t) => {
21157
21157
  Hr.contextmenu = (t) => {
21158
21158
  t.inputState.lastContextMenu = Date.now();
21159
21159
  };
21160
- di.beforeinput = (t, e) => {
21160
+ fi.beforeinput = (t, e) => {
21161
21161
  var n, r;
21162
21162
  if (e.inputType == "insertReplacementText" && t.observer.editContext) {
21163
21163
  let o = (n = e.dataTransfer) === null || n === void 0 ? void 0 : n.getData("text/plain"), s = e.getTargetRanges();
@@ -25076,7 +25076,7 @@ function JI(t) {
25076
25076
  });
25077
25077
  }
25078
25078
  const iy = /* @__PURE__ */ new He();
25079
- class si {
25079
+ class oi {
25080
25080
  /**
25081
25081
  Construct a language object. If you need to invoke this
25082
25082
  directly, first define a data facet with
@@ -25158,7 +25158,7 @@ class si {
25158
25158
  return !0;
25159
25159
  }
25160
25160
  }
25161
- si.setState = /* @__PURE__ */ Le.define();
25161
+ oi.setState = /* @__PURE__ */ Le.define();
25162
25162
  function Y2(t, e, n) {
25163
25163
  let r = t.facet(fs), i = Qt(t).topNode;
25164
25164
  if (!r || r.allowsNesting)
@@ -25166,7 +25166,7 @@ function Y2(t, e, n) {
25166
25166
  o.type.isTop && (i = o);
25167
25167
  return i;
25168
25168
  }
25169
- class us extends si {
25169
+ class us extends oi {
25170
25170
  constructor(e, n, r) {
25171
25171
  super(e, n, [], r), this.parser = n;
25172
25172
  }
@@ -25191,7 +25191,7 @@ class us extends si {
25191
25191
  }
25192
25192
  }
25193
25193
  function Qt(t) {
25194
- let e = t.field(si.state, !1);
25194
+ let e = t.field(oi.state, !1);
25195
25195
  return e ? e.tree : Kt.empty;
25196
25196
  }
25197
25197
  class HV {
@@ -25388,11 +25388,11 @@ class Il {
25388
25388
  return r.work(20, n) || r.takeTree(), new Il(r);
25389
25389
  }
25390
25390
  }
25391
- si.state = /* @__PURE__ */ xn.define({
25391
+ oi.state = /* @__PURE__ */ xn.define({
25392
25392
  create: Il.init,
25393
25393
  update(t, e) {
25394
25394
  for (let n of e.effects)
25395
- if (n.is(si.setState))
25395
+ if (n.is(oi.setState))
25396
25396
  return n.value;
25397
25397
  return e.startState.facet(fs) != e.state.facet(fs) ? Il.init(e.state) : t.apply(e);
25398
25398
  }
@@ -25423,13 +25423,13 @@ const um = typeof navigator < "u" && (!((cm = navigator.scheduling) === null ||
25423
25423
  this.view = e, this.working = null, this.workScheduled = 0, this.chunkEnd = -1, this.chunkBudget = -1, this.work = this.work.bind(this), this.scheduleWork();
25424
25424
  }
25425
25425
  update(e) {
25426
- let n = this.view.state.field(si.state).context;
25426
+ let n = this.view.state.field(oi.state).context;
25427
25427
  (n.updateViewport(e.view.viewport) || this.view.viewport.to > n.treeLen) && this.scheduleWork(), (e.docChanged || e.selectionSet) && (this.view.hasFocus && (this.chunkBudget += 50), this.scheduleWork()), this.checkAsyncSchedule(n);
25428
25428
  }
25429
25429
  scheduleWork() {
25430
25430
  if (this.working)
25431
25431
  return;
25432
- let { state: e } = this.view, n = e.field(si.state);
25432
+ let { state: e } = this.view, n = e.field(oi.state);
25433
25433
  (n.tree != n.context.tree || !n.context.isDone(e.doc.length)) && (this.working = KI(this.work));
25434
25434
  }
25435
25435
  work(e) {
@@ -25437,14 +25437,14 @@ const um = typeof navigator < "u" && (!((cm = navigator.scheduling) === null ||
25437
25437
  let n = Date.now();
25438
25438
  if (this.chunkEnd < n && (this.chunkEnd < 0 || this.view.hasFocus) && (this.chunkEnd = n + 3e4, this.chunkBudget = 3e3), this.chunkBudget <= 0)
25439
25439
  return;
25440
- let { state: r, viewport: { to: i } } = this.view, o = r.field(si.state);
25440
+ let { state: r, viewport: { to: i } } = this.view, o = r.field(oi.state);
25441
25441
  if (o.tree == o.context.tree && o.context.isDone(
25442
25442
  i + 1e5
25443
25443
  /* Work.MaxParseAhead */
25444
25444
  ))
25445
25445
  return;
25446
25446
  let s = Date.now() + Math.min(this.chunkBudget, 100, e && !um ? Math.max(25, e.timeRemaining() - 5) : 1e9), a = o.context.treeLen < i && r.doc.length > i + 1e3, l = o.context.work(() => um && um() || Date.now() > s, i + (a ? 0 : 1e5));
25447
- this.chunkBudget -= Date.now() - n, (l || this.chunkBudget <= 0) && (o.context.takeTree(), this.view.dispatch({ effects: si.setState.of(new Il(o.context)) })), this.chunkBudget > 0 && !(l && !a) && this.scheduleWork(), this.checkAsyncSchedule(o.context);
25447
+ this.chunkBudget -= Date.now() - n, (l || this.chunkBudget <= 0) && (o.context.takeTree(), this.view.dispatch({ effects: oi.setState.of(new Il(o.context)) })), this.chunkBudget > 0 && !(l && !a) && this.scheduleWork(), this.checkAsyncSchedule(o.context);
25448
25448
  }
25449
25449
  checkAsyncSchedule(e) {
25450
25450
  e.scheduleOn && (this.workScheduled++, e.scheduleOn.then(() => this.scheduleWork()).catch((n) => Hn(this.view.state, n)).then(() => this.workScheduled--), e.scheduleOn = null);
@@ -25464,7 +25464,7 @@ const um = typeof navigator < "u" && (!((cm = navigator.scheduling) === null ||
25464
25464
  return t.length ? t[0] : null;
25465
25465
  },
25466
25466
  enables: (t) => [
25467
- si.state,
25467
+ oi.state,
25468
25468
  qV,
25469
25469
  ye.contentAttributes.compute([t], (e) => {
25470
25470
  let n = e.facet(t);
@@ -26016,7 +26016,7 @@ class Kl {
26016
26016
  return (r || (r = /* @__PURE__ */ Object.create(null)))["." + l] = a, l;
26017
26017
  }
26018
26018
  const o = typeof n.all == "string" ? n.all : n.all ? i(n.all) : void 0, s = n.scope;
26019
- this.scope = s instanceof si ? (a) => a.prop(Ya) == s.data : s ? (a) => a == s : void 0, this.style = A4(e.map((a) => ({
26019
+ this.scope = s instanceof oi ? (a) => a.prop(Ya) == s.data : s ? (a) => a == s : void 0, this.style = A4(e.map((a) => ({
26020
26020
  tag: a.tag,
26021
26021
  class: a.class || i(Object.assign({}, a, { tag: null }))
26022
26022
  })), {
@@ -31102,7 +31102,7 @@ function tc(t, e) {
31102
31102
  function oo(t, e) {
31103
31103
  return t.update({ selection: e, scrollIntoView: !0, userEvent: "select" });
31104
31104
  }
31105
- function gi({ state: t, dispatch: e }, n) {
31105
+ function pi({ state: t, dispatch: e }, n) {
31106
31106
  let r = tc(t.selection, n);
31107
31107
  return r.eq(t.selection, !0) ? !1 : (e(oo(t, r)), !0);
31108
31108
  }
@@ -31110,14 +31110,14 @@ function Jp(t, e) {
31110
31110
  return he.cursor(e ? t.to : t.from);
31111
31111
  }
31112
31112
  function O6(t, e) {
31113
- return gi(t, (n) => n.empty ? t.moveByChar(n, e) : Jp(n, e));
31113
+ return pi(t, (n) => n.empty ? t.moveByChar(n, e) : Jp(n, e));
31114
31114
  }
31115
31115
  function Xn(t) {
31116
31116
  return t.textDirectionAt(t.state.selection.main.head) == Dt.LTR;
31117
31117
  }
31118
31118
  const y6 = (t) => O6(t, !Xn(t)), b6 = (t) => O6(t, Xn(t));
31119
31119
  function w6(t, e) {
31120
- return gi(t, (n) => n.empty ? t.moveByGroup(n, e) : Jp(n, e));
31120
+ return pi(t, (n) => n.empty ? t.moveByGroup(n, e) : Jp(n, e));
31121
31121
  }
31122
31122
  const QG = (t) => w6(t, !Xn(t)), zG = (t) => w6(t, Xn(t));
31123
31123
  function LG(t, e, n) {
@@ -31137,9 +31137,9 @@ function Kp(t, e, n) {
31137
31137
  let o = r.type.prop(i), s, a;
31138
31138
  return o && (s = n ? Li(t, r.from, 1) : Li(t, r.to, -1)) && s.matched ? a = n ? s.end.to : s.end.from : a = n ? r.to : r.from, he.cursor(a, n ? -1 : 1);
31139
31139
  }
31140
- const FG = (t) => gi(t, (e) => Kp(t.state, e, !Xn(t))), VG = (t) => gi(t, (e) => Kp(t.state, e, Xn(t)));
31140
+ const FG = (t) => pi(t, (e) => Kp(t.state, e, !Xn(t))), VG = (t) => pi(t, (e) => Kp(t.state, e, Xn(t)));
31141
31141
  function S6(t, e) {
31142
- return gi(t, (n) => {
31142
+ return pi(t, (n) => {
31143
31143
  if (!n.empty)
31144
31144
  return Jp(n, e);
31145
31145
  let r = t.moveVertically(n, e);
@@ -31184,7 +31184,7 @@ function Os(t, e, n) {
31184
31184
  }
31185
31185
  return i;
31186
31186
  }
31187
- const ZG = (t) => gi(t, (e) => Os(t, e, !0)), WG = (t) => gi(t, (e) => Os(t, e, !1)), XG = (t) => gi(t, (e) => Os(t, e, !Xn(t))), UG = (t) => gi(t, (e) => Os(t, e, Xn(t))), GG = (t) => gi(t, (e) => he.cursor(t.lineBlockAt(e.head).from, 1)), YG = (t) => gi(t, (e) => he.cursor(t.lineBlockAt(e.head).to, -1));
31187
+ const ZG = (t) => pi(t, (e) => Os(t, e, !0)), WG = (t) => pi(t, (e) => Os(t, e, !1)), XG = (t) => pi(t, (e) => Os(t, e, !Xn(t))), UG = (t) => pi(t, (e) => Os(t, e, Xn(t))), GG = (t) => pi(t, (e) => he.cursor(t.lineBlockAt(e.head).from, 1)), YG = (t) => pi(t, (e) => he.cursor(t.lineBlockAt(e.head).to, -1));
31188
31188
  function HG(t, e, n) {
31189
31189
  let r = !1, i = tc(t.selection, (o) => {
31190
31190
  let s = Li(t, o.head, -1) || Li(t, o.head, 1) || o.head > 0 && Li(t, o.head - 1, 1) || o.head < t.doc.length && Li(t, o.head + 1, -1);
@@ -35972,12 +35972,12 @@ function oq(t, e) {
35972
35972
  case "https":
35973
35973
  case "http":
35974
35974
  case "file":
35975
- e ? e[0] !== ii && (e = ii + e) : e = ii;
35975
+ e ? e[0] !== ri && (e = ri + e) : e = ri;
35976
35976
  break;
35977
35977
  }
35978
35978
  return e;
35979
35979
  }
35980
- var Ct = "", ii = "/", sq = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/, ux = (
35980
+ var Ct = "", ri = "/", sq = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/, ux = (
35981
35981
  /** @class */
35982
35982
  function() {
35983
35983
  function t(e, n, r, i, o, s) {
@@ -36027,9 +36027,9 @@ var Ct = "", ii = "/", sq = /^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))
36027
36027
  return r ? new Pa(r[2] || Ct, Kf(r[4] || Ct), Kf(r[5] || Ct), Kf(r[7] || Ct), Kf(r[9] || Ct), n) : new Pa(Ct, Ct, Ct, Ct, Ct);
36028
36028
  }, t.file = function(e) {
36029
36029
  var n = Ct;
36030
- if (Pu && (e = e.replace(/\\/g, ii)), e[0] === ii && e[1] === ii) {
36031
- var r = e.indexOf(ii, 2);
36032
- r === -1 ? (n = e.substring(2), e = ii) : (n = e.substring(2, r), e = e.substring(r) || ii);
36030
+ if (Pu && (e = e.replace(/\\/g, ri)), e[0] === ri && e[1] === ri) {
36031
+ var r = e.indexOf(ri, 2);
36032
+ r === -1 ? (n = e.substring(2), e = ri) : (n = e.substring(2, r), e = e.substring(r) || ri);
36033
36033
  }
36034
36034
  return new Pa("file", n, e, Ct, Ct);
36035
36035
  }, t.from = function(e) {
@@ -36154,7 +36154,7 @@ function c9(t, e) {
36154
36154
  }
36155
36155
  function fx(t, e) {
36156
36156
  var n = e ? aq : s3, r = "", i = t.scheme, o = t.authority, s = t.path, a = t.query, l = t.fragment;
36157
- if (i && (r += i, r += ":"), (o || i === "file") && (r += ii, r += ii), o) {
36157
+ if (i && (r += i, r += ":"), (o || i === "file") && (r += ri, r += ri), o) {
36158
36158
  var c = o.indexOf("@");
36159
36159
  if (c !== -1) {
36160
36160
  var u = o.substr(0, c);
@@ -38805,7 +38805,7 @@ function YJ(t) {
38805
38805
  });
38806
38806
  return [o, s];
38807
38807
  }
38808
- var Lo = "none", nd = "appear", rd = "enter", id = "leave", E3 = "none", ri = "prepare", Ja = "start", Ka = "active", zy = "end", G9 = "prepared";
38808
+ var Lo = "none", nd = "appear", rd = "enter", id = "leave", E3 = "none", ni = "prepare", Ja = "start", Ka = "active", zy = "end", G9 = "prepared";
38809
38809
  function I3(t, e) {
38810
38810
  var n = {};
38811
38811
  return n[t.toLowerCase()] = e.toLowerCase(), n["Webkit".concat(t)] = "webkit".concat(e), n["Moz".concat(t)] = "moz".concat(e), n["ms".concat(t)] = "MS".concat(e), n["O".concat(t)] = "o".concat(e.toLowerCase()), n;
@@ -38920,14 +38920,14 @@ const eK = function() {
38920
38920
  };
38921
38921
  }, []), [n, e];
38922
38922
  };
38923
- var tK = [ri, Ja, Ka, zy], nK = [ri, G9], i8 = !1, rK = !0;
38923
+ var tK = [ni, Ja, Ka, zy], nK = [ni, G9], i8 = !1, rK = !0;
38924
38924
  function o8(t) {
38925
38925
  return t === Ka || t === zy;
38926
38926
  }
38927
38927
  const iK = function(t, e, n) {
38928
38928
  var r = wx(E3), i = Ze(r, 2), o = i[0], s = i[1], a = eK(), l = Ze(a, 2), c = l[0], u = l[1];
38929
38929
  function f() {
38930
- s(ri, !0);
38930
+ s(ni, !0);
38931
38931
  }
38932
38932
  var d = e ? nK : tK;
38933
38933
  return e8(function() {
@@ -38967,19 +38967,19 @@ function oK(t, e, n, r) {
38967
38967
  }), Y = KJ(le), fe = Ze(Y, 1), de = fe[0], pe = function(K) {
38968
38968
  switch (K) {
38969
38969
  case nd:
38970
- return hn(hn(hn({}, ri, d), Ja, p), Ka, O);
38970
+ return hn(hn(hn({}, ni, d), Ja, p), Ka, O);
38971
38971
  case rd:
38972
- return hn(hn(hn({}, ri, h), Ja, v), Ka, y);
38972
+ return hn(hn(hn({}, ni, h), Ja, v), Ka, y);
38973
38973
  case id:
38974
- return hn(hn(hn({}, ri, g), Ja, x), Ka, w);
38974
+ return hn(hn(hn({}, ni, g), Ja, x), Ka, w);
38975
38975
  default:
38976
38976
  return {};
38977
38977
  }
38978
38978
  }, oe = ie.useMemo(function() {
38979
38979
  return pe(R);
38980
38980
  }, [R]), ve = iK(R, !t, function(re) {
38981
- if (re === ri) {
38982
- var K = oe[ri];
38981
+ if (re === ni) {
38982
+ var K = oe[ni];
38983
38983
  return K ? K(Q()) : i8;
38984
38984
  }
38985
38985
  if (te in oe) {
@@ -39002,7 +39002,7 @@ function oK(t, e, n, r) {
39002
39002
  var K;
39003
39003
  !re && e && a && (K = nd), re && e && o && (K = rd), (re && !e && c || !re && f && !e && c) && (K = id);
39004
39004
  var q = pe(K);
39005
- K && (t || q[ri]) ? (V(K), ee()) : V(Lo), L.current = e;
39005
+ K && (t || q[ni]) ? (V(K), ee()) : V(Lo), L.current = e;
39006
39006
  }
39007
39007
  }, [e]), $e(function() {
39008
39008
  // Cancel appear
@@ -39019,7 +39019,7 @@ function oK(t, e, n, r) {
39019
39019
  j && (J.current = !0), j !== void 0 && R === Lo && ((J.current || j) && (A == null || A(j)), J.current = !0);
39020
39020
  }, [j, R]);
39021
39021
  var ue = G;
39022
- return oe[ri] && te === Ja && (ue = ge({
39022
+ return oe[ni] && te === Ja && (ue = ge({
39023
39023
  transition: "none"
39024
39024
  }, ue)), [R, te, ue, j ?? e];
39025
39025
  }
@@ -39057,7 +39057,7 @@ function sK(t) {
39057
39057
  }), E) : D = null;
39058
39058
  else {
39059
39059
  var B;
39060
- A === ri ? B = "prepare" : o8(A) ? B = "active" : A === Ja && (B = "start");
39060
+ A === ni ? B = "prepare" : o8(A) ? B = "active" : A === Ja && (B = "start");
39061
39061
  var V = $3(d, "".concat(C, "-").concat(B));
39062
39062
  D = f(ge(ge({}, k), {}, {
39063
39063
  className: Yi($3(d, C), hn(hn({}, V, V && B), d, typeof d == "string")),
@@ -39512,9 +39512,9 @@ function OK(t, e, n, r, i, o, s) {
39512
39512
  var Fe = Tu(Math.round(ve / parseFloat(T) * 1e3) / 1e3), je = Tu(Math.round(oe / parseFloat(j) * 1e3) / 1e3);
39513
39513
  if (Fe === 0 || je === 0 || Eu(n) && !mK(n))
39514
39514
  return;
39515
- var sn = U.offset, Dr = U.targetOffset, Lt = Q3(Q, sn), zt = Ze(Lt, 2), et = zt[0], Yt = zt[1], yi = Q3(z, Dr), an = Ze(yi, 2), wn = an[0], mr = an[1];
39515
+ var sn = U.offset, Dr = U.targetOffset, Lt = Q3(Q, sn), zt = Ze(Lt, 2), et = zt[0], Yt = zt[1], Oi = Q3(z, Dr), an = Ze(Oi, 2), wn = an[0], mr = an[1];
39516
39516
  z.x -= wn, z.y -= mr;
39517
- var Ss = U.points || [], so = Ze(Ss, 2), _o = so[0], Rr = so[1], Sn = z3(Rr), Un = z3(_o), Cs = Ea(z, Sn), On = Ea(Q, Un), bi = ge({}, U), yt = Cs.x - On.x + et, bt = Cs.y - On.y + Yt, vr = Nr(yt, bt), wi = Nr(yt, bt, q), ln = Ea(z, ["t", "l"]), Zt = Ea(Q, ["t", "l"]), ks = Ea(z, ["b", "r"]), As = Ea(Q, ["b", "r"]), Do = U.overflow || {}, uf = Do.adjustX, zg = Do.adjustY, sc = Do.shiftX, xa = Do.shiftY, ac = function(Ro) {
39517
+ var Ss = U.points || [], so = Ze(Ss, 2), _o = so[0], Rr = so[1], Sn = z3(Rr), Un = z3(_o), Cs = Ea(z, Sn), On = Ea(Q, Un), yi = ge({}, U), yt = Cs.x - On.x + et, bt = Cs.y - On.y + Yt, vr = Nr(yt, bt), bi = Nr(yt, bt, q), ln = Ea(z, ["t", "l"]), Zt = Ea(Q, ["t", "l"]), ks = Ea(z, ["b", "r"]), As = Ea(Q, ["b", "r"]), Do = U.overflow || {}, uf = Do.adjustX, zg = Do.adjustY, sc = Do.shiftX, xa = Do.shiftY, ac = function(Ro) {
39518
39518
  return typeof Ro == "boolean" ? Ro : Ro >= 0;
39519
39519
  }, Ps, Es, ao, Oa;
39520
39520
  wf();
@@ -39525,7 +39525,7 @@ function OK(t, e, n, r, i, o, s) {
39525
39525
  var df = Nr(yt, Cn), Lg = Nr(yt, Cn, q);
39526
39526
  // Of course use larger one
39527
39527
  df > vr || df === vr && (!re || // Choose recommend one
39528
- Lg >= wi) ? (h.current.bt = !0, bt = Cn, Yt = -Yt, bi.points = [Qo(Un, 0), Qo(Sn, 0)]) : h.current.bt = !1;
39528
+ Lg >= bi) ? (h.current.bt = !0, bt = Cn, Yt = -Yt, yi.points = [Qo(Un, 0), Qo(Sn, 0)]) : h.current.bt = !1;
39529
39529
  }
39530
39530
  if (Is && Un[0] === "b" && (Ps < ne.top || h.current.tb)) {
39531
39531
  var Ts = bt;
@@ -39533,7 +39533,7 @@ function OK(t, e, n, r, i, o, s) {
39533
39533
  var hf = Nr(yt, Ts), Fg = Nr(yt, Ts, q);
39534
39534
  // Of course use larger one
39535
39535
  hf > vr || hf === vr && (!re || // Choose recommend one
39536
- Fg >= wi) ? (h.current.tb = !0, bt = Ts, Yt = -Yt, bi.points = [Qo(Un, 0), Qo(Sn, 0)]) : h.current.tb = !1;
39536
+ Fg >= bi) ? (h.current.tb = !0, bt = Ts, Yt = -Yt, yi.points = [Qo(Un, 0), Qo(Sn, 0)]) : h.current.tb = !1;
39537
39537
  }
39538
39538
  var pf = ac(uf), gf = Un[1] === Sn[1];
39539
39539
  if (pf && Un[1] === "l" && (Oa > ne.right || h.current.rl)) {
@@ -39542,7 +39542,7 @@ function OK(t, e, n, r, i, o, s) {
39542
39542
  var mf = Nr(js, bt), ya = Nr(js, bt, q);
39543
39543
  // Of course use larger one
39544
39544
  mf > vr || mf === vr && (!re || // Choose recommend one
39545
- ya >= wi) ? (h.current.rl = !0, yt = js, et = -et, bi.points = [Qo(Un, 1), Qo(Sn, 1)]) : h.current.rl = !1;
39545
+ ya >= bi) ? (h.current.rl = !0, yt = js, et = -et, yi.points = [Qo(Un, 1), Qo(Sn, 1)]) : h.current.rl = !1;
39546
39546
  }
39547
39547
  if (pf && Un[1] === "r" && (ao < ne.left || h.current.lr)) {
39548
39548
  var lo = yt;
@@ -39550,28 +39550,28 @@ function OK(t, e, n, r, i, o, s) {
39550
39550
  var vf = Nr(lo, bt), xf = Nr(lo, bt, q);
39551
39551
  // Of course use larger one
39552
39552
  vf > vr || vf === vr && (!re || // Choose recommend one
39553
- xf >= wi) ? (h.current.lr = !0, yt = lo, et = -et, bi.points = [Qo(Un, 1), Qo(Sn, 1)]) : h.current.lr = !1;
39553
+ xf >= bi) ? (h.current.lr = !0, yt = lo, et = -et, yi.points = [Qo(Un, 1), Qo(Sn, 1)]) : h.current.lr = !1;
39554
39554
  }
39555
39555
  wf();
39556
- var Si = sc === !0 ? 0 : sc;
39557
- typeof Si == "number" && (ao < q.left && (yt -= ao - q.left - et, z.x + ee < q.left + Si && (yt += z.x - q.left + ee - Si)), Oa > q.right && (yt -= Oa - q.right - et, z.x > q.right - Si && (yt += z.x - q.right + Si)));
39556
+ var wi = sc === !0 ? 0 : sc;
39557
+ typeof wi == "number" && (ao < q.left && (yt -= ao - q.left - et, z.x + ee < q.left + wi && (yt += z.x - q.left + ee - wi)), Oa > q.right && (yt -= Oa - q.right - et, z.x > q.right - wi && (yt += z.x - q.right + wi)));
39558
39558
  var Jr = xa === !0 ? 0 : xa;
39559
39559
  typeof Jr == "number" && (Ps < q.top && (bt -= Ps - q.top - Yt, z.y + P < q.top + Jr && (bt += z.y - q.top + P - Jr)), Es > q.bottom && (bt -= Es - q.bottom - Yt, z.y > q.bottom - Jr && (bt += z.y - q.bottom + Jr)));
39560
- var ba = Q.x + yt, wa = ba + ve, Ci = Q.y + bt, Vg = Ci + oe, Of = z.x, Zg = Of + ee, lc = z.y, Wg = lc + P, Xg = Math.max(ba, Of), Ug = Math.min(wa, Zg), yf = (Xg + Ug) / 2, Gg = yf - ba, Yg = Math.max(Ci, lc), bf = Math.min(Vg, Wg), Hg = (Yg + bf) / 2, qg = Hg - Ci;
39561
- s == null || s(e, bi);
39562
- var cc = xe.right - Q.x - (yt + Q.width), ki = xe.bottom - Q.y - (bt + Q.height);
39563
- Fe === 1 && (yt = Math.round(yt), cc = Math.round(cc)), je === 1 && (bt = Math.round(bt), ki = Math.round(ki));
39560
+ var ba = Q.x + yt, wa = ba + ve, Si = Q.y + bt, Vg = Si + oe, Of = z.x, Zg = Of + ee, lc = z.y, Wg = lc + P, Xg = Math.max(ba, Of), Ug = Math.min(wa, Zg), yf = (Xg + Ug) / 2, Gg = yf - ba, Yg = Math.max(Si, lc), bf = Math.min(Vg, Wg), Hg = (Yg + bf) / 2, qg = Hg - Si;
39561
+ s == null || s(e, yi);
39562
+ var cc = xe.right - Q.x - (yt + Q.width), Ci = xe.bottom - Q.y - (bt + Q.height);
39563
+ Fe === 1 && (yt = Math.round(yt), cc = Math.round(cc)), je === 1 && (bt = Math.round(bt), Ci = Math.round(Ci));
39564
39564
  var Jg = {
39565
39565
  ready: !0,
39566
39566
  offsetX: yt / Fe,
39567
39567
  offsetY: bt / je,
39568
39568
  offsetR: cc / Fe,
39569
- offsetB: ki / je,
39569
+ offsetB: Ci / je,
39570
39570
  arrowX: Gg / Fe,
39571
39571
  arrowY: qg / je,
39572
39572
  scaleX: Fe,
39573
39573
  scaleY: je,
39574
- align: bi
39574
+ align: yi
39575
39575
  };
39576
39576
  u(Jg);
39577
39577
  }
@@ -39656,14 +39656,14 @@ function SK() {
39656
39656
  };
39657
39657
  }, [re]), q = U9(), H = ie.useState(null), ne = Ze(H, 2), xe = ne[0], Fe = ne[1], je = ie.useRef(null), sn = Ri(function(ke) {
39658
39658
  je.current = ke, Eu(ke) && xe !== ke && Fe(ke), re == null || re.registerSubPopup(q, ke);
39659
- }), Dr = ie.useState(null), Lt = Ze(Dr, 2), zt = Lt[0], et = Lt[1], Yt = ie.useRef(null), yi = Ri(function(ke) {
39659
+ }), Dr = ie.useState(null), Lt = Ze(Dr, 2), zt = Lt[0], et = Lt[1], Yt = ie.useRef(null), Oi = Ri(function(ke) {
39660
39660
  Eu(ke) && zt !== ke && (et(ke), Yt.current = ke);
39661
39661
  }), an = ie.Children.only(s), wn = (an == null ? void 0 : an.props) || {}, mr = {}, Ss = Ri(function(ke) {
39662
39662
  var Qe, Rt, cn = zt;
39663
39663
  return (cn == null ? void 0 : cn.contains(ke)) || ((Qe = bx(cn)) === null || Qe === void 0 ? void 0 : Qe.host) === ke || ke === cn || (xe == null ? void 0 : xe.contains(ke)) || ((Rt = bx(xe)) === null || Rt === void 0 ? void 0 : Rt.host) === ke || ke === xe || Object.values(ue.current).some(function(Ft) {
39664
39664
  return (Ft == null ? void 0 : Ft.contains(ke)) || ke === Ft;
39665
39665
  });
39666
- }), so = N3(o, W, fe, Y), _o = N3(o, le, pe, de), Rr = ie.useState(d || !1), Sn = Ze(Rr, 2), Un = Sn[0], Cs = Sn[1], On = f ?? Un, bi = Ri(function(ke) {
39666
+ }), so = N3(o, W, fe, Y), _o = N3(o, le, pe, de), Rr = ie.useState(d || !1), Sn = Ze(Rr, 2), Un = Sn[0], Cs = Sn[1], On = f ?? Un, yi = Ri(function(ke) {
39667
39667
  f === void 0 && Cs(ke);
39668
39668
  });
39669
39669
  kr(function() {
@@ -39675,12 +39675,12 @@ function SK() {
39675
39675
  bt.current = [];
39676
39676
  var vr = Ri(function(ke) {
39677
39677
  var Qe;
39678
- bi(ke), ((Qe = bt.current[bt.current.length - 1]) !== null && Qe !== void 0 ? Qe : On) !== ke && (bt.current.push(ke), h == null || h(ke));
39679
- }), wi = ie.useRef(), ln = function() {
39680
- clearTimeout(wi.current);
39678
+ yi(ke), ((Qe = bt.current[bt.current.length - 1]) !== null && Qe !== void 0 ? Qe : On) !== ke && (bt.current.push(ke), h == null || h(ke));
39679
+ }), bi = ie.useRef(), ln = function() {
39680
+ clearTimeout(bi.current);
39681
39681
  }, Zt = function(Qe) {
39682
39682
  var Rt = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
39683
- ln(), Rt === 0 ? vr(Qe) : wi.current = setTimeout(function() {
39683
+ ln(), Rt === 0 ? vr(Qe) : bi.current = setTimeout(function() {
39684
39684
  vr(Qe);
39685
39685
  }, Rt * 1e3);
39686
39686
  };
@@ -39693,15 +39693,15 @@ function SK() {
39693
39693
  }, [On]);
39694
39694
  var zg = ie.useState(null), sc = Ze(zg, 2), xa = sc[0], ac = sc[1], Ps = ie.useState(null), Es = Ze(Ps, 2), ao = Es[0], Oa = Es[1], Is = function(Qe) {
39695
39695
  Oa([Qe.clientX, Qe.clientY]);
39696
- }, ff = OK(On, xe, _ && ao !== null ? ao : zt, k, V, Z, Q), Cn = Ze(ff, 11), df = Cn[0], Lg = Cn[1], Ts = Cn[2], hf = Cn[3], Fg = Cn[4], pf = Cn[5], gf = Cn[6], js = Cn[7], mf = Cn[8], ya = Cn[9], lo = Cn[10], vf = gK(L, l, c, u), xf = Ze(vf, 2), Si = xf[0], Jr = xf[1], ba = Si.has("click"), wa = Jr.has("click") || Jr.has("contextMenu"), Ci = Ri(function() {
39696
+ }, ff = OK(On, xe, _ && ao !== null ? ao : zt, k, V, Z, Q), Cn = Ze(ff, 11), df = Cn[0], Lg = Cn[1], Ts = Cn[2], hf = Cn[3], Fg = Cn[4], pf = Cn[5], gf = Cn[6], js = Cn[7], mf = Cn[8], ya = Cn[9], lo = Cn[10], vf = gK(L, l, c, u), xf = Ze(vf, 2), wi = xf[0], Jr = xf[1], ba = wi.has("click"), wa = Jr.has("click") || Jr.has("contextMenu"), Si = Ri(function() {
39697
39697
  Do || lo();
39698
39698
  }), Vg = function() {
39699
39699
  yt.current && _ && wa && Zt(!1);
39700
39700
  };
39701
- yK(On, zt, xe, Ci, Vg), kr(function() {
39702
- Ci();
39701
+ yK(On, zt, xe, Si, Vg), kr(function() {
39702
+ Si();
39703
39703
  }, [ao, k]), kr(function() {
39704
- On && !(V != null && V[k]) && Ci();
39704
+ On && !(V != null && V[k]) && Si();
39705
39705
  }, [JSON.stringify(Z)]);
39706
39706
  var Of = ie.useMemo(function() {
39707
39707
  var ke = xK(V, o, ya, _);
@@ -39711,7 +39711,7 @@ function SK() {
39711
39711
  return {
39712
39712
  nativeElement: Yt.current,
39713
39713
  popupElement: je.current,
39714
- forceAlign: Ci
39714
+ forceAlign: Si
39715
39715
  };
39716
39716
  });
39717
39717
  var Zg = ie.useState(0), lc = Ze(Zg, 2), Wg = lc[0], Xg = lc[1], Ug = ie.useState(0), yf = Ze(Ug, 2), Gg = yf[0], Yg = yf[1], bf = function() {
@@ -39720,7 +39720,7 @@ function SK() {
39720
39720
  Xg(Qe.width), Yg(Qe.height);
39721
39721
  }
39722
39722
  }, Hg = function() {
39723
- bf(), Ci();
39723
+ bf(), Si();
39724
39724
  }, qg = function(Qe) {
39725
39725
  uf(!1), lo(), g == null || g(Qe);
39726
39726
  }, cc = function() {
@@ -39733,7 +39733,7 @@ function SK() {
39733
39733
  kr(function() {
39734
39734
  xa && (lo(), xa(), ac(null));
39735
39735
  }, [xa]);
39736
- function ki(ke, Qe, Rt, cn) {
39736
+ function Ci(ke, Qe, Rt, cn) {
39737
39737
  mr[ke] = function(Ft) {
39738
39738
  var Cf;
39739
39739
  cn == null || cn(Ft), Zt(Qe, Rt);
@@ -39749,19 +39749,19 @@ function SK() {
39749
39749
  cn[Ft - 1] = arguments[Ft];
39750
39750
  (Qe = wn.onClick) === null || Qe === void 0 || Qe.call.apply(Qe, [wn, ke].concat(cn));
39751
39751
  });
39752
- var Jg = bK(On, wa, zt, xe, w, S, Ss, Zt), Nr = Si.has("hover"), wf = Jr.has("hover"), Sa, Ro;
39753
- Nr && (ki("onMouseEnter", !0, p, function(ke) {
39752
+ var Jg = bK(On, wa, zt, xe, w, S, Ss, Zt), Nr = wi.has("hover"), wf = Jr.has("hover"), Sa, Ro;
39753
+ Nr && (Ci("onMouseEnter", !0, p, function(ke) {
39754
39754
  Is(ke);
39755
- }), ki("onPointerEnter", !0, p, function(ke) {
39755
+ }), Ci("onPointerEnter", !0, p, function(ke) {
39756
39756
  Is(ke);
39757
39757
  }), Sa = function(Qe) {
39758
39758
  (On || Do) && xe !== null && xe !== void 0 && xe.contains(Qe.target) && Zt(!0, p);
39759
39759
  }, _ && (mr.onMouseMove = function(ke) {
39760
39760
  var Qe;
39761
39761
  (Qe = wn.onMouseMove) === null || Qe === void 0 || Qe.call(wn, ke);
39762
- })), wf && (ki("onMouseLeave", !1, x), ki("onPointerLeave", !1, x), Ro = function() {
39762
+ })), wf && (Ci("onMouseLeave", !1, x), Ci("onPointerLeave", !1, x), Ro = function() {
39763
39763
  Zt(!1, x);
39764
- }), Si.has("focus") && ki("onFocus", !0, O), Jr.has("focus") && ki("onBlur", !1, y), Si.has("contextMenu") && (mr.onContextMenu = function(ke) {
39764
+ }), wi.has("focus") && Ci("onFocus", !0, O), Jr.has("focus") && Ci("onBlur", !1, y), wi.has("contextMenu") && (mr.onContextMenu = function(ke) {
39765
39765
  var Qe;
39766
39766
  yt.current && Jr.has("contextMenu") ? Zt(!1) : (Is(ke), Zt(!0)), ke.preventDefault();
39767
39767
  for (var Rt = arguments.length, cn = new Array(Rt > 1 ? Rt - 1 : 0), Ft = 1; Ft < Rt; Ft++)
@@ -39782,7 +39782,7 @@ function SK() {
39782
39782
  }, t0 = X ? ge({}, X !== !0 ? X : {}) : null;
39783
39783
  return /* @__PURE__ */ ie.createElement(ie.Fragment, null, /* @__PURE__ */ ie.createElement(ug, {
39784
39784
  disabled: !On,
39785
- ref: yi,
39785
+ ref: Oi,
39786
39786
  onResize: Hg
39787
39787
  }, /* @__PURE__ */ ie.createElement(l8, {
39788
39788
  getTriggerDOMNode: ve
@@ -39821,7 +39821,7 @@ function SK() {
39821
39821
  offsetY: Ts,
39822
39822
  offsetR: hf,
39823
39823
  offsetB: Fg,
39824
- onAlign: Ci,
39824
+ onAlign: Si,
39825
39825
  stretch: G,
39826
39826
  targetWidth: Wg / js,
39827
39827
  targetHeight: Gg / mf
@@ -40868,10 +40868,10 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
40868
40868
  case "animationName":
40869
40869
  if (typeof n == "string")
40870
40870
  return n.replace(x8, function(r, i, o) {
40871
- return oi = {
40871
+ return ii = {
40872
40872
  name: i,
40873
40873
  styles: o,
40874
- next: oi
40874
+ next: ii
40875
40875
  }, i;
40876
40876
  });
40877
40877
  }
@@ -40902,19 +40902,19 @@ function _u(t, e, n) {
40902
40902
  return "";
40903
40903
  case "object": {
40904
40904
  if (n.anim === 1)
40905
- return oi = {
40905
+ return ii = {
40906
40906
  name: n.name,
40907
40907
  styles: n.styles,
40908
- next: oi
40908
+ next: ii
40909
40909
  }, n.name;
40910
40910
  if (n.styles !== void 0) {
40911
40911
  var r = n.next;
40912
40912
  if (r !== void 0)
40913
40913
  for (; r !== void 0; )
40914
- oi = {
40914
+ ii = {
40915
40915
  name: r.name,
40916
40916
  styles: r.styles,
40917
- next: oi
40917
+ next: ii
40918
40918
  }, r = r.next;
40919
40919
  var i = n.styles + ";";
40920
40920
  return process.env.NODE_ENV !== "production" && n.map !== void 0 && (i += n.map), i;
@@ -40923,8 +40923,8 @@ function _u(t, e, n) {
40923
40923
  }
40924
40924
  case "function": {
40925
40925
  if (t !== void 0) {
40926
- var o = oi, s = n(t);
40927
- return oi = o, _u(t, e, s);
40926
+ var o = ii, s = n(t);
40927
+ return ii = o, _u(t, e, s);
40928
40928
  } else process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
40929
40929
  break;
40930
40930
  }
@@ -40982,11 +40982,11 @@ function Pee(t, e, n) {
40982
40982
  }
40983
40983
  var G3 = /label:\s*([^\s;\n{]+)\s*(;|$)/g, y8;
40984
40984
  process.env.NODE_ENV !== "production" && (y8 = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
40985
- var oi, Du = function(e, n, r) {
40985
+ var ii, Du = function(e, n, r) {
40986
40986
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
40987
40987
  return e[0];
40988
40988
  var i = !0, o = "";
40989
- oi = void 0;
40989
+ ii = void 0;
40990
40990
  var s = e[0];
40991
40991
  s == null || s.raw === void 0 ? (i = !1, o += _u(r, n, s)) : (process.env.NODE_ENV !== "production" && s[0] === void 0 && console.error(W3), o += s[0]);
40992
40992
  for (var a = 1; a < e.length; a++)
@@ -41003,14 +41003,14 @@ var oi, Du = function(e, n, r) {
41003
41003
  name: f,
41004
41004
  styles: o,
41005
41005
  map: l,
41006
- next: oi,
41006
+ next: ii,
41007
41007
  toString: function() {
41008
41008
  return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
41009
41009
  }
41010
41010
  } : {
41011
41011
  name: f,
41012
41012
  styles: o,
41013
- next: oi
41013
+ next: ii
41014
41014
  };
41015
41015
  }, Eee = function(e) {
41016
41016
  return e();
@@ -44323,7 +44323,7 @@ const Sre = () => /* @__PURE__ */ m.jsx("svg", { width: "14", height: "14", view
44323
44323
  &:after {
44324
44324
  transform: rotate(135deg) skewY(-45deg) scale(0.707, 1.414) translate(50%);
44325
44325
  }
44326
- `, li = $(Oe)`
44326
+ `, ai = $(Oe)`
44327
44327
  border: none;
44328
44328
  margin: 0;
44329
44329
 
@@ -45914,7 +45914,7 @@ const zo = {
45914
45914
  }
45915
45915
  },
45916
45916
  additionalProperties: !1
45917
- }, ni = {
45917
+ }, ji = {
45918
45918
  type: "object",
45919
45919
  properties: {
45920
45920
  /**
@@ -45952,9 +45952,7 @@ const zo = {
45952
45952
  scorecard: wj
45953
45953
  },
45954
45954
  additionalProperties: !0
45955
- };
45956
- Object.assign(Object.assign({}, ni), { additionalProperties: !1 });
45957
- const Wie = "https://redocly.com/sso/teams";
45955
+ }, Wie = "https://redocly.com/sso/teams";
45958
45956
  var xp;
45959
45957
  (function(t) {
45960
45958
  t.OIDC = "OIDC", t.SAML2 = "SAML2";
@@ -46458,7 +46456,7 @@ const Xie = {
46458
46456
  /**
46459
46457
  * @deprecated properties moved to the root of the config
46460
46458
  */
46461
- theme: ni,
46459
+ theme: ji,
46462
46460
  reunite: qie,
46463
46461
  // Ex theme properties
46464
46462
  logo: oj,
@@ -46502,15 +46500,15 @@ Object.assign(Object.assign({ $id: "root-redocly-config" }, Mx), { properties: O
46502
46500
  const _A = {
46503
46501
  type: "object",
46504
46502
  properties: {
46505
- logo: ni.properties.logo,
46506
- navbar: ni.properties.navbar,
46507
- footer: ni.properties.footer,
46508
- sidebar: ni.properties.sidebar,
46509
- search: ni.properties.search,
46510
- codeSnippet: ni.properties.codeSnippet,
46511
- breadcrumbs: ni.properties.breadcrumbs,
46512
- openapi: ni.properties.openapi,
46513
- feedback: ni.properties.feedback,
46503
+ logo: ji.properties.logo,
46504
+ navbar: ji.properties.navbar,
46505
+ footer: ji.properties.footer,
46506
+ sidebar: ji.properties.sidebar,
46507
+ search: ji.properties.search,
46508
+ codeSnippet: ji.properties.codeSnippet,
46509
+ breadcrumbs: ji.properties.breadcrumbs,
46510
+ openapi: ji.properties.openapi,
46511
+ feedback: ji.properties.feedback,
46514
46512
  analytics: {
46515
46513
  type: "object",
46516
46514
  properties: {
@@ -48924,9 +48922,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
48924
48922
  for (J.max_code = Fe, ue = L.heap_len >> 1; 1 <= ue; ue--) pe(L, q, ue);
48925
48923
  for (K = xe; ue = L.heap[1], L.heap[1] = L.heap[L.heap_len--], pe(L, q, 1), re = L.heap[1], L.heap[--L.heap_max] = ue, L.heap[--L.heap_max] = re, q[2 * K] = q[2 * ue] + q[2 * re], L.depth[K] = (L.depth[ue] >= L.depth[re] ? L.depth[ue] : L.depth[re]) + 1, q[2 * ue + 1] = q[2 * re + 1] = K, L.heap[1] = K++, pe(L, q, 1), 2 <= L.heap_len; ) ;
48926
48924
  L.heap[--L.heap_max] = L.heap[1], function(je, sn) {
48927
- var Dr, Lt, zt, et, Yt, yi, an = sn.dyn_tree, wn = sn.max_code, mr = sn.stat_desc.static_tree, Ss = sn.stat_desc.has_stree, so = sn.stat_desc.extra_bits, _o = sn.stat_desc.extra_base, Rr = sn.stat_desc.max_length, Sn = 0;
48925
+ var Dr, Lt, zt, et, Yt, Oi, an = sn.dyn_tree, wn = sn.max_code, mr = sn.stat_desc.static_tree, Ss = sn.stat_desc.has_stree, so = sn.stat_desc.extra_bits, _o = sn.stat_desc.extra_base, Rr = sn.stat_desc.max_length, Sn = 0;
48928
48926
  for (et = 0; et <= v; et++) je.bl_count[et] = 0;
48929
- for (an[2 * je.heap[je.heap_max] + 1] = 0, Dr = je.heap_max + 1; Dr < p; Dr++) Rr < (et = an[2 * an[2 * (Lt = je.heap[Dr]) + 1] + 1] + 1) && (et = Rr, Sn++), an[2 * Lt + 1] = et, wn < Lt || (je.bl_count[et]++, Yt = 0, _o <= Lt && (Yt = so[Lt - _o]), yi = an[2 * Lt], je.opt_len += yi * (et + Yt), Ss && (je.static_len += yi * (mr[2 * Lt + 1] + Yt)));
48927
+ for (an[2 * je.heap[je.heap_max] + 1] = 0, Dr = je.heap_max + 1; Dr < p; Dr++) Rr < (et = an[2 * an[2 * (Lt = je.heap[Dr]) + 1] + 1] + 1) && (et = Rr, Sn++), an[2 * Lt + 1] = et, wn < Lt || (je.bl_count[et]++, Yt = 0, _o <= Lt && (Yt = so[Lt - _o]), Oi = an[2 * Lt], je.opt_len += Oi * (et + Yt), Ss && (je.static_len += Oi * (mr[2 * Lt + 1] + Yt)));
48930
48928
  if (Sn !== 0) {
48931
48929
  do {
48932
48930
  for (et = Rr - 1; je.bl_count[et] === 0; ) et--;
@@ -49629,7 +49627,7 @@ function Loe({
49629
49627
  ] }),
49630
49628
  /* @__PURE__ */ m.jsxs(Zoe, { children: [
49631
49629
  A.isSecret && /* @__PURE__ */ m.jsx(
49632
- li,
49630
+ ai,
49633
49631
  {
49634
49632
  onClick: j,
49635
49633
  variant: "text",
@@ -49647,12 +49645,12 @@ function Loe({
49647
49645
  }
49648
49646
  ),
49649
49647
  /* @__PURE__ */ m.jsx(
49650
- li,
49648
+ ai,
49651
49649
  {
49652
49650
  "data-testid": `edit-input-btn-${A.name}`,
49653
49651
  size: "small",
49654
49652
  variant: "text",
49655
- icon: /* @__PURE__ */ m.jsx(hi, {}),
49653
+ icon: /* @__PURE__ */ m.jsx(di, {}),
49656
49654
  onClick: () => g(A.name, !0)
49657
49655
  }
49658
49656
  )
@@ -50783,7 +50781,7 @@ function Yj(t) {
50783
50781
  return e && e instanceof ShadowRoot ? e.host : e;
50784
50782
  }
50785
50783
  const Hj = 1, qj = 2, Jj = 4, Kj = 8, zse = Dse() === "coarse";
50786
- let ci = [], vl = !1, Uo = /* @__PURE__ */ new Map(), bg = /* @__PURE__ */ new Map();
50784
+ let li = [], vl = !1, Uo = /* @__PURE__ */ new Map(), bg = /* @__PURE__ */ new Map();
50787
50785
  const Ru = /* @__PURE__ */ new Set();
50788
50786
  function Lse(t, e, n, r, i) {
50789
50787
  var o;
@@ -50799,9 +50797,9 @@ function Lse(t, e, n, r, i) {
50799
50797
  var u;
50800
50798
  bg.delete(t), Ru.delete(a);
50801
50799
  const f = (u = Uo.get(s)) !== null && u !== void 0 ? u : 1;
50802
- if (Uo.set(s, f - 1), wp(), f === 1 && Uo.delete(s), ci.includes(a)) {
50803
- const d = ci.indexOf(a);
50804
- d >= 0 && ci.splice(d, 1), pb(), i("up", !0, null);
50800
+ if (Uo.set(s, f - 1), wp(), f === 1 && Uo.delete(s), li.includes(a)) {
50801
+ const d = li.indexOf(a);
50802
+ d >= 0 && li.splice(d, 1), pb(), i("up", !0, null);
50805
50803
  }
50806
50804
  };
50807
50805
  }
@@ -50816,7 +50814,7 @@ function zA(t) {
50816
50814
  target: e,
50817
50815
  x: n,
50818
50816
  y: r
50819
- }), wp(), ci.length > 0 && (Sp("down", t), t.preventDefault(), t.stopPropagation());
50817
+ }), wp(), li.length > 0 && (Sp("down", t), t.preventDefault(), t.stopPropagation());
50820
50818
  }
50821
50819
  function Pc(t) {
50822
50820
  const {
@@ -50833,7 +50831,7 @@ function Pc(t) {
50833
50831
  y: n
50834
50832
  });
50835
50833
  }
50836
- Sp("move", t), pb(), ci.length > 0 && t.preventDefault();
50834
+ Sp("move", t), pb(), li.length > 0 && t.preventDefault();
50837
50835
  }
50838
50836
  function Da(t) {
50839
50837
  const {
@@ -50842,7 +50840,7 @@ function Da(t) {
50842
50840
  x: n,
50843
50841
  y: r
50844
50842
  } = yg(t);
50845
- bg.clear(), vl = !1, ci.length > 0 && t.preventDefault(), Sp("up", t), hb({
50843
+ bg.clear(), vl = !1, li.length > 0 && t.preventDefault(), Sp("up", t), hb({
50846
50844
  target: e,
50847
50845
  x: n,
50848
50846
  y: r
@@ -50853,7 +50851,7 @@ function hb({
50853
50851
  x: e,
50854
50852
  y: n
50855
50853
  }) {
50856
- ci.splice(0);
50854
+ li.splice(0);
50857
50855
  let r = null;
50858
50856
  (t instanceof HTMLElement || t instanceof SVGElement) && (r = t), Ru.forEach((i) => {
50859
50857
  const {
@@ -50881,7 +50879,7 @@ function hb({
50881
50879
  if (p)
50882
50880
  return;
50883
50881
  }
50884
- ci.push(i);
50882
+ li.push(i);
50885
50883
  }
50886
50884
  });
50887
50885
  }
@@ -50890,7 +50888,7 @@ function Wm(t, e) {
50890
50888
  }
50891
50889
  function pb() {
50892
50890
  let t = !1, e = !1;
50893
- ci.forEach((r) => {
50891
+ li.forEach((r) => {
50894
50892
  const {
50895
50893
  direction: i
50896
50894
  } = r;
@@ -50907,7 +50905,7 @@ function wp() {
50907
50905
  body: n
50908
50906
  } = e;
50909
50907
  n.removeEventListener("contextmenu", Da), n.removeEventListener("pointerdown", zA), n.removeEventListener("pointerleave", Pc), n.removeEventListener("pointermove", Pc);
50910
- }), window.removeEventListener("pointerup", Da), window.removeEventListener("pointercancel", Da), Ru.size > 0 && (vl ? (ci.length > 0 && Uo.forEach((t, e) => {
50908
+ }), window.removeEventListener("pointerup", Da), window.removeEventListener("pointercancel", Da), Ru.size > 0 && (vl ? (li.length > 0 && Uo.forEach((t, e) => {
50911
50909
  const {
50912
50910
  body: n
50913
50911
  } = e;
@@ -50925,7 +50923,7 @@ function Sp(t, e) {
50925
50923
  Ru.forEach((n) => {
50926
50924
  const {
50927
50925
  setResizeHandlerState: r
50928
- } = n, i = ci.includes(n);
50926
+ } = n, i = li.includes(n);
50929
50927
  r(t, i, e);
50930
50928
  });
50931
50929
  }
@@ -52001,7 +51999,7 @@ const u$ = jr({
52001
51999
  MobileHeader: () => null,
52002
52000
  setActiveTab: () => null,
52003
52001
  closeButton: null
52004
- }), mi = () => vn(u$);
52002
+ }), gi = () => vn(u$);
52005
52003
  function nae() {
52006
52004
  var l;
52007
52005
  const t = Be(null), [e, n] = me(((l = t.current) == null ? void 0 : l.isCollapsed()) || !0), r = () => {
@@ -52157,7 +52155,7 @@ function lae() {
52157
52155
  };
52158
52156
  }
52159
52157
  const cae = lae(), uae = jr(cae);
52160
- function xi() {
52158
+ function mi() {
52161
52159
  const t = vn(uae);
52162
52160
  return oE(t);
52163
52161
  }
@@ -52172,7 +52170,7 @@ function fae(t, e) {
52172
52170
  certificates: a,
52173
52171
  storageKey: l,
52174
52172
  isApiBased: c
52175
- } = xi();
52173
+ } = mi();
52176
52174
  r.set((t == null ? void 0 : t.corsProxyUrl) ?? gQ), o.set(t == null ? void 0 : t.mockServer), n.set(t == null ? void 0 : t.apiId), s.set(t == null ? void 0 : t.oAuth2RedirectURI), i.set(!!(t != null && t.disableCollectionsTab)), l.set(t == null ? void 0 : t.storageKey), c.set(!!e), $e(() => {
52177
52175
  a.set((t == null ? void 0 : t.certificates) || []);
52178
52176
  }, [t == null ? void 0 : t.certificates]);
@@ -52646,7 +52644,7 @@ function wae({ step: t, onClose: e }) {
52646
52644
  return /* @__PURE__ */ m.jsxs(Cae, { children: [
52647
52645
  /* @__PURE__ */ m.jsxs(kae, { children: [
52648
52646
  /* @__PURE__ */ m.jsx("h4", { children: "Save request" }),
52649
- /* @__PURE__ */ m.jsx(Oe, { variant: "text", onClick: () => e == null ? void 0 : e(), icon: /* @__PURE__ */ m.jsx(ui, {}) })
52647
+ /* @__PURE__ */ m.jsx(Oe, { variant: "text", onClick: () => e == null ? void 0 : e(), icon: /* @__PURE__ */ m.jsx(ci, {}) })
52650
52648
  ] }),
52651
52649
  /* @__PURE__ */ m.jsx(hl, { children: /* @__PURE__ */ m.jsx("b", { children: "Request name" }) }),
52652
52650
  /* @__PURE__ */ m.jsx(
@@ -53183,12 +53181,12 @@ function I$({
53183
53181
  dataTestId: `server-variable-${s}`,
53184
53182
  showControlsOnHover: n,
53185
53183
  controls: /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsx(
53186
- li,
53184
+ ai,
53187
53185
  {
53188
53186
  "data-testid": `edit-server-variable-btn-${s}`,
53189
53187
  size: "small",
53190
53188
  variant: "text",
53191
- icon: /* @__PURE__ */ m.jsx(hi, {}),
53189
+ icon: /* @__PURE__ */ m.jsx(di, {}),
53192
53190
  onClick: u
53193
53191
  }
53194
53192
  ) }),
@@ -53379,12 +53377,12 @@ function ole({ server: t, isPredefinedEnvironment: e, resolve: n }) {
53379
53377
  /* @__PURE__ */ m.jsxs(fle, { children: [
53380
53378
  a && /* @__PURE__ */ m.jsx(jo, { data: a, toasterPlacement: "left" }),
53381
53379
  !e && /* @__PURE__ */ m.jsx(
53382
- li,
53380
+ ai,
53383
53381
  {
53384
53382
  "data-testid": `edit-server-btn-${s}`,
53385
53383
  size: "small",
53386
53384
  variant: "text",
53387
- icon: /* @__PURE__ */ m.jsx(hi, {}),
53385
+ icon: /* @__PURE__ */ m.jsx(di, {}),
53388
53386
  onClick: () => o(!0)
53389
53387
  }
53390
53388
  )
@@ -53516,7 +53514,7 @@ function gle({
53516
53514
  {
53517
53515
  style: { width: "fit-content" },
53518
53516
  size: "small",
53519
- icon: /* @__PURE__ */ m.jsx(hi, {}),
53517
+ icon: /* @__PURE__ */ m.jsx(di, {}),
53520
53518
  onClick: l,
53521
53519
  children: "Edit in Path"
53522
53520
  }
@@ -53899,7 +53897,7 @@ function YA({
53899
53897
  url: n,
53900
53898
  onReset: r
53901
53899
  }) {
53902
- const { isMobile: i } = mi(), o = () => {
53900
+ const { isMobile: i } = gi(), o = () => {
53903
53901
  n && window.open(n, "_blank");
53904
53902
  };
53905
53903
  return /* @__PURE__ */ m.jsxs(Cle, { "data-testid": "request-status", children: [
@@ -53976,7 +53974,7 @@ function Ele({ type: t, formData: e, content: n }) {
53976
53974
  return $q.includes(t) ? n.length === 0 : !0;
53977
53975
  }
53978
53976
  function $$() {
53979
- const { disableCollectionsTab: t } = xi();
53977
+ const { disableCollectionsTab: t } = mi();
53980
53978
  return Ae(() => {
53981
53979
  const e = [
53982
53980
  {
@@ -54014,7 +54012,7 @@ function Ile(t) {
54014
54012
  return Ele(t.requestBody) ? Et.QUERY : Et.BODY;
54015
54013
  }
54016
54014
  const Tle = ({ activeTabName: t, onChange: e }) => {
54017
- const { isMobile: n } = mi(), r = $$();
54015
+ const { isMobile: n } = gi(), r = $$();
54018
54016
  if (!n)
54019
54017
  return null;
54020
54018
  const i = r.find(({ name: o }) => o === t);
@@ -54359,7 +54357,7 @@ function Ble({
54359
54357
  return /* @__PURE__ */ m.jsx(
54360
54358
  HA,
54361
54359
  {
54362
- icon: /* @__PURE__ */ m.jsx(ui, {}),
54360
+ icon: /* @__PURE__ */ m.jsx(ci, {}),
54363
54361
  variant: "secondary",
54364
54362
  onClick: o,
54365
54363
  iconPosition: "right",
@@ -54371,7 +54369,7 @@ function Ble({
54371
54369
  return /* @__PURE__ */ m.jsx(
54372
54370
  HA,
54373
54371
  {
54374
- icon: /* @__PURE__ */ m.jsx(ui, {}),
54372
+ icon: /* @__PURE__ */ m.jsx(ci, {}),
54375
54373
  variant: "secondary",
54376
54374
  onClick: o,
54377
54375
  iconPosition: "right",
@@ -55398,7 +55396,7 @@ const Pce = $.div`
55398
55396
  display: flex;
55399
55397
  justify-content: center;
55400
55398
  min-width: 40px;
55401
- `, Oi = $.div`
55399
+ `, xi = $.div`
55402
55400
  display: flex;
55403
55401
  ${({ direction: t = "column" }) => t === "row" ? So`
55404
55402
  flex-direction: ${t};
@@ -55436,7 +55434,7 @@ function _ce({ security: t, editable: e }) {
55436
55434
  } = t, i = Gt(), o = (s, a) => {
55437
55435
  a.dataset.name === "name" ? n.set(s) : r.set(s);
55438
55436
  };
55439
- return /* @__PURE__ */ m.jsxs(Oi, { withBorder: !0, children: [
55437
+ return /* @__PURE__ */ m.jsxs(xi, { withBorder: !0, children: [
55440
55438
  /* @__PURE__ */ m.jsxs(it, { children: [
55441
55439
  /* @__PURE__ */ m.jsx(Je, { children: "Name" }),
55442
55440
  /* @__PURE__ */ m.jsx(Re, {}),
@@ -55478,7 +55476,7 @@ function Dce({ security: t, editable: e }) {
55478
55476
  } = t, i = Gt(), o = (s, a) => {
55479
55477
  a.dataset.name === "username" ? n.set(s) : r.set(s);
55480
55478
  };
55481
- return /* @__PURE__ */ m.jsxs(Oi, { children: [
55479
+ return /* @__PURE__ */ m.jsxs(xi, { children: [
55482
55480
  /* @__PURE__ */ m.jsxs(it, { children: [
55483
55481
  /* @__PURE__ */ m.jsx(Je, { children: "Username" }),
55484
55482
  /* @__PURE__ */ m.jsx(Re, {}),
@@ -55519,7 +55517,7 @@ function Rce({ security: t, editable: e }) {
55519
55517
  } = t, r = Gt(), i = (o) => {
55520
55518
  n.set(o);
55521
55519
  };
55522
- return /* @__PURE__ */ m.jsxs(Oi, { direction: "row", withBorder: !0, children: [
55520
+ return /* @__PURE__ */ m.jsxs(xi, { direction: "row", withBorder: !0, children: [
55523
55521
  /* @__PURE__ */ m.jsx(Je, { children: "Bearer Token" }),
55524
55522
  /* @__PURE__ */ m.jsx(Re, {}),
55525
55523
  /* @__PURE__ */ m.jsx(
@@ -55611,7 +55609,7 @@ function zce({ isOpen: t, title: e, content: n, onClose: r, mountId: i, classNam
55611
55609
  }, []), t ? /* @__PURE__ */ m.jsx(sO, { mountId: i, children: /* @__PURE__ */ m.jsx(M$, { className: o, children: /* @__PURE__ */ m.jsxs(B$, { children: [
55612
55610
  /* @__PURE__ */ m.jsxs(Lce, { className: "modal-header", children: [
55613
55611
  /* @__PURE__ */ m.jsx(R5, { children: e }),
55614
- /* @__PURE__ */ m.jsx(Oe, { variant: "ghost", onClick: r, icon: /* @__PURE__ */ m.jsx(ui, { size: "18px" }), autoFocus: !0 })
55612
+ /* @__PURE__ */ m.jsx(Oe, { variant: "ghost", onClick: r, icon: /* @__PURE__ */ m.jsx(ci, { size: "18px" }), autoFocus: !0 })
55615
55613
  ] }),
55616
55614
  /* @__PURE__ */ m.jsx(Q$, { className: "modal-content", children: n })
55617
55615
  ] }) }) }) : null;
@@ -55635,7 +55633,7 @@ const sf = Zn(zce), B$ = $.div`
55635
55633
  margin: 0;
55636
55634
  }
55637
55635
 
55638
- ${ui} {
55636
+ ${ci} {
55639
55637
  cursor: pointer;
55640
55638
  }
55641
55639
  `, Q$ = $.div`
@@ -56135,7 +56133,7 @@ const nP = $.div`
56135
56133
  width: 124px;
56136
56134
  padding: 0 var(--spacing-xs);
56137
56135
  `;
56138
- function ai(t, e, n) {
56136
+ function si(t, e, n) {
56139
56137
  return t.filter(
56140
56138
  (r) => r.active && r.key && r.value && (rP(r) && n === r.sendIn || !rP(r))
56141
56139
  ).reduce(
@@ -56453,7 +56451,7 @@ function F$({
56453
56451
  clientAssertion: p
56454
56452
  }
56455
56453
  }
56456
- } = i, { corsProxyUrl: v } = xi(), x = Gt(), O = x.inputs.get(), y = async () => {
56454
+ } = i, { corsProxyUrl: v } = mi(), x = Gt(), O = x.inputs.get(), y = async () => {
56457
56455
  r(), await Eg.authorizeClientCredentials({
56458
56456
  clientId: Ot(u.get(), O),
56459
56457
  clientSecret: Ot(f.get(), O),
@@ -56462,17 +56460,17 @@ function F$({
56462
56460
  clientAssertion: Ot(p.get(), O),
56463
56461
  tokenUrl: Ot(d.get(), O),
56464
56462
  corsProxyUrl: v.get(),
56465
- extraTokenParams: ai(
56463
+ extraTokenParams: si(
56466
56464
  [...c.get()],
56467
56465
  O,
56468
56466
  Fn.URL
56469
56467
  ),
56470
- extraTokenHeaders: ai(
56468
+ extraTokenHeaders: si(
56471
56469
  [...c.get()],
56472
56470
  O,
56473
56471
  Fn.Header
56474
56472
  ),
56475
- extraTokenBody: ai(
56473
+ extraTokenBody: si(
56476
56474
  [...c.get()],
56477
56475
  O,
56478
56476
  Fn.Body
@@ -56485,7 +56483,7 @@ function F$({
56485
56483
  }
56486
56484
  });
56487
56485
  }, w = o === Rv, b = w ? !u.get() || !d.get() || !p.get() : !u.get() || !d.get() || !f.get(), [S, C] = me(!1);
56488
- return /* @__PURE__ */ m.jsxs(Oi, { withBorder: !0, children: [
56486
+ return /* @__PURE__ */ m.jsxs(xi, { withBorder: !0, children: [
56489
56487
  /* @__PURE__ */ m.jsxs(it, { children: [
56490
56488
  /* @__PURE__ */ m.jsx(Je, { required: !0, children: "Client ID" }),
56491
56489
  /* @__PURE__ */ m.jsx(Re, {}),
@@ -56689,7 +56687,7 @@ function V$({
56689
56687
  accessToken: x
56690
56688
  }
56691
56689
  }
56692
- } = i, { oAuth2RedirectURI: O } = xi().get(), y = Gt(), w = y.inputs.get(), b = async () => {
56690
+ } = i, { oAuth2RedirectURI: O } = mi().get(), y = Gt(), w = y.inputs.get(), b = async () => {
56693
56691
  n(), await Eg.authorizeAuthorizationCode({
56694
56692
  clientId: Ot(c.get(), w),
56695
56693
  clientSecret: Ot(u.get(), w),
@@ -56697,18 +56695,18 @@ function V$({
56697
56695
  codeChallenge: Ot(v.get(), w),
56698
56696
  codeVerifier: Ot(p.get(), w),
56699
56697
  authorizationUrl: Ot(d.get(), w),
56700
- extraAuthParams: ai([...a.get()], w),
56701
- extraTokenBody: ai(
56698
+ extraAuthParams: si([...a.get()], w),
56699
+ extraTokenBody: si(
56702
56700
  [...l.get()],
56703
56701
  w,
56704
56702
  Fn.Body
56705
56703
  ),
56706
- extraTokenHeaders: ai(
56704
+ extraTokenHeaders: si(
56707
56705
  [...l.get()],
56708
56706
  w,
56709
56707
  Fn.Header
56710
56708
  ),
56711
- extraTokenParams: ai(
56709
+ extraTokenParams: si(
56712
56710
  [...l.get()],
56713
56711
  w,
56714
56712
  Fn.URL
@@ -56724,7 +56722,7 @@ function V$({
56724
56722
  }
56725
56723
  });
56726
56724
  }, S = !c.get() || !s && !u.get() || !f.get() || !d.get();
56727
- return /* @__PURE__ */ m.jsxs(Oi, { withBorder: !0, children: [
56725
+ return /* @__PURE__ */ m.jsxs(xi, { withBorder: !0, children: [
56728
56726
  /* @__PURE__ */ m.jsxs(it, { children: [
56729
56727
  /* @__PURE__ */ m.jsx(Je, { required: !0, children: "Client ID" }),
56730
56728
  /* @__PURE__ */ m.jsx(Re, {}),
@@ -56848,11 +56846,11 @@ function Cue({
56848
56846
  tokenRequestExtraParams: a,
56849
56847
  [ce.Implicit]: { clientId: l, authorizationUrl: c, callbackUrl: u, scopes: f, accessToken: d }
56850
56848
  }
56851
- } = i, { oAuth2RedirectURI: h } = xi().get(), g = Gt(), p = g.inputs.get(), v = () => {
56849
+ } = i, { oAuth2RedirectURI: h } = mi().get(), g = Gt(), p = g.inputs.get(), v = () => {
56852
56850
  n(), Eg.authorizeImplicit({
56853
56851
  clientId: Ot(l.get(), p),
56854
56852
  scopes: Vp(f.get(), p),
56855
- extraAuthParams: ai([...s.get()], p),
56853
+ extraAuthParams: si([...s.get()], p),
56856
56854
  authorizationUrl: Ot(c.get(), p),
56857
56855
  redirectUri: Ot(u.get(), p) || h,
56858
56856
  successCallback: (O) => {
@@ -56863,7 +56861,7 @@ function Cue({
56863
56861
  }
56864
56862
  });
56865
56863
  }, x = !l.get() || !c.get();
56866
- return /* @__PURE__ */ m.jsxs(Oi, { withBorder: !0, children: [
56864
+ return /* @__PURE__ */ m.jsxs(xi, { withBorder: !0, children: [
56867
56865
  /* @__PURE__ */ m.jsxs(it, { children: [
56868
56866
  /* @__PURE__ */ m.jsx(Je, { required: !0, children: "Client ID" }),
56869
56867
  /* @__PURE__ */ m.jsx(Re, {}),
@@ -56960,7 +56958,7 @@ function Aue({
56960
56958
  accessToken: h
56961
56959
  }
56962
56960
  }
56963
- } = i, { corsProxyUrl: g } = xi(), p = Gt(), v = p.inputs.get(), x = async () => {
56961
+ } = i, { corsProxyUrl: g } = mi(), p = Gt(), v = p.inputs.get(), x = async () => {
56964
56962
  r(), await Eg.authorizePasswordGrant({
56965
56963
  username: Ot(l.get(), v),
56966
56964
  password: Ot(c.get(), v),
@@ -56968,17 +56966,17 @@ function Aue({
56968
56966
  clientSecret: Ot(f.get(), v),
56969
56967
  tokenUrl: Ot(d.get(), v),
56970
56968
  corsProxyUrl: g.get(),
56971
- extraTokenParams: ai(
56969
+ extraTokenParams: si(
56972
56970
  [...a.get()],
56973
56971
  v,
56974
56972
  Fn.URL
56975
56973
  ),
56976
- extraTokenHeaders: ai(
56974
+ extraTokenHeaders: si(
56977
56975
  [...a.get()],
56978
56976
  v,
56979
56977
  Fn.Header
56980
56978
  ),
56981
- extraTokenBody: ai(
56979
+ extraTokenBody: si(
56982
56980
  [...a.get()],
56983
56981
  v,
56984
56982
  Fn.Body
@@ -56991,7 +56989,7 @@ function Aue({
56991
56989
  }
56992
56990
  });
56993
56991
  }, O = !l.get() || !c.get() || !u.get() || !f.get() || !d.get();
56994
- return /* @__PURE__ */ m.jsxs(Oi, { withBorder: !0, children: [
56992
+ return /* @__PURE__ */ m.jsxs(xi, { withBorder: !0, children: [
56995
56993
  /* @__PURE__ */ m.jsxs(it, { children: [
56996
56994
  /* @__PURE__ */ m.jsx(Je, { required: !0, children: "Username" }),
56997
56995
  /* @__PURE__ */ m.jsx(Re, {}),
@@ -57285,7 +57283,7 @@ function Z$({
57285
57283
  isDocumented: c.includes(I)
57286
57284
  });
57287
57285
  }, A = Uue[w];
57288
- return /* @__PURE__ */ m.jsxs(Oi, { id: "oauth2-container", children: [
57286
+ return /* @__PURE__ */ m.jsxs(xi, { id: "oauth2-container", children: [
57289
57287
  /* @__PURE__ */ m.jsxs(it, { children: [
57290
57288
  /* @__PURE__ */ m.jsx(Je, { children: "Access Token" }),
57291
57289
  /* @__PURE__ */ m.jsx(Re, {}),
@@ -57469,7 +57467,7 @@ function ofe({
57469
57467
  }, v = () => {
57470
57468
  p(nn(u.get(), c));
57471
57469
  };
57472
- return /* @__PURE__ */ m.jsxs(Oi, { id: "oidc-container", children: [
57470
+ return /* @__PURE__ */ m.jsxs(xi, { id: "oidc-container", children: [
57473
57471
  /* @__PURE__ */ m.jsxs(it, { children: [
57474
57472
  /* @__PURE__ */ m.jsx(Je, { children: "OpenId Connect URL" }),
57475
57473
  /* @__PURE__ */ m.jsx(Re, {}),
@@ -57552,7 +57550,7 @@ function lfe({ security: t, editable: e }) {
57552
57550
  } = t, i = Gt(), o = (s, a) => {
57553
57551
  a.dataset.name === "username" ? n.set(s) : r.set(s);
57554
57552
  };
57555
- return /* @__PURE__ */ m.jsxs(Oi, { children: [
57553
+ return /* @__PURE__ */ m.jsxs(xi, { children: [
57556
57554
  /* @__PURE__ */ m.jsxs(it, { children: [
57557
57555
  /* @__PURE__ */ m.jsx(Je, { children: "Username" }),
57558
57556
  /* @__PURE__ */ m.jsx(Re, {}),
@@ -59572,7 +59570,7 @@ const n_ = ({
59572
59570
  onTabChange: e,
59573
59571
  tabs: n
59574
59572
  }) => {
59575
- const { isMobile: r } = mi();
59573
+ const { isMobile: r } = gi();
59576
59574
  return r ? null : /* @__PURE__ */ m.jsx(Hfe, { children: n.map((i) => /* @__PURE__ */ m.jsx(mn, { children: t === i.name ? /* @__PURE__ */ m.jsx(mP, { icon: i.icon, iconPosition: "left", "data-testid": `tab-${i.name}`, children: i.name }) : /* @__PURE__ */ m.jsx(
59577
59575
  mP,
59578
59576
  {
@@ -59724,7 +59722,7 @@ function ede({ successCriteria: t }) {
59724
59722
  const e = Gt(), { context: n, condition: r } = t, i = (o, s) => {
59725
59723
  s.dataset.name === "context" ? n.set(o) : r.set(o);
59726
59724
  };
59727
- return /* @__PURE__ */ m.jsxs(Oi, { "data-testid": "success-criteria-input", children: [
59725
+ return /* @__PURE__ */ m.jsxs(xi, { "data-testid": "success-criteria-input", children: [
59728
59726
  typeof n.get() < "u" && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
59729
59727
  /* @__PURE__ */ m.jsxs(it, { children: [
59730
59728
  /* @__PURE__ */ m.jsx(Je, { children: "Context" }),
@@ -59963,7 +59961,7 @@ function Ux({
59963
59961
  action: /* @__PURE__ */ m.jsx(
59964
59962
  Oe,
59965
59963
  {
59966
- icon: /* @__PURE__ */ m.jsx(hi, {}),
59964
+ icon: /* @__PURE__ */ m.jsx(di, {}),
59967
59965
  size: "small",
59968
59966
  variant: "text",
59969
59967
  onClick: u,
@@ -60382,7 +60380,7 @@ function _de() {
60382
60380
  }
60383
60381
  function l_({ data: t, apiOperation: e }) {
60384
60382
  var Z;
60385
- const n = Gt(), { isMobile: r, MobileHeader: i } = mi(), o = xi(), { disableCollectionsTab: s } = o, { getOperationUrl: a } = d$(), { replaceStep: l } = mb(), c = ht(), { environments: u, activeEnvironmentId: f } = c, { step: d, satisfiesScheme: h, hasUnsavedChanges: g, isEditable: p, isProcessingRequest: v } = t, x = d.parameters.queryParameters, O = d.parameters.pathParameters, { method: y, url: w } = zl(d.get({ noproxy: !0 })), b = e == null ? void 0 : e.method.toLocaleUpperCase(), S = _de(), C = Ae(
60383
+ const n = Gt(), { isMobile: r, MobileHeader: i } = gi(), o = mi(), { disableCollectionsTab: s } = o, { getOperationUrl: a } = d$(), { replaceStep: l } = mb(), c = ht(), { environments: u, activeEnvironmentId: f } = c, { step: d, satisfiesScheme: h, hasUnsavedChanges: g, isEditable: p, isProcessingRequest: v } = t, x = d.parameters.queryParameters, O = d.parameters.pathParameters, { method: y, url: w } = zl(d.get({ noproxy: !0 })), b = e == null ? void 0 : e.method.toLocaleUpperCase(), S = _de(), C = Ae(
60386
60384
  () => Cg([b], S),
60387
60385
  [S, b]
60388
60386
  ), A = [
@@ -61073,7 +61071,7 @@ function whe({
61073
61071
  }) {
61074
61072
  const i = Be(null);
61075
61073
  return z5(i, e), L5(i), /* @__PURE__ */ m.jsx(Che, { children: /* @__PURE__ */ m.jsxs(She, { ref: i, tabIndex: 0, children: [
61076
- /* @__PURE__ */ m.jsx(khe, { onClick: e, "data-testid": "close", variant: "ghost", icon: /* @__PURE__ */ m.jsx(ui, {}) }),
61074
+ /* @__PURE__ */ m.jsx(khe, { onClick: e, "data-testid": "close", variant: "ghost", icon: /* @__PURE__ */ m.jsx(ci, {}) }),
61077
61075
  /* @__PURE__ */ m.jsx(Ahe, { children: "Unsaved changes" }),
61078
61076
  /* @__PURE__ */ m.jsxs(Phe, { children: [
61079
61077
  "Do you want to save changes in ",
@@ -61186,7 +61184,7 @@ function jhe() {
61186
61184
  ) });
61187
61185
  }
61188
61186
  function $he({ data: t }) {
61189
- const { response: e, step: n, hasUnsavedChanges: r } = t, i = e.get(), o = [50, 50], s = Be(null), [a, l] = me(!0), c = nae(), { getApiOperation: u } = ha(), { isMobile: f } = mi(), d = t.collectionId.get(), h = t.workflowId.get(), g = t.stepId.get(), p = aae({
61187
+ const { response: e, step: n, hasUnsavedChanges: r } = t, i = e.get(), o = [50, 50], s = Be(null), [a, l] = me(!0), c = nae(), { getApiOperation: u } = ha(), { isMobile: f } = gi(), d = t.collectionId.get(), h = t.workflowId.get(), g = t.stepId.get(), p = aae({
61190
61188
  collectionId: d,
61191
61189
  workflowId: h,
61192
61190
  stepId: g
@@ -62022,7 +62020,7 @@ const rpe = $($o)`
62022
62020
  `;
62023
62021
  function lpe() {
62024
62022
  var p, v;
62025
- const [t, e] = me(""), { openStepTabFromHistory: n } = pa(), { history: r } = ht(), { sendEvent: i } = on(), { MobileHeader: o, isMobile: s, setActiveTab: a } = mi(), l = Ae(
62023
+ const [t, e] = me(""), { openStepTabFromHistory: n } = pa(), { history: r } = ht(), { sendEvent: i } = on(), { MobileHeader: o, isMobile: s, setActiveTab: a } = gi(), l = Ae(
62026
62024
  () => [...r.get()].sort((x, O) => O.date - x.date),
62027
62025
  [r]
62028
62026
  ), c = Ae(
@@ -62226,7 +62224,7 @@ function mpe({
62226
62224
  children: /* @__PURE__ */ m.jsx(Bu, {})
62227
62225
  }
62228
62226
  ),
62229
- /* @__PURE__ */ m.jsx(Oe, { variant: "text", onClick: r, icon: /* @__PURE__ */ m.jsx(ui, {}) })
62227
+ /* @__PURE__ */ m.jsx(Oe, { variant: "text", onClick: r, icon: /* @__PURE__ */ m.jsx(ci, {}) })
62230
62228
  ] })
62231
62229
  ] }) });
62232
62230
  }
@@ -62281,7 +62279,7 @@ function Cpe({
62281
62279
  showControlsOnHover: !0,
62282
62280
  controls: /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
62283
62281
  t.get().isSecret && /* @__PURE__ */ m.jsx(
62284
- li,
62282
+ ai,
62285
62283
  {
62286
62284
  onClick: g,
62287
62285
  variant: "text",
@@ -62290,16 +62288,16 @@ function Cpe({
62290
62288
  }
62291
62289
  ),
62292
62290
  /* @__PURE__ */ m.jsx(
62293
- li,
62291
+ ai,
62294
62292
  {
62295
62293
  "data-testid": `edit-input-btn-${l}`,
62296
62294
  size: "small",
62297
62295
  variant: "text",
62298
- icon: /* @__PURE__ */ m.jsx(hi, {}),
62296
+ icon: /* @__PURE__ */ m.jsx(di, {}),
62299
62297
  onClick: p
62300
62298
  }
62301
62299
  ),
62302
- n ? /* @__PURE__ */ m.jsx(rn, { content: ype, children: /* @__PURE__ */ m.jsx(li, { size: "small", variant: "text", icon: /* @__PURE__ */ m.jsx(aa, {}) }) }) : /* @__PURE__ */ m.jsx(
62300
+ n ? /* @__PURE__ */ m.jsx(rn, { content: ype, children: /* @__PURE__ */ m.jsx(ai, { size: "small", variant: "text", icon: /* @__PURE__ */ m.jsx(aa, {}) }) }) : /* @__PURE__ */ m.jsx(
62303
62301
  ms,
62304
62302
  {
62305
62303
  description: "Are you sure you to delete this environment input?",
@@ -62384,16 +62382,16 @@ function yP({
62384
62382
  showControlsOnHover: !0,
62385
62383
  controls: /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
62386
62384
  n && e ? null : /* @__PURE__ */ m.jsx(
62387
- li,
62385
+ ai,
62388
62386
  {
62389
62387
  "data-testid": `edit-server-btn-${o}`,
62390
62388
  size: "small",
62391
62389
  variant: "text",
62392
- icon: /* @__PURE__ */ m.jsx(hi, {}),
62390
+ icon: /* @__PURE__ */ m.jsx(di, {}),
62393
62391
  onClick: f
62394
62392
  }
62395
62393
  ),
62396
- e ? /* @__PURE__ */ m.jsx(rn, { content: Ope, children: /* @__PURE__ */ m.jsx(li, { size: "small", variant: "text", icon: /* @__PURE__ */ m.jsx(aa, {}) }) }) : /* @__PURE__ */ m.jsx(
62394
+ e ? /* @__PURE__ */ m.jsx(rn, { content: Ope, children: /* @__PURE__ */ m.jsx(ai, { size: "small", variant: "text", icon: /* @__PURE__ */ m.jsx(aa, {}) }) }) : /* @__PURE__ */ m.jsx(
62397
62395
  ms,
62398
62396
  {
62399
62397
  description: "Are you sure you to delete this environment server?",
@@ -62495,7 +62493,7 @@ function Npe({
62495
62493
  isPredefinedEnvironment: r,
62496
62494
  predefinedInputs: i
62497
62495
  }) {
62498
- const { isApiBased: o } = xi(), [s, a] = me(!1), { name: l, state: c } = t.get(), { sendEvent: u } = on(), f = () => {
62496
+ const { isApiBased: o } = mi(), [s, a] = me(!1), { name: l, state: c } = t.get(), { sendEvent: u } = on(), f = () => {
62499
62497
  t.set(Xe);
62500
62498
  }, d = () => {
62501
62499
  t.state.set(rt.Normal);
@@ -62531,13 +62529,13 @@ function Npe({
62531
62529
  dataTestId: `environment-${l}`,
62532
62530
  title: /* @__PURE__ */ m.jsx(C_, { children: l }),
62533
62531
  defaultExpanded: e,
62534
- controls: /* @__PURE__ */ m.jsx(Mpe, { children: l !== Bp && (r ? /* @__PURE__ */ m.jsx(rn, { content: xpe, children: /* @__PURE__ */ m.jsx(li, { size: "small", variant: "text", icon: /* @__PURE__ */ m.jsx(aa, {}) }) }) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
62532
+ controls: /* @__PURE__ */ m.jsx(Mpe, { children: l !== Bp && (r ? /* @__PURE__ */ m.jsx(rn, { content: xpe, children: /* @__PURE__ */ m.jsx(ai, { size: "small", variant: "text", icon: /* @__PURE__ */ m.jsx(aa, {}) }) }) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
62535
62533
  /* @__PURE__ */ m.jsx(
62536
- li,
62534
+ ai,
62537
62535
  {
62538
62536
  size: "small",
62539
62537
  variant: "text",
62540
- icon: /* @__PURE__ */ m.jsx(hi, {}),
62538
+ icon: /* @__PURE__ */ m.jsx(di, {}),
62541
62539
  onClick: h,
62542
62540
  "data-testid": `edit-environment-${l}`
62543
62541
  }
@@ -62656,7 +62654,7 @@ function Lpe() {
62656
62654
  predefinedApiId: i,
62657
62655
  predefinedEnvironmentNames: o,
62658
62656
  predefinedInputNames: s
62659
- } = ht(), { MobileHeader: a } = mi(), { isApiBased: l } = xi(), c = Ae(
62657
+ } = ht(), { MobileHeader: a } = gi(), { isApiBased: l } = mi(), c = Ae(
62660
62658
  () => n.filter((d) => d.name.get().toLowerCase().includes(t.toLowerCase())),
62661
62659
  [t, n]
62662
62660
  ), u = () => {
@@ -62920,7 +62918,7 @@ const ege = $.div`
62920
62918
  function rge() {
62921
62919
  const [t, e] = me(""), {
62922
62920
  apps: { apps: n, apiId: r, appsLoadingState: i }
62923
- } = ht(), { MobileHeader: o } = mi(), s = () => {
62921
+ } = ht(), { MobileHeader: o } = gi(), s = () => {
62924
62922
  window.open("/apps", "_blank");
62925
62923
  };
62926
62924
  $e(() => ((i.get() === $i.Idle || i.get() === $i.Error) && (i.set($i.Loading), Us(`/api/api-keys/api-products/${r.get()}/access?expand=0`).then((c) => c.json().then((u) => {
@@ -65989,17 +65987,17 @@ function uve(t, e) {
65989
65987
  function fve(t, e, n) {
65990
65988
  return e && uve(t.prototype, e), t;
65991
65989
  }
65992
- function Ti(t, e, n) {
65990
+ function Ii(t, e, n) {
65993
65991
  return e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
65994
65992
  }
65995
65993
  var dve = /* @__PURE__ */ function() {
65996
65994
  function t(e) {
65997
65995
  var n = this;
65998
- cve(this, t), Ti(this, "hooks", K_({
65996
+ cve(this, t), Ii(this, "hooks", K_({
65999
65997
  dropTarget: function(i, o) {
66000
65998
  n.clearDropTarget(), n.dropTargetOptions = o, Jx(i) ? n.dropTargetRef = i : n.dropTargetNode = i, n.reconnect();
66001
65999
  }
66002
- })), Ti(this, "handlerId", null), Ti(this, "dropTargetRef", null), Ti(this, "dropTargetNode", void 0), Ti(this, "dropTargetOptionsInternal", null), Ti(this, "unsubscribeDropTarget", void 0), Ti(this, "lastConnectedHandlerId", null), Ti(this, "lastConnectedDropTarget", null), Ti(this, "lastConnectedDropTargetOptions", null), Ti(this, "backend", void 0), this.backend = e;
66000
+ })), Ii(this, "handlerId", null), Ii(this, "dropTargetRef", null), Ii(this, "dropTargetNode", void 0), Ii(this, "dropTargetOptionsInternal", null), Ii(this, "unsubscribeDropTarget", void 0), Ii(this, "lastConnectedHandlerId", null), Ii(this, "lastConnectedDropTarget", null), Ii(this, "lastConnectedDropTargetOptions", null), Ii(this, "backend", void 0), this.backend = e;
66003
66001
  }
66004
66002
  return fve(t, [{
66005
66003
  key: "connectTarget",
@@ -68625,7 +68623,7 @@ function Txe({
68625
68623
  variant: "text",
68626
68624
  size: "small",
68627
68625
  onClick: f,
68628
- icon: /* @__PURE__ */ m.jsx(ui, {})
68626
+ icon: /* @__PURE__ */ m.jsx(ci, {})
68629
68627
  }
68630
68628
  ) })
68631
68629
  ] }) });
@@ -68852,7 +68850,7 @@ function Zxe({
68852
68850
  }) {
68853
68851
  const i = Be(null);
68854
68852
  return z5(i, e), L5(i), /* @__PURE__ */ m.jsx(Xxe, { children: /* @__PURE__ */ m.jsxs(Wxe, { ref: i, tabIndex: 0, children: [
68855
- /* @__PURE__ */ m.jsx(Uxe, { onClick: e, "data-testid": "close", variant: "ghost", icon: /* @__PURE__ */ m.jsx(ui, {}) }),
68853
+ /* @__PURE__ */ m.jsx(Uxe, { onClick: e, "data-testid": "close", variant: "ghost", icon: /* @__PURE__ */ m.jsx(ci, {}) }),
68856
68854
  /* @__PURE__ */ m.jsx(Gxe, { children: "API name already exists" }),
68857
68855
  /* @__PURE__ */ m.jsxs(Yxe, { children: [
68858
68856
  "An API with name ",
@@ -69096,7 +69094,7 @@ function iOe({
69096
69094
  r.stopPropagation(), t.edit();
69097
69095
  },
69098
69096
  children: [
69099
- /* @__PURE__ */ m.jsx(hi, { size: "14px" }),
69097
+ /* @__PURE__ */ m.jsx(di, { size: "14px" }),
69100
69098
  "Rename"
69101
69099
  ]
69102
69100
  }
@@ -69175,7 +69173,7 @@ function fOe({
69175
69173
  stepId: t.data.stepId
69176
69174
  }), t.edit();
69177
69175
  },
69178
- icon: /* @__PURE__ */ m.jsx(hi, {})
69176
+ icon: /* @__PURE__ */ m.jsx(di, {})
69179
69177
  }
69180
69178
  ) }),
69181
69179
  /* @__PURE__ */ m.jsx(
@@ -69262,7 +69260,7 @@ function vOe({
69262
69260
  }), t.edit();
69263
69261
  },
69264
69262
  children: [
69265
- /* @__PURE__ */ m.jsx(hi, { size: "14px" }),
69263
+ /* @__PURE__ */ m.jsx(di, { size: "14px" }),
69266
69264
  "Rename"
69267
69265
  ]
69268
69266
  }
@@ -69512,7 +69510,7 @@ function OOe() {
69512
69510
  ] });
69513
69511
  }
69514
69512
  const zb = (t, e = !1) => {
69515
- const { disableCollectionsTab: n } = xi().get(), r = [], i = Lp();
69513
+ const { disableCollectionsTab: n } = mi().get(), r = [], i = Lp();
69516
69514
  return e && r.push({
69517
69515
  key: "Request",
69518
69516
  label: "Request",
@@ -69801,7 +69799,7 @@ function UOe(t) {
69801
69799
  className: n,
69802
69800
  size: "small",
69803
69801
  variant: "text",
69804
- icon: /* @__PURE__ */ m.jsx(ui, {}),
69802
+ icon: /* @__PURE__ */ m.jsx(ci, {}),
69805
69803
  onClick: i
69806
69804
  }
69807
69805
  );
@@ -69988,7 +69986,7 @@ function oye() {
69988
69986
  const w5 = Zn(oye);
69989
69987
  function sye() {
69990
69988
  var f;
69991
- const { tabs: t, activeTabIdx: e } = yO(), { containerRef: n, hasScrollbar: r } = LOe(), { handleTabChange: i, handleTabClose: o } = pa(), { disableCollectionsTab: s } = xi(), { tab: a } = tf(), l = (f = a == null ? void 0 : a.id) == null ? void 0 : f.get();
69989
+ const { tabs: t, activeTabIdx: e } = yO(), { containerRef: n, hasScrollbar: r } = LOe(), { handleTabChange: i, handleTabClose: o } = pa(), { disableCollectionsTab: s } = mi(), { tab: a } = tf(), l = (f = a == null ? void 0 : a.id) == null ? void 0 : f.get();
69992
69990
  $e(() => {
69993
69991
  if (n.current && l) {
69994
69992
  const d = n.current.querySelector(`[id="${l}"]`);
@@ -70182,7 +70180,7 @@ const dye = $.div`
70182
70180
  `, hye = () => {
70183
70181
  const {
70184
70182
  apps: { apiId: t }
70185
- } = ht(), { isMobile: e, activeTab: n } = mi(), { tabsParams: r } = zb(t.get(), e);
70183
+ } = ht(), { isMobile: e, activeTab: n } = gi(), { tabsParams: r } = zb(t.get(), e);
70186
70184
  return r.filter(({ key: i }) => i === n).map(({ children: i, key: o, flexDirection: s = "row" }) => /* @__PURE__ */ m.jsx(pye, { isActive: o === n, flexDirection: s, children: i }, o));
70187
70185
  }, pye = $.div`
70188
70186
  flex: 1;
@@ -70253,7 +70251,7 @@ const dye = $.div`
70253
70251
  gap: 12px;
70254
70252
  align-items: center;
70255
70253
  `, vye = ({ className: t }) => {
70256
- const { sendEvent: e } = on(), { isMobile: n, closeButton: r } = mi();
70254
+ const { sendEvent: e } = on(), { isMobile: n, closeButton: r } = gi();
70257
70255
  return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
70258
70256
  /* @__PURE__ */ m.jsx(hD, {}),
70259
70257
  !n && r,
@@ -70560,7 +70558,7 @@ const Nye = (t, e, n, r) => {
70560
70558
  top: 12px;
70561
70559
  align-self: flex-start;
70562
70560
  `, Qye = To((t, e) => {
70563
- const { isMobile: n } = mi();
70561
+ const { isMobile: n } = gi();
70564
70562
  return n ? /* @__PURE__ */ m.jsx(P7, { ref: e, ...t }) : /* @__PURE__ */ m.jsx(Bye, { ref: e, ...t });
70565
70563
  }), zye = (t) => {
70566
70564
  const e = Be(null);
@@ -70577,7 +70575,7 @@ const Nye = (t, e, n, r) => {
70577
70575
  children: /* @__PURE__ */ m.jsx(E7, {})
70578
70576
  }
70579
70577
  );
70580
- }, E7 = $(ui)`
70578
+ }, E7 = $(ci)`
70581
70579
  width: 14px;
70582
70580
  height: 14px;
70583
70581
  `;
@@ -70642,7 +70640,7 @@ const Zye = $.div`
70642
70640
  height: 40px;
70643
70641
  `;
70644
70642
  async function Xye(t = {}) {
70645
- return typeof t == "object" && Object.freeze(t), await pi("plugin:dialog|open", { options: t });
70643
+ return typeof t == "object" && Object.freeze(t), await hi("plugin:dialog|open", { options: t });
70646
70644
  }
70647
70645
  async function Uye({
70648
70646
  name: t,