@kong-ui-public/entities-plugins 9.223.3 → 9.224.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.
@@ -1,4 +1,4 @@
1
- import { toValue as bt, warn as Um, onScopeDispose as Vm, inject as ft, openBlock as S, createElementBlock as se, createElementVNode as ne, computed as L, ref as de, nextTick as an, shallowRef as pn, watch as Xe, provide as Kt, readonly as ed, defineComponent as Oe, normalizeClass as yt, toDisplayString as ue, createCommentVNode as ge, unref as u, withModifiers as Ft, normalizeStyle as ji, Fragment as Ge, renderList as Qe, createBlock as te, withCtx as N, resolveDynamicComponent as jt, useCssVars as Ca, resolveComponent as Ie, createSlots as vt, createTextVNode as Le, useSlots as tn, createVNode as C, renderSlot as Ze, useTemplateRef as xt, mergeProps as We, useModel as gi, onMounted as fn, mergeModels as hi, toRef as Ct, isRef as ll, markRaw as zm, onBeforeUnmount as Ea, reactive as Ei, toRaw as Ir, onUnmounted as Tr, createPropsRestProxy as Ln, withDirectives as Qt, vShow as en, normalizeProps as Cn, useAttrs as ai, guardReactiveProps as zn, Transition as Gm, useId as xa, onBeforeMount as Gi, withKeys as gu, Teleport as $r, watchEffect as td } from "vue";
1
+ import { toValue as bt, warn as Um, onScopeDispose as Vm, inject as ft, openBlock as S, createElementBlock as se, createElementVNode as ne, computed as L, ref as de, nextTick as an, shallowRef as pn, watch as Xe, provide as Kt, readonly as ed, defineComponent as Oe, normalizeClass as yt, toDisplayString as ue, createCommentVNode as ge, unref as u, withModifiers as Ft, normalizeStyle as ji, Fragment as Ge, renderList as Qe, createBlock as te, withCtx as N, resolveDynamicComponent as jt, useCssVars as Ca, resolveComponent as Ie, createSlots as vt, createTextVNode as Le, useSlots as tn, createVNode as C, renderSlot as Ze, useTemplateRef as xt, mergeProps as We, useModel as gi, onMounted as fn, mergeModels as hi, toRef as Ct, isRef as ll, markRaw as zm, onBeforeUnmount as Ea, reactive as Ei, toRaw as Ir, onUnmounted as Tr, createPropsRestProxy as Ln, withDirectives as Qt, vShow as en, normalizeProps as En, useAttrs as ai, guardReactiveProps as zn, Transition as Gm, useId as xa, onBeforeMount as Gi, withKeys as gu, Teleport as $r, watchEffect as td } from "vue";
2
2
  import { NetworkIcon as Hm, CachedIcon as Wm, ArrowSplitIcon as nd, GatewayIcon as Ym, CodeblockIcon as ul, DataObjectIcon as Jm, CodeIcon as Xm, StackIcon as Zm, DeployIcon as id, EditSquareIcon as Qm, KeyIcon as cl, CloudIcon as Ka, WarningIcon as eg, MoreIcon as Ao, UnfoldMoreIcon as hu, UnfoldLessIcon as yu, AddIcon as gn, RemoveIcon as Pr, FullscreenIcon as tg, AutoLayoutIcon as ng, CloseIcon as Or, TrashIcon as od, ChevronRightIcon as ad, InfoIcon as ig, TeamIcon as og, AccountTreeIcon as ag, BookIcon as Ts, SparklesIcon as rg, ChevronDownIcon as vu, ArrowLeftIcon as sg, ChevronDoubleLeftIcon as lg, ChevronDoubleRightIcon as ug, UndoIcon as cg, RedoIcon as dg, ExternalLinkIcon as pg, DatabaseIcon as fg, ExpandIcon as mg, DesignIcon as gg, ClearIcon as ja, CheckCircleIcon as hg, PlugIcon as yg, TransformationIcon as vg, TrafficIcon as _g, RuntimeServerlessIcon as bg, SecurityIcon as wg, MoneyIcon as kg, ServiceDocumentIcon as Cg, LockIcon as Eg, AnalyticsIcon as xg, BotIcon as Sg, PopularIcon as Ag, GridIcon as Ig, ListIcon as Tg } from "@kong/icons";
3
3
  import { KTooltip as Gn, KDropdown as rd, KButton as Vn, KDropdownItem as tr, KInputSwitch as $g, KLabel as hn, KTextArea as Pg, KInput as Og, KCheckbox as Ng, KCard as ur, KMultiselect as Rg, KSelect as Mg, KSegmentedControl as sd, KRadio as ni, KCollapse as ld, KSkeletonBox as Lg, KEmptyState as Fg, KPrompt as Kg, KAlert as jg, KModal as Dg, KSlideout as qg, KExternalLink as _u } from "@kong/kongponents";
4
4
  import { Background as Bg } from "@vue-flow/background";
@@ -9,12 +9,12 @@ import { createI18n as Jt, i18nTComponent as dd } from "@kong-ui-public/i18n";
9
9
  import "@vue-flow/controls/dist/style.css";
10
10
  import "@vue-flow/core/dist/style.css";
11
11
  import "@vue-flow/core/dist/theme-default.css";
12
- import { ConfigurationSchemaType as sn, useAxios as En, useStringHelpers as pl, useErrors as Ti, EntityFormBlock as Bn, PLUGIN_FORM_LAYOUT_STATE as fl, SupportedEntityType as ei, EntityBaseForm as pd, useHelpers as Sa, EntityBaseFormType as $i, useBaseFormDeckOptions as Jg, DeckCodeBlock as Xg, TerraformCodeBlock as Zg, YamlCodeBlock as Qg, JsonCodeBlock as eh, useTableState as th, useGatewayFeatureSupported as nh, useFetcher as ih, useDeleteUrlBuilder as oh, FetcherStatus as ah, EntityBaseTable as rh, PermissionsWrapper as Pi, TableTags as sh, EntityFilter as lh, EntityToggleModal as uh, EntityDeleteModal as fd, EntityTypes as md, ConfigCardItem as ch, ConfigurationSchemaSection as eo, useSchemaProvider as dh, EntityBaseConfigCard as ph, InternalLinkItem as Go } from "@kong-ui-public/entities-shared";
12
+ import { ConfigurationSchemaType as sn, useAxios as xn, useStringHelpers as pl, useErrors as Ti, EntityFormBlock as Bn, PLUGIN_FORM_LAYOUT_STATE as fl, SupportedEntityType as ei, EntityBaseForm as pd, useHelpers as Sa, EntityBaseFormType as $i, useBaseFormDeckOptions as Jg, DeckCodeBlock as Xg, TerraformCodeBlock as Zg, YamlCodeBlock as Qg, JsonCodeBlock as eh, useTableState as th, useGatewayFeatureSupported as nh, useFetcher as ih, useDeleteUrlBuilder as oh, FetcherStatus as ah, EntityBaseTable as rh, PermissionsWrapper as Pi, TableTags as sh, EntityFilter as lh, EntityToggleModal as uh, EntityDeleteModal as fd, EntityTypes as md, ConfigCardItem as ch, ConfigurationSchemaSection as eo, useSchemaProvider as dh, EntityBaseConfigCard as ph, InternalLinkItem as Go } from "@kong-ui-public/entities-shared";
13
13
  import { PluginIcon as Di } from "@kong-ui-public/entities-plugins-icon";
14
14
  import { PluginIcon as GF, getPluginIconURL as HF } from "@kong-ui-public/entities-plugins-icon";
15
15
  import { PluginGroup as tt, PLUGIN_GROUP_AND_SCOPE_MAP as Me, PluginScope as Mt, GATEWAY_VERSION_TIMESTAMP_MAP as fh } from "@kong-ui-public/entities-plugins-metadata";
16
16
  import { PluginGroup as YF, PluginScope as JF } from "@kong-ui-public/entities-plugins-metadata";
17
- import { FORMS_CONFIG as Yn, composables as mh, FORMS_API_KEY as gd, FieldScopedEntitySelect as gh, AUTOFILL_SLOT as Jn, AUTOFILL_SLOT_NAME as Pn, getSharedFormName as hd, customFields as $s, sharedForms as hh, VueFormGenerator as yh } from "@kong-ui-public/forms";
17
+ import { FORMS_CONFIG as Yn, composables as mh, FORMS_API_KEY as gd, FieldScopedEntitySelect as gh, AUTOFILL_SLOT as Jn, AUTOFILL_SLOT_NAME as On, getSharedFormName as hd, customFields as $s, sharedForms as hh, VueFormGenerator as yh } from "@kong-ui-public/forms";
18
18
  import { marked as ir } from "marked";
19
19
  import vh from "dompurify";
20
20
  import { collectCodeLensProviders as _h, emptyCodeLensList as bh, MonacoEditor as ml } from "@kong-ui-public/monaco-editor";
@@ -26,7 +26,7 @@ import { RedisConfigurationSelector as yd } from "@kong-ui-public/entities-redis
26
26
  import "@kong-ui-public/entities-redis-configurations/dist/style.css";
27
27
  import { VaultSecretPicker as vd, VaultSecretPickerProvider as rs } from "@kong-ui-public/entities-vaults";
28
28
  import { codeToHtml as Eh } from "shiki";
29
- import { z as J } from "zod";
29
+ import { z as W } from "zod";
30
30
  import { isAxiosError as go } from "axios";
31
31
  import "@kong-ui-public/entities-vaults/dist/style.css";
32
32
  import "@kong-ui-public/forms/dist/style.css";
