@valbuild/react 0.21.1 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/dist/{ValProvider-e8201907.cjs.prod.js → ValProvider-4b3dcddd.cjs.prod.js} +206 -210
  2. package/dist/ValProvider-772ad108.browser.esm.js +618 -0
  3. package/dist/{ValProvider-91d1bef0.cjs.dev.js → ValProvider-7be3721e.cjs.dev.js} +206 -210
  4. package/dist/ValProvider-ecdd4b68.esm.js +618 -0
  5. package/dist/ValProvider-f27d153f.worker.esm.js +616 -0
  6. package/dist/{ValUI-43955bc2.browser.esm.js → ValUI-1bebc456.browser.esm.js} +10 -4
  7. package/dist/{ValUI-2db816eb.esm.js → ValUI-2dc20794.esm.js} +10 -4
  8. package/dist/ValUI-702583bb.cjs.js +7 -0
  9. package/dist/{ValUI-9b5a2304.cjs.prod.js → ValUI-702583bb.cjs.prod.js} +10 -4
  10. package/dist/{ValUI-28c5f528.cjs.dev.js → ValUI-968a38fb.cjs.dev.js} +10 -4
  11. package/dist/{ValUI-ba280067.worker.esm.js → ValUI-a93bea98.worker.esm.js} +10 -4
  12. package/dist/declarations/src/ValProvider.d.ts +1 -2
  13. package/dist/declarations/src/ValStore.d.ts +2 -1
  14. package/dist/declarations/src/stega/stegaEncode.d.ts +2 -1
  15. package/dist/{slicedToArray-5bddfa58.cjs.prod.js → slicedToArray-1fc98f25.cjs.prod.js} +19 -19
  16. package/dist/{slicedToArray-0cbb3d34.browser.esm.js → slicedToArray-4510c35a.worker.esm.js} +19 -19
  17. package/dist/{slicedToArray-5a51fd33.worker.esm.js → slicedToArray-5418adeb.esm.js} +19 -19
  18. package/dist/{slicedToArray-b4fb91fa.esm.js → slicedToArray-964e1994.browser.esm.js} +19 -19
  19. package/dist/{slicedToArray-7b1713a7.cjs.dev.js → slicedToArray-fb0bef7d.cjs.dev.js} +19 -19
  20. package/dist/typeof-16428c61.cjs.prod.js +13 -0
  21. package/dist/typeof-9915e135.browser.esm.js +11 -0
  22. package/dist/typeof-a1531d8f.esm.js +11 -0
  23. package/dist/typeof-b568f48f.cjs.dev.js +13 -0
  24. package/dist/typeof-e0c837cc.worker.esm.js +11 -0
  25. package/dist/valbuild-react.browser.esm.js +2 -2
  26. package/dist/valbuild-react.cjs.dev.js +2 -2
  27. package/dist/valbuild-react.cjs.prod.js +2 -2
  28. package/dist/valbuild-react.esm.js +2 -2
  29. package/dist/valbuild-react.worker.esm.js +2 -2
  30. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.browser.esm.js +2 -2
  31. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.cjs.dev.js +2 -2
  32. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.cjs.prod.js +2 -2
  33. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.esm.js +2 -2
  34. package/jsx-dev-runtime/dist/valbuild-react-jsx-dev-runtime.worker.esm.js +2 -2
  35. package/jsx-runtime/dist/valbuild-react-jsx-runtime.browser.esm.js +2 -2
  36. package/jsx-runtime/dist/valbuild-react-jsx-runtime.cjs.dev.js +2 -2
  37. package/jsx-runtime/dist/valbuild-react-jsx-runtime.cjs.prod.js +2 -2
  38. package/jsx-runtime/dist/valbuild-react-jsx-runtime.esm.js +2 -2
  39. package/jsx-runtime/dist/valbuild-react-jsx-runtime.worker.esm.js +2 -2
  40. package/package.json +3 -3
  41. package/src/ShadowRoot.tsx +1 -1
  42. package/src/ValProvider.tsx +3 -2
  43. package/src/ValStore.ts +2 -4
  44. package/src/ValUI.tsx +8 -3
  45. package/src/stega/stegaEncode.ts +3 -0
  46. package/stega/dist/valbuild-react-stega.browser.esm.js +17 -17
  47. package/stega/dist/valbuild-react-stega.cjs.dev.js +17 -17
  48. package/stega/dist/valbuild-react-stega.cjs.prod.js +17 -17
  49. package/stega/dist/valbuild-react-stega.esm.js +17 -17
  50. package/stega/dist/valbuild-react-stega.worker.esm.js +17 -17
  51. package/dist/ValProvider-46d4ba67.esm.js +0 -622
  52. package/dist/ValProvider-5026936f.worker.esm.js +0 -620
  53. package/dist/ValProvider-a6ce7155.browser.esm.js +0 -622
  54. package/dist/ValUI-9b5a2304.cjs.js +0 -7
  55. package/dist/typeof-16c77f45.cjs.prod.js +0 -13
  56. package/dist/typeof-1de657a3.cjs.dev.js +0 -13
  57. package/dist/typeof-52fabea9.browser.esm.js +0 -11
  58. package/dist/typeof-5c86a240.esm.js +0 -11
  59. package/dist/typeof-8854ace1.worker.esm.js +0 -11
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var slicedToArray = require('./slicedToArray-5bddfa58.cjs.prod.js');
4
+ var slicedToArray = require('./slicedToArray-1fc98f25.cjs.prod.js');
5
5
  var defineProperty = require('./defineProperty-36ed93cd.cjs.prod.js');
