@milaboratories/milaboratories.pool-explorer.model 1.0.46 → 1.0.48

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
@@ -2,40 +2,6 @@
2
2
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global.model = {}));
3
3
  })(this, function(exports2) {
4
4
  "use strict";
5
- function getDefaultExportFromCjs(x2) {
6
- return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
7
- }
8
- var canonicalize = function serialize(object) {
9
- if (typeof object === "number" && isNaN(object)) {
10
- throw new Error("NaN is not allowed");
11
- }
12
- if (typeof object === "number" && !isFinite(object)) {
13
- throw new Error("Infinity is not allowed");
14
- }
15
- if (object === null || typeof object !== "object") {
16
- return JSON.stringify(object);
17
- }
18
- if (object.toJSON instanceof Function) {
19
- return serialize(object.toJSON());
20
- }
21
- if (Array.isArray(object)) {
22
- const values2 = object.reduce((t, cv, ci) => {
23
- const comma = ci === 0 ? "" : ",";
24
- const value = cv === void 0 || typeof cv === "symbol" ? null : cv;
25
- return `${t}${comma}${serialize(value)}`;
26
- }, "");
27
- return `[${values2}]`;
28
- }
29
- const values = Object.keys(object).sort().reduce((t, cv) => {
30
- if (object[cv] === void 0 || typeof object[cv] === "symbol") {
31
- return t;
32
- }
33
- const comma = t.length === 0 ? "" : ",";
34
- return `${t}${comma}${serialize(cv)}:${serialize(object[cv])}`;
35
- }, "");
36
- return `{${values}}`;
37
- };
38
- const ke = /* @__PURE__ */ getDefaultExportFromCjs(canonicalize);
39
5
  var util;
40
6
  (function(util2) {
41
7
  util2.assertEqual = (val) => val;
@@ -493,11 +459,11 @@
493
459
  const isValid = (x2) => x2.status === "valid";
494
460
  const isAsync = (x2) => typeof Promise !== "undefined" && x2 instanceof Promise;
495
461
  function __classPrivateFieldGet(receiver, state, kind, f2) {
496
- if (typeof state === "function" ? receiver !== state || !f2 : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
462
+ if (typeof state === "function" ? receiver !== state || true : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
497
463
  return state.get(receiver);
498
464
  }
499
465
  function __classPrivateFieldSet(receiver, state, value, kind, f2) {
500
- if (typeof state === "function" ? receiver !== state || !f2 : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
466
+ if (typeof state === "function" ? receiver !== state || true : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
501
467
  return state.set(receiver, value), value;
502
468
  }
503
469
  typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
@@ -3948,13 +3914,61 @@
3948
3914
  quotelessJson,
3949
3915
  ZodError
3950
3916
  });
3917
+ function getDefaultExportFromCjs(x2) {
3918
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
3919
+ }
3920
+ var canonicalize;
3921
+ var hasRequiredCanonicalize;
3922
+ function requireCanonicalize() {
3923
+ if (hasRequiredCanonicalize) return canonicalize;
3924
+ hasRequiredCanonicalize = 1;
3925
+ canonicalize = function serialize(object) {
3926
+ if (typeof object === "number" && isNaN(object)) {
3927
+ throw new Error("NaN is not allowed");
3928
+ }
3929
+ if (typeof object === "number" && !isFinite(object)) {
3930
+ throw new Error("Infinity is not allowed");
3931
+ }
3932
+ if (object === null || typeof object !== "object") {
3933
+ return JSON.stringify(object);
3934
+ }
3935
+ if (object.toJSON instanceof Function) {
3936
+ return serialize(object.toJSON());
3937
+ }
3938
+ if (Array.isArray(object)) {
3939
+ const values2 = object.reduce((t, cv, ci) => {
3940
+ const comma = ci === 0 ? "" : ",";
3941
+ const value = cv === void 0 || typeof cv === "symbol" ? null : cv;
3942
+ return `${t}${comma}${serialize(value)}`;
3943
+ }, "");
3944
+ return `[${values2}]`;
3945
+ }
3946
+ const values = Object.keys(object).sort().reduce((t, cv) => {
3947
+ if (object[cv] === void 0 || typeof object[cv] === "symbol") {
3948
+ return t;
3949
+ }
3950
+ const comma = t.length === 0 ? "" : ",";
3951
+ return `${t}${comma}${serialize(cv)}:${serialize(object[cv])}`;
3952
+ }, "");
3953
+ return `{${values}}`;
3954
+ };
3955
+ return canonicalize;
3956
+ }
3957
+ var canonicalizeExports = requireCanonicalize();
3958
+ const ke = /* @__PURE__ */ getDefaultExportFromCjs(canonicalizeExports);
3951
3959
  var I$1 = Object.defineProperty;
3952
3960
  var D = (n2, e, t) => e in n2 ? I$1(n2, e, { enumerable: true, configurable: true, writable: true, value: t }) : n2[e] = t;
3953
3961
  var l$1 = (n2, e, t) => D(n2, typeof e != "symbol" ? e + "" : e, t);
3962
+ z$2.object({
3963
+ /** Included left border. */
3964
+ from: z$2.number(),
3965
+ /** Excluded right border. */
3966
+ to: z$2.number()
3967
+ });
3954
3968
  function w(n2) {
3955
3969
  throw new Error("Unexpected object: " + n2);
3956
3970
  }
3957
- function yn(n2) {
3971
+ function hn(n2) {
3958
3972
  if (!n2 || typeof n2 != "object")
3959
3973
  return false;
3960
3974
  const e = n2;
@@ -3971,7 +3985,7 @@
3971
3985
  return false;
3972
3986
  }
3973
3987
  }
3974
- function hn(n2, e) {
3988
+ function gn(n2, e) {
3975
3989
  if (n2 !== void 0)
3976
3990
  switch (n2.type) {
3977
3991
  case "Json":
@@ -3999,7 +4013,7 @@
3999
4013
  }
4000
4014
  }
4001
4015
  }
4002
- function F(n2) {
4016
+ function F$1(n2) {
4003
4017
  if (!n2 || typeof n2 != "object")
4004
4018
  return false;
4005
4019
  const e = n2;
@@ -4016,10 +4030,10 @@
4016
4030
  return false;
4017
4031
  }
4018
4032
  }
4019
- function gn(n2) {
4020
- return F(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
4021
- }
4022
4033
  function bn(n2) {
4034
+ return F$1(n2) ? n2.type === "JsonPartitioned" || n2.type === "BinaryPartitioned" : false;
4035
+ }
4036
+ function wn(n2) {
4023
4037
  switch (n2.type) {
4024
4038
  case "Json": {
4025
4039
  const e = Object.entries(n2.data).map(([t, r]) => ({ key: JSON.parse(t), value: r }));
@@ -4047,7 +4061,7 @@
4047
4061
  }
4048
4062
  }
4049
4063
  }
4050
- function wn(n2) {
4064
+ function Pn(n2) {
4051
4065
  switch (n2.type) {
4052
4066
  case "Json": {
4053
4067
  const e = {};
@@ -4088,7 +4102,7 @@
4088
4102
  function C(n2) {
4089
4103
  return n2.map(p$1);
4090
4104
  }
4091
- function $n(n2) {
4105
+ function In(n2) {
4092
4106
  return ke(p$1(n2));
4093
4107
  }
4094
4108
  function z$1(n2, e) {
@@ -4101,7 +4115,7 @@
4101
4115
  function X(n2, e) {
4102
4116
  return n2.name === e.name && z$1(n2.domain, e.domain);
4103
4117
  }
4104
- function In(n2, e) {
4118
+ function Dn(n2, e) {
4105
4119
  return { ...n2, src: h$1(n2.src, e) };
4106
4120
  }
4107
4121
  function h$1(n2, e) {
@@ -4145,7 +4159,7 @@
4145
4159
  function A(n2, e) {
4146
4160
  return JSON.stringify([n2, e]);
4147
4161
  }
4148
- class Ln {
4162
+ class Vn {
4149
4163
  /**
4150
4164
  * Creates a new anchor context from a set of anchor column specifications
4151
4165
  * @param anchors Record of anchor column specifications indexed by anchor ID
@@ -4187,9 +4201,9 @@
4187
4201
  for (const a of this.domainPacks) {
4188
4202
  const i = [];
4189
4203
  for (const c2 of a) {
4190
- const d = e.domain[c2];
4191
- if (d !== void 0)
4192
- i.push([c2, d]);
4204
+ const m2 = e.domain[c2];
4205
+ if (m2 !== void 0)
4206
+ i.push([c2, m2]);
4193
4207
  else
4194
4208
  break n;
4195
4209
  }
@@ -4218,7 +4232,7 @@
4218
4232
  throw new Error(`Axis index ${i} is out of bounds (0-${e.axesSpec.length - 1})`);
4219
4233
  s2.push([i, u2]);
4220
4234
  } else {
4221
- const c2 = e.axesSpec.findIndex((d) => d.name === i);
4235
+ const c2 = e.axesSpec.findIndex((m2) => m2.name === i);
4222
4236
  if (c2 === -1)
4223
4237
  throw new Error(`Axis with name "${i}" not found in the column specification`);
4224
4238
  s2.push([c2, u2]);
@@ -4239,7 +4253,7 @@
4239
4253
  return G(this.derive(e, t));
4240
4254
  }
4241
4255
  }
4242
- function Vn(n2, e, t) {
4256
+ function Bn(n2, e, t) {
4243
4257
  const r = { ...e }, o = (t == null ? void 0 : t.ignoreMissingDomains) ?? false;
4244
4258
  if (r.domainAnchor !== void 0) {
4245
4259
  const s2 = n2[r.domainAnchor];
@@ -4314,7 +4328,7 @@
4314
4328
  data: e(n2.data)
4315
4329
  };
4316
4330
  }
4317
- function Rn(n2) {
4331
+ function vn(n2) {
4318
4332
  const e = /* @__PURE__ */ new Map(), t = (r) => {
4319
4333
  switch (r.type) {
4320
4334
  case "column":
@@ -4403,10 +4417,10 @@
4403
4417
  }
4404
4418
  return true;
4405
4419
  }
4406
- function vn(n2) {
4420
+ function _n(n2) {
4407
4421
  return Array.isArray(n2) ? (e) => n2.some((t) => f(e) && N(e, t)) : (e) => f(e) && N(e, n2);
4408
4422
  }
4409
- function _n(n2) {
4423
+ function Mn(n2) {
4410
4424
  const e = {
4411
4425
  kind: n2.kind,
4412
4426
  name: n2.name
@@ -4421,10 +4435,10 @@
4421
4435
  }).describe(
4422
4436
  "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."
4423
4437
  ).readonly();
4424
- function Hn(n2) {
4438
+ function qn(n2) {
4425
4439
  return typeof n2 == "object" && n2 !== null && "__isRef" in n2 && n2.__isRef === true && "blockId" in n2 && "name" in n2;
4426
4440
  }
4427
- function Wn(n2, e = true) {
4441
+ function zn(n2, e = true) {
4428
4442
  if (e)
4429
4443
  return {
4430
4444
  ...n2,
@@ -4435,35 +4449,42 @@
4435
4449
  return r;
4436
4450
  }
4437
4451
  }
4438
- function Xn(n2, e) {
4452
+ function Gn(n2, e) {
4439
4453
  return n2.ok ? { ok: true, value: e(n2.value) } : n2;
4440
4454
  }
4441
4455
  const sn = 24;
4442
4456
  z$2.string().length(sn).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
4443
4457
  var stringify = { exports: {} };
4444
- (function(module2, exports3) {
4445
- exports3 = module2.exports = stringify2;
4446
- exports3.getSerialize = serializer;
4447
- function stringify2(obj, replacer, spaces, cycleReplacer) {
4448
- return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces);
4449
- }
4450
- function serializer(replacer, cycleReplacer) {
4451
- var stack = [], keys = [];
4452
- if (cycleReplacer == null) cycleReplacer = function(key, value) {
4453
- if (stack[0] === value) return "[Circular ~]";
4454
- return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]";
4455
- };
4456
- return function(key, value) {
4457
- if (stack.length > 0) {
4458
- var thisPos = stack.indexOf(this);
4459
- ~thisPos ? stack.splice(thisPos + 1) : stack.push(this);
4460
- ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key);
4461
- if (~stack.indexOf(value)) value = cycleReplacer.call(this, key, value);
4462
- } else stack.push(value);
4463
- return replacer == null ? value : replacer.call(this, key, value);
4464
- };
4465
- }
4466
- })(stringify, stringify.exports);
4458
+ var hasRequiredStringify;
4459
+ function requireStringify() {
4460
+ if (hasRequiredStringify) return stringify.exports;
4461
+ hasRequiredStringify = 1;
4462
+ (function(module2, exports3) {
4463
+ exports3 = module2.exports = stringify2;
4464
+ exports3.getSerialize = serializer;
4465
+ function stringify2(obj, replacer, spaces, cycleReplacer) {
4466
+ return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces);
4467
+ }
4468
+ function serializer(replacer, cycleReplacer) {
4469
+ var stack = [], keys = [];
4470
+ if (cycleReplacer == null) cycleReplacer = function(key, value) {
4471
+ if (stack[0] === value) return "[Circular ~]";
4472
+ return "[Circular ~." + keys.slice(0, stack.indexOf(value)).join(".") + "]";
4473
+ };
4474
+ return function(key, value) {
4475
+ if (stack.length > 0) {
4476
+ var thisPos = stack.indexOf(this);
4477
+ ~thisPos ? stack.splice(thisPos + 1) : stack.push(this);
4478
+ ~thisPos ? keys.splice(thisPos, Infinity, key) : keys.push(key);
4479
+ if (~stack.indexOf(value)) value = cycleReplacer.call(this, key, value);
4480
+ } else stack.push(value);
4481
+ return replacer == null ? value : replacer.call(this, key, value);
4482
+ };
4483
+ }
4484
+ })(stringify, stringify.exports);
4485
+ return stringify.exports;
4486
+ }
4487
+ requireStringify();
4467
4488
  const l = z$2.object({
4468
4489
  type: z$2.literal("PlError"),
4469
4490
  name: z$2.string(),
@@ -4494,14 +4515,14 @@
4494
4515
  });
4495
4516
  var Xe = Object.defineProperty;
4496
4517
  var Qe = (t, e, n2) => e in t ? Xe(t, e, { enumerable: true, configurable: true, writable: true, value: n2 }) : t[e] = n2;
4497
- var R = (t, e, n2) => Qe(t, typeof e != "symbol" ? e + "" : e, n2);
4518
+ var F = (t, e, n2) => Qe(t, typeof e != "symbol" ? e + "" : e, n2);
4498
4519
  function re(t) {
4499
4520
  return { type: "Immediate", value: t };
4500
4521
  }
4501
4522
  function ht() {
4502
4523
  return typeof globalThis.getPlatforma < "u" || typeof globalThis.platforma < "u";
4503
4524
  }
4504
- function De(t) {
4525
+ function Re(t) {
4505
4526
  if (t && typeof globalThis.getPlatforma == "function")
4506
4527
  return globalThis.getPlatforma(t);
4507
4528
  if (typeof globalThis.platforma < "u") return globalThis.platforma;
@@ -4529,8 +4550,8 @@
4529
4550
  }
4530
4551
  class I {
4531
4552
  constructor(e, n2 = (r) => r) {
4532
- R(this, "isResolved", false);
4533
- R(this, "resolvedValue");
4553
+ F(this, "isResolved", false);
4554
+ F(this, "resolvedValue");
4534
4555
  this.handle = e, this.postProcess = n2, mt(e, (r) => {
4535
4556
  this.resolvedValue = n2(r), this.isResolved = true;
4536
4557
  });
@@ -4771,7 +4792,7 @@
4771
4792
  return s2 && (l2 = l2.filter((u2) => u2[1] !== void 0)), l2.map(([u2, d]) => o(u2, d));
4772
4793
  }
4773
4794
  }
4774
- const Fe = "staging", Ke = "main";
4795
+ const De = "staging", Ke = "main";
4775
4796
  const bt = "pl7.app/label", wt = "pl7.app/trace", At = z$2.object({
4776
4797
  type: z$2.string(),
4777
4798
  importance: z$2.number().optional(),
@@ -4780,11 +4801,11 @@
4780
4801
  }), xt = z$2.array(At), Ct = 1e-3, Pt = "__LABEL__", Se = "__LABEL__@1";
4781
4802
  function Ve(t, e, n2 = {}) {
4782
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((f2) => {
4783
- var S, D2;
4804
+ var S, R;
4784
4805
  const w2 = e(f2);
4785
4806
  let c2, g, x2;
4786
4807
  "spec" in w2 && typeof w2.spec == "object" ? (c2 = w2.spec, g = w2.prefixTrace, x2 = w2.suffixTrace) : c2 = w2;
4787
- const p2 = (S = c2.annotations) == null ? void 0 : S[bt], A2 = (D2 = c2.annotations) == null ? void 0 : D2[wt], m2 = (A2 ? xt.safeParse(JSON.parse(A2)).data : void 0) ?? [], v = [
4808
+ const p2 = (S = c2.annotations) == null ? void 0 : S[bt], A2 = (R = c2.annotations) == null ? void 0 : R[wt], m2 = (A2 ? xt.safeParse(JSON.parse(A2)).data : void 0) ?? [], v = [
4788
4809
  ...g ?? [],
4789
4810
  ...m2,
4790
4811
  ...x2 ?? []
@@ -4926,7 +4947,7 @@
4926
4947
  }
4927
4948
  function It(t) {
4928
4949
  if (t === void 0) return;
4929
- if (F(t))
4950
+ if (F$1(t))
4930
4951
  return _t(t);
4931
4952
  const e = St(t);
4932
4953
  if (!e) return;
@@ -5041,8 +5062,8 @@
5041
5062
  }
5042
5063
  function Tt(t) {
5043
5064
  if (t !== void 0) {
5044
- if (F(t)) return t;
5045
- if (yn(t)) return bn(t);
5065
+ if (F$1(t)) return t;
5066
+ if (hn(t)) return wn(t);
5046
5067
  if (t instanceof O) return ye(t);
5047
5068
  throw new Error(`Unexpected input type: ${typeof t}`);
5048
5069
  }
@@ -5112,14 +5133,14 @@
5112
5133
  this.columns = e;
5113
5134
  }
5114
5135
  selectColumns(e) {
5115
- const n2 = typeof e == "function" ? e : vn(e);
5136
+ const n2 = typeof e == "function" ? e : _n(e);
5116
5137
  return this.columns.filter((r) => n2(r.spec));
5117
5138
  }
5118
5139
  }
5119
5140
  function Ot(t) {
5120
5141
  if (t)
5121
5142
  return t.map((e) => ({
5122
- type: `split:${$n(e.axisId)}`,
5143
+ type: `split:${In(e.axisId)}`,
5123
5144
  label: e.label,
5124
5145
  importance: 1e6
5125
5146
  // High importance for split filters in labels
@@ -5129,7 +5150,7 @@
5129
5150
  if (t)
5130
5151
  return t.map((e) => [e.axisIdx, e.value]);
5131
5152
  }
5132
- function Rt(t, e) {
5153
+ function Ft(t, e) {
5133
5154
  if (!e || e.length === 0) return t;
5134
5155
  const n2 = [...e].sort((r, i) => r[0] - i[0]);
5135
5156
  return ke({ id: t, axisFilters: n2 });
@@ -5139,7 +5160,7 @@
5139
5160
  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);
5140
5161
  return !!e.domainAnchor || n2 || r;
5141
5162
  }
5142
- function Dt(t) {
5163
+ function Rt(t) {
5143
5164
  if (typeof t != "object" || !("axes" in t) || t.axes === void 0)
5144
5165
  return [];
5145
5166
  const e = t.axes.map((n2, r) => typeof n2 == "object" && "split" in n2 && n2.split === true ? r : -1).filter((n2) => n2 !== -1);
@@ -5149,9 +5170,9 @@
5149
5170
  }
5150
5171
  class ve {
5151
5172
  constructor() {
5152
- R(this, "defaultProviderStore", []);
5153
- R(this, "providers", [new Et(this.defaultProviderStore)]);
5154
- R(this, "axisLabelProviders", []);
5173
+ F(this, "defaultProviderStore", []);
5174
+ F(this, "providers", [new Et(this.defaultProviderStore)]);
5175
+ F(this, "axisLabelProviders", []);
5155
5176
  }
5156
5177
  addColumnProvider(e) {
5157
5178
  return this.providers.push(e), this;
@@ -5183,9 +5204,9 @@
5183
5204
  if (_e(g)) {
5184
5205
  if (!r)
5185
5206
  throw new Error("Anchored selectors in exclude require an AnchoredIdDeriver to be provided in options.");
5186
- return vn(Vn(r.anchors, g, n2));
5207
+ return _n(Bn(r.anchors, g, n2));
5187
5208
  } else
5188
- return vn(g);
5209
+ return _n(g);
5189
5210
  });
5190
5211
  u2 = (g) => c2.some((x2) => x2(g));
5191
5212
  }
@@ -5196,7 +5217,7 @@
5196
5217
  if (g) {
5197
5218
  if (!r)
5198
5219
  throw new Error("Anchored selectors require an AnchoredIdDeriver to be provided in options.");
5199
- x2 = Vn(r.anchors, c2, n2);
5220
+ x2 = Bn(r.anchors, c2, n2);
5200
5221
  } else
5201
5222
  x2 = c2;
5202
5223
  const p2 = /* @__PURE__ */ new Set(), A2 = [];
@@ -5206,12 +5227,12 @@
5206
5227
  if (u2(S.spec)) continue;
5207
5228
  if (p2.has(S.id))
5208
5229
  throw new Error(`Duplicate column id ${S.id} in provider ${C2.constructor.name}`);
5209
- const D2 = _n(S.spec);
5210
- b.has(D2) || (p2.add(S.id), b.add(D2), A2.push(S));
5230
+ const R = Mn(S.spec);
5231
+ b.has(R) || (p2.add(S.id), b.add(R), A2.push(S));
5211
5232
  }
5212
5233
  }
5213
5234
  if (A2.length === 0) continue;
5214
- const m2 = Dt(c2), v = m2.length > 0;
5235
+ const m2 = Rt(c2), v = m2.length > 0;
5215
5236
  for (const C2 of A2) {
5216
5237
  if (!f(C2.spec)) continue;
5217
5238
  const L = C2.spec;
@@ -5221,9 +5242,9 @@
5221
5242
  if (s2) continue;
5222
5243
  return;
5223
5244
  }
5224
- if (!gn(S))
5245
+ if (!bn(S))
5225
5246
  throw new Error(`Splitting requires Partitioned DataInfoEntries, but parsing resulted in ${S.type} for column ${C2.id}`);
5226
- const D2 = It(S), k2 = m2[m2.length - 1];
5247
+ const R = It(S), k2 = m2[m2.length - 1];
5227
5248
  if (k2 >= S.partitionKeyLength)
5228
5249
  throw new Error(`Not enough partition keys (${S.partitionKeyLength}) for requested split axes (max index ${k2}) in column ${L.name}`);
5229
5250
  const W = m2.map((_) => this.findLabels(p$1(L.axesSpec[_]))), V = [], N2 = (_, G2) => {
@@ -5233,9 +5254,9 @@
5233
5254
  return;
5234
5255
  }
5235
5256
  const $ = m2[G2];
5236
- if ($ >= D2.length)
5237
- throw new Error(`Axis index ${$} out of bounds for unique keys array (length ${D2.length}) during split key generation for column ${C2.id}`);
5238
- const J = D2[$];
5257
+ if ($ >= R.length)
5258
+ throw new Error(`Axis index ${$} out of bounds for unique keys array (length ${R.length}) during split key generation for column ${C2.id}`);
5259
+ const J = R[$];
5239
5260
  if (!J || J.length === 0) {
5240
5261
  V.length = 0;
5241
5262
  return;
@@ -5284,7 +5305,7 @@
5284
5305
  for (const { value: c2, label: g } of f$1) {
5285
5306
  const { originalColumn: x2, spec: p2 } = c2, A2 = c2.type === "split" ? c2.axisFilters : void 0, m2 = kt(A2);
5286
5307
  let v;
5287
- r ? v = r.deriveS(p2, m2) : v = Rt(x2.id, m2);
5308
+ r ? v = r.deriveS(p2, m2) : v = Ft(x2.id, m2);
5288
5309
  let C2 = { ...c2.adjustedSpec };
5289
5310
  o && (C2 = {
5290
5311
  ...C2,
@@ -5295,7 +5316,7 @@
5295
5316
  }), w2.push({
5296
5317
  id: v,
5297
5318
  spec: C2,
5298
- data: () => c2.type === "split" ? wn(Lt(c2.dataEntries, m2)) : c2.originalColumn.data,
5319
+ data: () => c2.type === "split" ? Pn(Lt(c2.dataEntries, m2)) : c2.originalColumn.data,
5299
5320
  label: g
5300
5321
  });
5301
5322
  }
@@ -5332,11 +5353,11 @@
5332
5353
  return true;
5333
5354
  }
5334
5355
  function Ie(t) {
5335
- return Kn(t, (e) => e instanceof O ? e.handle : yn(e) ? hn(e, (n2) => n2.handle) : e);
5356
+ return Kn(t, (e) => e instanceof O ? e.handle : hn(e) ? gn(e, (n2) => n2.handle) : e);
5336
5357
  }
5337
- class Ft {
5358
+ class Dt {
5338
5359
  constructor() {
5339
- R(this, "ctx", h());
5360
+ F(this, "ctx", h());
5340
5361
  }
5341
5362
  /**
5342
5363
  * @deprecated use getOptions()
@@ -5345,28 +5366,28 @@
5345
5366
  return this.ctx.calculateOptions(e);
5346
5367
  }
5347
5368
  getOptions(e, n2) {
5348
- const r = typeof e == "function" ? e : vn(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
5369
+ const r = typeof e == "function" ? e : _n(e), i = this.getSpecs().entries.filter((a) => r(a.obj));
5349
5370
  let s2 = {}, o = false;
5350
5371
  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" ? Ve(i, (a) => a.obj, s2 ?? {}).map(({ value: { ref: a }, label: l2 }) => ({
5351
- ref: Wn(a, o),
5372
+ ref: zn(a, o),
5352
5373
  label: l2
5353
5374
  })) : i.map(({ ref: a, obj: l2 }) => ({
5354
- ref: Wn(a, o),
5375
+ ref: zn(a, o),
5355
5376
  label: s2(l2, a)
5356
5377
  }));
5357
5378
  }
5358
5379
  resolveAnchorCtx(e) {
5359
- if (e instanceof Ln) return e;
5380
+ if (e instanceof Vn) return e;
5360
5381
  const n2 = {};
5361
5382
  for (const [r, i] of Object.entries(e))
5362
- if (Hn(i)) {
5383
+ if (qn(i)) {
5363
5384
  const s2 = this.getPColumnSpecByRef(i);
5364
5385
  if (!s2)
5365
5386
  return;
5366
5387
  n2[r] = s2;
5367
5388
  } else
5368
5389
  n2[r] = i;
5369
- return new Ln(n2);
5390
+ return new Vn(n2);
5370
5391
  }
5371
5392
  /**
5372
5393
  * Returns columns that match the provided anchors and selectors. It applies axis filters and label derivation.
@@ -5459,7 +5480,7 @@
5459
5480
  ref: n2.ref,
5460
5481
  obj: {
5461
5482
  ...n2.obj,
5462
- data: Xn(
5483
+ data: Gn(
5463
5484
  n2.obj.data,
5464
5485
  (r) => new O(r, [n2.ref.blockId, n2.ref.name])
5465
5486
  )
@@ -5572,7 +5593,7 @@
5572
5593
  * @returns An array of PColumn objects matching the selectors. Data is loaded on first access.
5573
5594
  */
5574
5595
  selectColumns(e) {
5575
- const n2 = typeof e == "function" ? e : vn(e);
5596
+ const n2 = typeof e == "function" ? e : _n(e);
5576
5597
  return this.getSpecs().entries.filter(({ obj: i }) => f(i) ? n2(i) : false).map(({ ref: i, obj: s2 }) => {
5577
5598
  const o = s2;
5578
5599
  let a = null;
@@ -5605,11 +5626,11 @@
5605
5626
  }
5606
5627
  class te {
5607
5628
  constructor() {
5608
- R(this, "ctx");
5609
- R(this, "args");
5610
- R(this, "uiState");
5611
- R(this, "_activeArgsCache");
5612
- R(this, "resultPool", new Ft());
5629
+ F(this, "ctx");
5630
+ F(this, "args");
5631
+ F(this, "uiState");
5632
+ F(this, "_activeArgsCache");
5633
+ F(this, "resultPool", new Dt());
5613
5634
  this.ctx = h(), this.args = JSON.parse(this.ctx.args), this.uiState = this.ctx.uiState !== void 0 ? JSON.parse(this.ctx.uiState) : {};
5614
5635
  }
5615
5636
  /**
@@ -5632,7 +5653,7 @@
5632
5653
  );
5633
5654
  }
5634
5655
  get prerun() {
5635
- return this.getNamedAccessor(Fe);
5656
+ return this.getNamedAccessor(De);
5636
5657
  }
5637
5658
  get outputs() {
5638
5659
  return this.getNamedAccessor(Ke);
@@ -5647,7 +5668,7 @@
5647
5668
  }
5648
5669
  verifyInlineAndExplicitColumnsSupport(e) {
5649
5670
  var i;
5650
- const n2 = e.some((s2) => !(s2.data instanceof O) || yn(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5671
+ const n2 = e.some((s2) => !(s2.data instanceof O) || hn(s2.data)), r = ((i = this.ctx.featureFlags) == null ? void 0 : i.inlineColumnsSupport) === true;
5651
5672
  if (n2 && !r) throw Error("Inline or explicit columns not supported");
5652
5673
  }
5653
5674
  // TODO remove all non-PColumn fields
@@ -5665,8 +5686,8 @@
5665
5686
  },
5666
5687
  filters: e.filters ?? [],
5667
5688
  sorting: e.sorting ?? []
5668
- } : n2 = e, this.verifyInlineAndExplicitColumnsSupport(Rn(n2.src)), this.ctx.createPTable(
5669
- In(n2, (r) => Ie(r))
5689
+ } : n2 = e, this.verifyInlineAndExplicitColumnsSupport(vn(n2.src)), this.ctx.createPTable(
5690
+ Dn(n2, (r) => Ie(r))
5670
5691
  );
5671
5692
  }
5672
5693
  /** @deprecated scheduled for removal from SDK */
@@ -5686,7 +5707,7 @@
5686
5707
  this.ctx.logError(e);
5687
5708
  }
5688
5709
  }
5689
- const Y = "1.32.1";
5710
+ const Y = "1.33.8";
5690
5711
  function Kt(t) {
5691
5712
  return t.__renderLambda === true;
5692
5713
  }
@@ -5892,7 +5913,7 @@
5892
5913
  Object.entries(this._outputs).map(([n2, r]) => [n2, de(r)])
5893
5914
  )
5894
5915
  };
5895
- return ht() ? De({ sdkVersion: Y }) : { config: e };
5916
+ return ht() ? Re({ sdkVersion: Y }) : { config: e };
5896
5917
  }
5897
5918
  }
5898
5919
  const platforma = E.create("Heavy").withArgs({ titleArg: "The title" }).output("allSpecs", (ctx) => ctx.resultPool.getSpecs()).sections((ctx) => {