@deslop/stash 0.1.1085 → 0.1.1088

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.
@@ -377,7 +377,7 @@ const constVoid = constUndefined;
377
377
  * @category combinators
378
378
  * @since 2.0.0
379
379
  */
380
- const compose = /*#__PURE__*/ dual(2, (ab, bc) => (a) => bc(ab(a)));
380
+ const compose$1 = /*#__PURE__*/ dual(2, (ab, bc) => (a) => bc(ab(a)));
381
381
  function pipe(a, ...args) {
382
382
  return pipeArguments(a, args);
383
383
  }
@@ -1200,6 +1200,36 @@ function isError(input) {
1200
1200
  function isIterable(input) {
1201
1201
  return hasProperty(input, Symbol.iterator) || isString$2(input);
1202
1202
  }
1203
+ /**
1204
+ * Creates a predicate that returns `true` if either predicate is `true`.
1205
+ *
1206
+ * **When to use**
1207
+ *
1208
+ * Use when you want to combine `Predicate`s with OR, accepting values that
1209
+ * satisfy at least one condition, including refinements that narrow to a union.
1210
+ *
1211
+ * **Details**
1212
+ *
1213
+ * Evaluation short-circuits on the first `true`. For refinements, the output
1214
+ * type is a union.
1215
+ *
1216
+ * **Example** (Checking either condition)
1217
+ *
1218
+ * ```ts import.meta.vitest
1219
+ * import { Predicate } from "effect"
1220
+ *
1221
+ * const isStringOrNumber = Predicate.or(Predicate.isString, Predicate.isNumber)
1222
+ *
1223
+ * isStringOrNumber("a") // => true
1224
+ * ```
1225
+ *
1226
+ * @see {@link and}
1227
+ * @see {@link xor}
1228
+ * @stability stable
1229
+ * @category combinators
1230
+ * @since 2.0.0
1231
+ */
1232
+ const or = /*#__PURE__*/ dual(2, (self, that) => (a) => self(a) || that(a));
1203
1233
  //#endregion
1204
1234
  //#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Hash.js
1205
1235
  /**
@@ -2558,7 +2588,7 @@ const internalCall = /*#__PURE__*/ pickInternalCall();
2558
2588
  //#endregion
2559
2589
  //#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/record.js
2560
2590
  /** @internal */
2561
- function assignProperty$1(self, key, value) {
2591
+ function assignProperty(self, key, value) {
2562
2592
  if (key === "__proto__") Object.defineProperty(self, key, {
2563
2593
  value,
2564
2594
  writable: true,
@@ -2569,7 +2599,7 @@ function assignProperty$1(self, key, value) {
2569
2599
  }
2570
2600
  /** @internal */
2571
2601
  function assignProperties(self, source) {
2572
- for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProperty$1(self, key, source[key]);
2602
+ for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProperty(self, key, source[key]);
2573
2603
  }
2574
2604
  //#endregion
2575
2605
  //#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/internal/core.js
@@ -2625,7 +2655,7 @@ const EffectProto = {
2625
2655
  return {
2626
2656
  _id: "Effect",
2627
2657
  op: this[identifier],
2628
- ...args in this ? { args: this[args] } : void 0
2658
+ ..."~effect/Effect/args" in this ? { args: this[args] } : void 0
2629
2659
  };
2630
2660
  }
2631
2661
  };
@@ -2810,7 +2840,7 @@ function defaultEvaluate(_fiber) {
2810
2840
  const makePrimitiveProto = (options) => ({
2811
2841
  ...EffectProto,
2812
2842
  [identifier]: options.op,
2813
- [evaluate]: options[evaluate] ?? defaultEvaluate,
2843
+ [evaluate]: options["~effect/Effect/evaluate"] ?? defaultEvaluate,
2814
2844
  [contA]: options[contA],
2815
2845
  [contE]: options[contE],
2816
2846
  [contAll]: options[contAll]
@@ -2846,7 +2876,7 @@ const makeExit = (options) => {
2846
2876
  };
2847
2877
  },
2848
2878
  [symbol$1](that) {
2849
- return isExit$1(that) && that._tag === this._tag && equals$1(this[args], that[args]);
2879
+ return isExit$1(that) && that._tag === this._tag && equals$1(this["~effect/Effect/args"], that["~effect/Effect/args"]);
2850
2880
  },
2851
2881
  [symbol$2]() {
2852
2882
  return combine$2(string$1(options.op), hash(this[args]));
@@ -3776,7 +3806,7 @@ const min$2 = (O) => dual(2, (self, that) => self === that || O(self, that) < 1
3776
3806
  * @category comparisons
3777
3807
  * @since 2.0.0
3778
3808
  */
3779
- const max$1 = (O) => dual(2, (self, that) => self === that || O(self, that) > -1 ? self : that);
3809
+ const max$2 = (O) => dual(2, (self, that) => self === that || O(self, that) > -1 ? self : that);
3780
3810
  //#endregion
3781
3811
  //#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Option.js
3782
3812
  /**
@@ -4436,7 +4466,7 @@ const all$4 = (input) => {
4436
4466
  for (const key of Object.keys(input)) {
4437
4467
  const o = input[key];
4438
4468
  if (isNone(o)) return none();
4439
- assignProperty$1(out, key, o.value);
4469
+ assignProperty(out, key, o.value);
4440
4470
  }
4441
4471
  return some$1(out);
4442
4472
  };
@@ -4919,7 +4949,7 @@ const isReference = (u) => !!u[ReferenceTypeId];
4919
4949
  * @category constructors
4920
4950
  * @since 2.0.0
4921
4951
  */
4922
- const empty$9 = () => emptyContext;
4952
+ const empty$8 = () => emptyContext;
4923
4953
  const emptyContext = /*#__PURE__*/ makeUnsafe$6(/*#__PURE__*/ new Map());
4924
4954
  /**
4925
4955
  * Creates a new `Context` with a single service associated to the key.
@@ -5959,6 +5989,60 @@ const Equivalence$2 = (self, that) => matchPair(self, that, {
5959
5989
  */
5960
5990
  const min$1 = /*#__PURE__*/ min$2(Order$2);
5961
5991
  /**
5992
+ * Returns the larger of two Durations.
5993
+ *
5994
+ * **Example** (Selecting the longer duration)
5995
+ *
5996
+ * ```ts import.meta.vitest
5997
+ * import { Duration } from "effect"
5998
+ *
5999
+ * Duration.max(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(5)
6000
+ * ```
6001
+ *
6002
+ * @stability stable
6003
+ * @category ordering
6004
+ * @since 2.0.0
6005
+ */
6006
+ const max$1 = /*#__PURE__*/ max$2(Order$2);
6007
+ /**
6008
+ * Adds two Durations together.
6009
+ *
6010
+ * **Details**
6011
+ *
6012
+ * Infinity addition follows these rules:
6013
+ *
6014
+ * - infinity + infinity = infinity
6015
+ * - infinity + negativeInfinity = zero
6016
+ * - infinity + finite = infinity
6017
+ * - negativeInfinity + negativeInfinity = negativeInfinity
6018
+ * - negativeInfinity + finite = negativeInfinity
6019
+ *
6020
+ * **Example** (Adding durations)
6021
+ *
6022
+ * ```ts import.meta.vitest
6023
+ * import { Duration } from "effect"
6024
+ *
6025
+ * Duration.sum(Duration.seconds(5), Duration.seconds(3)) // => Duration.seconds(8)
6026
+ * ```
6027
+ *
6028
+ * @stability stable
6029
+ * @category math
6030
+ * @since 2.0.0
6031
+ */
6032
+ const sum = /*#__PURE__*/ dual(2, (self, that) => matchPair(self, that, {
6033
+ onMillis: (self, that) => make$38(self + that),
6034
+ onNanos: (self, that) => make$38(self + that),
6035
+ onInfinity: (self, that) => {
6036
+ const s = self.value._tag;
6037
+ const t = that.value._tag;
6038
+ if (s === "Infinity" && t === "NegativeInfinity") return zero$2;
6039
+ if (s === "NegativeInfinity" && t === "Infinity") return zero$2;
6040
+ if (s === "Infinity" || t === "Infinity") return infinity;
6041
+ if (s === "NegativeInfinity" || t === "NegativeInfinity") return negativeInfinity;
6042
+ return zero$2;
6043
+ }
6044
+ }));
6045
+ /**
5962
6046
  * Checks whether two Durations are equal.
5963
6047
  *
5964
6048
  * **Example** (Checking duration equality)
@@ -6505,7 +6589,7 @@ const all$3 = (input) => {
6505
6589
  for (const key of Object.keys(input)) {
6506
6590
  const e = input[key];
6507
6591
  if (isFailure$1(e)) return e;
6508
- assignProperty$1(out, key, e.success);
6592
+ assignProperty(out, key, e.success);
6509
6593
  }
6510
6594
  return succeed$8(out);
6511
6595
  };
@@ -6695,7 +6779,7 @@ const constEmptyIterator = { next() {
6695
6779
  * @category constructors
6696
6780
  * @since 2.0.0
6697
6781
  */
6698
- const empty$8 = () => constEmpty;
6782
+ const empty$7 = () => constEmpty;
6699
6783
  //#endregion
6700
6784
  //#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/Record.js
6701
6785
  /**
@@ -6776,7 +6860,7 @@ const has$3 = /*#__PURE__*/ dual(2, (self, key) => Object.hasOwn(self, key));
6776
6860
  */
6777
6861
  const map$7 = /*#__PURE__*/ dual(2, (self, f) => {
6778
6862
  const out = { ...self };
6779
- for (const key of keys$1(self)) assignProperty$1(out, key, f(self[key], key));
6863
+ for (const key of keys$1(self)) assignProperty(out, key, f(self[key], key));
6780
6864
  return out;
6781
6865
  });
6782
6866
  /**
@@ -6796,43 +6880,6 @@ const map$7 = /*#__PURE__*/ dual(2, (self, f) => {
6796
6880
  */
6797
6881
  const keys$1 = (self) => Object.keys(self);
6798
6882
  /**
6799
- * Mutates a record by assigning a value to a property.
6800
- *
6801
- * **When to use**
6802
- *
6803
- * Use when incrementally constructing a new record and copying it for every
6804
- * property would be unnecessary.
6805
- *
6806
- * **Gotchas**
6807
- *
6808
- * This function mutates `self`. When `key` is `"__proto__"`, it creates an
6809
- * own data property instead of changing the object's prototype.
6810
- *
6811
- * **Example** (Assigning an external key safely)
6812
- *
6813
- * ```ts import.meta.vitest
6814
- * import { Record } from "effect"
6815
- *
6816
- * const key: string = "__proto__" // Assume this comes from external input
6817
- * const value = { polluted: true }
6818
- *
6819
- * const unsafe: Record<string, unknown> = {}
6820
- * unsafe[key] = value
6821
- * Object.getPrototypeOf(unsafe) === value // => true
6822
- *
6823
- * const safe: Record<string, unknown> = {}
6824
- * Record.assignProperty(safe, key, value)
6825
- * Object.getPrototypeOf(safe) === Object.prototype // => true
6826
- * safe[key] === value // => true
6827
- * ```
6828
- *
6829
- * @see {@link set} for an immutable update
6830
- * @stability stable
6831
- * @category mutations
6832
- * @since 4.0.0
6833
- */
6834
- const assignProperty = assignProperty$1;
6835
- /**
6836
6883
  * Checks whether all the keys and values in one record are also found in another record.
6837
6884
  * Uses the provided equivalence function to compare values.
6838
6885
  *
@@ -7751,7 +7798,7 @@ const groupBy = /*#__PURE__*/ dual(2, (self, f) => {
7751
7798
  for (const a of self) {
7752
7799
  const k = f(a);
7753
7800
  if (Object.hasOwn(out, k)) out[k].push(a);
7754
- else assignProperty$1(out, k, [a]);
7801
+ else assignProperty(out, k, [a]);
7755
7802
  }
7756
7803
  return out;
7757
7804
  });
@@ -7788,7 +7835,7 @@ const hashBucketsAdd = (buckets, value) => {
7788
7835
  * @category constructors
7789
7836
  * @since 2.0.0
7790
7837
  */
7791
- const empty$7 = () => [];
7838
+ const empty$6 = () => [];
7792
7839
  /**
7793
7840
  * Wraps a single value in a `NonEmptyArray`.
7794
7841
  *
@@ -8908,7 +8955,7 @@ const externalSpan = (options) => ({
8908
8955
  spanId: options.spanId,
8909
8956
  traceId: options.traceId,
8910
8957
  sampled: options.sampled ?? true,
8911
- annotations: options.annotations ?? empty$9()
8958
+ annotations: options.annotations ?? empty$8()
8912
8959
  });
8913
8960
  /**
8914
8961
  * Context reference for disabling trace propagation.
@@ -9506,7 +9553,7 @@ var FiberImpl = class {
9506
9553
  }
9507
9554
  this._stack.length = 0;
9508
9555
  this._children = void 0;
9509
- this.context = empty$9();
9556
+ this.context = empty$8();
9510
9557
  }
9511
9558
  runLoop(effect) {
9512
9559
  const prevFiber = globalThis[currentFiberTypeId];
@@ -9532,7 +9579,7 @@ var FiberImpl = class {
9532
9579
  current = cache.tracerContext ? cache.tracerContext(current, this) : current[evaluate](this);
9533
9580
  if (current === Yield) {
9534
9581
  const yielded = this._yielded;
9535
- if (ExitTypeId in yielded) {
9582
+ if ("~effect/Exit" in yielded) {
9536
9583
  this._deferredInterrupt = false;
9537
9584
  this._yielded = void 0;
9538
9585
  return yielded;
@@ -9544,7 +9591,7 @@ var FiberImpl = class {
9544
9591
  return Yield;
9545
9592
  }
9546
9593
  } catch (error) {
9547
- if (!hasProperty(current, evaluate)) return exitDie(`Fiber.runLoop: Not a valid effect: ${String(current)}`);
9594
+ if (!hasProperty(current, "~effect/Effect/evaluate")) return exitDie(`Fiber.runLoop: Not a valid effect: ${String(current)}`);
9548
9595
  current = exitDie(error);
9549
9596
  }
9550
9597
  } finally {
@@ -9690,7 +9737,7 @@ const fiberInterruptAs = /*#__PURE__*/ dual((args) => hasProperty(args[0], Fiber
9690
9737
  /** @internal */
9691
9738
  const fiberInterruptAll = (fibers) => withFiber$1((parent) => {
9692
9739
  const annotations = fiberStackAnnotations(parent);
9693
- let fiberArr = empty$7();
9740
+ let fiberArr = empty$6();
9694
9741
  for (const fiber of fibers) {
9695
9742
  fiber.interruptUnsafe(parent.id, annotations);
9696
9743
  fiberArr.push(fiber);
@@ -9700,7 +9747,7 @@ const fiberInterruptAll = (fibers) => withFiber$1((parent) => {
9700
9747
  /** @internal */
9701
9748
  const fiberInterruptAllAs = /*#__PURE__*/ dual(2, (fibers, fiberId) => withFiber$1((parent) => {
9702
9749
  const annotations = fiberStackAnnotations(parent);
9703
- const fiberArr = empty$7();
9750
+ const fiberArr = empty$6();
9704
9751
  for (const fiber of fibers) {
9705
9752
  fiber.interruptUnsafe(fiberId, annotations);
9706
9753
  fiberArr.push(fiber);
@@ -9744,7 +9791,7 @@ const yieldNow$1 = /*#__PURE__*/ (/* @__PURE__ */ makePrimitive({
9744
9791
  fiber.currentDispatcher.scheduleTask(() => {
9745
9792
  if (resumed) return;
9746
9793
  fiber.evaluate(exitVoid);
9747
- }, this[args] ?? 0);
9794
+ }, this["~effect/Effect/args"] ?? 0);
9748
9795
  return fiber.yieldWith(() => {
9749
9796
  resumed = true;
9750
9797
  });
@@ -10140,8 +10187,6 @@ const exitAsVoidAll = (exits) => {
10140
10187
  return failures.length === 0 ? exitVoid : exitFailCause(causeFromReasons(failures));
10141
10188
  };
10142
10189
  /** @internal */
10143
- const service$1 = (service) => service;
10144
- /** @internal */
10145
10190
  const serviceOption$1 = (service) => withFiber$1((fiber) => succeed$7(getOption(fiber.context, service)));
10146
10191
  /** @internal */
10147
10192
  const updateContext$1 = /*#__PURE__*/ dual(2, (self, f) => withFiber$1((fiber) => {
@@ -10702,7 +10747,7 @@ const all$2 = (arg, options) => {
10702
10747
  return suspend$3(() => {
10703
10748
  const out = {};
10704
10749
  return as$1(forEach$2(Object.entries(arg), ([key, effect]) => map$5(options?.mode === "result" ? result$1(effect) : effect, (value) => {
10705
- assignProperty$1(out, key, value);
10750
+ assignProperty(out, key, value);
10706
10751
  }), {
10707
10752
  discard: true,
10708
10753
  concurrency: options?.concurrency
@@ -10714,14 +10759,14 @@ const whileLoop$1 = /*#__PURE__*/ makePrimitive({
10714
10759
  op: "While",
10715
10760
  [contA](value, fiber) {
10716
10761
  this[args].step(value);
10717
- if (this[args].while()) {
10762
+ if (this["~effect/Effect/args"].while()) {
10718
10763
  fiber._stack.push(this);
10719
10764
  return this[args].body();
10720
10765
  }
10721
10766
  return exitVoid;
10722
10767
  },
10723
10768
  [evaluate](fiber) {
10724
- if (this[args].while()) {
10769
+ if (this["~effect/Effect/args"].while()) {
10725
10770
  fiber._stack.push(this);
10726
10771
  return this[args].body();
10727
10772
  }
@@ -10954,7 +10999,7 @@ const fiberRunIn = /*#__PURE__*/ dual(2, (self, scope) => {
10954
10999
  return self;
10955
11000
  });
10956
11001
  /** @internal */
10957
- const runFork$1 = /*#__PURE__*/ runForkWith$1(/*#__PURE__*/ empty$9());
11002
+ const runFork$1 = /*#__PURE__*/ runForkWith$1(/*#__PURE__*/ empty$8());
10958
11003
  /** @internal */
10959
11004
  const runPromiseExitWith = (context) => {
10960
11005
  const runFork = runForkWith$1(context);
@@ -10974,7 +11019,7 @@ const runPromiseWith = (context) => {
10974
11019
  });
10975
11020
  };
10976
11021
  /** @internal */
10977
- const runPromise$1 = /*#__PURE__*/ runPromiseWith(/*#__PURE__*/ empty$9());
11022
+ const runPromise$1 = /*#__PURE__*/ runPromiseWith(/*#__PURE__*/ empty$8());
10978
11023
  /** @internal */
10979
11024
  const runSyncExitWith = (context) => {
10980
11025
  const runFork = runForkWith$1(context);
@@ -10987,7 +11032,7 @@ const runSyncExitWith = (context) => {
10987
11032
  };
10988
11033
  };
10989
11034
  /** @internal */
10990
- const runSyncExit$1 = /*#__PURE__*/ runSyncExitWith(/*#__PURE__*/ empty$9());
11035
+ const runSyncExit$1 = /*#__PURE__*/ runSyncExitWith(/*#__PURE__*/ empty$8());
10991
11036
  /** @internal */
10992
11037
  const runSyncWith = (context) => {
10993
11038
  const runSyncExit = runSyncExitWith(context);
@@ -10998,7 +11043,7 @@ const runSyncWith = (context) => {
10998
11043
  };
10999
11044
  };
11000
11045
  /** @internal */
11001
- const runSync$2 = /*#__PURE__*/ runSyncWith(/*#__PURE__*/ empty$9());
11046
+ const runSync$2 = /*#__PURE__*/ runSyncWith(/*#__PURE__*/ empty$8());
11002
11047
  const succeedTrue = /*#__PURE__*/ succeed$7(true);
11003
11048
  const succeedFalse = /*#__PURE__*/ succeed$7(false);
11004
11049
  var Latch = class {
@@ -11068,6 +11113,8 @@ var Latch = class {
11068
11113
  const makeLatchUnsafe = (open) => new Latch(open ?? false);
11069
11114
  /** @internal */
11070
11115
  const makeLatch = (open) => sync$2(() => makeLatchUnsafe(open));
11116
+ /** @internal */
11117
+ const withTracerEnabled$1 = /*#__PURE__*/ provideService$3(TracerEnabled);
11071
11118
  const bigint0$2 = /*#__PURE__*/ BigInt(0);
11072
11119
  const NoopSpanProto = {
11073
11120
  _tag: "Span",
@@ -11102,7 +11149,7 @@ const makeSpanUnsafe = (fiber, name, options) => {
11102
11149
  if (disablePropagation) span = noopSpan({
11103
11150
  name,
11104
11151
  parent,
11105
- annotations: add(options?.annotations ?? empty$9(), DisablePropagation, true)
11152
+ annotations: add(options?.annotations ?? empty$8(), DisablePropagation, true)
11106
11153
  });
11107
11154
  else {
11108
11155
  const tracer = fiber.cache.tracer ?? nativeTracer;
@@ -11115,7 +11162,7 @@ const makeSpanUnsafe = (fiber, name, options) => {
11115
11162
  span = tracer.span({
11116
11163
  name,
11117
11164
  parent,
11118
- annotations: options?.annotations ?? empty$9(),
11165
+ annotations: options?.annotations ?? empty$8(),
11119
11166
  links,
11120
11167
  startTime: timingEnabled ? clock.currentTimeNanosUnsafe() : bigint0$2,
11121
11168
  kind: options?.kind ?? "internal",
@@ -11260,6 +11307,8 @@ const currentTimeMillis$1 = /*#__PURE__*/ clockWith$1((clock) => clock.currentTi
11260
11307
  /** @internal */
11261
11308
  const TimeoutErrorTypeId = "~effect/Cause/TimeoutError";
11262
11309
  /** @internal */
11310
+ const isTimeoutError$1 = (u) => hasProperty(u, TimeoutErrorTypeId);
11311
+ /** @internal */
11263
11312
  var TimeoutError = class extends (/*#__PURE__*/ TaggedError$2("TimeoutError")) {
11264
11313
  [TimeoutErrorTypeId] = TimeoutErrorTypeId;
11265
11314
  constructor(message) {
@@ -11415,7 +11464,7 @@ const tracerLogger = /*#__PURE__*/ loggerMake(({ cause, fiber, logLevel, message
11415
11464
  const span = fiber.cache.span;
11416
11465
  if (span === void 0 || span._tag === "ExternalSpan") return;
11417
11466
  const attributes = {};
11418
- for (const [key, value] of Object.entries(annotations)) assignProperty$1(attributes, key, value);
11467
+ for (const [key, value] of Object.entries(annotations)) assignProperty(attributes, key, value);
11419
11468
  attributes["effect.fiberId"] = fiber.id;
11420
11469
  attributes["effect.logLevel"] = logLevel.toUpperCase();
11421
11470
  if (cause.reasons.length > 0) attributes["effect.cause"] = causePretty(cause);
@@ -12964,31 +13013,6 @@ const succeed$5 = function() {
12964
13013
  */
12965
13014
  const succeedContext = (context) => fromBuildUnsafe(constant(succeed$7(context)));
12966
13015
  /**
12967
- * An empty layer that provides no services, cannot fail, has no requirements,
12968
- * and performs no construction or finalization work.
12969
- *
12970
- * **When to use**
12971
- *
12972
- * Use as the no-op branch when conditionally composing layers.
12973
- *
12974
- * **Example** (Disabling optional lifecycle work)
12975
- *
12976
- * ```ts import.meta.vitest
12977
- * import { Context, Effect, Layer, Option } from "effect"
12978
- *
12979
- * const Service = Context.Service<string>("Service")
12980
- * const context = Effect.runSync(Effect.scoped(Layer.build(Layer.empty)))
12981
- * Context.getOption(context, Service) // => Option.none()
12982
- * ```
12983
- *
12984
- * @see {@link effectDiscard} for running an effect while providing no services
12985
- *
12986
- * @stability stable
12987
- * @category constructors
12988
- * @since 2.0.0
12989
- */
12990
- const empty$6 = /*#__PURE__*/ succeedContext(/*#__PURE__*/ empty$9());
12991
- /**
12992
13016
  * Constructs a layer lazily that provides a single service.
12993
13017
  *
12994
13018
  * **When to use**
@@ -13180,7 +13204,7 @@ const effectContext = (effect) => fromBuildMemo((_, scope) => provide$3(effect,
13180
13204
  * @category constructors
13181
13205
  * @since 2.0.0
13182
13206
  */
13183
- const effectDiscard = (effect) => effectContext(as$1(effect, empty$9()));
13207
+ const effectDiscard = (effect) => effectContext(as$1(effect, empty$8()));
13184
13208
  const unwrapKey = /*#__PURE__*/ Service("effect/Layer/unwrap");
13185
13209
  /**
13186
13210
  * Unwraps a `Layer` from an `Effect`, flattening the nested structure.
@@ -14255,6 +14279,23 @@ const Done = Done$1;
14255
14279
  */
14256
14280
  const done = done$2;
14257
14281
  /**
14282
+ * Checks whether an arbitrary value is a `TimeoutError`.
14283
+ *
14284
+ * **Example** (Checking the runtime type)
14285
+ *
14286
+ * ```ts import.meta.vitest
14287
+ * import { Cause } from "effect"
14288
+ *
14289
+ * Cause.isTimeoutError(new Cause.TimeoutError()) // => true
14290
+ * Cause.isTimeoutError("nope") // => false
14291
+ * ```
14292
+ *
14293
+ * @stability stable
14294
+ * @category guards
14295
+ * @since 4.0.0
14296
+ */
14297
+ const isTimeoutError = isTimeoutError$1;
14298
+ /**
14258
14299
  * Constructs an `IllegalArgumentError` with an optional message.
14259
14300
  *
14260
14301
  * **Example** (Creating an IllegalArgumentError)
@@ -14846,7 +14887,7 @@ const Number$4 = globalThis.Number;
14846
14887
  * @category math
14847
14888
  * @since 2.0.0
14848
14889
  */
14849
- const max = /*#__PURE__*/ max$1(Number$5);
14890
+ const max = /*#__PURE__*/ max$2(Number$5);
14850
14891
  /**
14851
14892
  * Parses a `number` from a `string` safely using the `Number()` function.
14852
14893
  * The following special string values are supported: "NaN", "Infinity", "-Infinity".
@@ -15645,6 +15686,32 @@ const toStepWithMetadata = (schedule) => clockWith$1((clock) => map$5(toStep(sch
15645
15686
  });
15646
15687
  }));
15647
15688
  /**
15689
+ * Returns a new `Schedule` that adds the delay computed by the specified
15690
+ * effectful function to the next recurrence of the schedule.
15691
+ *
15692
+ * **Example** (Adding extra delay to a schedule)
15693
+ *
15694
+ * ```ts import.meta.vitest
15695
+ * import { Duration, Effect, Schedule } from "effect"
15696
+ *
15697
+ * const schedule = Schedule.recurs(1).pipe(
15698
+ * Schedule.addDelay(() => Effect.succeed("25 millis"))
15699
+ * )
15700
+ * const program = Effect.gen(function*() {
15701
+ * const step = yield* Schedule.toStep(schedule)
15702
+ * const [, delay] = yield* step(0, undefined)
15703
+ * return delay
15704
+ * })
15705
+ *
15706
+ * await Effect.runPromise(program) // => Duration.millis(25)
15707
+ * ```
15708
+ *
15709
+ * @stability stable
15710
+ * @category delays & timeouts
15711
+ * @since 2.0.0
15712
+ */
15713
+ const addDelay = /*#__PURE__*/ dual(2, (self, f) => modifyDelay(self, (metadata) => map$5(f(metadata), (d) => sum(fromInputUnsafe$1(d), metadata.duration))));
15714
+ /**
15648
15715
  * Combines schedules by recurring while at least one schedule wants to recur,
15649
15716
  * using the minimum delay between recurrences and outputting that minimum delay.
15650
15717
  *
@@ -15713,6 +15780,39 @@ const exponential = (base, factor = 2) => {
15713
15780
  }));
15714
15781
  };
15715
15782
  /**
15783
+ * Returns a new `Schedule` that modifies the delay of the next recurrence
15784
+ * of the schedule using the specified effectful function.
15785
+ *
15786
+ * **Example** (Modifying delays from schedule metadata)
15787
+ *
15788
+ * ```ts import.meta.vitest
15789
+ * import { Duration, Effect, Schedule } from "effect"
15790
+ *
15791
+ * const schedule = Schedule.spaced("10 millis").pipe(
15792
+ * Schedule.modifyDelay(({ duration }) => Effect.succeed(Duration.times(duration, 2)))
15793
+ * )
15794
+ * const program = Effect.gen(function*() {
15795
+ * const step = yield* Schedule.toStep(schedule)
15796
+ * const [, delay] = yield* step(0, undefined)
15797
+ * return delay
15798
+ * })
15799
+ *
15800
+ * await Effect.runPromise(program) // => Duration.millis(20)
15801
+ * ```
15802
+ *
15803
+ * @stability stable
15804
+ * @category delays & timeouts
15805
+ * @since 2.0.0
15806
+ */
15807
+ const modifyDelay = /*#__PURE__*/ dual(2, (self, f) => fromStep(map$5(toStep(self), (step) => {
15808
+ const meta = metadataFn();
15809
+ return (now, input) => flatMap$4(step(now, input), ([output, duration]) => map$5(f({
15810
+ ...meta(now, input),
15811
+ output,
15812
+ duration
15813
+ }), (replacement) => [output, fromInputUnsafe$1(replacement)]));
15814
+ })));
15815
+ /**
15716
15816
  * Returns a new `Schedule` that outputs the inputs of the specified schedule.
15717
15817
  *
15718
15818
  * **Example** (Passing inputs through as outputs)
@@ -18701,36 +18801,6 @@ const provide = provide$1;
18701
18801
  */
18702
18802
  const provideContext$2 = provideContext$3;
18703
18803
  /**
18704
- * Accesses a service from the context.
18705
- *
18706
- * **Example** (Accessing a required service)
18707
- *
18708
- * ```ts import.meta.vitest
18709
- * import { Context, Effect } from "effect"
18710
- *
18711
- * interface Database {
18712
- * readonly query: (sql: string) => Effect.Effect<string>
18713
- * }
18714
- *
18715
- * const Database = Context.Service<Database>("Database")
18716
- *
18717
- * const program = Effect.gen(function*() {
18718
- * const db = yield* Effect.service(Database)
18719
- * return yield* db.query("SELECT * FROM users")
18720
- * })
18721
- *
18722
- * const runnable = Effect.provideService(program, Database, {
18723
- * query: (sql) => Effect.succeed(`Result for: ${sql}`)
18724
- * })
18725
- * Effect.runSync(runnable) // => "Result for: SELECT * FROM users"
18726
- * ```
18727
- *
18728
- * @stability stable
18729
- * @category accessors
18730
- * @since 4.0.0
18731
- */
18732
- const service = service$1;
18733
- /**
18734
18804
  * Optionally accesses a service from the environment.
18735
18805
  *
18736
18806
  * **When to use**
@@ -19596,6 +19666,32 @@ const forever = forever$2;
19596
19666
  */
19597
19667
  const repeat = repeat$1;
19598
19668
  /**
19669
+ * Enables or disables tracing for spans created by the given effect.
19670
+ *
19671
+ * **Details**
19672
+ *
19673
+ * When `enabled` is `false`, spans created inside the effect are not registered
19674
+ * with the current tracer and do not propagate as normal trace parents.
19675
+ *
19676
+ * **Example** (Enabling or disabling tracing)
19677
+ *
19678
+ * ```ts import.meta.vitest
19679
+ * import { Effect } from "effect"
19680
+ *
19681
+ * const program = Effect.succeed(42).pipe(
19682
+ * Effect.withSpan("my-span"),
19683
+ * // the span will not be registered with the tracer
19684
+ * Effect.withTracerEnabled(false)
19685
+ * )
19686
+ * Effect.runSync(program) // => 42
19687
+ * ```
19688
+ *
19689
+ * @stability stable
19690
+ * @category tracing
19691
+ * @since 2.0.0
19692
+ */
19693
+ const withTracerEnabled = withTracerEnabled$1;
19694
+ /**
19599
19695
  * Adds an annotation to the current span if available.
19600
19696
  *
19601
19697
  * **Example** (Annotating the current span)
@@ -20478,7 +20574,7 @@ const annotateLogs = /*#__PURE__*/ dual((args) => isEffect(args[0]), (effect, ..
20478
20574
  ...args[0]
20479
20575
  } : { ...annotations };
20480
20576
  if (args.length === 1) return newAnnotations;
20481
- else assignProperty$1(newAnnotations, args[0], args[1]);
20577
+ else assignProperty(newAnnotations, args[0], args[1]);
20482
20578
  return newAnnotations;
20483
20579
  }));
20484
20580
  /**
@@ -25041,7 +25137,7 @@ const takeAll = (self) => takeBetween(self, 1, Number.POSITIVE_INFINITY);
25041
25137
  * @since 4.0.0
25042
25138
  */
25043
25139
  const collect = (self) => suspend$3(() => {
25044
- const out = empty$7();
25140
+ const out = empty$6();
25045
25141
  return as$1(catchDone(whileLoop$1({
25046
25142
  while: constTrue,
25047
25143
  body: constant(takeAll(self)),
@@ -29225,7 +29321,7 @@ const takeWhile = /*#__PURE__*/ dual(2, (self, predicate) => transformPull(self,
29225
29321
  * @since 2.0.0
29226
29322
  */
29227
29323
  const mapAccum = /*#__PURE__*/ dual((args) => isStream(args[0]), (self, initial, f, options) => fromChannel(mapAccum$1(self.channel, initial, (state, arr) => {
29228
- const acc = empty$7();
29324
+ const acc = empty$6();
29229
29325
  for (let index = 0; index < arr.length; index++) {
29230
29326
  const [newState, values] = f(state, arr[index]);
29231
29327
  state = newState;
@@ -29236,7 +29332,7 @@ const mapAccum = /*#__PURE__*/ dual((args) => isStream(args[0]), (self, initial,
29236
29332
  const arr = options.onHalt(state);
29237
29333
  return isReadonlyArrayNonEmpty(arr) ? of(arr) : emptyArr;
29238
29334
  } } : void 0)));
29239
- const emptyArr = /*#__PURE__*/ empty$7();
29335
+ const emptyArr = /*#__PURE__*/ empty$6();
29240
29336
  /**
29241
29337
  * Accumulates state across the stream, emitting the initial state and each updated state.
29242
29338
  *
@@ -29263,7 +29359,7 @@ const emptyArr = /*#__PURE__*/ empty$7();
29263
29359
  const scan = /*#__PURE__*/ dual(3, (self, initial, f) => suspend(() => {
29264
29360
  const seed = initial();
29265
29361
  return concat(succeed$2(seed), fromChannel(mapAccum$1(self.channel, () => seed, (state, arr) => {
29266
- const states = empty$7();
29362
+ const states = empty$6();
29267
29363
  for (let index = 0; index < arr.length; index++) {
29268
29364
  state = f(state, arr[index]);
29269
29365
  states.push(state);
@@ -29950,6 +30046,28 @@ const toReadableStreamWith = /*#__PURE__*/ dual((args) => isStream(args[0]), (se
29950
30046
  }, options?.strategy);
29951
30047
  });
29952
30048
  /**
30049
+ * Converts a stream to a `ReadableStream`.
30050
+ *
30051
+ * **Details**
30052
+ *
30053
+ * See https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream.
30054
+ *
30055
+ * **Example** (Converting a stream to a ReadableStream)
30056
+ *
30057
+ * ```ts import.meta.vitest
30058
+ * import { Stream } from "effect"
30059
+ *
30060
+ * const readableStream = Stream.toReadableStream(Stream.make(1, 2, 3))
30061
+ * const values = await globalThis.Array.fromAsync(readableStream)
30062
+ * values // => [ 1, 2, 3 ]
30063
+ * ```
30064
+ *
30065
+ * @stability stable
30066
+ * @category destructors
30067
+ * @since 2.0.0
30068
+ */
30069
+ const toReadableStream = /*#__PURE__*/ dual((args) => isStream(args[0]), (self, options) => toReadableStreamWith(self, empty$8(), options));
30070
+ /**
29953
30071
  * Creates an Effect that builds a ReadableStream from the stream.
29954
30072
  *
29955
30073
  * **When to use**
@@ -31279,7 +31397,73 @@ const getCode = (charCode) => {
31279
31397
  };
31280
31398
  //#endregion
31281
31399
  //#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/SchemaGetter.js
31400
+ const runGetter = (self, input, options) => {
31401
+ switch (self._tag) {
31402
+ case "Passthrough": return succeed$4(input);
31403
+ case "Transform": return succeed$4(map$9(input, self.transform));
31404
+ case "TransformOptional": return succeed$4(self.transform(input));
31405
+ case "TransformEffect": return isNone(input) ? succeedNone : mapEager(self.transform(input.value, options), some$1);
31406
+ case "TransformOptionalEffect": return self.transform(input, options);
31407
+ }
31408
+ };
31282
31409
  const makeGetter = (fields) => Object.assign(Object.create(Prototype$1), fields);
31410
+ const composeOptionalEffect = (first, second) => transformOptionalEffect((input, options) => flatMapEager(runGetter(first, input, options), (output) => runGetter(second, output, options)));
31411
+ /**
31412
+ * Composes two getters by passing the output of the first to the second.
31413
+ *
31414
+ * **When to use**
31415
+ *
31416
+ * Use when a schema conversion requires multiple transformation steps.
31417
+ *
31418
+ * **Details**
31419
+ *
31420
+ * Composition forwards `Option.none()` to getters that handle optional values
31421
+ * and skips getters that operate only on present values. Composing with
31422
+ * {@link passthrough} returns the other getter unchanged. The function supports
31423
+ * both `compose(first, second)` and `first.pipe(compose(second))`.
31424
+ *
31425
+ * **Example** (Parsing and normalizing a number)
31426
+ *
31427
+ * ```ts import.meta.vitest
31428
+ * import { Effect, Option, SchemaGetter } from "effect"
31429
+ *
31430
+ * const getter = SchemaGetter.compose(
31431
+ * SchemaGetter.transform<number, string>(Number),
31432
+ * SchemaGetter.transform((n) => Math.max(0, n))
31433
+ * )
31434
+ *
31435
+ * Effect.runSync(SchemaGetter.run(getter, Option.some("-1"), {})) // => Option.some(0)
31436
+ * ```
31437
+ *
31438
+ * @stability stable
31439
+ * @category combining
31440
+ * @since 4.0.0
31441
+ */
31442
+ const compose = /*#__PURE__*/ dual(2, (self, other) => {
31443
+ if (self._tag === "Passthrough") return other;
31444
+ if (other._tag === "Passthrough") return self;
31445
+ switch (self._tag) {
31446
+ case "Transform": switch (other._tag) {
31447
+ case "Transform": return transform$1((input) => other.transform(self.transform(input)));
31448
+ case "TransformOptional": return transformOptional$1((input) => other.transform(map$9(input, self.transform)));
31449
+ case "TransformEffect": return transformEffect$1((input, options) => other.transform(self.transform(input), options));
31450
+ case "TransformOptionalEffect": return composeOptionalEffect(self, other);
31451
+ }
31452
+ case "TransformOptional": switch (other._tag) {
31453
+ case "Transform": return transformOptional$1((input) => map$9(self.transform(input), other.transform));
31454
+ case "TransformOptional": return transformOptional$1((input) => other.transform(self.transform(input)));
31455
+ case "TransformEffect":
31456
+ case "TransformOptionalEffect": return composeOptionalEffect(self, other);
31457
+ }
31458
+ case "TransformEffect": switch (other._tag) {
31459
+ case "Transform": return transformEffect$1((input, options) => mapEager(self.transform(input, options), other.transform));
31460
+ case "TransformOptional":
31461
+ case "TransformOptionalEffect": return composeOptionalEffect(self, other);
31462
+ case "TransformEffect": return transformEffect$1((input, options) => flatMapEager(self.transform(input, options), (output) => other.transform(output, options)));
31463
+ }
31464
+ case "TransformOptionalEffect": return composeOptionalEffect(self, other);
31465
+ }
31466
+ });
31283
31467
  /**
31284
31468
  * Creates a getter that always fails with the given issue.
31285
31469
  *
@@ -31736,6 +31920,90 @@ function stringifyJson(options) {
31736
31920
  }));
31737
31921
  }
31738
31922
  /**
31923
+ * Parses a string into a record of key-value pairs.
31924
+ *
31925
+ * **When to use**
31926
+ *
31927
+ * Use when you need a schema getter to parse a present encoded string that
31928
+ * contains delimited key-value pairs (e.g. `"a=1,b=2"`).
31929
+ *
31930
+ * **Details**
31931
+ *
31932
+ * The getter is pure and never fails. It splits the string by `separator`
31933
+ * (default `,`) and then each pair at the first `keyValueSeparator` (default `=`),
31934
+ * preserving the rest of the value. An empty `keyValueSeparator` uses the first
31935
+ * two characters as the key and value. Pairs missing a key or value are skipped.
31936
+ *
31937
+ * **Example** (Parsing a key-value string)
31938
+ *
31939
+ * ```ts import.meta.vitest
31940
+ * import { Effect, Option, SchemaGetter } from "effect"
31941
+ *
31942
+ * const parse = SchemaGetter.splitKeyValue<string>()
31943
+ * const result = Effect.runSync(SchemaGetter.run(parse, Option.some("a=1,b=2"), {}))
31944
+ * result // => Option.some({ a: "1", b: "2" })
31945
+ * ```
31946
+ *
31947
+ * @see {@link joinKeyValue} for the inverse operation
31948
+ * @see {@link split} to split into an array of strings
31949
+ *
31950
+ * @stability stable
31951
+ * @category splitting
31952
+ * @since 4.0.0
31953
+ */
31954
+ function splitKeyValue$1(options) {
31955
+ const separator = options?.separator ?? ",";
31956
+ const keyValueSeparator = options?.keyValueSeparator ?? "=";
31957
+ return transform$1((input) => input.split(separator).reduce((acc, pair) => {
31958
+ if (keyValueSeparator === "") {
31959
+ const [key, value] = pair.split("");
31960
+ if (key && value) assignProperty(acc, key, value);
31961
+ return acc;
31962
+ }
31963
+ const index = pair.indexOf(keyValueSeparator);
31964
+ if (index <= 0) return acc;
31965
+ const key = pair.slice(0, index);
31966
+ const value = pair.slice(index + keyValueSeparator.length);
31967
+ if (value) assignProperty(acc, key, value);
31968
+ return acc;
31969
+ }, {}));
31970
+ }
31971
+ /**
31972
+ * Joins a record of key-value pairs into a delimited string.
31973
+ *
31974
+ * **When to use**
31975
+ *
31976
+ * Use when you need a schema getter to serialize a present decoded record as a
31977
+ * delimited key-value string.
31978
+ *
31979
+ * **Details**
31980
+ *
31981
+ * The getter is pure and never fails. It joins entries with `separator`
31982
+ * (default `,`) and joins each key and value with `keyValueSeparator` (default
31983
+ * `=`).
31984
+ *
31985
+ * **Example** (Joining key-value records)
31986
+ *
31987
+ * ```ts import.meta.vitest
31988
+ * import { Effect, Option, SchemaGetter } from "effect"
31989
+ *
31990
+ * const join = SchemaGetter.joinKeyValue()
31991
+ * const result = Effect.runSync(SchemaGetter.run(join, Option.some({ a: "1", b: "2" }), {}))
31992
+ * result // => Option.some("a=1,b=2")
31993
+ * ```
31994
+ *
31995
+ * @see {@link splitKeyValue} for the inverse operation
31996
+ *
31997
+ * @stability stable
31998
+ * @category combining
31999
+ * @since 4.0.0
32000
+ */
32001
+ function joinKeyValue(options) {
32002
+ const separator = options?.separator ?? ",";
32003
+ const keyValueSeparator = options?.keyValueSeparator ?? "=";
32004
+ return transform$1((input) => Object.entries(input).map(([key, value]) => `${key}${keyValueSeparator}${value}`).join(separator));
32005
+ }
32006
+ /**
31739
32007
  * Encodes a `Uint8Array` or string to a Base64 string.
31740
32008
  *
31741
32009
  * **Details**
@@ -31790,6 +32058,66 @@ function encodeBase64() {
31790
32058
  function decodeBase64() {
31791
32059
  return transformEffect$1((input, options) => mapErrorEager(fromResult(decode(input)), () => new InvalidValue({ expected: "a valid Base64 string" }, input, options)));
31792
32060
  }
32061
+ /**
32062
+ * Encodes a present string using `encodeURIComponent`.
32063
+ *
32064
+ * **Details**
32065
+ *
32066
+ * - Skips `None` inputs.
32067
+ * - May throw a `URIError` for malformed surrogate pairs; this exception is not
32068
+ * converted into an `Issue`.
32069
+ *
32070
+ * **Example** (Encoding a URI component)
32071
+ *
32072
+ * ```ts import.meta.vitest
32073
+ * import { Effect, Option, SchemaGetter } from "effect"
32074
+ *
32075
+ * const encode = SchemaGetter.encodeUriComponent<string>()
32076
+ * const result = Effect.runSync(SchemaGetter.run(encode, Option.some("hello world"), {}))
32077
+ * result // => Option.some("hello%20world")
32078
+ * ```
32079
+ *
32080
+ * @see {@link decodeUriComponent} for the inverse operation
32081
+ *
32082
+ * @stability stable
32083
+ * @category encoding
32084
+ * @since 4.0.0
32085
+ */
32086
+ function encodeUriComponent() {
32087
+ return transform$1(encodeURIComponent);
32088
+ }
32089
+ /**
32090
+ * Decodes a URI component encoded string using `decodeURIComponent`.
32091
+ *
32092
+ * **Details**
32093
+ *
32094
+ * - Fails with `SchemaIssue.InvalidValue` if the input contains malformed percent-encoding sequences.
32095
+ *
32096
+ * **Example** (Decoding a URI component)
32097
+ *
32098
+ * ```ts import.meta.vitest
32099
+ * import { Effect, Option, SchemaGetter } from "effect"
32100
+ *
32101
+ * const decode = SchemaGetter.decodeUriComponent<string>()
32102
+ * const result = await Effect.runPromise(SchemaGetter.run(decode, Option.some("hello%20world"), {}))
32103
+ * result // => Option.some("hello world")
32104
+ * ```
32105
+ *
32106
+ * @see {@link encodeUriComponent} for the inverse operation
32107
+ *
32108
+ * @stability stable
32109
+ * @category decoding
32110
+ * @since 4.0.0
32111
+ */
32112
+ function decodeUriComponent() {
32113
+ return transformEffect$1((input, options) => {
32114
+ try {
32115
+ return succeed$4(globalThis.decodeURIComponent(input));
32116
+ } catch {
32117
+ return fail$3(new InvalidValue({ expected: "a valid URI component" }, input, options));
32118
+ }
32119
+ });
32120
+ }
31793
32121
  //#endregion
31794
32122
  //#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/BigDecimal.js
31795
32123
  /**
@@ -32326,6 +32654,46 @@ function transform(options) {
32326
32654
  function transformOptional(options) {
32327
32655
  return new Transformation(transformOptional$1(options.decode), transformOptional$1(options.encode));
32328
32656
  }
32657
+ /**
32658
+ * Transforms a string into a record of key-value pairs and
32659
+ * encodes a record of key-value pairs into a string.
32660
+ *
32661
+ * **When to use**
32662
+ *
32663
+ * Use when you need a schema transformation to parse query-string-like or
32664
+ * config-file-like strings into records.
32665
+ *
32666
+ * **Details**
32667
+ *
32668
+ * Decoding splits the string by `separator` (default `","`) into pairs, then
32669
+ * splits each pair by `keyValueSeparator` (default `"="`). Encoding joins the
32670
+ * record back into a string using the same separators. The transformation is
32671
+ * round-trippable when keys and values do not contain the separators.
32672
+ *
32673
+ * **Example** (Parsing key-value pairs)
32674
+ *
32675
+ * ```ts import.meta.vitest
32676
+ * import { Schema, SchemaTransformation } from "effect"
32677
+ *
32678
+ * const Config = Schema.String.pipe(
32679
+ * Schema.decodeTo(
32680
+ * Schema.Record(Schema.String, Schema.String),
32681
+ * SchemaTransformation.splitKeyValue({ separator: ";", keyValueSeparator: ":" })
32682
+ * )
32683
+ * )
32684
+ * Schema.decodeSync(Config)("host:localhost;port:3000") // => { host: "localhost", port: "3000" }
32685
+ * ```
32686
+ *
32687
+ * @see {@link trim}
32688
+ * @see {@link snakeToCamel}
32689
+ *
32690
+ * @stability stable
32691
+ * @category transforming
32692
+ * @since 4.0.0
32693
+ */
32694
+ function splitKeyValue(options) {
32695
+ return new Transformation(splitKeyValue$1(options), joinKeyValue(options));
32696
+ }
32329
32697
  const passthrough_ = /*#__PURE__*/ new Transformation(/*#__PURE__*/ passthrough$1(), /*#__PURE__*/ passthrough$1());
32330
32698
  function passthrough() {
32331
32699
  return passthrough_;
@@ -32513,6 +32881,40 @@ const urlFromString = /*#__PURE__*/ transformEffect({
32513
32881
  */
32514
32882
  const uint8ArrayFromBase64String = /*#__PURE__*/ new Transformation(/*#__PURE__*/ decodeBase64(), /*#__PURE__*/ encodeBase64());
32515
32883
  /**
32884
+ * Decodes a URI component encoded string into a UTF-8 string and encodes a
32885
+ * UTF-8 string into a URI component encoded string.
32886
+ *
32887
+ * **When to use**
32888
+ *
32889
+ * Use when you need a schema transformation to store structured data in URL
32890
+ * query parameters or fragments, such as composing with `Schema.parseJson` to
32891
+ * round-trip JSON through a URL.
32892
+ *
32893
+ * **Details**
32894
+ *
32895
+ * Decoding calls `decodeURIComponent` and fails if the input contains malformed
32896
+ * percent-encoding sequences. Encoding calls `encodeURIComponent`.
32897
+ *
32898
+ * **Example** (Defining a URI component schema)
32899
+ *
32900
+ * ```ts import.meta.vitest
32901
+ * import { Schema, SchemaTransformation } from "effect"
32902
+ *
32903
+ * const schema = Schema.String.pipe(
32904
+ * Schema.decodeTo(Schema.String, SchemaTransformation.stringFromUriComponent)
32905
+ * )
32906
+ * Schema.decodeSync(schema)("hello%20world") // => "hello world"
32907
+ * ```
32908
+ *
32909
+ * @see {@link stringFromBase64String}
32910
+ * @see `Schema.StringFromUriComponent` - a ready-made schema wrapping this transformation.
32911
+ *
32912
+ * @stability stable
32913
+ * @category encoding
32914
+ * @since 4.0.0
32915
+ */
32916
+ const stringFromUriComponent = /*#__PURE__*/ new Transformation(/*#__PURE__*/ decodeUriComponent(), /*#__PURE__*/ encodeUriComponent());
32917
+ /**
32516
32918
  * Decodes a JSON string with `JSON.parse` and encodes a value with
32517
32919
  * `JSON.stringify`.
32518
32920
  *
@@ -33421,7 +33823,7 @@ const Objects = class extends ASTNodeImpl {
33421
33823
  const value = exitValue === sameExit ? inputValue : exitValue[args];
33422
33824
  if (k2 !== missing && value !== missing) {
33423
33825
  if (hasProperties && (expectedKeys.has(key) || expectedKeys.has(typeof k2 === "number" ? globalThis.String(k2) : k2))) return void_$2;
33424
- assignProperty$1(s.out, k2, value);
33826
+ assignProperty(s.out, k2, value);
33425
33827
  }
33426
33828
  return void_$2;
33427
33829
  };
@@ -33495,7 +33897,7 @@ const Objects = class extends ASTNodeImpl {
33495
33897
  }
33496
33898
  }
33497
33899
  else if (parseIndexes) {
33498
- const keyPairs = empty$7();
33900
+ const keyPairs = empty$6();
33499
33901
  for (let i = 0; i < indexCount; i++) {
33500
33902
  const index = indexes[i];
33501
33903
  const keys = indexKeys?.[i] ?? (index.is.parameter === string ? Object.keys(record) : getIndexSignatureKeys(record, index.is.parameter, options));
@@ -33543,7 +33945,7 @@ const Objects = class extends ASTNodeImpl {
33543
33945
  const exit = property.parser(value, options);
33544
33946
  if (!effectIsExit(exit)) return resume(state, index, exit);
33545
33947
  if (exit === sameExit) {
33546
- if (hasKey) assignProperty$1(out, name, value);
33948
+ if (hasKey) assignProperty(out, name, value);
33547
33949
  continue;
33548
33950
  }
33549
33951
  const terminal = stepProperty(state, property, exit);
@@ -33587,7 +33989,7 @@ function stepProperty(s, p, exit) {
33587
33989
  if (exit === sameExit) return;
33588
33990
  const value = exit[args];
33589
33991
  if (value !== missing) {
33590
- assignProperty$1(s.out, p.name, value);
33992
+ assignProperty(s.out, p.name, value);
33591
33993
  return;
33592
33994
  }
33593
33995
  delete s.out[p.name];
@@ -33604,7 +34006,7 @@ const parsePropertiesOptions = {
33604
34006
  onItem(s, p) {
33605
34007
  if (!hasPropertySignature(s.input, p.name)) return p.parser(missing, s.options);
33606
34008
  const value = s.input[p.name];
33607
- assignProperty$1(s.out, p.name, value);
34009
+ assignProperty(s.out, p.name, value);
33608
34010
  return p.parser(value, s.options);
33609
34011
  },
33610
34012
  step: stepProperty
@@ -35895,7 +36297,7 @@ const fromReadonlyRecord = (cookies) => {
35895
36297
  */
35896
36298
  const fromIterable$4 = (cookies) => {
35897
36299
  const record = {};
35898
- for (const cookie of cookies) assignProperty$1(record, cookie.name, cookie);
36300
+ for (const cookie of cookies) assignProperty(record, cookie.name, cookie);
35899
36301
  return fromReadonlyRecord(record);
35900
36302
  };
35901
36303
  /**
@@ -36121,7 +36523,7 @@ function parseHeader(header) {
36121
36523
  const key = header.substring(pos, eqIdx++).trim();
36122
36524
  if (!Object.hasOwn(result, key)) {
36123
36525
  const val = header.charCodeAt(eqIdx) === 34 ? header.substring(eqIdx + 1, terminatorPos - 1).trim() : header.substring(eqIdx, terminatorPos).trim();
36124
- assignProperty$1(result, key, !(val.indexOf("%") === -1) ? tryDecodeURIComponent(val) : val);
36526
+ assignProperty(result, key, !(val.indexOf("%") === -1) ? tryDecodeURIComponent(val) : val);
36125
36527
  }
36126
36528
  pos = terminatorPos + 1;
36127
36529
  }
@@ -37534,7 +37936,7 @@ const decodeQueryKey = (key) => {
37534
37936
  return key;
37535
37937
  }
37536
37938
  };
37537
- const currentRedactedNames = () => get$5(globalThis["~effect/Fiber/currentFiber"]?.context ?? empty$9(), CurrentRedactedNames);
37939
+ const currentRedactedNames = () => get$5(globalThis["~effect/Fiber/currentFiber"]?.context ?? empty$8(), CurrentRedactedNames);
37538
37940
  /**
37539
37941
  * Query parameter names or patterns to redact in inspection, spans and errors.
37540
37942
  *
@@ -37941,7 +38343,7 @@ function run(ast) {
37941
38343
  function parserResult(result, input) {
37942
38344
  if (result === sameExit) return succeed$4(input);
37943
38345
  if (!effectIsExit(result)) return flatMapEager(result, getValue);
37944
- return result[args] === missing ? getValue(missing) : result;
38346
+ return result["~effect/Effect/args"] === missing ? getValue(missing) : result;
37945
38347
  }
37946
38348
  function runWithCompiler(compiler, ast) {
37947
38349
  let parser;
@@ -37949,7 +38351,7 @@ function runWithCompiler(compiler, ast) {
37949
38351
  const result = (parser ??= compiler(ast))(input, options ?? defaultParseOptions);
37950
38352
  if (result === sameExit) return succeed$4(input);
37951
38353
  if (!effectIsExit(result)) return flatMapEager(result, getValue);
37952
- return result[args] === missing ? getValue(missing) : result;
38354
+ return result["~effect/Effect/args"] === missing ? getValue(missing) : result;
37953
38355
  };
37954
38356
  }
37955
38357
  function asExit(parser) {
@@ -38244,7 +38646,7 @@ function transformSchema(node, transform) {
38244
38646
  case "else":
38245
38647
  case "contentSchema": transformed = walk(value, inEmbeddedResource);
38246
38648
  }
38247
- assignProperty$1(out, key, transformed);
38649
+ assignProperty(out, key, transformed);
38248
38650
  }
38249
38651
  transform(out, inEmbeddedResource);
38250
38652
  return out;
@@ -38257,13 +38659,13 @@ function rewriteRefs(schema, rewrite) {
38257
38659
  });
38258
38660
  }
38259
38661
  function rewriteSchemaRef(schema, rewrite) {
38260
- if (typeof schema.$ref === "string") assignProperty$1(schema, "$ref", rewrite(schema.$ref, "$ref"));
38261
- if (typeof schema.$dynamicRef === "string") assignProperty$1(schema, "$dynamicRef", rewrite(schema.$dynamicRef, "$dynamicRef"));
38662
+ if (typeof schema.$ref === "string") assignProperty(schema, "$ref", rewrite(schema.$ref, "$ref"));
38663
+ if (typeof schema.$dynamicRef === "string") assignProperty(schema, "$dynamicRef", rewrite(schema.$dynamicRef, "$dynamicRef"));
38262
38664
  }
38263
38665
  function mapObject(value, f) {
38264
38666
  if (!isObject(value)) return void 0;
38265
38667
  const out = {};
38266
- for (const key of Object.keys(value)) assignProperty$1(out, key, f(value[key], key));
38668
+ for (const key of Object.keys(value)) assignProperty(out, key, f(value[key], key));
38267
38669
  return out;
38268
38670
  }
38269
38671
  function createsResource(id) {
@@ -38480,7 +38882,7 @@ function collectJsonSchemaAnnotations(annotations, options) {
38480
38882
  if (isJson(contentSchema)) out.contentSchema = contentSchema;
38481
38883
  if (options?.includeAnnotationKey !== void 0) for (const [key, value] of Object.entries(annotations)) {
38482
38884
  if (jsonSchemaAnnotationExcludedKeys.has(key) || !options.includeAnnotationKey(key)) continue;
38483
- if (isJson(value)) assignProperty$1(out, key, value);
38885
+ if (isJson(value)) assignProperty(out, key, value);
38484
38886
  }
38485
38887
  return Object.keys(out).length === 0 ? void 0 : out;
38486
38888
  }
@@ -38626,7 +39028,7 @@ function compileJsonSchema(representations, rootPaths, references, options) {
38626
39028
  }
38627
39029
  const schemas = map$6(compiledSchemas, finalizeJsonSchema);
38628
39030
  const definitions = {};
38629
- for (const key of referenceKeys) if (!definitionAliases.has(key)) assignProperty$1(definitions, key, finalizeJsonSchema(compiledDefinitions.get(key)[0]));
39031
+ for (const key of referenceKeys) if (!definitionAliases.has(key)) assignProperty(definitions, key, finalizeJsonSchema(compiledDefinitions.get(key)[0]));
38630
39032
  return {
38631
39033
  dialect: "draft-2020-12",
38632
39034
  schemas,
@@ -38856,7 +39258,7 @@ function compileJsonSchema(representations, rootPaths, references, options) {
38856
39258
  "type"
38857
39259
  ], dependencies);
38858
39260
  const annotations = collectJsonSchemaAnnotations(property.annotations, options);
38859
- assignProperty$1(properties, name, annotations === void 0 ? schema : registerPendingOneOf(appendJsonSchema(schema, annotations)));
39261
+ assignProperty(properties, name, annotations === void 0 ? schema : registerPendingOneOf(appendJsonSchema(schema, annotations)));
38860
39262
  if (!property.isOptional) required.push(name);
38861
39263
  }
38862
39264
  if (representation.propertySignatures.length > 0) out.properties = properties;
@@ -38889,7 +39291,7 @@ function compileJsonSchema(representations, rootPaths, references, options) {
38889
39291
  if (patterns.length === 0) additionalPropertySchemas.push(type);
38890
39292
  else for (const pattern of patterns) {
38891
39293
  const previous = patternProperties[pattern];
38892
- assignProperty$1(patternProperties, pattern, previous === void 0 ? type : previous === false || type === false ? false : registerPendingOneOf(appendJsonSchema(previous, type)));
39294
+ assignProperty(patternProperties, pattern, previous === void 0 ? type : previous === false || type === false ? false : registerPendingOneOf(appendJsonSchema(previous, type)));
38893
39295
  }
38894
39296
  }
38895
39297
  const hasPatternProperties = Object.keys(patternProperties).length > 0;
@@ -39069,7 +39471,7 @@ function toRepresentations(asts, options) {
39069
39471
  buildingReferences.add(reference);
39070
39472
  const representation = on(ast);
39071
39473
  buildingReferences.delete(reference);
39072
- assignProperty$1(references, reference, representation);
39474
+ assignProperty(references, reference, representation);
39073
39475
  }
39074
39476
  return {
39075
39477
  _tag: "Reference",
@@ -39366,7 +39768,7 @@ function buildStruct(source, f) {
39366
39768
  const res = f(k, source[k]);
39367
39769
  if (res) {
39368
39770
  const [nk, nv] = res;
39369
- assignProperty$1(out, nk, nv);
39771
+ assignProperty(out, nk, nv);
39370
39772
  }
39371
39773
  }
39372
39774
  return out;
@@ -40236,7 +40638,7 @@ function Struct(fields) {
40236
40638
  * @category constructors
40237
40639
  * @since 3.10.0
40238
40640
  */
40239
- function Record(key, value) {
40641
+ function Record$1(key, value) {
40240
40642
  return make$11(record(key.ast, value.ast), {
40241
40643
  key,
40242
40644
  value
@@ -41291,6 +41693,40 @@ function fromJsonString(schema, options) {
41291
41693
  globalThis.File;
41292
41694
  globalThis.FormData;
41293
41695
  globalThis.URLSearchParams;
41696
+ /**
41697
+ * Decodes a URI component encoded string into a UTF-8 string.
41698
+ * Can be used to store data in a URL.
41699
+ *
41700
+ * **Details**
41701
+ *
41702
+ * Decoding:
41703
+ * - A **valid** URI component encoded string is decoded as a UTF-8 `string`.
41704
+ *
41705
+ * Encoding:
41706
+ * - A `string` is encoded as a URI component encoded string.
41707
+ *
41708
+ * **Example** (Decoding URI component strings)
41709
+ *
41710
+ * ```ts import.meta.vitest
41711
+ * import { Schema } from "effect"
41712
+ *
41713
+ * const PaginationSchema = Schema.Struct({
41714
+ * maxItemPerPage: Schema.Number,
41715
+ * page: Schema.Number
41716
+ * })
41717
+ *
41718
+ * const UrlSchema = Schema.StringFromUriComponent.pipe(
41719
+ * Schema.decodeTo(Schema.fromJsonString(PaginationSchema))
41720
+ * )
41721
+ *
41722
+ * Schema.encodeSync(UrlSchema)({ maxItemPerPage: 10, page: 1 }) // => "%7B%22maxItemPerPage%22%3A10%2C%22page%22%3A1%7D"
41723
+ * ```
41724
+ *
41725
+ * @stability stable
41726
+ * @category schemas
41727
+ * @since 3.12.0
41728
+ */
41729
+ const StringFromUriComponent = /*#__PURE__*/ String$2.annotate({ expected: "a URI component encoded string that will be decoded as a UTF-8 string" }).pipe(/*#__PURE__*/ decodeTo(String$2, stringFromUriComponent));
41294
41730
  const Base64String = /*#__PURE__*/ String$2.annotate({
41295
41731
  expected: "a base64 encoded string that will be decoded as Uint8Array",
41296
41732
  format: "byte",
@@ -42221,6 +42657,14 @@ const MutableJson = /*#__PURE__*/ make$11(/*#__PURE__*/ annotate(MutableJson$1,
42221
42657
  */
42222
42658
  const TypeId$6 = "~effect/http/HttpClientError";
42223
42659
  /**
42660
+ * Returns `true` when a value is an `HttpClientError`.
42661
+ *
42662
+ * @stability unstable
42663
+ * @category guards
42664
+ * @since 4.0.0
42665
+ */
42666
+ const isHttpClientError = (u) => hasProperty(u, TypeId$6);
42667
+ /**
42224
42668
  * Error wrapper for HTTP client failures, exposing the failed request and the optional response through its `reason`.
42225
42669
  *
42226
42670
  * @stability unstable
@@ -43142,7 +43586,7 @@ var ServerClient = class {
43142
43586
  annotations;
43143
43587
  constructor(id) {
43144
43588
  this.id = id;
43145
- this.annotations = empty$9();
43589
+ this.annotations = empty$8();
43146
43590
  }
43147
43591
  annotate(tag, value) {
43148
43592
  this.annotations = add(this.annotations, tag, value);
@@ -43270,7 +43714,7 @@ const make$9 = (tag, options) => {
43270
43714
  successSchema: options?.stream ? Stream(successSchema, errorSchema) : successSchema,
43271
43715
  errorSchema: options?.stream ? Never : errorSchema,
43272
43716
  defectSchema,
43273
- annotations: empty$9(),
43717
+ annotations: empty$8(),
43274
43718
  middlewares: /* @__PURE__ */ new Set()
43275
43719
  });
43276
43720
  };
@@ -46378,7 +46822,7 @@ function decodeExtraPair(layout, r, out, seen, keys) {
46378
46822
  issuePath[issuePathLen++] = key;
46379
46823
  const value = decodeFieldPayload(signature.layout, signature.wireMask, kind, r);
46380
46824
  issuePathLen--;
46381
- if (value !== ABSENT) assignProperty$1(out, key, value);
46825
+ if (value !== ABSENT) assignProperty(out, key, value);
46382
46826
  }
46383
46827
  function decodeExtraKey(keys, code, keyCode, r) {
46384
46828
  if ((code & 1) === 1) {
@@ -46517,7 +46961,7 @@ function decodeStruct(layout, r) {
46517
46961
  const value = decodeFieldPayload(field.layout, field.wireMask, kind, r);
46518
46962
  issuePathLen--;
46519
46963
  if (value !== ABSENT) {
46520
- assignProperty$1(out, field.name, value);
46964
+ assignProperty(out, field.name, value);
46521
46965
  if (index < 32) presentMask |= 1 << index;
46522
46966
  else (presentWide ??= /* @__PURE__ */ new Set()).add(index);
46523
46967
  }
@@ -46568,7 +47012,7 @@ function decodeStructPositional(layout, r) {
46568
47012
  issuePath[issuePathLen++] = field.name;
46569
47013
  const value = field.inline ? decodeSlot(field.layout, r) : decodeSized(field.layout, r);
46570
47014
  issuePathLen--;
46571
- if (value !== ABSENT) assignProperty$1(out, field.name, value);
47015
+ if (value !== ABSENT) assignProperty(out, field.name, value);
46572
47016
  else if (!field.optional) {
46573
47017
  (issues ??= []).push(missingKeyIssue(field));
46574
47018
  if (r.options.errors !== "all") break;
@@ -46717,7 +47161,7 @@ function decodeRunSlot(plan, tables, slot, out, r) {
46717
47161
  if (table === void 0 || ref >= table.length) invalid("a known back-reference", void 0, r.options);
46718
47162
  const value = table[ref];
46719
47163
  if (value === ABSENT) return -1;
46720
- assignProperty$1(out, slot.name, value);
47164
+ assignProperty(out, slot.name, value);
46721
47165
  return slot.index;
46722
47166
  }
46723
47167
  const saved = r.enter(code / 2);
@@ -46739,7 +47183,7 @@ function decodeRunSlot(plan, tables, slot, out, r) {
46739
47183
  r.exit(saved);
46740
47184
  if (kind === INTERN_SELF) (tables[slot.index] ??= []).push(value);
46741
47185
  if (value === ABSENT) return -1;
46742
- assignProperty$1(out, slot.name, value);
47186
+ assignProperty(out, slot.name, value);
46743
47187
  return slot.index;
46744
47188
  }
46745
47189
  function decodeArray(layout, r) {
@@ -46865,7 +47309,7 @@ function decodeUnion(layout, r) {
46865
47309
  }
46866
47310
  const payload = decodeChecked(variant.payload, r);
46867
47311
  if (payload === ABSENT) return ABSENT;
46868
- if (!variant.tuple) for (const sentinel of variant.sentinels) assignProperty$1(payload, sentinel.key, sentinel.literal);
47312
+ if (!variant.tuple) for (const sentinel of variant.sentinels) assignProperty(payload, sentinel.key, sentinel.literal);
46869
47313
  return payload;
46870
47314
  }
46871
47315
  const member = layout.byKind.get(kind);
@@ -46880,7 +47324,7 @@ function decodeUnionPositional(layout, r) {
46880
47324
  if (position === void 0) invalid("known union member", void 0, r.options);
46881
47325
  const payload = decodeChecked(position.layout, r);
46882
47326
  const variant = position.variant;
46883
- if (variant !== void 0 && !variant.tuple && payload !== ABSENT) for (const sentinel of variant.sentinels) assignProperty$1(payload, sentinel.key, sentinel.literal);
47327
+ if (variant !== void 0 && !variant.tuple && payload !== ABSENT) for (const sentinel of variant.sentinels) assignProperty(payload, sentinel.key, sentinel.literal);
46884
47328
  return payload;
46885
47329
  }
46886
47330
  function decodeReason(layout, r) {
@@ -47541,7 +47985,7 @@ const makeProto = (options) => Object.assign(function() {}, RpcGroupProto, {
47541
47985
  */
47542
47986
  const make$7 = (...rpcs) => makeProto({
47543
47987
  requests: new Map(rpcs.map((rpc) => [rpc._tag, rpc])),
47544
- annotations: empty$9()
47988
+ annotations: empty$8()
47545
47989
  });
47546
47990
  //#endregion
47547
47991
  //#region ../../node_modules/.pnpm/effect@4.0.5/node_modules/effect/dist/ConfigProvider.js
@@ -48224,7 +48668,7 @@ const toConfigCursorAST = /*#__PURE__*/ memoize((root) => {
48224
48668
  const out = {};
48225
48669
  for (const key of keys) {
48226
48670
  const child = yield* loadChildCursor(cursor, key);
48227
- if (child.node !== void 0) assignProperty$1(out, key, child);
48671
+ if (child.node !== void 0) assignProperty(out, key, child);
48228
48672
  }
48229
48673
  return out;
48230
48674
  });
@@ -48354,6 +48798,7 @@ const PortSchema = /*#__PURE__*/ Int.check(/*#__PURE__*/ isBetween({
48354
48798
  minimum: 1,
48355
48799
  maximum: 65535
48356
48800
  }));
48801
+ const isPath = (u) => isString$2(u) || globalThis.Array.isArray(u);
48357
48802
  /**
48358
48803
  * Creates a config that always succeeds with the given value, ignoring the
48359
48804
  * provider entirely.
@@ -48414,6 +48859,15 @@ function succeed(value) {
48414
48859
  function String$1(name) {
48415
48860
  return schema(String$2, name);
48416
48861
  }
48862
+ function Record(key, value, pathOrOptions, options) {
48863
+ const hasPath = isPath(pathOrOptions);
48864
+ const record = Record$1(key, value);
48865
+ const split = splitKeyValue(hasPath ? options : pathOrOptions);
48866
+ return schema(Union([record, String$2.pipe(decodeTo(toCodecStringTree(record), {
48867
+ decode: split.decode,
48868
+ encode: compose(passthrough$1({ strict: false }), split.encode)
48869
+ }))]), hasPath ? pathOrOptions : void 0);
48870
+ }
48417
48871
  /**
48418
48872
  * Creates a config for a port number (integer in 1–65535).
48419
48873
  *
@@ -50216,4 +50670,4 @@ var RpcContracts = class extends make$7(make$9("notes.watch", {
50216
50670
  payload: Struct({ id: NoteId })
50217
50671
  })) {};
50218
50672
  //#endregion
50219
- export { ServerClient as $, all$1 as $a, merge$3 as $c, toStringUnknown as $d, mapError$1 as $i, dedupe as $l, fromIterable$2 as $n, match as $o, FileSystem as $r, withSpan as $s, TaggedError as $t, parts as $u, layer$8 as A, mebibytes as Aa, annotate$1 as Ac, match$6 as Ad, mkUint8Array as Ai, isSuccess as Al, optional as An, forEach$1 as Ao, PropertySignature as Ar, suspend$2 as As, Class as At, some as Au, withDefault as B, formatIp as Ba, hasInterruptsOnly as Bc, mapInput as Bd, runLast as Bi, sync$2 as Bl, withDecodingDefaultKey as Bn, interrupt$1 as Bo, resolveDescription as Br, try_ as Bs, Json as Bt, headUnsafe as Bu, runMain as C, interruptAllAs as Ca, trimEnd as Cc, getOrNull as Cd, mapAccum as Ci, makeUnsafe$5 as Cl, isMinLength as Cn, fail$3 as Co, make$18 as Cr, runSync$1 as Cs, InvalidUrlError as Ct, lastNonEmpty as Cu, QuitError as D, fromInput$2 as Da, Clock as Dc, liftPredicate as Dd, mapError as Di, interrupt$2 as Dl, make$11 as Dn, flatMapEager as Do, FilterGroup as Dr, serviceOption as Ds, ArraySchema as Dt, prepend$1 as Du, layer$1 as E, badArgument as Ea, round as Ec, isSome as Ed, mapEffect as Ei, failCause$5 as El, isSchemaError as En, flatMap$2 as Eo, Filter as Er, service as Es, Any as Et, of as Eu, URL$1 as F, makeRecordUnsafe as Fa, filterInterruptors as Fc, toArray as Fd, run$1 as Fi, fiberEnterUninterruptibleUnsafe as Fl, toEncoded as Fn, fromOption as Fo, isOptional as Fr, timeout as Fs, Error$1 as Ft, has$3 as Fu, json as G, ipv4ToOctets as Ga, squash as Gc, withFiber$1 as Gd, tap as Gi, make$36 as Gl, CurrentRedactedNames as Gn, logError as Go, transform as Gr, useSpan as Gs, NonEmptyArray as Gt, isFailure$1 as Gu, withRun as H, inetAddressFromIpString as Ha, isNoSuchElementError as Hc, PipeInspectableProto as Hd, succeed$2 as Hi, ParentSpan as Hl, omit as Hn, isEffect as Ho, string as Hr, uninterruptibleMask as Hs, Literals as Ht, fail$7 as Hu, map as I, nameServerFromInput as Ia, findError as Ic, Number$5 as Id, runCollect as Ii, forkUnsafe$1 as Il, toJsonSchemaDocument as In, fromResult as Io, mapOrSame as Ir, timeoutOption as Is, Exit as It, keys$1 as Iu, RequestId as J, isLoopback as Ja, effect as Jc, setStackTraceLimit as Jd, unwrap$2 as Ji, TaggedClass as Jl, redactUrl as Jn, logWarning as Jo, formatIso as Jr, whileLoop as Js, Number$1 as Jt, match$4 as Ju, layerJson as K, isInetAddressV6 as Ka, CurrentMemoMap as Kc, assignProperty$1 as Kd, toReadableStreamEffect as Ki, nativeTracer as Kl, empty as Kn, logFatal as Ko, transformOptional as Kr, void_$1 as Ks, Null as Kt, isResult as Ku, option as L, domainNameFromStringUnsafe as La, fromReasons as Lc, String$6 as Ld, runForEach as Li, makeSpanUnsafe as Ll, toType as Ln, gen as Lo, null_ as Lr, timeoutOrElse as Ls, FalseLiterals as Lt, map$7 as Lu, Port as M, Dns as Ma, die$3 as Mc, orElse as Md, orDie as Mi, ConsoleRef as Ml, tag as Mn, forkChild as Mo, Union$1 as Mr, tap$1 as Ms, DateTimeUtcFromString as Mt, take$3 as Mu, Redacted as N, DnsError as Na, done as Nc, orElseSome as Nd, pipeThroughChannel as Ni, effectIsExit as Nl, toCodecJson as Nn, forkIn as No, decodeTo$1 as Nr, tapCause as Ns, Defect as Nt, takeRight as Nu, Terminal as O, fromInputUnsafe as Oa, Done as Oc, liftThrowable as Od, mergeAll as Oi, isExit as Ol, makeFilter as On, fn as Oo, Literal$1 as Or, succeed$4 as Os, Boolean$1 as Ot, reduce as Ou, String$1 as P, make$33 as Pa, fail$4 as Pc, some$1 as Pd, provideService as Pi, fiberEnterInterruptibleUnsafe as Pl, toCodecStringTree as Pn, forkScoped as Po, isNever as Pr, tapError as Ps, Duration as Pt, assignProperty as Pu, constPong as Q, acquireRelease as Qa, launch as Qc, toJson as Qd, map$2 as Qi, contains as Ql, has as Qn, mapError$2 as Qo, Path$1 as Qr, withParentSpan as Qs, Struct as Qt, millis as Qu, succeed as R, NetAddressError as Ra, hasDies as Rc, combine$1 as Rd, runForEachArray as Ri, onExitUnsafe as Rl, withConstructorDefault as Rn, ignore as Ro, optionalKey$1 as Rr, transposeOption as Rs, Finite as Rt, toEntries as Ru, make as S, interruptAll as Sa, trim as Sc, getOrElse as Sd, pipeArguments as Sf, map$1 as Si, isDeferred as Sl, isMaxLength as Sn, exit as So, fromWritable as Sr, runForkWith as Ss, HttpClientErrorSchema as St, last$1 as Su, errorReported as T, runIn as Ta, parse as Tc, isNone as Td, mapArrayEffect as Ti, fail$5 as Tl, isSchema as Tn, filterOrFail as To, Arrays as Tr, scoped as Ts, TransportError as Tt, match$3 as Tu, withRunClient as U, ipFromString as Ua, makeDieReason as Uc, contA as Ud, suspend as Ui, Tracer as Ul, getReferenceKey as Un, log as Uo, toEncoded$1 as Ur, updateContext as Us, MutableJson as Ut, failVoid as Uu, Stdio as V, formatUrlUnsafe as Va, interruptors as Vc, Prototype as Vd, scan as Vi, DisablePropagation as Vl, isSchemaError$1 as Vn, interruptible as Vo, resolveIdentifier as Vr, uninterruptible as Vs, Literal as Vt, make$37 as Vu, RpcSerialization as W, ipFromStringUnsafe as Wa, prettyErrors as Wc, contE as Wd, takeUntil as Wi, externalSpan as Wl, encodeUnknownEffect$1 as Wn, logDebug as Wo, passthrough as Wr, updateService as Ws, Never as Wt, fromOption$2 as Wu, constEof as X, isUnicast as Xa, effectDiscard as Xc, Class$2 as Xd, fromPull$1 as Xi, taggedEnum as Xl, unwrap$1 as Xn, map$3 as Xo, toEpochMillis as Xr, withFiberSucceed as Xs, Redacted$1 as Xt, try_$2 as Xu, ResponseDefectEncoded as Y, isPrivate as Ya, effectContext as Yc, BaseProto as Yd, last as Yi, TaggedError$1 as Yl, setAll as Yn, makeSpanScoped as Yo, now as Yr, withFiber as Ys, Record as Yt, succeed$8 as Yu, constPing as Z, unixPathAddress as Za, empty$6 as Zc, NodeInspectSymbol as Zd, fromTransform$1 as Zi, appendAll$1 as Zl, fromIterable as Zn, mapEager as Zo, defaultFormatter as Zr, withLogSpan as Zs, String$2 as Zt, format$1 as Zu, Organization as _, unbounded as _a, replaceAll as _c, flatMap$7 as _d, constant as _f, fromPubSub as _i, MinimumLogLevel as _l, encodeUnknownEffect as _n, context as _o, toSetCookieHeaders as _r, repeat as _s, layerWebSocketConstructorGlobal as _t, headNonEmpty as _u, FxConversation as a, collect as aa, isDoneCause as ac, empty$9 as ad, isIterable as af, die as ai, unwrap$5 as al, Uint8ArrayFromBase64 as an, asVoid as ao, isRedactedName$1 as ar, onExit$1 as as, spanAttributes as at, filter$2 as au, LogToStderr as b, getCurrent as ba, startsWith as bc, fromNullishOr as bd, identity as bf, groupedWithin as bi, doneUnsafe as bl, isGreaterThanOrEqualTo as bn, die$2 as bo, toArrayBuffer as br, retryOrElse as bs, EncodeError as bt, isReadonlyArrayNonEmpty as bu, GitHubIssue as c, make$27 as ca, endsWith as cc, getOrUndefinedUnsafe as cd, isNotUndefined as cf, fail$1 as ci, addFinalizerExit as cl, Unknown as cn, catchCause$1 as co, set$1 as cr, option$1 as cs, makeCollectorUnsafe as ct, findFirstIndex as cu, ImageType as d, offerUnsafe as da, isNonEmpty as dc, makeUnsafe$6 as dd, isUndefined as df, flatMap as di, forkUnsafe as dl, decodeTo as dn, catchFilter$2 as do, make$16 as dr, promise as ds, SocketError as dt, fromIterable$6 as du, mkUint8Array$1 as ea, zipWith as ec, seconds as ed, format$2 as ef, catchReason as ei, mergeAll$2 as el, TrueLiterals as en, andThen as eo, get as er, matchCauseEffect as es, exitSchema as et, dedupeAdjacentWith as eu, Note as f, shutdown as fa, length as fc, merge$4 as fd, compose as ff, flattenIterable as fi, make$35 as fl, decodeUnknownEffect as fn, catchIf as fo, value as fr, provide as fs, SocketErrorReason as ft, get$4 as fu, OEmbed as g, publishUnsafe as ga, replace as gc, filter$3 as gd, constVoid as gf, fromIterable$5 as gi, CurrentLogSpans as gl, encodeTo as gn, catch_$2 as go, parseHeader as gr, raceFirst as gs, layerWebSocket as gt, head as gu, NotesError as h, takeAll as ha, repeat$2 as hc, exists as hd, constUndefined as hf, fromEffect as hi, CurrentLogAnnotations as hl, encodeSync as hn, catchTags$1 as ho, isEmpty as hr, provideServiceEffect as hs, fromWebSocket as ht, groupBy as hu, FileType as i, bounded as ia, catchDone as ic, add as id, hasProperty as if, decodeText$1 as ii, succeedContext as il, Uint8Array$1 as in, asSome as io, fromRecordUnsafe as ir, onError as is, isStreamSchema as it, every$1 as iu, Crypto as j, zero$1 as ja, combine as jc, none as jd, onEnd as ji, succeed$6 as jl, optionalKey as jn, forever as jo, Suspend as jr, sync as js, DateTimeUtc as jt, sort as ju, isQuitError as k, gibibytes as ka, StackTrace as kc, map$9 as kd, mkString as ki, isFailure as kl, mutable as kn, fnUntraced as ko, Objects as kr, succeedNone as ks, BooleanLiterals as kt, reverse as ku, GitHubReadme as l, offer as la, includes as lc, getUnsafe$1 as ld, isObject as lf, failCause as li, close as ll, decodeEffect as ln, catchCauseIf as lo, setAll$1 as lr, orDie$2 as ls, CloseEvent as lt, findLast as lu, NoteJson as m, take$1 as ma, padStart as mc, contains$1 as md, constTrue as mf, fromChannel as mi, provide$3 as ml, encodeEffect as mn, catchTag as mo, fromSetCookie as mr, provideService$2 as ms, SocketReadError as mt, getUnsafe as mu, Capture as n, make$26 as na, min as nc, Reference as nd, equals$1 as nf, catch_ as ni, provideMerge as nl, URL$2 as nn, annotateLogs as no, empty$2 as nr, matchEffect as ns, ClientAbort as nt, empty$7 as nu, FxStatus as o, end as oa, Random as oc, get$5 as od, isNotNull as of, empty$4 as oi, Scope as ol, UndefinedOr as on, cached as oo, merge as or, onExitPrimitive as os, spanName as ot, filterMap as ou, NoteId as p, shutdownUnsafe as pa, match$1 as pc, all$4 as pd, constFalse$1 as pf, fromArray as pi, makeUnsafe$4 as pl, decodeUnknownOption as pn, catchReason$2 as po, empty$3 as pr, provideContext$2 as ps, SocketOpenError as pt, getSomes as pu, layerSchemaBinary as q, isLinkLocal as qa, buildWithMemoMap as qc, getStackTraceLimit as qd, toReadableStreamWith as qi, Error$2 as ql, fromInput as qn, logInfo as qo, encode as qr, when as qs, NullOr as qt, isSuccess$1 as qu, Extraction as r, makeUnsafe$1 as ra, spaced as rc, Service as rd, hash as rf, concat as ri, succeed$5 as rl, URLFromString as rn, as as ro, fromInput$1 as rr, never$1 as rs, getStreamSchemas as rt, ensure as ru, GitHubComment as s, failCause$2 as sa, camelToSnake as sc, getOrUndefined as sd, isNotNullish as sf, ensuring as si, addFinalizer$1 as sl, Union as sn, callback$1 as so, remove$1 as sr, onInterrupt as ss, Collector as st, findFirst as su, RpcContracts as t, pipeTo as ta, exponential as tc, toMillis as td, redact$2 as tf, catchTags as ti, provide$2 as tl, Tuple as tn, annotateCurrentSpan as to, CurrentRedactedNames$1 as tr, matchCauseEffectEager as ts, isWrapper as tt, drop as tu, GitHubRepo as u, offerAll as ua, isEmpty$1 as uc, make$39 as ud, isTagged as uf, filter as ui, closeUnsafe as ul, decodeSync as un, catchDefect as uo, isRedacted as ur, orElseSucceed as us, Socket as ut, flatMap$5 as uu, Reader as v, makeUnsafe$2 as va, slice as vc, flatMapNullishOr as vd, dual as vf, fromQueue as vi, TracerTimingEnabled as vl, fromJsonString as vn, contextWith as vo, fromReadable as vr, result as vs, DecodeError as vt, isArrayNonEmpty as vu, errorExitCode as w, interruptAs as wa, max as wc, getOrUndefined$1 as wd, mapArray as wi, die$4 as wl, isPattern as wn, failCause$3 as wo, ChildProcessSpawner as wr, scope as ws, StatusCodeError as wt, map$6 as wu, layer as x, interrupt as xa, toLowerCase as xc, fromUndefinedOr as xd, pipe as xf, limitBytes as xi, into as xl, isInt as xn, ensuring$2 as xo, toUint8Array as xr, runFork as xs, HttpClientError as xt, join$1 as xu, TikTokPage as y, await_ as ya, split as yc, flatten$5 as yd, flow as yf, fromReadableStream as yi, _await as yl, is as yn, delay as yo, pipeThroughDuplex as yr, retry as ys, EmptyBodyError as yt, isReadonlyArrayEmpty as yu, unwrap as z, formatInet as za, hasInterrupts as zc, flip$1 as zd, runHead as zi, reportCauseUnsafe as zl, withDecodingDefault as zn, ignoreCause as zo, replaceChecks as zr, tryPromise as zs, Int as zt, empty$8 as zu };
50673
+ export { constPong as $, isPrivate as $a, isNoSuchElementError as $c, combine$1 as $d, last as $i, DisablePropagation as $l, unwrap$1 as $n, makeSpanScoped as $o, toEpochMillis as $r, withFiber as $s, String$2 as $t, make$37 as $u, layer$8 as A, badArgument as Aa, split as Ac, exists as Ad, constUndefined as Af, mapError as Ai, TracerTimingEnabled as Al, make$11 as An, flatMap$2 as Ao, FilterGroup as Ar, serviceOption as As, Boolean$1 as At, headNonEmpty as Au, unwrap as B, nameServerFromInput as Ba, StackTrace as Bc, isNone as Bd, runForEach as Bi, isExit as Bl, toType as Bn, fromResult as Bo, null_ as Br, timeoutOption as Bs, Finite as Bt, prepend$1 as Bu, runMain as C, await_ as Ca, length as Cc, getOrUndefinedUnsafe as Cd, isObject as Cf, groupedWithin as Ci, forkUnsafe as Cl, isGreaterThanOrEqualTo as Cn, delay as Co, toArrayBuffer as Cr, retry as Cs, HttpClientErrorSchema as Ct, flatMap$5 as Cu, QuitError as D, interruptAllAs as Da, replace as Dc, merge$4 as Dd, compose$1 as Df, mapArray as Di, CurrentLogAnnotations as Dl, isPattern as Dn, fail$3 as Do, ChildProcessSpawner as Dr, runSync$1 as Ds, isHttpClientError as Dt, getUnsafe as Du, layer$1 as E, interruptAll as Ea, repeat$2 as Ec, makeUnsafe$6 as Ed, or as Ef, mapAccum as Ei, provide$3 as El, isMinLength as En, exit as Eo, make$18 as Er, runForkWith as Es, TransportError as Et, getSomes as Eu, String$1 as F, zero$1 as Fa, max as Fc, fromNullishOr as Fd, identity as Ff, orDie as Fi, makeUnsafe$5 as Fl, tag as Fn, forever as Fo, Union$1 as Fr, sync as Fs, Defect as Ft, last$1 as Fu, RpcSerialization as G, formatUrlUnsafe as Ga, fail$4 as Gc, match$6 as Gd, succeed$2 as Gi, effectIsExit as Gl, omit as Gn, interruptible as Go, string as Gr, uninterruptible as Gs, MutableJson as Gt, take$3 as Gu, Stdio as H, NetAddressError as Ha, combine as Hc, liftPredicate as Hd, runHead as Hi, isSuccess as Hl, withDecodingDefault as Hn, ignore as Ho, replaceChecks as Hr, transposeOption as Hs, Json as Ht, reverse as Hu, URL$1 as I, Dns as Ia, parse as Ic, fromUndefinedOr as Id, pipe as If, pipeThroughChannel as Ii, die$4 as Il, toCodecJson as In, forkChild as Io, decodeTo$1 as Ir, tap$1 as Is, Duration as It, lastNonEmpty as Iu, layerSchemaBinary as J, ipFromStringUnsafe as Ja, fromReasons as Jc, orElseSome as Jd, tap as Ji, forkUnsafe$1 as Jl, CurrentRedactedNames as Jn, logDebug as Jo, transform as Jr, updateService as Js, Null as Jt, keys$1 as Ju, json as K, inetAddressFromIpString as Ka, filterInterruptors as Kc, none as Kd, suspend as Ki, fiberEnterInterruptibleUnsafe as Kl, getReferenceKey as Kn, isEffect as Ko, toEncoded$1 as Kr, uninterruptibleMask as Ks, Never as Kt, takeRight as Ku, option as L, DnsError as La, round as Lc, getOrElse as Ld, pipeArguments as Lf, provideService as Li, fail$5 as Ll, toCodecStringTree as Ln, forkIn as Lo, isNever as Lr, tapCause as Ls, Error$1 as Lt, map$6 as Lu, Port as M, fromInputUnsafe as Ma, toLowerCase as Mc, flatMap$7 as Md, constant as Mf, mkString as Mi, doneUnsafe as Ml, mutable as Mn, fn as Mo, Objects as Mr, succeed$4 as Ms, Class as Mt, isReadonlyArrayEmpty as Mu, Record as N, gibibytes as Na, trim as Nc, flatMapNullishOr as Nd, dual as Nf, mkUint8Array as Ni, into as Nl, optional as Nn, fnUntraced as No, PropertySignature as Nr, succeedNone as Ns, DateTimeUtc as Nt, isReadonlyArrayNonEmpty as Nu, Terminal as O, interruptAs as Oa, replaceAll as Oc, all$4 as Od, constFalse$1 as Of, mapArrayEffect as Oi, CurrentLogSpans as Ol, isSchema as On, failCause$3 as Oo, Arrays as Or, scope as Os, Any as Ot, groupBy as Ou, Redacted as P, mebibytes as Pa, trimEnd as Pc, flatten$5 as Pd, flow as Pf, onEnd as Pi, isDeferred as Pl, optionalKey as Pn, forEach$1 as Po, Suspend as Pr, suspend$2 as Ps, DateTimeUtcFromString as Pt, join$1 as Pu, constPing as Q, isLoopback as Qa, interruptors as Qc, String$6 as Qd, unwrap$2 as Qi, sync$2 as Ql, setAll as Qn, logWarning as Qo, now as Qr, whileLoop as Qs, Redacted$1 as Qt, headUnsafe as Qu, schema as R, make$33 as Ra, Clock as Rc, getOrNull as Rd, run$1 as Ri, failCause$5 as Rl, toEncoded as Rn, forkScoped as Ro, isOptional as Rr, tapError as Rs, Exit as Rt, match$3 as Ru, make as S, makeUnsafe$2 as Sa, isNonEmpty as Sc, getOrUndefined as Sd, isNotUndefined as Sf, fromReadableStream as Si, closeUnsafe as Sl, is as Sn, contextWith as So, pipeThroughDuplex as Sr, result as Ss, HttpClientError as St, findLast as Su, errorReported as T, interrupt as Ta, padStart as Tc, make$39 as Td, isUndefined as Tf, map$1 as Ti, makeUnsafe$4 as Tl, isMaxLength as Tn, ensuring$2 as To, fromWritable as Tr, runFork as Ts, StatusCodeError as Tt, get$4 as Tu, withRun as U, formatInet as Ua, die$3 as Uc, liftThrowable as Ud, runLast as Ui, succeed$6 as Ul, withDecodingDefaultKey as Un, ignoreCause as Uo, resolveDescription as Ur, tryPromise as Us, Literal as Ut, some as Uu, withDefault as V, domainNameFromStringUnsafe as Va, annotate$1 as Vc, isSome as Vd, runForEachArray as Vi, isFailure as Vl, withConstructorDefault as Vn, gen as Vo, optionalKey$1 as Vr, timeoutOrElse as Vs, Int as Vt, reduce as Vu, withRunClient as W, formatIp as Wa, done as Wc, map$9 as Wd, scan as Wi, ConsoleRef as Wl, isSchemaError$1 as Wn, interrupt$1 as Wo, resolveIdentifier as Wr, try_ as Ws, Literals as Wt, sort as Wu, ResponseDefectEncoded as X, isInetAddressV6 as Xa, hasInterrupts as Xc, toArray as Xd, toReadableStreamEffect as Xi, onExitUnsafe as Xl, fromInput as Xn, logFatal as Xo, encode as Xr, void_$1 as Xs, Number$1 as Xt, toEntries as Xu, RequestId as Y, ipv4ToOctets as Ya, hasDies as Yc, some$1 as Yd, toReadableStream as Yi, makeSpanUnsafe as Yl, empty as Yn, logError as Yo, transformOptional as Yr, useSpan as Ys, NullOr as Yt, map$7 as Yu, constEof as Z, isLinkLocal as Za, hasInterruptsOnly as Zc, Number$5 as Zd, toReadableStreamWith as Zi, reportCauseUnsafe as Zl, redactUrl as Zn, logInfo as Zo, formatIso as Zr, when as Zs, Record$1 as Zt, empty$7 as Zu, Organization as _, shutdownUnsafe as _a, Random as _c, Reference as _d, hash as _f, fromChannel as _i, unwrap$5 as _l, encodeEffect as _n, catchReason$2 as _o, fromSetCookie as _r, provideContext$2 as _s, layerWebSocket as _t, every$1 as _u, FxConversation as a, pipeTo as aa, zipWith as ac, isSuccess$1 as ad, contE as af, catch_ as ai, buildWithMemoMap as al, URL$2 as an, annotateCurrentSpan as ao, empty$2 as ar, matchCauseEffectEager as as, isStreamSchema as at, random as au, LogToStderr as b, publishUnsafe as ba, includes as bc, empty$8 as bd, isNotNull as bf, fromPubSub as bi, addFinalizerExit as bl, encodeUnknownEffect as bn, catch_$2 as bo, toSetCookieHeaders as br, raceFirst as bs, EmptyBodyError as bt, findFirst as bu, GitHubIssue as c, bounded as ca, forever$1 as cc, try_$2 as cd, getStackTraceLimit as cf, die as ci, effectDiscard as cl, Uint8ArrayFromBase64 as cn, asSome as co, isRedactedName$1 as cr, onError as cs, Collector as ct, TaggedError$1 as cu, ImageType as d, failCause$2 as da, min as dc, max$1 as dd, Class$2 as df, fail$1 as di, mergeAll$2 as dl, Unknown as dn, callback$1 as do, set$1 as dr, onInterrupt as ds, Socket as dt, contains as du, fromPull$1 as ea, withFiberSucceed as ec, fail$7 as ed, flip$1 as ef, defaultFormatter as ei, isTimeoutError as el, StringFromUriComponent as en, isUnicast as eo, fromIterable as er, map$3 as es, ServerClient as et, ParentSpan as eu, Note as f, make$27 as fa, passthrough$2 as fc, millis as fd, NodeInspectSymbol as ff, failCause as fi, provide$2 as fl, decodeEffect as fn, catchCause$1 as fo, setAll$1 as fr, option$1 as fs, SocketError as ft, dedupe as fu, OEmbed as g, shutdown as ga, isDoneCause as gc, zero$2 as gd, equals$1 as gf, fromArray as gi, sync$1 as gl, decodeUnknownOption as gn, catchIf as go, empty$3 as gr, provide as gs, fromWebSocket as gt, ensure as gu, NotesError as h, offerUnsafe as ha, catchDone as hc, toMillis as hd, redact$2 as hf, flattenIterable as hi, succeedContext as hl, decodeUnknownEffect as hn, catchFilter$2 as ho, value as hr, promise as hs, SocketReadError as ht, empty$6 as hu, FileType as i, mkUint8Array$1 as ia, withTracerEnabled as ic, isResult as id, contA as if, catchTags as ii, CurrentMemoMap as il, Tuple as in, andThen as io, CurrentRedactedNames$1 as ir, matchCauseEffect as is, getStreamSchemas as it, nativeTracer as iu, Crypto as j, fromInput$2 as ja, startsWith as jc, filter$3 as jd, constVoid as jf, mergeAll as ji, _await as jl, makeFilter as jn, flatMapEager as jo, Literal$1 as jr, sleep as js, BooleanLiterals as jt, isArrayNonEmpty as ju, isQuitError as k, runIn as ka, slice as kc, contains$1 as kd, constTrue as kf, mapEffect as ki, MinimumLogLevel as kl, isSchemaError as kn, filterOrFail as ko, Filter as kr, scoped as ks, ArraySchema as kt, head as ku, GitHubReadme as l, collect as la, fromStep as lc, format$1 as ld, setStackTraceLimit as lf, empty$4 as li, launch as ll, UndefinedOr as ln, asVoid as lo, merge as lr, onExit$1 as ls, makeCollectorUnsafe as lt, taggedEnum as lu, NoteJson as m, offerAll as ma, toStep as mc, seconds as md, format$2 as mf, flatMap as mi, succeed$5 as ml, decodeTo as mn, catchDefect as mo, make$16 as mr, orElseSucceed as ms, SocketOpenError as mt, drop as mu, Capture as n, map$2 as na, withParentSpan as nc, fromOption$2 as nd, Prototype as nf, FileSystem as ni, prettyErrors as nl, TaggedError as nn, acquireRelease as no, fromIterable$2 as nr, mapError$2 as ns, isWrapper as nt, externalSpan as nu, FxStatus as o, make$26 as oa, addDelay as oc, match$4 as od, withFiber$1 as of, concat as oi, effect as ol, URLFromString as on, annotateLogs as oo, fromInput$1 as or, matchEffect as os, spanAttributes as ot, Error$2 as ou, NoteId as p, offer as pa, spaced as pc, parts as pd, toJson as pf, filter as pi, provideMerge as pl, decodeSync as pn, catchCauseIf as po, isRedacted as pr, orDie$2 as ps, SocketErrorReason as pt, dedupeAdjacentWith as pu, layerJson as q, ipFromString as qa, findError as qc, orElse as qd, takeUntil as qi, fiberEnterUninterruptibleUnsafe as ql, encodeUnknownEffect$1 as qn, log as qo, passthrough as qr, updateContext as qs, NonEmptyArray as qt, has$3 as qu, Extraction as r, mapError$1 as ra, withSpan as rc, isFailure$1 as rd, PipeInspectableProto as rf, catchReason as ri, squash as rl, TrueLiterals as rn, all$1 as ro, get as rr, match as rs, ClientAbort as rt, make$36 as ru, GitHubComment as s, makeUnsafe$1 as sa, exponential as sc, succeed$8 as sd, assignProperty as sf, decodeText$1 as si, effectContext as sl, Uint8Array$1 as sn, as as so, fromRecordUnsafe as sr, never$1 as ss, spanName as st, TaggedClass as su, RpcContracts as t, fromTransform$1 as ta, withLogSpan as tc, failVoid as td, mapInput as tf, Path$1 as ti, makeDieReason as tl, Struct as tn, unixPathAddress as to, has as tr, mapEager as ts, exitSchema as tt, Tracer as tu, GitHubRepo as u, end as ua, isSchedule as uc, fromInputUnsafe$1 as ud, BaseProto as uf, ensuring as ui, merge$3 as ul, Union as un, cached as uo, remove$1 as ur, onExitPrimitive as us, CloseEvent as ut, appendAll$1 as uu, Reader as v, take$1 as va, camelToSnake as vc, Service as vd, hasProperty as vf, fromEffect as vi, Scope as vl, encodeSync as vn, catchTag as vo, isEmpty as vr, provideService$2 as vs, layerWebSocketConstructorGlobal as vt, filter$2 as vu, errorExitCode as w, getCurrent as wa, match$1 as wc, getUnsafe$1 as wd, isTagged as wf, limitBytes as wi, make$35 as wl, isInt as wn, die$2 as wo, toUint8Array as wr, retryOrElse as ws, InvalidUrlError as wt, fromIterable$6 as wu, layer as x, unbounded as xa, isEmpty$1 as xc, get$5 as xd, isNotNullish as xf, fromQueue as xi, close as xl, fromJsonString as xn, context as xo, fromReadable as xr, repeat as xs, EncodeError as xt, findFirstIndex as xu, TikTokPage as y, takeAll as ya, endsWith as yc, add as yd, isIterable as yf, fromIterable$5 as yi, addFinalizer$1 as yl, encodeTo as yn, catchTags$1 as yo, parseHeader as yr, provideServiceEffect as ys, DecodeError as yt, filterMap as yu, succeed as z, makeRecordUnsafe as za, Done as zc, getOrUndefined$1 as zd, runCollect as zi, interrupt$2 as zl, toJsonSchemaDocument as zn, fromOption as zo, mapOrSame as zr, timeout as zs, FalseLiterals as zt, of as zu };