6
6
  var fp = require('@valbuild/core/fp');
7
7
  var core = require('@valbuild/core');
@@ -83,304 +83,304 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
83
83
 
84
84
  function _regeneratorRuntime() {
85
85
  _regeneratorRuntime = function () {
86
- return exports;
86
+ return e;
87
87
  };
88
- var exports = {},
89
- Op = Object.prototype,
90
- hasOwn = Op.hasOwnProperty,
91
- defineProperty = Object.defineProperty || function (obj, key, desc) {
92
- obj[key] = desc.value;
88
+ var t,
89
+ e = {},
90
+ r = Object.prototype,
91
+ n = r.hasOwnProperty,
92
+ o = Object.defineProperty || function (t, e, r) {
93
+ t[e] = r.value;
93
94
  },
94
- $Symbol = "function" == typeof Symbol ? Symbol : {},
95
- iteratorSymbol = $Symbol.iterator || "@@iterator",
96
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
97
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
98
- function define(obj, key, value) {
99
- return Object.defineProperty(obj, key, {
100
- value: value,
95
+ i = "function" == typeof Symbol ? Symbol : {},
96
+ a = i.iterator || "@@iterator",
97
+ c = i.asyncIterator || "@@asyncIterator",
98
+ u = i.toStringTag || "@@toStringTag";
99
+ function define(t, e, r) {
100
+ return Object.defineProperty(t, e, {
101
+ value: r,
101
102
  enumerable: !0,
102
103
  configurable: !0,
103
104
  writable: !0
104
- }), obj[key];
105
+ }), t[e];
105
106
  }
106
107
  try {
107
108
  define({}, "");
108
- } catch (err) {
109
- define = function (obj, key, value) {
110
- return obj[key] = value;
109
+ } catch (t) {
110
+ define = function (t, e, r) {
111
+ return t[e] = r;
111
112
  };
112
113
  }
113
- function wrap(innerFn, outerFn, self, tryLocsList) {
114
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
115
- generator = Object.create(protoGenerator.prototype),
116
- context = new Context(tryLocsList || []);
117
- return defineProperty(generator, "_invoke", {
118
- value: makeInvokeMethod(innerFn, self, context)
119
- }), generator;
114
+ function wrap(t, e, r, n) {
115
+ var i = e && e.prototype instanceof Generator ? e : Generator,
116
+ a = Object.create(i.prototype),
117
+ c = new Context(n || []);
118
+ return o(a, "_invoke", {
119
+ value: makeInvokeMethod(t, r, c)
120
+ }), a;
120
121
  }
121
- function tryCatch(fn, obj, arg) {
122
+ function tryCatch(t, e, r) {
122
123
  try {
123
124
  return {
124
125
  type: "normal",
125
- arg: fn.call(obj, arg)
126
+ arg: t.call(e, r)
126
127
  };
127
- } catch (err) {
128
+ } catch (t) {
128
129
  return {
129
130
  type: "throw",
130
- arg: err
131
+ arg: t
131
132
  };
132
133
  }
133
134
  }
134
- exports.wrap = wrap;
135
- var ContinueSentinel = {};
135
+ e.wrap = wrap;
136
+ var h = "suspendedStart",
137
+ l = "suspendedYield",
138
+ f = "executing",
139
+ s = "completed",
140
+ y = {};
136
141
  function Generator() {}
137
142
  function GeneratorFunction() {}
138
143
  function GeneratorFunctionPrototype() {}
139
- var IteratorPrototype = {};
140
- define(IteratorPrototype, iteratorSymbol, function () {
144
+ var p = {};
145
+ define(p, a, function () {
141
146
  return this;
142
147
  });
143
- var getProto = Object.getPrototypeOf,
144
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
145
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
146
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
147
- function defineIteratorMethods(prototype) {
148
- ["next", "throw", "return"].forEach(function (method) {
149
- define(prototype, method, function (arg) {
150
- return this._invoke(method, arg);
148
+ var d = Object.getPrototypeOf,
149
+ v = d && d(d(values([])));
150
+ v && v !== r && n.call(v, a) && (p = v);
151
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
152
+ function defineIteratorMethods(t) {
153
+ ["next", "throw", "return"].forEach(function (e) {
154
+ define(t, e, function (t) {
155
+ return this._invoke(e, t);
151
156
  });
152
157
  });
153
158
  }
154
- function AsyncIterator(generator, PromiseImpl) {
155
- function invoke(method, arg, resolve, reject) {
156
- var record = tryCatch(generator[method], generator, arg);
157
- if ("throw" !== record.type) {
158
- var result = record.arg,
159
- value = result.value;
160
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
161
- invoke("next", value, resolve, reject);
162
- }, function (err) {
163
- invoke("throw", err, resolve, reject);
164
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
165
- result.value = unwrapped, resolve(result);
166
- }, function (error) {
167
- return invoke("throw", error, resolve, reject);
159
+ function AsyncIterator(t, e) {
160
+ function invoke(r, o, i, a) {
161
+ var c = tryCatch(t[r], t, o);
162
+ if ("throw" !== c.type) {
163
+ var u = c.arg,
164
+ h = u.value;
165
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
166
+ invoke("next", t, i, a);
167
+ }, function (t) {
168
+ invoke("throw", t, i, a);
169
+ }) : e.resolve(h).then(function (t) {
170
+ u.value = t, i(u);
171
+ }, function (t) {
172
+ return invoke("throw", t, i, a);
168
173
  });
169
174
  }
170
- reject(record.arg);
175
+ a(c.arg);
171
176
  }
172
- var previousPromise;
173
- defineProperty(this, "_invoke", {
174
- value: function (method, arg) {
177
+ var r;
178
+ o(this, "_invoke", {
179
+ value: function (t, n) {
175
180
  function callInvokeWithMethodAndArg() {
176
- return new PromiseImpl(function (resolve, reject) {
177
- invoke(method, arg, resolve, reject);
181
+ return new e(function (e, r) {
182
+ invoke(t, n, e, r);
178
183
  });
179
184
  }
180
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
185
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
181
186
  }
182
187
  });
183
188
  }
184
- function makeInvokeMethod(innerFn, self, context) {
185
- var state = "suspendedStart";
186
- return function (method, arg) {
187
- if ("executing" === state) throw new Error("Generator is already running");
188
- if ("completed" === state) {
189
- if ("throw" === method) throw arg;
190
- return doneResult();
189
+ function makeInvokeMethod(e, r, n) {
190
+ var o = h;
191
+ return function (i, a) {
192
+ if (o === f) throw new Error("Generator is already running");
193
+ if (o === s) {
194
+ if ("throw" === i) throw a;
195
+ return {
196
+ value: t,
197
+ done: !0
198
+ };
191
199
  }
192
- for (context.method = method, context.arg = arg;;) {
193
- var delegate = context.delegate;
194
- if (delegate) {
195
- var delegateResult = maybeInvokeDelegate(delegate, context);
196
- if (delegateResult) {
197
- if (delegateResult === ContinueSentinel) continue;
198
- return delegateResult;
200
+ for (n.method = i, n.arg = a;;) {
201
+ var c = n.delegate;
202
+ if (c) {
203
+ var u = maybeInvokeDelegate(c, n);
204
+ if (u) {
205
+ if (u === y) continue;
206
+ return u;
199
207
  }
200
208
  }
201
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
202
- if ("suspendedStart" === state) throw state = "completed", context.arg;
203
- context.dispatchException(context.arg);
204
- } else "return" === context.method && context.abrupt("return", context.arg);
205
- state = "executing";
206
- var record = tryCatch(innerFn, self, context);
207
- if ("normal" === record.type) {
208
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
209
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
210
+ if (o === h) throw o = s, n.arg;
211
+ n.dispatchException(n.arg);
212
+ } else "return" === n.method && n.abrupt("return", n.arg);
213
+ o = f;
214
+ var p = tryCatch(e, r, n);
215
+ if ("normal" === p.type) {
216
+ if (o = n.done ? s : l, p.arg === y) continue;
209
217
  return {
210
- value: record.arg,
211
- done: context.done
218
+ value: p.arg,
219
+ done: n.done
212
220
  };
213
221
  }
214
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
222
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
215
223
  }
216
224
  };
217
225
  }
218
- function maybeInvokeDelegate(delegate, context) {
219
- var methodName = context.method,
220
- method = delegate.iterator[methodName];
221
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
222
- var record = tryCatch(method, delegate.iterator, context.arg);
223
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
224
- var info = record.arg;
225
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
226
+ function maybeInvokeDelegate(e, r) {
227
+ var n = r.method,
228
+ o = e.iterator[n];
229
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
230
+ var i = tryCatch(o, e.iterator, r.arg);
231
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
232
+ var a = i.arg;
233
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
226
234
  }
227
- function pushTryEntry(locs) {
228
- var entry = {
229
- tryLoc: locs[0]
235
+ function pushTryEntry(t) {
236
+ var e = {
237
+ tryLoc: t[0]
230
238
  };
231
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
239
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
232
240
  }
233
- function resetTryEntry(entry) {
234
- var record = entry.completion || {};
235
- record.type = "normal", delete record.arg, entry.completion = record;
241
+ function resetTryEntry(t) {
242
+ var e = t.completion || {};
243
+ e.type = "normal", delete e.arg, t.completion = e;
236
244
  }
237
- function Context(tryLocsList) {
245
+ function Context(t) {
238
246
  this.tryEntries = [{
239
247
  tryLoc: "root"
240
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
248
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
241
249
  }
242
- function values(iterable) {
243
- if (iterable) {
244
- var iteratorMethod = iterable[iteratorSymbol];
245
- if (iteratorMethod) return iteratorMethod.call(iterable);
246
- if ("function" == typeof iterable.next) return iterable;
247
- if (!isNaN(iterable.length)) {
248
- var i = -1,
249
- next = function next() {
250
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
251
- return next.value = undefined, next.done = !0, next;
250
+ function values(e) {
251
+ if (e || "" === e) {
252
+ var r = e[a];
253
+ if (r) return r.call(e);
254
+ if ("function" == typeof e.next) return e;
255
+ if (!isNaN(e.length)) {
256
+ var o = -1,
257
+ i = function next() {
258
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
259
+ return next.value = t, next.done = !0, next;
252
260
  };
253
- return next.next = next;
261
+ return i.next = i;
254
262
  }
255
263
  }
256
- return {
257
- next: doneResult
258
- };
259
- }
260
- function doneResult() {
261
- return {
262
- value: undefined,
263
- done: !0
264
- };
264
+ throw new TypeError(typeof e + " is not iterable");
265
265
  }
266
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
266
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
267
267
  value: GeneratorFunctionPrototype,
268
268
  configurable: !0
269
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
269
+ }), o(GeneratorFunctionPrototype, "constructor", {
270
270
  value: GeneratorFunction,
271
271
  configurable: !0
272
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
273
- var ctor = "function" == typeof genFun && genFun.constructor;
274
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
275
- }, exports.mark = function (genFun) {
276
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
277
- }, exports.awrap = function (arg) {
272
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
273
+ var e = "function" == typeof t && t.constructor;
274
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
275
+ }, e.mark = function (t) {
276
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
277
+ }, e.awrap = function (t) {
278
278
  return {
279
- __await: arg
279
+ __await: t
280
280
  };
281
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
281
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
282
282
  return this;
283
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
284
- void 0 === PromiseImpl && (PromiseImpl = Promise);
285
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
286
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
287
- return result.done ? result.value : iter.next();
283
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
284
+ void 0 === i && (i = Promise);
285
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
286
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
287
+ return t.done ? t.value : a.next();
288
288
  });
289
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
289
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
290
290
  return this;
291
- }), define(Gp, "toString", function () {
291
+ }), define(g, "toString", function () {
292
292
  return "[object Generator]";
293
- }), exports.keys = function (val) {
294
- var object = Object(val),
295
- keys = [];
296
- for (var key in object) keys.push(key);
297
- return keys.reverse(), function next() {
298
- for (; keys.length;) {
299
- var key = keys.pop();
300
- if (key in object) return next.value = key, next.done = !1, next;
293
+ }), e.keys = function (t) {
294
+ var e = Object(t),
295
+ r = [];
296
+ for (var n in e) r.push(n);
297
+ return r.reverse(), function next() {
298
+ for (; r.length;) {
299
+ var t = r.pop();
300
+ if (t in e) return next.value = t, next.done = !1, next;
301
301
  }
302
302
  return next.done = !0, next;
303
303
  };
304
- }, exports.values = values, Context.prototype = {
304
+ }, e.values = values, Context.prototype = {
305
305
  constructor: Context,
306
- reset: function (skipTempReset) {
307
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
306
+ reset: function (e) {
307
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
308
308
  },
309
309
  stop: function () {
310
310
  this.done = !0;
311
- var rootRecord = this.tryEntries[0].completion;
312
- if ("throw" === rootRecord.type) throw rootRecord.arg;
311
+ var t = this.tryEntries[0].completion;
312
+ if ("throw" === t.type) throw t.arg;
313
313
  return this.rval;
314
314
  },
315
- dispatchException: function (exception) {
316
- if (this.done) throw exception;
317
- var context = this;
318
- function handle(loc, caught) {
319
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
315
+ dispatchException: function (e) {
316
+ if (this.done) throw e;
317
+ var r = this;
318
+ function handle(n, o) {
319
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
320
320
  }
321
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
322
- var entry = this.tryEntries[i],
323
- record = entry.completion;
324
- if ("root" === entry.tryLoc) return handle("end");
325
- if (entry.tryLoc <= this.prev) {
326
- var hasCatch = hasOwn.call(entry, "catchLoc"),
327
- hasFinally = hasOwn.call(entry, "finallyLoc");
328
- if (hasCatch && hasFinally) {
329
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
330
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
331
- } else if (hasCatch) {
332
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
321
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
322
+ var i = this.tryEntries[o],
323
+ a = i.completion;
324
+ if ("root" === i.tryLoc) return handle("end");
325
+ if (i.tryLoc <= this.prev) {
326
+ var c = n.call(i, "catchLoc"),
327
+ u = n.call(i, "finallyLoc");
328
+ if (c && u) {
329
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
330
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
331
+ } else if (c) {
332
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
333
333
  } else {
334
- if (!hasFinally) throw new Error("try statement without catch or finally");
335
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
334
+ if (!u) throw new Error("try statement without catch or finally");
335
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
336
336
  }
337
337
  }
338
338
  }
339
339
  },
340
- abrupt: function (type, arg) {
341
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
342
- var entry = this.tryEntries[i];
343
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
344
- var finallyEntry = entry;
340
+ abrupt: function (t, e) {
341
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
342
+ var o = this.tryEntries[r];
343
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
344
+ var i = o;
345
345
  break;
346
346
  }
347
347
  }
348
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
349
- var record = finallyEntry ? finallyEntry.completion : {};
350
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
348
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
349
+ var a = i ? i.completion : {};
350
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
351
351
  },
352
- complete: function (record, afterLoc) {
353
- if ("throw" === record.type) throw record.arg;
354
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
352
+ complete: function (t, e) {
353
+ if ("throw" === t.type) throw t.arg;
354
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
355
355
  },
356
- finish: function (finallyLoc) {
357
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
358
- var entry = this.tryEntries[i];
359
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
356
+ finish: function (t) {
357
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
358
+ var r = this.tryEntries[e];
359
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
360
360
  }
361
361
  },
362
- catch: function (tryLoc) {
363
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
364
- var entry = this.tryEntries[i];
365
- if (entry.tryLoc === tryLoc) {
366
- var record = entry.completion;
367
- if ("throw" === record.type) {
368
- var thrown = record.arg;
369
- resetTryEntry(entry);
362
+ catch: function (t) {
363
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
364
+ var r = this.tryEntries[e];
365
+ if (r.tryLoc === t) {
366
+ var n = r.completion;
367
+ if ("throw" === n.type) {
368
+ var o = n.arg;
369
+ resetTryEntry(r);
370
370
  }
371
- return thrown;
371
+ return o;
372
372
  }
373
373
  }
374
374
  throw new Error("illegal catch attempt");
375
375
  },
376
- delegateYield: function (iterable, resultName, nextLoc) {
376
+ delegateYield: function (e, r, n) {
377
377
  return this.delegate = {
378
- iterator: values(iterable),
379
- resultName: resultName,
380
- nextLoc: nextLoc
381
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
378
+ iterator: values(e),
379
+ resultName: r,
380
+ nextLoc: n
381
+ }, "next" === this.method && (this.arg = t), y;
382
382
  }
383
- }, exports;
383
+ }, e;
384
384
  }
385
385
 
386
386
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
@@ -459,13 +459,11 @@ var ValStore = /*#__PURE__*/function () {
459
459
  });
460
460
  defineProperty._defineProperty(this, "getSnapshot", function (moduleIds) {
461
461
  return function () {
462
- console.log("getSnapshot", moduleIds);
463
462
  return _this.get(moduleIds);
464
463
  };
465
464
  });
466
465
  defineProperty._defineProperty(this, "getServerSnapshot", function (moduleIds) {
467
466
  return function () {
468
- console.log("getServerSnapshot", moduleIds);
469
467
  return _this.get(moduleIds);
470
468
  };
471
469
  });
@@ -585,7 +583,6 @@ var ValStore = /*#__PURE__*/function () {
585
583
  }, {
586
584
  key: "emitChange",
587
585
  value: function emitChange(subscriberId) {
588
- console.log("emitChange");
589
586
  var _iterator = _createForOfIteratorHelper(this.listeners[subscriberId]),
590
587
  _step;
591
588
  try {
@@ -622,12 +619,11 @@ var ValContext = /*#__PURE__*/React__default["default"].createContext({
622
619
  }
623
620
  });
624
621
  var ValUI = typeof window !== "undefined" ? /*#__PURE__*/React.lazy(function () {
625
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('./ValUI-9b5a2304.cjs.prod.js')); });
622
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require('./ValUI-702583bb.cjs.prod.js')); });
626
623
  }) : null;
627
624
  function ValProvider(_ref) {
628
- var _ref$host = _ref.host,
629
- host = _ref$host === void 0 ? "/api/val" : _ref$host,
630
- children = _ref.children;
625
+ var children = _ref.children;
626
+ var host = "/api/val";
631
627
  var valApi = React.useMemo(function () {
632
628
  return new core.ValApi(host);
633
629
  }, [host]);