@milaboratories/pl-model-common 1.18.0 → 1.19.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.
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  var R = Object.defineProperty;
2
2
  var L = (e, n, t) => n in e ? R(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var d = (e, n, t) => L(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { z as m } from "zod";
4
+ import { z as p } from "zod";
5
5
  import h from "canonicalize";
6
- function Ee(e) {
6
+ function Pe(e) {
7
7
  if (e.code !== void 0)
8
8
  return {
9
9
  code: e.code,
@@ -11,11 +11,11 @@ function Ee(e) {
11
11
  featureFlags: e.featureFlags
12
12
  };
13
13
  }
14
- function p(e) {
14
+ function m(e) {
15
15
  if (e !== void 0)
16
16
  return typeof e == "string" ? { __renderLambda: !0, handle: e, retentive: !1 } : e;
17
17
  }
18
- function ke(e) {
18
+ function Ee(e) {
19
19
  if (e.v3 !== void 0) {
20
20
  const {
21
21
  initialArgs: n,
@@ -53,10 +53,10 @@ function ke(e) {
53
53
  renderingMode: t,
54
54
  initialArgs: a,
55
55
  outputs: Object.fromEntries(
56
- Object.entries(r).map(([c, f]) => [c, p(f)])
56
+ Object.entries(r).map(([c, f]) => [c, m(f)])
57
57
  ),
58
- inputsValid: p(o),
59
- sections: p(i),
58
+ inputsValid: m(o),
59
+ sections: m(i),
60
60
  initialUiState: void 0,
61
61
  code: s
62
62
  };
@@ -71,10 +71,10 @@ function ke(e) {
71
71
  renderingMode: r,
72
72
  initialArgs: a,
73
73
  outputs: Object.fromEntries(
74
- Object.entries(o).map(([c, f]) => [c, p(f)])
74
+ Object.entries(o).map(([c, f]) => [c, m(f)])
75
75
  ),
76
- inputsValid: p(t),
77
- sections: p(i),
76
+ inputsValid: m(t),
77
+ sections: m(i),
78
78
  initialUiState: void 0,
79
79
  code: s
80
80
  };
@@ -85,36 +85,42 @@ function ke(e) {
85
85
  );
86
86
  }
87
87
  }
88
- const xe = m.object({
88
+ function xe(e) {
89
+ return new URL(e).protocol == "plblob+folder:";
90
+ }
91
+ function Se(e) {
92
+ return new URL(e).protocol == "block-ui:";
93
+ }
94
+ const ve = p.object({
89
95
  /** Included left border. */
90
- from: m.number(),
96
+ from: p.number(),
91
97
  /** Excluded right border. */
92
- to: m.number()
98
+ to: p.number()
93
99
  });
94
- function Se(e, n) {
100
+ function Ne(e, n) {
95
101
  if (!(e == null || n == null))
96
102
  return { from: e, to: n };
97
103
  }
98
- function ve(e, n) {
104
+ function Oe(e, n) {
99
105
  if (e.from < 0 || e.to < 0 || e.from >= e.to)
100
106
  throw new Error(`${n}: invalid bytes range: ${e}`);
101
107
  }
102
- function Ne(e) {
108
+ function Fe(e) {
103
109
  return e !== void 0 && e.startsWith("log+live://log/");
104
110
  }
105
111
  function A(e) {
106
112
  throw new Error("Unexpected object: " + e);
107
113
  }
108
- const O = "upload://upload/", C = "index://index/";
114
+ const O = "upload://upload/", F = "index://index/";
109
115
  function B(e) {
110
116
  return e.startsWith(O);
111
117
  }
112
118
  function U(e) {
113
- return e.startsWith(C);
119
+ return e.startsWith(F);
114
120
  }
115
121
  function K(e) {
116
122
  if (U(e)) {
117
- const n = e.slice(C.length);
123
+ const n = e.slice(F.length);
118
124
  return JSON.parse(decodeURIComponent(n)).path;
119
125
  } else if (B(e)) {
120
126
  const n = e.slice(O.length);
@@ -125,10 +131,10 @@ function K(e) {
125
131
  function M(e) {
126
132
  return e.replace(/^.*[\\/]/, "");
127
133
  }
128
- function Oe(e) {
134
+ function Ce(e) {
129
135
  return M(K(e));
130
136
  }
131
- function Ce(e) {
137
+ function $e(e) {
132
138
  if (!e || typeof e != "object")
133
139
  return !1;
134
140
  const n = e;
@@ -145,7 +151,7 @@ function Ce(e) {
145
151
  return !1;
146
152
  }
147
153
  }
148
- function Fe(e, n) {
154
+ function Ve(e, n) {
149
155
  if (e !== void 0)
150
156
  switch (e.type) {
151
157
  case "Json":
@@ -173,7 +179,7 @@ function Fe(e, n) {
173
179
  }
174
180
  }
175
181
  }
176
- function $e(e, n) {
182
+ function je(e, n) {
177
183
  switch (e.type) {
178
184
  case "Json":
179
185
  break;
@@ -206,10 +212,10 @@ function _(e) {
206
212
  return !1;
207
213
  }
208
214
  }
209
- function Ve(e) {
215
+ function Ie(e) {
210
216
  return _(e) ? e.type === "JsonPartitioned" || e.type === "BinaryPartitioned" : !1;
211
217
  }
212
- function je(e) {
218
+ function Je(e) {
213
219
  switch (e.type) {
214
220
  case "Json": {
215
221
  const n = Object.entries(e.data).map(([t, r]) => ({ key: JSON.parse(t), value: r }));
@@ -237,7 +243,7 @@ function je(e) {
237
243
  }
238
244
  }
239
245
  }
240
- function Ie(e) {
246
+ function De(e) {
241
247
  switch (e.type) {
242
248
  case "Json": {
243
249
  const n = {};
@@ -271,7 +277,7 @@ function Ie(e) {
271
277
  }
272
278
  }
273
279
  }
274
- function Je(e, n) {
280
+ function Re(e, n) {
275
281
  if (e !== void 0)
276
282
  switch (e.type) {
277
283
  case "Json":
@@ -301,13 +307,13 @@ function Je(e, n) {
301
307
  }
302
308
  }
303
309
  }
304
- const q = -2147483648, k = -9007199254740991n, De = NaN, Re = NaN, T = null, z = null;
305
- function b(e, n) {
310
+ const q = -2147483648, E = -9007199254740991n, Le = NaN, Be = NaN, T = null, z = null;
311
+ function g(e, n) {
306
312
  switch (n) {
307
313
  case "Int":
308
314
  return e === q;
309
315
  case "Long":
310
- return e === Number(k) || e === k;
316
+ return e === Number(E) || e === E;
311
317
  case "Float":
312
318
  return Number.isNaN(e);
313
319
  case "Double":
@@ -320,14 +326,14 @@ function b(e, n) {
320
326
  throw Error(`unsupported data type: ${n}`);
321
327
  }
322
328
  }
323
- function Le(e) {
329
+ function Ue(e) {
324
330
  if (!H(e)) throw new Error(`Expected not-NA PValue, got ${e}`);
325
331
  return e;
326
332
  }
327
333
  function H(e, n) {
328
334
  if (!n)
329
335
  return typeof e == "string" || typeof e == "number" && isFinite(e) || typeof e == "bigint";
330
- if (b(e, n)) return !1;
336
+ if (g(e, n)) return !1;
331
337
  switch (n) {
332
338
  case "Int":
333
339
  return typeof e == "number";
@@ -348,7 +354,7 @@ function H(e, n) {
348
354
  function W(e, n) {
349
355
  if (!n)
350
356
  return e === null || typeof e == "string" || typeof e == "number" || typeof e == "bigint";
351
- if (b(e, n)) return !0;
357
+ if (g(e, n)) return !0;
352
358
  switch (n) {
353
359
  case "Int":
354
360
  return typeof e == "number";
@@ -366,14 +372,14 @@ function W(e, n) {
366
372
  throw Error(`unsupported data type: ${n}`);
367
373
  }
368
374
  }
369
- function Be(e) {
375
+ function Ke(e) {
370
376
  if (e === null || typeof e == "string" || typeof e == "number") return e;
371
377
  if (typeof e == "bigint") return { bigint: e.toString() };
372
378
  throw new Error(`Type ${typeof e} (value ${e}) not yet supported.`);
373
379
  }
374
380
  function G(e, n) {
375
381
  if (e === null || typeof e == "string" || typeof e == "number" || typeof e == "bigint") {
376
- if (n && !b(e, n) && !W(e, n))
382
+ if (n && !g(e, n) && !W(e, n))
377
383
  throw new Error(`Unexpected value type, got ${typeof e}, expected ${n}`);
378
384
  return e;
379
385
  }
@@ -384,7 +390,7 @@ function G(e, n) {
384
390
  }
385
391
  throw new Error(`Unsupported type ${typeof e} (value ${e}).`);
386
392
  }
387
- function Ue(e) {
393
+ function Me(e) {
388
394
  if (e = X(e), e === null) throw new Error("Value is null");
389
395
  return e;
390
396
  }
@@ -404,14 +410,14 @@ function Q(e, n) {
404
410
  return (e[t] & r) > 0;
405
411
  }
406
412
  const Y = { type: "absent" }, Z = null;
407
- function Ke(e) {
413
+ function _e(e) {
408
414
  return typeof e == "object" && e !== null && e.type === "absent";
409
415
  }
410
- function Me(e, n, t = {}) {
416
+ function qe(e, n, t = {}) {
411
417
  if (Q(e.absent, n))
412
418
  return t.absent === void 0 ? Y : t.absent;
413
419
  const r = e.data[n], o = e.type;
414
- if (b(r, o)) return t.na === void 0 ? Z : t.na;
420
+ if (g(r, o)) return t.na === void 0 ? Z : t.na;
415
421
  switch (o) {
416
422
  case "Int":
417
423
  return r;
@@ -429,17 +435,17 @@ function Me(e, n, t = {}) {
429
435
  throw Error(`unsupported data type: ${o}`);
430
436
  }
431
437
  }
432
- function _e(e) {
438
+ function Te(e) {
433
439
  return {
434
440
  kind: e.kind,
435
441
  valueType: e.valueType,
436
442
  name: e.name,
437
443
  domain: e.domain,
438
444
  parentAxes: e.parentAxes,
439
- axesId: F(e.axesSpec)
445
+ axesId: C(e.axesSpec)
440
446
  };
441
447
  }
442
- function qe(e) {
448
+ function ze(e) {
443
449
  return {
444
450
  columnId: e.id,
445
451
  spec: e.spec
@@ -449,10 +455,10 @@ function y(e) {
449
455
  const { type: n, name: t, domain: r } = e, o = { type: n, name: t };
450
456
  return r && Object.entries(r).length > 0 && Object.assign(o, { domain: r }), o;
451
457
  }
452
- function F(e) {
458
+ function C(e) {
453
459
  return e.map(y);
454
460
  }
455
- function Te(e) {
461
+ function He(e) {
456
462
  return h(y(e));
457
463
  }
458
464
  function ee(e, n) {
@@ -465,10 +471,10 @@ function ee(e, n) {
465
471
  function ne(e, n) {
466
472
  return e.name === n.name && ee(e.domain, n.domain);
467
473
  }
468
- function ze(e, n) {
469
- return { ...e, src: g(e.src, n) };
474
+ function We(e, n) {
475
+ return { ...e, src: b(e.src, n) };
470
476
  }
471
- function g(e, n) {
477
+ function b(e, n) {
472
478
  switch (e.type) {
473
479
  case "column":
474
480
  return {
@@ -488,19 +494,19 @@ function g(e, n) {
488
494
  case "full":
489
495
  return {
490
496
  type: e.type,
491
- entries: e.entries.map((t) => g(t, n))
497
+ entries: e.entries.map((t) => b(t, n))
492
498
  };
493
499
  case "outer":
494
500
  return {
495
501
  type: "outer",
496
- primary: g(e.primary, n),
497
- secondary: e.secondary.map((t) => g(t, n))
502
+ primary: b(e.primary, n),
503
+ secondary: e.secondary.map((t) => b(t, n))
498
504
  };
499
505
  default:
500
506
  A(e);
501
507
  }
502
508
  }
503
- function He(e) {
509
+ function Ge(e) {
504
510
  switch (e.type) {
505
511
  case "axis":
506
512
  return {
@@ -517,7 +523,7 @@ function He(e) {
517
523
  function te(e) {
518
524
  return h(e);
519
525
  }
520
- function We(e) {
526
+ function Xe(e) {
521
527
  return JSON.parse(e);
522
528
  }
523
529
  function x(e) {
@@ -526,7 +532,7 @@ function x(e) {
526
532
  function S(e, n) {
527
533
  return JSON.stringify([e, n]);
528
534
  }
529
- class Ge {
535
+ class Qe {
530
536
  /**
531
537
  * Creates a new anchor context from a set of anchor column specifications
532
538
  * @param anchors Record of anchor column specifications indexed by anchor ID
@@ -627,7 +633,7 @@ class Ge {
627
633
  return te(this.derive(n, t));
628
634
  }
629
635
  }
630
- function Xe(e, n, t) {
636
+ function Ye(e, n, t) {
631
637
  const r = { ...n }, o = (t == null ? void 0 : t.ignoreMissingDomains) ?? !1;
632
638
  if (r.domainAnchor !== void 0) {
633
639
  const i = e[r.domainAnchor];
@@ -686,7 +692,7 @@ function re(e, n) {
686
692
  function oe(e) {
687
693
  return typeof e == "object" && "anchor" in e;
688
694
  }
689
- function Qe(e) {
695
+ function Ze(e) {
690
696
  return typeof e == "object" && e !== null && "source" in e && "axisFilters" in e;
691
697
  }
692
698
  function l(e) {
@@ -695,23 +701,23 @@ function l(e) {
695
701
  function ie(e) {
696
702
  return l(e.spec);
697
703
  }
698
- function Ye(e) {
704
+ function en(e) {
699
705
  return l(e.obj);
700
706
  }
701
- function Ze(e) {
707
+ function nn(e) {
702
708
  return l(e.obj.spec);
703
709
  }
704
- function en(e) {
710
+ function tn(e) {
705
711
  if (!ie(e)) throw new Error(`not a PColumn (kind = ${e.spec.kind})`);
706
712
  return e;
707
713
  }
708
- function nn(e, n) {
714
+ function rn(e, n) {
709
715
  return e === void 0 ? void 0 : {
710
716
  ...e,
711
717
  data: n(e.data)
712
718
  };
713
719
  }
714
- function tn(e) {
720
+ function on(e) {
715
721
  const n = /* @__PURE__ */ new Map(), t = (r) => {
716
722
  switch (r.type) {
717
723
  case "column":
@@ -835,28 +841,28 @@ function N(e, n) {
835
841
  }
836
842
  return !0;
837
843
  }
838
- function rn(e) {
844
+ function sn(e) {
839
845
  return Array.isArray(e) ? (n) => e.some((t) => l(n) && N(n, t)) : (n) => l(n) && N(n, e);
840
846
  }
841
- function on(e) {
847
+ function an(e) {
842
848
  const n = {
843
849
  kind: e.kind,
844
850
  name: e.name
845
851
  };
846
- return e.domain !== void 0 && (n.domain = e.domain), l(e) && (n.axesSpec = F(e.axesSpec)), h(n);
852
+ return e.domain !== void 0 && (n.domain = e.domain), l(e) && (n.axesSpec = C(e.axesSpec)), h(n);
847
853
  }
848
- const sn = { href: "/" }, an = m.object({
849
- __isRef: m.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
850
- blockId: m.string().describe("Upstream block id"),
851
- name: m.string().describe("Name of the output provided to the upstream block's output context"),
852
- requireEnrichments: m.literal(!0).optional().describe("True if current block that stores this reference in its args, may need enrichments for the references value originating from the blocks in between current and referenced block")
854
+ const un = { href: "/" }, cn = p.object({
855
+ __isRef: p.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
856
+ blockId: p.string().describe("Upstream block id"),
857
+ name: p.string().describe("Name of the output provided to the upstream block's output context"),
858
+ requireEnrichments: p.literal(!0).optional().describe("True if current block that stores this reference in its args, may need enrichments for the references value originating from the blocks in between current and referenced block")
853
859
  }).describe(
854
860
  "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."
855
861
  ).readonly();
856
- function un(e) {
862
+ function fn(e) {
857
863
  return typeof e == "object" && e !== null && "__isRef" in e && e.__isRef === !0 && "blockId" in e && "name" in e;
858
864
  }
859
- function cn(e, n, t = !1) {
865
+ function dn(e, n, t = !1) {
860
866
  return t ? {
861
867
  __isRef: !0,
862
868
  blockId: e,
@@ -868,7 +874,7 @@ function cn(e, n, t = !1) {
868
874
  name: n
869
875
  };
870
876
  }
871
- function fn(e, n = !0) {
877
+ function ln(e, n = !0) {
872
878
  if (n)
873
879
  return {
874
880
  ...e,
@@ -879,10 +885,10 @@ function fn(e, n = !0) {
879
885
  return r;
880
886
  }
881
887
  }
882
- function dn(e, n, t = !1) {
888
+ function pn(e, n, t = !1) {
883
889
  return e.blockId === n.blockId && e.name === n.name && (t || e.requireEnrichments === n.requireEnrichments);
884
890
  }
885
- function ln(e, n) {
891
+ function mn(e, n) {
886
892
  return e.ok ? { ok: !0, value: n(e.value) } : e;
887
893
  }
888
894
  function ae(e) {
@@ -921,8 +927,8 @@ function $(e, n, t) {
921
927
  c += "=";
922
928
  return c;
923
929
  }
924
- const V = 15, de = 24, j = m.string().length(de).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
925
- function mn() {
930
+ const V = 15, de = 24, j = p.string().length(de).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
931
+ function yn() {
926
932
  const e = new Uint8Array(V);
927
933
  return crypto.getRandomValues(e), j.parse($(e, "RFC4648"));
928
934
  }
@@ -930,56 +936,56 @@ function le(e) {
930
936
  if (e.length !== V) throw new Error(`Wrong number of bytes: ${e.length}`);
931
937
  return j.parse($(e, "RFC4648"));
932
938
  }
933
- async function pn(e) {
939
+ async function hn(e) {
934
940
  const n = new TextEncoder(), t = await crypto.subtle.digest("SHA-256", n.encode(e));
935
941
  return le(new Uint8Array(t.slice(0, 15)));
936
942
  }
937
- function yn(e) {
943
+ function bn(e) {
938
944
  return JSON.stringify(e);
939
945
  }
940
- function hn(e) {
946
+ function gn(e) {
941
947
  return h(e);
942
948
  }
943
- function gn(e) {
949
+ function wn(e) {
944
950
  return JSON.parse(e);
945
951
  }
946
- class bn extends Error {
952
+ class An extends Error {
947
953
  constructor() {
948
954
  super(...arguments);
949
955
  d(this, "name", "AbortError");
950
956
  }
951
957
  }
952
- class wn extends Error {
958
+ class kn extends Error {
953
959
  constructor() {
954
960
  super(...arguments);
955
961
  d(this, "name", "UiError");
956
962
  }
957
963
  }
958
- function An(e) {
964
+ function Pn(e) {
959
965
  return e instanceof Error && e.name === "AbortError";
960
966
  }
961
- function me(e) {
962
- return e instanceof Error ? e.name === "AbortError" || me(e.cause) : !1;
967
+ function pe(e) {
968
+ return e instanceof Error ? e.name === "AbortError" || pe(e.cause) : !1;
963
969
  }
964
- function Pn(e) {
970
+ function En(e) {
965
971
  return e instanceof Error && e.name === "AggregateError";
966
972
  }
967
- class pe extends Error {
973
+ class me extends Error {
968
974
  constructor() {
969
975
  super(...arguments);
970
976
  d(this, "name", "PFrameError");
971
977
  }
972
978
  }
973
- function En(e) {
979
+ function xn(e) {
974
980
  return e instanceof Error && e.name === "PFrameError";
975
981
  }
976
- class kn extends pe {
982
+ class Sn extends me {
977
983
  constructor() {
978
984
  super(...arguments);
979
985
  d(this, "name", "PFrameError.Driver");
980
986
  }
981
987
  }
982
- function xn(e) {
988
+ function vn(e) {
983
989
  return e instanceof Error && e.name === "PFrameError.Driver";
984
990
  }
985
991
  function ye(e) {
@@ -993,15 +999,15 @@ function ye(e) {
993
999
  }
994
1000
  return `Non-Error value (${typeof e}) was thrown: ${e}`;
995
1001
  }
996
- function P(e) {
1002
+ function k(e) {
997
1003
  return e instanceof Error ? e : new Error(ye(e));
998
1004
  }
999
- function E(e) {
1000
- const n = e.cause ? E(e.cause) : void 0, t = new Error(e.message, n !== void 0 ? { cause: n } : void 0);
1005
+ function P(e) {
1006
+ const n = e.cause ? P(e.cause) : void 0, t = new Error(e.message, n !== void 0 ? { cause: n } : void 0);
1001
1007
  return t.name = e.name || "Error", t.stack = e.stack, t;
1002
1008
  }
1003
1009
  function I(e) {
1004
- const n = P(e), t = n.cause ? I(n.cause) : void 0;
1010
+ const n = k(e), t = n.cause ? I(n.cause) : void 0;
1005
1011
  return {
1006
1012
  name: n.name,
1007
1013
  message: n.message,
@@ -1009,57 +1015,57 @@ function I(e) {
1009
1015
  ...n.cause !== void 0 && { cause: t }
1010
1016
  };
1011
1017
  }
1012
- function Sn(e) {
1018
+ function Nn(e) {
1013
1019
  if (e.error)
1014
- throw e.error instanceof Error ? e.error : E(e.error);
1020
+ throw e.error instanceof Error ? e.error : P(e.error);
1015
1021
  return e.value;
1016
1022
  }
1017
1023
  function J(e) {
1018
1024
  return e.error ? { error: I(e.error) } : { value: e.value };
1019
1025
  }
1020
- function vn(e) {
1021
- return e.error ? { error: E(e.error) } : { value: e.value };
1026
+ function On(e) {
1027
+ return e.error ? { error: P(e.error) } : { value: e.value };
1022
1028
  }
1023
1029
  function he(e) {
1024
1030
  try {
1025
1031
  return { value: e() };
1026
1032
  } catch (n) {
1027
- return { error: P(n) };
1033
+ return { error: k(n) };
1028
1034
  }
1029
1035
  }
1030
- async function ge(e) {
1036
+ async function be(e) {
1031
1037
  try {
1032
1038
  return { value: await e() };
1033
1039
  } catch (n) {
1034
- return { error: P(n) };
1040
+ return { error: k(n) };
1035
1041
  }
1036
1042
  }
1037
- function Nn(e) {
1043
+ function Fn(e) {
1038
1044
  const n = he(e);
1039
1045
  return J(n);
1040
1046
  }
1041
- async function On(e) {
1042
- const n = await ge(e);
1047
+ async function Cn(e) {
1048
+ const n = await be(e);
1043
1049
  return J(n);
1044
1050
  }
1045
- const Cn = ["supportsLazyState"], Fn = ["requiresUIAPIVersion", "requiresModelAPIVersion"];
1046
- function $n(e, n, t = !0) {
1051
+ const $n = ["supportsLazyState"], Vn = ["requiresUIAPIVersion", "requiresModelAPIVersion"];
1052
+ function jn(e, n, t = !0) {
1047
1053
  return e === void 0 ? !1 : e[n] === t;
1048
1054
  }
1049
- function Vn(e) {
1055
+ function In(e) {
1050
1056
  return e === void 0 ? /* @__PURE__ */ new Set() : new Set(Object.entries(e).filter(([n, t]) => n.startsWith("requires") && t === !0).map(([n]) => n));
1051
1057
  }
1052
- function jn(e) {
1058
+ function Jn(e) {
1053
1059
  return e === void 0 ? /* @__PURE__ */ new Set() : new Set(Object.entries(e).filter(([n, t]) => n.startsWith("supports") && t === !0).map(([n]) => n));
1054
1060
  }
1055
- class be extends Error {
1061
+ class ge extends Error {
1056
1062
  constructor(t) {
1057
1063
  super(`Some of the block requirements are not supported by the runtime: ${Array.from(t.entries()).map(([r, o]) => `${r}: ${o}`).join(", ")}`);
1058
1064
  d(this, "name", "IncompatibleFlagsError");
1059
1065
  this.incompatibleFlags = t;
1060
1066
  }
1061
1067
  }
1062
- class In {
1068
+ class Dn {
1063
1069
  constructor() {
1064
1070
  d(this, "supportedRequirements", /* @__PURE__ */ new Map());
1065
1071
  }
@@ -1103,114 +1109,116 @@ class In {
1103
1109
  throwIfIncompatible(n) {
1104
1110
  const t = this.getIncompatibleFlags(n);
1105
1111
  if (t !== void 0)
1106
- throw new be(t);
1112
+ throw new ge(t);
1107
1113
  }
1108
1114
  }
1109
1115
  export {
1110
- bn as AbortError,
1111
- Fn as AllRequiresFeatureFlags,
1112
- Cn as AllSupportsFeatureFlags,
1113
- Ge as AnchoredIdDeriver,
1114
- sn as DefaultNavigationState,
1115
- be as IncompatibleFlagsError,
1116
- kn as PFrameDriverError,
1117
- pe as PFrameError,
1116
+ An as AbortError,
1117
+ Vn as AllRequiresFeatureFlags,
1118
+ $n as AllSupportsFeatureFlags,
1119
+ Qe as AnchoredIdDeriver,
1120
+ un as DefaultNavigationState,
1121
+ ge as IncompatibleFlagsError,
1122
+ Sn as PFrameDriverError,
1123
+ me as PFrameError,
1118
1124
  Y as PTableAbsent,
1119
1125
  Z as PTableNA,
1120
1126
  z as PValueBytesNA,
1121
- Re as PValueDoubleNA,
1122
- De as PValueFloatNA,
1127
+ Be as PValueDoubleNA,
1128
+ Le as PValueFloatNA,
1123
1129
  q as PValueIntNA,
1124
- k as PValueLongNA,
1130
+ E as PValueLongNA,
1125
1131
  T as PValueStringNA,
1126
1132
  j as PlId,
1127
1133
  V as PlIdBytes,
1128
1134
  de as PlIdLength,
1129
- an as PlRef,
1130
- xe as RangeBytes,
1131
- In as RuntimeCapabilities,
1132
- wn as UiError,
1133
- Te as canonicalizeAxisId,
1134
- hn as canonicalizeJson,
1135
- $n as checkBlockFlag,
1136
- cn as createPlRef,
1137
- je as dataInfoToEntries,
1138
- on as deriveNativeId,
1139
- E as deserializeError,
1140
- vn as deserializeResult,
1141
- pn as digestPlId,
1142
- P as ensureError,
1143
- Le as ensureNotNAPValue,
1144
- en as ensurePColumn,
1145
- Ie as entriesToDataInfo,
1135
+ cn as PlRef,
1136
+ ve as RangeBytes,
1137
+ Dn as RuntimeCapabilities,
1138
+ kn as UiError,
1139
+ He as canonicalizeAxisId,
1140
+ gn as canonicalizeJson,
1141
+ jn as checkBlockFlag,
1142
+ dn as createPlRef,
1143
+ Je as dataInfoToEntries,
1144
+ an as deriveNativeId,
1145
+ P as deserializeError,
1146
+ On as deserializeResult,
1147
+ hn as digestPlId,
1148
+ k as ensureError,
1149
+ Ue as ensureNotNAPValue,
1150
+ tn as ensurePColumn,
1151
+ De as entriesToDataInfo,
1146
1152
  w as executePSpecPredicate,
1147
- tn as extractAllColumns,
1148
- Vn as extractAllRequirements,
1149
- jn as extractAllSupports,
1150
- Ee as extractCodeWithInfo,
1151
- ke as extractConfigGeneric,
1152
- F as getAxesId,
1153
+ on as extractAllColumns,
1154
+ In as extractAllRequirements,
1155
+ Jn as extractAllSupports,
1156
+ Pe as extractCodeWithInfo,
1157
+ Ee as extractConfigGeneric,
1158
+ C as getAxesId,
1153
1159
  y as getAxisId,
1154
- qe as getColumnIdAndSpec,
1155
- Oe as getFileNameFromHandle,
1160
+ ze as getColumnIdAndSpec,
1161
+ Ce as getFileNameFromHandle,
1156
1162
  K as getFilePathFromHandle,
1157
- _e as getPColumnSpecId,
1158
- He as getPTableColumnId,
1159
- me as hasAbortError,
1160
- An as isAbortError,
1161
- Pn as isAggregateError,
1162
- Ce as isDataInfo,
1163
+ Te as getPColumnSpecId,
1164
+ Ge as getPTableColumnId,
1165
+ pe as hasAbortError,
1166
+ Pn as isAbortError,
1167
+ En as isAggregateError,
1168
+ Se as isBlockUIURL,
1169
+ $e as isDataInfo,
1163
1170
  _ as isDataInfoEntries,
1164
- Qe as isFilteredPColumn,
1171
+ Ze as isFilteredPColumn,
1172
+ xe as isFolderURL,
1165
1173
  U as isImportFileHandleIndex,
1166
1174
  B as isImportFileHandleUpload,
1167
- Ne as isLiveLog,
1175
+ Fe as isLiveLog,
1168
1176
  H as isNotNAPValue,
1169
1177
  ie as isPColumn,
1170
- Ze as isPColumnResult,
1178
+ nn as isPColumnResult,
1171
1179
  l as isPColumnSpec,
1172
- Ye as isPColumnSpecResult,
1173
- xn as isPFrameDriverError,
1174
- En as isPFrameError,
1175
- Ke as isPTableAbsent,
1180
+ en as isPColumnSpecResult,
1181
+ vn as isPFrameDriverError,
1182
+ xn as isPFrameError,
1183
+ _e as isPTableAbsent,
1176
1184
  W as isPValue,
1177
- Ve as isPartitionedDataInfoEntries,
1178
- un as isPlRef,
1185
+ Ie as isPartitionedDataInfoEntries,
1186
+ fn as isPlRef,
1179
1187
  Q as isValueAbsent,
1180
- b as isValueNA,
1181
- Fe as mapDataInfo,
1182
- Je as mapDataInfoEntries,
1183
- g as mapJoinEntry,
1184
- nn as mapPObjectData,
1185
- ze as mapPTableDef,
1186
- ln as mapValueInVOE,
1188
+ g as isValueNA,
1189
+ Ve as mapDataInfo,
1190
+ Re as mapDataInfoEntries,
1191
+ b as mapJoinEntry,
1192
+ rn as mapPObjectData,
1193
+ We as mapPTableDef,
1194
+ mn as mapValueInVOE,
1187
1195
  v as matchAxis,
1188
1196
  ne as matchAxisId,
1189
1197
  N as matchPColumn,
1190
- Se as newRangeBytesOpt,
1191
- Me as pTableValue,
1192
- Ue as pValueToStringOrNumber,
1198
+ Ne as newRangeBytesOpt,
1199
+ qe as pTableValue,
1200
+ Me as pValueToStringOrNumber,
1193
1201
  X as pValueToStringOrNumberOrNull,
1194
- We as parseColumnId,
1195
- gn as parseJson,
1202
+ Xe as parseColumnId,
1203
+ wn as parseJson,
1196
1204
  le as plId,
1197
- dn as plRefsEqual,
1198
- Xe as resolveAnchors,
1205
+ pn as plRefsEqual,
1206
+ Ye as resolveAnchors,
1199
1207
  G as safeConvertToPValue,
1200
- rn as selectorsToPredicate,
1208
+ sn as selectorsToPredicate,
1201
1209
  I as serializeError,
1202
1210
  J as serializeResult,
1203
1211
  te as stringifyColumnId,
1204
- yn as stringifyJson,
1205
- Be as toJsonSafePValue,
1206
- mn as uniquePlId,
1207
- Sn as unwrapResult,
1208
- ve as validateRangeBytes,
1209
- $e as visitDataInfo,
1210
- fn as withEnrichments,
1211
- Nn as wrapAndSerialize,
1212
- On as wrapAndSerializeAsync,
1213
- ge as wrapAsyncCallback,
1212
+ bn as stringifyJson,
1213
+ Ke as toJsonSafePValue,
1214
+ yn as uniquePlId,
1215
+ Nn as unwrapResult,
1216
+ Oe as validateRangeBytes,
1217
+ je as visitDataInfo,
1218
+ ln as withEnrichments,
1219
+ Fn as wrapAndSerialize,
1220
+ Cn as wrapAndSerializeAsync,
1221
+ be as wrapAsyncCallback,
1214
1222
  he as wrapCallback
1215
1223
  };
1216
1224
  //# sourceMappingURL=index.mjs.map