tempest.games 0.2.73 → 0.2.74

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.
@@ -32,7 +32,7 @@ var __require = import.meta.require;
32
32
  // src/frontend.bun.ts
33
33
  import path3, { join as join2, normalize as normalize2, resolve as resolve2 } from "path";
34
34
 
35
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/arrays.js
35
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/arrays.js
36
36
  var liftArray = (data) => Array.isArray(data) ? data : [data];
37
37
  var spliterate = (arr, predicate) => {
38
38
  const result = [[], []];
@@ -87,7 +87,7 @@ var groupBy = (array, discriminant) => array.reduce((result, item) => {
87
87
  return result;
88
88
  }, {});
89
89
  var arrayEquals = (l, r, opts) => l.length === r.length && l.every(opts?.isEqual ? (lItem, i) => opts.isEqual(lItem, r[i]) : (lItem, i) => lItem === r[i]);
90
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/domain.js
90
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/domain.js
91
91
  var hasDomain = (data, kind) => domainOf(data) === kind;
92
92
  var domainOf = (data) => {
93
93
  const builtinType = typeof data;
@@ -108,7 +108,7 @@ var jsTypeOfDescriptions = {
108
108
  function: "a function"
109
109
  };
110
110
 
111
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/errors.js
111
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/errors.js
112
112
  class InternalArktypeError extends Error {
113
113
  }
114
114
  var throwInternalError = (message) => throwError(message, InternalArktypeError);
@@ -123,7 +123,7 @@ var throwParseError = (message) => throwError(message, ParseError);
123
123
  var noSuggest = (s) => ` ${s}`;
124
124
  var ZeroWidthSpace = "\u200B";
125
125
 
126
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/flatMorph.js
126
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/flatMorph.js
127
127
  var flatMorph = (o, flatMapEntry) => {
128
128
  const result = {};
129
129
  const inputIsArray = Array.isArray(o);
@@ -142,7 +142,7 @@ var flatMorph = (o, flatMapEntry) => {
142
142
  return outputShouldBeArray ? Object.values(result) : result;
143
143
  };
144
144
 
145
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/records.js
145
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/records.js
146
146
  var entriesOf = Object.entries;
147
147
  var isKeyOf = (k, o) => (k in o);
148
148
  var hasKey = (o, k) => (k in o);
@@ -189,7 +189,7 @@ var enumValues = (tsEnum) => Object.values(tsEnum).filter((v) => {
189
189
  return typeof tsEnum[v] !== "number";
190
190
  });
191
191
 
192
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/objectKinds.js
192
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/objectKinds.js
193
193
  var ecmascriptConstructors = {
194
194
  Array,
195
195
  Boolean,
@@ -305,7 +305,7 @@ var constructorExtends = (ctor, base) => {
305
305
  return false;
306
306
  };
307
307
 
308
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/clone.js
308
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/clone.js
309
309
  var deepClone = (input) => _clone(input, new Map);
310
310
  var _clone = (input, seen) => {
311
311
  if (typeof input !== "object" || input === null)
@@ -331,7 +331,7 @@ var _clone = (input, seen) => {
331
331
  Object.defineProperties(cloned, propertyDescriptors);
332
332
  return cloned;
333
333
  };
334
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/functions.js
334
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/functions.js
335
335
  var cached = (thunk) => {
336
336
  let result = unset;
337
337
  return () => result === unset ? result = thunk() : result;
@@ -340,14 +340,14 @@ var isThunk = (value) => typeof value === "function" && value.length === 0;
340
340
  var DynamicFunction = class extends Function {
341
341
  constructor(...args) {
342
342
  const params = args.slice(0, -1);
343
- const body = args.at(-1);
343
+ const body = args[args.length - 1];
344
344
  try {
345
345
  super(...params, body);
346
346
  } catch (e) {
347
347
  return throwInternalError(`Encountered an unexpected error while compiling your definition:
348
348
  Message: ${e}
349
349
  Source: (${args.slice(0, -1)}) => {
350
- ${args.at(-1)}
350
+ ${args[args.length - 1]}
351
351
  }`);
352
352
  }
353
353
  }
@@ -365,16 +365,16 @@ var envHasCsp = cached(() => {
365
365
  return true;
366
366
  }
367
367
  });
368
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/generics.js
368
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/generics.js
369
369
  var brand = noSuggest("brand");
370
370
  var inferred = noSuggest("arkInferred");
371
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/hkt.js
371
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/hkt.js
372
372
  var args = noSuggest("args");
373
373
 
374
374
  class Hkt {
375
375
  constructor() {}
376
376
  }
377
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/isomorphic.js
377
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/isomorphic.js
378
378
  var fileName = () => {
379
379
  try {
380
380
  const error = new Error;
@@ -391,7 +391,7 @@ var isomorphic = {
391
391
  fileName,
392
392
  env
393
393
  };
394
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/strings.js
394
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/strings.js
395
395
  var capitalize = (s) => s[0].toUpperCase() + s.slice(1);
396
396
  var anchoredRegex = (regex) => new RegExp(anchoredSource(regex), typeof regex === "string" ? "" : regex.flags);
397
397
  var anchoredSource = (regex) => {
@@ -409,7 +409,7 @@ var whitespaceChars = {
409
409
  "\t": 1
410
410
  };
411
411
 
412
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/numbers.js
412
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/numbers.js
413
413
  var anchoredNegativeZeroPattern = /^-0\.?0*$/.source;
414
414
  var positiveIntegerPattern = /[1-9]\d*/.source;
415
415
  var looseDecimalPattern = /\.\d+/.source;
@@ -471,8 +471,8 @@ var tryParseWellFormedBigint = (def) => {
471
471
  return throwParseError(writeMalformedNumericLiteralMessage(def, "bigint"));
472
472
  }
473
473
  };
474
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/registry.js
475
- var arkUtilVersion = "0.53.0";
474
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/registry.js
475
+ var arkUtilVersion = "0.54.0";
476
476
  var initialRegistryContents = {
477
477
  version: arkUtilVersion,
478
478
  filename: isomorphic.fileName(),
@@ -511,10 +511,10 @@ var baseNameFor = (value) => {
511
511
  return throwInternalError(`Unexpected attempt to register serializable value of type ${domainOf(value)}`);
512
512
  };
513
513
 
514
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/primitive.js
514
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/primitive.js
515
515
  var serializePrimitive = (value) => typeof value === "string" ? JSON.stringify(value) : typeof value === "bigint" ? `${value}n` : `${value}`;
516
516
 
517
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/serialize.js
517
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/serialize.js
518
518
  var snapshot = (data, opts = {}) => _serialize(data, {
519
519
  onUndefined: `$ark.undefined`,
520
520
  onBigInt: (n) => `$ark.bigint-${n}`,
@@ -602,7 +602,7 @@ var _serialize = (data, opts, seen) => {
602
602
  case "undefined":
603
603
  return opts.onUndefined ?? "undefined";
604
604
  case "string":
605
- return data.replaceAll("\\", "\\\\");
605
+ return data.replace(/\\/g, "\\\\");
606
606
  default:
607
607
  return data;
608
608
  }
@@ -647,7 +647,7 @@ var months = [
647
647
  var timeWithUnnecessarySeconds = /:\d\d:00$/;
648
648
  var pad = (value, length) => String(value).padStart(length, "0");
649
649
 
650
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/path.js
650
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/path.js
651
651
  var appendStringifiedKey = (path, prop, ...[opts]) => {
652
652
  const stringifySymbol = opts?.stringifySymbol ?? printable;
653
653
  let propAccessChain = path;
@@ -704,7 +704,7 @@ class ReadonlyPath extends ReadonlyArray {
704
704
  return this.cache.stringifyAncestors = result;
705
705
  }
706
706
  }
707
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/scanner.js
707
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/scanner.js
708
708
  class Scanner {
709
709
  chars;
710
710
  i;
@@ -787,9 +787,9 @@ class Scanner {
787
787
  }
788
788
  var writeUnmatchedGroupCloseMessage = (char, unscanned) => `Unmatched ${char}${unscanned === "" ? "" : ` before ${unscanned}`}`;
789
789
  var writeUnclosedGroupMessage = (missingChar) => `Missing ${missingChar}`;
790
- // ../../node_modules/.pnpm/@ark+util@0.53.0/node_modules/@ark/util/out/traits.js
790
+ // ../../node_modules/.pnpm/@ark+util@0.54.0/node_modules/@ark/util/out/traits.js
791
791
  var implementedTraits = noSuggest("implementedTraits");
792
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/registry.js
792
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/registry.js
793
793
  var _registryName = "$ark";
794
794
  var suffix = 2;
795
795
  while (_registryName in globalThis)
@@ -800,7 +800,7 @@ var $ark = registry;
800
800
  var reference = (name) => `${registryName}.${name}`;
801
801
  var registeredReference = (value) => reference(register(value));
802
802
 
803
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/compile.js
803
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/compile.js
804
804
  class CompiledFunction extends CastableBase {
805
805
  argNames;
806
806
  body = "";
@@ -936,13 +936,13 @@ class NodeCompiler extends CompiledFunction {
936
936
  }
937
937
  }
938
938
 
939
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/utils.js
939
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/utils.js
940
940
  var makeRootAndArrayPropertiesMutable = (o) => flatMorph(o, (k, v) => [k, isArray(v) ? [...v] : v]);
941
941
  var arkKind = noSuggest("arkKind");
942
942
  var hasArkKind = (value, kind) => value?.[arkKind] === kind;
943
943
  var isNode = (value) => hasArkKind(value, "root") || hasArkKind(value, "constraint");
944
944
 
945
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/implement.js
945
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/implement.js
946
946
  var basisKinds = ["unit", "proto", "domain"];
947
947
  var structuralKinds = [
948
948
  "required",
@@ -1030,7 +1030,7 @@ var implementNode = (_) => {
1030
1030
  return implementation;
1031
1031
  };
1032
1032
 
1033
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/toJsonSchema.js
1033
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/toJsonSchema.js
1034
1034
  class ToJsonSchemaError extends Error {
1035
1035
  name = "ToJsonSchemaError";
1036
1036
  code;
@@ -1070,7 +1070,7 @@ var ToJsonSchema = {
1070
1070
  defaultConfig
1071
1071
  };
1072
1072
 
1073
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/config.js
1073
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/config.js
1074
1074
  $ark.config ??= {};
1075
1075
  var mergeConfigs = (base, merged) => {
1076
1076
  if (!merged)
@@ -1125,7 +1125,7 @@ var mergeFallbacks = (base, merged) => {
1125
1125
  return result;
1126
1126
  };
1127
1127
  var normalizeFallback = (fallback) => typeof fallback === "function" ? { default: fallback } : fallback ?? {};
1128
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/errors.js
1128
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/errors.js
1129
1129
  class ArkError extends CastableBase {
1130
1130
  [arkKind] = "error";
1131
1131
  path;
@@ -1318,7 +1318,7 @@ var indent = (error) => error.toString().split(`
1318
1318
  `).join(`
1319
1319
  `);
1320
1320
 
1321
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/traversal.js
1321
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/traversal.js
1322
1322
  class Traversal {
1323
1323
  path = [];
1324
1324
  errors = new ArkErrors(this);
@@ -1356,7 +1356,7 @@ class Traversal {
1356
1356
  return this.currentErrorCount !== 0;
1357
1357
  }
1358
1358
  get currentBranch() {
1359
- return this.branches.at(-1);
1359
+ return this.branches[this.branches.length - 1];
1360
1360
  }
1361
1361
  queueMorphs(morphs) {
1362
1362
  const input = {
@@ -1419,7 +1419,7 @@ class Traversal {
1419
1419
  }
1420
1420
  }
1421
1421
  applyMorphsAtPath(path2, morphs) {
1422
- const key = path2.at(-1);
1422
+ const key = path2[path2.length - 1];
1423
1423
  let parent;
1424
1424
  if (key !== undefined) {
1425
1425
  parent = this.root;
@@ -1458,7 +1458,7 @@ var traverseKey = (key, fn, ctx) => {
1458
1458
  return result;
1459
1459
  };
1460
1460
 
1461
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/node.js
1461
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/node.js
1462
1462
  class BaseNode extends Callable {
1463
1463
  attachments;
1464
1464
  $;
@@ -1793,7 +1793,7 @@ var typePathToPropString = (path2) => stringifyPath(path2, {
1793
1793
  stringifyNonKey: (node) => node.expression
1794
1794
  });
1795
1795
  var referenceMatcher = /"(\$ark\.[^"]+)"/g;
1796
- var compileMeta = (metaJson) => JSON.stringify(metaJson).replaceAll(referenceMatcher, "$1");
1796
+ var compileMeta = (metaJson) => JSON.stringify(metaJson).replace(referenceMatcher, "$1");
1797
1797
  var flatRef = (path2, node) => ({
1798
1798
  path: path2,
1799
1799
  node,
@@ -1807,7 +1807,7 @@ var appendUniqueNodes = (existing, refs) => appendUnique(existing, refs, {
1807
1807
  isEqual: (l, r) => l.equals(r)
1808
1808
  });
1809
1809
 
1810
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/disjoint.js
1810
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/disjoint.js
1811
1811
  class Disjoint extends Array {
1812
1812
  static init(kind, l, r, ctx) {
1813
1813
  return new Disjoint({
@@ -1869,7 +1869,7 @@ var describeReasons = (l, r) => `${describeReason(l)} and ${describeReason(r)}`;
1869
1869
  var describeReason = (value) => isNode(value) ? value.expression : isArray(value) ? value.map(describeReason).join(" | ") || "never" : String(value);
1870
1870
  var writeUnsatisfiableExpressionError = (expression) => `${expression} results in an unsatisfiable type`;
1871
1871
 
1872
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/shared/intersections.js
1872
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/shared/intersections.js
1873
1873
  var intersectionCache = {};
1874
1874
  var intersectNodesRoot = (l, r, $) => intersectOrPipeNodes(l, r, {
1875
1875
  $,
@@ -1977,7 +1977,7 @@ var _pipeMorphed = (from, to, ctx) => {
1977
1977
  });
1978
1978
  };
1979
1979
 
1980
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/constraint.js
1980
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/constraint.js
1981
1981
  class BaseConstraint extends BaseNode {
1982
1982
  constructor(attachments, $) {
1983
1983
  super(attachments, $);
@@ -2091,7 +2091,7 @@ var writeInvalidOperandMessage = (kind, expected, actual) => {
2091
2091
  const actualDescription = actual.hasKind("morph") ? "a morph" : actual.isUnknown() ? "unknown" : actual.exclude(expected).defaultShortDescription;
2092
2092
  return `${capitalize(kind)} operand must be ${expected.description} (was ${actualDescription})`;
2093
2093
  };
2094
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/generic.js
2094
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/generic.js
2095
2095
  var parseGeneric = (paramDefs, bodyDef, $) => new GenericRoot(paramDefs, bodyDef, $, $, null);
2096
2096
 
2097
2097
  class LazyGenericBody extends Callable {
@@ -2162,7 +2162,7 @@ class GenericRoot extends Callable {
2162
2162
  }
2163
2163
  }
2164
2164
  var writeUnsatisfiedParameterConstraintMessage = (name, constraint, arg) => `${name} must be assignable to ${constraint} (was ${arg})`;
2165
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/predicate.js
2165
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/predicate.js
2166
2166
  var implementation = implementNode({
2167
2167
  kind: "predicate",
2168
2168
  hasAssociatedError: true,
@@ -2217,7 +2217,7 @@ var Predicate = {
2217
2217
  Node: PredicateNode
2218
2218
  };
2219
2219
 
2220
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/divisor.js
2220
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/divisor.js
2221
2221
  var implementation2 = implementNode({
2222
2222
  kind: "divisor",
2223
2223
  collapsibleKey: "rule",
@@ -2270,7 +2270,7 @@ var greatestCommonDivisor = (l, r) => {
2270
2270
  return greatestCommonDivisor2;
2271
2271
  };
2272
2272
 
2273
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/range.js
2273
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/range.js
2274
2274
  class BaseRange extends InternalPrimitiveConstraint {
2275
2275
  boundOperandKind = operandKindsByBoundKind[this.kind];
2276
2276
  compiledActual = this.boundOperandKind === "value" ? `data` : this.boundOperandKind === "length" ? `data.length` : `data.valueOf()`;
@@ -2350,7 +2350,7 @@ var compileComparator = (kind, exclusive) => `${isKeyOf(kind, boundKindPairsByLo
2350
2350
  var dateLimitToString = (limit) => typeof limit === "string" ? limit : new Date(limit).toLocaleString();
2351
2351
  var writeUnboundableMessage = (root) => `Bounded expression ${root} must be exactly one of number, string, Array, or Date`;
2352
2352
 
2353
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/after.js
2353
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/after.js
2354
2354
  var implementation3 = implementNode({
2355
2355
  kind: "after",
2356
2356
  collapsibleKey: "rule",
@@ -2384,7 +2384,7 @@ var After = {
2384
2384
  Node: AfterNode
2385
2385
  };
2386
2386
 
2387
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/before.js
2387
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/before.js
2388
2388
  var implementation4 = implementNode({
2389
2389
  kind: "before",
2390
2390
  collapsibleKey: "rule",
@@ -2419,7 +2419,7 @@ var Before = {
2419
2419
  Node: BeforeNode
2420
2420
  };
2421
2421
 
2422
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/exactLength.js
2422
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/exactLength.js
2423
2423
  var implementation5 = implementNode({
2424
2424
  kind: "exactLength",
2425
2425
  collapsibleKey: "rule",
@@ -2467,7 +2467,7 @@ var ExactLength = {
2467
2467
  Node: ExactLengthNode
2468
2468
  };
2469
2469
 
2470
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/max.js
2470
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/max.js
2471
2471
  var implementation6 = implementNode({
2472
2472
  kind: "max",
2473
2473
  collapsibleKey: "rule",
@@ -2507,7 +2507,7 @@ var Max = {
2507
2507
  Node: MaxNode
2508
2508
  };
2509
2509
 
2510
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/maxLength.js
2510
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/maxLength.js
2511
2511
  var implementation7 = implementNode({
2512
2512
  kind: "maxLength",
2513
2513
  collapsibleKey: "rule",
@@ -2550,7 +2550,7 @@ var MaxLength = {
2550
2550
  Node: MaxLengthNode
2551
2551
  };
2552
2552
 
2553
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/min.js
2553
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/min.js
2554
2554
  var implementation8 = implementNode({
2555
2555
  kind: "min",
2556
2556
  collapsibleKey: "rule",
@@ -2589,7 +2589,7 @@ var Min = {
2589
2589
  Node: MinNode
2590
2590
  };
2591
2591
 
2592
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/minLength.js
2592
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/minLength.js
2593
2593
  var implementation9 = implementNode({
2594
2594
  kind: "minLength",
2595
2595
  collapsibleKey: "rule",
@@ -2631,7 +2631,7 @@ var MinLength = {
2631
2631
  Node: MinLengthNode
2632
2632
  };
2633
2633
 
2634
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/kinds.js
2634
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/kinds.js
2635
2635
  var boundImplementationsByKind = {
2636
2636
  min: Min.implementation,
2637
2637
  max: Max.implementation,
@@ -2651,7 +2651,7 @@ var boundClassesByKind = {
2651
2651
  before: Before.Node
2652
2652
  };
2653
2653
 
2654
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/refinements/pattern.js
2654
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/refinements/pattern.js
2655
2655
  var implementation10 = implementNode({
2656
2656
  kind: "pattern",
2657
2657
  collapsibleKey: "rule",
@@ -2696,7 +2696,7 @@ var Pattern = {
2696
2696
  Node: PatternNode
2697
2697
  };
2698
2698
 
2699
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/parse.js
2699
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/parse.js
2700
2700
  var schemaKindOf = (schema, allowedKinds) => {
2701
2701
  const kind = discriminateRootKind(schema);
2702
2702
  if (allowedKinds && !allowedKinds.includes(kind)) {
@@ -2877,7 +2877,7 @@ var possiblyCollapse = (json, toKey, allowPrimitive) => {
2877
2877
  return json;
2878
2878
  };
2879
2879
 
2880
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/prop.js
2880
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/prop.js
2881
2881
  var intersectProps = (l, r, ctx) => {
2882
2882
  if (l.key !== r.key)
2883
2883
  return null;
@@ -2944,7 +2944,7 @@ class BaseProp extends BaseConstraint {
2944
2944
  }
2945
2945
  var writeDefaultIntersectionMessage = (lValue, rValue) => `Invalid intersection of default values ${printable(lValue)} & ${printable(rValue)}`;
2946
2946
 
2947
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/optional.js
2947
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/optional.js
2948
2948
  var implementation11 = implementNode({
2949
2949
  kind: "optional",
2950
2950
  hasAssociatedError: false,
@@ -3048,7 +3048,7 @@ var writeNonPrimitiveNonFunctionDefaultValueMessage = (key) => {
3048
3048
  return `Non-primitive default ${keyDescription}must be specified as a function like () => ({my: 'object'})`;
3049
3049
  };
3050
3050
 
3051
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/root.js
3051
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/root.js
3052
3052
  class BaseRoot extends BaseNode {
3053
3053
  constructor(attachments, $) {
3054
3054
  super(attachments, $);
@@ -3422,13 +3422,13 @@ var writeLiteralUnionEntriesMessage = (expression) => `Props cannot be extracted
3422
3422
  ${expression}`;
3423
3423
  var writeNonStructuralOperandMessage = (operation, operand) => `${operation} operand must be an object (was ${operand})`;
3424
3424
 
3425
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/utils.js
3425
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/utils.js
3426
3426
  var defineRightwardIntersections = (kind, implementation12) => flatMorph(schemaKindsRightOf(kind), (i, kind2) => [
3427
3427
  kind2,
3428
3428
  implementation12
3429
3429
  ]);
3430
3430
 
3431
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/alias.js
3431
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/alias.js
3432
3432
  var normalizeAliasSchema = (schema) => typeof schema === "string" ? { reference: schema } : schema;
3433
3433
  var neverIfDisjoint = (result) => result instanceof Disjoint ? $ark.intrinsic.never.internal : result;
3434
3434
  var implementation12 = implementNode({
@@ -3536,7 +3536,7 @@ var Alias = {
3536
3536
  Node: AliasNode
3537
3537
  };
3538
3538
 
3539
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/basis.js
3539
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/basis.js
3540
3540
  class InternalBasis extends BaseRoot {
3541
3541
  traverseApply = (data, ctx) => {
3542
3542
  if (!this.traverseAllows(data, ctx))
@@ -3562,7 +3562,7 @@ class InternalBasis extends BaseRoot {
3562
3562
  }
3563
3563
  }
3564
3564
 
3565
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/domain.js
3565
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/domain.js
3566
3566
  var implementation13 = implementNode({
3567
3567
  kind: "domain",
3568
3568
  hasAssociatedError: true,
@@ -3613,7 +3613,7 @@ var Domain = {
3613
3613
  writeBadAllowNanMessage: (actual) => `numberAllowsNaN may only be specified with domain "number" (was ${actual})`
3614
3614
  };
3615
3615
 
3616
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/intersection.js
3616
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/intersection.js
3617
3617
  var implementation14 = implementNode({
3618
3618
  kind: "intersection",
3619
3619
  hasAssociatedError: true,
@@ -3715,7 +3715,7 @@ var implementation14 = implementNode({
3715
3715
  if (node.basis && !node.prestructurals.some((r) => r.impl.obviatesBasisDescription))
3716
3716
  childDescriptions.push(node.basis.description);
3717
3717
  if (node.prestructurals.length) {
3718
- const sortedRefinementDescriptions = node.prestructurals.toSorted((l, r) => l.kind === "min" && r.kind === "max" ? -1 : 0).map((r) => r.description);
3718
+ const sortedRefinementDescriptions = node.prestructurals.slice().sort((l, r) => l.kind === "min" && r.kind === "max" ? -1 : 0).map((r) => r.description);
3719
3719
  childDescriptions.push(...sortedRefinementDescriptions);
3720
3720
  }
3721
3721
  if (node.inner.predicate) {
@@ -3776,7 +3776,7 @@ class IntersectionNode extends BaseRoot {
3776
3776
  if (ctx.failFast && ctx.currentErrorCount > errorCount)
3777
3777
  return;
3778
3778
  }
3779
- this.prestructurals.at(-1).traverseApply(data, ctx);
3779
+ this.prestructurals[this.prestructurals.length - 1].traverseApply(data, ctx);
3780
3780
  if (ctx.currentErrorCount > errorCount)
3781
3781
  return;
3782
3782
  }
@@ -3791,7 +3791,7 @@ class IntersectionNode extends BaseRoot {
3791
3791
  if (ctx.failFast && ctx.currentErrorCount > errorCount)
3792
3792
  return;
3793
3793
  }
3794
- this.inner.predicate.at(-1).traverseApply(data, ctx);
3794
+ this.inner.predicate[this.inner.predicate.length - 1].traverseApply(data, ctx);
3795
3795
  }
3796
3796
  };
3797
3797
  compile(js) {
@@ -3812,7 +3812,7 @@ class IntersectionNode extends BaseRoot {
3812
3812
  js.check(this.prestructurals[i]);
3813
3813
  js.returnIfFailFast();
3814
3814
  }
3815
- js.check(this.prestructurals.at(-1));
3815
+ js.check(this.prestructurals[this.prestructurals.length - 1]);
3816
3816
  if (this.structure || this.inner.predicate)
3817
3817
  js.returnIfFail();
3818
3818
  }
@@ -3826,7 +3826,7 @@ class IntersectionNode extends BaseRoot {
3826
3826
  js.check(this.inner.predicate[i]);
3827
3827
  js.returnIfFail();
3828
3828
  }
3829
- js.check(this.inner.predicate.at(-1));
3829
+ js.check(this.inner.predicate[this.inner.predicate.length - 1]);
3830
3830
  }
3831
3831
  }
3832
3832
  }
@@ -3863,7 +3863,7 @@ var intersectIntersections = (l, r, ctx) => {
3863
3863
  });
3864
3864
  };
3865
3865
 
3866
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/morph.js
3866
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/morph.js
3867
3867
  var implementation15 = implementNode({
3868
3868
  kind: "morph",
3869
3869
  hasAssociatedError: false,
@@ -3932,7 +3932,7 @@ var implementation15 = implementNode({
3932
3932
  class MorphNode extends BaseRoot {
3933
3933
  serializedMorphs = this.morphs.map(registeredReference);
3934
3934
  compiledMorphs = `[${this.serializedMorphs}]`;
3935
- lastMorph = this.inner.morphs.at(-1);
3935
+ lastMorph = this.inner.morphs[this.inner.morphs.length - 1];
3936
3936
  lastMorphIfNode = hasArkKind(this.lastMorph, "root") ? this.lastMorph : undefined;
3937
3937
  introspectableIn = this.inner.in;
3938
3938
  introspectableOut = this.lastMorphIfNode ? Object.assign(this.referencesById, this.lastMorphIfNode.referencesById) && this.lastMorphIfNode.rawOut : undefined;
@@ -3999,7 +3999,7 @@ var writeMorphIntersectionMessage = (lDescription, rDescription) => `The interse
3999
3999
  Left: ${lDescription}
4000
4000
  Right: ${rDescription}`;
4001
4001
 
4002
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/proto.js
4002
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/proto.js
4003
4003
  var implementation16 = implementNode({
4004
4004
  kind: "proto",
4005
4005
  hasAssociatedError: true,
@@ -4072,7 +4072,7 @@ var Proto = {
4072
4072
  writeInvalidSchemaMessage: (actual) => `instanceOf operand must be a function (was ${domainOf(actual)})`
4073
4073
  };
4074
4074
 
4075
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/union.js
4075
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/union.js
4076
4076
  var implementation17 = implementNode({
4077
4077
  kind: "union",
4078
4078
  hasAssociatedError: true,
@@ -4642,7 +4642,7 @@ var writeOrderedIntersectionMessage = (lDescription, rDescription) => `The inter
4642
4642
  Left: ${lDescription}
4643
4643
  Right: ${rDescription}`;
4644
4644
 
4645
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/roots/unit.js
4645
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/roots/unit.js
4646
4646
  var implementation18 = implementNode({
4647
4647
  kind: "unit",
4648
4648
  hasAssociatedError: true,
@@ -4704,7 +4704,7 @@ var compileEqualityCheck = (unit, serializedValue, negated) => {
4704
4704
  return `data ${negated ? "!" : "="}== ${serializedValue}`;
4705
4705
  };
4706
4706
 
4707
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/index.js
4707
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/index.js
4708
4708
  var implementation19 = implementNode({
4709
4709
  kind: "index",
4710
4710
  hasAssociatedError: false,
@@ -4781,7 +4781,7 @@ var Index = {
4781
4781
  var writeEnumerableIndexBranches = (keys2) => `Index keys ${keys2.join(", ")} should be specified as named props.`;
4782
4782
  var writeInvalidPropertyKeyMessage = (indexSchema) => `Indexed key definition '${indexSchema}' must be a string or symbol`;
4783
4783
 
4784
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/required.js
4784
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/required.js
4785
4785
  var implementation20 = implementNode({
4786
4786
  kind: "required",
4787
4787
  hasAssociatedError: true,
@@ -4820,7 +4820,7 @@ var Required = {
4820
4820
  Node: RequiredNode
4821
4821
  };
4822
4822
 
4823
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/sequence.js
4823
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/sequence.js
4824
4824
  var implementation21 = implementNode({
4825
4825
  kind: "sequence",
4826
4826
  hasAssociatedError: false,
@@ -4906,10 +4906,10 @@ var implementation21 = implementNode({
4906
4906
  const optionals = raw.optionals?.slice() ?? [];
4907
4907
  const postfix = raw.postfix?.slice() ?? [];
4908
4908
  if (raw.variadic) {
4909
- while (optionals.at(-1)?.equals(raw.variadic))
4909
+ while (optionals[optionals.length - 1]?.equals(raw.variadic))
4910
4910
  optionals.pop();
4911
4911
  if (optionals.length === 0 && defaultables.length === 0) {
4912
- while (prefix.at(-1)?.equals(raw.variadic)) {
4912
+ while (prefix[prefix.length - 1]?.equals(raw.variadic)) {
4913
4913
  prefix.pop();
4914
4914
  minVariadicLength++;
4915
4915
  }
@@ -5143,8 +5143,8 @@ var _intersectSequences = (s) => {
5143
5143
  const [rHead, ...rTail] = s.r;
5144
5144
  if (!lHead || !rHead)
5145
5145
  return s;
5146
- const lHasPostfix = lTail.at(-1)?.kind === "postfix";
5147
- const rHasPostfix = rTail.at(-1)?.kind === "postfix";
5146
+ const lHasPostfix = lTail[lTail.length - 1]?.kind === "postfix";
5147
+ const rHasPostfix = rTail[rTail.length - 1]?.kind === "postfix";
5148
5148
  const kind = lHead.kind === "prefix" || rHead.kind === "prefix" ? "prefix" : lHead.kind === "postfix" || rHead.kind === "postfix" ? "postfix" : lHead.kind === "variadic" && rHead.kind === "variadic" ? "variadic" : lHasPostfix || rHasPostfix ? "prefix" : lHead.kind === "defaultables" || rHead.kind === "defaultables" ? "defaultables" : "optionals";
5149
5149
  if (lHead.kind === "prefix" && rHead.kind === "variadic" && rHasPostfix) {
5150
5150
  const postfixBranchResult = _intersectSequences({
@@ -5202,7 +5202,7 @@ var _intersectSequences = (s) => {
5202
5202
  };
5203
5203
  var elementIsRequired = (el) => el.kind === "prefix" || el.kind === "postfix";
5204
5204
 
5205
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/structure.js
5205
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/structure.js
5206
5206
  var createStructuralWriter = (childStringProp) => (node) => {
5207
5207
  if (node.props.length || node.index) {
5208
5208
  const parts = node.index?.map((index) => index[childStringProp]) ?? [];
@@ -5885,7 +5885,7 @@ var typeKeyToString = (k) => hasArkKind(k, "root") ? k.expression : printable(k)
5885
5885
  var writeInvalidKeysMessage = (o, keys2) => `Key${keys2.length === 1 ? "" : "s"} ${keys2.map(typeKeyToString).join(", ")} ${keys2.length === 1 ? "does" : "do"} not exist on ${o}`;
5886
5886
  var writeDuplicateKeyMessage = (key) => `Duplicate key ${compileSerializedValue(key)}`;
5887
5887
 
5888
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/kinds.js
5888
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/kinds.js
5889
5889
  var nodeImplementationsByKind = {
5890
5890
  ...boundImplementationsByKind,
5891
5891
  alias: Alias.implementation,
@@ -5938,7 +5938,7 @@ var nodeClassesByKind = {
5938
5938
  structure: Structure.Node
5939
5939
  };
5940
5940
 
5941
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/module.js
5941
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/module.js
5942
5942
  class RootModule extends DynamicBase {
5943
5943
  get [arkKind]() {
5944
5944
  return "module";
@@ -5949,7 +5949,7 @@ var bindModule = (module, $) => new RootModule(flatMorph(module, (alias, value)
5949
5949
  hasArkKind(value, "module") ? bindModule(value, $) : $.bindReference(value)
5950
5950
  ]));
5951
5951
 
5952
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/scope.js
5952
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/scope.js
5953
5953
  var schemaBranchesOf = (schema) => isArray(schema) ? schema : ("branches" in schema) && isArray(schema.branches) ? schema.branches : undefined;
5954
5954
  var throwMismatchedNodeRootError = (expected, actual) => throwParseError(`Node of kind ${actual} is not valid as a ${expected} definition`);
5955
5955
  var writeDuplicateAliasError = (alias) => `#${alias} duplicates public alias ${alias}`;
@@ -6356,12 +6356,12 @@ var node = rootSchemaScope.node;
6356
6356
  var defineSchema = rootSchemaScope.defineSchema;
6357
6357
  var genericNode = rootSchemaScope.generic;
6358
6358
 
6359
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/structure/shared.js
6359
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/structure/shared.js
6360
6360
  var arrayIndexSource = `^(?:0|[1-9]\\d*)$`;
6361
6361
  var arrayIndexMatcher = new RegExp(arrayIndexSource);
6362
6362
  var arrayIndexMatcherReference = registeredReference(arrayIndexMatcher);
6363
6363
 
6364
- // ../../node_modules/.pnpm/@ark+schema@0.53.0/node_modules/@ark/schema/out/intrinsic.js
6364
+ // ../../node_modules/.pnpm/@ark+schema@0.54.0/node_modules/@ark/schema/out/intrinsic.js
6365
6365
  var intrinsicBases = schemaScope({
6366
6366
  bigint: "bigint",
6367
6367
  boolean: [{ unit: false }, { unit: true }],
@@ -6416,8 +6416,8 @@ $ark.intrinsic = { ...intrinsic };
6416
6416
  // ../../node_modules/.pnpm/arkregex@0.0.2/node_modules/arkregex/out/regex.js
6417
6417
  var regex = (src, flags) => new RegExp(src, flags);
6418
6418
  Object.assign(regex, { as: regex });
6419
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/date.js
6420
- var isDateLiteral = (value) => typeof value === "string" && value[0] === "d" && (value[1] === "'" || value[1] === '"') && value.at(-1) === value[1];
6419
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/date.js
6420
+ var isDateLiteral = (value) => typeof value === "string" && value[0] === "d" && (value[1] === "'" || value[1] === '"') && value[value.length - 1] === value[1];
6421
6421
  var isValidDate = (d) => d.toString() !== "Invalid Date";
6422
6422
  var extractDateLiteralSource = (literal) => literal.slice(2, -1);
6423
6423
  var writeInvalidDateMessage = (source) => `'${source}' could not be parsed by the Date constructor`;
@@ -6435,7 +6435,7 @@ var maybeParseDate = (source, errorOnFail) => {
6435
6435
  return errorOnFail ? throwParseError(errorOnFail === true ? writeInvalidDateMessage(source) : errorOnFail) : undefined;
6436
6436
  };
6437
6437
 
6438
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/enclosed.js
6438
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/enclosed.js
6439
6439
  var parseEnclosed = (s, enclosing) => {
6440
6440
  const enclosed = s.scanner.shiftUntilEscapable(untilLookaheadIsClosing[enclosingTokens[enclosing]]);
6441
6441
  if (s.scanner.lookahead === "")
@@ -6489,12 +6489,12 @@ var enclosingCharDescriptions = {
6489
6489
  };
6490
6490
  var writeUnterminatedEnclosedMessage = (fragment, enclosingStart) => `${enclosingStart}${fragment} requires a closing ${enclosingCharDescriptions[enclosingTokens[enclosingStart]]}`;
6491
6491
 
6492
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/ast/validate.js
6492
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/ast/validate.js
6493
6493
  var writePrefixedPrivateReferenceMessage = (name) => `Private type references should not include '#'. Use '${name}' instead.`;
6494
6494
  var shallowOptionalMessage = "Optional definitions like 'string?' are only valid as properties in an object or tuple";
6495
6495
  var shallowDefaultableMessage = "Defaultable definitions like 'number = 0' are only valid as properties in an object or tuple";
6496
6496
 
6497
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/tokens.js
6497
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/tokens.js
6498
6498
  var terminatingChars = {
6499
6499
  "<": 1,
6500
6500
  ">": 1,
@@ -6512,7 +6512,7 @@ var terminatingChars = {
6512
6512
  };
6513
6513
  var lookaheadIsFinalizing = (lookahead, unscanned) => lookahead === ">" ? unscanned[0] === "=" ? unscanned[1] === "=" : unscanned.trimStart() === "" || isKeyOf(unscanned.trimStart()[0], terminatingChars) : lookahead === "=" ? unscanned[0] !== "=" : lookahead === "," || lookahead === "?";
6514
6514
 
6515
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/genericArgs.js
6515
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/genericArgs.js
6516
6516
  var parseGenericArgs = (name, g, s) => _parseGenericArgs(name, g, s, []);
6517
6517
  var _parseGenericArgs = (name, g, s, argNodes) => {
6518
6518
  const argState = s.parseUntilFinalizer();
@@ -6529,7 +6529,7 @@ var _parseGenericArgs = (name, g, s, argNodes) => {
6529
6529
  };
6530
6530
  var writeInvalidGenericArgCountMessage = (name, params, argDefs) => `${name}<${params.join(", ")}> requires exactly ${params.length} args (got ${argDefs.length}${argDefs.length === 0 ? "" : `: ${argDefs.join(", ")}`})`;
6531
6531
 
6532
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/unenclosed.js
6532
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/unenclosed.js
6533
6533
  var parseUnenclosed = (s) => {
6534
6534
  const token = s.scanner.shiftUntilLookahead(terminatingChars);
6535
6535
  if (token === "keyof")
@@ -6577,10 +6577,10 @@ var writeMissingOperandMessage = (s) => {
6577
6577
  var writeMissingRightOperandMessage = (token, unscanned = "") => `Token '${token}' requires a right operand${unscanned ? ` before '${unscanned}'` : ""}`;
6578
6578
  var writeExpressionExpectedMessage = (unscanned) => `Expected an expression${unscanned ? ` before '${unscanned}'` : ""}`;
6579
6579
 
6580
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operand/operand.js
6580
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operand/operand.js
6581
6581
  var parseOperand = (s) => s.scanner.lookahead === "" ? s.error(writeMissingOperandMessage(s)) : s.scanner.lookahead === "(" ? s.shiftedByOne().reduceGroupOpen() : s.scanner.lookaheadIsIn(enclosingChar) ? parseEnclosed(s, s.scanner.shift()) : s.scanner.lookaheadIsIn(whitespaceChars) ? parseOperand(s.shiftedByOne()) : s.scanner.lookahead === "d" ? s.scanner.nextLookahead in enclosingQuote ? parseEnclosed(s, `${s.scanner.shift()}${s.scanner.shift()}`) : parseUnenclosed(s) : parseUnenclosed(s);
6582
6582
 
6583
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/reduce/shared.js
6583
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/reduce/shared.js
6584
6584
  var minComparators = {
6585
6585
  ">": true,
6586
6586
  ">=": true
@@ -6600,7 +6600,7 @@ var writeOpenRangeMessage = (min2, comparator) => `Left bounds are only valid wh
6600
6600
  var writeUnpairableComparatorMessage = (comparator) => `Left-bounded expressions must specify their limits using < or <= (was ${comparator})`;
6601
6601
  var writeMultipleLeftBoundsMessage = (openLimit, openComparator, limit, comparator) => `An expression may have at most one left bound (parsed ${openLimit}${invertedComparators[openComparator]}, ${limit}${invertedComparators[comparator]})`;
6602
6602
 
6603
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/bounds.js
6603
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/bounds.js
6604
6604
  var parseBound = (s, start) => {
6605
6605
  const comparator = shiftComparator(s, start);
6606
6606
  if (s.root.hasKind("unit")) {
@@ -6671,14 +6671,14 @@ var parseRightBound = (s, comparator) => {
6671
6671
  };
6672
6672
  var writeInvalidLimitMessage = (comparator, limit, boundKind) => `Comparator ${boundKind === "left" ? invertedComparators[comparator] : comparator} must be ${boundKind === "left" ? "preceded" : "followed"} by a corresponding literal (was ${limit})`;
6673
6673
 
6674
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/brand.js
6674
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/brand.js
6675
6675
  var parseBrand = (s) => {
6676
6676
  s.scanner.shiftUntilNonWhitespace();
6677
6677
  const brandName = s.scanner.shiftUntilLookahead(terminatingChars);
6678
6678
  s.root = s.root.brand(brandName);
6679
6679
  };
6680
6680
 
6681
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/divisor.js
6681
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/divisor.js
6682
6682
  var parseDivisor = (s) => {
6683
6683
  s.scanner.shiftUntilNonWhitespace();
6684
6684
  const divisorToken = s.scanner.shiftUntilLookahead(terminatingChars);
@@ -6691,7 +6691,7 @@ var parseDivisor = (s) => {
6691
6691
  };
6692
6692
  var writeInvalidDivisorMessage = (divisor2) => `% operator must be followed by a non-zero integer literal (was ${divisor2})`;
6693
6693
 
6694
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/operator.js
6694
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/operator.js
6695
6695
  var parseOperator = (s) => {
6696
6696
  const lookahead = s.scanner.shift();
6697
6697
  return lookahead === "" ? s.finalize("") : lookahead === "[" ? s.scanner.shift() === "]" ? s.setRoot(s.root.array()) : s.error(incompleteArrayTokenMessage) : lookahead === "|" ? s.scanner.lookahead === ">" ? s.shiftedByOne().pushRootToBranch("|>") : s.pushRootToBranch(lookahead) : lookahead === "&" ? s.pushRootToBranch(lookahead) : lookahead === ")" ? s.finalizeGroup() : lookaheadIsFinalizing(lookahead, s.scanner.unscanned) ? s.finalize(lookahead) : isKeyOf(lookahead, comparatorStartChars) ? parseBound(s, lookahead) : lookahead === "%" ? parseDivisor(s) : lookahead === "#" ? parseBrand(s) : (lookahead in whitespaceChars) ? parseOperator(s) : s.error(writeUnexpectedCharacterMessage(lookahead));
@@ -6699,7 +6699,7 @@ var parseOperator = (s) => {
6699
6699
  var writeUnexpectedCharacterMessage = (char, shouldBe = "") => `'${char}' is not allowed here${shouldBe && ` (should be ${shouldBe})`}`;
6700
6700
  var incompleteArrayTokenMessage = `Missing expected ']'`;
6701
6701
 
6702
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/shift/operator/default.js
6702
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/shift/operator/default.js
6703
6703
  var parseDefault = (s) => {
6704
6704
  const baseNode = s.unsetRoot();
6705
6705
  s.parseOperand();
@@ -6711,7 +6711,7 @@ var parseDefault = (s) => {
6711
6711
  };
6712
6712
  var writeNonLiteralDefaultMessage = (defaultDef) => `Default value '${defaultDef}' must be a literal value`;
6713
6713
 
6714
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/string.js
6714
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/string.js
6715
6715
  var parseString = (def, ctx) => {
6716
6716
  const aliasResolution = ctx.$.maybeResolveRoot(def);
6717
6717
  if (aliasResolution)
@@ -6750,7 +6750,7 @@ var parseUntilFinalizer = (s) => {
6750
6750
  };
6751
6751
  var next = (s) => s.hasRoot() ? s.parseOperator() : s.parseOperand();
6752
6752
 
6753
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/reduce/dynamic.js
6753
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/reduce/dynamic.js
6754
6754
  class RuntimeState {
6755
6755
  root;
6756
6756
  branches = {
@@ -6879,7 +6879,7 @@ class RuntimeState {
6879
6879
  };
6880
6880
  }
6881
6881
  previousOperator() {
6882
- return this.branches.leftBound?.comparator ?? this.branches.prefixes.at(-1) ?? (this.branches.intersection ? "&" : this.branches.union ? "|" : this.branches.pipe ? "|>" : undefined);
6882
+ return this.branches.leftBound?.comparator ?? this.branches.prefixes[this.branches.prefixes.length - 1] ?? (this.branches.intersection ? "&" : this.branches.union ? "|" : this.branches.pipe ? "|>" : undefined);
6883
6883
  }
6884
6884
  shiftedByOne() {
6885
6885
  this.scanner.shift();
@@ -6887,7 +6887,7 @@ class RuntimeState {
6887
6887
  }
6888
6888
  }
6889
6889
 
6890
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/generic.js
6890
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/generic.js
6891
6891
  var emptyGenericParameterMessage = "An empty string is not a valid generic parameter name";
6892
6892
  var parseGenericParamName = (scanner2, result, ctx) => {
6893
6893
  scanner2.shiftUntilNonWhitespace();
@@ -6915,7 +6915,7 @@ var _parseOptionalConstraint = (scanner2, name, result, ctx) => {
6915
6915
  result.push([name, s.root]);
6916
6916
  return parseGenericParamName(scanner2, result, ctx);
6917
6917
  };
6918
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/fn.js
6918
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/fn.js
6919
6919
  class InternalFnParser extends Callable {
6920
6920
  constructor($) {
6921
6921
  const attach = {
@@ -6957,7 +6957,7 @@ class InternalTypedFn extends Callable {
6957
6957
  this.params = params;
6958
6958
  this.returns = returns;
6959
6959
  let argsExpression = params.expression;
6960
- if (argsExpression[0] === "[" && argsExpression.at(-1) === "]")
6960
+ if (argsExpression[0] === "[" && argsExpression[argsExpression.length - 1] === "]")
6961
6961
  argsExpression = argsExpression.slice(1, -1);
6962
6962
  else if (argsExpression.endsWith("[]"))
6963
6963
  argsExpression = `...${argsExpression}`;
@@ -6967,7 +6967,7 @@ class InternalTypedFn extends Callable {
6967
6967
  var badFnReturnTypeMessage = `":" must be followed by exactly one return type e.g:
6968
6968
  fn("string", ":", "number")(s => s.length)`;
6969
6969
 
6970
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/match.js
6970
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/match.js
6971
6971
  class InternalMatchParser extends Callable {
6972
6972
  $;
6973
6973
  constructor($) {
@@ -7061,7 +7061,7 @@ var throwOnDefault = (errors3) => errors3.throw();
7061
7061
  var chainedAtMessage = `A key matcher must be specified before the first case i.e. match.at('foo') or match.in<object>().at('bar')`;
7062
7062
  var doubleAtMessage = `At most one key matcher may be specified per expression`;
7063
7063
 
7064
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/property.js
7064
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/property.js
7065
7065
  var parseProperty = (def, ctx) => {
7066
7066
  if (isArray(def)) {
7067
7067
  if (def[1] === "=")
@@ -7074,7 +7074,7 @@ var parseProperty = (def, ctx) => {
7074
7074
  var invalidOptionalKeyKindMessage = `Only required keys may make their values optional, e.g. { [mySymbol]: ['number', '?'] }`;
7075
7075
  var invalidDefaultableKeyKindMessage = `Only required keys may specify default values, e.g. { value: 'number = 0' }`;
7076
7076
 
7077
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/objectLiteral.js
7077
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/objectLiteral.js
7078
7078
  var parseObjectLiteral = (def, ctx) => {
7079
7079
  let spread;
7080
7080
  const structure3 = {};
@@ -7150,16 +7150,16 @@ var appendNamedProp = (structure3, kind, inner, ctx) => {
7150
7150
  };
7151
7151
  var writeInvalidUndeclaredBehaviorMessage = (actual) => `Value of '+' key must be 'reject', 'delete', or 'ignore' (was ${printable(actual)})`;
7152
7152
  var nonLeadingSpreadError = "Spread operator may only be used as the first key in an object";
7153
- var preparseKey = (key) => typeof key === "symbol" ? { kind: "required", normalized: key } : key.at(-1) === "?" ? key.at(-2) === Backslash ? { kind: "required", normalized: `${key.slice(0, -2)}?` } : {
7153
+ var preparseKey = (key) => typeof key === "symbol" ? { kind: "required", normalized: key } : key[key.length - 1] === "?" ? key[key.length - 2] === Backslash ? { kind: "required", normalized: `${key.slice(0, -2)}?` } : {
7154
7154
  kind: "optional",
7155
7155
  normalized: key.slice(0, -1)
7156
- } : key[0] === "[" && key.at(-1) === "]" ? { kind: "index", normalized: key.slice(1, -1) } : key[0] === Backslash && key[1] === "[" && key.at(-1) === "]" ? { kind: "required", normalized: key.slice(1) } : key === "..." ? { kind: "spread" } : key === "+" ? { kind: "undeclared" } : {
7156
+ } : key[0] === "[" && key[key.length - 1] === "]" ? { kind: "index", normalized: key.slice(1, -1) } : key[0] === Backslash && key[1] === "[" && key[key.length - 1] === "]" ? { kind: "required", normalized: key.slice(1) } : key === "..." ? { kind: "spread" } : key === "+" ? { kind: "undeclared" } : {
7157
7157
  kind: "required",
7158
7158
  normalized: key === "\\..." ? "..." : key === "\\+" ? "+" : key
7159
7159
  };
7160
7160
  var writeInvalidSpreadTypeMessage = (def) => `Spread operand must resolve to an object literal type (was ${def})`;
7161
7161
 
7162
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/tupleExpressions.js
7162
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/tupleExpressions.js
7163
7163
  var maybeParseTupleExpression = (def, ctx) => isIndexZeroExpression(def) ? indexZeroParsers[def[0]](def, ctx) : isIndexOneExpression(def) ? indexOneParsers[def[1]](def, ctx) : null;
7164
7164
  var parseKeyOfTuple = (def, ctx) => ctx.$.parseOwnDefinitionFormat(def[1], ctx).keyof();
7165
7165
  var parseBranchTuple = (def, ctx) => {
@@ -7220,7 +7220,7 @@ var indexZeroParsers = defineIndexZeroParsers({
7220
7220
  var isIndexZeroExpression = (def) => indexZeroParsers[def[0]] !== undefined;
7221
7221
  var writeInvalidConstructorMessage = (actual) => `Expected a constructor following 'instanceof' operator (was ${actual})`;
7222
7222
 
7223
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/tupleLiteral.js
7223
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/tupleLiteral.js
7224
7224
  var parseTupleLiteral = (def, ctx) => {
7225
7225
  let sequences = [{}];
7226
7226
  let i = 0;
@@ -7316,7 +7316,7 @@ var requiredPostOptionalMessage = "A required element may not follow an optional
7316
7316
  var optionalOrDefaultableAfterVariadicMessage = "An optional element may not follow a variadic element";
7317
7317
  var defaultablePostOptionalMessage = "A defaultable element may not follow an optional element without a default";
7318
7318
 
7319
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/parser/definition.js
7319
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/parser/definition.js
7320
7320
  var parseCache = {};
7321
7321
  var parseInnerDefinition = (def, ctx) => {
7322
7322
  if (typeof def === "string") {
@@ -7355,7 +7355,7 @@ var parseObject = (def, ctx) => {
7355
7355
  var parseTuple = (def, ctx) => maybeParseTupleExpression(def, ctx) ?? parseTupleLiteral(def, ctx);
7356
7356
  var writeBadDefinitionTypeMessage = (actual) => `Type definitions must be strings or objects (was ${actual})`;
7357
7357
 
7358
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/type.js
7358
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/type.js
7359
7359
  class InternalTypeParser extends Callable {
7360
7360
  constructor($) {
7361
7361
  const attach = Object.assign({
@@ -7385,7 +7385,7 @@ class InternalTypeParser extends Callable {
7385
7385
  if (args2.length === 1) {
7386
7386
  return $.parse(args2[0]);
7387
7387
  }
7388
- if (args2.length === 2 && typeof args2[0] === "string" && args2[0][0] === "<" && args2[0].at(-1) === ">") {
7388
+ if (args2.length === 2 && typeof args2[0] === "string" && args2[0][0] === "<" && args2[0][args2[0].length - 1] === ">") {
7389
7389
  const paramString = args2[0].slice(1, -1);
7390
7390
  const params = $.parseGenericParams(paramString, {});
7391
7391
  return new GenericRoot(params, args2[1], $, $, null);
@@ -7397,7 +7397,7 @@ class InternalTypeParser extends Callable {
7397
7397
  }
7398
7398
  }
7399
7399
 
7400
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/scope.js
7400
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/scope.js
7401
7401
  var $arkTypeRegistry = $ark;
7402
7402
 
7403
7403
  class InternalScope extends BaseScope {
@@ -7420,7 +7420,7 @@ class InternalScope extends BaseScope {
7420
7420
  def = [def, "@", config2];
7421
7421
  return [alias, def];
7422
7422
  }
7423
- if (alias.at(-1) !== ">") {
7423
+ if (alias[alias.length - 1] !== ">") {
7424
7424
  throwParseError(`'>' must be the last character of a generic declaration in a scope`);
7425
7425
  }
7426
7426
  const name = alias.slice(0, firstParamIndex);
@@ -7491,7 +7491,7 @@ var scope2 = Object.assign(InternalScope.scope, {
7491
7491
  });
7492
7492
  var Scope = InternalScope;
7493
7493
 
7494
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/builtins.js
7494
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/builtins.js
7495
7495
  class MergeHkt extends Hkt {
7496
7496
  description = 'merge an object\'s properties onto another like `Merge(User, { isAdmin: "true" })`';
7497
7497
  }
@@ -7501,7 +7501,7 @@ var arkBuiltins = Scope.module({
7501
7501
  Merge
7502
7502
  });
7503
7503
 
7504
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/Array.js
7504
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/Array.js
7505
7505
  class liftFromHkt extends Hkt {
7506
7506
  }
7507
7507
  var liftFrom = genericNode("element")((args2) => {
@@ -7518,7 +7518,7 @@ var arkArray = Scope.module({
7518
7518
  name: "Array"
7519
7519
  });
7520
7520
 
7521
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/FormData.js
7521
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/FormData.js
7522
7522
  var value = rootSchema(["string", registry.FileConstructor]);
7523
7523
  var parsedFormDataValue = value.rawOr(value.array());
7524
7524
  var parsed = rootSchema({
@@ -7555,7 +7555,7 @@ var arkFormData = Scope.module({
7555
7555
  name: "FormData"
7556
7556
  });
7557
7557
 
7558
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/TypedArray.js
7558
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/TypedArray.js
7559
7559
  var TypedArray = Scope.module({
7560
7560
  Int8: ["instanceof", Int8Array],
7561
7561
  Uint8: ["instanceof", Uint8Array],
@@ -7572,7 +7572,7 @@ var TypedArray = Scope.module({
7572
7572
  name: "TypedArray"
7573
7573
  });
7574
7574
 
7575
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/constructors.js
7575
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/constructors.js
7576
7576
  var omittedPrototypes = {
7577
7577
  Boolean: 1,
7578
7578
  Number: 1,
@@ -7585,7 +7585,7 @@ var arkPrototypes = Scope.module({
7585
7585
  FormData: arkFormData
7586
7586
  });
7587
7587
 
7588
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/number.js
7588
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/number.js
7589
7589
  var epoch = rootSchema({
7590
7590
  domain: {
7591
7591
  domain: "number",
@@ -7628,7 +7628,7 @@ var number = Scope.module({
7628
7628
  name: "number"
7629
7629
  });
7630
7630
 
7631
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/string.js
7631
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/string.js
7632
7632
  var regexStringNode = (regex2, description, jsonSchemaFormat) => {
7633
7633
  const schema = {
7634
7634
  domain: "string",
@@ -7675,7 +7675,7 @@ var capitalize2 = Scope.module({
7675
7675
  name: "string.capitalize"
7676
7676
  });
7677
7677
  var isLuhnValid = (creditCardInput) => {
7678
- const sanitized = creditCardInput.replaceAll(/[ -]+/g, "");
7678
+ const sanitized = creditCardInput.replace(/[ -]+/g, "");
7679
7679
  let sum = 0;
7680
7680
  let digit;
7681
7681
  let tmpNum;
@@ -8019,7 +8019,7 @@ var string = Scope.module({
8019
8019
  name: "string"
8020
8020
  });
8021
8021
 
8022
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/ts.js
8022
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/ts.js
8023
8023
  var arkTsKeywords = Scope.module({
8024
8024
  bigint: intrinsic.bigint,
8025
8025
  boolean: intrinsic.boolean,
@@ -8107,7 +8107,7 @@ var arkTsGenerics = Scope.module({
8107
8107
  Required: Required2
8108
8108
  });
8109
8109
 
8110
- // ../../node_modules/.pnpm/arktype@2.1.25/node_modules/arktype/out/keywords/keywords.js
8110
+ // ../../node_modules/.pnpm/arktype@2.1.26/node_modules/arktype/out/keywords/keywords.js
8111
8111
  var ark = scope2({
8112
8112
  ...arkTsKeywords,
8113
8113
  ...arkTsGenerics,
@@ -8159,9 +8159,6 @@ function getState(...params) {
8159
8159
  function join(options) {
8160
8160
  return createJoin(IMPLICIT.STORE, options);
8161
8161
  }
8162
- function getInternalRelations(token) {
8163
- return getInternalRelationsFromStore(token, IMPLICIT.STORE);
8164
- }
8165
8162
  var PRETTY_TOKEN_TYPES = {
8166
8163
  atom_family: `atom family`,
8167
8164
  atom: `atom`,
@@ -8231,28 +8228,9 @@ var $validatedKey = Symbol.for(`claim`);
8231
8228
  function simpleCompound(a, b) {
8232
8229
  return [a, b].sort().join(`\x1F`);
8233
8230
  }
8234
- function decomposeCompound(compound) {
8235
- if (typeof compound === `string` === false)
8236
- return null;
8237
- const [typeTag, components] = compound.split(`==`);
8238
- if (!components)
8239
- return null;
8240
- const type2 = typeTag.slice(4);
8241
- const [a, b] = components.split(`++`);
8242
- if (type2 && a && b)
8243
- return [
8244
- type2,
8245
- a,
8246
- b
8247
- ];
8248
- return null;
8249
- }
8250
8231
  function selectorFamily(options) {
8251
8232
  return createSelectorFamily(IMPLICIT.STORE, options);
8252
8233
  }
8253
- function transaction(options) {
8254
- return createTransaction(IMPLICIT.STORE, options);
8255
- }
8256
8234
 
8257
8235
  // ../../packages/atom.io/dist/json/index.js
8258
8236
  function parseJson2(str) {
@@ -8417,9 +8395,6 @@ var UList = class UList2 extends Set {
8417
8395
  };
8418
8396
 
8419
8397
  // ../../packages/atom.io/dist/internal/index.js
8420
- function arbitrary(random = Math.random) {
8421
- return random().toString(36).slice(2);
8422
- }
8423
8398
  function newest(scion) {
8424
8399
  while (scion.child !== null)
8425
8400
  scion = scion.child;
@@ -9011,426 +8986,12 @@ var Junction = class Junction2 {
9011
8986
  function isReservedIntrospectionKey(value2) {
9012
8987
  return value2.startsWith(`\uD83D\uDD0D `);
9013
8988
  }
9014
- var abortTransaction = (target) => {
9015
- target.logger.info(`\uD83E\uDE82`, `transaction`, target.transactionMeta.update.token.key, `Aborting transaction`);
9016
- target.parent.child = null;
9017
- };
9018
- function actUponStore(store, token, id) {
9019
- return (...parameters) => {
9020
- return withdraw(store, token).run(parameters, id);
9021
- };
9022
- }
9023
- function ingestAtomUpdateEvent(store, event, applying) {
9024
- const { token, update: { newValue, oldValue } } = event;
9025
- setIntoStore(store, token, applying === `newValue` ? newValue : oldValue);
9026
- }
9027
- function getTrace(error) {
9028
- const { stack } = error;
9029
- if (stack)
9030
- return `
9031
- ` + stack.split(`
9032
- `)?.slice(1)?.join(`
9033
- `);
9034
- return ``;
9035
- }
9036
- function allocateIntoStore(store, provenance, key, dependsOn = `any`) {
9037
- const origin = provenance;
9038
- const stringKey = stringifyJson(key);
9039
- const invalidKeys = [];
9040
- const target = newest(store);
9041
- if (Array.isArray(origin))
9042
- for (const formerClaim of origin) {
9043
- const claimString = stringifyJson(formerClaim);
9044
- if (target.molecules.get(claimString))
9045
- store.moleculeGraph.set(claimString, stringKey, { source: claimString });
9046
- else
9047
- invalidKeys.push(claimString);
9048
- }
9049
- else {
9050
- const claimString = stringifyJson(origin);
9051
- if (target.molecules.get(claimString))
9052
- store.moleculeGraph.set(claimString, stringKey, { source: claimString });
9053
- else
9054
- invalidKeys.push(claimString);
9055
- }
9056
- const subject = new Subject;
9057
- if (invalidKeys.length === 0)
9058
- target.molecules.set(stringKey, {
9059
- key,
9060
- stringKey,
9061
- dependsOn,
9062
- subject
9063
- });
9064
- const creationEvent = {
9065
- type: `molecule_creation`,
9066
- key,
9067
- provenance: origin,
9068
- timestamp: Date.now()
9069
- };
9070
- if (isChildStore(target) && target.transactionMeta.phase === `building`)
9071
- target.transactionMeta.update.subEvents.push(creationEvent);
9072
- else
9073
- target.on.moleculeCreation.next(creationEvent);
9074
- for (const claim of invalidKeys) {
9075
- const disposal = store.disposalTraces.buffer.find((item) => item?.key === claim);
9076
- store.logger.error(`\u274C`, `key`, key, `allocation failed:`, `Could not allocate to ${claim} in store "${store.config.name}".`, disposal ? `
9077
- ${claim} was most recently disposed
9078
- ${disposal.trace}` : `No previous disposal trace for ${claim} was found.`);
9079
- }
9080
- return key;
9081
- }
9082
- function deallocateFromStore(target, claim) {
9083
- const stringKey = stringifyJson(claim);
9084
- const molecule = target.molecules.get(stringKey);
9085
- if (!molecule) {
9086
- const disposal = target.disposalTraces.buffer.find((item) => item?.key === stringKey);
9087
- target.logger.error(`\u274C`, `key`, claim, `deallocation failed:`, `Could not find allocation for ${stringKey} in store "${target.config.name}".`, disposal ? `
9088
- This state was most recently deallocated
9089
- ${disposal.trace}` : `No previous disposal trace for ${stringKey} was found.`);
9090
- return;
9091
- }
9092
- molecule.subject.next();
9093
- const joinKeys = target.keyRefsInJoins.getRelatedKeys(stringKey);
9094
- if (joinKeys)
9095
- for (const joinKey of joinKeys) {
9096
- const join$1 = target.joins.get(joinKey);
9097
- if (join$1)
9098
- join$1.relations.delete(claim);
9099
- }
9100
- else {
9101
- const compound = decomposeCompound(claim);
9102
- if (compound) {
9103
- const [, a, b] = compound;
9104
- const joinKey = target.keyRefsInJoins.getRelatedKey(simpleCompound(a, b));
9105
- if (joinKey) {
9106
- const join$1 = target.joins.get(joinKey);
9107
- if (join$1)
9108
- join$1.relations.delete(a, b);
9109
- }
9110
- }
9111
- }
9112
- target.keyRefsInJoins.delete(stringKey);
9113
- const provenance = [];
9114
- const values = [];
9115
- const relatedMolecules = target.moleculeGraph.getRelationEntries({ downstreamMoleculeKey: stringKey });
9116
- if (relatedMolecules)
9117
- for (const [relatedStringKey, { source }] of relatedMolecules)
9118
- if (source === stringKey)
9119
- deallocateFromStore(target, parseJson2(relatedStringKey));
9120
- else
9121
- provenance.push(source);
9122
- const familyKeys = target.moleculeData.getRelatedKeys(molecule.stringKey);
9123
- if (familyKeys)
9124
- for (const familyKey of familyKeys) {
9125
- const family = target.families.get(familyKey);
9126
- const value2 = getFromStore(target, family, claim);
9127
- values.push([family.key, value2]);
9128
- disposeFromStore(target, family, claim);
9129
- }
9130
- const disposalEvent = {
9131
- type: `molecule_disposal`,
9132
- key: molecule.key,
9133
- values,
9134
- provenance,
9135
- timestamp: Date.now()
9136
- };
9137
- target.molecules.delete(stringKey);
9138
- const isTransaction = isChildStore(target) && target.transactionMeta.phase === `building`;
9139
- if (isTransaction)
9140
- target.transactionMeta.update.subEvents.push(disposalEvent);
9141
- target.moleculeGraph.delete(molecule.stringKey);
9142
- target.keyRefsInJoins.delete(molecule.stringKey);
9143
- target.moleculeData.delete(molecule.stringKey);
9144
- if (!isTransaction)
9145
- target.on.moleculeDisposal.next(disposalEvent);
9146
- target.molecules.delete(molecule.stringKey);
9147
- const trace = getTrace(/* @__PURE__ */ new Error);
9148
- target.disposalTraces.add({
9149
- key: stringKey,
9150
- trace
9151
- });
9152
- }
9153
- function claimWithinStore(store, newProvenance, claim, exclusive) {
9154
- const stringKey = stringifyJson(claim);
9155
- const target = newest(store);
9156
- const molecule = target.molecules.get(stringKey);
9157
- if (!molecule) {
9158
- const disposal = store.disposalTraces.buffer.find((item) => item?.key === stringKey);
9159
- store.logger.error(`\u274C`, `key`, stringKey, `claim failed:`, `Could not allocate to ${stringKey} in store "${store.config.name}".`, disposal ? `
9160
- ${stringKey} was most recently disposed
9161
- ${disposal.trace}` : `No previous disposal trace for ${stringKey} was found.`);
9162
- return claim;
9163
- }
9164
- const newProvenanceKey = stringifyJson(newProvenance);
9165
- const newProvenanceMolecule = target.molecules.get(newProvenanceKey);
9166
- if (!newProvenanceMolecule) {
9167
- const disposal = store.disposalTraces.buffer.find((item) => item?.key === newProvenanceKey);
9168
- store.logger.error(`\u274C`, `key`, claim, `claim failed:`, `Could not allocate to ${newProvenanceKey} in store "${store.config.name}".`, disposal ? `
9169
- ${newProvenanceKey} was most recently disposed
9170
- ${disposal.trace}` : `No previous disposal trace for ${newProvenanceKey} was found.`);
9171
- return claim;
9172
- }
9173
- const priorProvenance = store.moleculeGraph.getRelationEntries({ downstreamMoleculeKey: molecule.stringKey }).filter(([, { source }]) => source !== stringKey).map(([key]) => parseJson2(key));
9174
- if (exclusive)
9175
- target.moleculeGraph.delete(stringKey);
9176
- target.moleculeGraph.set({
9177
- upstreamMoleculeKey: newProvenanceMolecule.stringKey,
9178
- downstreamMoleculeKey: molecule.stringKey
9179
- }, { source: newProvenanceMolecule.stringKey });
9180
- const transferEvent = {
9181
- type: `molecule_transfer`,
9182
- key: molecule.key,
9183
- exclusive: Boolean(exclusive),
9184
- from: priorProvenance,
9185
- to: [newProvenanceMolecule.key],
9186
- timestamp: Date.now()
9187
- };
9188
- if (isChildStore(target) && target.transactionMeta.phase === `building`)
9189
- target.transactionMeta.update.subEvents.push(transferEvent);
9190
- return claim;
9191
- }
9192
- function ingestCreationEvent(store, event, applying) {
9193
- switch (applying) {
9194
- case `newValue`:
9195
- createInStore(store, event);
9196
- break;
9197
- case `oldValue`:
9198
- disposeFromStore(store, event.token);
9199
- break;
9200
- }
9201
- }
9202
- function ingestDisposalEvent(store, event, applying) {
9203
- switch (applying) {
9204
- case `newValue`:
9205
- disposeFromStore(store, event.token);
9206
- break;
9207
- case `oldValue`:
9208
- createInStore(store, event);
9209
- if (event.subType === `atom`)
9210
- store.valueMap.set(event.token.key, event.value);
9211
- break;
9212
- }
9213
- }
9214
- function createInStore(store, event) {
9215
- const { token } = event;
9216
- if (event.subType === `writable` && event.value)
9217
- setIntoStore(store, token, event.value);
9218
- else
9219
- getFromStore(store, token);
9220
- }
9221
- function ingestMoleculeCreationEvent(store, event, applying) {
9222
- switch (applying) {
9223
- case `newValue`:
9224
- allocateIntoStore(store, event.provenance, event.key);
9225
- break;
9226
- case `oldValue`:
9227
- deallocateFromStore(store, event.key);
9228
- break;
9229
- }
9230
- }
9231
- function ingestMoleculeDisposalEvent(store, event, applying) {
9232
- switch (applying) {
9233
- case `newValue`:
9234
- deallocateFromStore(store, event.key);
9235
- break;
9236
- case `oldValue`:
9237
- allocateIntoStore(store, event.provenance.map(parseJson2), event.key);
9238
- for (const [familyKey, value2] of event.values) {
9239
- const family = store.families.get(familyKey);
9240
- if (family) {
9241
- getFromStore(store, family, event.key);
9242
- const memberKey = `${familyKey}(${stringifyJson(event.key)})`;
9243
- store.valueMap.set(memberKey, value2);
9244
- }
9245
- }
9246
- break;
9247
- }
9248
- }
9249
- function ingestMoleculeTransferEvent(store, event, applying) {
9250
- switch (applying) {
9251
- case `newValue`:
9252
- for (const newOwner of event.to)
9253
- claimWithinStore(store, newOwner, event.key, event.exclusive ? `exclusive` : undefined);
9254
- break;
9255
- case `oldValue`:
9256
- {
9257
- let exclusivity = `exclusive`;
9258
- for (const previousOwner of event.from) {
9259
- claimWithinStore(store, previousOwner, event.key, exclusivity);
9260
- exclusivity = undefined;
9261
- }
9262
- }
9263
- break;
9264
- }
9265
- }
9266
- function ingestTransactionOutcomeEvent(store, event, applying) {
9267
- const subEvents = applying === `newValue` ? event.subEvents : [...event.subEvents].reverse();
9268
- for (const subEvent of subEvents)
9269
- switch (subEvent.type) {
9270
- case `atom_update`:
9271
- ingestAtomUpdateEvent(store, subEvent, applying);
9272
- break;
9273
- case `state_creation`:
9274
- ingestCreationEvent(store, subEvent, applying);
9275
- break;
9276
- case `state_disposal`:
9277
- ingestDisposalEvent(store, subEvent, applying);
9278
- break;
9279
- case `molecule_creation`:
9280
- ingestMoleculeCreationEvent(store, subEvent, applying);
9281
- break;
9282
- case `molecule_disposal`:
9283
- ingestMoleculeDisposalEvent(store, subEvent, applying);
9284
- break;
9285
- case `molecule_transfer`:
9286
- ingestMoleculeTransferEvent(store, subEvent, applying);
9287
- break;
9288
- case `transaction_outcome`:
9289
- ingestTransactionOutcomeEvent(store, subEvent, applying);
9290
- break;
9291
- }
9292
- }
9293
8989
  function isRootStore(store) {
9294
8990
  return `epoch` in store.transactionMeta;
9295
8991
  }
9296
8992
  function isChildStore(store) {
9297
8993
  return `phase` in store.transactionMeta;
9298
8994
  }
9299
- function getContinuityKey(store, transactionKey) {
9300
- return store.transactionMeta.actionContinuities.getRelatedKey(transactionKey);
9301
- }
9302
- function getEpochNumberOfContinuity(store, continuityKey) {
9303
- return store.transactionMeta.epoch.get(continuityKey);
9304
- }
9305
- function getEpochNumberOfAction(store, transactionKey) {
9306
- const continuityKey = getContinuityKey(store, transactionKey);
9307
- if (continuityKey === undefined)
9308
- return;
9309
- return getEpochNumberOfContinuity(store, continuityKey);
9310
- }
9311
- function setEpochNumberOfAction(store, transactionKey, newEpoch) {
9312
- const continuityKey = getContinuityKey(store, transactionKey);
9313
- if (continuityKey !== undefined)
9314
- store.transactionMeta.epoch.set(continuityKey, newEpoch);
9315
- }
9316
- function applyTransaction(store, output) {
9317
- const child = newest(store);
9318
- const { parent } = child;
9319
- child.transactionMeta.phase = `applying`;
9320
- child.transactionMeta.update.output = output;
9321
- parent.child = null;
9322
- parent.on.transactionApplying.next(child.transactionMeta);
9323
- const { subEvents: updates } = child.transactionMeta.update;
9324
- store.logger.info(`\uD83D\uDEC4`, `transaction`, child.transactionMeta.update.token.key, `applying ${updates.length} subEvents:`, updates);
9325
- ingestTransactionOutcomeEvent(parent, child.transactionMeta.update, `newValue`);
9326
- if (isRootStore(parent)) {
9327
- setEpochNumberOfAction(parent, child.transactionMeta.update.token.key, child.transactionMeta.update.epoch);
9328
- withdraw(store, {
9329
- key: child.transactionMeta.update.token.key,
9330
- type: `transaction`
9331
- })?.subject.next(child.transactionMeta.update);
9332
- store.logger.info(`\uD83D\uDEEC`, `transaction`, child.transactionMeta.update.token.key, `applied`);
9333
- } else if (isChildStore(parent))
9334
- parent.transactionMeta.update.subEvents.push(child.transactionMeta.update);
9335
- parent.on.transactionApplying.next(null);
9336
- }
9337
- function getEnvironmentData(store) {
9338
- return { store };
9339
- }
9340
- var buildTransaction = (store, token, params, id) => {
9341
- const parent = newest(store);
9342
- const childBase = {
9343
- parent,
9344
- child: null,
9345
- on: parent.on,
9346
- loggers: parent.loggers,
9347
- logger: parent.logger,
9348
- config: parent.config,
9349
- atoms: new MapOverlay(parent.atoms),
9350
- atomsThatAreDefault: new Set(parent.atomsThatAreDefault),
9351
- families: new MapOverlay(parent.families),
9352
- joins: new MapOverlay(parent.joins),
9353
- operation: { open: false },
9354
- readonlySelectors: new MapOverlay(parent.readonlySelectors),
9355
- timelines: new MapOverlay(parent.timelines),
9356
- timelineTopics: parent.timelineTopics.overlay(),
9357
- trackers: /* @__PURE__ */ new Map,
9358
- transactions: new MapOverlay(parent.transactions),
9359
- selectorAtoms: parent.selectorAtoms.overlay(),
9360
- selectorGraph: parent.selectorGraph.overlay(),
9361
- writableSelectors: new MapOverlay(parent.writableSelectors),
9362
- valueMap: new MapOverlay(parent.valueMap),
9363
- defaults: parent.defaults,
9364
- disposalTraces: store.disposalTraces.copy(),
9365
- molecules: new MapOverlay(parent.molecules),
9366
- moleculeGraph: parent.moleculeGraph.overlay(),
9367
- moleculeData: parent.moleculeData.overlay(),
9368
- keyRefsInJoins: parent.keyRefsInJoins.overlay(),
9369
- miscResources: new MapOverlay(parent.miscResources)
9370
- };
9371
- const epoch3 = getEpochNumberOfAction(store, token.key);
9372
- const transactionMeta = {
9373
- phase: `building`,
9374
- update: {
9375
- type: `transaction_outcome`,
9376
- token,
9377
- id,
9378
- epoch: epoch3 === undefined ? NaN : epoch3 + 1,
9379
- timestamp: Date.now(),
9380
- subEvents: [],
9381
- params,
9382
- output: undefined
9383
- },
9384
- toolkit: {
9385
- get: (...ps) => getFromStore(child, ...ps),
9386
- set: (...ps) => {
9387
- setIntoStore(child, ...ps);
9388
- },
9389
- reset: (...ps) => {
9390
- resetInStore(child, ...ps);
9391
- },
9392
- run: (t, identifier = arbitrary()) => actUponStore(child, t, identifier),
9393
- find: (...ps) => findInStore(store, ...ps),
9394
- json: (t) => getJsonToken(child, t),
9395
- dispose: (...ps) => {
9396
- disposeFromStore(child, ...ps);
9397
- },
9398
- env: () => getEnvironmentData(child)
9399
- }
9400
- };
9401
- const child = Object.assign(childBase, { transactionMeta });
9402
- parent.child = child;
9403
- store.logger.info(`\uD83D\uDEEB`, `transaction`, token.key, `building with params:`, params);
9404
- return child;
9405
- };
9406
- function createTransaction(store, options) {
9407
- const { key } = options;
9408
- const transactionAlreadyExists = store.transactions.has(key);
9409
- const newTransaction = {
9410
- key,
9411
- type: `transaction`,
9412
- run: (params, id) => {
9413
- const target = buildTransaction(store, deposit(newTransaction), params, id);
9414
- try {
9415
- const { toolkit } = target.transactionMeta;
9416
- const output = options.do(toolkit, ...params);
9417
- applyTransaction(target, output);
9418
- return output;
9419
- } catch (thrown) {
9420
- abortTransaction(target);
9421
- store.logger.warn(`\uD83D\uDCA5`, `transaction`, key, `caught:`, thrown);
9422
- throw thrown;
9423
- }
9424
- },
9425
- install: (s) => createTransaction(s, options),
9426
- subject: new Subject
9427
- };
9428
- newest(store).transactions.set(key, newTransaction);
9429
- const token = deposit(newTransaction);
9430
- if (!transactionAlreadyExists)
9431
- store.on.transactionCreation.next(token);
9432
- return token;
9433
- }
9434
8995
  var Store = class {
9435
8996
  parent = null;
9436
8997
  child = null;
@@ -10108,34 +9669,6 @@ function createSelectorFamily(store, options) {
10108
9669
  return createWritablePureSelectorFamily(store, options);
10109
9670
  return createReadonlyPureSelectorFamily(store, options);
10110
9671
  }
10111
- function disposeFromStore(store, ...params) {
10112
- let token;
10113
- if (params.length === 1)
10114
- token = params[0];
10115
- else {
10116
- const family = params[0];
10117
- const key = params[1];
10118
- token = findInStore(store, family, key);
10119
- }
10120
- try {
10121
- withdraw(store, token);
10122
- } catch (_) {
10123
- store.logger.error(`\u274C`, token.type, token.key, `could not be disposed because it was not found in the store "${store.config.name}".`);
10124
- return;
10125
- }
10126
- switch (token.type) {
10127
- case `atom`:
10128
- case `mutable_atom`:
10129
- disposeAtom(store, token);
10130
- break;
10131
- case `writable_pure_selector`:
10132
- case `readonly_pure_selector`:
10133
- case `writable_held_selector`:
10134
- case `readonly_held_selector`:
10135
- disposeSelector(store, token);
10136
- break;
10137
- }
10138
- }
10139
9672
  function openOperation(store, token) {
10140
9673
  if (store.operation.open) {
10141
9674
  const rejectionTime = performance.now();
@@ -10705,85 +10238,6 @@ function createStandaloneSelector(store, options) {
10705
10238
  store.on.selectorCreation.next(state);
10706
10239
  return state;
10707
10240
  }
10708
- function disposeSelector(store, selectorToken) {
10709
- const target = newest(store);
10710
- const { key, type: type2, family: familyMeta } = selectorToken;
10711
- if (!familyMeta)
10712
- store.logger.error(`\u274C`, type2, key, `Standalone selectors cannot be disposed.`);
10713
- else {
10714
- if (target.molecules.get(familyMeta.subKey))
10715
- target.moleculeData.delete(familyMeta.subKey, familyMeta.key);
10716
- let familyToken;
10717
- switch (selectorToken.type) {
10718
- case `writable_held_selector`:
10719
- target.writableSelectors.delete(key);
10720
- familyToken = {
10721
- key: familyMeta.key,
10722
- type: `writable_held_selector_family`
10723
- };
10724
- withdraw(store, familyToken).subject.next({
10725
- type: `state_disposal`,
10726
- subType: `selector`,
10727
- token: selectorToken,
10728
- timestamp: Date.now()
10729
- });
10730
- break;
10731
- case `writable_pure_selector`:
10732
- target.writableSelectors.delete(key);
10733
- familyToken = {
10734
- key: familyMeta.key,
10735
- type: `writable_pure_selector_family`
10736
- };
10737
- withdraw(store, familyToken).subject.next({
10738
- type: `state_disposal`,
10739
- subType: `selector`,
10740
- token: selectorToken,
10741
- timestamp: Date.now()
10742
- });
10743
- break;
10744
- case `readonly_held_selector`:
10745
- target.readonlySelectors.delete(key);
10746
- familyToken = {
10747
- key: familyMeta.key,
10748
- type: `readonly_held_selector_family`
10749
- };
10750
- withdraw(store, familyToken).subject.next({
10751
- type: `state_disposal`,
10752
- subType: `selector`,
10753
- token: selectorToken,
10754
- timestamp: Date.now()
10755
- });
10756
- break;
10757
- case `readonly_pure_selector`:
10758
- target.readonlySelectors.delete(key);
10759
- familyToken = {
10760
- key: familyMeta.key,
10761
- type: `readonly_pure_selector_family`
10762
- };
10763
- withdraw(store, familyToken).subject.next({
10764
- type: `state_disposal`,
10765
- subType: `selector`,
10766
- token: selectorToken,
10767
- timestamp: Date.now()
10768
- });
10769
- break;
10770
- }
10771
- target.valueMap.delete(key);
10772
- target.selectorAtoms.delete(key);
10773
- target.selectorGraph.delete(key);
10774
- target.moleculeData.delete(familyMeta.key, familyMeta.subKey);
10775
- store.logger.info(`\uD83D\uDD25`, selectorToken.type, key, `deleted`);
10776
- if (isChildStore(target) && target.transactionMeta.phase === `building`)
10777
- target.transactionMeta.update.subEvents.push({
10778
- type: `state_disposal`,
10779
- subType: `selector`,
10780
- token: selectorToken,
10781
- timestamp: Date.now()
10782
- });
10783
- else
10784
- store.on.selectorDisposal.next(selectorToken);
10785
- }
10786
- }
10787
10241
  var recallState = (store, state) => {
10788
10242
  const target = newest(store);
10789
10243
  if (target.operation.open)
@@ -11258,46 +10712,6 @@ function hasRole(atom, role) {
11258
10712
  return false;
11259
10713
  return atom.internalRoles.includes(role);
11260
10714
  }
11261
- function disposeAtom(store, atomToken) {
11262
- const target = newest(store);
11263
- const { key, family } = atomToken;
11264
- const atom = withdraw(target, atomToken);
11265
- if (!family)
11266
- store.logger.error(`\u274C`, `atom`, key, `Standalone atoms cannot be disposed.`);
11267
- else {
11268
- atom.cleanup?.();
11269
- const lastValue = store.valueMap.get(atom.key);
11270
- const subject = withdraw(store, getFamilyOfToken(store, atomToken)).subject;
11271
- const disposalEvent = {
11272
- type: `state_disposal`,
11273
- subType: `atom`,
11274
- token: atomToken,
11275
- value: lastValue,
11276
- timestamp: Date.now()
11277
- };
11278
- subject.next(disposalEvent);
11279
- const isChild = isChildStore(target);
11280
- target.atoms.delete(key);
11281
- target.valueMap.delete(key);
11282
- target.selectorAtoms.delete(key);
11283
- target.atomsThatAreDefault.delete(key);
11284
- target.moleculeData.delete(family.key, family.subKey);
11285
- store.timelineTopics.delete(key);
11286
- if (atomToken.type === `mutable_atom`) {
11287
- disposeAtom(store, getUpdateToken(atomToken));
11288
- store.trackers.delete(key);
11289
- }
11290
- store.logger.info(`\uD83D\uDD25`, `atom`, key, `deleted`);
11291
- if (isChild && target.transactionMeta.phase === `building`) {
11292
- const mostRecentUpdate = target.transactionMeta.update.subEvents.at(-1);
11293
- const updateAlreadyCaptured = mostRecentUpdate?.type === `molecule_disposal` && mostRecentUpdate.values.some(([k]) => k === atom.family?.key);
11294
- const isTracker = hasRole(atom, `tracker:signal`);
11295
- if (!updateAlreadyCaptured && !isTracker)
11296
- target.transactionMeta.update.subEvents.push(disposalEvent);
11297
- } else
11298
- store.on.atomDisposal.next(atomToken);
11299
- }
11300
- }
11301
10715
  function capitalize3(string2) {
11302
10716
  return string2[0].toUpperCase() + string2.slice(1);
11303
10717
  }
@@ -11573,9 +10987,6 @@ function findRelationsInStore(token, key, store) {
11573
10987
  }
11574
10988
  return relations;
11575
10989
  }
11576
- function getInternalRelationsFromStore(token, store) {
11577
- return getJoin(token, store).relatedKeysAtoms;
11578
- }
11579
10990
 
11580
10991
  // ../../packages/atom.io/dist/introspection/index.js
11581
10992
  var attachAtomIndex = (store) => {
@@ -11936,91 +11347,6 @@ var prettyJson = new Differ(primitiveRefinery, jsonTreeRefinery, {
11936
11347
  array: diffArray
11937
11348
  });
11938
11349
 
11939
- // ../../packages/atom.io/dist/realtime/index.js
11940
- var mutexAtoms = atomFamily({
11941
- key: `mutex`,
11942
- default: false
11943
- });
11944
- var InvariantMap = class extends Map {
11945
- set(key, value2) {
11946
- if (this.has(key)) {
11947
- console.warn(`Tried to set a key that already exists in an InvariantMap`, {
11948
- key,
11949
- value: value2
11950
- });
11951
- return this;
11952
- }
11953
- return super.set(key, value2);
11954
- }
11955
- };
11956
- var SyncGroup = class SyncGroup2 {
11957
- type = `continuity`;
11958
- globals = [];
11959
- actions = [];
11960
- perspectives = [];
11961
- key;
11962
- constructor(key) {
11963
- this.key = key;
11964
- }
11965
- static existing = new InvariantMap;
11966
- static create(key, builder) {
11967
- const { type: type2, globals, actions, perspectives } = builder(new SyncGroup2(key));
11968
- const token = {
11969
- type: type2,
11970
- key,
11971
- globals,
11972
- actions,
11973
- perspectives
11974
- };
11975
- SyncGroup2.existing.set(key, token);
11976
- return token;
11977
- }
11978
- add(...args2) {
11979
- switch (args2[0].type) {
11980
- case `atom`:
11981
- case `mutable_atom`:
11982
- this.globals.push(...args2);
11983
- break;
11984
- case `transaction`:
11985
- this.actions.push(...args2);
11986
- break;
11987
- case `atom_family`:
11988
- case `mutable_atom_family`:
11989
- {
11990
- const [family, index] = args2;
11991
- this.perspectives.push({
11992
- type: `realtime_perspective`,
11993
- resourceAtoms: family,
11994
- viewAtoms: index
11995
- });
11996
- }
11997
- break;
11998
- }
11999
- return this;
12000
- }
12001
- };
12002
- var usersInThisRoomIndex = mutableAtom({
12003
- key: `usersInRoomIndex`,
12004
- class: UList
12005
- });
12006
- var roomIndex = mutableAtom({
12007
- key: `roomIndex`,
12008
- class: UList
12009
- });
12010
- var usersInRooms = join({
12011
- key: `usersInRooms`,
12012
- between: [`room`, `user`],
12013
- cardinality: `1:n`,
12014
- isAType: (input) => typeof input === `string`,
12015
- isBType: (input) => typeof input === `string`
12016
- });
12017
- var usersInMyRoomView = selectorFamily({
12018
- key: `usersInMyRoomView`,
12019
- get: (myUsername) => ({ find }) => {
12020
- return [find(getInternalRelations(usersInRooms), myUsername)];
12021
- }
12022
- });
12023
-
12024
11350
  // ../../packages/atom.io/dist/realtime-server/index.js
12025
11351
  var redactorAtoms = atomFamily({
12026
11352
  key: `redactor`,
@@ -12363,45 +11689,6 @@ var ParentSocket = class extends CustomSocket {
12363
11689
  this.relayServices.push(attachServices);
12364
11690
  }
12365
11691
  };
12366
- var ROOMS = /* @__PURE__ */ new Map;
12367
- var joinRoomTX = transaction({
12368
- key: `joinRoom`,
12369
- do: (tools, roomId, userId, enteredAtEpoch) => {
12370
- const meta = { enteredAtEpoch };
12371
- editRelationsInStore(usersInRooms, (relations) => {
12372
- relations.set({
12373
- room: roomId,
12374
- user: userId
12375
- });
12376
- }, tools.env().store);
12377
- return meta;
12378
- }
12379
- });
12380
- var leaveRoomTX = transaction({
12381
- key: `leaveRoom`,
12382
- do: ({ env: env2 }, roomId, userId) => {
12383
- editRelationsInStore(usersInRooms, (relations) => {
12384
- relations.delete({
12385
- room: roomId,
12386
- user: userId
12387
- });
12388
- }, env2().store);
12389
- }
12390
- });
12391
- var destroyRoomTX = transaction({
12392
- key: `destroyRoom`,
12393
- do: ({ set, env: env2 }, roomId) => {
12394
- editRelationsInStore(usersInRooms, (relations) => {
12395
- relations.delete({ room: roomId });
12396
- }, env2().store);
12397
- set(roomIndex, (s) => (s.delete(roomId), s));
12398
- const room = ROOMS.get(roomId);
12399
- if (room) {
12400
- room.emit(`exit`);
12401
- ROOMS.delete(roomId);
12402
- }
12403
- }
12404
- });
12405
11692
  var socketAtoms = atomFamily({
12406
11693
  key: `sockets`,
12407
11694
  default: null
@@ -12437,7 +11724,7 @@ import { createServer as createHttpServer } from "http";
12437
11724
  import { createServer as createSecureServer } from "https";
12438
11725
  import { resolve } from "path";
12439
11726
 
12440
- // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.25_typescript@5.9.3_zod@4.1.12/node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js
11727
+ // ../../node_modules/.pnpm/@t3-oss+env-core@0.13.8_arktype@2.1.26_typescript@5.9.3_zod@4.1.12/node_modules/@t3-oss/env-core/dist/src-Bb3GbGAa.js
12441
11728
  function ensureSynchronous(value2, message) {
12442
11729
  if (value2 instanceof Promise)
12443
11730
  throw new Error(message);
@@ -12571,7 +11858,7 @@ function createServer(listener) {
12571
11858
  // src/database/tempest-db-manager.ts
12572
11859
  import path2 from "path";
12573
11860
 
12574
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/entity.js
11861
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/entity.js
12575
11862
  var entityKind = Symbol.for("drizzle:entityKind");
12576
11863
  var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
12577
11864
  function is(value2, type2) {
@@ -12596,7 +11883,7 @@ function is(value2, type2) {
12596
11883
  return false;
12597
11884
  }
12598
11885
 
12599
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/column.js
11886
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/column.js
12600
11887
  class Column {
12601
11888
  constructor(table, config3) {
12602
11889
  this.table = table;
@@ -12646,7 +11933,7 @@ class Column {
12646
11933
  }
12647
11934
  }
12648
11935
 
12649
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/column-builder.js
11936
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/column-builder.js
12650
11937
  class ColumnBuilder {
12651
11938
  static [entityKind] = "ColumnBuilder";
12652
11939
  config;
@@ -12702,10 +11989,10 @@ class ColumnBuilder {
12702
11989
  }
12703
11990
  }
12704
11991
 
12705
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/table.utils.js
11992
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/table.utils.js
12706
11993
  var TableName = Symbol.for("drizzle:Name");
12707
11994
 
12708
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/foreign-keys.js
11995
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/foreign-keys.js
12709
11996
  class ForeignKeyBuilder {
12710
11997
  static [entityKind] = "PgForeignKeyBuilder";
12711
11998
  reference;
@@ -12759,17 +12046,17 @@ class ForeignKey {
12759
12046
  }
12760
12047
  }
12761
12048
 
12762
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/tracing-utils.js
12049
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/tracing-utils.js
12763
12050
  function iife(fn2, ...args2) {
12764
12051
  return fn2(...args2);
12765
12052
  }
12766
12053
 
12767
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/unique-constraint.js
12054
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/unique-constraint.js
12768
12055
  function uniqueKeyName(table, columns) {
12769
12056
  return `${table[TableName]}_${columns.join("_")}_unique`;
12770
12057
  }
12771
12058
 
12772
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils/array.js
12059
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils/array.js
12773
12060
  function parsePgArrayValue(arrayString, startFrom, inQuotes) {
12774
12061
  for (let i = startFrom;i < arrayString.length; i++) {
12775
12062
  const char = arrayString[i];
@@ -12845,7 +12132,7 @@ function makePgArray(array) {
12845
12132
  }).join(",")}}`;
12846
12133
  }
12847
12134
 
12848
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/common.js
12135
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/common.js
12849
12136
  class PgColumnBuilder extends ColumnBuilder {
12850
12137
  foreignKeyConfigs = [];
12851
12138
  static [entityKind] = "PgColumnBuilder";
@@ -12993,7 +12280,7 @@ class PgArray extends PgColumn {
12993
12280
  }
12994
12281
  }
12995
12282
 
12996
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/enum.js
12283
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/enum.js
12997
12284
  class PgEnumObjectColumnBuilder extends PgColumnBuilder {
12998
12285
  static [entityKind] = "PgEnumObjectColumnBuilder";
12999
12286
  constructor(name, enumInstance) {
@@ -13067,7 +12354,7 @@ function pgEnumObjectWithSchema(enumName, values, schema2) {
13067
12354
  return enumInstance;
13068
12355
  }
13069
12356
 
13070
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/subquery.js
12357
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/subquery.js
13071
12358
  class Subquery {
13072
12359
  static [entityKind] = "Subquery";
13073
12360
  constructor(sql, fields, alias, isWith = false, usedTables = []) {
@@ -13086,10 +12373,10 @@ class WithSubquery extends Subquery {
13086
12373
  static [entityKind] = "WithSubquery";
13087
12374
  }
13088
12375
 
13089
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/version.js
12376
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/version.js
13090
12377
  var version = "0.44.7";
13091
12378
 
13092
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/tracing.js
12379
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/tracing.js
13093
12380
  var otel;
13094
12381
  var rawTracer;
13095
12382
  var tracer = {
@@ -13116,10 +12403,10 @@ var tracer = {
13116
12403
  }
13117
12404
  };
13118
12405
 
13119
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/view-common.js
12406
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/view-common.js
13120
12407
  var ViewBaseConfig = Symbol.for("drizzle:ViewBaseConfig");
13121
12408
 
13122
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/table.js
12409
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/table.js
13123
12410
  var Schema = Symbol.for("drizzle:Schema");
13124
12411
  var Columns = Symbol.for("drizzle:Columns");
13125
12412
  var ExtraConfigColumns = Symbol.for("drizzle:ExtraConfigColumns");
@@ -13163,7 +12450,7 @@ function getTableUniqueName(table) {
13163
12450
  return `${table[Schema] ?? "public"}.${table[TableName]}`;
13164
12451
  }
13165
12452
 
13166
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/sql/sql.js
12453
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/sql/sql.js
13167
12454
  function isSQLWrapper(value2) {
13168
12455
  return value2 !== null && value2 !== undefined && typeof value2.getSQL === "function";
13169
12456
  }
@@ -13543,7 +12830,7 @@ Subquery.prototype.getSQL = function() {
13543
12830
  return new SQL([this]);
13544
12831
  };
13545
12832
 
13546
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/alias.js
12833
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/alias.js
13547
12834
  class ColumnAliasProxyHandler {
13548
12835
  constructor(table) {
13549
12836
  this.table = table;
@@ -13622,7 +12909,7 @@ function mapColumnsInSQLToAlias(query, alias) {
13622
12909
  }));
13623
12910
  }
13624
12911
 
13625
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/errors.js
12912
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/errors.js
13626
12913
  class DrizzleError extends Error {
13627
12914
  static [entityKind] = "DrizzleError";
13628
12915
  constructor({ message, cause }) {
@@ -13652,7 +12939,7 @@ class TransactionRollbackError extends DrizzleError {
13652
12939
  }
13653
12940
  }
13654
12941
 
13655
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/logger.js
12942
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/logger.js
13656
12943
  class ConsoleLogWriter {
13657
12944
  static [entityKind] = "ConsoleLogWriter";
13658
12945
  write(message) {
@@ -13684,7 +12971,7 @@ class NoopLogger {
13684
12971
  logQuery() {}
13685
12972
  }
13686
12973
 
13687
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/query-promise.js
12974
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/query-promise.js
13688
12975
  class QueryPromise {
13689
12976
  static [entityKind] = "QueryPromise";
13690
12977
  [Symbol.toStringTag] = "QueryPromise";
@@ -13705,7 +12992,7 @@ class QueryPromise {
13705
12992
  }
13706
12993
  }
13707
12994
 
13708
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/utils.js
12995
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/utils.js
13709
12996
  function mapResultRow(columns, row, joinsNotNullableMap) {
13710
12997
  const nullifyMap = {};
13711
12998
  const result = columns.reduce((result2, { path: path2, field }, columnIndex) => {
@@ -13857,7 +13144,7 @@ function isConfig(data) {
13857
13144
  }
13858
13145
  var textDecoder = typeof TextDecoder === "undefined" ? null : new TextDecoder;
13859
13146
 
13860
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/int.common.js
13147
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/int.common.js
13861
13148
  class PgIntColumnBaseBuilder extends PgColumnBuilder {
13862
13149
  static [entityKind] = "PgIntColumnBaseBuilder";
13863
13150
  generatedAlwaysAsIdentity(sequence2) {
@@ -13896,7 +13183,7 @@ class PgIntColumnBaseBuilder extends PgColumnBuilder {
13896
13183
  }
13897
13184
  }
13898
13185
 
13899
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigint.js
13186
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigint.js
13900
13187
  class PgBigInt53Builder extends PgIntColumnBaseBuilder {
13901
13188
  static [entityKind] = "PgBigInt53Builder";
13902
13189
  constructor(name) {
@@ -13947,7 +13234,7 @@ function bigint(a, b) {
13947
13234
  return new PgBigInt64Builder(name);
13948
13235
  }
13949
13236
 
13950
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigserial.js
13237
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/bigserial.js
13951
13238
  class PgBigSerial53Builder extends PgColumnBuilder {
13952
13239
  static [entityKind] = "PgBigSerial53Builder";
13953
13240
  constructor(name) {
@@ -14001,7 +13288,7 @@ function bigserial(a, b) {
14001
13288
  return new PgBigSerial64Builder(name);
14002
13289
  }
14003
13290
 
14004
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/boolean.js
13291
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/boolean.js
14005
13292
  class PgBooleanBuilder extends PgColumnBuilder {
14006
13293
  static [entityKind] = "PgBooleanBuilder";
14007
13294
  constructor(name) {
@@ -14022,7 +13309,7 @@ function boolean(name) {
14022
13309
  return new PgBooleanBuilder(name ?? "");
14023
13310
  }
14024
13311
 
14025
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/char.js
13312
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/char.js
14026
13313
  class PgCharBuilder extends PgColumnBuilder {
14027
13314
  static [entityKind] = "PgCharBuilder";
14028
13315
  constructor(name, config3) {
@@ -14048,7 +13335,7 @@ function char(a, b = {}) {
14048
13335
  return new PgCharBuilder(name, config3);
14049
13336
  }
14050
13337
 
14051
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/cidr.js
13338
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/cidr.js
14052
13339
  class PgCidrBuilder extends PgColumnBuilder {
14053
13340
  static [entityKind] = "PgCidrBuilder";
14054
13341
  constructor(name) {
@@ -14069,7 +13356,7 @@ function cidr(name) {
14069
13356
  return new PgCidrBuilder(name ?? "");
14070
13357
  }
14071
13358
 
14072
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/custom.js
13359
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/custom.js
14073
13360
  class PgCustomColumnBuilder extends PgColumnBuilder {
14074
13361
  static [entityKind] = "PgCustomColumnBuilder";
14075
13362
  constructor(name, fieldConfig, customTypeParams) {
@@ -14110,7 +13397,7 @@ function customType(customTypeParams) {
14110
13397
  };
14111
13398
  }
14112
13399
 
14113
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.common.js
13400
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.common.js
14114
13401
  class PgDateColumnBaseBuilder extends PgColumnBuilder {
14115
13402
  static [entityKind] = "PgDateColumnBaseBuilder";
14116
13403
  defaultNow() {
@@ -14118,7 +13405,7 @@ class PgDateColumnBaseBuilder extends PgColumnBuilder {
14118
13405
  }
14119
13406
  }
14120
13407
 
14121
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.js
13408
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/date.js
14122
13409
  class PgDateBuilder extends PgDateColumnBaseBuilder {
14123
13410
  static [entityKind] = "PgDateBuilder";
14124
13411
  constructor(name) {
@@ -14166,7 +13453,7 @@ function date(a, b) {
14166
13453
  return new PgDateStringBuilder(name);
14167
13454
  }
14168
13455
 
14169
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/double-precision.js
13456
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/double-precision.js
14170
13457
  class PgDoublePrecisionBuilder extends PgColumnBuilder {
14171
13458
  static [entityKind] = "PgDoublePrecisionBuilder";
14172
13459
  constructor(name) {
@@ -14193,7 +13480,7 @@ function doublePrecision(name) {
14193
13480
  return new PgDoublePrecisionBuilder(name ?? "");
14194
13481
  }
14195
13482
 
14196
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/inet.js
13483
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/inet.js
14197
13484
  class PgInetBuilder extends PgColumnBuilder {
14198
13485
  static [entityKind] = "PgInetBuilder";
14199
13486
  constructor(name) {
@@ -14214,7 +13501,7 @@ function inet(name) {
14214
13501
  return new PgInetBuilder(name ?? "");
14215
13502
  }
14216
13503
 
14217
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/integer.js
13504
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/integer.js
14218
13505
  class PgIntegerBuilder extends PgIntColumnBaseBuilder {
14219
13506
  static [entityKind] = "PgIntegerBuilder";
14220
13507
  constructor(name) {
@@ -14241,7 +13528,7 @@ function integer2(name) {
14241
13528
  return new PgIntegerBuilder(name ?? "");
14242
13529
  }
14243
13530
 
14244
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/interval.js
13531
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/interval.js
14245
13532
  class PgIntervalBuilder extends PgColumnBuilder {
14246
13533
  static [entityKind] = "PgIntervalBuilder";
14247
13534
  constructor(name, intervalConfig) {
@@ -14268,7 +13555,7 @@ function interval(a, b = {}) {
14268
13555
  return new PgIntervalBuilder(name, config3);
14269
13556
  }
14270
13557
 
14271
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/json.js
13558
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/json.js
14272
13559
  class PgJsonBuilder extends PgColumnBuilder {
14273
13560
  static [entityKind] = "PgJsonBuilder";
14274
13561
  constructor(name) {
@@ -14305,7 +13592,7 @@ function json3(name) {
14305
13592
  return new PgJsonBuilder(name ?? "");
14306
13593
  }
14307
13594
 
14308
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/jsonb.js
13595
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/jsonb.js
14309
13596
  class PgJsonbBuilder extends PgColumnBuilder {
14310
13597
  static [entityKind] = "PgJsonbBuilder";
14311
13598
  constructor(name) {
@@ -14342,7 +13629,7 @@ function jsonb(name) {
14342
13629
  return new PgJsonbBuilder(name ?? "");
14343
13630
  }
14344
13631
 
14345
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/line.js
13632
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/line.js
14346
13633
  class PgLineBuilder extends PgColumnBuilder {
14347
13634
  static [entityKind] = "PgLineBuilder";
14348
13635
  constructor(name) {
@@ -14398,7 +13685,7 @@ function line(a, b) {
14398
13685
  return new PgLineABCBuilder(name);
14399
13686
  }
14400
13687
 
14401
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr.js
13688
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr.js
14402
13689
  class PgMacaddrBuilder extends PgColumnBuilder {
14403
13690
  static [entityKind] = "PgMacaddrBuilder";
14404
13691
  constructor(name) {
@@ -14419,7 +13706,7 @@ function macaddr(name) {
14419
13706
  return new PgMacaddrBuilder(name ?? "");
14420
13707
  }
14421
13708
 
14422
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr8.js
13709
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/macaddr8.js
14423
13710
  class PgMacaddr8Builder extends PgColumnBuilder {
14424
13711
  static [entityKind] = "PgMacaddr8Builder";
14425
13712
  constructor(name) {
@@ -14440,7 +13727,7 @@ function macaddr8(name) {
14440
13727
  return new PgMacaddr8Builder(name ?? "");
14441
13728
  }
14442
13729
 
14443
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/numeric.js
13730
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/numeric.js
14444
13731
  class PgNumericBuilder extends PgColumnBuilder {
14445
13732
  static [entityKind] = "PgNumericBuilder";
14446
13733
  constructor(name, precision, scale) {
@@ -14555,7 +13842,7 @@ function numeric(a, b) {
14555
13842
  return mode === "number" ? new PgNumericNumberBuilder(name, config3?.precision, config3?.scale) : mode === "bigint" ? new PgNumericBigIntBuilder(name, config3?.precision, config3?.scale) : new PgNumericBuilder(name, config3?.precision, config3?.scale);
14556
13843
  }
14557
13844
 
14558
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/point.js
13845
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/point.js
14559
13846
  class PgPointTupleBuilder extends PgColumnBuilder {
14560
13847
  static [entityKind] = "PgPointTupleBuilder";
14561
13848
  constructor(name) {
@@ -14617,7 +13904,7 @@ function point(a, b) {
14617
13904
  return new PgPointObjectBuilder(name);
14618
13905
  }
14619
13906
 
14620
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js
13907
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js
14621
13908
  function hexToBytes(hex2) {
14622
13909
  const bytes = [];
14623
13910
  for (let c = 0;c < hex2.length; c += 2) {
@@ -14656,7 +13943,7 @@ function parseEWKB(hex2) {
14656
13943
  throw new Error("Unsupported geometry type");
14657
13944
  }
14658
13945
 
14659
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js
13946
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js
14660
13947
  class PgGeometryBuilder extends PgColumnBuilder {
14661
13948
  static [entityKind] = "PgGeometryBuilder";
14662
13949
  constructor(name) {
@@ -14711,7 +13998,7 @@ function geometry(a, b) {
14711
13998
  return new PgGeometryObjectBuilder(name);
14712
13999
  }
14713
14000
 
14714
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/real.js
14001
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/real.js
14715
14002
  class PgRealBuilder extends PgColumnBuilder {
14716
14003
  static [entityKind] = "PgRealBuilder";
14717
14004
  constructor(name, length) {
@@ -14742,7 +14029,7 @@ function real(name) {
14742
14029
  return new PgRealBuilder(name ?? "");
14743
14030
  }
14744
14031
 
14745
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/serial.js
14032
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/serial.js
14746
14033
  class PgSerialBuilder extends PgColumnBuilder {
14747
14034
  static [entityKind] = "PgSerialBuilder";
14748
14035
  constructor(name) {
@@ -14765,7 +14052,7 @@ function serial(name) {
14765
14052
  return new PgSerialBuilder(name ?? "");
14766
14053
  }
14767
14054
 
14768
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallint.js
14055
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallint.js
14769
14056
  class PgSmallIntBuilder extends PgIntColumnBaseBuilder {
14770
14057
  static [entityKind] = "PgSmallIntBuilder";
14771
14058
  constructor(name) {
@@ -14792,7 +14079,7 @@ function smallint(name) {
14792
14079
  return new PgSmallIntBuilder(name ?? "");
14793
14080
  }
14794
14081
 
14795
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallserial.js
14082
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/smallserial.js
14796
14083
  class PgSmallSerialBuilder extends PgColumnBuilder {
14797
14084
  static [entityKind] = "PgSmallSerialBuilder";
14798
14085
  constructor(name) {
@@ -14815,7 +14102,7 @@ function smallserial(name) {
14815
14102
  return new PgSmallSerialBuilder(name ?? "");
14816
14103
  }
14817
14104
 
14818
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/text.js
14105
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/text.js
14819
14106
  class PgTextBuilder extends PgColumnBuilder {
14820
14107
  static [entityKind] = "PgTextBuilder";
14821
14108
  constructor(name, config3) {
@@ -14839,7 +14126,7 @@ function text(a, b = {}) {
14839
14126
  return new PgTextBuilder(name, config3);
14840
14127
  }
14841
14128
 
14842
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/time.js
14129
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/time.js
14843
14130
  class PgTimeBuilder extends PgDateColumnBaseBuilder {
14844
14131
  constructor(name, withTimezone, precision) {
14845
14132
  super(name, "string", "PgTime");
@@ -14873,7 +14160,7 @@ function time(a, b = {}) {
14873
14160
  return new PgTimeBuilder(name, config3.withTimezone ?? false, config3.precision);
14874
14161
  }
14875
14162
 
14876
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/timestamp.js
14163
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/timestamp.js
14877
14164
  class PgTimestampBuilder extends PgDateColumnBaseBuilder {
14878
14165
  static [entityKind] = "PgTimestampBuilder";
14879
14166
  constructor(name, withTimezone, precision) {
@@ -14941,7 +14228,7 @@ function timestamp(a, b = {}) {
14941
14228
  return new PgTimestampBuilder(name, config3?.withTimezone ?? false, config3?.precision);
14942
14229
  }
14943
14230
 
14944
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/uuid.js
14231
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/uuid.js
14945
14232
  class PgUUIDBuilder extends PgColumnBuilder {
14946
14233
  static [entityKind] = "PgUUIDBuilder";
14947
14234
  constructor(name) {
@@ -14965,7 +14252,7 @@ function uuid2(name) {
14965
14252
  return new PgUUIDBuilder(name ?? "");
14966
14253
  }
14967
14254
 
14968
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/varchar.js
14255
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/varchar.js
14969
14256
  class PgVarcharBuilder extends PgColumnBuilder {
14970
14257
  static [entityKind] = "PgVarcharBuilder";
14971
14258
  constructor(name, config3) {
@@ -14991,7 +14278,7 @@ function varchar(a, b = {}) {
14991
14278
  return new PgVarcharBuilder(name, config3);
14992
14279
  }
14993
14280
 
14994
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js
14281
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js
14995
14282
  class PgBinaryVectorBuilder extends PgColumnBuilder {
14996
14283
  static [entityKind] = "PgBinaryVectorBuilder";
14997
14284
  constructor(name, config3) {
@@ -15015,7 +14302,7 @@ function bit(a, b) {
15015
14302
  return new PgBinaryVectorBuilder(name, config3);
15016
14303
  }
15017
14304
 
15018
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js
14305
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js
15019
14306
  class PgHalfVectorBuilder extends PgColumnBuilder {
15020
14307
  static [entityKind] = "PgHalfVectorBuilder";
15021
14308
  constructor(name, config3) {
@@ -15045,7 +14332,7 @@ function halfvec(a, b) {
15045
14332
  return new PgHalfVectorBuilder(name, config3);
15046
14333
  }
15047
14334
 
15048
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js
14335
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js
15049
14336
  class PgSparseVectorBuilder extends PgColumnBuilder {
15050
14337
  static [entityKind] = "PgSparseVectorBuilder";
15051
14338
  constructor(name, config3) {
@@ -15069,7 +14356,7 @@ function sparsevec(a, b) {
15069
14356
  return new PgSparseVectorBuilder(name, config3);
15070
14357
  }
15071
14358
 
15072
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js
14359
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js
15073
14360
  class PgVectorBuilder extends PgColumnBuilder {
15074
14361
  static [entityKind] = "PgVectorBuilder";
15075
14362
  constructor(name, config3) {
@@ -15099,7 +14386,7 @@ function vector(a, b) {
15099
14386
  return new PgVectorBuilder(name, config3);
15100
14387
  }
15101
14388
 
15102
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/all.js
14389
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/columns/all.js
15103
14390
  function getPgColumnBuilders() {
15104
14391
  return {
15105
14392
  bigint,
@@ -15137,7 +14424,7 @@ function getPgColumnBuilders() {
15137
14424
  };
15138
14425
  }
15139
14426
 
15140
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/table.js
14427
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/table.js
15141
14428
  var InlineForeignKeys = Symbol.for("drizzle:PgInlineForeignKeys");
15142
14429
  var EnableRLS = Symbol.for("drizzle:EnableRLS");
15143
14430
 
@@ -15185,7 +14472,7 @@ var pgTable = (name, columns, extraConfig) => {
15185
14472
  return pgTableWithSchema(name, columns, extraConfig, undefined);
15186
14473
  };
15187
14474
 
15188
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/primary-keys.js
14475
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/primary-keys.js
15189
14476
  function primaryKey(...config3) {
15190
14477
  if (config3[0].columns) {
15191
14478
  return new PrimaryKeyBuilder(config3[0].columns, config3[0].name);
@@ -15220,7 +14507,7 @@ class PrimaryKey {
15220
14507
  }
15221
14508
  }
15222
14509
 
15223
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/conditions.js
14510
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/conditions.js
15224
14511
  function bindIfParam(value2, column) {
15225
14512
  if (isDriverValueEncoder(column) && !isSQLWrapper(value2) && !is(value2, Param) && !is(value2, Placeholder) && !is(value2, Column) && !is(value2, Table) && !is(value2, View)) {
15226
14513
  return new Param(value2, column);
@@ -15325,7 +14612,7 @@ function notIlike(column, value2) {
15325
14612
  return sql`${column} not ilike ${value2}`;
15326
14613
  }
15327
14614
 
15328
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/select.js
14615
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/sql/expressions/select.js
15329
14616
  function asc(column) {
15330
14617
  return sql`${column} asc`;
15331
14618
  }
@@ -15333,7 +14620,7 @@ function desc(column) {
15333
14620
  return sql`${column} desc`;
15334
14621
  }
15335
14622
 
15336
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/relations.js
14623
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/relations.js
15337
14624
  class Relation {
15338
14625
  constructor(sourceTable, referencedTable, relationName) {
15339
14626
  this.sourceTable = sourceTable;
@@ -17500,7 +16787,7 @@ function osUsername() {
17500
16787
  }
17501
16788
  }
17502
16789
 
17503
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/selection-proxy.js
16790
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/selection-proxy.js
17504
16791
  class SelectionProxyHandler {
17505
16792
  static [entityKind] = "SelectionProxyHandler";
17506
16793
  config;
@@ -17552,7 +16839,7 @@ class SelectionProxyHandler {
17552
16839
  }
17553
16840
  }
17554
16841
 
17555
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/indexes.js
16842
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/indexes.js
17556
16843
  class IndexBuilderOn {
17557
16844
  constructor(unique, name) {
17558
16845
  this.unique = unique;
@@ -17634,7 +16921,7 @@ function uniqueIndex(name) {
17634
16921
  return new IndexBuilderOn(true, name);
17635
16922
  }
17636
16923
 
17637
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/casing.js
16924
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/casing.js
17638
16925
  function toSnakeCase(input) {
17639
16926
  const words = input.replace(/['\u2019]/g, "").match(/[\da-z]+|[A-Z]+(?![a-z])|[A-Z][\da-z]+/g) ?? [];
17640
16927
  return words.map((word) => word.toLowerCase()).join("_");
@@ -17687,12 +16974,12 @@ class CasingCache {
17687
16974
  }
17688
16975
  }
17689
16976
 
17690
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/view-base.js
16977
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/view-base.js
17691
16978
  class PgViewBase extends View {
17692
16979
  static [entityKind] = "PgViewBase";
17693
16980
  }
17694
16981
 
17695
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/dialect.js
16982
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/dialect.js
17696
16983
  class PgDialect {
17697
16984
  static [entityKind] = "PgDialect";
17698
16985
  casing;
@@ -18250,7 +17537,7 @@ class PgDialect {
18250
17537
  }
18251
17538
  }
18252
17539
 
18253
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/query-builders/query-builder.js
17540
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/query-builders/query-builder.js
18254
17541
  class TypedQueryBuilder {
18255
17542
  static [entityKind] = "TypedQueryBuilder";
18256
17543
  getSelectedFields() {
@@ -18258,7 +17545,7 @@ class TypedQueryBuilder {
18258
17545
  }
18259
17546
  }
18260
17547
 
18261
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/select.js
17548
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/select.js
18262
17549
  class PgSelectBuilder {
18263
17550
  static [entityKind] = "PgSelectBuilder";
18264
17551
  fields;
@@ -18576,7 +17863,7 @@ var intersectAll = createSetOperator("intersect", true);
18576
17863
  var except = createSetOperator("except", false);
18577
17864
  var exceptAll = createSetOperator("except", true);
18578
17865
 
18579
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
17866
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query-builder.js
18580
17867
  class QueryBuilder {
18581
17868
  static [entityKind] = "PgQueryBuilder";
18582
17869
  dialect;
@@ -18654,7 +17941,7 @@ class QueryBuilder {
18654
17941
  }
18655
17942
  }
18656
17943
 
18657
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils.js
17944
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/utils.js
18658
17945
  function extractUsedTable(table) {
18659
17946
  if (is(table, PgTable)) {
18660
17947
  return [table[Schema] ? `${table[Schema]}.${table[Table.Symbol.BaseName]}` : table[Table.Symbol.BaseName]];
@@ -18668,7 +17955,7 @@ function extractUsedTable(table) {
18668
17955
  return [];
18669
17956
  }
18670
17957
 
18671
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/delete.js
17958
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/delete.js
18672
17959
  class PgDeleteBase extends QueryPromise {
18673
17960
  constructor(table, session, dialect, withList) {
18674
17961
  super();
@@ -18728,7 +18015,7 @@ class PgDeleteBase extends QueryPromise {
18728
18015
  }
18729
18016
  }
18730
18017
 
18731
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/insert.js
18018
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/insert.js
18732
18019
  class PgInsertBuilder {
18733
18020
  constructor(table, session, dialect, withList, overridingSystemValue_) {
18734
18021
  this.table = table;
@@ -18851,7 +18138,7 @@ class PgInsertBase extends QueryPromise {
18851
18138
  }
18852
18139
  }
18853
18140
 
18854
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
18141
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/refresh-materialized-view.js
18855
18142
  class PgRefreshMaterializedView extends QueryPromise {
18856
18143
  constructor(view, session, dialect) {
18857
18144
  super();
@@ -18902,7 +18189,7 @@ class PgRefreshMaterializedView extends QueryPromise {
18902
18189
  };
18903
18190
  }
18904
18191
 
18905
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/update.js
18192
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/update.js
18906
18193
  class PgUpdateBuilder {
18907
18194
  constructor(table, session, dialect, withList) {
18908
18195
  this.table = table;
@@ -19056,7 +18343,7 @@ class PgUpdateBase extends QueryPromise {
19056
18343
  }
19057
18344
  }
19058
18345
 
19059
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/count.js
18346
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/count.js
19060
18347
  class PgCountBuilder extends SQL {
19061
18348
  constructor(params) {
19062
18349
  super(PgCountBuilder.buildEmbeddedCount(params.source, params.filters).queryChunks);
@@ -19097,7 +18384,7 @@ class PgCountBuilder extends SQL {
19097
18384
  }
19098
18385
  }
19099
18386
 
19100
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query.js
18387
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/query.js
19101
18388
  class RelationalQueryBuilder {
19102
18389
  constructor(fullSchema, schema2, tableNamesMap, table, tableConfig, dialect, session) {
19103
18390
  this.fullSchema = fullSchema;
@@ -19180,7 +18467,7 @@ class PgRelationalQuery extends QueryPromise {
19180
18467
  }
19181
18468
  }
19182
18469
 
19183
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/raw.js
18470
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/query-builders/raw.js
19184
18471
  class PgRaw extends QueryPromise {
19185
18472
  constructor(execute, sql2, query, mapBatchResult) {
19186
18473
  super();
@@ -19207,7 +18494,7 @@ class PgRaw extends QueryPromise {
19207
18494
  }
19208
18495
  }
19209
18496
 
19210
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/db.js
18497
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/db.js
19211
18498
  class PgDatabase {
19212
18499
  constructor(dialect, session, schema2) {
19213
18500
  this.dialect = dialect;
@@ -19328,12 +18615,12 @@ class PgDatabase {
19328
18615
  const prepared = this.session.prepareQuery(builtQuery, undefined, undefined, false);
19329
18616
  return new PgRaw(() => prepared.execute(undefined, this.authToken), sequel, builtQuery, (result) => prepared.mapResult(result, true));
19330
18617
  }
19331
- transaction(transaction2, config3) {
19332
- return this.session.transaction(transaction2, config3);
18618
+ transaction(transaction, config3) {
18619
+ return this.session.transaction(transaction, config3);
19333
18620
  }
19334
18621
  }
19335
18622
 
19336
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/cache/core/cache.js
18623
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/cache/core/cache.js
19337
18624
  class Cache {
19338
18625
  static [entityKind] = "Cache";
19339
18626
  }
@@ -19359,7 +18646,7 @@ async function hashQuery(sql2, params) {
19359
18646
  return hashHex;
19360
18647
  }
19361
18648
 
19362
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/pg-core/session.js
18649
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/pg-core/session.js
19363
18650
  class PgPreparedQuery {
19364
18651
  constructor(query, cache, queryMetadata, cacheConfig) {
19365
18652
  this.query = query;
@@ -19491,7 +18778,7 @@ class PgTransaction extends PgDatabase {
19491
18778
  }
19492
18779
  }
19493
18780
 
19494
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/session.js
18781
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/session.js
19495
18782
  class PostgresJsPreparedQuery extends PgPreparedQuery {
19496
18783
  constructor(client, queryString, params, logger, cache, queryMetadata, cacheConfig, fields, _isResponseInArrayMode, customResultMapper) {
19497
18784
  super({ sql: queryString, params }, cache, queryMetadata, cacheConfig);
@@ -19580,14 +18867,14 @@ class PostgresJsSession extends PgSession {
19580
18867
  queryObjects(query, params) {
19581
18868
  return this.client.unsafe(query, params);
19582
18869
  }
19583
- transaction(transaction2, config3) {
18870
+ transaction(transaction, config3) {
19584
18871
  return this.client.begin(async (client) => {
19585
18872
  const session = new PostgresJsSession(client, this.dialect, this.schema, this.options);
19586
18873
  const tx = new PostgresJsTransaction(this.dialect, session, this.schema);
19587
18874
  if (config3) {
19588
18875
  await tx.setTransaction(config3);
19589
18876
  }
19590
- return transaction2(tx);
18877
+ return transaction(tx);
19591
18878
  });
19592
18879
  }
19593
18880
  }
@@ -19598,16 +18885,16 @@ class PostgresJsTransaction extends PgTransaction {
19598
18885
  this.session = session;
19599
18886
  }
19600
18887
  static [entityKind] = "PostgresJsTransaction";
19601
- transaction(transaction2) {
18888
+ transaction(transaction) {
19602
18889
  return this.session.client.savepoint((client) => {
19603
18890
  const session = new PostgresJsSession(client, this.dialect, this.schema, this.session.options);
19604
18891
  const tx = new PostgresJsTransaction(this.dialect, session, this.schema);
19605
- return transaction2(tx);
18892
+ return transaction(tx);
19606
18893
  });
19607
18894
  }
19608
18895
  }
19609
18896
 
19610
- // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.2__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/driver.js
18897
+ // ../../node_modules/.pnpm/drizzle-orm@0.44.7_@cloudflare+workers-types@4.20251106.1_bun-types@1.3.2_@types+react@19.2.4__postgres@3.4.7/node_modules/drizzle-orm/postgres-js/driver.js
19611
18898
  class PostgresJsDatabase extends PgDatabase {
19612
18899
  static [entityKind] = "PostgresJsDatabase";
19613
18900
  }