@milaboratories/milaboratories.pool-explorer.model 1.0.66 → 1.0.68

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,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @milaboratories/milaboratories.pool-explorer.model@1.0.66 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
3
+ > @milaboratories/milaboratories.pool-explorer.model@1.0.68 build /home/runner/_work/platforma/platforma/etc/blocks/pool-explorer/model
4
4
  > tsup && vite build && block-tools build-model
5
5
 
6
6
  CLI Building entry: src/index.ts
@@ -13,12 +13,12 @@
13
13
  ESM Build start
14
14
  CJS dist/index.cjs 436.00 B
15
15
  CJS dist/index.cjs.map 1013.00 B
16
- CJS ⚡️ Build success in 182ms
16
+ CJS ⚡️ Build success in 98ms
17
17
  ESM dist/index.js 410.00 B
18
18
  ESM dist/index.js.map 996.00 B
19
- ESM ⚡️ Build success in 183ms
19
+ ESM ⚡️ Build success in 98ms
20
20
  DTS Build start
21
- DTS ⚡️ Build success in 3587ms
21
+ DTS ⚡️ Build success in 3975ms
22
22
  DTS dist/index.d.cts 1.14 KB
23
23
  DTS dist/index.d.ts 1.14 KB
24
24
  vite v6.3.5 building for production...
@@ -26,6 +26,6 @@ transforming...
26
26
  ✓ 11 modules transformed.
27
27
  rendering chunks...
28
28
  computing gzip size...
29
- dist/bundle.js 181.53 kB │ gzip: 34.87 kB │ map: 402.84 kB
30
- dist/bundle.js 193.98 kB │ gzip: 35.48 kB │ map: 404.33 kB
31
- ✓ built in 2.02s
29
+ dist/bundle.js 181.54 kB │ gzip: 34.87 kB │ map: 402.89 kB
30
+ dist/bundle.js 193.99 kB │ gzip: 35.47 kB │ map: 404.37 kB
31
+ ✓ built in 2.20s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @milaboratories/milaboratories.pool-explorer.model
2
2
 
3
+ ## 1.0.68
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [890240e]
8
+ - @platforma-sdk/model@1.40.1
9
+
10
+ ## 1.0.67
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [30ce5da]
15
+ - @platforma-sdk/model@1.40.0
16
+
3
17
  ## 1.0.66
4
18
 
5
19
  ### Patch Changes
package/dist/bundle.js CHANGED
@@ -3955,7 +3955,7 @@
3955
3955
  return canonicalize;
3956
3956
  }
3957
3957
  var canonicalizeExports = requireCanonicalize();
3958
- const Ne = /* @__PURE__ */ getDefaultExportFromCjs(canonicalizeExports);
3958
+ const Ve$1 = /* @__PURE__ */ getDefaultExportFromCjs(canonicalizeExports);
3959
3959
  var R$1 = Object.defineProperty;
3960
3960
  var L = (e, n2, t) => n2 in e ? R$1(e, n2, { enumerable: true, configurable: true, writable: true, value: t }) : e[n2] = t;
3961
3961
  var d = (e, n2, t) => L(e, typeof n2 != "symbol" ? n2 + "" : n2, t);
@@ -4103,7 +4103,7 @@
4103
4103
  return e.map(y);
4104
4104
  }
4105
4105
  function Te$1(e) {
4106
- return Ne(y(e));
4106
+ return Ve$1(y(e));
4107
4107
  }
4108
4108
  function ee(e, n2) {
4109
4109
  if (e === void 0) return n2 === void 0;
@@ -4151,10 +4151,10 @@
4151
4151
  }
4152
4152
  }
4153
4153
  function te$1(e) {
4154
- return Ne(e);
4154
+ return Ve$1(e);
4155
4155
  }
4156
4156
  function E(e) {
4157
- return Ne(y(e));
4157
+ return Ve$1(y(e));
4158
4158
  }