@@ -2411,8 +2411,8 @@ function Rs(e) {
2411
2411
  function hp(e) {
2412
2412
  return gp(e, xl, mp);
2413
2413
  }
2414
- var Ms = Ji(ri, "DataView"), Ls = Ji(ri, "Promise"), Fs = Ji(ri, "Set"), qu = "[object Map]", h0 = "[object Object]", Bu = "[object Promise]", Uu = "[object Set]", Vu = "[object WeakMap]", zu = "[object DataView]", y0 = Yi(Ms), v0 = Yi(pa), _0 = Yi(Ls), b0 = Yi(Fs), w0 = Yi(Ps), An = Wi;
2415
- (Ms && An(new Ms(new ArrayBuffer(1))) != zu || pa && An(new pa()) != qu || Ls && An(Ls.resolve()) != Bu || Fs && An(new Fs()) != Uu || Ps && An(new Ps()) != Vu) && (An = function(e) {
2414
+ var Ms = Ji(ri, "DataView"), Ls = Ji(ri, "Promise"), Fs = Ji(ri, "Set"), qu = "[object Map]", h0 = "[object Object]", Bu = "[object Promise]", Uu = "[object Set]", Vu = "[object WeakMap]", zu = "[object DataView]", y0 = Yi(Ms), v0 = Yi(pa), _0 = Yi(Ls), b0 = Yi(Fs), w0 = Yi(Ps), In = Wi;
2415
+ (Ms && In(new Ms(new ArrayBuffer(1))) != zu || pa && In(new pa()) != qu || Ls && In(Ls.resolve()) != Bu || Fs && In(new Fs()) != Uu || Ps && In(new Ps()) != Vu) && (In = function(e) {
2416
2416
  var t = Wi(e), n = t == h0 ? e.constructor : void 0, i = n ? Yi(n) : "";
2417
2417
  if (i)
2418
2418
  switch (i) {
@@ -2495,11 +2495,11 @@ function J0(e) {
2495
2495
  }
2496
2496
  var X0 = "[object Map]";
2497
2497
  function Z0(e) {
2498
- return ii(e) && An(e) == X0;
2498
+ return ii(e) && In(e) == X0;
2499
2499
  }
2500
2500
  var Wu = bo && bo.isMap, Q0 = Wu ? kl(Wu) : Z0, ew = "[object Set]";
2501
2501
  function tw(e) {
2502
- return ii(e) && An(e) == ew;
2502
+ return ii(e) && In(e) == ew;
2503
2503
  }
2504
2504
  var Yu = bo && bo.isSet, nw = Yu ? kl(Yu) : tw, iw = 1, ow = 2, aw = 4, yp = "[object Arguments]", rw = "[object Array]", sw = "[object Boolean]", lw = "[object Date]", uw = "[object Error]", vp = "[object Function]", cw = "[object GeneratorFunction]", dw = "[object Map]", pw = "[object Number]", _p = "[object Object]", fw = "[object RegExp]", mw = "[object Set]", gw = "[object String]", hw = "[object Symbol]", yw = "[object WeakMap]", vw = "[object ArrayBuffer]", _w = "[object DataView]", bw = "[object Float32Array]", ww = "[object Float64Array]", kw = "[object Int8Array]", Cw = "[object Int16Array]", Ew = "[object Int32Array]", xw = "[object Uint8Array]", Sw = "[object Uint8ClampedArray]", Aw = "[object Uint16Array]", Iw = "[object Uint32Array]", Ot = {};
2505
2505
  Ot[yp] = Ot[rw] = Ot[vw] = Ot[_w] = Ot[sw] = Ot[lw] = Ot[bw] = Ot[ww] = Ot[kw] = Ot[Cw] = Ot[Ew] = Ot[dw] = Ot[pw] = Ot[_p] = Ot[fw] = Ot[mw] = Ot[gw] = Ot[hw] = Ot[xw] = Ot[Sw] = Ot[Aw] = Ot[Iw] = !0;
@@ -2515,7 +2515,7 @@ function ia(e, t, n, i, o, r) {
2515
2515
  if (a = E0(e), !l)
2516
2516
  return Uy(e, a);
2517
2517
  } else {
2518
- var c = An(e), p = c == vp || c == cw;
2518
+ var c = In(e), p = c == vp || c == cw;
2519
2519
  if (ca(e))
2520
2520
  return u0(e, l);
2521
2521
  if (c == _p || c == yp || p && !o) {
@@ -2684,7 +2684,7 @@ function nk(e, t, n, i, o, r) {
2684
2684
  }
2685
2685
  var ik = 1, Xu = "[object Arguments]", Zu = "[object Array]", qa = "[object Object]", ok = Object.prototype, Qu = ok.hasOwnProperty;
2686
2686
  function ak(e, t, n, i, o, r) {
2687
- var a = Hn(e), l = Hn(t), s = a ? Zu : An(e), d = l ? Zu : An(t);
2687
+ var a = Hn(e), l = Hn(t), s = a ? Zu : In(e), d = l ? Zu : In(t);
2688
2688
  s = s == Xu ? qa : s, d = d == Xu ? qa : d;
2689
2689
  var f = s == qa, c = d == qa, p = s == d;
2690
2690
  if (p && ca(e)) {
@@ -2784,7 +2784,7 @@ function ec(e) {
2784
2784
  return !0;
2785
2785
  if (Nr(e) && (Hn(e) || typeof e == "string" || typeof e.splice == "function" || ca(e) || Cl(e) || Mr(e)))
2786
2786
  return !e.length;
2787
- var t = An(e);
2787
+ var t = In(e);
2788
2788
  if (t == kk || t == Ck)
2789
2789
  return !e.size;
2790
2790
  if (Rr(e))
@@ -3662,11 +3662,11 @@ function Mp(e) {
3662
3662
  }
3663
3663
  var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Wn = It((e, t) => {
3664
3664
  var n = Object.defineProperty, i = (R, j, H) => j in R ? n(R, j, { enumerable: !0, configurable: !0, writable: !0, value: H }) : R[j] = H, o = (R, j) => () => (j || R((j = { exports: {} }).exports, j), j.exports), r = (R, j, H) => i(R, typeof j != "symbol" ? j + "" : j, H), a = o((R, j) => {
3665
- var H = "\0", W = "\0", Z = "", q = class {
3665
+ var H = "\0", Y = "\0", Z = "", q = class {
3666
3666
  constructor(B) {
3667
3667
  r(this, "_isDirected", !0), r(this, "_isMultigraph", !1), r(this, "_isCompound", !1), r(this, "_label"), r(this, "_defaultNodeLabelFn", () => {
3668
3668
  }), r(this, "_defaultEdgeLabelFn", () => {
3669
- }), r(this, "_nodes", {}), r(this, "_in", {}), r(this, "_preds", {}), r(this, "_out", {}), r(this, "_sucs", {}), r(this, "_edgeObjs", {}), r(this, "_edgeLabels", {}), r(this, "_nodeCount", 0), r(this, "_edgeCount", 0), r(this, "_parent"), r(this, "_children"), B && (this._isDirected = Object.hasOwn(B, "directed") ? B.directed : !0, this._isMultigraph = Object.hasOwn(B, "multigraph") ? B.multigraph : !1, this._isCompound = Object.hasOwn(B, "compound") ? B.compound : !1), this._isCompound && (this._parent = {}, this._children = {}, this._children[W] = {});
3669
+ }), r(this, "_nodes", {}), r(this, "_in", {}), r(this, "_preds", {}), r(this, "_out", {}), r(this, "_sucs", {}), r(this, "_edgeObjs", {}), r(this, "_edgeLabels", {}), r(this, "_nodeCount", 0), r(this, "_edgeCount", 0), r(this, "_parent"), r(this, "_children"), B && (this._isDirected = Object.hasOwn(B, "directed") ? B.directed : !0, this._isMultigraph = Object.hasOwn(B, "multigraph") ? B.multigraph : !1, this._isCompound = Object.hasOwn(B, "compound") ? B.compound : !1), this._isCompound && (this._parent = {}, this._children = {}, this._children[Y] = {});
3670
3670
  }
3671
3671
  isDirected() {
3672
3672
  return this._isDirected;
@@ -3707,7 +3707,7 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3707
3707
  }), this;
3708
3708
  }
3709
3709
  setNode(B, $) {
3710
- return Object.hasOwn(this._nodes, B) ? (arguments.length > 1 && (this._nodes[B] = $), this) : (this._nodes[B] = arguments.length > 1 ? $ : this._defaultNodeLabelFn(B), this._isCompound && (this._parent[B] = W, this._children[B] = {}, this._children[W][B] = !0), this._in[B] = {}, this._preds[B] = {}, this._out[B] = {}, this._sucs[B] = {}, ++this._nodeCount, this);
3710
+ return Object.hasOwn(this._nodes, B) ? (arguments.length > 1 && (this._nodes[B] = $), this) : (this._nodes[B] = arguments.length > 1 ? $ : this._defaultNodeLabelFn(B), this._isCompound && (this._parent[B] = Y, this._children[B] = {}, this._children[Y][B] = !0), this._in[B] = {}, this._preds[B] = {}, this._out[B] = {}, this._sucs[B] = {}, ++this._nodeCount, this);
3711
3711
  }
3712
3712
  node(B) {
3713
3713
  return this._nodes[B];
@@ -3727,7 +3727,7 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3727
3727
  }
3728
3728
  setParent(B, $) {
3729
3729
  if (!this._isCompound) throw new Error("Cannot set parent in a non-compound graph");
3730
- if ($ === void 0) $ = W;
3730
+ if ($ === void 0) $ = Y;
3731
3731
  else {
3732
3732
  $ += "";
3733
3733
  for (var K = $; K !== void 0; K = this.parent(K)) if (K === B) throw new Error("Setting " + $ + " as parent of " + B + " would create a cycle");
@@ -3741,15 +3741,15 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3741
3741
  parent(B) {
3742
3742
  if (this._isCompound) {
3743
3743
  var $ = this._parent[B];
3744
- if ($ !== W) return $;
3744
+ if ($ !== Y) return $;
3745
3745
  }
3746
3746
  }
3747
- children(B = W) {
3747
+ children(B = Y) {
3748
3748
  if (this._isCompound) {
3749
3749
  var $ = this._children[B];
3750
3750
  if ($) return Object.keys($);
3751
3751
  } else {
3752
- if (B === W) return this.nodes();
3752
+ if (B === Y) return this.nodes();
3753
3753
  if (this.hasNode(B)) return [];
3754
3754
  }
3755
3755
  }
@@ -3815,7 +3815,7 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3815
3815
  return B = ce.v, $ = ce.w, Object.freeze(ce), this._edgeObjs[be] = ce, G(this._preds[$], B), G(this._sucs[B], $), this._in[$][be] = ce, this._out[B][be] = ce, this._edgeCount++, this;
3816
3816
  }
3817
3817
  edge(B, $, K) {
3818
- var ae = arguments.length === 1 ? Y(this._isDirected, arguments[0]) : Q(this._isDirected, B, $, K);
3818
+ var ae = arguments.length === 1 ? J(this._isDirected, arguments[0]) : Q(this._isDirected, B, $, K);
3819
3819
  return this._edgeLabels[ae];
3820
3820
  }
3821
3821
  edgeAsObj() {
@@ -3823,11 +3823,11 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3823
3823
  return typeof B != "object" ? { label: B } : B;
3824
3824
  }
3825
3825
  hasEdge(B, $, K) {
3826
- var ae = arguments.length === 1 ? Y(this._isDirected, arguments[0]) : Q(this._isDirected, B, $, K);
3826
+ var ae = arguments.length === 1 ? J(this._isDirected, arguments[0]) : Q(this._isDirected, B, $, K);
3827
3827
  return Object.hasOwn(this._edgeLabels, ae);
3828
3828
  }
3829
3829
  removeEdge(B, $, K) {
3830
- var ae = arguments.length === 1 ? Y(this._isDirected, arguments[0]) : Q(this._isDirected, B, $, K), ie = this._edgeObjs[ae];
3830
+ var ae = arguments.length === 1 ? J(this._isDirected, arguments[0]) : Q(this._isDirected, B, $, K), ie = this._edgeObjs[ae];
3831
3831
  return ie && (B = ie.v, $ = ie.w, delete this._edgeLabels[ae], delete this._edgeObjs[ae], M(this._preds[$], B), M(this._sucs[B], $), delete this._in[$][ae], delete this._out[B][ae], this._edgeCount--), this;
3832
3832
  }
3833
3833
  inEdges(B, $) {
@@ -3871,7 +3871,7 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3871
3871
  var ce = { v: ie, w: fe };
3872
3872
  return ae && (ce.name = ae), ce;
3873
3873
  }
3874
- function Y(B, $) {
3874
+ function J(B, $) {
3875
3875
  return Q(B, $.v, $.w, $.name);
3876
3876
  }
3877
3877
  j.exports = q;
@@ -3881,21 +3881,21 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3881
3881
  j.exports = { Graph: a(), version: l() };
3882
3882
  }), d = o((R, j) => {
3883
3883
  var H = a();
3884
- j.exports = { write: W, read: G };
3885
- function W(M) {
3884
+ j.exports = { write: Y, read: G };
3885
+ function Y(M) {
3886
3886
  var Q = { options: { directed: M.isDirected(), multigraph: M.isMultigraph(), compound: M.isCompound() }, nodes: Z(M), edges: q(M) };
3887
3887
  return M.graph() !== void 0 && (Q.value = structuredClone(M.graph())), Q;
3888
3888
  }
3889
3889
  function Z(M) {
3890
3890
  return M.nodes().map(function(Q) {
3891
- var V = M.node(Q), Y = M.parent(Q), B = { v: Q };
3892
- return V !== void 0 && (B.value = V), Y !== void 0 && (B.parent = Y), B;
3891
+ var V = M.node(Q), J = M.parent(Q), B = { v: Q };
3892
+ return V !== void 0 && (B.value = V), J !== void 0 && (B.parent = J), B;
3893
3893
  });
3894
3894
  }
3895
3895
  function q(M) {
3896
3896
  return M.edges().map(function(Q) {
3897
- var V = M.edge(Q), Y = { v: Q.v, w: Q.w };
3898
- return Q.name !== void 0 && (Y.name = Q.name), V !== void 0 && (Y.value = V), Y;
3897
+ var V = M.edge(Q), J = { v: Q.v, w: Q.w };
3898
+ return Q.name !== void 0 && (J.name = Q.name), V !== void 0 && (J.value = V), J;
3899
3899
  });
3900
3900
  }
3901
3901
  function G(M) {
@@ -3907,17 +3907,17 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3907
3907
  }), Q;
3908
3908
  }
3909
3909
  }), f = o((R, j) => {
3910
- j.exports = W;
3910
+ j.exports = Y;
3911
3911
  var H = () => 1;
3912
- function W(q, G, M, Q) {
3912
+ function Y(q, G, M, Q) {
3913
3913
  return Z(q, String(G), M || H, Q || function(V) {
3914
3914
  return q.outEdges(V);
3915
3915
  });
3916
3916
  }
3917
3917
  function Z(q, G, M, Q) {
3918
- var V = {}, Y = !0, B = 0, $ = q.nodes(), K = function(be) {
3918
+ var V = {}, J = !0, B = 0, $ = q.nodes(), K = function(be) {
3919
3919
  var ce = M(be);
3920
- V[be.v].distance + ce < V[be.w].distance && (V[be.w] = { distance: V[be.v].distance + ce, predecessor: be.v }, Y = !0);
3920
+ V[be.v].distance + ce < V[be.w].distance && (V[be.w] = { distance: V[be.v].distance + ce, predecessor: be.v }, J = !0);
3921
3921
  }, ae = function() {
3922
3922
  $.forEach(function(be) {
3923
3923
  Q(be).forEach(function(ce) {
@@ -3930,18 +3930,18 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3930
3930
  var ce = be === G ? 0 : Number.POSITIVE_INFINITY;
3931
3931
  V[be] = { distance: ce };
3932
3932
  });
3933
- for (var ie = $.length, fe = 1; fe < ie && (Y = !1, B++, ae(), !!Y); fe++) ;
3934
- if (B === ie - 1 && (Y = !1, ae(), Y)) throw new Error("The graph contains a negative weight cycle");
3933
+ for (var ie = $.length, fe = 1; fe < ie && (J = !1, B++, ae(), !!J); fe++) ;
3934
+ if (B === ie - 1 && (J = !1, ae(), J)) throw new Error("The graph contains a negative weight cycle");
3935
3935
  return V;
3936
3936
  }
3937
3937
  }), c = o((R, j) => {
3938
3938
  j.exports = H;
3939
- function H(W) {
3939
+ function H(Y) {
3940
3940
  var Z = {}, q = [], G;
3941
3941
  function M(Q) {
3942
- Object.hasOwn(Z, Q) || (Z[Q] = !0, G.push(Q), W.successors(Q).forEach(M), W.predecessors(Q).forEach(M));
3942
+ Object.hasOwn(Z, Q) || (Z[Q] = !0, G.push(Q), Y.successors(Q).forEach(M), Y.predecessors(Q).forEach(M));
3943
3943
  }
3944
- return W.nodes().forEach(function(Q) {
3944
+ return Y.nodes().forEach(function(Q) {
3945
3945
  G = [], M(Q), G.length && q.push(G);
3946
3946
  }), q;
3947
3947
  }
@@ -3954,78 +3954,78 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
3954
3954
  return this._arr.length;
3955
3955
  }
3956
3956
  keys() {
3957
- return this._arr.map(function(W) {
3958
- return W.key;
3957
+ return this._arr.map(function(Y) {
3958
+ return Y.key;
3959
3959
  });
3960
3960
  }
3961
- has(W) {
3962
- return Object.hasOwn(this._keyIndices, W);
3961
+ has(Y) {
3962
+ return Object.hasOwn(this._keyIndices, Y);
3963
3963
  }
3964
- priority(W) {
3965
- var Z = this._keyIndices[W];
3964
+ priority(Y) {
3965
+ var Z = this._keyIndices[Y];
3966
3966
  if (Z !== void 0) return this._arr[Z].priority;
3967
3967
  }
3968
3968
  min() {
3969
3969
  if (this.size() === 0) throw new Error("Queue underflow");
3970
3970
  return this._arr[0].key;
3971
3971
  }
3972
- add(W, Z) {
3972
+ add(Y, Z) {
3973
3973
  var q = this._keyIndices;
3974
- if (W = String(W), !Object.hasOwn(q, W)) {
3974
+ if (Y = String(Y), !Object.hasOwn(q, Y)) {
3975
3975
  var G = this._arr, M = G.length;
3976
- return q[W] = M, G.push({ key: W, priority: Z }), this._decrease(M), !0;
3976
+ return q[Y] = M, G.push({ key: Y, priority: Z }), this._decrease(M), !0;
3977
3977
  }
3978
3978
  return !1;
3979
3979
  }
3980
3980
  removeMin() {
3981
3981
  this._swap(0, this._arr.length - 1);
3982
- var W = this._arr.pop();
3983
- return delete this._keyIndices[W.key], this._heapify(0), W.key;
3982
+ var Y = this._arr.pop();
3983
+ return delete this._keyIndices[Y.key], this._heapify(0), Y.key;
3984
3984
  }
3985
- decrease(W, Z) {
3986
- var q = this._keyIndices[W];
3987
- if (Z > this._arr[q].priority) throw new Error("New priority is greater than current priority. Key: " + W + " Old: " + this._arr[q].priority + " New: " + Z);
3985
+ decrease(Y, Z) {
3986
+ var q = this._keyIndices[Y];
3987
+ if (Z > this._arr[q].priority) throw new Error("New priority is greater than current priority. Key: " + Y + " Old: " + this._arr[q].priority + " New: " + Z);
3988
3988
  this._arr[q].priority = Z, this._decrease(q);
3989
3989
  }
3990
- _heapify(W) {
3991
- var Z = this._arr, q = 2 * W, G = q + 1, M = W;
3992
- q < Z.length && (M = Z[q].priority < Z[M].priority ? q : M, G < Z.length && (M = Z[G].priority < Z[M].priority ? G : M), M !== W && (this._swap(W, M), this._heapify(M)));
3990
+ _heapify(Y) {
3991
+ var Z = this._arr, q = 2 * Y, G = q + 1, M = Y;
3992
+ q < Z.length && (M = Z[q].priority < Z[M].priority ? q : M, G < Z.length && (M = Z[G].priority < Z[M].priority ? G : M), M !== Y && (this._swap(Y, M), this._heapify(M)));
3993
3993
  }
3994
- _decrease(W) {
3995
- for (var Z = this._arr, q = Z[W].priority, G; W !== 0 && (G = W >> 1, !(Z[G].priority < q)); ) this._swap(W, G), W = G;
3994
+ _decrease(Y) {
3995
+ for (var Z = this._arr, q = Z[Y].priority, G; Y !== 0 && (G = Y >> 1, !(Z[G].priority < q)); ) this._swap(Y, G), Y = G;
3996
3996
  }
3997
- _swap(W, Z) {
3998
- var q = this._arr, G = this._keyIndices, M = q[W], Q = q[Z];
3999
- q[W] = Q, q[Z] = M, G[Q.key] = W, G[M.key] = Z;
3997
+ _swap(Y, Z) {
3998
+ var q = this._arr, G = this._keyIndices, M = q[Y], Q = q[Z];
3999
+ q[Y] = Q, q[Z] = M, G[Q.key] = Y, G[M.key] = Z;
4000
4000
  }
4001
4001
  };
4002
4002
  j.exports = H;
4003
4003
  }), m = o((R, j) => {
4004
4004
  var H = p();
4005
4005
  j.exports = Z;
4006
- var W = () => 1;
4006
+ var Y = () => 1;
4007
4007
  function Z(G, M, Q, V) {
4008
- var Y = function(B) {
4008
+ var J = function(B) {
4009
4009
  return G.outEdges(B);
4010
4010
  };
4011
- return q(G, String(M), Q || W, V || Y);
4011
+ return q(G, String(M), Q || Y, V || J);
4012
4012
  }
4013
4013
  function q(G, M, Q, V) {
4014
- var Y = {}, B = new H(), $, K, ae = function(ie) {
4015
- var fe = ie.v !== $ ? ie.v : ie.w, be = Y[fe], ce = Q(ie), me = K.distance + ce;
4014
+ var J = {}, B = new H(), $, K, ae = function(ie) {
4015
+ var fe = ie.v !== $ ? ie.v : ie.w, be = J[fe], ce = Q(ie), me = K.distance + ce;
4016
4016
  if (ce < 0) throw new Error("dijkstra does not allow negative edge weights. Bad edge: " + ie + " Weight: " + ce);
4017
4017
  me < be.distance && (be.distance = me, be.predecessor = $, B.decrease(fe, me));
4018
4018
  };
4019
4019
  for (G.nodes().forEach(function(ie) {
4020
4020
  var fe = ie === M ? 0 : Number.POSITIVE_INFINITY;
4021
- Y[ie] = { distance: fe }, B.add(ie, fe);
4022
- }); B.size() > 0 && ($ = B.removeMin(), K = Y[$], K.distance !== Number.POSITIVE_INFINITY); ) V($).forEach(ae);
4023
- return Y;
4021
+ J[ie] = { distance: fe }, B.add(ie, fe);
4022
+ }); B.size() > 0 && ($ = B.removeMin(), K = J[$], K.distance !== Number.POSITIVE_INFINITY); ) V($).forEach(ae);
4023
+ return J;
4024
4024
  }
4025
4025
  }), h = o((R, j) => {
4026
4026
  var H = m();
4027
- j.exports = W;
4028
- function W(Z, q, G) {
4027
+ j.exports = Y;
4028
+ function Y(Z, q, G) {
4029
4029
  return Z.nodes().reduce(function(M, Q) {
4030
4030
  return M[Q] = H(Z, Q, q, G), M;
4031
4031
  }, {});
@@ -4035,21 +4035,21 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
4035
4035
  function H(Z, q, G) {
4036
4036
  if (Z[q].predecessor !== void 0) throw new Error("Invalid source vertex");
4037
4037
  if (Z[G].predecessor === void 0 && G !== q) throw new Error("Invalid destination vertex");
4038
- return { weight: Z[G].distance, path: W(Z, q, G) };
4038
+ return { weight: Z[G].distance, path: Y(Z, q, G) };
4039
4039
  }
4040
- function W(Z, q, G) {
4040
+ function Y(Z, q, G) {
4041
4041
  for (var M = [], Q = G; Q !== q; ) M.push(Q), Q = Z[Q].predecessor;
4042
4042
  return M.push(q), M.reverse();
4043
4043
  }
4044
4044
  }), _ = o((R, j) => {
4045
4045
  j.exports = H;
4046
- function H(W) {
4046
+ function H(Y) {
4047
4047
  var Z = 0, q = [], G = {}, M = [];
4048
4048
  function Q(V) {
4049
- var Y = G[V] = { onStack: !0, lowlink: Z, index: Z++ };
4050
- if (q.push(V), W.successors(V).forEach(function(K) {
4051
- Object.hasOwn(G, K) ? G[K].onStack && (Y.lowlink = Math.min(Y.lowlink, G[K].index)) : (Q(K), Y.lowlink = Math.min(Y.lowlink, G[K].lowlink));
4052
- }), Y.lowlink === Y.index) {
4049
+ var J = G[V] = { onStack: !0, lowlink: Z, index: Z++ };
4050
+ if (q.push(V), Y.successors(V).forEach(function(K) {
4051
+ Object.hasOwn(G, K) ? G[K].onStack && (J.lowlink = Math.min(J.lowlink, G[K].index)) : (Q(K), J.lowlink = Math.min(J.lowlink, G[K].lowlink));
4052
+ }), J.lowlink === J.index) {
4053
4053
  var B = [], $;
4054
4054
  do
4055
4055
  $ = q.pop(), G[$].onStack = !1, B.push($);
@@ -4057,41 +4057,41 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
4057
4057
  M.push(B);
4058
4058
  }
4059
4059
  }
4060
- return W.nodes().forEach(function(V) {
4060
+ return Y.nodes().forEach(function(V) {
4061
4061
  Object.hasOwn(G, V) || Q(V);
4062
4062
  }), M;
4063
4063
  }
4064
4064
  }), v = o((R, j) => {
4065
4065
  var H = _();
4066
- j.exports = W;
4067
- function W(Z) {
4066
+ j.exports = Y;
4067
+ function Y(Z) {
4068
4068
  return H(Z).filter(function(q) {
4069
4069
  return q.length > 1 || q.length === 1 && Z.hasEdge(q[0], q[0]);
4070
4070
  });
4071
4071
  }
4072
4072
  }), b = o((R, j) => {
4073
- j.exports = W;
4073
+ j.exports = Y;
4074
4074
  var H = () => 1;
4075
- function W(q, G, M) {
4075
+ function Y(q, G, M) {
4076
4076
  return Z(q, G || H, M || function(Q) {
4077
4077
  return q.outEdges(Q);
4078
4078
  });
4079
4079
  }
4080
4080
  function Z(q, G, M) {
4081
4081
  var Q = {}, V = q.nodes();
4082
- return V.forEach(function(Y) {
4083
- Q[Y] = {}, Q[Y][Y] = { distance: 0 }, V.forEach(function(B) {
4084
- Y !== B && (Q[Y][B] = { distance: Number.POSITIVE_INFINITY });
4085
- }), M(Y).forEach(function(B) {
4086
- var $ = B.v === Y ? B.w : B.v, K = G(B);
4087
- Q[Y][$] = { distance: K, predecessor: Y };
4082
+ return V.forEach(function(J) {
4083
+ Q[J] = {}, Q[J][J] = { distance: 0 }, V.forEach(function(B) {
4084
+ J !== B && (Q[J][B] = { distance: Number.POSITIVE_INFINITY });
4085
+ }), M(J).forEach(function(B) {
4086
+ var $ = B.v === J ? B.w : B.v, K = G(B);
4087
+ Q[J][$] = { distance: K, predecessor: J };
4088
4088
  });
4089
- }), V.forEach(function(Y) {
4090
- var B = Q[Y];
4089
+ }), V.forEach(function(J) {
4090
+ var B = Q[J];
4091
4091
  V.forEach(function($) {
4092
4092
  var K = Q[$];
4093
4093
  V.forEach(function(ae) {
4094
- var ie = K[Y], fe = B[ae], be = K[ae], ce = ie.distance + fe.distance;
4094
+ var ie = K[J], fe = B[ae], be = K[ae], ce = ie.distance + fe.distance;
4095
4095
  ce < be.distance && (be.distance = ce, be.predecessor = fe.predecessor);
4096
4096
  });
4097
4097
  });
@@ -4101,22 +4101,22 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
4101
4101
  function H(Z) {
4102
4102
  var q = {}, G = {}, M = [];
4103
4103
  function Q(V) {
4104
- if (Object.hasOwn(G, V)) throw new W();
4104
+ if (Object.hasOwn(G, V)) throw new Y();
4105
4105
  Object.hasOwn(q, V) || (G[V] = !0, q[V] = !0, Z.predecessors(V).forEach(Q), delete G[V], M.push(V));
4106
4106
  }
4107
- if (Z.sinks().forEach(Q), Object.keys(q).length !== Z.nodeCount()) throw new W();
4107
+ if (Z.sinks().forEach(Q), Object.keys(q).length !== Z.nodeCount()) throw new Y();
4108
4108
  return M;
4109
4109
  }
4110
- var W = class extends Error {
4110
+ var Y = class extends Error {
4111
4111
  constructor() {
4112
4112
  super(...arguments);
4113
4113
  }
4114
4114
  };
4115
- j.exports = H, H.CycleException = W;
4115
+ j.exports = H, H.CycleException = Y;
4116
4116
  }), A = o((R, j) => {
4117
4117
  var H = x();
4118
- j.exports = W;
4119
- function W(Z) {
4118
+ j.exports = Y;
4119
+ function Y(Z) {
4120
4120
  try {
4121
4121
  H(Z);
4122
4122
  } catch (q) {
@@ -4129,47 +4129,47 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
4129
4129
  j.exports = H;
4130
4130
  function H(Z, q, G, M, Q) {
4131
4131
  Array.isArray(q) || (q = [q]);
4132
- var V = (Z.isDirected() ? Z.successors : Z.neighbors).bind(Z), Y = {};
4132
+ var V = (Z.isDirected() ? Z.successors : Z.neighbors).bind(Z), J = {};
4133
4133
  return q.forEach(function(B) {
4134
4134
  if (!Z.hasNode(B)) throw new Error("Graph does not have node: " + B);
4135
- Q = W(Z, B, G === "post", Y, V, M, Q);
4135
+ Q = Y(Z, B, G === "post", J, V, M, Q);
4136
4136
  }), Q;
4137
4137
  }
4138
- function W(Z, q, G, M, Q, V, Y) {
4139
- return Object.hasOwn(M, q) || (M[q] = !0, G || (Y = V(Y, q)), Q(q).forEach(function(B) {
4140
- Y = W(Z, B, G, M, Q, V, Y);
4141
- }), G && (Y = V(Y, q))), Y;
4138
+ function Y(Z, q, G, M, Q, V, J) {
4139
+ return Object.hasOwn(M, q) || (M[q] = !0, G || (J = V(J, q)), Q(q).forEach(function(B) {
4140
+ J = Y(Z, B, G, M, Q, V, J);
4141
+ }), G && (J = V(J, q))), J;
4142
4142
  }
4143
4143
  }), w = o((R, j) => {
4144
4144
  var H = k();
4145
- j.exports = W;
4146
- function W(Z, q, G) {
4145
+ j.exports = Y;
4146
+ function Y(Z, q, G) {
4147
4147
  return H(Z, q, G, function(M, Q) {
4148
4148
  return M.push(Q), M;
4149
4149
  }, []);
4150
4150
  }
4151
4151
  }), T = o((R, j) => {
4152
4152
  var H = w();
4153
- j.exports = W;
4154
- function W(Z, q) {
4153
+ j.exports = Y;
4154
+ function Y(Z, q) {
4155
4155
  return H(Z, q, "post");
4156
4156
  }
4157
4157
  }), P = o((R, j) => {
4158
4158
  var H = w();
4159
- j.exports = W;
4160
- function W(Z, q) {
4159
+ j.exports = Y;
4160
+ function Y(Z, q) {
4161
4161
  return H(Z, q, "pre");
4162
4162
  }
4163
4163
  }), D = o((R, j) => {
4164
- var H = a(), W = p();
4164
+ var H = a(), Y = p();
4165
4165
  j.exports = Z;
4166
4166
  function Z(q, G) {
4167
- var M = new H(), Q = {}, V = new W(), Y;
4167
+ var M = new H(), Q = {}, V = new Y(), J;
4168
4168
  function B(K) {
4169
- var ae = K.v === Y ? K.w : K.v, ie = V.priority(ae);
4169
+ var ae = K.v === J ? K.w : K.v, ie = V.priority(ae);
4170
4170
  if (ie !== void 0) {
4171
4171
  var fe = G(K);
4172
- fe < ie && (Q[ae] = Y, V.decrease(ae, fe));
4172
+ fe < ie && (Q[ae] = J, V.decrease(ae, fe));
4173
4173
  }
4174
4174
  }
4175
4175
  if (q.nodeCount() === 0) return M;
@@ -4177,31 +4177,31 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
4177
4177
  V.add(K, Number.POSITIVE_INFINITY), M.setNode(K);
4178
4178
  }), V.decrease(q.nodes()[0], 0);
4179
4179
  for (var $ = !1; V.size() > 0; ) {
4180
- if (Y = V.removeMin(), Object.hasOwn(Q, Y)) M.setEdge(Y, Q[Y]);
4180
+ if (J = V.removeMin(), Object.hasOwn(Q, J)) M.setEdge(J, Q[J]);
4181
4181
  else {
4182
4182
  if ($) throw new Error("Input graph is not connected: " + q);
4183
4183
  $ = !0;
4184
4184
  }
4185
- q.nodeEdges(Y).forEach(B);
4185
+ q.nodeEdges(J).forEach(B);
4186
4186
  }
4187
4187
  return M;
4188
4188
  }
4189
4189
  }), E = o((R, j) => {
4190
- var H = m(), W = f();
4190
+ var H = m(), Y = f();
4191
4191
  j.exports = Z;
4192
4192
  function Z(G, M, Q, V) {
4193
- return q(G, M, Q, V || function(Y) {
4194
- return G.outEdges(Y);
4193
+ return q(G, M, Q, V || function(J) {
4194
+ return G.outEdges(J);
4195
4195
  });
4196
4196
  }
4197
4197
  function q(G, M, Q, V) {
4198
4198
  if (Q === void 0) return H(G, M, Q, V);
4199
- for (var Y = !1, B = G.nodes(), $ = 0; $ < B.length; $++) {
4199
+ for (var J = !1, B = G.nodes(), $ = 0; $ < B.length; $++) {
4200
4200
  for (var K = V(B[$]), ae = 0; ae < K.length; ae++) {
4201
4201
  var ie = K[ae], fe = ie.v === B[$] ? ie.v : ie.w, be = fe === ie.v ? ie.w : ie.v;
4202
- Q({ v: fe, w: be }) < 0 && (Y = !0);
4202
+ Q({ v: fe, w: be }) < 0 && (J = !0);
4203
4203
  }
4204
- if (Y) return W(G, M, Q, V);
4204
+ if (J) return Y(G, M, Q, V);
4205
4205
  }
4206
4206
  return H(G, M, Q, V);
4207
4207
  }
@@ -4331,10 +4331,10 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
4331
4331
  return D(E.nodes(), I);
4332
4332
  }
4333
4333
  function s(E, I) {
4334
- let O = E.x, R = E.y, j = I.x - O, H = I.y - R, W = E.width / 2, Z = E.height / 2;
4334
+ let O = E.x, R = E.y, j = I.x - O, H = I.y - R, Y = E.width / 2, Z = E.height / 2;
4335
4335
  if (!j && !H) throw new Error("Not possible to find intersection inside of the rectangle");
4336
4336
  let q, G;
4337
- return Math.abs(H) * W > Math.abs(j) * Z ? (H < 0 && (Z = -Z), q = Z * j / H, G = Z) : (j < 0 && (W = -W), q = W, G = W * H / j), { x: O + q, y: R + G };
4337
+ return Math.abs(H) * Y > Math.abs(j) * Z ? (H < 0 && (Z = -Z), q = Z * j / H, G = Z) : (j < 0 && (Y = -Y), q = Y, G = Y * H / j), { x: O + q, y: R + G };
4338
4338
  }
4339
4339
  function d(E) {
4340
4340
  let I = w(_(E) + 1).map(() => []);
@@ -4354,14 +4354,14 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
4354
4354
  });
4355
4355
  }
4356
4356
  function c(E) {
4357
- let I = E.nodes().map((W) => E.node(W).rank).filter((W) => W !== void 0), O = y(Math.min, I), R = [];
4358
- E.nodes().forEach((W) => {
4359
- let Z = E.node(W).rank - O;
4360
- R[Z] || (R[Z] = []), R[Z].push(W);
4357
+ let I = E.nodes().map((Y) => E.node(Y).rank).filter((Y) => Y !== void 0), O = y(Math.min, I), R = [];
4358
+ E.nodes().forEach((Y) => {
4359
+ let Z = E.node(Y).rank - O;
4360
+ R[Z] || (R[Z] = []), R[Z].push(Y);
4361
4361
  });
4362
4362
  let j = 0, H = E.graph().nodeRankFactor;
4363
- Array.from(R).forEach((W, Z) => {
4364
- W === void 0 && Z % H !== 0 ? --j : W !== void 0 && j && W.forEach((q) => E.node(q).rank += j);
4363
+ Array.from(R).forEach((Y, Z) => {
4364
+ Y === void 0 && Z % H !== 0 ? --j : Y !== void 0 && j && Y.forEach((q) => E.node(q).rank += j);
4365
4365
  });
4366
4366
  }
4367
4367
  function p(E, I, O, R) {
@@ -4550,8 +4550,8 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
4550
4550
  return E || (D = !1, E = k.edge(P, w)), I = E.weight, k.nodeEdges(w).forEach((O) => {
4551
4551
  var R = O.v === w, j = R ? O.w : O.v;
4552
4552
  if (j !== P) {
4553
- var H = R === D, W = k.edge(O).weight;
4554
- if (I += H ? W : -W, b(A, w, j)) {
4553
+ var H = R === D, Y = k.edge(O).weight;
4554
+ if (I += H ? Y : -Y, b(A, w, j)) {
4555
4555
  var Z = A.edge(w, j).cutvalue;
4556
4556
  I += H ? -Z : Z;
4557
4557
  }
@@ -4971,10 +4971,10 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
4971
4971
  let P = 0, D = 0, E = w.length, I = T[T.length - 1];
4972
4972
  return T.forEach((O, R) => {
4973
4973
  let j = a(b, O), H = j ? b.node(j).order : E;
4974
- (j || O === I) && (T.slice(D, R + 1).forEach((W) => {
4975
- b.predecessors(W).forEach((Z) => {
4974
+ (j || O === I) && (T.slice(D, R + 1).forEach((Y) => {
4975
+ b.predecessors(Y).forEach((Z) => {
4976
4976
  let q = b.node(Z), G = q.order;
4977
- (G < P || H < G) && !(q.dummy && b.node(W).dummy) && l(A, Z, W);
4977
+ (G < P || H < G) && !(q.dummy && b.node(Y).dummy) && l(A, Z, Y);
4978
4978
  });
4979
4979
  }), D = R + 1, P = H);
4980
4980
  }), T;
@@ -5036,8 +5036,8 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
5036
5036
  O = O.sort((j, H) => P[j] - P[H]);
5037
5037
  let R = (O.length - 1) / 2;
5038
5038
  for (let j = Math.floor(R), H = Math.ceil(R); j <= H; ++j) {
5039
- let W = O[j];
5040
- T[I] === I && E < P[W] && !s(A, I, W) && (T[W] = I, T[I] = w[I] = w[W], E = P[W]);
5039
+ let Y = O[j];
5040
+ T[I] === I && E < P[Y] && !s(A, I, Y) && (T[Y] = I, T[I] = w[I] = w[Y], E = P[Y]);
5041
5041
  }
5042
5042
  }
5043
5043
  });
@@ -5046,11 +5046,11 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
5046
5046
  function f(b, x, A, k, w) {
5047
5047
  let T = {}, P = c(b, x, A, w), D = w ? "borderLeft" : "borderRight";
5048
5048
  function E(R, j) {
5049
- let H = P.nodes().slice(), W = {}, Z = H.pop();
5049
+ let H = P.nodes().slice(), Y = {}, Z = H.pop();
5050
5050
  for (; Z; ) {
5051
- if (W[Z]) R(Z);
5051
+ if (Y[Z]) R(Z);
5052
5052
  else {
5053
- W[Z] = !0, H.push(Z);
5053
+ Y[Z] = !0, H.push(Z);
5054
5054
  for (let q of j(Z)) H.push(q);
5055
5055
  }
5056
5056
  Z = H.pop();
@@ -5060,7 +5060,7 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
5060
5060
  T[R] = P.inEdges(R).reduce((j, H) => Math.max(j, T[H.v] + P.edge(H)), 0);
5061
5061
  }
5062
5062
  function O(R) {
5063
- let j = P.outEdges(R).reduce((W, Z) => Math.min(W, T[Z.w] - P.edge(Z)), Number.POSITIVE_INFINITY), H = b.node(R);
5063
+ let j = P.outEdges(R).reduce((Y, Z) => Math.min(Y, T[Z.w] - P.edge(Z)), Number.POSITIVE_INFINITY), H = b.node(R);
5064
5064
  j !== Number.POSITIVE_INFINITY && H.borderType !== D && (T[R] = Math.max(T[R], j));
5065
5065
  }
5066
5066
  return E(I, P.predecessors.bind(P)), E(O, P.successors.bind(P)), Object.keys(k).forEach((R) => T[R] = T[A[R]]), T;
@@ -5177,7 +5177,7 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
5177
5177
  });
5178
5178
  }
5179
5179
  function _($, K, ae) {
5180
- K(" makeSpaceForEdgeLabels", () => I($)), K(" removeSelfEdges", () => M($)), K(" acyclic", () => n.run($)), K(" nestingGraph.run", () => s.run($)), K(" rank", () => o(m.asNonCompoundGraph($))), K(" injectEdgeLabelProxies", () => O($)), K(" removeEmptyRanks", () => l($)), K(" nestingGraph.cleanup", () => s.cleanup($)), K(" normalizeRanks", () => r($)), K(" assignRankMinMax", () => R($)), K(" removeEdgeLabelProxies", () => j($)), K(" normalize.run", () => i.run($)), K(" parentDummyChains", () => a($)), K(" addBorderSegments", () => d($)), K(" order", () => c($, ae)), K(" insertSelfEdges", () => Q($)), K(" adjustCoordinateSystem", () => f.adjust($)), K(" position", () => p($)), K(" positionSelfEdges", () => V($)), K(" removeBorderNodes", () => G($)), K(" normalize.undo", () => i.undo($)), K(" fixupEdgeLabelCoords", () => Z($)), K(" undoCoordinateSystem", () => f.undo($)), K(" translateGraph", () => H($)), K(" assignNodeIntersects", () => W($)), K(" reversePoints", () => q($)), K(" acyclic.undo", () => n.undo($));
5180
+ K(" makeSpaceForEdgeLabels", () => I($)), K(" removeSelfEdges", () => M($)), K(" acyclic", () => n.run($)), K(" nestingGraph.run", () => s.run($)), K(" rank", () => o(m.asNonCompoundGraph($))), K(" injectEdgeLabelProxies", () => O($)), K(" removeEmptyRanks", () => l($)), K(" nestingGraph.cleanup", () => s.cleanup($)), K(" normalizeRanks", () => r($)), K(" assignRankMinMax", () => R($)), K(" removeEdgeLabelProxies", () => j($)), K(" normalize.run", () => i.run($)), K(" parentDummyChains", () => a($)), K(" addBorderSegments", () => d($)), K(" order", () => c($, ae)), K(" insertSelfEdges", () => Q($)), K(" adjustCoordinateSystem", () => f.adjust($)), K(" position", () => p($)), K(" positionSelfEdges", () => V($)), K(" removeBorderNodes", () => G($)), K(" normalize.undo", () => i.undo($)), K(" fixupEdgeLabelCoords", () => Z($)), K(" undoCoordinateSystem", () => f.undo($)), K(" translateGraph", () => H($)), K(" assignNodeIntersects", () => Y($)), K(" reversePoints", () => q($)), K(" acyclic.undo", () => n.undo($));
5181
5181
  }
5182
5182
  function v($, K) {
5183
5183
  $.nodes().forEach((ae) => {
@@ -5191,14 +5191,14 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
5191
5191
  var b = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], x = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: "tb", rankalign: "center" }, A = ["acyclicer", "ranker", "rankdir", "align", "rankalign"], k = ["width", "height", "rank"], w = { width: 0, height: 0 }, T = ["minlen", "weight", "width", "height", "labeloffset"], P = { minlen: 1, weight: 1, width: 0, height: 0, labeloffset: 10, labelpos: "r" }, D = ["labelpos"];
5192
5192
  function E($) {
5193
5193
  let K = new h({ multigraph: !0, compound: !0 }), ae = B($.graph());
5194
- return K.setGraph(Object.assign({}, x, Y(ae, b), m.pick(ae, A))), $.nodes().forEach((ie) => {
5195
- let fe = B($.node(ie)), be = Y(fe, k);
5194
+ return K.setGraph(Object.assign({}, x, J(ae, b), m.pick(ae, A))), $.nodes().forEach((ie) => {
5195
+ let fe = B($.node(ie)), be = J(fe, k);
5196
5196
  Object.keys(w).forEach((ce) => {
5197
5197
  be[ce] === void 0 && (be[ce] = w[ce]);
5198
5198
  }), K.setNode(ie, be), K.setParent(ie, $.parent(ie));
5199
5199
  }), $.edges().forEach((ie) => {
5200
5200
  let fe = B($.edge(ie));
5201
- K.setEdge(ie, Object.assign({}, P, Y(fe, T), m.pick(fe, D)));
5201
+ K.setEdge(ie, Object.assign({}, P, J(fe, T), m.pick(fe, D)));
5202
5202
  }), K;
5203
5203
  }
5204
5204
  function I($) {
@@ -5249,7 +5249,7 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
5249
5249
  }), Object.hasOwn(Ke, "x") && (Ke.x -= K), Object.hasOwn(Ke, "y") && (Ke.y -= ie);
5250
5250
  }), be.width = ae - K + ce, be.height = fe - ie + me;
5251
5251
  }
5252
- function W($) {
5252
+ function Y($) {
5253
5253
  $.edges().forEach((K) => {
5254
5254
  let ae = $.edge(K), ie = $.node(K.v), fe = $.node(K.w), be, ce;
5255
5255
  ae.points ? (be = ae.points[0], ce = ae.points[ae.points.length - 1]) : (ae.points = [], be = fe, ce = ie), ae.points.unshift(m.intersectRect(ie, be)), ae.points.push(m.intersectRect(fe, ce));
@@ -5313,7 +5313,7 @@ var It = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports),
5313
5313
  }
5314
5314
  });
5315
5315
  }
5316
- function Y($, K) {
5316
+ function J($, K) {
5317
5317
  return m.mapValues(m.pick($, K), Number);
5318
5318
  }
5319
5319
  function B($) {
@@ -5422,15 +5422,15 @@ function I1({ state: e, groupMapById: t, getNodeById: n, history: i }) {
5422
5422
  }
5423
5423
  function m(I, O, R) {
5424
5424
  const j = Us(I.id, O), H = t.value.get(j);
5425
- R.length > 0 ? H ? (H.phase !== I.phase && (H.phase = I.phase), Bs(H.memberIds, R) || (H.position = void 0, H.dimensions = void 0, H.memberIds = [...R])) : e.value.groups.push(Rp(I.id, O, I.phase, R)) : H && (e.value.groups = e.value.groups.filter((W) => W.id !== j));
5425
+ R.length > 0 ? H ? (H.phase !== I.phase && (H.phase = I.phase), Bs(H.memberIds, R) || (H.position = void 0, H.dimensions = void 0, H.memberIds = [...R])) : e.value.groups.push(Rp(I.id, O, I.phase, R)) : H && (e.value.groups = e.value.groups.filter((Y) => Y.id !== j));
5426
5426
  }
5427
5427
  function h(I, O, R, j = {}) {
5428
5428
  const H = n(I);
5429
5429
  if (!d(H, O)) return !1;
5430
- const W = c(H, R), Z = ps(H, O);
5431
- if (Bs(Z, W)) return !1;
5430
+ const Y = c(H, R), Z = ps(H, O);
5431
+ if (Bs(Z, Y)) return !1;
5432
5432
  const q = H.config ?? (H.config = {});
5433
- return W.length > 0 ? q[O] = [...W] : (delete q[O], Object.keys(q).length === 0 && delete H.config), m(H, O, W), (j.commit ?? !0) && i.commit(j.tag), !0;
5433
+ return Y.length > 0 ? q[O] = [...Y] : (delete q[O], Object.keys(q).length === 0 && delete H.config), m(H, O, Y), (j.commit ?? !0) && i.commit(j.tag), !0;
5434
5434
  }
5435
5435
  function y(I, O = {}) {
5436
5436
  const R = e.value.groups.filter((j) => j.ownerId !== I);
@@ -5466,9 +5466,9 @@ function I1({ state: e, groupMapById: t, getNodeById: n, history: i }) {
5466
5466
  const H = j.pop();
5467
5467
  if (R.has(H)) continue;
5468
5468
  if (R.add(H), H === I) return !0;
5469
- const W = s.value.get(H);
5470
- if (W)
5471
- for (const Z of W)
5469
+ const Y = s.value.get(H);
5470
+ if (Y)
5471
+ for (const Z of Y)
5472
5472
  R.has(Z) || j.push(Z);
5473
5473
  }
5474
5474
  return !1;
@@ -5480,16 +5480,16 @@ function I1({ state: e, groupMapById: t, getNodeById: n, history: i }) {
5480
5480
  function w(I, O, R, j = {}) {
5481
5481
  const H = n(I);
5482
5482
  if (!H || !k(I, O, R)) return !1;
5483
- const W = ps(H, O);
5484
- if (W.includes(R)) return !1;
5483
+ const Y = ps(H, O);
5484
+ if (Y.includes(R)) return !1;
5485
5485
  T(R, { commit: !1 });
5486
- const Z = [...W, R];
5486
+ const Z = [...Y, R];
5487
5487
  return h(I, O, Z, { commit: !1 }) ? ((j.commit ?? !0) && i.commit(j.tag), !0) : !1;
5488
5488
  }
5489
5489
  function T(I, O = {}) {
5490
5490
  const R = v(I);
5491
5491
  if (!R) return !1;
5492
- const j = _(R.ownerId, R.branch), H = j.filter((W) => W !== I);
5492
+ const j = _(R.ownerId, R.branch), H = j.filter((Y) => Y !== I);
5493
5493
  return H.length === j.length ? !1 : h(R.ownerId, R.branch, H, O);
5494
5494
  }
5495
5495
  function P(I) {
@@ -5648,8 +5648,8 @@ function lc(e, t) {
5648
5648
  D[E] = O;
5649
5649
  const R = ar(T.name, E), j = a.get(R), H = j ? {
5650
5650
  position: li(j.position)
5651
- } : void 0, W = Rp(T.id, E, T.phase, O, H);
5652
- f.push(W), !j && !h && (h = !0);
5651
+ } : void 0, Y = Rp(T.id, E, T.phase, O, H);
5652
+ f.push(Y), !j && !h && (h = !0);
5653
5653
  } else
5654
5654
  delete D[E], a.has(ar(T.name, E)) && (h = !0);
5655
5655
  }
@@ -5954,7 +5954,7 @@ const [jp, j1] = dl(
5954
5954
  function H(ee) {
5955
5955
  return j(ee).filter((le) => le.target === ee);
5956
5956
  }
5957
- function W(ee) {
5957
+ function Y(ee) {
5958
5958
  return j(ee).filter((le) => le.source === ee);
5959
5959
  }
5960
5960
  const Z = L(
@@ -6003,7 +6003,7 @@ const [jp, j1] = dl(
6003
6003
  }
6004
6004
  return i.value.nodes.push(ke), pe && s.commit(), d.value = !0, ke.id;
6005
6005
  }
6006
- function Y(ee, le = !0) {
6006
+ function J(ee, le = !0) {
6007
6007
  if (!I(ee)) return;
6008
6008
  i.value.edges = i.value.edges.filter(
6009
6009
  (ke) => ke.source !== ee && ke.target !== ee
@@ -6121,7 +6121,7 @@ const [jp, j1] = dl(
6121
6121
  le && s.commit();
6122
6122
  }
6123
6123
  function Je(ee, le = !0) {
6124
- const pe = W(ee);
6124
+ const pe = Y(ee);
6125
6125
  for (const Ae of pe)
6126
6126
  Ke(Ae.id, !1);
6127
6127
  le && s.commit();
@@ -6244,7 +6244,7 @@ const [jp, j1] = dl(
6244
6244
  getEdgeById: R,
6245
6245
  getEdgesByNodeId: j,
6246
6246
  getInEdgesByNodeId: H,
6247
- getOutEdgesByNodeId: W,
6247
+ getOutEdgesByNodeId: Y,
6248
6248
  selectedNode: Z,
6249
6249
  selectNode: q,
6250
6250
  selectPortalEdge: G,
@@ -6252,7 +6252,7 @@ const [jp, j1] = dl(
6252
6252
  createNode: M,
6253
6253
  addNode: Q,
6254
6254
  duplicateNode: V,
6255
- removeNode: Y,
6255
+ removeNode: J,
6256
6256
  renameNode: B,
6257
6257
  moveNode: $,
6258
6258
  moveGroup: K,
@@ -6325,7 +6325,7 @@ function D1(e) {
6325
6325
  async function D(O = !0) {
6326
6326
  const R = new Map(
6327
6327
  o.value.map(($) => [$.id, $.data])
6328
- ), j = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), W = ($) => {
6328
+ ), j = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), Y = ($) => {
6329
6329
  if (!$) return;
6330
6330
  let K = H.get($);
6331
6331
  return K || (K = a($), K && H.set($, K), K);
@@ -6335,7 +6335,7 @@ function D1(e) {
6335
6335
  }, G = ($) => {
6336
6336
  if (!Yo($.data))
6337
6337
  return $.parentNode;
6338
- const K = W($.data.ownerId);
6338
+ const K = Y($.data.ownerId);
6339
6339
  if (!K)
6340
6340
  throw new Error(`Cannot find owner node '${$.data.ownerId}' for group node '${$.id}' via findNode`);
6341
6341
  return K.parentNode;
@@ -6345,7 +6345,7 @@ function D1(e) {
6345
6345
  const K = $.source, ae = $.target;
6346
6346
  if (m(K) || m(ae))
6347
6347
  continue;
6348
- const ie = W(K), fe = W(ae);
6348
+ const ie = Y(K), fe = Y(ae);
6349
6349
  if (ie) {
6350
6350
  if (!fe)
6351
6351
  throw new Error(`Cannot find target node '${ae}' for edge '${$.id}' via findNode`);
@@ -6358,7 +6358,7 @@ function D1(e) {
6358
6358
  const Ue = G(be);
6359
6359
  if (!Ue)
6360
6360
  throw new Error(`Expected node '${be.id}' to have parent, but it does not`);
6361
- const Ke = W(Ue);
6361
+ const Ke = Y(Ue);
6362
6362
  if (!Ke)
6363
6363
  throw new Error(`Cannot find parent node '${Ue}' for node '${be.id}' via findNode`);
6364
6364
  be = Ke, me--;
@@ -6366,7 +6366,7 @@ function D1(e) {
6366
6366
  const Ue = G(ce);
6367
6367
  if (!Ue)
6368
6368
  throw new Error(`Expected node '${ce.id}' to have parent, but it does not`);
6369
- const Ke = W(Ue);
6369
+ const Ke = Y(Ue);
6370
6370
  if (!Ke)
6371
6371
  throw new Error(`Cannot find parent node '${Ue}' for node '${ce.id}' via findNode`);
6372
6372
  ce = Ke, je--;
@@ -6389,7 +6389,7 @@ function D1(e) {
6389
6389
  const st = `Expected node '${be.id}' to have parent, but it does not`;
6390
6390
  throw console.error(st, be), new Error(st);
6391
6391
  }
6392
- const He = W(Ue), Je = W(Ke);
6392
+ const He = Y(Ue), Je = Y(Ke);
6393
6393
  if (He) {
6394
6394
  if (!Je)
6395
6395
  throw new Error(`Cannot find parent node '${Ke}' for node '${ce.id}' via findNode`);
@@ -6413,7 +6413,7 @@ function D1(e) {
6413
6413
  }, []),
6414
6414
  {
6415
6415
  virtualEdges: j.get(q($.ownerId)),
6416
- cachedFindNode: W
6416
+ cachedFindNode: Y
6417
6417
  }
6418
6418
  ), await an(), _($.id, !1), await b();
6419
6419
  const Q = R.values().toArray();
@@ -6422,17 +6422,17 @@ function D1(e) {
6422
6422
  const K = h.value.get($.id);
6423
6423
  K && Q.push(...K);
6424
6424
  }
6425
- const { autoNodes: V, leftNode: Y, rightNode: B } = I(Q);
6425
+ const { autoNodes: V, leftNode: J, rightNode: B } = I(Q);
6426
6426
  E(V, {
6427
- leftNode: Y,
6427
+ leftNode: J,
6428
6428
  rightNode: B,
6429
6429
  virtualEdges: j.get(0),
6430
- cachedFindNode: W
6430
+ cachedFindNode: Y
6431
6431
  }), O && c();
6432
6432
  }
6433
6433
  function E(O, R) {
6434
6434
  var be, ce, me, je, Ue;
6435
- const { leftNode: j, rightNode: H, virtualEdges: W, cachedFindNode: Z } = R || {}, q = j ? (Z ?? a)(j.id) : void 0, G = H ? (Z ?? a)(H.id) : void 0;
6435
+ const { leftNode: j, rightNode: H, virtualEdges: Y, cachedFindNode: Z } = R || {}, q = j ? (Z ?? a)(j.id) : void 0, G = H ? (Z ?? a)(H.id) : void 0;
6436
6436
  let M;
6437
6437
  if (O.length > 0) {
6438
6438
  M = new sc.graphlib.Graph({ multigraph: !0 }), M.setGraph({
@@ -6452,7 +6452,7 @@ function D1(e) {
6452
6452
  }
6453
6453
  for (const He of r.value)
6454
6454
  !Ke.has(He.source) || !Ke.has(He.target) || M.setEdge(He.source, He.target, { points: [] });
6455
- W == null || W.forEach((He) => M.setEdge(He, { points: [] })), sc.layout(M);
6455
+ Y == null || Y.forEach((He) => M.setEdge(He, { points: [] })), sc.layout(M);
6456
6456
  }
6457
6457
  const Q = [], V = (Ke) => ({
6458
6458
  x: Ke.x - Ke.width / 2,
@@ -6473,10 +6473,10 @@ function D1(e) {
6473
6473
  ) : f(Ke.id, { x: Je.x, y: Je.y }, !1);
6474
6474
  }
6475
6475
  }
6476
- const Y = Q.length > 0 ? Mp(Q) : { x: 0, y: 0, width: 0, height: 0 }, B = Y.width, $ = Y.height, K = Y.x, ae = Y.x + Y.width, ie = Math.max(
6476
+ const J = Q.length > 0 ? Mp(Q) : { x: 0, y: 0, width: 0, height: 0 }, B = J.width, $ = J.height, K = J.x, ae = J.x + J.width, ie = Math.max(
6477
6477
  0,
6478
6478
  Math.min(bt(x == null ? void 0 : x.width) ?? Number.POSITIVE_INFINITY, dy) - B - 2 * w - (((be = q == null ? void 0 : q.dimensions) == null ? void 0 : be.width) ?? 0) - (((ce = G == null ? void 0 : G.dimensions) == null ? void 0 : ce.width) ?? 0) - 2 * A
6479
- ), fe = Y.y + $ / 2;
6479
+ ), fe = J.y + $ / 2;
6480
6480
  j && f(j.id, {
6481
6481
  x: K - w - ie / 2 - (((me = q == null ? void 0 : q.dimensions) == null ? void 0 : me.width) ?? 0),
6482
6482
  y: fe - (((je = q == null ? void 0 : q.dimensions) == null ? void 0 : je.height) ?? 0) / 2
@@ -6488,18 +6488,18 @@ function D1(e) {
6488
6488
  function I(O) {
6489
6489
  let R, j;
6490
6490
  const H = [];
6491
- for (const W of O) {
6492
- if (Yo(W)) {
6493
- H.push(W);
6491
+ for (const Y of O) {
6492
+ if (Yo(Y)) {
6493
+ H.push(Y);
6494
6494
  continue;
6495
6495
  }
6496
- switch (W.name) {
6496
+ switch (Y.name) {
6497
6497
  case "request": {
6498
6498
  if (n !== "request")
6499
6499
  throw new Error(`Unexpected request node in ${n} phase`);
6500
6500
  if (R)
6501
6501
  throw new Error("Duplicated request node in request phase");
6502
- R = W;
6502
+ R = Y;
6503
6503
  break;
6504
6504
  }
6505
6505
  case "service_request": {
@@ -6507,7 +6507,7 @@ function D1(e) {
6507
6507
  throw new Error(`Unexpected service_request node in ${n} phase`);
6508
6508
  if (j)
6509
6509
  throw new Error("Duplicated service_request node in request phase");
6510
- j = W;
6510
+ j = Y;
6511
6511
  break;
6512
6512
  }
6513
6513
  case "service_response": {
@@ -6515,7 +6515,7 @@ function D1(e) {
6515
6515
  throw new Error(`Unexpected service_response node in ${n} phase`);
6516
6516
  if (j)
6517
6517
  throw new Error("Duplicated service_response node in response phase");
6518
- j = W;
6518
+ j = Y;
6519
6519
  break;
6520
6520
  }
6521
6521
  case "response": {
@@ -6523,11 +6523,11 @@ function D1(e) {
6523
6523
  throw new Error(`Unexpected response node in ${n} phase`);
6524
6524
  if (R)
6525
6525
  throw new Error("Duplicated response node in response phase");
6526
- R = W;
6526
+ R = Y;
6527
6527
  break;
6528
6528
  }
6529
6529
  default: {
6530
- H.push(W);
6530
+ H.push(Y);
6531
6531
  break;
6532
6532
  }
6533
6533
  }
@@ -6618,7 +6618,7 @@ function B1({
6618
6618
  }), k = L(() => {
6619
6619
  const G = /* @__PURE__ */ new Map();
6620
6620
  return y.value.forEach((M, Q) => {
6621
- const V = M.filter((Y) => Y.phase === e);
6621
+ const V = M.filter((J) => J.phase === e);
6622
6622
  V.length > 0 && G.set(Q, V);
6623
6623
  }), G;
6624
6624
  }), w = L(() => {
@@ -6626,15 +6626,15 @@ function B1({
6626
6626
  for (const M of a.value.groups) {
6627
6627
  const Q = s(M.ownerId);
6628
6628
  if (!Q || Q.phase !== e) continue;
6629
- const V = M.position, Y = M.dimensions;
6630
- if (!V || !Y) continue;
6629
+ const V = M.position, J = M.dimensions;
6630
+ if (!V || !J) continue;
6631
6631
  const B = x(M).filter((K) => K.phase === e && !K.hidden), $ = v(M.id);
6632
6632
  G.push({
6633
6633
  id: M.id,
6634
6634
  type: "group",
6635
6635
  position: V,
6636
- width: Y.width,
6637
- height: Y.height,
6636
+ width: J.width,
6637
+ height: J.height,
6638
6638
  data: {
6639
6639
  ...M,
6640
6640
  memberIds: B.map((K) => K.id)
@@ -6659,7 +6659,7 @@ function B1({
6659
6659
  if (M.phase !== e || !M.position || !M.dimensions) continue;
6660
6660
  const Q = s(M.ownerId);
6661
6661
  if (!Q || Q.phase !== e || Q.hidden || !x(M).filter(($) => $.phase === e && !$.hidden).length) continue;
6662
- const Y = Math.max(_(Q.id), v(M.id)) + T.value + 1, B = {
6662
+ const J = Math.max(_(Q.id), v(M.id)) + T.value + 1, B = {
6663
6663
  id: `branch:${M.id}`,
6664
6664
  source: Q.id,
6665
6665
  target: M.id,
@@ -6675,7 +6675,7 @@ function B1({
6675
6675
  branch: M.branch,
6676
6676
  groupId: M.id
6677
6677
  },
6678
- zIndex: Y * cr + uy
6678
+ zIndex: J * cr + uy
6679
6679
  };
6680
6680
  G.push(B);
6681
6681
  }
@@ -6708,11 +6708,11 @@ function B1({
6708
6708
  });
6709
6709
  }
6710
6710
  }
6711
- const Y = Mp(V), B = Y.width + lo * 2, $ = Y.height + lo * 2;
6711
+ const J = Mp(V), B = J.width + lo * 2, $ = J.height + lo * 2;
6712
6712
  return {
6713
6713
  position: {
6714
- x: Math.round(Y.x - lo),
6715
- y: Math.round(Y.y - lo)
6714
+ x: Math.round(J.x - lo),
6715
+ y: Math.round(J.y - lo)
6716
6716
  },
6717
6717
  dimensions: {
6718
6718
  width: Math.round(B),
@@ -6729,21 +6729,21 @@ function B1({
6729
6729
  const G = [];
6730
6730
  let M = !1;
6731
6731
  D.forEach((Q, V) => {
6732
- const Y = c(V, Q, !1);
6733
- G.push({ id: V, changed: Y, commit: Q.commit }), Q.commit && Y && !M && (M = !0);
6732
+ const J = c(V, Q, !1);
6733
+ G.push({ id: V, changed: J, commit: Q.commit }), Q.commit && J && !M && (M = !0);
6734
6734
  }), D.clear(), I = void 0;
6735
- for (const { id: Q, changed: V, commit: Y } of G) {
6735
+ for (const { id: Q, changed: V, commit: J } of G) {
6736
6736
  if (!V) continue;
6737
6737
  const B = l.value.get(Q);
6738
6738
  if (!B) continue;
6739
6739
  const $ = A.value.get(B.ownerId);
6740
- $ && E.set($.id, { commit: Y });
6740
+ $ && E.set($.id, { commit: J });
6741
6741
  }
6742
6742
  if (E.size > 0) {
6743
6743
  const Q = Array.from(E);
6744
6744
  E.clear();
6745
- for (const [V, { commit: Y }] of Q)
6746
- H(V, Y);
6745
+ for (const [V, { commit: J }] of Q)
6746
+ H(V, J);
6747
6747
  }
6748
6748
  M && p("*");
6749
6749
  }
@@ -6756,10 +6756,10 @@ function B1({
6756
6756
  const V = O(Q, M);
6757
6757
  V && (D.set(G, V), j());
6758
6758
  }
6759
- function W(G, M, Q, V) {
6760
- const Y = l.value.get(G);
6761
- if (!Y) return;
6762
- if (!Y.position) {
6759
+ function Y(G, M, Q, V) {
6760
+ const J = l.value.get(G);
6761
+ if (!J) return;
6762
+ if (!J.position) {
6763
6763
  f(G, M, !1), H(G);
6764
6764
  return;
6765
6765
  }
@@ -6795,8 +6795,8 @@ function B1({
6795
6795
  if (!Q) return !1;
6796
6796
  if (Q === G || M.some((V) => Q === V)) return !0;
6797
6797
  for (const V of M) {
6798
- const Y = k.value.get(V) ?? [];
6799
- if (Y != null && Y.some((B) => B.id === Q))
6798
+ const J = k.value.get(V) ?? [];
6799
+ if (J != null && J.some((B) => B.id === Q))
6800
6800
  return !0;
6801
6801
  }
6802
6802
  return !1;
@@ -6806,7 +6806,7 @@ function B1({
6806
6806
  () => a.value.groups.filter((M) => M.phase === e).map((M) => {
6807
6807
  const Q = M.memberIds.map((V) => {
6808
6808
  var K, ae;
6809
- const Y = o(V), B = Math.round(((K = Y == null ? void 0 : Y.dimensions) == null ? void 0 : K.width) ?? 0), $ = Math.round(((ae = Y == null ? void 0 : Y.dimensions) == null ? void 0 : ae.height) ?? 0);
6809
+ const J = o(V), B = Math.round(((K = J == null ? void 0 : J.dimensions) == null ? void 0 : K.width) ?? 0), $ = Math.round(((ae = J == null ? void 0 : J.dimensions) == null ? void 0 : ae.height) ?? 0);
6810
6810
  return `${V}:${B}x${$}`;
6811
6811
  });
6812
6812
  return {
@@ -6833,7 +6833,7 @@ function B1({
6833
6833
  branchEdges: P,
6834
6834
  isBranchEdgeId: b,
6835
6835
  updateGroupLayout: H,
6836
- translateGroupTree: W,
6836
+ translateGroupTree: Y,
6837
6837
  getNodeDepth: _,
6838
6838
  maxGroupDepth: T,
6839
6839
  waitForLayoutFlush: () => I ?? Promise.resolve()
@@ -6923,18 +6923,18 @@ const [G1, H1] = dl(
6923
6923
  const {
6924
6924
  state: j,
6925
6925
  commit: H,
6926
- moveNode: W,
6926
+ moveNode: Y,
6927
6927
  selectNode: Z,
6928
6928
  removeNode: q,
6929
6929
  getNodeById: G,
6930
6930
  connectEdge: M,
6931
6931
  disconnectEdge: Q,
6932
6932
  getInEdgesByNodeId: V,
6933
- branchGroups: Y,
6933
+ branchGroups: J,
6934
6934
  commit: B,
6935
6935
  reset: $,
6936
6936
  groupMapById: K
6937
- } = f, { isGroupId: ae, canAddMember: ie } = Y, fe = pn(), be = (U) => {
6937
+ } = f, { isGroupId: ae, canAddMember: ie } = J, fe = pn(), be = (U) => {
6938
6938
  fe.value = U;
6939
6939
  }, ce = ed(fe);
6940
6940
  function me(U, oe) {
@@ -6983,7 +6983,7 @@ const [G1, H1] = dl(
6983
6983
  };
6984
6984
  })
6985
6985
  ), Ae = L(
6986
- () => j.value.edges.filter((U) => me(U, t)).filter((U) => !Y.isEdgeEnteringGroup(U.source, U.target)).filter((U) => {
6986
+ () => j.value.edges.filter((U) => me(U, t)).filter((U) => !J.isEdgeEnteringGroup(U.source, U.target)).filter((U) => {
6987
6987
  const oe = G(U.source), z = G(U.target);
6988
6988
  return !(oe != null && oe.hidden) && !(z != null && z.hidden);
6989
6989
  }).map((U) => {
@@ -7121,7 +7121,7 @@ const [G1, H1] = dl(
7121
7121
  y: Ye.position.y + U.position.y
7122
7122
  });
7123
7123
  }
7124
- if (W(z, Te, !1), !yr(G(z))) {
7124
+ if (Y(z, Te, !1), !yr(G(z))) {
7125
7125
  const Ye = {
7126
7126
  x: Te.x,
7127
7127
  y: Te.y,
@@ -7151,7 +7151,7 @@ const [G1, H1] = dl(
7151
7151
  y: Be.position.y + U.position.y
7152
7152
  });
7153
7153
  }
7154
- W(oe, Se, !1);
7154
+ Y(oe, Se, !1);
7155
7155
  const Te = z && ae(z) ? z : (Re = Ue.value.get(oe)) == null ? void 0 : Re.id;
7156
7156
  Te && st(Te, !1), De(oe), le(), H();
7157
7157
  }), k((U) => {
@@ -7218,7 +7218,7 @@ const [G1, H1] = dl(
7218
7218
  }
7219
7219
  function De(U) {
7220
7220
  if (!he.value) return !1;
7221
- const { nodeId: oe, branch: z } = e1(he.value), Se = Y.addMember(oe, z, U, { commit: !1 });
7221
+ const { nodeId: oe, branch: z } = e1(he.value), Se = J.addMember(oe, z, U, { commit: !1 });
7222
7222
  return ee(void 0), Se;
7223
7223
  }
7224
7224
  return {
@@ -7497,28 +7497,28 @@ const Q1 = {
7497
7497
  ), _ = L(
7498
7498
  () => h.value && r(e.data.id).every((V) => V.sourceField === void 0)
7499
7499
  ), v = L(() => e.data.expanded.input ?? !1), b = L(() => e.data.expanded.output ?? !1), x = L(() => {
7500
- var V, Y, B;
7501
- return ((B = (Y = (V = p.value.io) == null ? void 0 : V.next) == null ? void 0 : Y.branches) == null ? void 0 : B.map(({ name: $ }) => $)) ?? [];
7500
+ var V, J, B;
7501
+ return ((B = (J = (V = p.value.io) == null ? void 0 : V.next) == null ? void 0 : J.branches) == null ? void 0 : B.map(({ name: $ }) => $)) ?? [];
7502
7502
  }), A = L(() => x.value.length > 0), k = L(() => c.findMembership(e.data.id)), w = L(() => {
7503
- var V, Y;
7503
+ var V, J;
7504
7504
  if (e.data.type === "property") {
7505
7505
  const B = (V = e.data.config) == null ? void 0 : V.property;
7506
7506
  return qs(B);
7507
7507
  }
7508
- return (Y = p.value.io) == null ? void 0 : Y.input;
7508
+ return (J = p.value.io) == null ? void 0 : J.input;
7509
7509
  }), T = L(() => {
7510
- var V, Y;
7510
+ var V, J;
7511
7511
  if (e.data.type === "property") {
7512
7512
  const B = (V = e.data.config) == null ? void 0 : V.property;
7513
7513
  return Ol(B);
7514
7514
  }
7515
- return (Y = p.value.io) == null ? void 0 : Y.output;
7515
+ return (J = p.value.io) == null ? void 0 : J.output;
7516
7516
  }), P = L(() => yr(e.data)), D = L(() => e.data.phase === "response"), E = L(() => e.data.phase === "request" ? Qn.Left : Qn.Right), I = L(() => e.data.phase === "request" ? Qn.Right : Qn.Left), O = L(() => e.data.phase === "request" ? Qn.Right : Qn.Left), R = L(() => yr(e.data) ? n(`plugins.free-form.datakit.flow_editor.node_types.${e.data.type}.name`) : e.data.name), j = L(() => P.value ? Uh : Vh);
7517
7517
  function H(V) {
7518
7518
  return V === "input" ? D.value : !D.value;
7519
7519
  }
7520
- function W(V) {
7521
- const Y = /* @__PURE__ */ new Map(), B = V === "input" ? o(e.data.id) : r(e.data.id);
7520
+ function Y(V) {
7521
+ const J = /* @__PURE__ */ new Map(), B = V === "input" ? o(e.data.id) : r(e.data.id);
7522
7522
  for (const $ of B) {
7523
7523
  const K = a(V === "input" ? $.source : $.target);
7524
7524
  if (!K) continue;
@@ -7542,12 +7542,12 @@ const Q1 = {
7542
7542
  edgeId: $.id,
7543
7543
  node: K,
7544
7544
  fieldName: ie
7545
- }, be = Y.get(ae);
7546
- be ? be.push(fe) : Y.set(ae, [fe]);
7545
+ }, be = J.get(ae);
7546
+ be ? be.push(fe) : J.set(ae, [fe]);
7547
7547
  }
7548
- return Y;
7548
+ return J;
7549
7549
  }
7550
- const Z = L(() => W("input")), q = L(() => W("output"));
7550
+ const Z = L(() => Y("input")), q = L(() => Y("output"));
7551
7551
  function G(V) {
7552
7552
  !i || i.readonly || V === "input" && !y.value || V === "output" && !_.value || l(e.data.id, V);
7553
7553
  }
@@ -7563,11 +7563,11 @@ const Q1 = {
7563
7563
  V || l(e.data.id, "input", !0, !0, "*");
7564
7564
  }, { immediate: !0 }), Xe(_, (V) => {
7565
7565
  V || l(e.data.id, "output", !0, !0, "*");
7566
- }, { immediate: !0 }), Xe(() => e.data.fields.input, (V, Y) => {
7567
- on(V, Y) || l(e.data.id, "input", V.length > 0, !0, "*");
7568
- }, { deep: !0 }), Xe(() => e.data.fields.output, (V, Y) => {
7569
- on(V, Y) || l(e.data.id, "output", V.length > 0, !0, "*");
7570
- }, { deep: !0 }), (V, Y) => (S(), se("div", {
7566
+ }, { immediate: !0 }), Xe(() => e.data.fields.input, (V, J) => {
7567
+ on(V, J) || l(e.data.id, "input", V.length > 0, !0, "*");
7568
+ }, { deep: !0 }), Xe(() => e.data.fields.output, (V, J) => {
7569
+ on(V, J) || l(e.data.id, "output", V.length > 0, !0, "*");
7570
+ }, { deep: !0 }), (V, J) => (S(), se("div", {
7571
7571
  class: yt(["dk-flow-node", {
7572
7572
  reversed: D.value,
7573
7573
  implicit: P.value,
@@ -7610,7 +7610,7 @@ const Q1 = {
7610
7610
  popoverClasses: "dk-flow-node-menu"
7611
7611
  },
7612
7612
  width: "160",
7613
- onClick: Y[1] || (Y[1] = Ft(() => {
7613
+ onClick: J[1] || (J[1] = Ft(() => {
7614
7614
  }, ["stop"]))
7615
7615
  }, {
7616
7616
  items: N(() => [
@@ -7634,7 +7634,7 @@ const Q1 = {
7634
7634
  })) : ge("", !0),
7635
7635
  C(u(tr), {
7636
7636
  danger: "",
7637
- onClick: Y[0] || (Y[0] = (B) => u(d)(e.data.id))
7637
+ onClick: J[0] || (J[0] = (B) => u(d)(e.data.id))
7638
7638
  }, {
7639
7639
  default: N(() => [
7640
7640
  C(wr, {
@@ -7691,9 +7691,9 @@ const Q1 = {
7691
7691
  class: yt(["handle-label trigger", {
7692
7692
  collapsible: y.value
7693
7693
  }]),
7694
- onClick: Y[2] || (Y[2] = Ft((B) => G("input"), ["stop"]))
7694
+ onClick: J[2] || (J[2] = Ft((B) => G("input"), ["stop"]))
7695
7695
  }, [
7696
- Y[4] || (Y[4] = ne("div", { class: "text" }, " inputs ", -1)),
7696
+ J[4] || (J[4] = ne("div", { class: "text" }, " inputs ", -1)),
7697
7697
  m.value ? (S(), se(Ge, { key: 0 }, [
7698
7698
  v.value ? ge("", !0) : (S(), te(u(hu), {
7699
7699
  key: 0,
@@ -7749,9 +7749,9 @@ const Q1 = {
7749
7749
  class: yt(["handle-label trigger", {
7750
7750
  collapsible: _.value
7751
7751
  }]),
7752
- onClick: Y[3] || (Y[3] = Ft((B) => G("output"), ["stop"]))
7752
+ onClick: J[3] || (J[3] = Ft((B) => G("output"), ["stop"]))
7753
7753
  }, [
7754
- Y[5] || (Y[5] = ne("div", { class: "text" }, " outputs ", -1)),
7754
+ J[5] || (J[5] = ne("div", { class: "text" }, " outputs ", -1)),
7755
7755
  h.value ? (S(), se(Ge, { key: 0 }, [
7756
7756
  b.value ? ge("", !0) : (S(), te(u(hu), {
7757
7757
  key: 0,
@@ -7890,7 +7890,7 @@ const Q1 = {
7890
7890
  readonly: e.mode !== "edit"
7891
7891
  }), { addNode: b, propertiesPanelOpen: x, invalidConfigNodeIds: A, selectedNode: k, duplicateNode: w, commit: T, selectPortalEdge: P } = f, { screenToFlowCoordinate: D, zoomIn: E, zoomOut: I, viewport: O, maxZoom: R, minZoom: j } = d, {
7892
7892
  activeGroupId: H,
7893
- startPanelDrag: W,
7893
+ startPanelDrag: Y,
7894
7894
  endPanelDrag: Z,
7895
7895
  updateActiveGroup: q,
7896
7896
  attachNodeToActiveGroup: G
@@ -7920,7 +7920,7 @@ const Q1 = {
7920
7920
  function V(ie) {
7921
7921
  e.mode === "edit" && (ie.preventDefault(), q(D({ x: ie.clientX, y: ie.clientY })));
7922
7922
  }
7923
- function Y(ie) {
7923
+ function J(ie) {
7924
7924
  var He;
7925
7925
  if (e.mode !== "edit") return;
7926
7926
  const fe = (He = ie.dataTransfer) == null ? void 0 : He.getData(ta);
@@ -7960,7 +7960,7 @@ const Q1 = {
7960
7960
  return e.mode === "edit" && ie.push({ name: "auto_layout", icon: ng, action: $ }), ie;
7961
7961
  });
7962
7962
  e.mode === "edit" && (ua("dragstart", (ie) => {
7963
- M(ie) && W();
7963
+ M(ie) && Y();
7964
7964
  }), ua("dragend", () => {
7965
7965
  Z();
7966
7966
  }));
@@ -7990,7 +7990,7 @@ const Q1 = {
7990
7990
  "nodes-connectable": e.mode === "edit",
7991
7991
  "nodes-draggable": e.mode === "edit",
7992
7992
  onDragover: V,
7993
- onDrop: Y,
7993
+ onDrop: J,
7994
7994
  onNodeClick: Q,
7995
7995
  onNodesChange: fe[0] || (fe[0] = (be) => o("nodes-change")),
7996
7996
  onNodesInitialized: B
@@ -8379,7 +8379,7 @@ const Ni = (e) => {
8379
8379
  value: "current-cp",
8380
8380
  label: o("custom_field.key_auth_identity_realms.cp_label"),
8381
8381
  group: o("custom_field.key_auth_identity_realms.cp_group_label")
8382
- }, a = ft(Yn), { axiosInstance: l } = En(a == null ? void 0 : a.axiosRequestConfig), s = () => {
8382
+ }, a = ft(Yn), { axiosInstance: l } = xn(a == null ? void 0 : a.axiosRequestConfig), s = () => {
8383
8383
  if ((a == null ? void 0 : a.app) === "konnect") {
8384
8384
  const h = /\b(us|eu|au|me|in|sg)\b/.exec((a == null ? void 0 : a.apiBaseUrl) || "");
8385
8385
  if (h)
@@ -8938,7 +8938,7 @@ const Ni = (e) => {
8938
8938
  }
8939
8939
  ], YC = {
8940
8940
  fields: WC
8941
- }, In = {
8941
+ }, Tn = {
8942
8942
  "basic-auth": {
8943
8943
  descriptionKey: "plugins.meta.basic-auth.description",
8944
8944
  nameKey: "plugins.meta.basic-auth.name",
@@ -9679,7 +9679,7 @@ const Ni = (e) => {
9679
9679
  jwt_secrets: VC
9680
9680
  }, Hp = () => {
9681
9681
  const { i18n: { t: e } } = it(), t = {}, n = {};
9682
- for (const [o, r] of Object.entries(In))
9682
+ for (const [o, r] of Object.entries(Tn))
9683
9683
  t[o] = {
9684
9684
  ...r,
9685
9685
  name: e(r.nameKey),
@@ -10937,7 +10937,7 @@ ${P}`
10937
10937
  !w || !k || Object.entries(w).forEach(([D, [E, I]]) => {
10938
10938
  if (P != null && P.includes(D)) return;
10939
10939
  const O = Ia(k, E), R = T ? NE(wt(T, D)) : D;
10940
- if (typeof I == "object" && I !== null && Zs in I ? on(O, I[Zs]) : Array.isArray(I) ? I.some((W) => on(O, W)) : on(O, I)) {
10940
+ if (typeof I == "object" && I !== null && Zs in I ? on(O, I[Zs]) : Array.isArray(I) ? I.some((Y) => on(O, Y)) : on(O, I)) {
10941
10941
  i.value.delete(R), e();
10942
10942
  return;
10943
10943
  }
@@ -11096,8 +11096,8 @@ const [WE, YE] = dl(
11096
11096
  const O = bt(p), R = ma(O);
11097
11097
  if (v.value.size > 0)
11098
11098
  for (const j of v.value) {
11099
- const H = mn(j), W = H.slice(0, -1);
11100
- (W.length === 0 || Ia(R, W) != null) && Sp(R, H, s(j));
11099
+ const H = mn(j), Y = H.slice(0, -1);
11100
+ (Y.length === 0 || Ia(R, Y) != null) && Sp(R, H, s(j));
11101
11101
  }
11102
11102
  return f.deserialize(R);
11103
11103
  }
@@ -11487,7 +11487,7 @@ const tx = ["data-testid"], nx = /* @__PURE__ */ Oe({
11487
11487
  class: "ff-scope-entity-field",
11488
11488
  "data-testid": `ff-${r.path.value}`
11489
11489
  }, [
11490
- u(a).label ? (S(), te(u(hn), Cn(We({ key: 0 }, u(a).labelAttributes)), {
11490
+ u(a).label ? (S(), te(u(hn), En(We({ key: 0 }, u(a).labelAttributes)), {
11491
11491
  default: N(() => [
11492
11492
  Le(ue(u(a).label), 1)
11493
11493
  ]),
@@ -11569,7 +11569,7 @@ const No = /* @__PURE__ */ Oe({
11569
11569
  Qe(tn(), (m, h) => ({
11570
11570
  name: h,
11571
11571
  fn: N((y) => [
11572
- Ze(c.$slots, h, Cn(zn(y)))
11572
+ Ze(c.$slots, h, En(zn(y)))
11573
11573
  ])
11574
11574
  }))
11575
11575
  ]), 1040, ["character-limit", "model-value", "resizable"]));
@@ -11618,7 +11618,7 @@ const No = /* @__PURE__ */ Oe({
11618
11618
  key: 0,
11619
11619
  appearance: "danger",
11620
11620
  message: s.error.message
11621
- }, null, 8, ["message"])) : Qt((S(), se("div", Cn(We({ key: 1 }, v.$attrs)), [
11621
+ }, null, 8, ["message"])) : Qt((S(), se("div", En(We({ key: 1 }, v.$attrs)), [
11622
11622
  C(No, We({
11623
11623
  ...u(d),
11624
11624
  showPasswordMaskToggle: p.value,
@@ -11737,7 +11737,7 @@ const No = /* @__PURE__ */ Oe({
11737
11737
  ]);
11738
11738
  };
11739
11739
  }
11740
- }), On = /* @__PURE__ */ ze(mx, [["__scopeId", "data-v-a1c08c7f"]]), gx = ["data-testid"], hx = ["innerHTML"], yx = /* @__PURE__ */ Oe({
11740
+ }), Cn = /* @__PURE__ */ ze(mx, [["__scopeId", "data-v-a1c08c7f"]]), gx = ["data-testid"], hx = ["innerHTML"], yx = /* @__PURE__ */ Oe({
11741
11741
  inheritAttrs: !1,
11742
11742
  __name: "StringArrayField",
11743
11743
  props: {
@@ -11865,7 +11865,7 @@ const No = /* @__PURE__ */ Oe({
11865
11865
  });
11866
11866
  return (I, O) => {
11867
11867
  var q;
11868
- const R = Ie("KAlert"), j = Ie("KLabel"), H = Ie("KButton"), W = Ie("KTooltip"), Z = Ie("KTabs");
11868
+ const R = Ie("KAlert"), j = Ie("KLabel"), H = Ie("KButton"), Y = Ie("KTooltip"), Z = Ie("KTabs");
11869
11869
  return d.error ? (S(), te(R, {
11870
11870
  key: 0,
11871
11871
  appearance: "danger",
@@ -11950,7 +11950,7 @@ const No = /* @__PURE__ */ Oe({
11950
11950
  name: String(M)
11951
11951
  }, null, 8, ["name"]))
11952
11952
  ]),
11953
- C(W, {
11953
+ C(Y, {
11954
11954
  class: "ff-array-field-item-remove-tooltip",
11955
11955
  text: u(o)("actions.remove_entity", { entity: p.value })
11956
11956
  }, {
@@ -12563,7 +12563,7 @@ const No = /* @__PURE__ */ Oe({
12563
12563
  h.$slots["item-label"] ? {
12564
12564
  name: "item-template",
12565
12565
  fn: N(({ item: b }) => [
12566
- Ze(h.$slots, "item-label", Cn(zn(b)), void 0, !0)
12566
+ Ze(h.$slots, "item-label", En(zn(b)), void 0, !0)
12567
12567
  ]),
12568
12568
  key: "1"
12569
12569
  } : void 0
@@ -12805,16 +12805,16 @@ const No = /* @__PURE__ */ Oe({
12805
12805
  "data-testid": `ff-map-key-${u(d).path.value}.${H}`,
12806
12806
  "model-value": j,
12807
12807
  placeholder: e.keyPlaceholder || "Key",
12808
- onKeydown: gu(Ft((W) => x(H), ["prevent"]), ["enter"]),
12809
- "onUpdate:modelValue": (W) => u(a)(R, W)
12808
+ onKeydown: gu(Ft((Y) => x(H), ["prevent"]), ["enter"]),
12809
+ "onUpdate:modelValue": (Y) => u(a)(R, Y)
12810
12810
  }, null, 8, ["data-key-input", "data-testid", "model-value", "placeholder", "onKeydown", "onUpdate:modelValue"]),
12811
12811
  Ze(w.$slots, "default", { keyId: R }, () => {
12812
- var W, Z;
12812
+ var Y, Z;
12813
12813
  return [
12814
12814
  y.value ? (S(), te(rt, {
12815
12815
  key: 0,
12816
12816
  "inline-vault-picker": "",
12817
- multiline: (Z = (W = e.appearance) == null ? void 0 : W.string) == null ? void 0 : Z.multiline,
12817
+ multiline: (Z = (Y = e.appearance) == null ? void 0 : Y.string) == null ? void 0 : Z.multiline,
12818
12818
  name: R,
12819
12819
  onKeydown: gu((q) => b(q, H), ["enter"])
12820
12820
  }, null, 8, ["multiline", "name", "onKeydown"])) : (S(), te(lt, {
@@ -12833,7 +12833,7 @@ const No = /* @__PURE__ */ Oe({
12833
12833
  "aria-label": u(n).t("actions.remove_entity", { entity: u(f) }),
12834
12834
  "data-testid": `ff-map-remove-btn-${u(d).path.value}.${H}`,
12835
12835
  icon: "",
12836
- onClick: (W) => u(s)(R)
12836
+ onClick: (Y) => u(s)(R)
12837
12837
  }, {
12838
12838
  default: N(() => [
12839
12839
  C(u(Or))
@@ -12880,7 +12880,7 @@ const No = /* @__PURE__ */ Oe({
12880
12880
  case "string":
12881
12881
  return "one_of" in n.schema.value ? zt : rt;
12882
12882
  case "boolean":
12883
- return "one_of" in n.schema.value ? zt : On;
12883
+ return "one_of" in n.schema.value ? zt : Cn;
12884
12884
  case "number":
12885
12885
  case "integer":
12886
12886
  return "one_of" in n.schema.value ? zt : Yt;
@@ -13603,7 +13603,7 @@ var eS = Object.create, nf = Object.defineProperty, tS = Object.getOwnPropertyDe
13603
13603
  var j = new Array(256), H = new Array(256);
13604
13604
  for (let g = 0; g < 256; g++)
13605
13605
  j[g] = I(g) ? 1 : 0, H[g] = I(g);
13606
- function W(g, X) {
13606
+ function Y(g, X) {
13607
13607
  this.input = g, this.filename = X.filename || null, this.schema = X.schema || r, this.onWarning = X.onWarning || null, this.legacy = X.legacy || !1, this.json = X.json || !1, this.listener = X.listener || null, this.maxDepth = typeof X.maxDepth == "number" ? X.maxDepth : 100, this.maxMergeSeqLength = typeof X.maxMergeSeqLength == "number" ? X.maxMergeSeqLength : 20, this.implicitTypes = this.schema.compiledImplicit, this.typeMap = this.schema.compiledTypeMap, this.length = g.length, this.position = 0, this.line = 0, this.lineStart = 0, this.lineIndent = 0, this.depth = 0, this.firstTabInLine = -1, this.documents = [], this.anchorMapTransactions = [];
13608
13608
  }
13609
13609
  function Z(g, X) {
@@ -13645,7 +13645,7 @@ var eS = Object.create, nf = Object.defineProperty, tS = Object.getOwnPropertyDe
13645
13645
  a.call(we, ye) || (we[ye] = X[ye]);
13646
13646
  }
13647
13647
  }
13648
- function Y(g) {
13648
+ function J(g) {
13649
13649
  const X = g.anchorMapTransactions.pop(), ve = Object.keys(X);
13650
13650
  for (let we = ve.length - 1; we >= 0; we -= 1) {
13651
13651
  const _e = X[ve[we]];
@@ -13965,7 +13965,7 @@ var eS = Object.create, nf = Object.defineProperty, tS = Object.getOwnPropertyDe
13965
13965
  }
13966
13966
  function ee(g, X, ve, we) {
13967
13967
  const _e = B(g);
13968
- return Q(g), $(g, X), g.tag = null, g.anchor = null, g.kind = null, g.result = null, Ee(g, ve, we) && g.kind === "mapping" ? (V(g), !0) : (Y(g), $(g, _e), !1);
13968
+ return Q(g), $(g, X), g.tag = null, g.anchor = null, g.kind = null, g.result = null, Ee(g, ve, we) && g.kind === "mapping" ? (V(g), !0) : (J(g), $(g, _e), !1);
13969
13969
  }
13970
13970
  function le(g, X, ve, we, _e) {
13971
13971
  let Ne, F, ye = 1, De = !1, xe = !1, U = null, oe, z, Se;
@@ -14037,7 +14037,7 @@ var eS = Object.create, nf = Object.defineProperty, tS = Object.getOwnPropertyDe
14037
14037
  function Ae(g, X) {
14038
14038
  g = String(g), X = X || {}, g.length !== 0 && (g.charCodeAt(g.length - 1) !== 10 && g.charCodeAt(g.length - 1) !== 13 && (g += `
14039
14039
  `), g.charCodeAt(0) === 65279 && (g = g.slice(1)));
14040
- const ve = new W(g, X), we = g.indexOf("\0");
14040
+ const ve = new Y(g, X), we = g.indexOf("\0");
14041
14041
  for (we !== -1 && (ve.position = we, q(ve, "null byte is not allowed in input")), ve.input += "\0"; ve.input.charCodeAt(ve.position) === 32; )
14042
14042
  ve.lineIndent += 1, ve.position += 1;
14043
14043
  for (; ve.position < ve.length - 1; ) pe(ve);
@@ -14058,8 +14058,8 @@ var eS = Object.create, nf = Object.defineProperty, tS = Object.getOwnPropertyDe
14058
14058
  }
14059
14059
  t.exports.loadAll = ke, t.exports.load = Pe;
14060
14060
  }), uS = /* @__PURE__ */ Rt((e, t) => {
14061
- var n = Na(), i = Ra(), o = Gl(), r = Object.prototype.toString, a = Object.prototype.hasOwnProperty, l = 65279, s = 9, d = 10, f = 13, c = 32, p = 33, m = 34, h = 35, y = 37, _ = 38, v = 39, b = 42, x = 44, A = 45, k = 58, w = 61, T = 62, P = 63, D = 64, E = 91, I = 93, O = 96, R = 123, j = 124, H = 125, W = {};
14062
- W[0] = "\\0", W[7] = "\\a", W[8] = "\\b", W[9] = "\\t", W[10] = "\\n", W[11] = "\\v", W[12] = "\\f", W[13] = "\\r", W[27] = "\\e", W[34] = '\\"', W[92] = "\\\\", W[133] = "\\N", W[160] = "\\_", W[8232] = "\\L", W[8233] = "\\P";
14061
+ var n = Na(), i = Ra(), o = Gl(), r = Object.prototype.toString, a = Object.prototype.hasOwnProperty, l = 65279, s = 9, d = 10, f = 13, c = 32, p = 33, m = 34, h = 35, y = 37, _ = 38, v = 39, b = 42, x = 44, A = 45, k = 58, w = 61, T = 62, P = 63, D = 64, E = 91, I = 93, O = 96, R = 123, j = 124, H = 125, Y = {};
14062
+ Y[0] = "\\0", Y[7] = "\\a", Y[8] = "\\b", Y[9] = "\\t", Y[10] = "\\n", Y[11] = "\\v", Y[12] = "\\f", Y[13] = "\\r", Y[27] = "\\e", Y[34] = '\\"', Y[92] = "\\\\", Y[133] = "\\N", Y[160] = "\\_", Y[8232] = "\\L", Y[8233] = "\\P";
14063
14063
  var Z = [
14064
14064
  "y",
14065
14065
  "Y",
@@ -14102,7 +14102,7 @@ var eS = Object.create, nf = Object.defineProperty, tS = Object.getOwnPropertyDe
14102
14102
  return "\\" + ye + n.repeat("0", De - xe.length) + xe;
14103
14103
  }
14104
14104
  var Q = 1, V = 2;
14105
- function Y(F) {
14105
+ function J(F) {
14106
14106
  this.schema = F.schema || o, this.indent = Math.max(1, F.indent || 2), this.noArrayIndent = F.noArrayIndent || !1, this.skipInvalid = F.skipInvalid || !1, this.flowLevel = n.isNothing(F.flowLevel) ? -1 : F.flowLevel, this.styleMap = G(this.schema, F.styles || null), this.sortKeys = F.sortKeys || !1, this.lineWidth = F.lineWidth || 80, this.noRefs = F.noRefs || !1, this.noCompatMode = F.noCompatMode || !1, this.condenseFlow = F.condenseFlow || !1, this.quotingType = F.quotingType === '"' ? V : Q, this.forceQuotes = F.forceQuotes || !1, this.replacer = typeof F.replacer == "function" ? F.replacer : null, this.implicitTypes = this.schema.compiledImplicit, this.explicitTypes = this.schema.compiledExplicit, this.tag = null, this.result = "", this.duplicates = [], this.usedDuplicates = null;
14107
14107
  }
14108
14108
  function B(F, ye) {
@@ -14240,7 +14240,7 @@ var eS = Object.create, nf = Object.defineProperty, tS = Object.getOwnPropertyDe
14240
14240
  let ye = "", De = 0;
14241
14241
  for (let xe = 0; xe < F.length; De >= 65536 ? xe += 2 : xe++) {
14242
14242
  De = je(F, xe);
14243
- const U = W[De];
14243
+ const U = Y[De];
14244
14244
  !U && ie(De) ? (ye += F[xe], De >= 65536 && (ye += F[xe + 1])) : ye += U || M(De);
14245
14245
  }
14246
14246
  return ye;
@@ -14355,7 +14355,7 @@ var eS = Object.create, nf = Object.defineProperty, tS = Object.getOwnPropertyDe
14355
14355
  }
14356
14356
  function Ne(F, ye) {
14357
14357
  ye = ye || {};
14358
- const De = new Y(ye);
14358
+ const De = new J(ye);
14359
14359
  De.noRefs || we(F, De);
14360
14360
  let xe = F;
14361
14361
  return De.replacer && (xe = De.replacer.call({ "": xe }, "", xe)), ve(De, 0, xe, !0, !0) ? De.dump + `
@@ -14384,7 +14384,7 @@ var eS = Object.create, nf = Object.defineProperty, tS = Object.getOwnPropertyDe
14384
14384
  seq: rf(),
14385
14385
  str: af()
14386
14386
  }, t.exports.safeLoad = o("safeLoad", "load"), t.exports.safeLoadAll = o("safeLoadAll", "loadAll"), t.exports.safeDump = o("safeDump", "dump");
14387
- }))()), { Type: kF, Schema: CF, FAILSAFE_SCHEMA: EF, JSON_SCHEMA: Li, CORE_SCHEMA: xF, DEFAULT_SCHEMA: SF, load: AF, loadAll: IF, dump: TF, YAMLException: $F, types: PF, safeLoad: OF, safeLoadAll: NF, safeDump: RF } = wf.default, $n = wf.default;
14387
+ }))()), { Type: kF, Schema: CF, FAILSAFE_SCHEMA: EF, JSON_SCHEMA: Li, CORE_SCHEMA: xF, DEFAULT_SCHEMA: SF, load: AF, loadAll: IF, dump: TF, YAMLException: $F, types: PF, safeLoad: OF, safeLoadAll: NF, safeDump: RF } = wf.default, Pn = wf.default;
14388
14388
  const cS = /^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
14389
14389
  function ui() {
14390
14390
  return { lenses: [], dispose: () => {
@@ -15694,7 +15694,7 @@ function Ki(e, t) {
15694
15694
  if (qt(i) && (i.key === t || i.key === n || At(i.key) && i.key.value === n))
15695
15695
  return i;
15696
15696
  }
15697
- class Tn extends Tf {
15697
+ class $n extends Tf {
15698
15698
  static get tagName() {
15699
15699
  return "tag:yaml.org,2002:map";
15700
15700
  }
@@ -15786,12 +15786,12 @@ class Tn extends Tf {
15786
15786
  const jo = {
15787
15787
  collection: "map",
15788
15788
  default: !0,
15789
- nodeClass: Tn,
15789
+ nodeClass: $n,
15790
15790
  tag: "tag:yaml.org,2002:map",
15791
15791
  resolve(e, t) {
15792
15792
  return Lo(e) || t("Expected a mapping for this tag"), e;
15793
15793
  },
15794
- createNode: (e, t, n) => Tn.from(e, t, n)
15794
+ createNode: (e, t, n) => $n.from(e, t, n)
15795
15795
  };
15796
15796
  class Vi extends Tf {
15797
15797
  static get tagName() {
@@ -16159,7 +16159,7 @@ const tu = {
16159
16159
  };
16160
16160
  class yo extends Vi {
16161
16161
  constructor() {
16162
- super(), this.add = Tn.prototype.add.bind(this), this.delete = Tn.prototype.delete.bind(this), this.get = Tn.prototype.get.bind(this), this.has = Tn.prototype.has.bind(this), this.set = Tn.prototype.set.bind(this), this.tag = yo.tag;
16162
+ super(), this.add = $n.prototype.add.bind(this), this.delete = $n.prototype.delete.bind(this), this.get = $n.prototype.get.bind(this), this.has = $n.prototype.has.bind(this), this.set = $n.prototype.set.bind(this), this.tag = yo.tag;
16163
16163
  }
16164
16164
  /**
16165
16165
  * If `ctx` is given, the return type is actually `Map<unknown, unknown>`,
@@ -16308,7 +16308,7 @@ const US = {
16308
16308
  resolve: (e, t, n) => Qr(e, 2, 16, n),
16309
16309
  stringify: (e) => iu(e, 16, "0x")
16310
16310
  };
16311
- class vo extends Tn {
16311
+ class vo extends $n {
16312
16312
  constructor(t) {
16313
16313
  super(t), this.tag = vo.tag;
16314
16314
  }
@@ -16910,7 +16910,7 @@ function Zf(e, t, n) {
16910
16910
  const Oc = "All mapping items must start at the same column";
16911
16911
  function XS({ composeNode: e, composeEmptyNode: t }, n, i, o, r) {
16912
16912
  var a;
16913
- const l = (r == null ? void 0 : r.nodeClass) ?? Tn, s = new l(n.schema);
16913
+ const l = (r == null ? void 0 : r.nodeClass) ?? $n, s = new l(n.schema);
16914
16914
  n.atRoot && (n.atRoot = !1);
16915
16915
  let d = i.offset, f = null;
16916
16916
  for (const c of i.items) {
@@ -17011,7 +17011,7 @@ function La(e, t, n, i) {
17011
17011
  const hs = "Block collections are not allowed within flow collections", ys = (e) => e && (e.type === "block-map" || e.type === "block-seq");
17012
17012
  function QS({ composeNode: e, composeEmptyNode: t }, n, i, o, r) {
17013
17013
  var a;
17014
- const l = i.start.source === "{", s = l ? "flow map" : "flow sequence", d = (r == null ? void 0 : r.nodeClass) ?? (l ? Tn : Vi), f = new d(n.schema);
17014
+ const l = i.start.source === "{", s = l ? "flow map" : "flow sequence", d = (r == null ? void 0 : r.nodeClass) ?? (l ? $n : Vi), f = new d(n.schema);
17015
17015
  f.flow = !0;
17016
17016
  const c = n.atRoot;
17017
17017
  c && (n.atRoot = !1), n.atKey && (n.atKey = !1);
@@ -17098,7 +17098,7 @@ function QS({ composeNode: e, composeEmptyNode: t }, n, i, o, r) {
17098
17098
  const R = f;
17099
17099
  Zf(n, R.items, D) && o(P, "DUPLICATE_KEY", "Map keys must be unique"), R.items.push(O);
17100
17100
  } else {
17101
- const R = new Tn(n.schema);
17101
+ const R = new $n(n.schema);
17102
17102
  R.flow = !0, R.items.push(O);
17103
17103
  const j = (I ?? D).range;
17104
17104
  R.range = [D.range[0], j[1], j[2]], f.items.push(R);
@@ -17134,7 +17134,7 @@ function eA(e, t, n, i, o) {
17134
17134
  y && (!h || h.offset < y.offset) && o(y, "MISSING_CHAR", "Missing newline after block sequence props");
17135
17135
  }
17136
17136
  const s = n.type === "block-map" ? "map" : n.type === "block-seq" ? "seq" : n.start.source === "{" ? "map" : "seq";
17137
- if (!a || !l || l === "!" || l === Tn.tagName && s === "map" || l === Vi.tagName && s === "seq")
17137
+ if (!a || !l || l === "!" || l === $n.tagName && s === "map" || l === Vi.tagName && s === "seq")
17138
17138
  return vs(e, t, n, o, l);
17139
17139
  let d = t.schema.tags.find((m) => m.tag === l && m.collection === s);
17140
17140
  if (!d) {
@@ -19245,7 +19245,7 @@ function jc(e) {
19245
19245
  }));
19246
19246
  }
19247
19247
  function DA(e, t) {
19248
- const n = `kong.entities-plugins.codeEditor.command.${NA()}`, i = `${n}.copy`, o = `${n}.viewEntity`, { axiosInstance: r } = En(t ?? e.axiosRequestConfig), a = Hi(), { i18n: { t: l } } = it(), { getSchemaMap: s } = gt(), d = LA();
19248
+ const n = `kong.entities-plugins.codeEditor.command.${NA()}`, i = `${n}.copy`, o = `${n}.viewEntity`, { axiosInstance: r } = xn(t ?? e.axiosRequestConfig), a = Hi(), { i18n: { t: l } } = it(), { getSchemaMap: s } = gt(), d = LA();
19249
19249
  function f(p, m) {
19250
19250
  const h = /* @__PURE__ */ new Map(), y = new wh(), _ = `${n}.${p}.reloadCodeLensProvider`, v = lu(m ?? [p], async (A, k) => {
19251
19251
  const w = A == null ? void 0 : A.id;
@@ -19299,13 +19299,13 @@ function DA(e, t) {
19299
19299
  const R = d[p], j = k.id.substring(T + 1);
19300
19300
  switch (E) {
19301
19301
  case "field": {
19302
- const H = R.fields.find((Z) => Z.id === j), W = await (H == null ? void 0 : H.resolve(O));
19303
- W && (k.command = { id: "", title: W });
19302
+ const H = R.fields.find((Z) => Z.id === j), Y = await (H == null ? void 0 : H.resolve(O));
19303
+ Y && (k.command = { id: "", title: Y });
19304
19304
  break;
19305
19305
  }
19306
19306
  case "cmd": {
19307
- const H = (I = R.commands) == null ? void 0 : I.find((Z) => Z.id === j), W = await (H == null ? void 0 : H.resolve(O, i));
19308
- W && (k.command = W);
19307
+ const H = (I = R.commands) == null ? void 0 : I.find((Z) => Z.id === j), Y = await (H == null ? void 0 : H.resolve(O, i));
19308
+ Y && (k.command = Y);
19309
19309
  break;
19310
19310
  }
19311
19311
  }
@@ -19408,7 +19408,7 @@ const qA = {
19408
19408
  validateStatus: (m) => m >= 200 && m < 500
19409
19409
  });
19410
19410
  function s() {
19411
- return $n.dump(Ai(Ir(i), ["__ui_data"]), {
19411
+ return Pn.dump(Ai(Ir(i), ["__ui_data"]), {
19412
19412
  schema: Li,
19413
19413
  noArrayIndent: !0
19414
19414
  });
@@ -19424,7 +19424,7 @@ const qA = {
19424
19424
  const h = m.getModel();
19425
19425
  h && (l(h), a.value = m, m.onDidChangeModelContent(() => {
19426
19426
  try {
19427
- const y = $n.load(m.getValue() || "", {
19427
+ const y = Pn.load(m.getValue() || "", {
19428
19428
  schema: Li,
19429
19429
  json: !0
19430
19430
  });
@@ -19751,7 +19751,7 @@ const qA = {
19751
19751
  }, j = (G) => {
19752
19752
  let M = `${A.apiBaseUrl}${WA[A.app].getOne}`;
19753
19753
  return A.app === "konnect" && (M = M.replace(/{controlPlaneId}/gi, (A == null ? void 0 : A.controlPlaneId) || "")), M = M.replace(/\/{workspace}/gi, A != null && A.workspace ? `/${A.workspace}` : "").replace(/{id}/gi, String(G)), M;
19754
- }, { axiosInstance: H } = En(A == null ? void 0 : A.axiosRequestConfig), W = () => {
19754
+ }, { axiosInstance: H } = xn(A == null ? void 0 : A.axiosRequestConfig), Y = () => {
19755
19755
  p.value ? (_.value && (v.value = _.value, h.value = _.value[0].id, b.value = void 0), b != null && b.value && (y.value = b.value)) : (Object.keys(y.value).length && (b.value = y.value), v != null && v.value && (_.value = v.value), v.value = l ? null : void 0);
19756
19756
  }, Z = async (G) => {
19757
19757
  if (G) {
@@ -19768,7 +19768,7 @@ const qA = {
19768
19768
  }
19769
19769
  };
19770
19770
  return Xe(() => p.value, () => {
19771
- W();
19771
+ Y();
19772
19772
  }), Gi(() => {
19773
19773
  var G;
19774
19774
  if (o.defaultRedisConfigItem || v != null && v.value) {
@@ -19778,8 +19778,8 @@ const qA = {
19778
19778
  }), Xe(() => x == null ? void 0 : x.value, (G) => {
19779
19779
  p.value && (G && v.value ? v.value = l ? null : void 0 : G || _.value && (v.value = _.value, Z(_.value[0].id)));
19780
19780
  }), (G, M) => {
19781
- const Q = Ie("KBadge"), V = Ie("KRadio"), Y = Ie("KCard");
19782
- return f.value ? Qt((S(), te(Y, {
19781
+ const Q = Ie("KBadge"), V = Ie("KRadio"), J = Ie("KCard");
19782
+ return f.value ? Qt((S(), te(J, {
19783
19783
  key: 0,
19784
19784
  class: "redis-config-card",
19785
19785
  "data-testid": "redis-config-card",
@@ -20037,7 +20037,7 @@ const qA = {
20037
20037
  text: n("plugins.form.scoping.disable_global_radio")
20038
20038
  } : { class: "scope" };
20039
20039
  }), y = L(() => {
20040
- var V, Y;
20040
+ var V, J;
20041
20041
  return (V = i.formSchema) != null && V.groups ? i.formSchema.groups.reduce(
20042
20042
  (B, $) => {
20043
20043
  var ie, fe;
@@ -20045,27 +20045,27 @@ const qA = {
20045
20045
  return B.concat(ae);
20046
20046
  },
20047
20047
  []
20048
- ) : ((Y = i.formSchema) == null ? void 0 : Y.fields) || [];
20048
+ ) : ((J = i.formSchema) == null ? void 0 : J.fields) || [];
20049
20049
  }), _ = L(() => y.value.find((V) => V.type === "selectionGroup")), v = L(() => {
20050
20050
  var V;
20051
- return (((V = _.value) == null ? void 0 : V.fields) || []).map(({ label: Y, description: B }) => ({ label: Y, description: B }));
20051
+ return (((V = _.value) == null ? void 0 : V.fields) || []).map(({ label: J, description: B }) => ({ label: J, description: B }));
20052
20052
  }), b = L(() => {
20053
- var V, Y;
20054
- return (Y = (V = _.value) == null ? void 0 : V.fields) == null ? void 0 : Y[1];
20053
+ var V, J;
20054
+ return (J = (V = _.value) == null ? void 0 : V.fields) == null ? void 0 : J[1];
20055
20055
  }), x = L(() => {
20056
20056
  var V;
20057
- return (((V = b.value) == null ? void 0 : V.fields) ?? []).map((Y) => {
20057
+ return (((V = b.value) == null ? void 0 : V.fields) ?? []).map((J) => {
20058
20058
  var B;
20059
20059
  return {
20060
- name: Y.model.split("-")[0],
20061
- entity: Y.entity,
20062
- fields: (B = Y.inputValues) == null ? void 0 : B.fields,
20063
- label: Y.label,
20064
- placeholder: Y.placeholder,
20065
- help: Y.help,
20066
- disabled: Y.disabled,
20067
- disabledTooltip: Y.disabledTooltip,
20068
- labelField: Y.labelField
20060
+ name: J.model.split("-")[0],
20061
+ entity: J.entity,
20062
+ fields: (B = J.inputValues) == null ? void 0 : B.fields,
20063
+ label: J.label,
20064
+ placeholder: J.placeholder,
20065
+ help: J.help,
20066
+ disabled: J.disabled,
20067
+ disabledTooltip: J.disabledTooltip,
20068
+ labelField: J.labelField
20069
20069
  };
20070
20070
  });
20071
20071
  }), A = ["instance_name", "protocols", "tags", "condition"], k = ["config"], w = L(() => {
@@ -20073,10 +20073,10 @@ const qA = {
20073
20073
  const V = {
20074
20074
  type: "record",
20075
20075
  fields: i.schema.fields.filter((K) => k.includes(Object.keys(K)[0]))
20076
- }, Y = y.value.find((K) => K.model === "enabled");
20076
+ }, J = y.value.find((K) => K.model === "enabled");
20077
20077
  return [
20078
20078
  // enabled field
20079
- ...Y ? [Y] : [],
20079
+ ...J ? [J] : [],
20080
20080
  // scope fields
20081
20081
  ...(($ = b.value) == null ? void 0 : $.fields) ?? [],
20082
20082
  // general info fields
@@ -20138,7 +20138,7 @@ const qA = {
20138
20138
  () => new Set(w.value.fields.map((V) => Object.keys(V)[0]))
20139
20139
  ), P = L(() => js(i.model, t)), D = L(() => {
20140
20140
  var V;
20141
- return ((V = b.value) == null ? void 0 : V.fields.map((Y) => Y.model)) ?? [];
20141
+ return ((V = b.value) == null ? void 0 : V.fields.map((J) => J.model)) ?? [];
20142
20142
  }), E = L(() => D.value.map((V) => V.split("-")[0])), I = de(
20143
20143
  i.isEditing ? js(P.value, E.value) : M()
20144
20144
  ), O = de(Object.values(I.value).some(G)), R = xt("form");
@@ -20146,27 +20146,27 @@ const qA = {
20146
20146
  function H(V) {
20147
20147
  return i.isEditing ? V : { ...V, ...M() };
20148
20148
  }
20149
- function W() {
20149
+ function Y() {
20150
20150
  if (!R.value) return;
20151
- const { getValue: V, setValue: Y } = R.value, $ = { ...V() };
20151
+ const { getValue: V, setValue: J } = R.value, $ = { ...V() };
20152
20152
  O.value ? E.value.forEach((K) => {
20153
20153
  $[K] = I.value[K] ?? null;
20154
20154
  }) : E.value.forEach((K) => {
20155
20155
  $[K] = null;
20156
- }), j = !0, Y($), an(() => {
20156
+ }), j = !0, J($), an(() => {
20157
20157
  j = !1;
20158
20158
  });
20159
20159
  }
20160
20160
  function Z(V) {
20161
20161
  if (j || q(V), s.value === "code") {
20162
- const Y = E.value.some((B) => G(V[B]));
20163
- Y !== O.value && (O.value = Y);
20162
+ const J = E.value.some((B) => G(V[B]));
20163
+ J !== O.value && (O.value = J);
20164
20164
  }
20165
20165
  }
20166
20166
  function q(V) {
20167
- E.value.forEach((Y) => {
20168
- const B = V[Y];
20169
- gr(B, "id") && B.id != null ? I.value[Y] = B : I.value[Y] = null;
20167
+ E.value.forEach((J) => {
20168
+ const B = V[J];
20169
+ gr(B, "id") && B.id != null ? I.value[J] = B : I.value[J] = null;
20170
20170
  });
20171
20171
  }
20172
20172
  function G(V) {
@@ -20174,16 +20174,16 @@ const qA = {
20174
20174
  }
20175
20175
  function M() {
20176
20176
  const V = {};
20177
- return D.value.forEach((Y) => {
20178
- if (i.formModel[Y]) {
20179
- const B = Y.split("-")[0];
20177
+ return D.value.forEach((J) => {
20178
+ if (i.formModel[J]) {
20179
+ const B = J.split("-")[0];
20180
20180
  if (!B) return;
20181
- V[B] = { id: i.formModel[Y] };
20181
+ V[B] = { id: i.formModel[J] };
20182
20182
  }
20183
20183
  }), V;
20184
20184
  }
20185
20185
  const Q = de(!0);
20186
- return (V, Y) => (S(), se(Ge, null, [
20186
+ return (V, J) => (S(), se(Ge, null, [
20187
20187
  d.value ? (S(), te($r, {
20188
20188
  key: 0,
20189
20189
  to: "#plugin-form-page-actions"
@@ -20226,31 +20226,31 @@ const qA = {
20226
20226
  default: N(() => {
20227
20227
  var $;
20228
20228
  return [
20229
- (S(), te(jt(($ = _.value) != null && $.disabled ? u(Gn) : "div"), Cn(zn(h.value)), {
20229
+ (S(), te(jt(($ = _.value) != null && $.disabled ? u(Gn) : "div"), En(zn(h.value)), {
20230
20230
  default: N(() => {
20231
20231
  var K, ae;
20232
20232
  return [
20233
20233
  ne("div", pI, [
20234
20234
  C(u(ni), We({
20235
20235
  modelValue: O.value,
20236
- "onUpdate:modelValue": Y[0] || (Y[0] = (ie) => O.value = ie),
20236
+ "onUpdate:modelValue": J[0] || (J[0] = (ie) => O.value = ie),
20237
20237
  card: "",
20238
20238
  "card-orientation": "horizontal"
20239
20239
  }, v.value[0], {
20240
20240
  disabled: (K = _.value) == null ? void 0 : K.disabled,
20241
20241
  "selected-value": !1,
20242
- "onUpdate:modelValue": W
20242
+ "onUpdate:modelValue": Y
20243
20243
  }), null, 16, ["modelValue", "disabled"]),
20244
20244
  v.value[1] ? (S(), te(u(ni), We({
20245
20245
  key: 0,
20246
20246
  modelValue: O.value,
20247
- "onUpdate:modelValue": Y[1] || (Y[1] = (ie) => O.value = ie),
20247
+ "onUpdate:modelValue": J[1] || (J[1] = (ie) => O.value = ie),
20248
20248
  card: "",
20249
20249
  "card-orientation": "horizontal"
20250
20250
  }, v.value[1], {
20251
20251
  disabled: (ae = _.value) == null ? void 0 : ae.disabled,
20252
20252
  "selected-value": !0,
20253
- "onUpdate:modelValue": W
20253
+ "onUpdate:modelValue": Y
20254
20254
  }), null, 16, ["modelValue", "disabled"])) : ge("", !0)
20255
20255
  ])
20256
20256
  ];
@@ -20379,7 +20379,7 @@ const qA = {
20379
20379
  w.value.fields.find(($) => Object.keys($)[0] === "condition") ? (S(), te(u(ld), {
20380
20380
  key: 4,
20381
20381
  modelValue: Q.value,
20382
- "onUpdate:modelValue": Y[2] || (Y[2] = ($) => Q.value = $),
20382
+ "onUpdate:modelValue": J[2] || (J[2] = ($) => Q.value = $),
20383
20383
  "data-testid": "view-general-info-additional-settings",
20384
20384
  "trigger-label": Q.value ? u(n)("plugins.form.grouping.advanced_parameters.view") : u(n)("plugins.form.grouping.advanced_parameters.hide")
20385
20385
  }, {
@@ -20443,11 +20443,11 @@ const si = /* @__PURE__ */ Oe({
20443
20443
  ...n,
20444
20444
  ...t
20445
20445
  }));
20446
- return (a, l) => (S(), te(jt(u(o)), Cn(zn(r.value)), vt({ _: 2 }, [
20446
+ return (a, l) => (S(), te(jt(u(o)), En(zn(r.value)), vt({ _: 2 }, [
20447
20447
  Qe(u(i), (s, d) => ({
20448
20448
  name: d,
20449
20449
  fn: N((f) => [
20450
- Ze(a.$slots, d, Cn(zn(f ?? {})))
20450
+ Ze(a.$slots, d, En(zn(f ?? {})))
20451
20451
  ])
20452
20452
  }))
20453
20453
  ]), 1040));
@@ -20522,7 +20522,7 @@ const si = /* @__PURE__ */ Oe({
20522
20522
  },
20523
20523
  setup(e) {
20524
20524
  const t = e, n = tn();
20525
- return Kt(Jn, n == null ? void 0 : n[Pn]), (i, o) => (S(), te(si, Cn(zn(t)), {
20525
+ return Kt(Jn, n == null ? void 0 : n[On]), (i, o) => (S(), te(si, En(zn(t)), {
20526
20526
  default: N(() => [
20527
20527
  C(vI),
20528
20528
  C(Gt, {
@@ -20665,7 +20665,7 @@ const si = /* @__PURE__ */ Oe({
20665
20665
  },
20666
20666
  setup(e) {
20667
20667
  const t = e, n = tn();
20668
- return Kt(Jn, n == null ? void 0 : n[Pn]), (i, o) => (S(), te(si, Cn(zn(t)), {
20668
+ return Kt(Jn, n == null ? void 0 : n[On]), (i, o) => (S(), te(si, En(zn(t)), {
20669
20669
  default: N(() => [
20670
20670
  C(cm)
20671
20671
  ]),
@@ -20715,9 +20715,9 @@ const CI = nt({
20715
20715
  },
20716
20716
  setup(e) {
20717
20717
  const t = e, n = tn();
20718
- Kt(Jn, n == null ? void 0 : n[Pn]);
20718
+ Kt(Jn, n == null ? void 0 : n[On]);
20719
20719
  const { i18n: { t: i } } = ut.useI18n();
20720
- return (o, r) => (S(), te(si, Cn(zn(t)), {
20720
+ return (o, r) => (S(), te(si, En(zn(t)), {
20721
20721
  "field-renderers": N(() => [
20722
20722
  C(Dt, {
20723
20723
  match: ({ path: a }) => a === "config.default_acl"
@@ -21071,19 +21071,19 @@ const CI = nt({
21071
21071
  __name: "ConfigFormContent",
21072
21072
  emits: ["click:learn-more", "click:create-entity"],
21073
21073
  setup(e, { emit: t }) {
21074
- const n = t, i = ft(mm), { i18n: o } = ut.useI18n(), r = ft(Yn), a = L(() => (r == null ? void 0 : r.app) === "konnect"), { axiosInstance: l } = En(r == null ? void 0 : r.axiosRequestConfig), { formData: s, getSchema: d } = gt(), f = L(() => !!d("$.config.principals.error_on_miss")), c = de(!1), p = de(!1), m = L(() => !c.value && !p.value), h = L(
21074
+ const n = t, i = ft(mm), { i18n: o } = ut.useI18n(), r = ft(Yn), a = L(() => (r == null ? void 0 : r.app) === "konnect"), { axiosInstance: l } = xn(r == null ? void 0 : r.axiosRequestConfig), { formData: s, getSchema: d } = gt(), f = L(() => !!d("$.config.principals.error_on_miss")), c = de(!1), p = de(!1), m = L(() => !c.value && !p.value), h = L(
21075
21075
  () => a.value && T.value && E.value === "kong-identity" && (c.value || m.value)
21076
21076
  ), y = de(null), _ = L(() => {
21077
- var Y, B;
21078
- return ((B = (Y = s.config) == null ? void 0 : Y.principals) == null ? void 0 : B.error_on_miss) ?? !0;
21077
+ var J, B;
21078
+ return ((B = (J = s.config) == null ? void 0 : J.principals) == null ? void 0 : B.error_on_miss) ?? !0;
21079
21079
  });
21080
- function v(Y) {
21080
+ function v(J) {
21081
21081
  var B;
21082
- (B = s.config) != null && B.principals && (s.config.principals.error_on_miss = Y);
21082
+ (B = s.config) != null && B.principals && (s.config.principals.error_on_miss = J);
21083
21083
  }
21084
21084
  const b = de([]), x = de(!1);
21085
21085
  fn(async () => {
21086
- var Y;
21086
+ var J;
21087
21087
  if (!((r == null ? void 0 : r.app) !== "konnect" || !k.value))
21088
21088
  try {
21089
21089
  x.value = !0;
@@ -21091,7 +21091,7 @@ const CI = nt({
21091
21091
  const $ = [];
21092
21092
  do {
21093
21093
  const K = await l.get(B);
21094
- (Y = K == null ? void 0 : K.data) != null && Y.data && $.push(...K.data.data.map((ae) => ({
21094
+ (J = K == null ? void 0 : K.data) != null && J.data && $.push(...K.data.data.map((ae) => ({
21095
21095
  value: ae.id,
21096
21096
  label: ae.name
21097
21097
  }))), B = K.data.meta.next ? `${r.apiBaseUrl}${K.data.meta.next}` : null;
@@ -21107,25 +21107,25 @@ const CI = nt({
21107
21107
  () => w && !!d("$.config.principals") && (r == null ? void 0 : r.isKongIdentityDirectoriesAvailable) !== !1
21108
21108
  );
21109
21109
  function P() {
21110
- var Y, B, $, K;
21111
- if ((B = (Y = s.config) == null ? void 0 : Y.principals) != null && B.enabled) return "kong-identity";
21110
+ var J, B, $, K;
21111
+ if ((B = (J = s.config) == null ? void 0 : J.principals) != null && B.enabled) return "kong-identity";
21112
21112
  if (a.value) {
21113
21113
  if (D(($ = s.config) == null ? void 0 : $.identity_realms)) return "centrally-managed";
21114
21114
  } else if (Array.isArray((K = s.config) == null ? void 0 : K.identity_realms) && s.config.identity_realms.length > 0) return "centrally-managed";
21115
21115
  return "consumers";
21116
21116
  }
21117
- function D(Y) {
21118
- return !Array.isArray(Y) || Y.length === 0 ? !1 : Y.some((B) => B.scope !== "cp" && B.id != null);
21117
+ function D(J) {
21118
+ return !Array.isArray(J) || J.length === 0 ? !1 : J.some((B) => B.scope !== "cp" && B.id != null);
21119
21119
  }
21120
21120
  const E = de(P()), I = E.value === "kong-identity", O = async () => {
21121
- var Y, B, $, K, ae;
21121
+ var J, B, $, K, ae;
21122
21122
  if ((r == null ? void 0 : r.app) === "konnect")
21123
21123
  try {
21124
21124
  y.value || (c.value = !0);
21125
21125
  const ie = await l.get(
21126
21126
  `${r.apiBaseUrl}/v2/directories`,
21127
21127
  { params: { "page[size]": 1 } }
21128
- ), fe = (B = (Y = ie == null ? void 0 : ie.data) == null ? void 0 : Y.data) == null ? void 0 : B[0];
21128
+ ), fe = (B = (J = ie == null ? void 0 : ie.data) == null ? void 0 : J.data) == null ? void 0 : B[0];
21129
21129
  if (!fe) {
21130
21130
  p.value = !1;
21131
21131
  return;
@@ -21144,46 +21144,46 @@ const CI = nt({
21144
21144
  };
21145
21145
  fn(() => {
21146
21146
  a.value && T.value && O();
21147
- }), Xe(E, (Y) => {
21147
+ }), Xe(E, (J) => {
21148
21148
  var B;
21149
- !a.value || !T.value || Y !== "kong-identity" || (y.value && ((B = s.config) != null && B.principals) && (s.config.principals.directory = y.value.name), c.value || O());
21149
+ !a.value || !T.value || J !== "kong-identity" || (y.value && ((B = s.config) != null && B.principals) && (s.config.principals.directory = y.value.name), c.value || O());
21150
21150
  });
21151
21151
  const R = L(
21152
21152
  () => {
21153
- var Y;
21154
- return a.value && E.value === "centrally-managed" && !D((Y = s.config) == null ? void 0 : Y.identity_realms);
21153
+ var J;
21154
+ return a.value && E.value === "centrally-managed" && !D((J = s.config) == null ? void 0 : J.identity_realms);
21155
21155
  }
21156
21156
  ), j = de(!1), H = de(!1);
21157
- let W = !1;
21158
- Xe(E, async (Y) => {
21159
- Y === "centrally-managed" && (j.value = !1, H.value = !1, W = !1, await an(), W = !0);
21157
+ let Y = !1;
21158
+ Xe(E, async (J) => {
21159
+ J === "centrally-managed" && (j.value = !1, H.value = !1, Y = !1, await an(), Y = !0);
21160
21160
  }), fn(() => {
21161
- E.value === "centrally-managed" && (W = !0);
21161
+ E.value === "centrally-managed" && (Y = !0);
21162
21162
  }), Xe(() => {
21163
- var Y;
21164
- return (Y = s.config) == null ? void 0 : Y.identity_realms;
21163
+ var J;
21164
+ return (J = s.config) == null ? void 0 : J.identity_realms;
21165
21165
  }, () => {
21166
- E.value === "centrally-managed" && W && (j.value = !0);
21166
+ E.value === "centrally-managed" && Y && (j.value = !0);
21167
21167
  }, { deep: !0 });
21168
21168
  function Z() {
21169
- W && (j.value = !0);
21169
+ Y && (j.value = !0);
21170
21170
  }
21171
21171
  const q = L(
21172
21172
  () => (j.value || H.value) && R.value
21173
21173
  ), G = i == null ? void 0 : i(() => R.value ? (H.value = !0, !1) : !0);
21174
21174
  Tr(() => G == null ? void 0 : G());
21175
21175
  const M = L(() => {
21176
- var Y;
21177
- return !!((Y = d("$.config.realm")) != null && Y.required);
21176
+ var J;
21177
+ return !!((J = d("$.config.realm")) != null && J.required);
21178
21178
  }), Q = L(() => {
21179
- const Y = ["anonymous", "principals", "identity_realms"];
21180
- return M.value || Y.push("realm"), Y;
21179
+ const J = ["anonymous", "principals", "identity_realms"];
21180
+ return M.value || J.push("realm"), J;
21181
21181
  }), V = L(() => {
21182
21182
  var K;
21183
- const Y = d("$.config"), B = ((K = Y == null ? void 0 : Y.fields) == null ? void 0 : K.map((ae) => Object.keys(ae)[0])) ?? [], $ = /* @__PURE__ */ new Set(["anonymous"]);
21183
+ const J = d("$.config"), B = ((K = J == null ? void 0 : J.fields) == null ? void 0 : K.map((ae) => Object.keys(ae)[0])) ?? [], $ = /* @__PURE__ */ new Set(["anonymous"]);
21184
21184
  return !M.value && E.value !== "kong-identity" && $.add("realm"), a.value && k.value && !T.value && $.add("identity_realms"), B.filter((ae) => !$.has(ae));
21185
21185
  });
21186
- return (Y, B) => (S(), se(Ge, null, [
21186
+ return (J, B) => (S(), se(Ge, null, [
21187
21187
  C(Gt, {
21188
21188
  "as-child": "",
21189
21189
  class: "ff-default-visible-fields",
@@ -21286,7 +21286,7 @@ const CI = nt({
21286
21286
  emits: ["click:learn-more", "click:create-entity"],
21287
21287
  setup(e, { emit: t }) {
21288
21288
  const n = e, i = t, o = tn();
21289
- return Kt(Jn, o == null ? void 0 : o[Pn]), (r, a) => (S(), te(si, Cn(zn(n)), {
21289
+ return Kt(Jn, o == null ? void 0 : o[On]), (r, a) => (S(), te(si, En(zn(n)), {
21290
21290
  default: N(() => [
21291
21291
  C(GI, {
21292
21292
  "onClick:createEntity": a[0] || (a[0] = (l) => i("click:create-entity", l)),
@@ -21633,7 +21633,7 @@ const uT = {
21633
21633
  name: "decK",
21634
21634
  extract(e) {
21635
21635
  try {
21636
- const t = $n.load(e);
21636
+ const t = Pn.load(e);
21637
21637
  return ka(t) && Array.isArray(t.plugins) && t.plugins.find(
21638
21638
  (i) => ka(i) && i.name === "datakit"
21639
21639
  ) || null;
@@ -21650,7 +21650,7 @@ const uT = {
21650
21650
  );
21651
21651
  n && (t = n[1] || n[2]);
21652
21652
  try {
21653
- const i = $n.load(t);
21653
+ const i = Pn.load(t);
21654
21654
  if (!ka(i)) return null;
21655
21655
  const o = ka(i.metadata) ? i.metadata : {}, r = i.plugin || o.name;
21656
21656
  return (
@@ -21690,7 +21690,7 @@ const uT = {
21690
21690
  setup(e, { expose: t, emit: n }) {
21691
21691
  const { t: i } = Jt("en-us", nn), { formData: o, setValue: r } = gt(), a = n, { getMessageFromError: l } = Ti(), s = pn(null);
21692
21692
  function d(w) {
21693
- return $n.dump(Ir(w), {
21693
+ return Pn.dump(Ir(w), {
21694
21694
  schema: Li,
21695
21695
  noArrayIndent: !0
21696
21696
  });
@@ -21709,7 +21709,7 @@ const uT = {
21709
21709
  const T = w.getModel();
21710
21710
  T && (s.value = w, w.onDidChangeModelContent(() => {
21711
21711
  try {
21712
- const P = $n.load(w.getValue() || "", {
21712
+ const P = Pn.load(w.getValue() || "", {
21713
21713
  schema: Li,
21714
21714
  json: !0
21715
21715
  });
@@ -21757,10 +21757,10 @@ const uT = {
21757
21757
  function A(w) {
21758
21758
  const T = w.code;
21759
21759
  try {
21760
- const P = $n.load(c.value, {
21760
+ const P = Pn.load(c.value, {
21761
21761
  schema: Li,
21762
21762
  json: !0
21763
- }), D = $n.load(T, {
21763
+ }), D = Pn.load(T, {
21764
21764
  schema: Li,
21765
21765
  json: !0
21766
21766
  });
@@ -21870,15 +21870,15 @@ const _T = { class: "label-content" }, bT = { class: "count" }, wT = { class: "l
21870
21870
  v(y, _), v(_, y), Xe(c, (ce) => {
21871
21871
  ce && (y.removeSelectedElements(), _.removeSelectedElements());
21872
21872
  });
21873
- const b = xt("flowPanels"), x = xt("requestLabel"), A = xt("requestCanvasContainer"), k = xt("requestFlow"), w = xt("resizeHandle"), T = xt("responseLabel"), P = xt("responseCanvasContainer"), D = xt("responseFlow"), E = Oi(b), I = Oi(x), O = Oi(A), R = Oi(w), j = Oi(T), H = Oi(P), W = L(() => Math.max(CT, E.height.value * ks)), Z = L(
21873
+ const b = xt("flowPanels"), x = xt("requestLabel"), A = xt("requestCanvasContainer"), k = xt("requestFlow"), w = xt("resizeHandle"), T = xt("responseLabel"), P = xt("responseCanvasContainer"), D = xt("responseFlow"), E = Oi(b), I = Oi(x), O = Oi(A), R = Oi(w), j = Oi(T), H = Oi(P), Y = L(() => Math.max(CT, E.height.value * ks)), Z = L(
21874
21874
  () => E.height.value - I.height.value - R.height.value - j.height.value
21875
21875
  ), q = L(() => {
21876
21876
  const ce = Z.value;
21877
- return ce ? Math.max(ks, W.value / ce) : ks;
21878
- }), G = de(Dc), M = L(() => `${G.value * 100}%`), Q = L(() => `${(1 - G.value) * 100}%`), V = L(() => G.value <= q.value), Y = L(() => 1 - G.value <= q.value);
21877
+ return ce ? Math.max(ks, Y.value / ce) : ks;
21878
+ }), G = de(Dc), M = L(() => `${G.value * 100}%`), Q = L(() => `${(1 - G.value) * 100}%`), V = L(() => G.value <= q.value), J = L(() => 1 - G.value <= q.value);
21879
21879
  function B(ce, { persist: me = !0 } = {}) {
21880
21880
  const je = Math.min(1, Math.max(0, ce));
21881
- G.value = je, me && e.mode === "edit" && (o.value = Y.value);
21881
+ G.value = je, me && e.mode === "edit" && (o.value = J.value);
21882
21882
  }
21883
21883
  function $(ce, me = !0) {
21884
21884
  B(ce ? 1 : Dc, { persist: me });
@@ -21896,7 +21896,7 @@ const _T = { class: "label-content" }, bT = { class: "count" }, wT = { class: "l
21896
21896
  const ae = () => {
21897
21897
  e.resizable && (V.value ? $(!1) : K());
21898
21898
  }, ie = () => {
21899
- e.resizable && $(!Y.value);
21899
+ e.resizable && $(!J.value);
21900
21900
  }, { isDragging: fe } = Wg(w, {
21901
21901
  onMove(ce) {
21902
21902
  if (!e.resizable) return;
@@ -21910,7 +21910,7 @@ const _T = { class: "label-content" }, bT = { class: "count" }, wT = { class: "l
21910
21910
  B(je, { persist: !1 });
21911
21911
  },
21912
21912
  onEnd() {
21913
- e.resizable && (O.height.value < W.value ? K() : H.height.value < W.value ? $(!0) : B(G.value));
21913
+ e.resizable && (O.height.value < Y.value ? K() : H.height.value < Y.value ? $(!0) : B(G.value));
21914
21914
  }
21915
21915
  });
21916
21916
  function be() {
@@ -21982,7 +21982,7 @@ const _T = { class: "label-content" }, bT = { class: "count" }, wT = { class: "l
21982
21982
  }, [
21983
21983
  e.resizable ? (S(), te(u(vu), {
21984
21984
  key: 0,
21985
- class: yt(["icon", { collapsed: Y.value }])
21985
+ class: yt(["icon", { collapsed: J.value }])
21986
21986
  }, null, 8, ["class"])) : ge("", !0),
21987
21987
  ne("div", wT, [
21988
21988
  Le(ue(u(t)("plugins.free-form.datakit.flow_editor.canvas_panel.response")) + " ", 1),
@@ -22172,7 +22172,7 @@ const _T = { class: "label-content" }, bT = { class: "count" }, wT = { class: "l
22172
22172
  return t(`plugins.free-form.datakit.examples.${p}`);
22173
22173
  }
22174
22174
  function d(p) {
22175
- const m = $n.load(p.code, {
22175
+ const m = Pn.load(p.code, {
22176
22176
  schema: Li,
22177
22177
  json: !0
22178
22178
  });
@@ -22250,7 +22250,7 @@ const _T = { class: "label-content" }, bT = { class: "count" }, wT = { class: "l
22250
22250
  }),
22251
22251
  m[0] || (m[0] = ne("div", { class: "divider" }, null, -1)),
22252
22252
  ne("div", FT, [
22253
- C(On, {
22253
+ C(Cn, {
22254
22254
  label: u(t)("plugins.free-form.datakit.flow_editor.debug.label"),
22255
22255
  "label-attributes": {
22256
22256
  info: u(t)("plugins.free-form.datakit.flow_editor.debug.description"),
@@ -22741,7 +22741,7 @@ const f$ = { key: 1 }, m$ = ["innerHTML"], g$ = { class: "horizontal-container"
22741
22741
  appearance: "danger",
22742
22742
  message: u(r).error.message
22743
22743
  }, null, 8, ["message"])) : Qt((S(), se("div", f$, [
22744
- C(p, Cn(zn(u(a).labelAttributes)), vt({
22744
+ C(p, En(zn(u(a).labelAttributes)), vt({
22745
22745
  default: N(() => [
22746
22746
  Le(ue(u(a).label) + " ", 1)
22747
22747
  ]),
@@ -22794,7 +22794,7 @@ const f$ = { key: 1 }, m$ = ["innerHTML"], g$ = { class: "horizontal-container"
22794
22794
  },
22795
22795
  emits: ["update", "remove", "cancel"],
22796
22796
  setup(e, { emit: t }) {
22797
- const n = $n.dump({ host: "127.0.0.1", port: 6379 }, { indent: 2 }), i = t, { getDefault: o, formData: r } = gt(), a = Wt("cache");
22797
+ const n = Pn.dump({ host: "127.0.0.1", port: 6379 }, { indent: 2 }), i = t, { getDefault: o, formData: r } = gt(), a = Wt("cache");
22798
22798
  if (a.error) throw new Error("No cache schema");
22799
22799
  const l = ft(qo), s = L(() => !!l), d = pn(""), f = de(""), c = de(!1), { i18n: { t: p } } = ut.useI18n(), m = L(() => {
22800
22800
  var T, P, D;
@@ -22804,7 +22804,7 @@ const f$ = { key: 1 }, m$ = ["innerHTML"], g$ = { class: "horizontal-container"
22804
22804
  return (T = a.value.value) == null ? void 0 : T.strategy;
22805
22805
  }), y = L(() => {
22806
22806
  var T;
22807
- return (T = a.value.value) != null && T.redis ? $n.dump(a.value.value.redis, {
22807
+ return (T = a.value.value) != null && T.redis ? Pn.dump(a.value.value.redis, {
22808
22808
  indent: 2,
22809
22809
  noRefs: !0
22810
22810
  }) : "";
@@ -22815,7 +22815,7 @@ const f$ = { key: 1 }, m$ = ["innerHTML"], g$ = { class: "horizontal-container"
22815
22815
  var P;
22816
22816
  if (!s.value && h.value === "redis")
22817
22817
  try {
22818
- const D = $n.load(T, { json: !0 });
22818
+ const D = Pn.load(T, { json: !0 });
22819
22819
  D && typeof D == "object" && (r.cache.redis = D, f.value = "");
22820
22820
  } catch (D) {
22821
22821
  f.value = ((P = D.message) == null ? void 0 : P.split(`
@@ -22911,7 +22911,7 @@ const f$ = { key: 1 }, m$ = ["innerHTML"], g$ = { class: "horizontal-container"
22911
22911
  onProceed: A
22912
22912
  }, {
22913
22913
  default: N(() => {
22914
- var H, W;
22914
+ var H, Y;
22915
22915
  return [
22916
22916
  ne("div", k$, [
22917
22917
  C(du, {
@@ -22939,7 +22939,7 @@ const f$ = { key: 1 }, m$ = ["innerHTML"], g$ = { class: "horizontal-container"
22939
22939
  "onUpdate:modelValue": P[0] || (P[0] = (Z) => u(r).cache.partial_id = Z)
22940
22940
  }, null, 8, ["model-value"])
22941
22941
  ])) : ge("", !0),
22942
- h.value === "redis" && s.value && !((W = u(r).cache) != null && W.partial_id) && y.value ? (S(), se("div", E$, [
22942
+ h.value === "redis" && s.value && !((Y = u(r).cache) != null && Y.partial_id) && y.value ? (S(), se("div", E$, [
22943
22943
  ne("div", null, ue(u(p)("plugins.free-form.datakit.flow_editor.panel_segments.resources.cache.inline_config_preview")), 1),
22944
22944
  C(R, {
22945
22945
  id: "dk-cache-redis-configuration",
@@ -23166,26 +23166,26 @@ function vm(e, t, n) {
23166
23166
  }
23167
23167
  });
23168
23168
  }
23169
- const q$ = J.enum(Tp), B$ = J.enum(To), _m = (e) => To.includes(e), pu = J.enum($p), Bc = pu.options;
23170
- J.union([
23169
+ const q$ = W.enum(Tp), B$ = W.enum(To), _m = (e) => To.includes(e), pu = W.enum($p), Bc = pu.options;
23170
+ W.union([
23171
23171
  pu,
23172
23172
  q$
23173
23173
  ]);
23174
- const U$ = /^[A-Za-z_][A-Za-z0-9_-]{0,254}$/, xr = J.string().min(1).max(255).regex(
23174
+ const U$ = /^[A-Za-z_][A-Za-z0-9_-]{0,254}$/, xr = W.string().min(1).max(255).regex(
23175
23175
  U$,
23176
23176
  "Invalid node name (snake_case / kebab-case only)"
23177
- ).refine((e) => !_m(e), "Name clashes with reserved implicit node").brand(), Uc = J.union([
23177
+ ).refine((e) => !_m(e), "Name clashes with reserved implicit node").brand(), Uc = W.union([
23178
23178
  B$,
23179
23179
  xr
23180
- ]), V$ = J.string().min(1).brand(), z$ = ["then", "else"];
23181
- J.enum(z$);
23182
- const G$ = J.string().min(1).max(255).refine((e) => {
23180
+ ]), V$ = W.string().min(1).brand(), z$ = ["then", "else"];
23181
+ W.enum(z$);
23182
+ const G$ = W.string().min(1).max(255).refine((e) => {
23183
23183
  if (Uc.safeParse(e).success) return !0;
23184
23184
  const t = e.match(/^([^.]+)\.([^.]+)$/);
23185
23185
  if (!t) return !1;
23186
23186
  const [, n, i] = t;
23187
23187
  return Uc.safeParse(n).success && V$.safeParse(i).success;
23188
- }, 'Invalid connection, expected "NODE" or "NODE.FIELD"'), pt = G$.nullish(), H$ = J.object({
23188
+ }, 'Invalid connection, expected "NODE" or "NODE.FIELD"'), pt = G$.nullish(), H$ = W.object({
23189
23189
  body: pt,
23190
23190
  headers: pt,
23191
23191
  http_proxy: pt,
@@ -23194,29 +23194,29 @@ const G$ = J.string().min(1).max(255).refine((e) => {
23194
23194
  proxy_auth_username: pt,
23195
23195
  query: pt,
23196
23196
  url: pt
23197
- }).partial().strict(), W$ = J.object({
23197
+ }).partial().strict(), W$ = W.object({
23198
23198
  headers: pt,
23199
23199
  body: pt
23200
- }).partial().strict(), Y$ = J.object({
23200
+ }).partial().strict(), Y$ = W.object({
23201
23201
  data: pt,
23202
23202
  key: pt,
23203
23203
  ttl: pt
23204
- }).partial().strict(), J$ = J.object({
23204
+ }).partial().strict(), J$ = W.object({
23205
23205
  claims: pt,
23206
23206
  key: pt
23207
- }).partial().strict(), X$ = J.object({
23207
+ }).partial().strict(), X$ = W.object({
23208
23208
  key: pt,
23209
23209
  token: pt
23210
- }).partial().strict(), bm = J.enum(Pp), wm = J.enum(Rl), Fn = J.object({
23211
- type: J.string(),
23210
+ }).partial().strict(), bm = W.enum(Pp), wm = W.enum(Rl), Fn = W.object({
23211
+ type: W.string(),
23212
23212
  name: xr,
23213
23213
  input: pt,
23214
- inputs: J.record(J.string().min(1).max(255), pt).nullish(),
23214
+ inputs: W.record(W.string().min(1).max(255), pt).nullish(),
23215
23215
  output: pt,
23216
- outputs: J.record(J.string().min(1).max(255), pt).nullish()
23216
+ outputs: W.record(W.string().min(1).max(255), pt).nullish()
23217
23217
  }).loose().superRefine((e, t) => {
23218
23218
  ym(e, t);
23219
- }), Z$ = J.object({ type: J.string(), name: J.string() }).loose().superRefine((e, t) => {
23219
+ }), Z$ = W.object({ type: W.string(), name: W.string() }).loose().superRefine((e, t) => {
23220
23220
  const n = e.type, i = e.name;
23221
23221
  (typeof i != "string" || i.length === 0 || i.includes(".")) && t.addIssue({
23222
23222
  code: "custom",
@@ -23231,75 +23231,75 @@ const G$ = J.string().min(1).max(255).refine((e) => {
23231
23231
  )}`
23232
23232
  });
23233
23233
  }), Q$ = Fn.safeExtend({
23234
- type: J.literal("call"),
23234
+ type: W.literal("call"),
23235
23235
  /**
23236
23236
  * A string representing an HTTP method, such as GET, POST, PUT, or DELETE.
23237
23237
  * The string must contain only uppercase letters.
23238
23238
  */
23239
23239
  method: bm.default("GET").nullish(),
23240
23240
  /** A string representing an SNI (server name indication) value for TLS. */
23241
- ssl_server_name: J.string().nullish(),
23241
+ ssl_server_name: W.string().nullish(),
23242
23242
  /** Whether to verify the TLS certificate when making HTTPS requests. */
23243
- ssl_verify: J.boolean().default(!0).nullish(),
23243
+ ssl_verify: W.boolean().default(!0).nullish(),
23244
23244
  /**
23245
23245
  * An integer representing a timeout in milliseconds.
23246
23246
  * Must be between 0 and 2^31-2.
23247
23247
  */
23248
- timeout: J.number().int().min(0).max(2147483646).nullish(),
23248
+ timeout: W.number().int().min(0).max(2147483646).nullish(),
23249
23249
  /**
23250
23250
  * A string representing a URL, such as
23251
23251
  * https://example.com/path/to/resource?q=search
23252
23252
  */
23253
- url: J.url().nullish(),
23253
+ url: W.url().nullish(),
23254
23254
  inputs: H$.nullish(),
23255
- outputs: J.object({
23255
+ outputs: W.object({
23256
23256
  body: pt,
23257
23257
  headers: pt,
23258
23258
  raw_body: pt,
23259
23259
  status: pt
23260
23260
  }).partial().nullish()
23261
23261
  }).strict(), eP = Fn.safeExtend({
23262
- type: J.literal("exit"),
23262
+ type: W.literal("exit"),
23263
23263
  /**
23264
23264
  * HTTP status code.
23265
23265
  * 200–599
23266
23266
  */
23267
- status: J.number().int().min(200).max(599).default(200).nullish(),
23267
+ status: W.number().int().min(200).max(599).default(200).nullish(),
23268
23268
  /** When true, warn if headers have been sent already. */
23269
- warn_headers_sent: J.boolean().nullish(),
23269
+ warn_headers_sent: W.boolean().nullish(),
23270
23270
  inputs: W$.nullish(),
23271
- output: J.never().nullish(),
23272
- outputs: J.never().nullish()
23271
+ output: W.never().nullish(),
23272
+ outputs: W.never().nullish()
23273
23273
  }).strict(), tP = Fn.safeExtend({
23274
- type: J.literal("jq"),
23274
+ type: W.literal("jq"),
23275
23275
  /**
23276
23276
  * The jq filter text. Refer to https://jqlang.org/manual/ for full documentation.
23277
23277
  * 1–10240 characters
23278
23278
  */
23279
- jq: J.string().min(1).max(10240),
23280
- outputs: J.never().nullish()
23279
+ jq: W.string().min(1).max(10240),
23280
+ outputs: W.never().nullish()
23281
23281
  }).strict(), nP = Fn.safeExtend({
23282
- type: J.literal("xml_to_json"),
23282
+ type: W.literal("xml_to_json"),
23283
23283
  /**
23284
23284
  * Automatically detect primitive types (numbers, booleans) when converting.
23285
23285
  */
23286
- recognize_type: J.boolean().nullish().default(!0),
23286
+ recognize_type: W.boolean().nullish().default(!0),
23287
23287
  /**
23288
23288
  * JSON block name to store XML attributes. Optional when attributes_name_prefix is set.
23289
23289
  */
23290
- attributes_block_name: J.string().min(1).max(32).nullish(),
23290
+ attributes_block_name: W.string().min(1).max(32).nullish(),
23291
23291
  /**
23292
23292
  * Prefix for XML attribute names. Optional when attributes_block_name is set.
23293
23293
  */
23294
- attributes_name_prefix: J.string().min(1).max(32).nullish(),
23294
+ attributes_name_prefix: W.string().min(1).max(32).nullish(),
23295
23295
  /** JSON property name for XML text content. */
23296
- text_block_name: J.string().min(1).max(32).nullish().default("#text"),
23296
+ text_block_name: W.string().min(1).max(32).nullish().default("#text"),
23297
23297
  /** Emit text as a property instead of array item when true. */
23298
- text_as_property: J.boolean().nullish().default(!1),
23298
+ text_as_property: W.boolean().nullish().default(!1),
23299
23299
  /** Optional XPath selector for filtering. */
23300
- xpath: J.string().min(1).max(256).nullish(),
23301
- inputs: J.never().nullish(),
23302
- outputs: J.never().nullish()
23300
+ xpath: W.string().min(1).max(256).nullish(),
23301
+ inputs: W.never().nullish(),
23302
+ outputs: W.never().nullish()
23303
23303
  }).strict().superRefine((e, t) => {
23304
23304
  !e.attributes_block_name && !e.attributes_name_prefix && (t.addIssue({
23305
23305
  code: "custom",
@@ -23311,13 +23311,13 @@ const G$ = J.string().min(1).max(255).refine((e) => {
23311
23311
  message: "At least one of attributes_block_name or attributes_name_prefix is required"
23312
23312
  }));
23313
23313
  }), iP = Fn.safeExtend({
23314
- type: J.literal("json_to_xml"),
23315
- attributes_block_name: J.string().min(1).max(32).nullish(),
23316
- attributes_name_prefix: J.string().min(1).max(32).nullish(),
23317
- root_element_name: J.string().min(1).max(64).nullish(),
23318
- text_block_name: J.string().min(1).max(32).nullish().default("#text"),
23319
- inputs: J.record(J.string().min(1).max(255), pt).nullish(),
23320
- outputs: J.never().nullish()
23314
+ type: W.literal("json_to_xml"),
23315
+ attributes_block_name: W.string().min(1).max(32).nullish(),
23316
+ attributes_name_prefix: W.string().min(1).max(32).nullish(),
23317
+ root_element_name: W.string().min(1).max(64).nullish(),
23318
+ text_block_name: W.string().min(1).max(32).nullish().default("#text"),
23319
+ inputs: W.record(W.string().min(1).max(255), pt).nullish(),
23320
+ outputs: W.never().nullish()
23321
23321
  }).strict().superRefine((e, t) => {
23322
23322
  !e.attributes_block_name && !e.attributes_name_prefix && (t.addIssue({
23323
23323
  code: "custom",
@@ -23329,78 +23329,83 @@ const G$ = J.string().min(1).max(255).refine((e) => {
23329
23329
  message: "At least one of attributes_block_name or attributes_name_prefix is required"
23330
23330
  }));
23331
23331
  }), oP = Fn.safeExtend({
23332
- type: J.literal("jwt_decode"),
23333
- inputs: J.never().nullish(),
23334
- outputs: J.object({
23332
+ type: W.literal("jwt_decode"),
23333
+ inputs: W.never().nullish(),
23334
+ outputs: W.object({
23335
23335
  header: pt,
23336
23336
  payload: pt,
23337
23337
  signature: pt
23338
23338
  }).partial().nullish()
23339
23339
  }).strict(), aP = Fn.safeExtend({
23340
- type: J.literal("jwt_sign"),
23340
+ type: W.literal("jwt_sign"),
23341
23341
  algorithm: wm,
23342
- expires_in: J.number().int().min(1).default(300).nullish(),
23342
+ expires_in: W.number().int().min(1).default(300).nullish(),
23343
23343
  inputs: J$.nullish(),
23344
- kid: J.string().nullish(),
23345
- not_before: J.number().int().min(0).default(0).nullish(),
23346
- outputs: J.object({
23344
+ kid: W.string().nullish(),
23345
+ not_before: W.number().int().min(0).default(0).nullish(),
23346
+ outputs: W.object({
23347
23347
  claims: pt,
23348
23348
  header: pt,
23349
23349
  token: pt
23350
23350
  }).partial().nullish(),
23351
- static_claims: J.record(J.string(), J.string()).default({}).nullish(),
23352
- typ: J.string().default("JWT").nullish()
23351
+ static_claims: W.record(W.string(), W.string()).default({}).nullish(),
23352
+ typ: W.string().default("JWT").nullish()
23353
23353
  }).strict(), rP = Fn.safeExtend({
23354
- type: J.literal("jwt_verify"),
23355
- allowed_algorithms: J.array(wm).default([]).nullish(),
23356
- audiences: J.array(J.string()).default([]).nullish(),
23354
+ type: W.literal("jwt_verify"),
23355
+ allowed_algorithms: W.array(wm).default([]).nullish(),
23356
+ audiences: W.array(W.string()).default([]).nullish(),
23357
23357
  inputs: X$.nullish(),
23358
- issuers: J.array(J.string()).default([]).nullish(),
23359
- leeway: J.number().int().min(0).default(0).nullish(),
23360
- outputs: J.object({
23358
+ issuers: W.array(W.string()).default([]).nullish(),
23359
+ leeway: W.number().int().min(0).default(0).nullish(),
23360
+ outputs: W.object({
23361
23361
  claims: pt,
23362
23362
  header: pt
23363
23363
  }).partial().nullish(),
23364
- required_claims: J.array(J.string()).default([]).nullish(),
23365
- validate_exp: J.boolean().default(!0).nullish(),
23366
- validate_nbf: J.boolean().default(!0).nullish()
23364
+ required_claims: W.array(W.string()).default([]).nullish(),
23365
+ validate_exp: W.boolean().default(!0).nullish(),
23366
+ validate_nbf: W.boolean().default(!0).nullish()
23367
23367
  }).strict(), sP = Fn.safeExtend({
23368
- type: J.literal("property"),
23368
+ type: W.literal("property"),
23369
23369
  /**
23370
23370
  * The expected MIME type of the property value. When set to `application/json`,
23371
23371
  * SET operations JSON-encode input data before writing it, and GET operations
23372
23372
  * JSON-decode output data after reading it. Otherwise, this setting has no effect.
23373
23373
  */
23374
- content_type: J.enum(["application/json", "text/plain", "application/octet-stream"]).nullish(),
23374
+ content_type: W.enum(["application/json", "text/plain", "application/octet-stream"]).nullish(),
23375
23375
  /** The property name to get/set. */
23376
- property: J.string().min(1).max(255),
23377
- inputs: J.never().nullish(),
23378
- outputs: J.never().nullish()
23376
+ property: W.string().min(1).max(255),
23377
+ /**
23378
+ * When true, the property value must exist: in SET mode, input must not be
23379
+ * nil/null; in GET mode, output must not be nil/null.
23380
+ */
23381
+ non_nil: W.boolean().default(!1).nullish(),
23382
+ inputs: W.never().nullish(),
23383
+ outputs: W.never().nullish()
23379
23384
  }).strict(), lP = Fn.safeExtend({
23380
- type: J.literal("static"),
23385
+ type: W.literal("static"),
23381
23386
  /** An object with string keys and free-form values. */
23382
- values: J.record(J.string(), J.unknown()),
23383
- input: J.never().nullish(),
23384
- inputs: J.never().nullish()
23387
+ values: W.record(W.string(), W.unknown()),
23388
+ input: W.never().nullish(),
23389
+ inputs: W.never().nullish()
23385
23390
  }).strict(), uP = Fn.safeExtend({
23386
- type: J.literal("cache"),
23391
+ type: W.literal("cache"),
23387
23392
  /** When true, skip cache errors and continue execution. */
23388
- bypass_on_error: J.boolean().nullish(),
23393
+ bypass_on_error: W.boolean().nullish(),
23389
23394
  inputs: Y$.nullish(),
23390
- outputs: J.object({
23395
+ outputs: W.object({
23391
23396
  data: pt,
23392
23397
  hit: pt,
23393
23398
  miss: pt,
23394
23399
  stored: pt
23395
23400
  }).partial().nullish(),
23396
23401
  /** Cache entry time-to-live in seconds. */
23397
- ttl: J.number().int().gt(0).nullish()
23402
+ ttl: W.number().int().gt(0).nullish()
23398
23403
  }).strict(), cP = Fn.safeExtend({
23399
- type: J.literal("branch"),
23400
- then: J.array(xr).min(1).max(64).nullish(),
23401
- else: J.array(xr).min(1).max(64).nullish()
23404
+ type: W.literal("branch"),
23405
+ then: W.array(xr).min(1).max(64).nullish(),
23406
+ else: W.array(xr).min(1).max(64).nullish()
23402
23407
  }).strict(), dP = Z$.pipe(
23403
- J.discriminatedUnion("type", [
23408
+ W.discriminatedUnion("type", [
23404
23409
  Q$,
23405
23410
  eP,
23406
23411
  tP,
@@ -23414,59 +23419,59 @@ const G$ = J.string().min(1).max(255).refine((e) => {
23414
23419
  uP,
23415
23420
  cP
23416
23421
  ])
23417
- ), pP = J.record(
23418
- J.string().regex(/^[A-Za-z_][A-Za-z0-9_-]*$/).min(1).max(255),
23419
- J.string().min(1).max(4095)
23420
- ), fP = J.object({
23421
- dictionary_name: J.string().nullish().default("kong_db_cache")
23422
- }), mP = J.object({
23423
- host: J.string().default("127.0.0.1"),
23424
- port: J.number().int().min(0).max(65535).default(6379)
23425
- }), gP = J.object({
23426
- ip: J.string().default("127.0.0.1"),
23427
- port: J.number().int().min(0).max(65535).default(6379)
23428
- }), hP = J.object({
23429
- host: J.string().nullish().default("127.0.0.1"),
23430
- port: J.number().int().min(0).max(65535).nullish().default(6379),
23431
- connect_timeout: J.number().int().min(0).max(2147483646).nullish().default(2e3),
23432
- send_timeout: J.number().int().min(0).max(2147483646).nullish().default(2e3),
23433
- read_timeout: J.number().int().min(0).max(2147483646).nullish().default(2e3),
23434
- username: J.string().nullish(),
23435
- password: J.string().nullish(),
23436
- sentinel_username: J.string().nullish(),
23437
- sentinel_password: J.string().nullish(),
23438
- database: J.number().int().nullish().default(0),
23439
- keepalive_pool_size: J.number().int().min(1).max(2147483646).nullish().default(256),
23440
- keepalive_backlog: J.number().int().min(0).max(2147483646).nullish(),
23441
- sentinel_master: J.string().nullish(),
23442
- sentinel_role: J.enum(["master", "slave", "any"]).nullish(),
23443
- sentinel_nodes: J.array(mP).min(1, { message: "sentinel_nodes must contain at least 1 item" }).nullish(),
23444
- cluster_nodes: J.array(gP).min(1, { message: "cluster_nodes must contain at least 1 item" }).nullish(),
23445
- ssl: J.boolean().default(!1).nullish(),
23446
- ssl_verify: J.boolean().default(!0).nullish(),
23447
- server_name: J.string().nullish(),
23448
- cluster_max_redirections: J.number().int().default(5).nullish(),
23449
- connection_is_proxied: J.boolean().default(!1).nullish(),
23450
- cloud_authentication: J.object({
23451
- auth_provider: J.enum(["aws", "azure", "gcp"]).nullish(),
23452
- aws_access_key_id: J.string().nullish(),
23453
- aws_assume_role_arn: J.string().nullish(),
23454
- aws_cache_name: J.string().nullish(),
23455
- aws_is_serverless: J.boolean().default(!0).nullish(),
23456
- aws_region: J.string().nullish(),
23457
- aws_role_session_name: J.string().nullish(),
23458
- aws_secret_access_key: J.string().nullish(),
23459
- azure_client_id: J.string().nullish(),
23460
- azure_client_secret: J.string().nullish(),
23461
- azure_tenant_id: J.string().nullish(),
23462
- gcp_service_account_json: J.string().nullish()
23422
+ ), pP = W.record(
23423
+ W.string().regex(/^[A-Za-z_][A-Za-z0-9_-]*$/).min(1).max(255),
23424
+ W.string().min(1).max(4095)
23425
+ ), fP = W.object({
23426
+ dictionary_name: W.string().nullish().default("kong_db_cache")
23427
+ }), mP = W.object({
23428
+ host: W.string().default("127.0.0.1"),
23429
+ port: W.number().int().min(0).max(65535).default(6379)
23430
+ }), gP = W.object({
23431
+ ip: W.string().default("127.0.0.1"),
23432
+ port: W.number().int().min(0).max(65535).default(6379)
23433
+ }), hP = W.object({
23434
+ host: W.string().nullish().default("127.0.0.1"),
23435
+ port: W.number().int().min(0).max(65535).nullish().default(6379),
23436
+ connect_timeout: W.number().int().min(0).max(2147483646).nullish().default(2e3),
23437
+ send_timeout: W.number().int().min(0).max(2147483646).nullish().default(2e3),
23438
+ read_timeout: W.number().int().min(0).max(2147483646).nullish().default(2e3),
23439
+ username: W.string().nullish(),
23440
+ password: W.string().nullish(),
23441
+ sentinel_username: W.string().nullish(),
23442
+ sentinel_password: W.string().nullish(),
23443
+ database: W.number().int().nullish().default(0),
23444
+ keepalive_pool_size: W.number().int().min(1).max(2147483646).nullish().default(256),
23445
+ keepalive_backlog: W.number().int().min(0).max(2147483646).nullish(),
23446
+ sentinel_master: W.string().nullish(),
23447
+ sentinel_role: W.enum(["master", "slave", "any"]).nullish(),
23448
+ sentinel_nodes: W.array(mP).min(1, { message: "sentinel_nodes must contain at least 1 item" }).nullish(),
23449
+ cluster_nodes: W.array(gP).min(1, { message: "cluster_nodes must contain at least 1 item" }).nullish(),
23450
+ ssl: W.boolean().default(!1).nullish(),
23451
+ ssl_verify: W.boolean().default(!0).nullish(),
23452
+ server_name: W.string().nullish(),
23453
+ cluster_max_redirections: W.number().int().default(5).nullish(),
23454
+ connection_is_proxied: W.boolean().default(!1).nullish(),
23455
+ cloud_authentication: W.object({
23456
+ auth_provider: W.enum(["aws", "azure", "gcp"]).nullish(),
23457
+ aws_access_key_id: W.string().nullish(),
23458
+ aws_assume_role_arn: W.string().nullish(),
23459
+ aws_cache_name: W.string().nullish(),
23460
+ aws_is_serverless: W.boolean().default(!0).nullish(),
23461
+ aws_region: W.string().nullish(),
23462
+ aws_role_session_name: W.string().nullish(),
23463
+ aws_secret_access_key: W.string().nullish(),
23464
+ azure_client_id: W.string().nullish(),
23465
+ azure_client_secret: W.string().nullish(),
23466
+ azure_tenant_id: W.string().nullish(),
23467
+ gcp_service_account_json: W.string().nullish()
23463
23468
  }).nullish(),
23464
23469
  /** Compatibility for deprecated fields (optional) */
23465
- timeout: J.number().int().nullish(),
23470
+ timeout: W.number().int().nullish(),
23466
23471
  // deprecated: use connect_timeout, send_timeout and read_timeout instead
23467
- sentinel_addresses: J.array(J.string()).min(1).nullish(),
23472
+ sentinel_addresses: W.array(W.string()).min(1).nullish(),
23468
23473
  // deprecated
23469
- cluster_addresses: J.array(J.string()).min(1).nullish()
23474
+ cluster_addresses: W.array(W.string()).min(1).nullish()
23470
23475
  // deprecated
23471
23476
  }).superRefine((e, t) => {
23472
23477
  var s;
@@ -23487,46 +23492,46 @@ const G$ = J.string().min(1).max(255).refine((e) => {
23487
23492
  message: "host is required when connection_is_proxied is true (host/port should point to the proxy)",
23488
23493
  path: ["host"]
23489
23494
  });
23490
- }), yP = J.object({
23491
- strategy: J.enum(["memory", "redis"]).nullish(),
23495
+ }), yP = W.object({
23496
+ strategy: W.enum(["memory", "redis"]).nullish(),
23492
23497
  memory: fP,
23493
23498
  redis: hP
23494
- }), vP = J.object({
23499
+ }), vP = W.object({
23495
23500
  vault: pP.nullish(),
23496
23501
  cache: yP.nullish()
23497
23502
  });
23498
- J.array(J.object({ id: J.string() }));
23499
- J.object({
23500
- nodes: J.array(dP).min(1, "At least one node is required").max(64),
23501
- debug: J.boolean().default(!1).nullish(),
23503
+ W.array(W.object({ id: W.string() }));
23504
+ W.object({
23505
+ nodes: W.array(dP).min(1, "At least one node is required").max(64),
23506
+ debug: W.boolean().default(!1).nullish(),
23502
23507
  resources: vP.nullish()
23503
23508
  }).strict().superRefine((e, t) => {
23504
23509
  vm(e, To, t);
23505
23510
  });
23506
- const Vc = pu.options, sl = J.string().min(1).refine((e) => !e.includes("."), "Invalid node name").refine(
23511
+ const Vc = pu.options, sl = W.string().min(1).refine((e) => !e.includes("."), "Invalid node name").refine(
23507
23512
  (e) => !_m(e),
23508
23513
  "Node name conflicts with reserved implicit node"
23509
- ), kt = J.string().refine((e) => {
23514
+ ), kt = W.string().refine((e) => {
23510
23515
  if (!e || /\s/.test(e)) return !1;
23511
23516
  const t = e.indexOf(".");
23512
23517
  if (t === -1) return !0;
23513
23518
  const n = e.slice(0, t), i = e.slice(t + 1);
23514
23519
  return n.length > 0 && i.length > 0;
23515
- }, "Invalid connection"), km = J.object({
23520
+ }, "Invalid connection"), km = W.object({
23516
23521
  body: kt.nullish(),
23517
23522
  headers: kt.nullish(),
23518
23523
  query: kt.nullish()
23519
- }).partial().strict(), Cm = J.object({
23524
+ }).partial().strict(), Cm = W.object({
23520
23525
  headers: kt.nullish(),
23521
23526
  body: kt.nullish()
23522
- }).partial().strict(), Em = J.object({
23527
+ }).partial().strict(), Em = W.object({
23523
23528
  data: kt.nullish(),
23524
23529
  key: kt.nullish(),
23525
23530
  ttl: kt.nullish()
23526
- }).partial().strict(), xm = J.object({
23531
+ }).partial().strict(), xm = W.object({
23527
23532
  claims: kt.nullish(),
23528
23533
  key: kt.nullish()
23529
- }).partial().strict(), Sm = J.object({
23534
+ }).partial().strict(), Sm = W.object({
23530
23535
  key: kt.nullish(),
23531
23536
  token: kt.nullish()
23532
23537
  }).partial().strict(), _P = {
@@ -23540,16 +23545,16 @@ function bP(e) {
23540
23545
  const t = _P[e];
23541
23546
  return t ? Object.keys(t.shape) : null;
23542
23547
  }
23543
- const Kn = J.object({
23544
- type: J.string(),
23548
+ const Kn = W.object({
23549
+ type: W.string(),
23545
23550
  name: sl,
23546
23551
  input: kt.nullish(),
23547
- inputs: J.record(J.string(), kt.nullish()).nullish(),
23552
+ inputs: W.record(W.string(), kt.nullish()).nullish(),
23548
23553
  output: kt.nullish(),
23549
- outputs: J.record(J.string(), kt.nullish()).nullish()
23554
+ outputs: W.record(W.string(), kt.nullish()).nullish()
23550
23555
  }).loose().superRefine((e, t) => {
23551
23556
  ym(e, t);
23552
- }), wP = J.object({ type: J.string(), name: J.string() }).loose().superRefine((e, t) => {
23557
+ }), wP = W.object({ type: W.string(), name: W.string() }).loose().superRefine((e, t) => {
23553
23558
  const n = e.type, i = e.name;
23554
23559
  (typeof i != "string" || i.length === 0 || i.includes(".")) && t.addIssue({
23555
23560
  code: "custom",
@@ -23564,111 +23569,112 @@ const Kn = J.object({
23564
23569
  )}`
23565
23570
  });
23566
23571
  }), kP = Kn.safeExtend({
23567
- type: J.literal("call"),
23572
+ type: W.literal("call"),
23568
23573
  method: bm.nullish(),
23569
- ssl_server_name: J.string().nullish(),
23570
- ssl_verify: J.boolean().nullish(),
23571
- timeout: J.union([J.number(), J.string()]).nullish(),
23572
- url: J.string().nullish(),
23574
+ ssl_server_name: W.string().nullish(),
23575
+ ssl_verify: W.boolean().nullish(),
23576
+ timeout: W.union([W.number(), W.string()]).nullish(),
23577
+ url: W.string().nullish(),
23573
23578
  inputs: km.nullish(),
23574
- outputs: J.object({
23579
+ outputs: W.object({
23575
23580
  body: kt.nullish(),
23576
23581
  headers: kt.nullish(),
23577
23582
  status: kt.nullish()
23578
23583
  }).partial().nullish()
23579
23584
  }).strict(), CP = Kn.safeExtend({
23580
- type: J.literal("exit"),
23581
- status: J.union([J.number(), J.string()]).nullish(),
23582
- warn_headers_sent: J.boolean().nullish(),
23585
+ type: W.literal("exit"),
23586
+ status: W.union([W.number(), W.string()]).nullish(),
23587
+ warn_headers_sent: W.boolean().nullish(),
23583
23588
  inputs: Cm.nullish(),
23584
- output: J.never().nullish(),
23585
- outputs: J.never().nullish()
23589
+ output: W.never().nullish(),
23590
+ outputs: W.never().nullish()
23586
23591
  }).strict(), EP = Kn.safeExtend({
23587
- type: J.literal("jq"),
23588
- jq: J.string().nullish(),
23589
- outputs: J.never().nullish()
23592
+ type: W.literal("jq"),
23593
+ jq: W.string().nullish(),
23594
+ outputs: W.never().nullish()
23590
23595
  }).strict(), xP = Kn.safeExtend({
23591
- type: J.literal("xml_to_json"),
23592
- recognize_type: J.boolean().nullish(),
23593
- attributes_block_name: J.string().nullish(),
23594
- attributes_name_prefix: J.string().nullish(),
23595
- text_block_name: J.string().nullish(),
23596
- text_as_property: J.boolean().nullish(),
23597
- xpath: J.string().nullish(),
23598
- inputs: J.never().nullish(),
23599
- outputs: J.never().nullish()
23596
+ type: W.literal("xml_to_json"),
23597
+ recognize_type: W.boolean().nullish(),
23598
+ attributes_block_name: W.string().nullish(),
23599
+ attributes_name_prefix: W.string().nullish(),
23600
+ text_block_name: W.string().nullish(),
23601
+ text_as_property: W.boolean().nullish(),
23602
+ xpath: W.string().nullish(),
23603
+ inputs: W.never().nullish(),
23604
+ outputs: W.never().nullish()
23600
23605
  }).strict(), SP = Kn.safeExtend({
23601
- type: J.literal("json_to_xml"),
23602
- attributes_block_name: J.string().nullish(),
23603
- attributes_name_prefix: J.string().nullish(),
23604
- root_element_name: J.string().nullish(),
23605
- text_block_name: J.string().nullish(),
23606
- inputs: J.record(J.string(), kt.nullish()).nullish(),
23607
- outputs: J.never().nullish()
23606
+ type: W.literal("json_to_xml"),
23607
+ attributes_block_name: W.string().nullish(),
23608
+ attributes_name_prefix: W.string().nullish(),
23609
+ root_element_name: W.string().nullish(),
23610
+ text_block_name: W.string().nullish(),
23611
+ inputs: W.record(W.string(), kt.nullish()).nullish(),
23612
+ outputs: W.never().nullish()
23608
23613
  }).strict(), AP = Kn.safeExtend({
23609
- type: J.literal("property"),
23610
- content_type: J.string().nullish(),
23611
- property: J.string().nullish(),
23612
- inputs: J.never().nullish(),
23613
- outputs: J.never().nullish()
23614
+ type: W.literal("property"),
23615
+ content_type: W.string().nullish(),
23616
+ non_nil: W.boolean().nullish(),
23617
+ property: W.string().nullish(),
23618
+ inputs: W.never().nullish(),
23619
+ outputs: W.never().nullish()
23614
23620
  }).strict(), IP = Kn.safeExtend({
23615
- type: J.literal("static"),
23616
- values: J.record(J.string(), J.unknown()).nullish(),
23617
- input: J.never().nullish(),
23618
- inputs: J.never().nullish()
23621
+ type: W.literal("static"),
23622
+ values: W.record(W.string(), W.unknown()).nullish(),
23623
+ input: W.never().nullish(),
23624
+ inputs: W.never().nullish()
23619
23625
  }).strict(), TP = Kn.safeExtend({
23620
- type: J.literal("cache"),
23621
- bypass_on_error: J.boolean().nullish(),
23626
+ type: W.literal("cache"),
23627
+ bypass_on_error: W.boolean().nullish(),
23622
23628
  inputs: Em.nullish(),
23623
- outputs: J.object({
23629
+ outputs: W.object({
23624
23630
  data: kt.nullish(),
23625
23631
  hit: kt.nullish(),
23626
23632
  miss: kt.nullish(),
23627
23633
  stored: kt.nullish()
23628
23634
  }).partial().nullish(),
23629
- ttl: J.union([J.number(), J.string()]).nullish()
23635
+ ttl: W.union([W.number(), W.string()]).nullish()
23630
23636
  }).strict(), $P = Kn.safeExtend({
23631
- type: J.literal("jwt_decode"),
23632
- inputs: J.never().nullish(),
23633
- outputs: J.object({
23637
+ type: W.literal("jwt_decode"),
23638
+ inputs: W.never().nullish(),
23639
+ outputs: W.object({
23634
23640
  header: kt.nullish(),
23635
23641
  payload: kt.nullish(),
23636
23642
  signature: kt.nullish()
23637
23643
  }).partial().nullish()
23638
23644
  }).strict(), PP = Kn.safeExtend({
23639
- type: J.literal("jwt_sign"),
23640
- algorithm: J.enum(Rl).nullish(),
23641
- expires_in: J.union([J.number(), J.string()]).nullish(),
23645
+ type: W.literal("jwt_sign"),
23646
+ algorithm: W.enum(Rl).nullish(),
23647
+ expires_in: W.union([W.number(), W.string()]).nullish(),
23642
23648
  inputs: xm.nullish(),
23643
- kid: J.string().nullish(),
23644
- not_before: J.union([J.number(), J.string()]).nullish(),
23645
- outputs: J.object({
23649
+ kid: W.string().nullish(),
23650
+ not_before: W.union([W.number(), W.string()]).nullish(),
23651
+ outputs: W.object({
23646
23652
  claims: kt.nullish(),
23647
23653
  header: kt.nullish(),
23648
23654
  token: kt.nullish()
23649
23655
  }).partial().nullish(),
23650
- static_claims: J.record(J.string(), J.string()).nullish(),
23651
- typ: J.string().nullish()
23656
+ static_claims: W.record(W.string(), W.string()).nullish(),
23657
+ typ: W.string().nullish()
23652
23658
  }).strict(), OP = Kn.safeExtend({
23653
- type: J.literal("jwt_verify"),
23654
- allowed_algorithms: J.array(J.enum(Rl)).nullish(),
23655
- audiences: J.array(J.string()).nullish(),
23659
+ type: W.literal("jwt_verify"),
23660
+ allowed_algorithms: W.array(W.enum(Rl)).nullish(),
23661
+ audiences: W.array(W.string()).nullish(),
23656
23662
  inputs: Sm.nullish(),
23657
- issuers: J.array(J.string()).nullish(),
23658
- leeway: J.union([J.number(), J.string()]).nullish(),
23659
- outputs: J.object({
23663
+ issuers: W.array(W.string()).nullish(),
23664
+ leeway: W.union([W.number(), W.string()]).nullish(),
23665
+ outputs: W.object({
23660
23666
  claims: kt.nullish(),
23661
23667
  header: kt.nullish()
23662
23668
  }).partial().nullish(),
23663
- required_claims: J.array(J.string()).nullish(),
23664
- validate_exp: J.boolean().nullish(),
23665
- validate_nbf: J.boolean().nullish()
23669
+ required_claims: W.array(W.string()).nullish(),
23670
+ validate_exp: W.boolean().nullish(),
23671
+ validate_nbf: W.boolean().nullish()
23666
23672
  }).strict(), NP = Kn.safeExtend({
23667
- type: J.literal("branch"),
23668
- then: J.array(sl).nullish(),
23669
- else: J.array(sl).nullish()
23673
+ type: W.literal("branch"),
23674
+ then: W.array(sl).nullish(),
23675
+ else: W.array(sl).nullish()
23670
23676
  }).strict(), RP = wP.pipe(
23671
- J.discriminatedUnion("type", [
23677
+ W.discriminatedUnion("type", [
23672
23678
  kP,
23673
23679
  CP,
23674
23680
  EP,
@@ -23682,18 +23688,18 @@ const Kn = J.object({
23682
23688
  TP,
23683
23689
  NP
23684
23690
  ])
23685
- ), MP = J.record(J.string(), J.string()), LP = J.object({
23686
- dictionary_name: J.string().nullish()
23687
- }), FP = J.object(), KP = J.object({
23688
- strategy: J.enum(["memory", "redis"]).nullish(),
23691
+ ), MP = W.record(W.string(), W.string()), LP = W.object({
23692
+ dictionary_name: W.string().nullish()
23693
+ }), FP = W.object(), KP = W.object({
23694
+ strategy: W.enum(["memory", "redis"]).nullish(),
23689
23695
  memory: LP.nullish(),
23690
23696
  redis: FP.nullish()
23691
- }), jP = J.object({
23697
+ }), jP = W.object({
23692
23698
  vault: MP.nullish(),
23693
23699
  cache: KP.nullish()
23694
- }), Am = J.object({
23695
- nodes: J.array(RP).nullish(),
23696
- debug: J.boolean().nullish(),
23700
+ }), Am = W.object({
23701
+ nodes: W.array(RP).nullish(),
23702
+ debug: W.boolean().nullish(),
23697
23703
  resources: jP.nullish()
23698
23704
  }).strict().superRefine((e, t) => {
23699
23705
  !e || !Array.isArray(e.nodes) || vm(e, To, t);
@@ -23838,7 +23844,7 @@ const Kn = J.object({
23838
23844
  const I = v.value.findIndex(([O]) => O === m.value);
23839
23845
  I !== -1 && b(I);
23840
23846
  }), (I, O) => {
23841
- const R = Ie("KAlert"), j = Ie("KLabel"), H = Ie("KInput"), W = Ie("KSelect"), Z = Ie("KButton");
23847
+ const R = Ie("KAlert"), j = Ie("KLabel"), H = Ie("KInput"), Y = Ie("KSelect"), Z = Ie("KButton");
23842
23848
  return u(d).error ? (S(), te(R, {
23843
23849
  key: 0,
23844
23850
  appearance: "danger",
@@ -23880,7 +23886,7 @@ const Kn = J.object({
23880
23886
  onFocus: (V) => k(q),
23881
23887
  "onUpdate:modelValue": (V) => w(q, V)
23882
23888
  }, null, 8, ["id", "data-key-input", "data-testid", "error", "error-message", "model-value", "placeholder", "onBlur", "onChange", "onFocus", "onUpdate:modelValue"]),
23883
- C(W, {
23889
+ C(Y, {
23884
23890
  class: "ff-kv-field-entry-value",
23885
23891
  clearable: "",
23886
23892
  "data-testid": `ff-value-${u(d).path.value}.${M}`,
@@ -23998,7 +24004,7 @@ const Kn = J.object({
23998
24004
  onChange: l
23999
24005
  }, {
24000
24006
  "item-label": N((h) => [
24001
- Ze(p.$slots, "item-label", Cn(zn(h)), () => [
24007
+ Ze(p.$slots, "item-label", En(zn(h)), () => [
24002
24008
  C(Sr, { item: h }, null, 8, ["item"])
24003
24009
  ], !0)
24004
24010
  ]),
@@ -24034,7 +24040,7 @@ const Kn = J.object({
24034
24040
  }, 16, ["items", "key-order"])) : ge("", !0)
24035
24041
  ], 64));
24036
24042
  }
24037
- }), xn = /* @__PURE__ */ ze(WP, [["__scopeId", "data-v-4f1ce4e7"]]), YP = {}, JP = { class: "dk-node-form-divider" };
24043
+ }), Sn = /* @__PURE__ */ ze(WP, [["__scopeId", "data-v-4f1ce4e7"]]), YP = {}, JP = { class: "dk-node-form-divider" };
24038
24044
  function XP(e, t) {
24039
24045
  return S(), se("hr", JP);
24040
24046
  }
@@ -24422,7 +24428,7 @@ function _n(e, t) {
24422
24428
  }), v = L(() => {
24423
24429
  const G = n.value.edges.filter((M) => M.target === e).reduce((M, Q) => {
24424
24430
  var K, ae;
24425
- const V = o(Q.source), Y = (K = Ci(V, "output", Q.sourceField)) == null ? void 0 : K.id, B = (ae = Ci(_.value, "input", Q.targetField)) == null ? void 0 : ae.name, $ = V.id + (Y ? `.${Y}` : "");
24431
+ const V = o(Q.source), J = (K = Ci(V, "output", Q.sourceField)) == null ? void 0 : K.id, B = (ae = Ci(_.value, "input", Q.targetField)) == null ? void 0 : ae.name, $ = V.id + (J ? `.${J}` : "");
24426
24432
  return B ? M.inputs = { ...M.inputs, [B]: $ } : M.input = $, M;
24427
24433
  }, {});
24428
24434
  return _.value.fields.input.forEach((M) => {
@@ -24461,19 +24467,19 @@ function _n(e, t) {
24461
24467
  }
24462
24468
  const {
24463
24469
  nodeId: V,
24464
- fieldId: Y
24470
+ fieldId: J
24465
24471
  } = ic(G), B = A("input", q).id, $ = [];
24466
24472
  P.value && ($.push(oa(P.value, o)), d(P.value.id, !1));
24467
24473
  const K = D.value.find((be) => be.targetField === Q);
24468
24474
  K && ($.push(oa(K, o)), d(K.id, !1)), f({
24469
24475
  source: V,
24470
- sourceField: Y,
24476
+ sourceField: J,
24471
24477
  target: e,
24472
24478
  targetField: B
24473
24479
  }, !1);
24474
24480
  const ae = Vs(
24475
24481
  V,
24476
- Y,
24482
+ J,
24477
24483
  e,
24478
24484
  B,
24479
24485
  o
@@ -24502,7 +24508,7 @@ function _n(e, t) {
24502
24508
  targetField: void 0
24503
24509
  // input does not have a field
24504
24510
  }, !1);
24505
- const Y = Vs(
24511
+ const J = Vs(
24506
24512
  Q,
24507
24513
  V,
24508
24514
  e,
@@ -24513,7 +24519,7 @@ function _n(e, t) {
24513
24519
  return;
24514
24520
  await y(
24515
24521
  h("plugins.free-form.datakit.flow_editor.confirm.message.switch"),
24516
- [Y],
24522
+ [J],
24517
24523
  M
24518
24524
  ) || m();
24519
24525
  }, O = (q) => {
@@ -24528,10 +24534,10 @@ function _n(e, t) {
24528
24534
  for (const Q of n.value.nodes)
24529
24535
  if ((G = $o(Q.type).io) != null && G.output && Q.fields.output && Q.id !== e && !(Q.type === "property" && !Ol((M = Q.config) == null ? void 0 : M.property)) && !O(Q.id) && !(_.value.phase === "request" && Q.phase === "response") && !(Q.type === "vault" && Q.fields.output.length === 0)) {
24530
24536
  q.push({ value: Q.id, label: Q.name, type: Q.type });
24531
- for (const Y of Q.fields.output)
24537
+ for (const J of Q.fields.output)
24532
24538
  q.push({
24533
- value: `${Q.id}.${Y.id}`,
24534
- label: `${Q.name}.${Y.name}`,
24539
+ value: `${Q.id}.${J.id}`,
24540
+ label: `${Q.name}.${J.name}`,
24535
24541
  type: Q.type
24536
24542
  });
24537
24543
  }
@@ -24540,12 +24546,12 @@ function _n(e, t) {
24540
24546
  function H(q) {
24541
24547
  c.value.delete(e), q || c.value.add(e);
24542
24548
  }
24543
- const W = oO(e);
24549
+ const Y = oO(e);
24544
24550
  function Z(q, G, M) {
24545
24551
  const Q = o(e);
24546
24552
  if (!Q) throw new Error("Node not found when validating field name");
24547
24553
  const V = Ii(Q, q, G);
24548
- return W(q, M, V == null ? void 0 : V.id);
24554
+ return Y(q, M, V == null ? void 0 : V.id);
24549
24555
  }
24550
24556
  return {
24551
24557
  // states
@@ -24712,12 +24718,12 @@ const jn = /* @__PURE__ */ Oe({
24712
24718
  name: "ssl_server_name",
24713
24719
  "onUpdate:modelValue": b[1] || (b[1] = (A) => u(a)("ssl_server_name"))
24714
24720
  }),
24715
- C(On, {
24721
+ C(Cn, {
24716
24722
  name: "ssl_verify",
24717
24723
  "onUpdate:modelValue": b[2] || (b[2] = (A) => u(a)("ssl_verify"))
24718
24724
  }),
24719
24725
  C(Zn),
24720
- C(xn, {
24726
+ C(Sn, {
24721
24727
  "field-name-validator": u(m),
24722
24728
  "field-names": u(f),
24723
24729
  items: u(l),
@@ -24750,7 +24756,7 @@ const jn = /* @__PURE__ */ Oe({
24750
24756
  schema: u(n)
24751
24757
  }, {
24752
24758
  default: N(() => [
24753
- C(xn, {
24759
+ C(Sn, {
24754
24760
  "field-name-validator": u(s),
24755
24761
  "field-names": u(l),
24756
24762
  items: u(o),
@@ -24782,7 +24788,7 @@ const jn = /* @__PURE__ */ Oe({
24782
24788
  schema: u(n)
24783
24789
  }, {
24784
24790
  default: N(() => [
24785
- C(xn, {
24791
+ C(Sn, {
24786
24792
  "field-name-validator": u(s),
24787
24793
  "field-names": u(l),
24788
24794
  items: u(o),
@@ -24888,7 +24894,7 @@ const jn = /* @__PURE__ */ Oe({
24888
24894
  _: 1
24889
24895
  }, 8, ["error", "error-message", "label", "onBlur", "onUpdate:modelValue"]),
24890
24896
  C(Zn),
24891
- C(xn, {
24897
+ C(Sn, {
24892
24898
  "field-name-validator": u(v),
24893
24899
  "field-names": u(h),
24894
24900
  items: u(s),
@@ -24992,12 +24998,12 @@ const jn = /* @__PURE__ */ Oe({
24992
24998
  P(E);
24993
24999
  }
24994
25000
  return Xe(() => r == null ? void 0 : r.value, (E) => {
24995
- var W;
25001
+ var Y;
24996
25002
  if (on(E, p))
24997
25003
  return;
24998
25004
  p = E;
24999
25005
  const I = f.value, O = new Map(d.value.filter((Z) => Z.key).map((Z) => [Z.key, Z])), R = [], j = E ?? {};
25000
- ((W = n.keyOrder) != null && W.length ? Object.keys(j).sort((Z, q) => h(Z, q, n.keyOrder)) : Object.keys(j)).forEach((Z) => {
25006
+ ((Y = n.keyOrder) != null && Y.length ? Object.keys(j).sort((Z, q) => h(Z, q, n.keyOrder)) : Object.keys(j)).forEach((Z) => {
25001
25007
  const q = O.get(Z);
25002
25008
  if (q) {
25003
25009
  q.value = j[Z], R.push(q);
@@ -25010,7 +25016,7 @@ const jn = /* @__PURE__ */ Oe({
25010
25016
  });
25011
25017
  }), I && !R.some((Z) => Z.id === I.id) && R.push(I), d.value = R;
25012
25018
  }, { deep: !0 }), (E, I) => {
25013
- const O = Ie("KAlert"), R = Ie("KLabel"), j = Ie("KButton"), H = Ie("KInput"), W = Ie("KCard");
25019
+ const O = Ie("KAlert"), R = Ie("KLabel"), j = Ie("KButton"), H = Ie("KInput"), Y = Ie("KCard");
25014
25020
  return a.error ? (S(), te(O, {
25015
25021
  key: 0,
25016
25022
  appearance: "danger",
@@ -25027,7 +25033,7 @@ const jn = /* @__PURE__ */ Oe({
25027
25033
  ]),
25028
25034
  _: 1
25029
25035
  }),
25030
- (S(!0), se(Ge, null, Qe(d.value, (Z, q) => (S(), te(W, {
25036
+ (S(!0), se(Ge, null, Qe(d.value, (Z, q) => (S(), te(Y, {
25031
25037
  key: Z.id,
25032
25038
  class: "dk-output-value-field-entry",
25033
25039
  "data-testid": `ff-kv-container-${a.path.value}.${q}`
@@ -25376,8 +25382,12 @@ const mO = /* @__PURE__ */ Oe({
25376
25382
  "onUpdate:modelValue": v,
25377
25383
  "onUpdate:propertyKey": A[1] || (A[1] = (k) => u(s)("property-key"))
25378
25384
  }, null, 8, ["validators"]),
25385
+ C(Cn, {
25386
+ name: "non_nil",
25387
+ "onUpdate:modelValue": A[2] || (A[2] = (k) => u(s)("non_nil"))
25388
+ }),
25379
25389
  _.value ? (S(), te(Zn, { key: 0 })) : ge("", !0),
25380
- _.value ? (S(), te(xn, {
25390
+ _.value ? (S(), te(Sn, {
25381
25391
  key: 1,
25382
25392
  "field-name-validator": u(y),
25383
25393
  "field-names": u(p),
@@ -25439,12 +25449,12 @@ const mO = /* @__PURE__ */ Oe({
25439
25449
  onBlur: u(h).validate,
25440
25450
  "onUpdate:modelValue": u(h).update
25441
25451
  }, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
25442
- C(On, {
25452
+ C(Cn, {
25443
25453
  name: "warn_headers_sent",
25444
25454
  "onUpdate:modelValue": _[0] || (_[0] = (v) => u(r)())
25445
25455
  }),
25446
25456
  C(Zn),
25447
- C(xn, {
25457
+ C(Sn, {
25448
25458
  "field-name-validator": u(p),
25449
25459
  "field-names": u(d),
25450
25460
  items: u(a),
@@ -25599,7 +25609,7 @@ const CO = /* @__PURE__ */ Oe({
25599
25609
  _: 1
25600
25610
  }, 8, ["items"]),
25601
25611
  C(Zn),
25602
- C(xn, {
25612
+ C(Sn, {
25603
25613
  "field-name-validator": u(p),
25604
25614
  "field-names": u(c),
25605
25615
  items: u(a),
@@ -25659,7 +25669,7 @@ const CO = /* @__PURE__ */ Oe({
25659
25669
  ]),
25660
25670
  _: 1
25661
25671
  }),
25662
- C(On, {
25672
+ C(Cn, {
25663
25673
  name: "bypass_on_error",
25664
25674
  "onUpdate:modelValue": v[0] || (v[0] = (b) => u(a)("bypass_on_error"))
25665
25675
  }),
@@ -25671,7 +25681,7 @@ const CO = /* @__PURE__ */ Oe({
25671
25681
  "onUpdate:modelValue": u(y).update
25672
25682
  }, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
25673
25683
  C(Zn),
25674
- C(xn, {
25684
+ C(Sn, {
25675
25685
  "field-name-validator": u(m),
25676
25686
  "field-names": u(f),
25677
25687
  items: u(l),
@@ -25752,7 +25762,7 @@ const CO = /* @__PURE__ */ Oe({
25752
25762
  ]),
25753
25763
  _: 1
25754
25764
  }),
25755
- C(On, {
25765
+ C(Cn, {
25756
25766
  name: "recognize_type",
25757
25767
  "onUpdate:modelValue": D[0] || (D[0] = (E) => u(a)("recognize_type"))
25758
25768
  }),
@@ -25777,7 +25787,7 @@ const CO = /* @__PURE__ */ Oe({
25777
25787
  onBlur: u(x).validate,
25778
25788
  "onUpdate:modelValue": u(x).update
25779
25789
  }, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
25780
- C(On, {
25790
+ C(Cn, {
25781
25791
  name: "text_as_property",
25782
25792
  "onUpdate:modelValue": D[1] || (D[1] = (E) => u(a)("text_as_property"))
25783
25793
  }),
@@ -25789,7 +25799,7 @@ const CO = /* @__PURE__ */ Oe({
25789
25799
  "onUpdate:modelValue": u(A).update
25790
25800
  }, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
25791
25801
  C(Zn),
25792
- C(xn, {
25802
+ C(Sn, {
25793
25803
  "field-name-validator": u(m),
25794
25804
  "field-names": u(f),
25795
25805
  items: u(l),
@@ -25908,7 +25918,7 @@ const CO = /* @__PURE__ */ Oe({
25908
25918
  "onUpdate:modelValue": u(T).update
25909
25919
  }, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
25910
25920
  C(Zn),
25911
- C(xn, {
25921
+ C(Sn, {
25912
25922
  "field-name-validator": u(_),
25913
25923
  "field-names": u(m),
25914
25924
  items: u(l),
@@ -25951,7 +25961,7 @@ const CO = /* @__PURE__ */ Oe({
25951
25961
  onUpdate: u(o)
25952
25962
  }, null, 8, ["name", "validate", "onUpdate"]),
25953
25963
  C(Zn),
25954
- C(xn, {
25964
+ C(Sn, {
25955
25965
  "field-name-validator": u(f),
25956
25966
  "field-names": u(s),
25957
25967
  items: u(r),
@@ -26054,7 +26064,7 @@ const CO = /* @__PURE__ */ Oe({
26054
26064
  onLegacyValueChange: x[2] || (x[2] = (A) => u(a)("static_claims"))
26055
26065
  }, null, 8, ["label"]),
26056
26066
  C(Zn),
26057
- C(xn, {
26067
+ C(Sn, {
26058
26068
  "field-name-validator": u(m),
26059
26069
  "field-names": u(f),
26060
26070
  items: u(l),
@@ -26169,16 +26179,16 @@ const CO = /* @__PURE__ */ Oe({
26169
26179
  onBlur: u(y).validate,
26170
26180
  "onUpdate:modelValue": u(y).update
26171
26181
  }, null, 8, ["error", "error-message", "onBlur", "onUpdate:modelValue"]),
26172
- C(On, {
26182
+ C(Cn, {
26173
26183
  name: "validate_exp",
26174
26184
  "onUpdate:modelValue": v[10] || (v[10] = (b) => u(a)("validate_exp"))
26175
26185
  }),
26176
- C(On, {
26186
+ C(Cn, {
26177
26187
  name: "validate_nbf",
26178
26188
  "onUpdate:modelValue": v[11] || (v[11] = (b) => u(a)("validate_nbf"))
26179
26189
  }),
26180
26190
  C(Zn),
26181
- C(xn, {
26191
+ C(Sn, {
26182
26192
  "field-name-validator": u(m),
26183
26193
  "field-names": u(f),
26184
26194
  items: u(l),
@@ -26715,7 +26725,7 @@ const CO = /* @__PURE__ */ Oe({
26715
26725
  ["config.channel_token_signing", "config.channel_token_upstream_header", "config.channel_token_keyset"]
26716
26726
  ]
26717
26727
  }, i = tn();
26718
- return Kt(Jn, i == null ? void 0 : i[Pn]), (o, r) => (S(), te(si, We(t, { "render-rules": n }), {
26728
+ return Kt(Jn, i == null ? void 0 : i[On]), (o, r) => (S(), te(si, We(t, { "render-rules": n }), {
26719
26729
  "field-renderers": N(() => [
26720
26730
  C(Dt, {
26721
26731
  match: ({ path: a }) => a === "config.access_token_keyset"
@@ -26875,7 +26885,7 @@ const CO = /* @__PURE__ */ Oe({
26875
26885
  },
26876
26886
  setup(e) {
26877
26887
  const t = e, n = tn();
26878
- Kt(Jn, n == null ? void 0 : n[Pn]);
26888
+ Kt(Jn, n == null ? void 0 : n[On]);
26879
26889
  const { i18n: { t: i } } = it(), o = ft(Yn), r = L(() => {
26880
26890
  const f = o == null ? void 0 : o.geoApiServerUrl, c = f ? new URL(f).hostname.split(".")[0] : null;
26881
26891
  return c ? `https://${c}.api.konghq.com/v3/openmeter/events` : "https://{{region}}.api.konghq.com/v3/openmeter/events";
@@ -26898,7 +26908,7 @@ const CO = /* @__PURE__ */ Oe({
26898
26908
  match: ({ path: p }) => p === "config.meter_api_requests"
26899
26909
  }, {
26900
26910
  default: N((p) => [
26901
- C(On, We(p, {
26911
+ C(Cn, We(p, {
26902
26912
  description: u(i)("plugins.free-form.metering-and-billing.fields.meter_api_requests.description")
26903
26913
  }), null, 16, ["description"])
26904
26914
  ]),
@@ -26908,7 +26918,7 @@ const CO = /* @__PURE__ */ Oe({
26908
26918
  match: ({ path: p }) => p === "config.meter_ai_token_usage"
26909
26919
  }, {
26910
26920
  default: N((p) => [
26911
- C(On, We(p, {
26921
+ C(Cn, We(p, {
26912
26922
  description: u(i)("plugins.free-form.metering-and-billing.fields.meter_ai_token_usage.description")
26913
26923
  }), null, 16, ["description"])
26914
26924
  ]),
@@ -26918,7 +26928,7 @@ const CO = /* @__PURE__ */ Oe({
26918
26928
  match: ({ path: p }) => p === "config.ssl_verify"
26919
26929
  }, {
26920
26930
  default: N((p) => [
26921
- C(On, We(p, {
26931
+ C(Cn, We(p, {
26922
26932
  description: u(i)("plugins.free-form.metering-and-billing.fields.ssl_verify.description"),
26923
26933
  label: u(i)("plugins.free-form.metering-and-billing.fields.ssl_verify.label")
26924
26934
  }), null, 16, ["description", "label"])
@@ -27499,7 +27509,7 @@ const CO = /* @__PURE__ */ Oe({
27499
27509
  },
27500
27510
  setup(e) {
27501
27511
  const t = e, n = tn();
27502
- Kt(Jn, n == null ? void 0 : n[Pn]);
27512
+ Kt(Jn, n == null ? void 0 : n[On]);
27503
27513
  function i(o, r) {
27504
27514
  var a;
27505
27515
  ((a = o.config) == null ? void 0 : a.namespace) === null && delete o.config.namespace, t.onFormChange(o, r);
@@ -27675,7 +27685,7 @@ const la = "_callout_id", XN = /* @__PURE__ */ Oe({
27675
27685
  },
27676
27686
  setup(e) {
27677
27687
  const t = e, n = tn();
27678
- Kt(Jn, n == null ? void 0 : n[Pn]);
27688
+ Kt(Jn, n == null ? void 0 : n[On]);
27679
27689
  const { i18n: { t: i } } = it();
27680
27690
  function o(s, d = !1) {
27681
27691
  return s.reduce((f, { [la]: c, name: p }) => (d ? f[p] = c : f[c] = p, f), {});
@@ -28100,7 +28110,7 @@ const la = "_callout_id", XN = /* @__PURE__ */ Oe({
28100
28110
  },
28101
28111
  setup(e) {
28102
28112
  const t = e, n = tn();
28103
- Kt(Jn, n == null ? void 0 : n[Pn]);
28113
+ Kt(Jn, n == null ? void 0 : n[On]);
28104
28114
  function i(o, r) {
28105
28115
  var a;
28106
28116
  ((a = o.config) == null ? void 0 : a.namespace) === null && delete o.config.namespace, t.onFormChange(o, r);
@@ -28530,10 +28540,10 @@ const Fm = (e) => {
28530
28540
  O.forEach((Q) => {
28531
28541
  d(E[Q], Q, E, H, j, P);
28532
28542
  });
28533
- const W = H.name, Z = w._sourcePlugin || W, q = In[Z], G = [], M = (Q) => {
28543
+ const Y = H.name, Z = w._sourcePlugin || Y, q = Tn[Z], G = [], M = (Q) => {
28534
28544
  const V = ["cluster-cache"];
28535
- for (const Y of V)
28536
- if (Q.model.includes(Y))
28545
+ for (const J of V)
28546
+ if (Q.model.includes(J))
28537
28547
  return !1;
28538
28548
  return new RegExp("(?<=-redis-).*").test(Q.model);
28539
28549
  };
@@ -28555,7 +28565,7 @@ const Fm = (e) => {
28555
28565
  }
28556
28566
  j.fields.sort((Q, V) => (Q.order = Q.order || 0, V.order = V.order || 0, Q.order - V.order));
28557
28567
  } else {
28558
- const Q = [], V = [], Y = [], B = [], $ = {};
28568
+ const Q = [], V = [], J = [], B = [], $ = {};
28559
28569
  if (q != null && q.fieldRules) {
28560
28570
  const ie = [
28561
28571
  ...q.fieldRules.atLeastOneOf ?? [],
@@ -28582,9 +28592,9 @@ const Fm = (e) => {
28582
28592
  $[ie.model] === !1 && ($[ie.model] = !0), V.push(ie);
28583
28593
  continue;
28584
28594
  }
28585
- Y.push(ie);
28595
+ J.push(ie);
28586
28596
  }
28587
- B.length && Y.push({
28597
+ B.length && J.push({
28588
28598
  id: "_redis",
28589
28599
  fields: B,
28590
28600
  model: "__redis_partial",
@@ -28595,17 +28605,17 @@ const Fm = (e) => {
28595
28605
  // Place redis fields at the top of the advanced fields
28596
28606
  });
28597
28607
  const K = Object.entries($).filter(([, ie]) => !ie).map(([ie]) => ie.replace(/-/g, ".").replace(/_/g, "-"));
28598
- K.length > 0 && console.warn(`Unknown checked fields for plugin ${W}: ${K.join(", ")}`);
28608
+ K.length > 0 && console.warn(`Unknown checked fields for plugin ${Y}: ${K.join(", ")}`);
28599
28609
  const ae = [];
28600
28610
  Q.length > 0 && ae.push({
28601
28611
  fields: Q.sort(Km)
28602
- }), (V.length > 0 || Y.length > 0) && ae.push({
28612
+ }), (V.length > 0 || J.length > 0) && ae.push({
28603
28613
  fields: V.sort(Hc),
28604
28614
  collapsible: {
28605
28615
  title: i("plugins.form.grouping.plugin_configuration.title"),
28606
28616
  description: i("plugins.form.grouping.plugin_configuration.description"),
28607
28617
  nestedCollapsible: {
28608
- fields: Y.sort(Hc),
28618
+ fields: J.sort(Hc),
28609
28619
  triggerLabel: {
28610
28620
  expand: i("plugins.form.grouping.advanced_parameters.view"),
28611
28621
  collapse: i("plugins.form.grouping.advanced_parameters.hide")
@@ -28901,7 +28911,7 @@ const ut = {
28901
28911
  "response-transformer",
28902
28912
  "route-by-header",
28903
28913
  "tcp-log"
28904
- ], i = ["installed", "streamed", "cloned"], o = e, r = t, { i18n: { t: a }, i18nT: l } = ut.useI18n(), s = Hi(), { getMessageFromError: d } = Ti(), { axiosInstance: f } = En((be = o.config) == null ? void 0 : be.axiosRequestConfig), {
28914
+ ], i = ["installed", "streamed", "cloned"], o = e, r = t, { i18n: { t: a }, i18nT: l } = ut.useI18n(), s = Hi(), { getMessageFromError: d } = Ti(), { axiosInstance: f } = xn((be = o.config) == null ? void 0 : be.axiosRequestConfig), {
28905
28915
  createInstalledPlugin: c,
28906
28916
  updateInstalledPlugin: p,
28907
28917
  createStreamedPlugin: m,
@@ -28964,7 +28974,7 @@ const ut = {
28964
28974
  default:
28965
28975
  return {};
28966
28976
  }
28967
- }), D = L(() => !!o.pluginName), E = de(!1), I = de(""), O = L(() => new Set(o.unsupportedTypes)), R = L(() => i.filter((ce) => !O.value.has(ce))), j = L(() => !D.value && R.value.length === 0), H = L(() => !D.value && R.value.length > 1), W = () => R.value[0] ?? null, Z = (ce) => R.value.includes(ce), q = (ce) => {
28977
+ }), D = L(() => !!o.pluginName), E = de(!1), I = de(""), O = L(() => new Set(o.unsupportedTypes)), R = L(() => i.filter((ce) => !O.value.has(ce))), j = L(() => !D.value && R.value.length === 0), H = L(() => !D.value && R.value.length > 1), Y = () => R.value[0] ?? null, Z = (ce) => R.value.includes(ce), q = (ce) => {
28968
28978
  if (D.value || !H.value) {
28969
28979
  const me = ce - 1;
28970
28980
  return (M.fields.pluginType === "installed" ? 1 : 2) > 1 ? me : void 0;
@@ -28972,7 +28982,7 @@ const ut = {
28972
28982
  return ce;
28973
28983
  }, G = de(!0), M = Ei({
28974
28984
  fields: {
28975
- pluginType: W(),
28985
+ pluginType: Y(),
28976
28986
  schemaContent: "",
28977
28987
  handlerContent: "",
28978
28988
  name: "",
@@ -28989,13 +28999,13 @@ const ut = {
28989
28999
  }, { immediate: !0 }), Xe(() => M.fields.pluginType, () => {
28990
29000
  D.value || (M.fields.schemaContent = "", M.fields.handlerContent = "", M.fields.name = "", M.fields.sourcePlugin = "", M.fields.aliasName = "", M.fields.priority = "");
28991
29001
  });
28992
- const { getDisplayName: V } = Hp(), Y = L(() => {
29002
+ const { getDisplayName: V } = Hp(), J = L(() => {
28993
29003
  var Ue;
28994
29004
  const ce = ((Ue = o.config) == null ? void 0 : Ue.clonablePlugins) ?? n;
28995
29005
  if (ce.length === 0) return [];
28996
29006
  const me = {};
28997
29007
  ce.forEach((Ke) => {
28998
- const He = In[Ke], Je = He == null ? void 0 : He.group;
29008
+ const He = Tn[Ke], Je = He == null ? void 0 : He.group;
28999
29009
  Je ? (me[Je] || (me[Je] = []), me[Je].push({
29000
29010
  label: V(Ke),
29001
29011
  value: Ke
@@ -29425,7 +29435,7 @@ const ut = {
29425
29435
  "onUpdate:modelValue": me[10] || (me[10] = (re) => M.fields.sourcePlugin = re),
29426
29436
  "data-testid": "custom-plugin-clone-select",
29427
29437
  "enable-filtering": "",
29428
- items: Y.value,
29438
+ items: J.value,
29429
29439
  label: u(a)("custom_plugin_form.step2_clone.select_plugin.label"),
29430
29440
  placeholder: u(a)("custom_plugin_form.step2_clone.select_plugin.placeholder"),
29431
29441
  required: ""
@@ -29736,7 +29746,7 @@ function DR(e) {
29736
29746
  return Dm(n), t.fields = n.fields, t;
29737
29747
  }
29738
29748
  function qR(e, t) {
29739
- const n = In[e];
29749
+ const n = Tn[e];
29740
29750
  if (!n || !n.fieldRules)
29741
29751
  return t;
29742
29752
  const i = BR(n.fieldRules), o = { ...t };
@@ -29884,7 +29894,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
29884
29894
  if (i.config.app !== "konnect") return !1;
29885
29895
  const Ee = i.config;
29886
29896
  return !!Ee.isKonnectManagedRedisEnabled && Ee.isCloudGateway === !0;
29887
- }), r = ft(fi.KM_2306_CONDITION_FIELD_314, !1), a = ft(fi.KHCP_20393_IDENTITY_PRINCIPALS_UI, !1), { axiosInstance: l } = En((st = i.config) == null ? void 0 : st.axiosRequestConfig), { parseSchema: s } = ut.useSchemas({
29897
+ }), r = ft(fi.KM_2306_CONDITION_FIELD_314, !1), a = ft(fi.KHCP_20393_IDENTITY_PRINCIPALS_UI, !1), { axiosInstance: l } = xn((st = i.config) == null ? void 0 : st.axiosRequestConfig), { parseSchema: s } = ut.useSchemas({
29888
29898
  entityId: ((qe = i.entityMap.focusedEntity) == null ? void 0 : qe.id) || void 0,
29889
29899
  credential: i.credential,
29890
29900
  enableRedisPartial: i.enableRedisPartial,
@@ -29961,7 +29971,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
29961
29971
  });
29962
29972
  }
29963
29973
  }), Kt(Yn, i.config);
29964
- const I = de(""), O = de(), R = pn(), j = de(null), H = de({}), W = Ei({}), Z = Ei({}), q = L(() => {
29974
+ const I = de(""), O = de(), R = pn(), j = de(null), H = de({}), Y = Ei({}), Z = Ei({}), q = L(() => {
29965
29975
  var Ee;
29966
29976
  return (Ee = j.value) == null ? void 0 : Ee.options;
29967
29977
  }), G = L(() => {
@@ -29972,7 +29982,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
29972
29982
  return DR(Ee);
29973
29983
  }), M = de(!1), Q = de(), V = (Ee, Ce) => {
29974
29984
  M.value = Ee ?? "", Q.value = Ce;
29975
- }, Y = (Ee) => {
29985
+ }, J = (Ee) => {
29976
29986
  var Ce;
29977
29987
  (Ce = Q.value) == null || Ce.call(Q, Ee), M.value = !1;
29978
29988
  }, B = (Ee) => {
@@ -29985,7 +29995,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
29985
29995
  O.value = Nm(Ce), R.value = h(Ce, i.engine) ? y(Ce) ?? dm : void 0, I.value = hd(Ce), v(!!R.value);
29986
29996
  }, $ = (Ee) => {
29987
29997
  var Ae, ke;
29988
- const Ce = { ...i.schema }, he = Z, re = W, ee = Object.keys(he), le = {};
29998
+ const Ce = { ...i.schema }, he = Z, re = Y, ee = Object.keys(he), le = {};
29989
29999
  if (!p(H.value))
29990
30000
  for (let Pe = 0; Pe < ((ke = (Ae = H.value) == null ? void 0 : Ae.fields) == null ? void 0 : ke.length); Pe++)
29991
30001
  Ce[H.value.fields[Pe].model] = H.value.fields[Pe];
@@ -30071,7 +30081,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30071
30081
  }, K = (Ee, Ce = {}) => {
30072
30082
  c(Z, Ce, Ee, i.editing), n("model-updated", {
30073
30083
  model: Z,
30074
- originalModel: W,
30084
+ originalModel: Y,
30075
30085
  data: $()
30076
30086
  });
30077
30087
  }, ae = (Ee, Ce) => {
@@ -30081,7 +30091,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30081
30091
  const re = Object.assign({}, Z, he);
30082
30092
  Object.assign(Z, re), n("model-updated", {
30083
30093
  model: Z,
30084
- originalModel: W,
30094
+ originalModel: Y,
30085
30095
  data: $()
30086
30096
  });
30087
30097
  }, ie = (Ee) => {
@@ -30096,23 +30106,23 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30096
30106
  }
30097
30107
  const le = Ee[he], pe = typeof le;
30098
30108
  if (ee && ee.type === "object-advanced" && !le) {
30099
- Z[re] = {}, W[re] = {};
30109
+ Z[re] = {}, Y[re] = {};
30100
30110
  return;
30101
30111
  }
30102
30112
  if (Array.isArray(le)) {
30103
- Z[re] = JSON.parse(JSON.stringify(le)), W[re] = JSON.parse(JSON.stringify(le));
30113
+ Z[re] = JSON.parse(JSON.stringify(le)), Y[re] = JSON.parse(JSON.stringify(le));
30104
30114
  return;
30105
30115
  }
30106
30116
  if (pe === "object" && le && !le.length)
30107
30117
  return fe(le, re);
30108
30118
  if (pe === "object" && le && le.length && ee.type === "input") {
30109
- Z[re] = le.join(", "), W[re] = le.join(", ");
30119
+ Z[re] = le.join(", "), Y[re] = le.join(", ");
30110
30120
  return;
30111
30121
  }
30112
- Z[re] = le, W[re] = le;
30122
+ Z[re] = le, Y[re] = le;
30113
30123
  }), n("model-updated", {
30114
30124
  model: Z,
30115
- originalModel: W,
30125
+ originalModel: Y,
30116
30126
  data: $()
30117
30127
  });
30118
30128
  }, be = (Ee, Ce) => {
@@ -30159,7 +30169,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30159
30169
  // config change should also update the form model
30160
30170
  // otherwise the submit button will be disabled
30161
30171
  model: { ...re, ...he },
30162
- originalModel: W,
30172
+ originalModel: Y,
30163
30173
  data: $(Ce)
30164
30174
  });
30165
30175
  }, He = de(!0), Je = () => {
@@ -30200,7 +30210,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30200
30210
  const he = s(Ee, void 0, void 0, i.engine);
30201
30211
  Object.assign(Z, he.model), H.value = {
30202
30212
  fields: (ee = (re = H.value) == null ? void 0 : re.fields) == null ? void 0 : ee.map((le) => ({ ...le, disabled: le.disabled || !1 }))
30203
- }, Object.assign(W, JSON.parse(JSON.stringify(he.model))), B(he.model.name), Je();
30213
+ }, Object.assign(Y, JSON.parse(JSON.stringify(he.model))), B(he.model.name), Je();
30204
30214
  }, { immediate: !0, deep: !0 }), Gi(() => {
30205
30215
  var Ee, Ce, he, re;
30206
30216
  j.value = s(i.schema, void 0, void 0, i.engine), Object.assign(Z, ((Ee = j.value) == null ? void 0 : Ee.model) || {}), H.value = ((Ce = j.value) == null ? void 0 : Ce.schema) || {}, B((re = (he = j.value) == null ? void 0 : he.model) == null ? void 0 : re.name), Je();
@@ -30234,7 +30244,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30234
30244
  onGlobalAction: Ce[2] || (Ce[2] = (pe, Ae) => Ee.$emit("globalAction", pe, Ae))
30235
30245
  }, vt({ _: 2 }, [
30236
30246
  e.enableVaultSecretPicker ? {
30237
- name: u(Pn),
30247
+ name: u(On),
30238
30248
  fn: N((pe) => [
30239
30249
  pe.schema.referenceable ? (S(), te(u(rs), We({ key: 0 }, pe, { onOpen: V }), null, 16)) : ge("", !0)
30240
30250
  ]),
@@ -30256,7 +30266,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30256
30266
  "onClick:learnMore": Ce[4] || (Ce[4] = (pe) => Ee.$emit("click:learn-more", pe))
30257
30267
  }, vt({ _: 2 }, [
30258
30268
  e.enableVaultSecretPicker ? {
30259
- name: u(Pn),
30269
+ name: u(On),
30260
30270
  fn: N((pe) => [
30261
30271
  pe.schema.referenceable ? (S(), te(u(rs), We({ key: 0 }, pe, { onOpen: V }), null, 16)) : ge("", !0)
30262
30272
  ]),
@@ -30280,17 +30290,17 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30280
30290
  ]),
30281
30291
  _: 2
30282
30292
  }, [
30283
- (le = u(In)[Z.name]) != null && le.fieldRules && (i.config.isNewOtelSchema || Z.name !== "opentelemetry") ? {
30293
+ (le = u(Tn)[Z.name]) != null && le.fieldRules && (i.config.isNewOtelSchema || Z.name !== "opentelemetry") ? {
30284
30294
  name: "plugin-config-before-content",
30285
30295
  fn: N(() => [
30286
30296
  C(RR, {
30287
- rules: u(In)[Z.name].fieldRules
30297
+ rules: u(Tn)[Z.name].fieldRules
30288
30298
  }, null, 8, ["rules"])
30289
30299
  ]),
30290
30300
  key: "0"
30291
30301
  } : void 0,
30292
30302
  e.enableVaultSecretPicker ? {
30293
- name: u(Pn),
30303
+ name: u(On),
30294
30304
  fn: N((pe) => [
30295
30305
  pe.schema.referenceable ? (S(), te(u(rs), We({ key: 0 }, pe, { onOpen: V }), null, 16)) : ge("", !0)
30296
30306
  ]),
@@ -30303,7 +30313,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30303
30313
  config: i.config,
30304
30314
  setup: M.value,
30305
30315
  onCancel: Ce[6] || (Ce[6] = () => M.value = !1),
30306
- onProceed: Y
30316
+ onProceed: J
30307
30317
  }, null, 8, ["config", "setup"])
30308
30318
  ], 64);
30309
30319
  };
@@ -30439,8 +30449,8 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30439
30449
  app: a.config.app,
30440
30450
  credential: a.credential,
30441
30451
  experimentalRenders: a.config.app === "konnect" ? a.config.experimentalRenders : void 0
30442
- }), { formatPluginFieldLabel: c } = ut.usePluginHelpers(), { shouldUseFreeForm: p } = ut.useFreeFormResolver(), { getMessageFromError: m } = Ti(), { capitalize: h } = pl(), { objectsAreEqual: y } = Sa(), { axiosInstance: _ } = En((De = a.config) == null ? void 0 : De.axiosRequestConfig), { getClonedPlugin: v } = ut.useCustomPluginApi({
30443
- axiosInstance: En({
30452
+ }), { formatPluginFieldLabel: c } = ut.usePluginHelpers(), { shouldUseFreeForm: p } = ut.useFreeFormResolver(), { getMessageFromError: m } = Ti(), { capitalize: h } = pl(), { objectsAreEqual: y } = Sa(), { axiosInstance: _ } = xn((De = a.config) == null ? void 0 : De.axiosRequestConfig), { getClonedPlugin: v } = ut.useCustomPluginApi({
30453
+ axiosInstance: xn({
30444
30454
  ...((xe = a.config) == null ? void 0 : xe.axiosRequestConfig) ?? {},
30445
30455
  konnect: { bypassGlobal404Handler: !0 }
30446
30456
  // force bypassGlobal404Handler for this call
@@ -30451,11 +30461,11 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30451
30461
  controlPlaneId: a.config.controlPlaneId
30452
30462
  }), b = de(!1), x = L(() => !!a.pluginId), A = L(() => a.pluginId ? $i.Edit : $i.Create), k = de(void 0), w = de(void 0), T = L(() => !!(a.credential && a.config.entityId)), P = de(void 0), D = de({}), E = de(), I = de(), O = ft(fi.KM_2503_CUSTOM_PLUGIN_FREEFORM, !1), R = de(null), j = L(() => R.value !== null), H = L(
30453
30463
  () => j.value && R.value ? R.value : a.pluginType
30454
- ), W = L(() => {
30464
+ ), Y = L(() => {
30455
30465
  if (a.engine) return a.engine;
30456
30466
  if (!(!O || !Pe.value))
30457
30467
  return j.value && R.value ? p(R.value) ? "freeform" : "vfg" : "freeform";
30458
- }), Z = L(() => p(a.pluginType, W.value));
30468
+ }), Z = L(() => p(a.pluginType, Y.value));
30459
30469
  Kt(qo, {
30460
30470
  redisType: E,
30461
30471
  redisPath: I,
@@ -30473,7 +30483,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30473
30483
  } = Jg(
30474
30484
  () => a.config,
30475
30485
  ei.Plugin
30476
- ), Y = de(!1), B = Ei({
30486
+ ), J = de(!1), B = Ei({
30477
30487
  enabled: !0,
30478
30488
  protocols: [],
30479
30489
  tags: []
@@ -30510,7 +30520,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30510
30520
  return z = z.replace(/{resourceEndpoint}/gi, je.value), z;
30511
30521
  }
30512
30522
  let U;
30513
- return a.config.entityType && a.config.entityId ? U = ot.form[a.config.app].edit.forEntity.replace(/{entityType}/gi, a.config.entityType).replace(/{entityId}/gi, a.config.entityId) : U = ot.form[a.config.app].edit.all, a.config.app === "konnect" && ((oe = In[a.pluginType]) != null && oe.useUIData) ? `${U}?__ui_data=true` : U;
30523
+ return a.config.entityType && a.config.entityId ? U = ot.form[a.config.app].edit.forEntity.replace(/{entityType}/gi, a.config.entityType).replace(/{entityId}/gi, a.config.entityId) : U = ot.form[a.config.app].edit.all, a.config.app === "konnect" && ((oe = Tn[a.pluginType]) != null && oe.useUIData) ? `${U}?__ui_data=true` : U;
30514
30524
  }), be = () => {
30515
30525
  b.value = !b.value;
30516
30526
  }, ce = L(() => {
@@ -30716,15 +30726,15 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30716
30726
  }), Fe.elements && Fe.type === "array") {
30717
30727
  const dt = Fe.elements;
30718
30728
  if (z[$e].referenceable = dt.referenceable, z[$e].elements = dt, ["string", "integer", "number"].includes(dt.type) && !dt.one_of) {
30719
- const { id: Zt, help: Pt, label: ht, hint: ct, values: St, referenceable: Et, model: wn } = z[$e], { inputAttributes: Sn, ...os } = JSON.parse(JSON.stringify(mt));
30720
- Sn.type = dt.type === "string" ? "text" : "number", z[$e] = { id: Zt, help: Pt, label: ht, hint: ct, values: St, referenceable: Et, model: wn, inputAttributes: Sn, ...os };
30729
+ const { id: Zt, help: Pt, label: ht, hint: ct, values: St, referenceable: Et, model: wn } = z[$e], { inputAttributes: An, ...os } = JSON.parse(JSON.stringify(mt));
30730
+ An.type = dt.type === "string" ? "text" : "number", z[$e] = { id: Zt, help: Pt, label: ht, hint: ct, values: St, referenceable: Et, model: wn, inputAttributes: An, ...os };
30721
30731
  } else if (["string", "integer", "number"].includes(dt.type) && dt.one_of) {
30722
30732
  if (Se) {
30723
30733
  const { id: Zt, help: Pt, label: ht, hint: ct, values: St, referenceable: Et, model: wn } = z[$e];
30724
30734
  z[$e] = { id: Zt, help: Pt, label: ht, hint: ct, values: St, referenceable: Et, model: wn, ...IR(dt.one_of, Fe.default) };
30725
30735
  }
30726
30736
  } else if (dt.type === "array") {
30727
- const { id: Zt, help: Pt, label: ht, hint: ct, values: St, referenceable: Et, model: wn, elements: Sn } = z[$e], { inputAttributes: os, ...Bm } = JSON.parse(JSON.stringify(mt));
30737
+ const { id: Zt, help: Pt, label: ht, hint: ct, values: St, referenceable: Et, model: wn, elements: An } = z[$e], { inputAttributes: os, ...Bm } = JSON.parse(JSON.stringify(mt));
30728
30738
  z[$e] = {
30729
30739
  id: Zt,
30730
30740
  help: Pt,
@@ -30733,7 +30743,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30733
30743
  values: St,
30734
30744
  referenceable: Et,
30735
30745
  model: wn,
30736
- elements: Sn,
30746
+ elements: An,
30737
30747
  // Preserve elements so FieldArray can check the original schema structure
30738
30748
  inputAttributes: os,
30739
30749
  ...Bm
@@ -30742,8 +30752,8 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30742
30752
  }
30743
30753
  if (Fe.hint && (z[$e].hint = Fe.hint), Re && !Re.overwriteDefault && Object.keys(Re).forEach((dt) => {
30744
30754
  if (dt === $e) {
30745
- const { help: Zt, label: Pt, hint: ht, values: ct, referenceable: St, elements: Et } = z[$e], { help: wn, ...Sn } = Re[dt];
30746
- z[$e] = { help: Zt, label: Pt, hint: ht, values: ct, referenceable: St, elements: Et, ...Sn }, typeof wn == "string" && (z[$e].help = ir.parse(wn, { mangle: !1, headerIds: !1 }));
30755
+ const { help: Zt, label: Pt, hint: ht, values: ct, referenceable: St, elements: Et } = z[$e], { help: wn, ...An } = Re[dt];
30756
+ z[$e] = { help: Zt, label: Pt, hint: ht, values: ct, referenceable: St, elements: Et, ...An }, typeof wn == "string" && (z[$e].help = ir.parse(wn, { mangle: !1, headerIds: !1 }));
30747
30757
  }
30748
30758
  }), Fe.type === "array" && ((Xt = Fe.elements) == null ? void 0 : Xt.type) === "record" && Array.isArray(Fe.elements.fields)) {
30749
30759
  let dt = {};
@@ -30812,7 +30822,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30812
30822
  }), z;
30813
30823
  }, He = () => {
30814
30824
  var _t, Dn, $t, Xt, Bo, Uo, Vo, zo, dt, Zt, Pt, ht;
30815
- const U = j.value && R.value ? R.value : a.pluginType, oe = ((_t = In[U]) == null ? void 0 : _t.scope.includes(Mt.SERVICE)) ?? !0, z = ((Dn = In[U]) == null ? void 0 : Dn.scope.includes(Mt.ROUTE)) ?? !0, Se = (($t = In[U]) == null ? void 0 : $t.scope.includes(Mt.CONSUMER)) ?? !0, Te = a.config.disableConsumerGroupScope ? !1 : ((Xt = In[U]) == null ? void 0 : Xt.scope.includes(Mt.CONSUMER_GROUP)) ?? !0, Re = a.config.entityType === "consumers" && !!a.config.entityId || !!((Uo = (Bo = P.value) == null ? void 0 : Bo.consumer) != null && Uo.id), Be = a.config.entityType === "consumer_groups" && !!a.config.entityId || !!((zo = (Vo = P.value) == null ? void 0 : Vo.consumer_group) != null && zo.id), Ve = a.config.entityType === "services" && !!a.config.entityId || !!((Zt = (dt = P.value) == null ? void 0 : dt.service) != null && Zt.id), et = a.config.entityType === "routes" && !!a.config.entityId || !!((ht = (Pt = P.value) == null ? void 0 : Pt.route) != null && ht.id), Ye = [], Fe = (ct, St, Et) => ct ? s("plugins.form.disable_source_scope_change", { scope: Et }) : St ? s("plugins.form.disable_data_retrieving", { scope: Et }) : "", $e = (ct) => {
30825
+ const U = j.value && R.value ? R.value : a.pluginType, oe = ((_t = Tn[U]) == null ? void 0 : _t.scope.includes(Mt.SERVICE)) ?? !0, z = ((Dn = Tn[U]) == null ? void 0 : Dn.scope.includes(Mt.ROUTE)) ?? !0, Se = (($t = Tn[U]) == null ? void 0 : $t.scope.includes(Mt.CONSUMER)) ?? !0, Te = a.config.disableConsumerGroupScope ? !1 : ((Xt = Tn[U]) == null ? void 0 : Xt.scope.includes(Mt.CONSUMER_GROUP)) ?? !0, Re = a.config.entityType === "consumers" && !!a.config.entityId || !!((Uo = (Bo = P.value) == null ? void 0 : Bo.consumer) != null && Uo.id), Be = a.config.entityType === "consumer_groups" && !!a.config.entityId || !!((zo = (Vo = P.value) == null ? void 0 : Vo.consumer_group) != null && zo.id), Ve = a.config.entityType === "services" && !!a.config.entityId || !!((Zt = (dt = P.value) == null ? void 0 : dt.service) != null && Zt.id), et = a.config.entityType === "routes" && !!a.config.entityId || !!((ht = (Pt = P.value) == null ? void 0 : Pt.route) != null && ht.id), Ye = [], Fe = (ct, St, Et) => ct ? s("plugins.form.disable_source_scope_change", { scope: Et }) : St ? s("plugins.form.disable_data_retrieving", { scope: Et }) : "", $e = (ct) => {
30816
30826
  var St, Et;
30817
30827
  return ((Et = (St = a.scopedEntitiesPermissions) == null ? void 0 : St[ct]) == null ? void 0 : Et.canRetrieve) === !1;
30818
30828
  };
@@ -30898,11 +30908,11 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30898
30908
  ...z ? ["route"] : [],
30899
30909
  ...Se ? ["consumer"] : [],
30900
30910
  ...Te ? ["consumer_group"] : []
30901
- ], Et = ct.splice(ct.length - 2, 2).map((Sn) => s(Sn === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${Sn}.plural`)).join(`${ct.length > 0 ? "," : ""} and/or `), wn = [
30911
+ ], Et = ct.splice(ct.length - 2, 2).map((An) => s(An === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${An}.plural`)).join(`${ct.length > 0 ? "," : ""} and/or `), wn = [
30902
30912
  "Specific",
30903
30913
  [
30904
30914
  ...ct.length > 0 ? [ct.map(
30905
- (Sn) => s(Sn === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${Sn}.plural`)
30915
+ (An) => s(An === "service" ? "plugins.form.scoping.gateway_service.plural" : `plugins.form.scoping.${An}.plural`)
30906
30916
  ).join(", ")] : [],
30907
30917
  Et
30908
30918
  ].join(", ")
@@ -30914,7 +30924,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30914
30924
  }), me.selectionGroup.fields[1].fields = Ye;
30915
30925
  }
30916
30926
  d[H.value] && d[H.value].overwriteDefault && Object.hasOwnProperty.call(d[H.value], "formSchema") && Object.assign(me, d[H.value].formSchema);
30917
- }, Je = L(() => !y($.fields, B, !0)), st = L(() => !Ne.value && !Y.value && (A.value === $i.Create || Je.value)), qe = de(!1), Ee = de(), Ce = (U) => {
30927
+ }, Je = L(() => !y($.fields, B, !0)), st = L(() => !Ne.value && !J.value && (A.value === $i.Create || Je.value)), qe = de(!1), Ee = de(), Ce = (U) => {
30918
30928
  a.credential && U.password && (U.password = ""), $.fields.id = (U == null ? void 0 : U.id) || void 0, Ee.value = U == null ? void 0 : U.ordering, Object.assign(B, $.fields), P.value = U, qe.value = !0;
30919
30929
  }, he = de({}), re = (U) => {
30920
30930
  var oe;
@@ -30939,7 +30949,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
30939
30949
  const U = a.config.entityType && a.config.entityId && !a.developer, oe = T.value ? ot.form[a.config.app].credential[A.value] : ot.form[a.config.app][A.value][U ? "forEntity" : "all"];
30940
30950
  let z = `${a.config.apiBaseUrl}${oe}`;
30941
30951
  return a.config.app === "konnect" && (z = z.replace(/{controlPlaneId}/gi, a.config.controlPlaneId || "")), z = z.replace(/\/{workspace}/gi, a.config.workspace ? `/${a.config.workspace}` : ""), z = z.replace(/{resourceEndpoint}/gi, je.value), z = z.replace(/{id}/gi, a.pluginId ?? ""), z = z.replace(/{entityType}/gi, a.config.entityType || ""), z = z.replace(/{entityId}/gi, a.config.entityId || ""), z;
30942
- }), Pe = L(() => !Object.keys(In).includes(a.pluginType)), g = L(() => {
30952
+ }), Pe = L(() => !Object.keys(Tn).includes(a.pluginType)), g = L(() => {
30943
30953
  const U = he.value;
30944
30954
  if (T.value) {
30945
30955
  for (const oe in Mt) {
@@ -31117,7 +31127,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31117
31127
  editing: A.value === u($i).Edit,
31118
31128
  "enable-redis-partial": e.enableRedisPartial,
31119
31129
  "enable-vault-secret-picker": a.enableVaultSecretPicker,
31120
- engine: W.value,
31130
+ engine: Y.value,
31121
31131
  "entity-map": ce.value,
31122
31132
  "raw-schema": k.value,
31123
31133
  record: P.value,
@@ -31125,7 +31135,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31125
31135
  "onClick:createEntity": oe[0] || (oe[0] = (Ve) => U.$emit("click:create-entity", Ve)),
31126
31136
  "onClick:learnMore": oe[1] || (oe[1] = (Ve) => U.$emit("click:learn-more", Ve)),
31127
31137
  onGlobalAction: oe[2] || (oe[2] = (Ve, et) => U.$emit("globalAction", Ve, et)),
31128
- onLoading: oe[3] || (oe[3] = (Ve) => Y.value = Ve),
31138
+ onLoading: oe[3] || (oe[3] = (Ve) => J.value = Ve),
31129
31139
  onModelUpdated: re,
31130
31140
  onShowNewPartialModal: oe[4] || (oe[4] = (Ve) => U.$emit("showNewPartialModal", Ve)),
31131
31141
  onValidityChange: pe
@@ -31288,7 +31298,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31288
31298
  emits: ["error", "click:learn-more", "copy:success", "copy:error", "delete:success", "toggle-enabled"],
31289
31299
  setup(e, { emit: t }) {
31290
31300
  var Je, st;
31291
- const n = ut.usePluginMetaData(), i = t, o = e, { i18n: { t: r } } = ut.useI18n(), a = Hi(), { axiosInstance: l } = En((Je = o.config) == null ? void 0 : Je.axiosRequestConfig), { hasRecords: s, handleStateChange: d } = th(() => x.value), f = L(() => s.value && o.config.app === "konnect"), c = L(() => !!o.config.entityId), p = L(() => {
31301
+ const n = ut.usePluginMetaData(), i = t, o = e, { i18n: { t: r } } = ut.useI18n(), a = Hi(), { axiosInstance: l } = xn((Je = o.config) == null ? void 0 : Je.axiosRequestConfig), { hasRecords: s, handleStateChange: d } = th(() => x.value), f = L(() => s.value && o.config.app === "konnect"), c = L(() => !!o.config.entityId), p = L(() => {
31292
31302
  var qe;
31293
31303
  return ((qe = o.config) == null ? void 0 : qe.entityType) === "consumers";
31294
31304
  }), m = L(() => {
@@ -31358,7 +31368,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31358
31368
  break;
31359
31369
  }
31360
31370
  Ce && ((pe = o.config) != null && pe.getScopedEntityViewRoute) && a.push(o.config.getScopedEntityViewRoute(qe, Ce));
31361
- }, j = de(!1), H = de(null), W = L(() => {
31371
+ }, j = de(!1), H = de(null), Y = L(() => {
31362
31372
  const qe = {
31363
31373
  action: "disable",
31364
31374
  id: "",
@@ -31420,7 +31430,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31420
31430
  }, V = async (qe) => {
31421
31431
  var Ce;
31422
31432
  await ((Ce = o.canRetrieve) == null ? void 0 : Ce.call(o, qe)) && a.push(o.config.getViewRoute(qe));
31423
- }, Y = (qe) => ({
31433
+ }, J = (qe) => ({
31424
31434
  label: r("actions.view"),
31425
31435
  to: o.config.getViewRoute(qe)
31426
31436
  }), B = (qe) => ({
@@ -31647,7 +31657,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31647
31657
  C(pe, {
31648
31658
  "data-testid": "action-entity-view",
31649
31659
  "has-divider": "",
31650
- item: Y(ke)
31660
+ item: J(ke)
31651
31661
  }, null, 8, ["item"])
31652
31662
  ]),
31653
31663
  _: 2
@@ -31751,9 +31761,9 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31751
31761
  } : void 0
31752
31762
  ]), 1032, ["cache-identifier", "disable-sorting", "empty-state-options", "error-message", "fetcher", "fetcher-cache-key", "query", "table-headers", "title", "title-tag", "onState"]),
31753
31763
  C(u(uh), {
31754
- action: W.value.action,
31755
- "entity-id": W.value.id,
31756
- "entity-name": W.value.name,
31764
+ action: Y.value.action,
31765
+ "entity-id": Y.value.id,
31766
+ "entity-name": Y.value.name,
31757
31767
  "entity-type": u(r)("glossary.plugin"),
31758
31768
  "on-confirm": G,
31759
31769
  visible: j.value,
@@ -31859,7 +31869,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31859
31869
  class: yt(["plugin-select-card", { disabled: s.value }]),
31860
31870
  "data-testid": `${e.plugin.id}-card`,
31861
31871
  role: "button",
31862
- onClick: E[1] || (E[1] = (W) => s.value || k.value ? void 0 : b())
31872
+ onClick: E[1] || (E[1] = (Y) => s.value || k.value ? void 0 : b())
31863
31873
  }, [
31864
31874
  ne("div", dM, [
31865
31875
  ne("div", pM, [
@@ -31893,7 +31903,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31893
31903
  h.value ? (S(), te(O, {
31894
31904
  key: 0,
31895
31905
  "data-testid": "edit-plugin-schema",
31896
- onClick: E[0] || (E[0] = Ft((W) => T(e.plugin.name, e.plugin.customPluginType), ["stop"]))
31906
+ onClick: E[0] || (E[0] = Ft((Y) => T(e.plugin.name, e.plugin.customPluginType), ["stop"]))
31897
31907
  }, {
31898
31908
  default: N(() => [
31899
31909
  Le(ue(u(r)("actions.edit")), 1)
@@ -31931,12 +31941,12 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31931
31941
  }, null, 8, ["alt", "name"]),
31932
31942
  e.plugin.description || l.value.length ? (S(), se("div", gM, [
31933
31943
  l.value.length ? (S(), se("div", hM, [
31934
- (S(!0), se(Ge, null, Qe(l.value, (W) => (S(), te(j, {
31935
- key: W,
31944
+ (S(!0), se(Ge, null, Qe(l.value, (Y) => (S(), te(j, {
31945
+ key: Y,
31936
31946
  appearance: "info"
31937
31947
  }, {
31938
31948
  default: N(() => [
31939
- Le(ue(W), 1)
31949
+ Le(ue(Y), 1)
31940
31950
  ]),
31941
31951
  _: 2
31942
31952
  }, 1024))), 128))
@@ -31976,7 +31986,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
31976
31986
  emits: ["closed", "proceed"],
31977
31987
  setup(e, { emit: t }) {
31978
31988
  var m;
31979
- const n = e, i = t, { i18n: { t: o } } = ut.useI18n(), { getMessageFromError: r } = Ti(), { axiosInstance: a } = En((m = n.config) == null ? void 0 : m.axiosRequestConfig), l = L(() => {
31989
+ const n = e, i = t, { i18n: { t: o } } = ut.useI18n(), { getMessageFromError: r } = Ti(), { axiosInstance: a } = xn((m = n.config) == null ? void 0 : m.axiosRequestConfig), l = L(() => {
31980
31990
  var h;
31981
31991
  return f.value ? o("delete.plugin_schema_in_use_title") : o("delete.title", { name: ((h = n.plugin) == null ? void 0 : h.name) || o("delete.custom_plugin") });
31982
31992
  }), s = de(!1), d = de(""), f = de(!1), c = L(() => {
@@ -32582,7 +32592,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
32582
32592
  emits: ["loading", "plugin-clicked", "delete-custom:success"],
32583
32593
  setup(e, { emit: t }) {
32584
32594
  var he;
32585
- const n = e, i = t, o = Ch(), r = Hi(), { i18n: { t: a } } = ut.useI18n(), { pluginMetaData: l } = ut.usePluginMetaData(), { getMessageFromError: s } = Ti(), { sortAlpha: d, objectsAreEqual: f } = Sa(), c = de(""), p = de(!0), m = de(!1), h = de(""), y = de(""), _ = de([]), v = de([]), b = de([]), x = de({}), A = de([]), k = de(null), w = de(!1), { axiosInstance: T } = En((he = n.config) == null ? void 0 : he.axiosRequestConfig), P = (re) => re === "none" || re === "disabled" ? /* @__PURE__ */ new Set() : new Set(Array.isArray(re) ? re : [re]), D = L(() => P(n.customPluginSupport)), E = L(() => [...D.value].sort().join("|")), I = L(() => n.customPluginSupport === "disabled"), O = L(() => I.value || D.value.size > 0), R = L(() => D.value.has("streaming")), j = L(() => D.value.has("cloned")), H = (re) => go(re) && re.code === "ERR_CANCELED", W = (re) => s(re).toLowerCase().includes("requires a license"), Z = L(() => x.value ? Object.entries(x.value).filter(([re]) => re !== tt.CUSTOM_PLUGINS).reduce((re, [, ee]) => {
32595
+ const n = e, i = t, o = Ch(), r = Hi(), { i18n: { t: a } } = ut.useI18n(), { pluginMetaData: l } = ut.usePluginMetaData(), { getMessageFromError: s } = Ti(), { sortAlpha: d, objectsAreEqual: f } = Sa(), c = de(""), p = de(!0), m = de(!1), h = de(""), y = de(""), _ = de([]), v = de([]), b = de([]), x = de({}), A = de([]), k = de(null), w = de(!1), { axiosInstance: T } = xn((he = n.config) == null ? void 0 : he.axiosRequestConfig), P = (re) => re === "none" || re === "disabled" ? /* @__PURE__ */ new Set() : new Set(Array.isArray(re) ? re : [re]), D = L(() => P(n.customPluginSupport)), E = L(() => [...D.value].sort().join("|")), I = L(() => n.customPluginSupport === "disabled"), O = L(() => I.value || D.value.size > 0), R = L(() => D.value.has("streaming")), j = L(() => D.value.has("cloned")), H = (re) => go(re) && re.code === "ERR_CANCELED", Y = (re) => s(re).toLowerCase().includes("requires a license"), Z = L(() => x.value ? Object.entries(x.value).filter(([re]) => re !== tt.CUSTOM_PLUGINS).reduce((re, [, ee]) => {
32586
32596
  for (const le of ee ?? [])
32587
32597
  re[le.id] = le;
32588
32598
  return re;
@@ -32612,7 +32622,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
32612
32622
  title: a("plugins.select.tabs.custom.title"),
32613
32623
  disabled: I.value
32614
32624
  }
32615
- ]), Y = L(() => {
32625
+ ]), J = L(() => {
32616
32626
  var ee;
32617
32627
  let re = V.value.length && ((o == null ? void 0 : o.hash) || ((ee = V.value[0]) == null ? void 0 : ee.hash)) || "";
32618
32628
  return re === "#custom" && I.value && (re = "#kong"), re;
@@ -32708,7 +32718,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
32708
32718
  }).catch((le) => {
32709
32719
  if (H(le))
32710
32720
  return;
32711
- const pe = W(le);
32721
+ const pe = Y(le);
32712
32722
  (pe || !y.value) && (y.value = pe ? a("plugins.select.tabs.custom.license_required") : s(le) ?? a("plugins.select.tabs.custom.fetch_error"));
32713
32723
  })
32714
32724
  ), ee.push(be(re)), await Promise.allSettled(ee);
@@ -32824,8 +32834,8 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
32824
32834
  })) : (S(), se("section", OM, [
32825
32835
  V.value.length ? (S(), te(X, {
32826
32836
  key: 0,
32827
- modelValue: Y.value,
32828
- "onUpdate:modelValue": ee[3] || (ee[3] = (ve) => Y.value = ve),
32837
+ modelValue: J.value,
32838
+ "onUpdate:modelValue": ee[3] || (ee[3] = (ve) => J.value = ve),
32829
32839
  "data-testid": "plugins-tabs",
32830
32840
  tabs: V.value,
32831
32841
  onChange: fe
@@ -33309,16 +33319,16 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
33309
33319
  }, D = (E) => {
33310
33320
  const { sortColumnKey: I, sortColumnOrder: O } = E;
33311
33321
  I === "name" && (p.value = [...p.value].sort((R, j) => {
33312
- const H = (R[I] || "").toLowerCase(), W = (j[I] || "").toLowerCase();
33313
- return H < W ? O === "asc" ? -1 : 1 : H > W ? O === "asc" ? 1 : -1 : 0;
33322
+ const H = (R[I] || "").toLowerCase(), Y = (j[I] || "").toLowerCase();
33323
+ return H < Y ? O === "asc" ? -1 : 1 : H > Y ? O === "asc" ? 1 : -1 : 0;
33314
33324
  }));
33315
33325
  };
33316
33326
  return (E, I) => {
33317
- const O = Ie("KBadge"), R = Ie("KButton"), j = Ie("KDropdownItem"), H = Ie("KDropdown"), W = Ie("KTableView"), Z = Ie("KCard");
33327
+ const O = Ie("KBadge"), R = Ie("KButton"), j = Ie("KDropdownItem"), H = Ie("KDropdown"), Y = Ie("KTableView"), Z = Ie("KCard");
33318
33328
  return S(), se(Ge, null, [
33319
33329
  C(Z, { "data-testid": "plugin-catalog-list-view-card" }, {
33320
33330
  default: N(() => [
33321
- (S(), te(W, {
33331
+ (S(), te(Y, {
33322
33332
  key: d.value,
33323
33333
  class: "plugin-catalog-table",
33324
33334
  "client-sort": "",
@@ -33473,7 +33483,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
33473
33483
  emits: ["loading", "plugin-clicked", "delete-custom:success"],
33474
33484
  setup(e, { emit: t }) {
33475
33485
  var Ce;
33476
- const n = t, { i18n: { t: i } } = ut.useI18n(), { pluginMetaData: o } = ut.usePluginMetaData(), { getMessageFromError: r } = Ti(), { sortAlpha: a, objectsAreEqual: l } = Sa(), s = e, { axiosInstance: d } = En((Ce = s.config) == null ? void 0 : Ce.axiosRequestConfig), f = xt("filter-input"), c = de(""), p = de(!1), m = de(!1), h = de(Object.fromEntries(Ws.concat(Ys).map((he) => [he, !1]))), y = de(!0), _ = de(!1), v = de(""), b = de(""), x = de([]), A = de([]), k = de([]), w = de({}), T = de([]), P = de(!1), D = de(null), E = de(!1), I = L(() => P.value ? Ig : Tg), O = ft(fi.KM_2485_CLONED_PLUGINS, !1), R = L(() => u(O)), j = (he) => he === "none" || he === "disabled" ? /* @__PURE__ */ new Set() : new Set(Array.isArray(he) ? he : [he]), H = L(() => j(s.customPluginSupport)), W = L(() => [...H.value].sort().join("|")), Z = L(() => H.value.has("streaming")), q = L(() => R.value && H.value.has("cloned")), G = (he) => go(he) && he.code === "ERR_CANCELED", M = (he) => r(he).toLowerCase().includes("requires a license"), Q = L(() => {
33486
+ const n = t, { i18n: { t: i } } = ut.useI18n(), { pluginMetaData: o } = ut.usePluginMetaData(), { getMessageFromError: r } = Ti(), { sortAlpha: a, objectsAreEqual: l } = Sa(), s = e, { axiosInstance: d } = xn((Ce = s.config) == null ? void 0 : Ce.axiosRequestConfig), f = xt("filter-input"), c = de(""), p = de(!1), m = de(!1), h = de(Object.fromEntries(Ws.concat(Ys).map((he) => [he, !1]))), y = de(!0), _ = de(!1), v = de(""), b = de(""), x = de([]), A = de([]), k = de([]), w = de({}), T = de([]), P = de(!1), D = de(null), E = de(!1), I = L(() => P.value ? Ig : Tg), O = ft(fi.KM_2485_CLONED_PLUGINS, !1), R = L(() => u(O)), j = (he) => he === "none" || he === "disabled" ? /* @__PURE__ */ new Set() : new Set(Array.isArray(he) ? he : [he]), H = L(() => j(s.customPluginSupport)), Y = L(() => [...H.value].sort().join("|")), Z = L(() => H.value.has("streaming")), q = L(() => R.value && H.value.has("cloned")), G = (he) => go(he) && he.code === "ERR_CANCELED", M = (he) => r(he).toLowerCase().includes("requires a license"), Q = L(() => {
33477
33487
  var re;
33478
33488
  let he = `${s.config.apiBaseUrl}${ot.select[s.config.app].availablePlugins}`;
33479
33489
  if (s.config.app === "konnect")
@@ -33487,7 +33497,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
33487
33497
  return s.config.app === "konnect" && (he = he.replace(/{controlPlaneId}/gi, s.config.controlPlaneId || "")), he.replace(/\/{workspace}/gi, s.config.workspace ? `/${s.config.workspace}` : "");
33488
33498
  }
33489
33499
  return null;
33490
- }), Y = L(() => {
33500
+ }), J = L(() => {
33491
33501
  if (q.value) {
33492
33502
  let he = `${s.config.apiBaseUrl}${ot.select[s.config.app].clonedPlugins}`;
33493
33503
  return s.config.app === "konnect" && (he = he.replace(/{controlPlaneId}/gi, s.config.controlPlaneId || "")), he.replace(/\/{workspace}/gi, s.config.workspace ? `/${s.config.workspace}` : "");
@@ -33620,8 +33630,8 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
33620
33630
  }).catch((ee) => {
33621
33631
  G(ee) || b.value || (b.value = r(ee) ?? i("plugins.select.tabs.custom.fetch_error"));
33622
33632
  })
33623
- ), Y.value && Ke.value && re.push(
33624
- Ar(d, Y.value, he).then((ee) => {
33633
+ ), J.value && Ke.value && re.push(
33634
+ Ar(d, J.value, he).then((ee) => {
33625
33635
  k.value = ee;
33626
33636
  }).catch((ee) => {
33627
33637
  if (G(ee))
@@ -33665,7 +33675,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
33665
33675
  s.config.entityType,
33666
33676
  s.config.entityId,
33667
33677
  s.config.app === "kongManager" ? (he = s.config.gatewayInfo) == null ? void 0 : he.edition : void 0,
33668
- W.value,
33678
+ Y.value,
33669
33679
  R.value
33670
33680
  ];
33671
33681
  },
@@ -34014,7 +34024,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
34014
34024
  var T;
34015
34025
  const w = (T = r.pluginMetaData[i.config.pluginType]) == null ? void 0 : T.scope;
34016
34026
  return w ? Object.fromEntries(Object.entries(k).filter(([P, D]) => D ? !0 : !(P === "service" && !w.includes(Mt.SERVICE) || P === "route" && !w.includes(Mt.ROUTE) || P === "consumer" && !w.includes(Mt.CONSUMER) || P === "consumer_group" && !w.includes(Mt.CONSUMER_GROUP)))) : k;
34017
- }, m = (k) => Ai(k, "__ui_data"), { getMessageFromError: h } = Ti(), { axiosInstance: y } = En((A = i.config) == null ? void 0 : A.axiosRequestConfig), _ = L(() => {
34027
+ }, m = (k) => Ai(k, "__ui_data"), { getMessageFromError: h } = Ti(), { axiosInstance: y } = xn((A = i.config) == null ? void 0 : A.axiosRequestConfig), _ = L(() => {
34018
34028
  var w, T;
34019
34029
  let k = `${i.config.apiBaseUrl}${ot.form[i.config.app].pluginSchema}`;
34020
34030
  return i.config.app === "konnect" && (k = k.replace(/{controlPlaneId}/gi, ((w = i.config) == null ? void 0 : w.controlPlaneId) || "")), k.replace(/\/{workspace}/gi, (T = i.config) != null && T.workspace ? `/${i.config.workspace}` : "").replace(/{plugin}/gi, i.config.pluginType);
@@ -34139,13 +34149,13 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
34139
34149
  }, null, 8, ["copy-tooltip", "text"])) : (S(), se("span", UL, "–"))
34140
34150
  ]),
34141
34151
  partials: N((E) => {
34142
- var I, O, R, j, H, W, Z, q, G;
34152
+ var I, O, R, j, H, Y, Z, q, G;
34143
34153
  return [
34144
34154
  u(l)("rowValue", E) ? e.showIdAsLink ? (S(), te(u(Go), {
34145
34155
  key: 1,
34146
34156
  item: {
34147
34157
  key: (O = (I = u(l)("rowValue", E)) == null ? void 0 : I[0]) == null ? void 0 : O.id,
34148
- value: ((j = (R = u(l)("rowValue", E)) == null ? void 0 : R[0]) == null ? void 0 : j.id) + ((W = (H = u(l)("rowValue", E)) == null ? void 0 : H[0]) != null && W.name ? "/" + ((q = (Z = u(l)("rowValue", E)) == null ? void 0 : Z[0]) == null ? void 0 : q.name) : ""),
34158
+ value: ((j = (R = u(l)("rowValue", E)) == null ? void 0 : R[0]) == null ? void 0 : j.id) + ((Y = (H = u(l)("rowValue", E)) == null ? void 0 : H[0]) != null && Y.name ? "/" + ((q = (Z = u(l)("rowValue", E)) == null ? void 0 : Z[0]) == null ? void 0 : q.name) : ""),
34149
34159
  type: u(sn).LinkInternal
34150
34160
  },
34151
34161
  onNavigationClick: () => {
@@ -34179,7 +34189,7 @@ const UR = { class: "kong-ui-entities-plugin-form" }, VR = {
34179
34189
  }), qF = /* @__PURE__ */ ze(zL, [["__scopeId", "data-v-03dcf2b4"]]), { usePluginMetaData: BF, useProvideExperimentalFreeForms: UF } = ut;
34180
34190
  export {
34181
34191
  kn as ArrayField,
34182
- On as BooleanField,
34192
+ Cn as BooleanField,
34183
34193
  dm as CommonForm,
34184
34194
  LF as CustomPluginForm,
34185
34195
  si as DynamicLayout,