@milaboratories/milaboratories.pool-explorer.model 1.0.28 → 1.0.29

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.
package/dist/bundle.js CHANGED
@@ -35,7 +35,7 @@
35
35
  }, "");
36
36
  return `{${values}}`;
37
37
  };
38
- const ve = /* @__PURE__ */ getDefaultExportFromCjs(canonicalize);
38
+ const _e = /* @__PURE__ */ getDefaultExportFromCjs(canonicalize);
39
39
  var util;
40
40
  (function(util2) {
41
41
  util2.assertEqual = (val) => val;
@@ -3832,7 +3832,7 @@
3832
3832
  date: (arg) => ZodDate.create({ ...arg, coerce: true })
3833
3833
  };
3834
3834
  const NEVER = INVALID;
3835
- var z$1 = /* @__PURE__ */ Object.freeze({
3835
+ var z = /* @__PURE__ */ Object.freeze({
3836
3836
  __proto__: null,
3837
3837
  defaultErrorMap: errorMap,
3838
3838
  setErrorMap,
@@ -3948,13 +3948,13 @@
3948
3948
  quotelessJson,
3949
3949
  ZodError
3950
3950
  });
3951
- var $ = Object.defineProperty;
3952
- var D = (n2, t, e) => t in n2 ? $(n2, t, { enumerable: true, configurable: true, writable: true, value: e }) : n2[t] = e;
3953
- var m$2 = (n2, t, e) => D(n2, typeof t != "symbol" ? t + "" : t, e);
3951
+ var I$1 = Object.defineProperty;
3952
+ var $ = (n2, t, e) => t in n2 ? I$1(n2, t, { enumerable: true, configurable: true, writable: true, value: e }) : n2[t] = e;
3953
+ var m$2 = (n2, t, e) => $(n2, typeof t != "symbol" ? t + "" : t, e);
3954
3954
  function w(n2) {
3955
3955
  throw new Error("Unexpected object: " + n2);
3956
3956
  }
3957
- function pn(n2) {
3957
+ function mn(n2) {
3958
3958
  if (!n2 || typeof n2 != "object")
3959
3959
  return false;
3960
3960
  const t = n2;
@@ -3971,7 +3971,7 @@
3971
3971
  return false;
3972
3972
  }
3973
3973
  }
3974
- function mn(n2, t) {
3974
+ function yn(n2, t) {
3975
3975
  if (n2 !== void 0)
3976
3976
  switch (n2.type) {
3977
3977
  case "Json":
@@ -4016,10 +4016,10 @@
4016
4016
  return false;
4017
4017
  }
4018
4018
  }
4019
- function yn(n2) {
4019
+ function ln(n2) {
4020
4020
  return j(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
4021
4021
  }
4022
- function ln(n2) {
4022
+ function hn(n2) {
4023
4023
  switch (n2.type) {
4024
4024
  case "Json": {
4025
4025
  const t = Object.entries(n2.data).map(([e, r]) => ({ key: JSON.parse(e), value: r }));
@@ -4047,7 +4047,7 @@
4047
4047
  }
4048
4048
  }
4049
4049
  }
4050
- function hn(n2) {
4050
+ function gn(n2) {
4051
4051
  switch (n2.type) {
4052
4052
  case "Json": {
4053
4053
  const t = {};
@@ -4085,8 +4085,8 @@
4085
4085
  const { type: t, name: e, domain: r } = n2;
4086
4086
  return { type: t, name: e, ...r && { domain: r } };
4087
4087
  }
4088
- function Cn(n2) {
4089
- return ve(p$1(n2));
4088
+ function Jn(n2) {
4089
+ return _e(p$1(n2));
4090
4090
  }
4091
4091
  function X$1(n2, t) {
4092
4092
  if (n2 === void 0) return t === void 0;
@@ -4095,10 +4095,10 @@
4095
4095
  if (n2[e] !== t[e]) return false;
4096
4096
  return true;
4097
4097
  }
4098
- function z(n2, t) {
4098
+ function G(n2, t) {
4099
4099
  return n2.name === t.name && X$1(n2.domain, t.domain);
4100
4100
  }
4101
- function Jn(n2, t) {
4101
+ function On(n2, t) {
4102
4102
  return { ...n2, src: l$1(n2.src, t) };
4103
4103
  }
4104
4104
  function l$1(n2, t) {
@@ -4131,13 +4131,13 @@
4131
4131
  w(n2);
4132
4132
  }
4133
4133
  }
4134
- function G(n2) {
4135
- return ve(n2);
4134
+ function Q(n2) {
4135
+ return _e(n2);
4136
4136
  }
4137
- function A(n2) {
4138
- return ve(p$1(n2));
4137
+ function x(n2) {
4138
+ return _e(p$1(n2));
4139
4139
  }
4140
- function x(n2, t) {
4140
+ function A(n2, t) {
4141
4141
  return JSON.stringify([n2, t]);
4142
4142
  }
4143
4143
  class $n {
@@ -4155,14 +4155,14 @@
4155
4155
  e.sort((r, o) => r[0].localeCompare(o[0]));
4156
4156
  for (const [r, o] of e) {
4157
4157
  for (let s2 = 0; s2 < o.axesSpec.length; s2++) {
4158
- const a = o.axesSpec[s2], i = A(a);
4158
+ const a = o.axesSpec[s2], i = x(a);
4159
4159
  this.axes.set(i, { anchor: r, idx: s2 });
4160
4160
  }
4161
4161
  if (o.domain !== void 0) {
4162
4162
  const s2 = Object.entries(o.domain);
4163
4163
  s2.sort((a, i) => a[0].localeCompare(i[0])), this.domainPackToAnchor.set(JSON.stringify(s2), r), this.domainPacks.push(s2.map(([a]) => a));
4164
4164
  for (const [a, i] of s2) {
4165
- const u2 = x(a, i);
4165
+ const u2 = A(a, i);
4166
4166
  this.domains.set(u2, r);
4167
4167
  }
4168
4168
  }
@@ -4197,11 +4197,11 @@
4197
4197
  for (const [a, i] of Object.entries(t.domain ?? {})) {
4198
4198
  if (o !== void 0 && o.has(a))
4199
4199
  continue;
4200
- const u2 = x(a, i), c2 = this.domains.get(u2);
4200
+ const u2 = A(a, i), c2 = this.domains.get(u2);
4201
4201
  r.domain ?? (r.domain = {}), r.domain[a] = c2 ? { anchor: c2 } : i;
4202
4202
  }
4203
4203
  if (r.axes = t.axesSpec.map((a) => {
4204
- const i = A(a), u2 = this.axes.get(i);
4204
+ const i = x(a), u2 = this.axes.get(i);
4205
4205
  return u2 === void 0 ? p$1(a) : u2;
4206
4206
  }), !e || e.length === 0)
4207
4207
  return r;
@@ -4231,7 +4231,7 @@
4231
4231
  * @returns A canonicalized string representation of the anchored column identifier
4232
4232
  */
4233
4233
  deriveS(t, e) {
4234
- return G(this.derive(t, e));
4234
+ return Q(this.derive(t, e));
4235
4235
  }
4236
4236
  }
4237
4237
  function Dn(n2, t, e) {
@@ -4261,10 +4261,10 @@
4261
4261
  }
4262
4262
  r.domain = s2;
4263
4263
  }
4264
- return r.axes && (r.axes = r.axes.map((s2) => Q(n2, s2))), r;
4264
+ return r.axes && (r.axes = r.axes.map((s2) => Y$1(n2, s2))), r;
4265
4265
  }
4266
- function Q(n2, t) {
4267
- if (!Y$1(t))
4266
+ function Y$1(n2, t) {
4267
+ if (!Z$1(t))
4268
4268
  return t;
4269
4269
  const e = t.anchor, r = n2[e];
4270
4270
  if (!r)
@@ -4281,7 +4281,7 @@
4281
4281
  throw new Error(`Axis with name "${t.name}" not found in anchor "${e}"`);
4282
4282
  return o[0];
4283
4283
  } else if ("id" in t) {
4284
- const o = r.axesSpec.filter((s2) => z(t.id, p$1(s2)));
4284
+ const o = r.axesSpec.filter((s2) => G(t.id, p$1(s2)));
4285
4285
  if (o.length > 1)
4286
4286
  throw new Error(`Multiple matching axes found for matcher in anchor "${e}"`);
4287
4287
  if (o.length === 0)
@@ -4290,26 +4290,26 @@
4290
4290
  }
4291
4291
  throw new Error("Unsupported axis reference type");
4292
4292
  }
4293
- function Y$1(n2) {
4293
+ function Z$1(n2) {
4294
4294
  return typeof n2 == "object" && "anchor" in n2;
4295
4295
  }
4296
4296
  function f(n2) {
4297
4297
  return n2.kind === "PColumn";
4298
4298
  }
4299
- function Z$1(n2) {
4299
+ function q(n2) {
4300
4300
  return f(n2.spec);
4301
4301
  }
4302
- function Bn(n2) {
4303
- if (!Z$1(n2)) throw new Error(`not a PColumn (kind = ${n2.spec.kind})`);
4302
+ function jn(n2) {
4303
+ if (!q(n2)) throw new Error(`not a PColumn (kind = ${n2.spec.kind})`);
4304
4304
  return n2;
4305
4305
  }
4306
- function jn(n2, t) {
4306
+ function Fn(n2, t) {
4307
4307
  return n2 === void 0 ? void 0 : {
4308
4308
  ...n2,
4309
4309
  data: t(n2.data)
4310
4310
  };
4311
4311
  }
4312
- function Fn(n2) {
4312
+ function Un(n2) {
4313
4313
  const t = /* @__PURE__ */ new Map(), e = (r) => {
4314
4314
  switch (r.type) {
4315
4315
  case "column":
@@ -4396,24 +4396,24 @@
4396
4396
  }
4397
4397
  return true;
4398
4398
  }
4399
- function Un(n2) {
4399
+ function Kn(n2) {
4400
4400
  return Array.isArray(n2) ? (t) => n2.some((e) => f(t) && N(t, e)) : (t) => f(t) && N(t, n2);
4401
4401
  }
4402
- z$1.object({
4403
- __isRef: z$1.literal(true).describe("Crucial marker for the block dependency tree reconstruction"),
4404
- blockId: z$1.string().describe("Upstream block id"),
4405
- name: z$1.string().describe("Name of the output provided to the upstream block's output context")
4402
+ z.object({
4403
+ __isRef: z.literal(true).describe("Crucial marker for the block dependency tree reconstruction"),
4404
+ blockId: z.string().describe("Upstream block id"),
4405
+ name: z.string().describe("Name of the output provided to the upstream block's output context")
4406
4406
  }).describe(
4407
4407
  "Universal reference type, allowing to set block connections. It is crucial that {@link __isRef} is present and equal to true, internal logic relies on this marker to build block dependency trees."
4408
4408
  ).strict().readonly();
4409
- function Mn(n2) {
4409
+ function Tn(n2) {
4410
4410
  return typeof n2 == "object" && n2 !== null && "__isRef" in n2 && n2.__isRef === true && "blockId" in n2 && "name" in n2;
4411
4411
  }
4412
- function Hn(n2, t) {
4412
+ function _n(n2, t) {
4413
4413
  return n2.ok ? { ok: true, value: t(n2.value) } : n2;
4414
4414
  }
4415
- const on = 24;
4416
- z$1.string().length(on).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
4415
+ const sn = 24;
4416
+ z.string().length(sn).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
4417
4417
  var stringify = { exports: {} };
4418
4418
  (function(module2, exports3) {
4419
4419
  exports3 = module2.exports = stringify2;
@@ -4438,50 +4438,50 @@
4438
4438
  };
4439
4439
  }
4440
4440
  })(stringify, stringify.exports);
4441
- const l = z$1.object({
4442
- type: z$1.literal("PlError"),
4443
- name: z$1.string(),
4444
- message: z$1.string(),
4441
+ const l = z.object({
4442
+ type: z.literal("PlError"),
4443
+ name: z.string(),
4444
+ message: z.string(),
4445
4445
  /** The message with all details needed for SDK developers. */
4446
- fullMessage: z$1.string().optional(),
4447
- stack: z$1.string().optional()
4446
+ fullMessage: z.string().optional(),
4447
+ stack: z.string().optional()
4448
4448
  }), c = l.extend({
4449
- cause: z$1.lazy(() => s).optional(),
4450
- errors: z$1.lazy(() => s.array()).optional()
4451
- }), m$1 = z$1.object({
4452
- type: z$1.literal("StandardError"),
4453
- name: z$1.string(),
4454
- message: z$1.string(),
4455
- stack: z$1.string().optional()
4449
+ cause: z.lazy(() => s).optional(),
4450
+ errors: z.lazy(() => s.array()).optional()
4451
+ }), m$1 = z.object({
4452
+ type: z.literal("StandardError"),
4453
+ name: z.string(),
4454
+ message: z.string(),
4455
+ stack: z.string().optional()
4456
4456
  }), p = m$1.extend({
4457
- cause: z$1.lazy(() => s).optional(),
4458
- errors: z$1.lazy(() => s.array()).optional()
4459
- }), s = z$1.union([p, c]);
4460
- const u = z$1.object({
4461
- name: z$1.string(),
4462
- message: z$1.string(),
4463
- fullMessage: z$1.string().optional(),
4464
- stack: z$1.string().optional()
4457
+ cause: z.lazy(() => s).optional(),
4458
+ errors: z.lazy(() => s.array()).optional()
4459
+ }), s = z.union([p, c]);
4460
+ const u = z.object({
4461
+ name: z.string(),
4462
+ message: z.string(),
4463
+ fullMessage: z.string().optional(),
4464
+ stack: z.string().optional()
4465
4465
  }), n = u.extend({
4466
- cause: z$1.lazy(() => n).optional(),
4467
- errors: z$1.lazy(() => n.array()).optional()
4466
+ cause: z.lazy(() => n).optional(),
4467
+ errors: z.lazy(() => n.array()).optional()
4468
4468
  });
4469
- var Ne = Object.defineProperty;
4470
- var Ue = (t, e, n2) => e in t ? Ne(t, e, { enumerable: true, configurable: true, writable: true, value: n2 }) : t[e] = n2;
4471
- var L = (t, e, n2) => Ue(t, typeof e != "symbol" ? e + "" : e, n2);
4469
+ var Ue = Object.defineProperty;
4470
+ var Me = (t, e, n2) => e in t ? Ue(t, e, { enumerable: true, configurable: true, writable: true, value: n2 }) : t[e] = n2;
4471
+ var L = (t, e, n2) => Me(t, typeof e != "symbol" ? e + "" : e, n2);
4472
4472
  function Z(t) {
4473
4473
  return { type: "Immediate", value: t };
4474
4474
  }
4475
- function nt() {
4475
+ function it() {
4476
4476
  return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
4477
4477
  }
4478
- function _e(t) {
4478
+ function Te(t) {
4479
4479
  if (t && typeof globalThis.getPlatforma == "function")
4480
4480
  return globalThis.getPlatforma(t);
4481
4481
  if (typeof globalThis.platforma < "u") return globalThis.platforma;
4482
4482
  throw new Error("Can't get platforma instance.");
4483
4483
  }
4484
- function rt() {
4484
+ function st() {
4485
4485
  if (typeof globalThis.cfgRenderCtx < "u") return globalThis.cfgRenderCtx;
4486
4486
  }
4487
4487
  function m() {
@@ -4489,23 +4489,23 @@
4489
4489
  throw new Error("Not in config rendering context");
4490
4490
  }
4491
4491
  function Y(t, e) {
4492
- const n2 = rt();
4492
+ const n2 = st();
4493
4493
  if (n2 === void 0) return false;
4494
4494
  if (t in n2.callbackRegistry) throw new Error(`Callback with key ${t} already registered.`);
4495
4495
  return n2.callbackRegistry[t] = e, true;
4496
4496
  }
4497
- const oe = /* @__PURE__ */ new Map();
4498
- function it(t, e) {
4497
+ const ae = /* @__PURE__ */ new Map();
4498
+ function ot(t, e) {
4499
4499
  t in m().callbackRegistry || (m().callbackRegistry[t] = (n2) => {
4500
- for (const r of oe.get(t))
4500
+ for (const r of ae.get(t))
4501
4501
  r(n2);
4502
- }, oe.set(t, [])), oe.get(t).push(e);
4502
+ }, ae.set(t, [])), ae.get(t).push(e);
4503
4503
  }
4504
4504
  class S {
4505
4505
  constructor(e, n2 = (r) => r) {
4506
4506
  L(this, "isResolved", false);
4507
4507
  L(this, "resolvedValue");
4508
- this.handle = e, this.postProcess = n2, it(e, (r) => {
4508
+ this.handle = e, this.postProcess = n2, ot(e, (r) => {
4509
4509
  this.resolvedValue = n2(r), this.isResolved = true;
4510
4510
  });
4511
4511
  }
@@ -4522,7 +4522,7 @@
4522
4522
  return this.isResolved ? this.resolvedValue : { __awaited_futures__: [this.handle] };
4523
4523
  }
4524
4524
  }
4525
- function ce(t, e) {
4525
+ function pe(t, e) {
4526
4526
  return t === void 0 ? void 0 : e(t);
4527
4527
  }
4528
4528
  class I {
@@ -4564,7 +4564,7 @@
4564
4564
  ...this.resolvePath,
4565
4565
  ...n2.map((i) => typeof i == "string" ? i : i.field)
4566
4566
  ];
4567
- return ce(
4567
+ return pe(
4568
4568
  m().resolveWithCommon(this.handle, e, ...n2),
4569
4569
  (i) => new I(i, r)
4570
4570
  );
@@ -4586,7 +4586,7 @@
4586
4586
  }
4587
4587
  getError() {
4588
4588
  const e = [...this.resolvePath, "error"];
4589
- return ce(
4589
+ return pe(
4590
4590
  m().getError(this.handle),
4591
4591
  (n2) => new I(n2, e)
4592
4592
  );
@@ -4628,7 +4628,7 @@
4628
4628
  getPColumns(e = false, n2 = "") {
4629
4629
  const r = this.parsePObjectCollection(e, n2);
4630
4630
  return r === void 0 ? void 0 : Object.entries(r).map(([, s2]) => {
4631
- if (!Z$1(s2)) throw new Error(`not a PColumn (kind = ${s2.spec.kind})`);
4631
+ if (!q(s2)) throw new Error(`not a PColumn (kind = ${s2.spec.kind})`);
4632
4632
  return s2;
4633
4633
  });
4634
4634
  }
@@ -4646,7 +4646,7 @@
4646
4646
  const i = {};
4647
4647
  for (const [s2, o] of Object.entries(r)) {
4648
4648
  const a = [...this.resolvePath, s2];
4649
- i[s2] = jn(o, (l2) => new I(l2, a));
4649
+ i[s2] = Fn(o, (l2) => new I(l2, a));
4650
4650
  }
4651
4651
  return i;
4652
4652
  }
@@ -4745,46 +4745,46 @@
4745
4745
  return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, w2]) => o(u2, w2));
4746
4746
  }
4747
4747
  }
4748
- const Le = "staging", Te = "main";
4749
- const at = "pl7.app/label", lt = "pl7.app/trace", ut = z$1.object({
4750
- type: z$1.string(),
4751
- importance: z$1.number().optional(),
4752
- id: z$1.string().optional(),
4753
- label: z$1.string()
4754
- }), ct = z$1.array(ut), pt = 1e-3, dt = "__LABEL__", we = "__LABEL__@1";
4755
- function Fe(t, e, n2 = {}) {
4748
+ const Ee = "staging", Fe = "main";
4749
+ const ut = "pl7.app/label", ct = "pl7.app/trace", pt = z.object({
4750
+ type: z.string(),
4751
+ importance: z.number().optional(),
4752
+ id: z.string().optional(),
4753
+ label: z.string()
4754
+ }), dt = z.array(pt), ft = 1e-3, ht = "__LABEL__", Ae = "__LABEL__@1";
4755
+ function Oe(t, e, n2 = {}) {
4756
4756
  const r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s2 = t.map((d) => {
4757
- var q, F;
4757
+ var q2, F;
4758
4758
  const h = e(d);
4759
4759
  let f2, x2, c2;
4760
4760
  "spec" in h && typeof h.spec == "object" ? (f2 = h.spec, x2 = h.prefixTrace, c2 = h.suffixTrace) : f2 = h;
4761
- const y = (q = f2.annotations) == null ? void 0 : q[at], g = (F = f2.annotations) == null ? void 0 : F[lt], v = (g ? ct.safeParse(JSON.parse(g)).data : void 0) ?? [], A2 = [
4761
+ const y = (q2 = f2.annotations) == null ? void 0 : q2[ut], g = (F = f2.annotations) == null ? void 0 : F[ct], v = (g ? dt.safeParse(JSON.parse(g)).data : void 0) ?? [], A2 = [
4762
4762
  ...x2 ?? [],
4763
4763
  ...v,
4764
4764
  ...c2 ?? []
4765
4765
  ];
4766
4766
  if (y) {
4767
- const _ = { label: y, type: dt, importance: -2 };
4767
+ const _ = { label: y, type: ht, importance: -2 };
4768
4768
  n2.addLabelAsSuffix ? A2.push(_) : A2.splice(0, 0, _);
4769
4769
  }
4770
- const D2 = [], $2 = /* @__PURE__ */ new Map();
4770
+ const D = [], $2 = /* @__PURE__ */ new Map();
4771
4771
  for (let _ = A2.length - 1; _ >= 0; --_) {
4772
- const { type: R } = A2[_], ie = A2[_].importance ?? 0, J = ($2.get(R) ?? 0) + 1;
4772
+ const { type: R } = A2[_], se = A2[_].importance ?? 0, J = ($2.get(R) ?? 0) + 1;
4773
4773
  $2.set(R, J);
4774
4774
  const P = `${R}@${J}`;
4775
4775
  i.set(P, (i.get(P) ?? 0) + 1), r.set(
4776
4776
  P,
4777
4777
  Math.max(
4778
4778
  r.get(P) ?? Number.NEGATIVE_INFINITY,
4779
- ie - (A2.length - _) * pt
4779
+ se - (A2.length - _) * ft
4780
4780
  )
4781
- ), D2.push({ ...A2[_], fullType: P, occurenceIndex: J });
4781
+ ), D.push({ ...A2[_], fullType: P, occurenceIndex: J });
4782
4782
  }
4783
- return D2.reverse(), {
4783
+ return D.reverse(), {
4784
4784
  value: d,
4785
4785
  spec: f2,
4786
4786
  label: y,
4787
- fullTrace: D2
4787
+ fullTrace: D
4788
4788
  };
4789
4789
  }), o = [], a = [], l2 = [...r];
4790
4790
  l2.sort(([, d], [, h]) => h - d);
@@ -4806,14 +4806,14 @@
4806
4806
  };
4807
4807
  if (o.length === 0) {
4808
4808
  if (a.length !== 0) throw new Error("Assertion error.");
4809
- const d = u2(new Set(we));
4809
+ const d = u2(new Set(Ae));
4810
4810
  if (d === void 0) throw new Error("Assertion error.");
4811
4811
  return d;
4812
4812
  }
4813
4813
  let w2 = 0, b = 0;
4814
4814
  for (; w2 < o.length; ) {
4815
4815
  const d = /* @__PURE__ */ new Set();
4816
- n2.includeNativeLabel && d.add(we);
4816
+ n2.includeNativeLabel && d.add(Ae);
4817
4817
  for (let f2 = 0; f2 < w2; ++f2) d.add(o[f2]);
4818
4818
  d.add(o[b]);
4819
4819
  const h = u2(d);
@@ -4824,52 +4824,52 @@
4824
4824
  if (p2 === void 0) throw new Error("Assertion error.");
4825
4825
  return p2;
4826
4826
  }
4827
- const H = "PColumnData/", te = H + "ResourceMap", ne = H + "Partitioned/ResourceMap", U = H + "JsonPartitioned", K = H + "BinaryPartitioned", De = H + "Partitioned/", re = De + "JsonPartitioned", B = De + "BinaryPartitioned";
4828
- const de = (t) => {
4827
+ const H = "PColumnData/", ne = H + "ResourceMap", re = H + "Partitioned/ResourceMap", B = H + "JsonPartitioned", K = H + "BinaryPartitioned", Re = H + "Partitioned/", ie = Re + "JsonPartitioned", U = Re + "BinaryPartitioned";
4828
+ const fe = (t) => {
4829
4829
  if (t.endsWith(".index"))
4830
4830
  return { baseKey: t.substring(0, t.length - 6), type: "index" };
4831
4831
  if (t.endsWith(".values"))
4832
4832
  return { baseKey: t.substring(0, t.length - 7), type: "values" };
4833
4833
  throw new Error(`key must ends on .index/.values for binary p-column, got: ${t}`);
4834
4834
  };
4835
- function ft(t) {
4835
+ function gt(t) {
4836
4836
  if (!t) return;
4837
4837
  const e = t.resourceType.name, n2 = t.getDataAsJson(), r = [];
4838
4838
  let i = 0;
4839
4839
  switch (e) {
4840
- case te:
4840
+ case ne:
4841
4841
  i = n2.keyLength;
4842
4842
  break;
4843
- case ne:
4843
+ case re:
4844
4844
  i = n2.partitionKeyLength + n2.keyLength;
4845
4845
  break;
4846
- case U:
4846
+ case B:
4847
4847
  case K:
4848
4848
  i = n2.partitionKeyLength;
4849
4849
  break;
4850
- case B:
4851
- case re:
4850
+ case U:
4851
+ case ie:
4852
4852
  i = n2.superPartitionKeyLength + n2.partitionKeyLength;
4853
4853
  break;
4854
4854
  }
4855
4855
  switch (e) {
4856
- case te:
4857
- case U:
4856
+ case ne:
4857
+ case B:
4858
4858
  case K:
4859
4859
  for (let s2 of t.listInputFields()) {
4860
- e === K && (s2 = de(s2).baseKey);
4860
+ e === K && (s2 = fe(s2).baseKey);
4861
4861
  const o = [...JSON.parse(s2)];
4862
4862
  r.push(o);
4863
4863
  }
4864
4864
  break;
4865
- case ne:
4866
- case B:
4867
4865
  case re:
4866
+ case U:
4867
+ case ie:
4868
4868
  for (const s2 of t.listInputFields()) {
4869
4869
  const o = [...JSON.parse(s2)], a = t.resolve({ field: s2, assertFieldType: "Input" });
4870
4870
  if (a !== void 0)
4871
4871
  for (let l2 of a.listInputFields()) {
4872
- e === B && (l2 = de(l2).baseKey);
4872
+ e === U && (l2 = fe(l2).baseKey);
4873
4873
  const u2 = [...o, ...JSON.parse(l2)];
4874
4874
  r.push(u2);
4875
4875
  }
@@ -4878,7 +4878,7 @@
4878
4878
  }
4879
4879
  return { data: r, keyLength: i };
4880
4880
  }
4881
- function ht(t) {
4881
+ function mt(t) {
4882
4882
  if (t.type !== "JsonPartitioned" && t.type !== "BinaryPartitioned")
4883
4883
  throw new Error(`Splitting requires Partitioned DataInfoEntries, got ${t.type}`);
4884
4884
  const { parts: e, partitionKeyLength: n2 } = t, r = [];
@@ -4897,11 +4897,11 @@
4897
4897
  }
4898
4898
  return r.map((i) => Array.from(i.values()));
4899
4899
  }
4900
- function gt(t) {
4900
+ function yt(t) {
4901
4901
  if (t === void 0) return;
4902
4902
  if (j(t))
4903
- return ht(t);
4904
- const e = ft(t);
4903
+ return mt(t);
4904
+ const e = gt(t);
4905
4905
  if (!e) return;
4906
4906
  const { data: n2, keyLength: r } = e, i = [];
4907
4907
  for (let s2 = 0; s2 < r; ++s2)
@@ -4914,16 +4914,16 @@
4914
4914
  }
4915
4915
  return i.map((s2) => Array.from(s2.values()));
4916
4916
  }
4917
- function fe(t, e = []) {
4917
+ function he(t, e = []) {
4918
4918
  if (t === void 0 || !t.getIsReadyOrError()) return;
4919
4919
  const n2 = t.resourceType.name, r = t.getDataAsJson();
4920
- if (e.length > 0 && (n2 === re || n2 === B))
4920
+ if (e.length > 0 && (n2 === ie || n2 === U))
4921
4921
  throw new Error(`Unexpected nested super-partitioned resource: ${n2}`);
4922
4922
  switch (n2) {
4923
- case te:
4924
4923
  case ne:
4924
+ case re:
4925
4925
  throw new Error(`Only data columns are supported, got: ${n2}`);
4926
- case U: {
4926
+ case B: {
4927
4927
  if (typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
4928
4928
  throw new Error(`Missing partitionKeyLength in metadata for ${n2}`);
4929
4929
  const i = [];
@@ -4944,7 +4944,7 @@
4944
4944
  throw new Error(`Missing partitionKeyLength in metadata for ${n2}`);
4945
4945
  const i = [], s2 = /* @__PURE__ */ new Map();
4946
4946
  for (const o of t.listInputFields()) {
4947
- const a = de(o), l2 = t.resolve({ field: o, assertFieldType: "Input" });
4947
+ const a = fe(o), l2 = t.resolve({ field: o, assertFieldType: "Input" });
4948
4948
  if (l2 === void 0) return;
4949
4949
  let u2 = s2.get(a.baseKey);
4950
4950
  u2 || (u2 = {}, s2.set(a.baseKey, u2)), a.type === "index" ? u2.index = l2 : u2.values = l2;
@@ -4966,16 +4966,16 @@
4966
4966
  parts: i
4967
4967
  };
4968
4968
  }
4969
- case re: {
4969
+ case ie: {
4970
4970
  if (typeof (r == null ? void 0 : r.superPartitionKeyLength) != "number" || typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
4971
4971
  throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${n2}`);
4972
4972
  const i = r.superPartitionKeyLength + r.partitionKeyLength, s2 = [];
4973
4973
  for (const o of t.listInputFields()) {
4974
4974
  const a = t.resolve({ field: o, assertFieldType: "Input" });
4975
4975
  if (a === void 0) return;
4976
- if (a.resourceType.name !== U)
4977
- throw new Error(`Expected ${U} inside ${n2}, but got ${a.resourceType.name}`);
4978
- const l2 = fe(a, JSON.parse(o));
4976
+ if (a.resourceType.name !== B)
4977
+ throw new Error(`Expected ${B} inside ${n2}, but got ${a.resourceType.name}`);
4978
+ const l2 = he(a, JSON.parse(o));
4979
4979
  if (l2 === void 0) return;
4980
4980
  if (l2.type !== "JsonPartitioned")
4981
4981
  throw new Error(`Unexpected inner result type for ${n2}: ${l2.type}`);
@@ -4987,7 +4987,7 @@
4987
4987
  parts: s2
4988
4988
  };
4989
4989
  }
4990
- case B: {
4990
+ case U: {
4991
4991
  if (typeof (r == null ? void 0 : r.superPartitionKeyLength) != "number" || typeof (r == null ? void 0 : r.partitionKeyLength) != "number")
4992
4992
  throw new Error(`Missing superPartitionKeyLength or partitionKeyLength in metadata for ${n2}`);
4993
4993
  const i = r.superPartitionKeyLength + r.partitionKeyLength, s2 = [];
@@ -4996,7 +4996,7 @@
4996
4996
  if (a === void 0) return;
4997
4997
  if (a.resourceType.name !== K)
4998
4998
  throw new Error(`Expected ${K} inside ${n2}, but got ${a.resourceType.name}`);
4999
- const l2 = fe(a, JSON.parse(o));
4999
+ const l2 = he(a, JSON.parse(o));
5000
5000
  if (l2 === void 0) return;
5001
5001
  if (l2.type !== "BinaryPartitioned")
5002
5002
  throw new Error(`Unexpected inner result type for ${n2}: ${l2.type}`);
@@ -5012,15 +5012,15 @@
5012
5012
  throw new Error(`Unknown resource type: ${n2}`);
5013
5013
  }
5014
5014
  }
5015
- function mt(t) {
5015
+ function vt(t) {
5016
5016
  if (t !== void 0) {
5017
5017
  if (j(t)) return t;
5018
- if (pn(t)) return ln(t);
5019
- if (t instanceof I) return fe(t);
5018
+ if (mn(t)) return hn(t);
5019
+ if (t instanceof I) return he(t);
5020
5020
  throw new Error(`Unexpected input type: ${typeof t}`);
5021
5021
  }
5022
5022
  }
5023
- function yt(t, e) {
5023
+ function bt(t, e) {
5024
5024
  const n2 = [...e].sort((s2, o) => o[0] - s2[0]);
5025
5025
  if (t.type === "JsonPartitioned" || t.type === "BinaryPartitioned") {
5026
5026
  const { partitionKeyLength: s2 } = t;
@@ -5080,39 +5080,39 @@
5080
5080
  }
5081
5081
  }
5082
5082
  }
5083
- class vt {
5083
+ class wt {
5084
5084
  constructor(e) {
5085
5085
  this.columns = e;
5086
5086
  }
5087
5087
  selectColumns(e) {
5088
- const n2 = typeof e == "function" ? e : Un(e);
5088
+ const n2 = typeof e == "function" ? e : Kn(e);
5089
5089
  return this.columns.filter((r) => n2(r.spec));
5090
5090
  }
5091
5091
  }
5092
- function bt(t) {
5092
+ function At(t) {
5093
5093
  if (t)
5094
5094
  return t.map((e) => ({
5095
- type: `split:${Cn(e.axisId)}`,
5095
+ type: `split:${Jn(e.axisId)}`,
5096
5096
  label: e.label,
5097
5097
  importance: 1e6
5098
5098
  // High importance for split filters in labels
5099
5099
  }));
5100
5100
  }
5101
- function wt(t) {
5101
+ function Pt(t) {
5102
5102
  if (t)
5103
5103
  return t.map((e) => [e.axisIdx, e.value]);
5104
5104
  }
5105
- function At(t, e) {
5105
+ function xt(t, e) {
5106
5106
  if (!e || e.length === 0) return t;
5107
5107
  const n2 = [...e].sort((r, i) => r[0] - i[0]);
5108
- return ve({ id: t, axisFilters: n2 });
5108
+ return _e({ id: t, axisFilters: n2 });
5109
5109
  }
5110
- function Pt(t) {
5110
+ function Ct(t) {
5111
5111
  if (!t || typeof t != "object") return false;
5112
5112
  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);
5113
5113
  return !!e.domainAnchor || n2 || r;
5114
5114
  }
5115
- function xt(t) {
5115
+ function St(t) {
5116
5116
  if (typeof t != "object" || !("axes" in t) || t.axes === void 0)
5117
5117
  return [];
5118
5118
  const e = t.axes.map((n2, r) => typeof n2 == "object" && "split" in n2 && n2.split === true ? r : -1).filter((n2) => n2 !== -1);
@@ -5120,10 +5120,10 @@
5120
5120
  throw new Error("Axis splitting is not supported when `partialAxesMatch` is defined.");
5121
5121
  return e.sort((n2, r) => n2 - r), e;
5122
5122
  }
5123
- class he {
5123
+ class ge {
5124
5124
  constructor() {
5125
5125
  L(this, "defaultProviderStore", []);
5126
- L(this, "providers", [new vt(this.defaultProviderStore)]);
5126
+ L(this, "providers", [new wt(this.defaultProviderStore)]);
5127
5127
  L(this, "axisLabelProviders", []);
5128
5128
  }
5129
5129
  addColumnProvider(e) {
@@ -5151,7 +5151,7 @@
5151
5151
  ...i ?? {}
5152
5152
  }, l2 = typeof e == "function" ? [e] : Array.isArray(e) ? e : [e], u2 = [];
5153
5153
  for (const p2 of l2) {
5154
- const d = Pt(p2);
5154
+ const d = Ct(p2);
5155
5155
  let h;
5156
5156
  if (d) {
5157
5157
  if (!r)
@@ -5168,31 +5168,31 @@
5168
5168
  }
5169
5169
  }
5170
5170
  if (x2.length === 0) continue;
5171
- const c2 = xt(p2), y = c2.length > 0;
5171
+ const c2 = St(p2), y = c2.length > 0;
5172
5172
  for (const g of x2) {
5173
5173
  if (!f(g.spec)) continue;
5174
5174
  const v = g.spec;
5175
5175
  if (y) {
5176
- const A2 = mt(g.data);
5176
+ const A2 = vt(g.data);
5177
5177
  if (!A2) {
5178
5178
  if (s2) continue;
5179
5179
  return;
5180
5180
  }
5181
- if (!yn(A2))
5181
+ if (!ln(A2))
5182
5182
  throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${A2.type} for column ${g.id}`);
5183
- const D2 = gt(A2), $2 = c2[c2.length - 1];
5183
+ const D = yt(A2), $2 = c2[c2.length - 1];
5184
5184
  if ($2 >= A2.partitionKeyLength)
5185
5185
  throw new Error(`Not enough partition keys (${A2.partitionKeyLength}) for requested split axes (max index ${$2}) in column ${v.name}`);
5186
- const q = c2.map((P) => this.findLabels(p$1(v.axesSpec[P]))), F = [], _ = (P, N2) => {
5186
+ const q2 = c2.map((P) => this.findLabels(p$1(v.axesSpec[P]))), F = [], _ = (P, N2) => {
5187
5187
  if (N2 >= c2.length) {
5188
5188
  if (F.push([...P]), F.length > 1e4)
5189
5189
  throw new Error("Too many key combinations, aborting.");
5190
5190
  return;
5191
5191
  }
5192
5192
  const O = c2[N2];
5193
- if (O >= D2.length)
5194
- throw new Error(`Axis index ${O} out of bounds for unique keys array (length ${D2.length}) during split key generation for column ${g.id}`);
5195
- const k2 = D2[O];
5193
+ if (O >= D.length)
5194
+ throw new Error(`Axis index ${O} out of bounds for unique keys array (length ${D.length}) during split key generation for column ${g.id}`);
5195
+ const k2 = D[O];
5196
5196
  if (!k2 || k2.length === 0) {
5197
5197
  F.length = 0;
5198
5198
  return;
@@ -5202,14 +5202,14 @@
5202
5202
  };
5203
5203
  if (_([], 0), F.length === 0)
5204
5204
  continue;
5205
- const R = [...v.axesSpec], ie = c2.map((P) => P);
5205
+ const R = [...v.axesSpec], se = c2.map((P) => P);
5206
5206
  for (let P = c2.length - 1; P >= 0; P--)
5207
5207
  R.splice(c2[P], 1);
5208
5208
  const J = { ...v, axesSpec: R };
5209
5209
  for (const P of F) {
5210
5210
  const N2 = P.map((O, k2) => {
5211
- const z2 = ie[k2], $e = p$1(v.axesSpec[z2]), se = q[k2], Je = (se == null ? void 0 : se[O]) ?? String(O);
5212
- return { axisIdx: z2, axisId: $e, value: O, label: Je };
5211
+ const z2 = se[k2], Ne = p$1(v.axesSpec[z2]), oe = q2[k2], Be = (oe == null ? void 0 : oe[O]) ?? String(O);
5212
+ return { axisIdx: z2, axisId: Ne, value: O, label: Be };
5213
5213
  });
5214
5214
  u2.push({
5215
5215
  type: "split",
@@ -5230,18 +5230,18 @@
5230
5230
  }
5231
5231
  }
5232
5232
  if (u2.length === 0) return [];
5233
- const w2 = Fe(
5233
+ const w2 = Oe(
5234
5234
  u2,
5235
5235
  (p2) => ({
5236
5236
  spec: p2.spec,
5237
- suffixTrace: p2.type === "split" ? bt(p2.axisFilters) : void 0
5237
+ suffixTrace: p2.type === "split" ? At(p2.axisFilters) : void 0
5238
5238
  }),
5239
5239
  a
5240
5240
  ), b = [];
5241
5241
  for (const { value: p2, label: d } of w2) {
5242
- const { originalColumn: h, spec: f2 } = p2, x2 = p2.type === "split" ? p2.axisFilters : void 0, c2 = wt(x2);
5242
+ const { originalColumn: h, spec: f2 } = p2, x2 = p2.type === "split" ? p2.axisFilters : void 0, c2 = Pt(x2);
5243
5243
  let y;
5244
- r ? y = r.deriveS(f2, c2) : y = At(h.id, c2);
5244
+ r ? y = r.deriveS(f2, c2) : y = xt(h.id, c2);
5245
5245
  let g = { ...p2.adjustedSpec };
5246
5246
  o && (g = {
5247
5247
  ...g,
@@ -5252,7 +5252,7 @@
5252
5252
  }), b.push({
5253
5253
  id: y,
5254
5254
  spec: g,
5255
- data: () => p2.type === "split" ? hn(yt(p2.dataEntries, c2)) : p2.originalColumn.data,
5255
+ data: () => p2.type === "split" ? gn(bt(p2.dataEntries, c2)) : p2.originalColumn.data,
5256
5256
  label: d
5257
5257
  });
5258
5258
  }
@@ -5281,17 +5281,17 @@
5281
5281
  return i;
5282
5282
  }
5283
5283
  }
5284
- function ae(t, e) {
5284
+ function le(t, e) {
5285
5285
  if (t === void 0) return e === void 0;
5286
5286
  if (e === void 0) return true;
5287
5287
  for (const n2 in e)
5288
5288
  if (t[n2] !== e[n2]) return false;
5289
5289
  return true;
5290
5290
  }
5291
- function Ae(t) {
5292
- return jn(t, (e) => e instanceof I ? e.handle : pn(e) ? mn(e, (n2) => n2.handle) : e);
5291
+ function Pe(t) {
5292
+ return Fn(t, (e) => e instanceof I ? e.handle : mn(e) ? yn(e, (n2) => n2.handle) : e);
5293
5293
  }
5294
- class Ct {
5294
+ class It {
5295
5295
  constructor() {
5296
5296
  L(this, "ctx", m());
5297
5297
  }
@@ -5302,8 +5302,8 @@
5302
5302
  return this.ctx.calculateOptions(e);
5303
5303
  }
5304
5304
  getOptions(e, n2) {
5305
- const r = typeof e == "function" ? e : Un(e), i = this.getSpecs().entries.filter((s2) => r(s2.obj));
5306
- return typeof n2 == "object" || typeof n2 > "u" ? Fe(i, (s2) => s2.obj, n2 ?? {}).map(({ value: { ref: s2 }, label: o }) => ({
5305
+ const r = typeof e == "function" ? e : Kn(e), i = this.getSpecs().entries.filter((s2) => r(s2.obj));
5306
+ return typeof n2 == "object" || typeof n2 > "u" ? Oe(i, (s2) => s2.obj, n2 ?? {}).map(({ value: { ref: s2 }, label: o }) => ({
5307
5307
  ref: s2,
5308
5308
  label: o
5309
5309
  })) : i.map((s2) => ({
@@ -5315,7 +5315,7 @@
5315
5315
  if (e instanceof $n) return e;
5316
5316
  const n2 = {};
5317
5317
  for (const [r, i] of Object.entries(e))
5318
- if (Mn(i)) {
5318
+ if (Tn(i)) {
5319
5319
  const s2 = this.getPColumnSpecByRef(i);
5320
5320
  if (!s2)
5321
5321
  return;
@@ -5335,7 +5335,7 @@
5335
5335
  getAnchoredPColumns(e, n2, r) {
5336
5336
  const i = this.resolveAnchorCtx(e);
5337
5337
  if (i)
5338
- return new he().addColumnProvider(this).addAxisLabelProvider(this).getColumns(n2, {
5338
+ return new ge().addColumnProvider(this).addAxisLabelProvider(this).getColumns(n2, {
5339
5339
  ...r,
5340
5340
  anchorCtx: i
5341
5341
  });
@@ -5372,7 +5372,7 @@
5372
5372
  getCanonicalOptions(e, n2, r) {
5373
5373
  const i = this.resolveAnchorCtx(e);
5374
5374
  if (!i) return;
5375
- const s2 = new he().addColumnProvider(this).addAxisLabelProvider(this).getUniversalEntries(n2, {
5375
+ const s2 = new ge().addColumnProvider(this).addAxisLabelProvider(this).getUniversalEntries(n2, {
5376
5376
  ...r,
5377
5377
  anchorCtx: i
5378
5378
  });
@@ -5415,7 +5415,7 @@
5415
5415
  ref: n2.ref,
5416
5416
  obj: {
5417
5417
  ...n2.obj,
5418
- data: Hn(
5418
+ data: _n(
5419
5419
  n2.obj.data,
5420
5420
  (r) => new I(r, [n2.ref.blockId, n2.ref.name])
5421
5421
  )
@@ -5444,7 +5444,7 @@
5444
5444
  )) == null ? void 0 : r.obj;
5445
5445
  const n2 = this.ctx.getDataFromResultPoolByRef(e.blockId, e.name);
5446
5446
  if (n2)
5447
- return jn(
5447
+ return Fn(
5448
5448
  n2,
5449
5449
  (i) => new I(i, [e.blockId, e.name])
5450
5450
  );
@@ -5457,7 +5457,7 @@
5457
5457
  getPColumnByRef(e) {
5458
5458
  const n2 = this.getDataByRef(e);
5459
5459
  if (n2)
5460
- return Bn(n2);
5460
+ return jn(n2);
5461
5461
  }
5462
5462
  /**
5463
5463
  * Returns spec associated with the ref ensuring that it is a p-column spec.
@@ -5489,10 +5489,10 @@
5489
5489
  if (!f(r.obj.spec))
5490
5490
  continue;
5491
5491
  const i = r.obj.spec;
5492
- if (e.name === i.name && e.valueType === i.valueType && e.axesSpec.length === i.axesSpec.length && ae(e.domain, i.domain)) {
5492
+ if (e.name === i.name && e.valueType === i.valueType && e.axesSpec.length === i.axesSpec.length && le(e.domain, i.domain)) {
5493
5493
  for (let s2 = 0; s2 < e.axesSpec.length; ++s2) {
5494
5494
  const o = e.axesSpec[s2], a = i.axesSpec[s2];
5495
- if (o.name !== a.name || o.type !== a.type || !ae(o.domain, a.domain))
5495
+ if (o.name !== a.name || o.type !== a.type || !le(o.domain, a.domain))
5496
5496
  continue e;
5497
5497
  }
5498
5498
  n2.push(r.obj);
@@ -5507,9 +5507,9 @@
5507
5507
  findLabels(e) {
5508
5508
  const n2 = this.getData();
5509
5509
  for (const r of n2.entries) {
5510
- if (!Z$1(r.obj)) continue;
5510
+ if (!q(r.obj)) continue;
5511
5511
  const i = r.obj.spec;
5512
- if (i.name === "pl7.app/label" && i.axesSpec.length === 1 && i.axesSpec[0].name === e.name && i.axesSpec[0].type === e.type && ae(e.domain, i.axesSpec[0].domain)) {
5512
+ if (i.name === "pl7.app/label" && i.axesSpec.length === 1 && i.axesSpec[0].name === e.name && i.axesSpec[0].type === e.type && le(e.domain, i.axesSpec[0].domain)) {
5513
5513
  if (r.obj.data.resourceType.name !== "PColumnData/Json")
5514
5514
  throw Error(`Expected JSON column for labels, got: ${r.obj.data.resourceType.name}`);
5515
5515
  return Object.fromEntries(
@@ -5528,13 +5528,13 @@
5528
5528
  * @returns An array of PColumn objects matching the selectors. Data is loaded on first access.
5529
5529
  */
5530
5530
  selectColumns(e) {
5531
- const n2 = typeof e == "function" ? e : Un(e);
5531
+ const n2 = typeof e == "function" ? e : Kn(e);
5532
5532
  return this.getSpecs().entries.filter(({ obj: i }) => f(i) ? n2(i) : false).map(({ ref: i, obj: s2 }) => {
5533
5533
  const o = s2;
5534
5534
  let a = null;
5535
5535
  const l2 = this;
5536
5536
  return {
5537
- id: ve(i),
5537
+ id: _e(i),
5538
5538
  spec: o,
5539
5539
  get data() {
5540
5540
  var u2;
@@ -5565,7 +5565,7 @@
5565
5565
  L(this, "args");
5566
5566
  L(this, "uiState");
5567
5567
  L(this, "_activeArgsCache");
5568
- L(this, "resultPool", new Ct());
5568
+ L(this, "resultPool", new It());
5569
5569
  this.ctx = m(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
5570
5570
  }
5571
5571
  /**
@@ -5582,16 +5582,16 @@
5582
5582
  // return this.ctx.featureFlags;
5583
5583
  // }
5584
5584
  getNamedAccessor(e) {
5585
- return ce(
5585
+ return pe(
5586
5586
  this.ctx.getAccessorHandleByName(e),
5587
5587
  (n2) => new I(n2, [e])
5588
5588
  );
5589
5589
  }
5590
5590
  get prerun() {
5591
- return this.getNamedAccessor(Le);
5591
+ return this.getNamedAccessor(Ee);
5592
5592
  }
5593
5593
  get outputs() {
5594
- return this.getNamedAccessor(Te);
5594
+ return this.getNamedAccessor(Fe);
5595
5595
  }
5596
5596
  /**
5597
5597
  * Find labels data for a given axis id. It will search for a label column and return its data as a map.
@@ -5603,13 +5603,13 @@
5603
5603
  }
5604
5604
  verifyInlineAndExplicitColumnsSupport(e) {
5605
5605
  var i;
5606
- const n2 = e.some((s2) => !(s2.data instanceof I) || pn(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5606
+ const n2 = e.some((s2) => !(s2.data instanceof I) || mn(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5607
5607
  if (n2 && !r) throw Error("Inline or explicit columns not supported");
5608
5608
  }
5609
5609
  // TODO remove all non-PColumn fields
5610
5610
  createPFrame(e) {
5611
5611
  return this.verifyInlineAndExplicitColumnsSupport(e), this.ctx.createPFrame(
5612
- e.map((n2) => Ae(n2))
5612
+ e.map((n2) => Pe(n2))
5613
5613
  );
5614
5614
  }
5615
5615
  createPTable(e) {
@@ -5621,8 +5621,8 @@
5621
5621
  },
5622
5622
  filters: e.filters ?? [],
5623
5623
  sorting: e.sorting ?? []
5624
- } : n2 = e, this.verifyInlineAndExplicitColumnsSupport(Fn(n2.src)), this.ctx.createPTable(
5625
- Jn(n2, (r) => Ae(r))
5624
+ } : n2 = e, this.verifyInlineAndExplicitColumnsSupport(Un(n2.src)), this.ctx.createPTable(
5625
+ On(n2, (r) => Pe(r))
5626
5626
  );
5627
5627
  }
5628
5628
  /** @deprecated scheduled for removal from SDK */
@@ -5634,13 +5634,13 @@
5634
5634
  return this.ctx.getCurrentUnstableMarker();
5635
5635
  }
5636
5636
  }
5637
- const M = "1.29.12";
5638
- function St(t) {
5637
+ const M = "1.29.13";
5638
+ function _t(t) {
5639
5639
  return t.__renderLambda === true;
5640
5640
  }
5641
- function le(t) {
5641
+ function ue(t) {
5642
5642
  if (t !== void 0)
5643
- return St(t) ? t.handle : t;
5643
+ return _t(t) ? t.handle : t;
5644
5644
  }
5645
5645
  class T {
5646
5646
  constructor(e, n2, r, i, s2, o, a) {
@@ -5806,13 +5806,13 @@
5806
5806
  sdkVersion: M,
5807
5807
  renderingMode: this._renderingMode,
5808
5808
  initialArgs: this._initialArgs,
5809
- inputsValid: le(this._inputsValid),
5810
- sections: le(this._sections),
5809
+ inputsValid: ue(this._inputsValid),
5810
+ sections: ue(this._sections),
5811
5811
  outputs: Object.fromEntries(
5812
- Object.entries(this._outputs).map(([n2, r]) => [n2, le(r)])
5812
+ Object.entries(this._outputs).map(([n2, r]) => [n2, ue(r)])
5813
5813
  )
5814
5814
  };
5815
- return nt() ? _e({ sdkVersion: M }) : { config: e };
5815
+ return it() ? Te({ sdkVersion: M }) : { config: e };
5816
5816
  }
5817
5817
  }
5818
5818
  const platforma = T.create("Heavy").withArgs({ titleArg: "The title" }).output("allSpecs", (ctx) => ctx.resultPool.getSpecs()).sections((ctx) => {