4159
4159
  function x$1(e, n2) {
4160
4160
  return JSON.stringify([e, n2]);
@@ -4253,7 +4253,7 @@
4253
4253
  return te$1(this.derive(n2, t));
4254
4254
  }
4255
4255
  }
4256
- function Xe$1(e, n2, t) {
4256
+ function Xe(e, n2, t) {
4257
4257
  const r = { ...n2 }, o = (t == null ? void 0 : t.ignoreMissingDomains) ?? false;
4258
4258
  if (r.domainAnchor !== void 0) {
4259
4259
  const i = e[r.domainAnchor];
@@ -4425,7 +4425,7 @@
4425
4425
  kind: e.kind,
4426
4426
  name: e.name
4427
4427
  };
4428
- return e.domain !== void 0 && (n2.domain = e.domain), l$1(e) && (n2.axesSpec = C(e.axesSpec)), Ne(n2);
4428
+ return e.domain !== void 0 && (n2.domain = e.domain), l$1(e) && (n2.axesSpec = C(e.axesSpec)), Ve$1(n2);
4429
4429
  }
4430
4430
  z$1.object({
4431
4431
  __isRef: z$1.literal(true).describe("Crucial marker for the block dependency tree reconstruction"),
@@ -4513,22 +4513,22 @@
4513
4513
  cause: z$1.lazy(() => n).optional(),
4514
4514
  errors: z$1.lazy(() => n.array()).optional()
4515
4515
  });
4516
- var Xe = Object.defineProperty;
4517
- var Qe = (t, e, n2) => e in t ? Xe(t, e, { enumerable: true, configurable: true, writable: true, value: n2 }) : t[e] = n2;
4518
- var k = (t, e, n2) => Qe(t, typeof e != "symbol" ? e + "" : e, n2);
4516
+ var Qe = Object.defineProperty;
4517
+ var Ze = (t, e, n2) => e in t ? Qe(t, e, { enumerable: true, configurable: true, writable: true, value: n2 }) : t[e] = n2;
4518
+ var k = (t, e, n2) => Ze(t, typeof e != "symbol" ? e + "" : e, n2);
4519
4519
  function ie(t) {
4520
4520
  return { type: "Immediate", value: t };
4521
4521
  }
4522
- function yt() {
4522
+ function bt() {
4523
4523
  return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
4524
4524
  }
4525
- function Me(t) {
4525
+ function je(t) {
4526
4526
  if (t && typeof globalThis.getPlatforma == "function")
4527
4527
  return globalThis.getPlatforma(t);
4528
4528
  if (typeof globalThis.platforma < "u") return globalThis.platforma;
4529
4529
  throw new Error("Can't get platforma instance.");
4530
4530
  }
4531
- function bt() {
4531
+ function vt() {
4532
4532
  if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
4533
4533
  }
4534
4534
  function v() {
@@ -4536,13 +4536,13 @@
4536
4536
  throw new Error("Not in config rendering context");
4537
4537
  }
4538
4538
  function G(t, e) {
4539
- const n2 = bt();
4539
+ const n2 = vt();
4540
4540
  if (n2 === void 0) return false;
4541
4541
  if (t in n2.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
4542
4542
  return n2.callbackRegistry[t] = e, true;
4543
4543
  }
4544
4544
  const pe = /* @__PURE__ */ new Map();
4545
- function vt(t, e) {
4545
+ function Ct(t, e) {
4546
4546
  t in v().callbackRegistry || (v().callbackRegistry[t] = (n2) => {
4547
4547
  for (const r of pe.get(t))
4548
4548
  r(n2);
@@ -4552,7 +4552,7 @@
4552
4552
  constructor(e, n2 = (r) => r) {
4553
4553
  k(this, "isResolved", false);
4554
4554
  k(this, "resolvedValue");
4555
- this.handle = e, this.postProcess = n2, vt(e, (r) => {
4555
+ this.handle = e, this.postProcess = n2, Ct(e, (r) => {
4556
4556
  this.resolvedValue = n2(r), this.isResolved = true;
4557
4557
  });
4558
4558
  }
@@ -4792,26 +4792,26 @@
4792
4792
  return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, h]) => o(u2, h));
4793
4793
  }
4794
4794
  }
4795
- const je = "staging", Je = "main";
4796
- const wt = "pl7.app/label", At = "pl7.app/trace", Pt = z$1.object({
4795
+ const Je = "staging", $e = "main";
4796
+ const At = "pl7.app/label", Pt = "pl7.app/trace", xt = z$1.object({
4797
4797
  type: z$1.string(),
4798
4798
  importance: z$1.number().optional(),
4799
4799
  id: z$1.string().optional(),
4800
4800
  label: z$1.string()
4801
- }), xt = z$1.array(Pt), _t = 1e-3, It = "__LABEL__", Ie = "__LABEL__@1";
4802
- function Be(t, e, n2 = {}) {
4801
+ }), _t = z$1.array(xt), It = 1e-3, Tt = "__LABEL__", Ie = "__LABEL__@1";
4802
+ function Ue(t, e, n2 = {}) {
4803
4803
  const r = /* @__PURE__ */ new Map(), i = n2.forceTraceElements !== void 0 && n2.forceTraceElements.length > 0 ? new Set(n2.forceTraceElements) : void 0, s2 = /* @__PURE__ */ new Map(), o = t.map((d2) => {
4804
4804
  var c2, b;
4805
4805
  const y2 = e(d2);
4806
4806
  let p2, m2, C2;
4807
4807
  "spec" in y2 && typeof y2.spec == "object" ? (p2 = y2.spec, m2 = y2.prefixTrace, C2 = y2.suffixTrace) : p2 = y2;
4808
- const E2 = (c2 = p2.annotations) == null ? void 0 : c2[wt], _2 = (b = p2.annotations) == null ? void 0 : b[At], w = (_2 ? xt.safeParse(JSON.parse(_2)).data : void 0) ?? [], A2 = [
4808
+ const E2 = (c2 = p2.annotations) == null ? void 0 : c2[At], _2 = (b = p2.annotations) == null ? void 0 : b[Pt], w = (_2 ? _t.safeParse(JSON.parse(_2)).data : void 0) ?? [], A2 = [
4809
4809
  ...m2 ?? [],
4810
4810
  ...w,
4811
4811
  ...C2 ?? []
4812
4812
  ];
4813
4813
  if (E2 !== void 0) {
4814
- const T = { label: E2, type: It, importance: -2 };
4814
+ const T = { label: E2, type: Tt, importance: -2 };
4815
4815
  n2.addLabelAsSuffix ? A2.push(T) : A2.splice(0, 0, T);
4816
4816
  }
4817
4817
  const S2 = [], I = /* @__PURE__ */ new Map();
@@ -4823,7 +4823,7 @@
4823
4823
  K,
4824
4824
  Math.max(
4825
4825
  r.get(K) ?? Number.NEGATIVE_INFINITY,
4826
- V - (A2.length - T) * _t
4826
+ V - (A2.length - T) * It
4827
4827
  )
4828
4828
  ), S2.push({ ...A2[T], fullType: K, occurrenceIndex: j });
4829
4829
  }
@@ -4872,7 +4872,7 @@
4872
4872
  }
4873
4873
  return h(/* @__PURE__ */ new Set([...a, ...l2]), true);
4874
4874
  }
4875
- const Z = "PColumnData/", oe = Z + "ResourceMap", ae = Z + "Partitioned/ResourceMap", H = Z + "JsonPartitioned", B = Z + "BinaryPartitioned", Ue = Z + "Partitioned/", le = Ue + "JsonPartitioned", q = Ue + "BinaryPartitioned";
4875
+ const Z = "PColumnData/", oe = Z + "ResourceMap", ae = Z + "Partitioned/ResourceMap", H = Z + "JsonPartitioned", B = Z + "BinaryPartitioned", We = Z + "Partitioned/", le = We + "JsonPartitioned", q = We + "BinaryPartitioned";
4876
4876
  const ye = (t) => {
4877
4877
  if (t.endsWith(".index"))
4878
4878
  return { baseKey: t.substring(0, t.length - 6), type: "index" };
@@ -4880,7 +4880,7 @@
4880
4880
  return { baseKey: t.substring(0, t.length - 7), type: "values" };
4881
4881
  throw new Error(`key must ends on .index/.values for binary p-column, got: ${t}`);
4882
4882
  };
4883
- function Tt(t) {
4883
+ function Lt(t) {
4884
4884
  if (!t) return;
4885
4885
  const e = t.resourceType.name, n2 = t.getDataAsJson(), r = [];
4886
4886
  let i = 0;
@@ -4926,7 +4926,7 @@
4926
4926
  }
4927
4927
  return { data: r, keyLength: i };
4928
4928
  }
4929
- function Lt(t) {
4929
+ function Ft(t) {
4930
4930
  if (t.type !== "JsonPartitioned" && t.type !== "BinaryPartitioned")
4931
4931
  throw new Error(`Splitting requires Partitioned DataInfoEntries, got ${t.type}`);
4932
4932
  const { parts: e, partitionKeyLength: n2 } = t, r = [];
@@ -4945,11 +4945,11 @@
4945
4945
  }
4946
4946
  return r.map((i) => Array.from(i.values()));
4947
4947
  }
4948
- function Ft(t) {
4948
+ function Et(t) {
4949
4949
  if (t === void 0) return;
4950
4950
  if (_(t))
4951
- return Lt(t);
4952
- const e = Tt(t);
4951
+ return Ft(t);
4952
+ const e = Lt(t);
4953
4953
  if (!e) return;
4954
4954
  const { data: n2, keyLength: r } = e, i = [];
4955
4955
  for (let s2 = 0; s2 < r; ++s2)
@@ -5060,7 +5060,7 @@
5060
5060
  throw new Error(`Unknown resource type: ${n2}`);
5061
5061
  }
5062
5062
  }
5063
- function Et(t) {
5063
+ function kt(t) {
5064
5064
  if (t !== void 0) {
5065
5065
  if (_(t)) return t;
5066
5066
  if (Ce(t)) return je$1(t);
@@ -5068,7 +5068,7 @@
5068
5068
  throw new Error(`Unexpected input type: ${typeof t}`);
5069
5069
  }
5070
5070
  }
5071
- function kt(t, e) {
5071
+ function Dt(t, e) {
5072
5072
  const n2 = [...e].sort((s2, o) => o[0] - s2[0]);
5073
5073
  if (t.type === "JsonPartitioned" || t.type === "BinaryPartitioned") {
5074
5074
  const { partitionKeyLength: s2 } = t;
@@ -5128,13 +5128,13 @@
5128
5128
  }
5129
5129
  }
5130
5130
  }
5131
- function Dt(t) {
5131
+ function Rt(t) {
5132
5132
  if (!Array.isArray(t)) return false;
5133
5133
  if (t.length === 0) return true;
5134
5134
  const e = t[0];
5135
5135
  return typeof e == "object" && e !== null && "key" in e && "val" in e;
5136
5136
  }
5137
- class Rt {
5137
+ class Ot {
5138
5138
  constructor(e) {
5139
5139
  this.columns = e;
5140
5140
  }
@@ -5143,7 +5143,7 @@
5143
5143
  return this.columns.filter((r) => n2(r.spec));
5144
5144
  }
5145
5145
  }
5146
- function Ot(t) {
5146
+ function Kt(t) {
5147
5147
  if (t)
5148
5148
  return t.map((e) => ({
5149
5149
  type: `split:${Te$1(e.axisId)}`,
@@ -5152,21 +5152,21 @@
5152
5152
  // High importance for split filters in labels
5153
5153
  }));
5154
5154
  }
5155
- function Kt(t) {
5155
+ function Nt(t) {
5156
5156
  if (t)
5157
5157
  return t.map((e) => [e.axisIdx, e.value]);
5158
5158
  }
5159
- function Nt(t, e) {
5159
+ function Vt(t, e) {
5160
5160
  if (!e || e.length === 0) return t;
5161
5161
  const n2 = [...e].sort((r, i) => r[0] - i[0]);
5162
- return Ne({ id: t, axisFilters: n2 });
5162
+ return Ve$1({ id: t, axisFilters: n2 });
5163
5163
  }
5164
5164
  function Te(t) {
5165
5165
  if (!t || typeof t != "object") return false;
5166
5166
  const e = t, n2 = e.domain && typeof e.domain == "object" && Object.values(e.domain).some((i) => typeof i == "object" && i !== null && "anchor" in i), r = e.axes && Array.isArray(e.axes) && e.axes.some((i) => typeof i == "object" && i !== null && "anchor" in i);
5167
5167
  return !!e.domainAnchor || n2 || r;
5168
5168
  }
5169
- function Vt(t) {
5169
+ function Mt(t) {
5170
5170
  if (typeof t != "object" || !("axes" in t) || t.axes === void 0)
5171
5171
  return [];
5172
5172
  const e = t.axes.map((n2, r) => typeof n2 == "object" && "split" in n2 && n2.split === true ? r : -1).filter((n2) => n2 !== -1);
@@ -5177,7 +5177,7 @@
5177
5177
  class X {
5178
5178
  constructor() {
5179
5179
  k(this, "defaultProviderStore", []);
5180
- k(this, "providers", [new Rt(this.defaultProviderStore)]);
5180
+ k(this, "providers", [new Ot(this.defaultProviderStore)]);
5181
5181
  k(this, "axisLabelProviders", []);
5182
5182
  }
5183
5183
  addColumnProvider(e) {
@@ -5210,7 +5210,7 @@
5210
5210
  if (Te(m2)) {
5211
5211
  if (!r)
5212
5212
  throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
5213
- return rn(Xe$1(r.anchors, m2, n2));
5213
+ return rn(Xe(r.anchors, m2, n2));
5214
5214
  } else
5215
5215
  return rn(m2);
5216
5216
  });
@@ -5223,7 +5223,7 @@
5223
5223
  if (m2) {
5224
5224
  if (!r)
5225
5225
  throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
5226
- C2 = Xe$1(r.anchors, p2, n2);
5226
+ C2 = Xe(r.anchors, p2, n2);
5227
5227
  } else
5228
5228
  C2 = p2;
5229
5229
  const E2 = /* @__PURE__ */ new Set(), _2 = [];
@@ -5238,21 +5238,21 @@
5238
5238
  }
5239
5239
  }
5240
5240
  if (_2.length === 0) continue;
5241
- const w = Vt(p2), A2 = w.length > 0;
5241
+ const w = Mt(p2), A2 = w.length > 0;
5242
5242
  for (const S2 of _2) {
5243
5243
  if (!l$1(S2.spec)) continue;
5244
5244
  const I = S2.spec;
5245
5245
  if (A2) {
5246
- if (Dt(S2.data))
5246
+ if (Rt(S2.data))
5247
5247
  throw new Error(`Splitting is not supported for PColumns with PColumnValues data format. Column id: ${S2.id}`);
5248
- const c2 = Et(S2.data);
5248
+ const c2 = kt(S2.data);
5249
5249
  if (!c2) {
5250
5250
  if (s2) continue;
5251
5251
  return;
5252
5252
  }
5253
5253
  if (!Ve(c2))
5254
5254
  throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${c2.type} for column ${S2.id}`);
5255
- const b = Ft(c2), T = w[w.length - 1];
5255
+ const b = Et(c2), T = w[w.length - 1];
5256
5256
  if (T >= c2.partitionKeyLength)
5257
5257
  throw new Error(`Not enough partition keys (${c2.partitionKeyLength}) for requested split axes (max index ${T}) in column ${I.name}`);
5258
5258
  const U = w.map((L2) => this.findLabels(y(I.axesSpec[L2]))), V = [], j = (L2, W) => {
@@ -5274,20 +5274,20 @@
5274
5274
  };
5275
5275
  if (j([], 0), V.length === 0)
5276
5276
  continue;
5277
- const K = [...I.axesSpec], He = w.map((L2) => L2);
5277
+ const K = [...I.axesSpec], qe = w.map((L2) => L2);
5278
5278
  for (let L2 = w.length - 1; L2 >= 0; L2--)
5279
5279
  K.splice(w[L2], 1);
5280
- const qe = { ...I, axesSpec: K };
5280
+ const ze2 = { ...I, axesSpec: K };
5281
5281
  for (const L2 of V) {
5282
5282
  const W = L2.map((M, J) => {
5283
- const ee2 = He[J], ze2 = y(I.axesSpec[ee2]), ce = U[J], Ye = (ce == null ? void 0 : ce[M]) ?? String(M);
5284
- return { axisIdx: ee2, axisId: ze2, value: M, label: Ye };
5283
+ const ee2 = qe[J], Ye = y(I.axesSpec[ee2]), ce = U[J], Xe2 = (ce == null ? void 0 : ce[M]) ?? String(M);
5284
+ return { axisIdx: ee2, axisId: Ye, value: M, label: Xe2 };
5285
5285
  });
5286
5286
  f.push({
5287
5287
  type: "split",
5288
5288
  originalColumn: S2,
5289
5289
  spec: I,
5290
- adjustedSpec: qe,
5290
+ adjustedSpec: ze2,
5291
5291
  dataEntries: c2,
5292
5292
  axisFilters: W
5293
5293
  });
@@ -5302,18 +5302,18 @@
5302
5302
  }
5303
5303
  }
5304
5304
  if (f.length === 0) return [];
5305
- const d2 = Be(
5305
+ const d2 = Ue(
5306
5306
  f,
5307
5307
  (p2) => ({
5308
5308
  spec: p2.spec,
5309
- suffixTrace: p2.type === "split" ? Ot(p2.axisFilters) : void 0
5309
+ suffixTrace: p2.type === "split" ? Kt(p2.axisFilters) : void 0
5310
5310
  }),
5311
5311
  l2
5312
5312
  ), y$1 = [];
5313
5313
  for (const { value: p2, label: m2 } of d2) {
5314
- const { originalColumn: C2, spec: E2 } = p2, _2 = p2.type === "split" ? p2.axisFilters : void 0, w = Kt(_2);
5314
+ const { originalColumn: C2, spec: E2 } = p2, _2 = p2.type === "split" ? p2.axisFilters : void 0, w = Nt(_2);
5315
5315
  let A2;
5316
- r ? A2 = r.deriveS(E2, w) : A2 = Nt(C2.id, w);
5316
+ r ? A2 = r.deriveS(E2, w) : A2 = Vt(C2.id, w);
5317
5317
  let S2 = { ...p2.adjustedSpec };
5318
5318
  o && (S2 = {
5319
5319
  ...S2,
@@ -5324,7 +5324,7 @@
5324
5324
  }), y$1.push({
5325
5325
  id: A2,
5326
5326
  spec: S2,
5327
- data: () => p2.type === "split" ? Ie$1(kt(p2.dataEntries, w)) : p2.originalColumn.data,
5327
+ data: () => p2.type === "split" ? Ie$1(Dt(p2.dataEntries, w)) : p2.originalColumn.data,
5328
5328
  label: m2
5329
5329
  });
5330
5330
  }
@@ -5396,7 +5396,7 @@
5396
5396
  function Le(t) {
5397
5397
  return nn(t, (e) => e instanceof R ? e.handle : Ce(e) ? Fe$1(e, (n2) => n2.handle) : e);
5398
5398
  }
5399
- class Mt {
5399
+ class jt {
5400
5400
  constructor() {
5401
5401
  k(this, "ctx", v());
5402
5402
  }
@@ -5409,7 +5409,7 @@
5409
5409
  getOptions(e, n2) {
5410
5410
  const r = typeof e == "function" ? e : rn(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
5411
5411
  let s2 = {}, o = false;
5412
- return typeof n2 < "u" && (typeof n2 == "function" ? s2 = n2 : typeof n2 == "object" && ("includeNativeLabel" in n2 || "separator" in n2 || "addLabelAsSuffix" in n2 ? s2 = n2 : (n2 = n2, s2 = n2.label ?? {}, o = n2.refsWithEnrichments ?? false))), typeof s2 == "object" ? Be(i, (a) => a.obj, s2 ?? {}).map(({ value: { ref: a }, label: l2 }) => ({
5412
+ return typeof n2 < "u" && (typeof n2 == "function" ? s2 = n2 : typeof n2 == "object" && ("includeNativeLabel" in n2 || "separator" in n2 || "addLabelAsSuffix" in n2 ? s2 = n2 : (n2 = n2, s2 = n2.label ?? {}, o = n2.refsWithEnrichments ?? false))), typeof s2 == "object" ? Ue(i, (a) => a.obj, s2 ?? {}).map(({ value: { ref: a }, label: l2 }) => ({
5413
5413
  ref: fn(a, o),
5414
5414
  label: l2
5415
5415
  })) : i.map(({ ref: a, obj: l2 }) => ({
@@ -5640,7 +5640,7 @@
5640
5640
  let a = null;
5641
5641
  const l2 = this;
5642
5642
  return {
5643
- id: Ne(i),
5643
+ id: Ve$1(i),
5644
5644
  spec: o,
5645
5645
  get data() {
5646
5646
  var u2;
@@ -5671,7 +5671,7 @@
5671
5671
  k(this, "_argsCache");
5672
5672
  k(this, "_uiStateCache");
5673
5673
  k(this, "_activeArgsCache");
5674
- k(this, "resultPool", new Mt());
5674
+ k(this, "resultPool", new jt());
5675
5675
  this.ctx = v();
5676
5676
  }
5677
5677
  get args() {
@@ -5712,10 +5712,10 @@
5712
5712
  );
5713
5713
  }
5714
5714
  get prerun() {
5715
- return this.getNamedAccessor(je);
5715
+ return this.getNamedAccessor(Je);
5716
5716
  }
5717
5717
  get outputs() {
5718
- return this.getNamedAccessor(Je);
5718
+ return this.getNamedAccessor($e);
5719
5719
  }
5720
5720
  /**
5721
5721
  * Find labels data for a given axis id. It will search for a label column and return its data as a map.
@@ -5779,13 +5779,13 @@
5779
5779
  this.ctx.logError(e);
5780
5780
  }
5781
5781
  }
5782
- const z = "1.39.18";
5783
- function jt(t) {
5782
+ const z = "1.40.1";
5783
+ function Jt(t) {
5784
5784
  return t.__renderLambda === true;
5785
5785
  }
5786
5786
  function fe(t) {
5787
5787
  if (t !== void 0)
5788
- return jt(t) ? t.handle : t;
5788
+ return Jt(t) ? t.handle : t;
5789
5789
  }
5790
5790
  const x = class x2 {
5791
5791
  constructor(e, n2, r, i, s2, o, a, l2, u2) {
@@ -5998,7 +5998,7 @@
5998
5998
  Object.entries(this._outputs).map(([n2, r]) => [n2, fe(r)])
5999
5999
  )
6000
6000
  };
6001
- return yt() ? Me({ sdkVersion: z }) : { config: e };
6001
+ return bt() ? je({ sdkVersion: z }) : { config: e };
6002
6002
  }
6003
6003
  };
6004
6004
  k(x, "INITIAL_BLOCK_FEATURE_FLAGS", {