@graffiti-garden/wrapper-vue 0.6.6 → 0.7.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.
@@ -1,9 +1,9 @@
1
1
  var pe = Object.defineProperty;
2
2
  var de = (t, n, e) => n in t ? pe(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e;
3
3
  var v = (t, n, e) => de(t, typeof n != "symbol" ? n + "" : n, e);
4
- import { inject as X, ref as N, computed as ye, watch as ve, onScopeDispose as me, toValue as P, defineComponent as L, toRef as g, renderSlot as W, unref as m } from "vue";
4
+ import { inject as X, ref as N, computed as ye, watch as ve, onScopeDispose as me, toValue as P, defineComponent as L, toRef as b, renderSlot as W, unref as g } from "vue";
5
5
  const Y = Symbol(), Z = Symbol();
6
- function U() {
6
+ function B() {
7
7
  const t = X(Y);
8
8
  if (!t)
9
9
  throw new Error(
@@ -12,7 +12,7 @@ function U() {
12
12
  return t;
13
13
  }
14
14
  function Le() {
15
- return U();
15
+ return B();
16
16
  }
17
17
  function ee() {
18
18
  const t = X(Z);
@@ -23,11 +23,11 @@ function ee() {
23
23
  return t;
24
24
  }
25
25
  var be = class {
26
- }, ge = class te extends Error {
26
+ }, we = class te extends Error {
27
27
  constructor(n) {
28
28
  super(n), this.name = "GraffitiErrorNotFound", Object.setPrototypeOf(this, te.prototype);
29
29
  }
30
- }, we = class ne extends Error {
30
+ }, ge = class ne extends Error {
31
31
  constructor(n) {
32
32
  super(n), this.name = "GraffitiErrorInvalidSchema", Object.setPrototypeOf(this, ne.prototype);
33
33
  }
@@ -68,7 +68,7 @@ class oe {
68
68
  try {
69
69
  this.iterator = this.continue();
70
70
  } catch (e) {
71
- if (e instanceof ge)
71
+ if (e instanceof we)
72
72
  n("clear"), this.iterator = this.streamFactory();
73
73
  else
74
74
  throw e;
@@ -156,41 +156,47 @@ function J(t, n, e, r, o) {
156
156
  let i;
157
157
  async function a() {
158
158
  i = e();
159
- for await (const f of i) {
160
- if (f.error) {
161
- console.error(f.error);
159
+ for await (const h of i) {
160
+ if (h.error) {
161
+ console.error(h.error);
162
162
  continue;
163
163
  }
164
- t.onEntry(f);
164
+ t.onEntry(h);
165
165
  }
166
166
  }
167
- let c = !1;
168
- const l = async () => {
169
- if (!c) {
170
- c = !0;
171
- try {
172
- await n.poll(t.onEntry.bind(t));
173
- } finally {
174
- c = !1, P(o) && l();
175
- }
167
+ let l = !1, c;
168
+ const s = async () => {
169
+ if (l || !c) return;
170
+ const h = c;
171
+ l = !0;
172
+ try {
173
+ await h();
174
+ } finally {
175
+ if (h !== c) return;
176
+ l = !1, P(o) && s();
176
177
  }
177
- }, s = N(!1);
178
+ }, f = N(!1);
178
179
  return ve(
179
180
  r,
180
- async (f, p) => {
181
- if (JSON.stringify(f) !== JSON.stringify(p)) {
182
- i == null || i.return(null), t.clear(), n.clear(), a(), s.value = !0;
183
- try {
184
- await l();
185
- } finally {
186
- s.value = !1;
187
- }
181
+ async (h, u) => {
182
+ if (JSON.stringify(h) === JSON.stringify(u))
183
+ return;
184
+ i == null || i.return(null), t.clear(), n.clear(), a(), c = () => n.poll(t.onEntry.bind(t));
185
+ const d = c;
186
+ l = !1, f.value = !0;
187
+ try {
188
+ await s();
189
+ } finally {
190
+ if (d !== c) return;
191
+ f.value = !1;
188
192
  }
189
193
  },
190
194
  {
191
195
  immediate: !0
192
196
  }
193
- ), me(() => i == null ? void 0 : i.return(null)), { poll: l, isInitialPolling: s };
197
+ ), me(() => {
198
+ i == null || i.return(null), t.clear(), n.clear(), c = void 0;
199
+ }), { poll: s, isInitialPolling: f };
194
200
  }
195
201
  function ue(t, n) {
196
202
  return () => {
@@ -202,7 +208,7 @@ function E(t) {
202
208
  return t.map((n) => n());
203
209
  }
204
210
  function Se(t, n, e, r = !1) {
205
- const o = U(), i = ee(), a = () => P(t), c = () => P(n), l = ue(i, e), s = [a, c, l], f = () => o.synchronizeDiscover(...E(s)), p = () => o.discover(...E(s)), u = new ae(o), d = new oe(p), { poll: h, isInitialPolling: y } = J(
211
+ const o = B(), i = ee(), a = () => P(t), l = () => P(n), c = ue(i, e), s = [a, l, c], f = () => o.synchronizeDiscover(...E(s)), h = () => o.discover(...E(s)), u = new ae(o), d = new oe(h), { poll: p, isInitialPolling: y } = J(
206
212
  u,
207
213
  d,
208
214
  f,
@@ -215,18 +221,10 @@ function Se(t, n, e, r = !1) {
215
221
  * an array of Graffiti objects.
216
222
  */
217
223
  objects: u.results,
218
- /**
219
- * @deprecated Use {@link objects} instead.
220
- */
221
- get results() {
222
- return console.warn(
223
- "The `results` property is deprecated. Use `objects` instead."
224
- ), this.objects;
225
- },
226
224
  /**
227
225
  * A method to poll for new results.
228
226
  */
229
- poll: h,
227
+ poll: p,
230
228
  /**
231
229
  * A boolean [ref](https://vuejs.org/api/reactivity-core.html#ref)
232
230
  * that indicates if the *first* poll is currently running.
@@ -236,24 +234,16 @@ function Se(t, n, e, r = !1) {
236
234
  * but it does not track ongoing polls from either calling
237
235
  * {@link poll} or using the `autopoll` argument.
238
236
  */
239
- isInitialPolling: y,
240
- /**
241
- * @deprecated Use {@link isInitialPolling} instead.
242
- */
243
- get isPolling() {
244
- return console.warn(
245
- "The `isPolling` property is deprecated. Use `isInitialPolling` instead."
246
- ), this.isInitialPolling;
247
- }
237
+ isInitialPolling: y
248
238
  };
249
239
  }
250
240
  function Ee(t, n, e, r = !1) {
251
- const o = U(), i = ee(), a = () => P(t), c = () => P(n), l = ue(i, e), s = [
241
+ const o = B(), i = ee(), a = () => P(t), l = () => P(n), c = ue(i, e), s = [
252
242
  a,
253
- c,
254
- l
255
- ], f = () => o.synchronizeGet(...E(s)), p = new Oe(), u = () => o.get(...E(s)), d = new xe(u), { poll: h, isInitialPolling: y } = J(
256
- p,
243
+ l,
244
+ c
245
+ ], f = () => o.synchronizeGet(...E(s)), h = new Oe(), u = () => o.get(...E(s)), d = new xe(u), { poll: p, isInitialPolling: y } = J(
246
+ h,
257
247
  d,
258
248
  f,
259
249
  s,
@@ -265,19 +255,11 @@ function Ee(t, n, e, r = !1) {
265
255
  * the retrieved Graffiti object, if it exists. If the object has been deleted,
266
256
  * the result is `null`. If the object is still being fetched, the result is `undefined`.
267
257
  */
268
- object: p.result,
269
- /**
270
- * @deprecated Use {@link object} instead.
271
- */
272
- get result() {
273
- return console.warn(
274
- "The `result` property is deprecated. Use `object` instead."
275
- ), this.object;
276
- },
258
+ object: h.result,
277
259
  /**
278
260
  * A method to poll for new results.
279
261
  */
280
- poll: h,
262
+ poll: p,
281
263
  /**
282
264
  * A boolean [ref](https://vuejs.org/api/reactivity-core.html#ref)
283
265
  * that indicates if the *first* poll is currently running.
@@ -287,22 +269,14 @@ function Ee(t, n, e, r = !1) {
287
269
  * but it does not track ongoing polls from either calling
288
270
  * {@link poll} or using the `autopoll` argument.
289
271
  */
290
- isInitialPolling: y,
291
- /**
292
- * @deprecated Use {@link isInitialPolling} instead.
293
- */
294
- get isPolling() {
295
- return console.warn(
296
- "The `isPolling` property is deprecated. Use `isInitialPolling` instead."
297
- ), this.isInitialPolling;
298
- }
272
+ isInitialPolling: y
299
273
  };
300
274
  }
301
275
  function Ge(t, n, e = !1) {
302
- const r = U(), a = [() => P(t), () => P(n)], c = () => r.synchronizeRecoverOrphans(...E(a)), l = new ae(r), s = () => r.recoverOrphans(...E(a)), f = new oe(s), { poll: p, isInitialPolling: u } = J(
303
- l,
304
- f,
276
+ const r = B(), a = [() => P(t), () => P(n)], l = () => r.synchronizeRecoverOrphans(...E(a)), c = new ae(r), s = () => r.recoverOrphans(...E(a)), f = new oe(s), { poll: h, isInitialPolling: u } = J(
305
277
  c,
278
+ f,
279
+ l,
306
280
  a,
307
281
  e
308
282
  );
@@ -311,19 +285,11 @@ function Ge(t, n, e = !1) {
311
285
  * A [ref](https://vuejs.org/api/reactivity-core.html#ref) that contains
312
286
  * an array of Graffiti objects.
313
287
  */
314
- objects: l.results,
315
- /**
316
- * @deprecated Use {@link objects} instead.
317
- */
318
- get results() {
319
- return console.warn(
320
- "The `result` property is deprecated. Use `object` instead."
321
- ), this.objects;
322
- },
288
+ objects: c.results,
323
289
  /**
324
290
  * A method to poll for new results.
325
291
  */
326
- poll: p,
292
+ poll: h,
327
293
  /**
328
294
  * A boolean [ref](https://vuejs.org/api/reactivity-core.html#ref)
329
295
  * that indicates if the *first* poll is currently running.
@@ -333,15 +299,7 @@ function Ge(t, n, e = !1) {
333
299
  * but it does not track ongoing polls from either calling
334
300
  * {@link poll} or using the `autopoll` argument.
335
301
  */
336
- isInitialPolling: u,
337
- /**
338
- * @deprecated Use {@link isInitialPolling} instead.
339
- */
340
- get isPolling() {
341
- return console.warn(
342
- "The `isPolling` property is deprecated. Use `isInitialPolling` instead."
343
- ), this.isInitialPolling;
344
- }
302
+ isInitialPolling: u
345
303
  };
346
304
  }
347
305
  const ce = /* @__PURE__ */ L({
@@ -353,18 +311,16 @@ const ce = /* @__PURE__ */ L({
353
311
  autopoll: { type: Boolean }
354
312
  },
355
313
  setup(t) {
356
- const n = t, { objects: e, results: r, poll: o, isPolling: i, isInitialPolling: a } = Se(
357
- g(n, "channels"),
358
- g(n, "schema"),
359
- g(n, "session"),
360
- g(n, "autopoll")
314
+ const n = t, { objects: e, poll: r, isInitialPolling: o } = Se(
315
+ b(n, "channels"),
316
+ b(n, "schema"),
317
+ b(n, "session"),
318
+ b(n, "autopoll")
361
319
  );
362
- return (c, l) => W(c.$slots, "default", {
363
- objects: m(e),
364
- results: m(r),
365
- poll: m(o),
366
- isPolling: m(i),
367
- isInitialPolling: m(a)
320
+ return (i, a) => W(i.$slots, "default", {
321
+ objects: g(e),
322
+ poll: g(r),
323
+ isInitialPolling: g(o)
368
324
  });
369
325
  }
370
326
  }), le = /* @__PURE__ */ L({
@@ -376,18 +332,16 @@ const ce = /* @__PURE__ */ L({
376
332
  autopoll: { type: Boolean }
377
333
  },
378
334
  setup(t) {
379
- const n = t, { object: e, result: r, poll: o, isPolling: i, isInitialPolling: a } = Ee(
380
- g(n, "url"),
381
- g(n, "schema"),
382
- g(n, "session"),
383
- g(n, "autopoll")
335
+ const n = t, { object: e, poll: r, isInitialPolling: o } = Ee(
336
+ b(n, "url"),
337
+ b(n, "schema"),
338
+ b(n, "session"),
339
+ b(n, "autopoll")
384
340
  );
385
- return (c, l) => W(c.$slots, "default", {
386
- object: m(e),
387
- result: m(r),
388
- poll: m(o),
389
- isPolling: m(i),
390
- isInitialPolling: m(a)
341
+ return (i, a) => W(i.$slots, "default", {
342
+ object: g(e),
343
+ poll: g(r),
344
+ isInitialPolling: g(o)
391
345
  });
392
346
  }
393
347
  }), fe = /* @__PURE__ */ L({
@@ -398,17 +352,15 @@ const ce = /* @__PURE__ */ L({
398
352
  autopoll: { type: Boolean }
399
353
  },
400
354
  setup(t) {
401
- const n = t, { objects: e, results: r, poll: o, isPolling: i, isInitialPolling: a } = Ge(
402
- g(n, "schema"),
403
- g(n, "session"),
404
- g(n, "autopoll")
355
+ const n = t, { objects: e, poll: r, isInitialPolling: o } = Ge(
356
+ b(n, "schema"),
357
+ b(n, "session"),
358
+ b(n, "autopoll")
405
359
  );
406
- return (c, l) => W(c.$slots, "default", {
407
- objects: m(e),
408
- results: m(r),
409
- poll: m(o),
410
- isPolling: m(i),
411
- isInitialPolling: m(a)
360
+ return (i, a) => W(i.$slots, "default", {
361
+ objects: g(e),
362
+ poll: g(r),
363
+ isInitialPolling: g(o)
412
364
  });
413
365
  }
414
366
  });
@@ -426,15 +378,15 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
426
378
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
427
379
  PERFORMANCE OF THIS SOFTWARE.
428
380
  ***************************************************************************** */
429
- var V = function(t, n) {
430
- return V = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
381
+ var C = function(t, n) {
382
+ return C = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
431
383
  e.__proto__ = r;
432
384
  } || function(e, r) {
433
385
  for (var o in r) r.hasOwnProperty(o) && (e[o] = r[o]);
434
- }, V(t, n);
386
+ }, C(t, n);
435
387
  };
436
388
  function _e(t, n) {
437
- V(t, n);
389
+ C(t, n);
438
390
  function e() {
439
391
  this.constructor = t;
440
392
  }
@@ -447,22 +399,22 @@ function G(t, n, e, r) {
447
399
  });
448
400
  }
449
401
  return new (e || (e = Promise))(function(i, a) {
450
- function c(f) {
402
+ function l(f) {
451
403
  try {
452
404
  s(r.next(f));
453
- } catch (p) {
454
- a(p);
405
+ } catch (h) {
406
+ a(h);
455
407
  }
456
408
  }
457
- function l(f) {
409
+ function c(f) {
458
410
  try {
459
411
  s(r.throw(f));
460
- } catch (p) {
461
- a(p);
412
+ } catch (h) {
413
+ a(h);
462
414
  }
463
415
  }
464
416
  function s(f) {
465
- f.done ? i(f.value) : o(f.value).then(c, l);
417
+ f.done ? i(f.value) : o(f.value).then(l, c);
466
418
  }
467
419
  s((r = r.apply(t, [])).next());
468
420
  });
@@ -472,15 +424,15 @@ function j(t, n) {
472
424
  if (i[0] & 1) throw i[1];
473
425
  return i[1];
474
426
  }, trys: [], ops: [] }, r, o, i, a;
475
- return a = { next: c(0), throw: c(1), return: c(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
427
+ return a = { next: l(0), throw: l(1), return: l(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
476
428
  return this;
477
429
  }), a;
478
- function c(s) {
430
+ function l(s) {
479
431
  return function(f) {
480
- return l([s, f]);
432
+ return c([s, f]);
481
433
  };
482
434
  }
483
- function l(s) {
435
+ function c(s) {
484
436
  if (r) throw new TypeError("Generator is already executing.");
485
437
  for (; e; ) try {
486
438
  if (r = 1, o && (i = s[0] & 2 ? o.return : s[0] ? o.throw || ((i = o.return) && i.call(o), 0) : o.next) && !(i = i.call(o, s[1])).done) return i;
@@ -537,10 +489,10 @@ function _(t) {
537
489
  };
538
490
  throw new TypeError(n ? "Object is not iterable." : "Symbol.iterator is not defined.");
539
491
  }
540
- function T(t) {
541
- return this instanceof T ? (this.v = t, this) : new T(t);
492
+ function z(t) {
493
+ return this instanceof z ? (this.v = t, this) : new z(t);
542
494
  }
543
- function Ie(t, n, e) {
495
+ function Re(t, n, e) {
544
496
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
545
497
  var r = e.apply(t, n || []), o, i = [];
546
498
  return o = {}, a("next"), a("throw"), a("return"), o[Symbol.asyncIterator] = function() {
@@ -548,29 +500,29 @@ function Ie(t, n, e) {
548
500
  }, o;
549
501
  function a(u) {
550
502
  r[u] && (o[u] = function(d) {
551
- return new Promise(function(h, y) {
552
- i.push([u, d, h, y]) > 1 || c(u, d);
503
+ return new Promise(function(p, y) {
504
+ i.push([u, d, p, y]) > 1 || l(u, d);
553
505
  });
554
506
  });
555
507
  }
556
- function c(u, d) {
508
+ function l(u, d) {
557
509
  try {
558
- l(r[u](d));
559
- } catch (h) {
560
- p(i[0][3], h);
510
+ c(r[u](d));
511
+ } catch (p) {
512
+ h(i[0][3], p);
561
513
  }
562
514
  }
563
- function l(u) {
564
- u.value instanceof T ? Promise.resolve(u.value.v).then(s, f) : p(i[0][2], u);
515
+ function c(u) {
516
+ u.value instanceof z ? Promise.resolve(u.value.v).then(s, f) : h(i[0][2], u);
565
517
  }
566
518
  function s(u) {
567
- c("next", u);
519
+ l("next", u);
568
520
  }
569
521
  function f(u) {
570
- c("throw", u);
522
+ l("throw", u);
571
523
  }
572
- function p(u, d) {
573
- u(d), i.shift(), i.length && c(i[0][0], i[0][1]);
524
+ function h(u, d) {
525
+ u(d), i.shift(), i.length && l(i[0][0], i[0][1]);
574
526
  }
575
527
  }
576
528
  var he = (
@@ -669,10 +621,10 @@ var he = (
669
621
  return this._q.shift();
670
622
  }, t;
671
623
  })();
672
- function C(t) {
624
+ function $(t) {
673
625
  t != null && typeof t.then == "function" && t.then(A, A);
674
626
  }
675
- var M = 0, H = 1, O = 2, q = 3, $ = 4, D = 1024, A = function() {
627
+ var V = 0, H = 1, O = 2, q = 3, U = 4, D = 1024, A = function() {
676
628
  };
677
629
  function S(t) {
678
630
  var n = t.err, e = Promise.resolve(t.execution).then(function(r) {
@@ -689,7 +641,7 @@ function S(t) {
689
641
  function x(t, n) {
690
642
  var e = t.state >= q;
691
643
  return Promise.resolve(n).then(function(r) {
692
- return !e && t.state >= $ ? S(t).then(function(o) {
644
+ return !e && t.state >= U ? S(t).then(function(o) {
693
645
  return {
694
646
  value: o,
695
647
  done: !0
@@ -701,15 +653,15 @@ function K(t, n) {
701
653
  var e, r;
702
654
  if (!(t.state >= O))
703
655
  if (t.state = O, t.onnext(), t.onstop(), t.err == null && (t.err = n), t.pushes.length === 0 && (typeof t.buffer > "u" || t.buffer.empty))
704
- I(t);
656
+ R(t);
705
657
  else
706
658
  try {
707
659
  for (var o = _(t.pushes), i = o.next(); !i.done; i = o.next()) {
708
660
  var a = i.value;
709
661
  a.resolve();
710
662
  }
711
- } catch (c) {
712
- e = { error: c };
663
+ } catch (l) {
664
+ e = { error: l };
713
665
  } finally {
714
666
  try {
715
667
  i && !i.done && (r = o.return) && r.call(o);
@@ -718,7 +670,7 @@ function K(t, n) {
718
670
  }
719
671
  }
720
672
  }
721
- function I(t) {
673
+ function R(t) {
722
674
  var n, e;
723
675
  if (!(t.state >= q)) {
724
676
  t.state < O && K(t), t.state = q, t.buffer = void 0;
@@ -729,8 +681,8 @@ function I(t) {
729
681
  });
730
682
  i.resolve(x(t, a));
731
683
  }
732
- } catch (c) {
733
- n = { error: c };
684
+ } catch (l) {
685
+ n = { error: l };
734
686
  } finally {
735
687
  try {
736
688
  o && !o.done && (e = r.return) && e.call(r);
@@ -742,52 +694,52 @@ function I(t) {
742
694
  }
743
695
  }
744
696
  function Q(t) {
745
- t.state >= $ || (t.state < q && I(t), t.state = $);
697
+ t.state >= U || (t.state < q && R(t), t.state = U);
746
698
  }
747
- function Te(t, n) {
748
- if (C(n), t.pushes.length >= D)
699
+ function ze(t, n) {
700
+ if ($(n), t.pushes.length >= D)
749
701
  throw new he("No more than " + D + " pending calls to push are allowed on a single repeater.");
750
702
  if (t.state >= O)
751
703
  return Promise.resolve(void 0);
752
704
  var e = t.pending === void 0 ? Promise.resolve(n) : t.pending.then(function() {
753
705
  return n;
754
706
  });
755
- e = e.catch(function(l) {
756
- t.state < O && (t.err = l), Q(t);
707
+ e = e.catch(function(c) {
708
+ t.state < O && (t.err = c), Q(t);
757
709
  });
758
710
  var r;
759
711
  if (t.nexts.length) {
760
712
  var o = t.nexts.shift();
761
- o.resolve(x(t, e)), t.nexts.length ? r = Promise.resolve(t.nexts[0].value) : typeof t.buffer < "u" && !t.buffer.full ? r = Promise.resolve(void 0) : r = new Promise(function(l) {
762
- return t.onnext = l;
713
+ o.resolve(x(t, e)), t.nexts.length ? r = Promise.resolve(t.nexts[0].value) : typeof t.buffer < "u" && !t.buffer.full ? r = Promise.resolve(void 0) : r = new Promise(function(c) {
714
+ return t.onnext = c;
763
715
  });
764
- } else typeof t.buffer < "u" && !t.buffer.full ? (t.buffer.add(e), r = Promise.resolve(void 0)) : r = new Promise(function(l) {
765
- return t.pushes.push({ resolve: l, value: e });
716
+ } else typeof t.buffer < "u" && !t.buffer.full ? (t.buffer.add(e), r = Promise.resolve(void 0)) : r = new Promise(function(c) {
717
+ return t.pushes.push({ resolve: c, value: e });
766
718
  });
767
- var i = !0, a = {}, c = r.catch(function(l) {
719
+ var i = !0, a = {}, l = r.catch(function(c) {
768
720
  if (i)
769
- throw l;
721
+ throw c;
770
722
  });
771
- return a.then = function(l, s) {
772
- return i = !1, Promise.prototype.then.call(r, l, s);
773
- }, a.catch = function(l) {
774
- return i = !1, Promise.prototype.catch.call(r, l);
723
+ return a.then = function(c, s) {
724
+ return i = !1, Promise.prototype.then.call(r, c, s);
725
+ }, a.catch = function(c) {
726
+ return i = !1, Promise.prototype.catch.call(r, c);
775
727
  }, a.finally = r.finally.bind(r), t.pending = e.then(function() {
776
- return c;
777
- }).catch(function(l) {
778
- t.err = l, Q(t);
728
+ return l;
729
+ }).catch(function(c) {
730
+ t.err = c, Q(t);
779
731
  }), a;
780
732
  }
781
- function Re(t) {
733
+ function Ie(t) {
782
734
  var n = K.bind(null, t), e = new Promise(function(r) {
783
735
  return t.onstop = r;
784
736
  });
785
737
  return n.then = e.then.bind(e), n.catch = e.catch.bind(e), n.finally = e.finally.bind(e), n;
786
738
  }
787
- function ze(t) {
739
+ function ke(t) {
788
740
  if (!(t.state >= H)) {
789
741
  t.state = H;
790
- var n = Te.bind(null, t), e = Re(t);
742
+ var n = ze.bind(null, t), e = Ie(t);
791
743
  t.execution = new Promise(function(r) {
792
744
  return r(t.executor(n, e));
793
745
  }), t.execution.catch(function() {
@@ -795,7 +747,7 @@ function ze(t) {
795
747
  });
796
748
  }
797
749
  }
798
- var F = /* @__PURE__ */ new WeakMap(), R = (
750
+ var F = /* @__PURE__ */ new WeakMap(), I = (
799
751
  /** @class */
800
752
  function() {
801
753
  function t(n, e) {
@@ -803,7 +755,7 @@ var F = /* @__PURE__ */ new WeakMap(), R = (
803
755
  executor: n,
804
756
  buffer: e,
805
757
  err: void 0,
806
- state: M,
758
+ state: V,
807
759
  pushes: [],
808
760
  nexts: [],
809
761
  pending: void 0,
@@ -813,13 +765,13 @@ var F = /* @__PURE__ */ new WeakMap(), R = (
813
765
  });
814
766
  }
815
767
  return t.prototype.next = function(n) {
816
- C(n);
768
+ $(n);
817
769
  var e = F.get(this);
818
770
  if (e === void 0)
819
771
  throw new Error("WeakMap error");
820
772
  if (e.nexts.length >= D)
821
773
  throw new he("No more than " + D + " pending calls to next are allowed on a single repeater.");
822
- if (e.state <= M && ze(e), e.onnext(n), typeof e.buffer < "u" && !e.buffer.empty) {
774
+ if (e.state <= V && ke(e), e.onnext(n), typeof e.buffer < "u" && !e.buffer.empty) {
823
775
  var r = x(e, e.buffer.remove());
824
776
  if (e.pushes.length) {
825
777
  var o = e.pushes.shift();
@@ -830,42 +782,42 @@ var F = /* @__PURE__ */ new WeakMap(), R = (
830
782
  var i = e.pushes.shift();
831
783
  return e.onnext = i.resolve, x(e, i.value);
832
784
  } else if (e.state >= O)
833
- return I(e), x(e, S(e));
785
+ return R(e), x(e, S(e));
834
786
  return new Promise(function(a) {
835
787
  return e.nexts.push({ resolve: a, value: n });
836
788
  });
837
789
  }, t.prototype.return = function(n) {
838
- C(n);
790
+ $(n);
839
791
  var e = F.get(this);
840
792
  if (e === void 0)
841
793
  throw new Error("WeakMap error");
842
- return I(e), e.execution = Promise.resolve(e.execution).then(function() {
794
+ return R(e), e.execution = Promise.resolve(e.execution).then(function() {
843
795
  return n;
844
796
  }), x(e, S(e));
845
797
  }, t.prototype.throw = function(n) {
846
798
  var e = F.get(this);
847
799
  if (e === void 0)
848
800
  throw new Error("WeakMap error");
849
- return e.state <= M || e.state >= O || typeof e.buffer < "u" && !e.buffer.empty ? (I(e), e.err == null && (e.err = n), x(e, S(e))) : this.next(Promise.reject(n));
801
+ return e.state <= V || e.state >= O || typeof e.buffer < "u" && !e.buffer.empty ? (R(e), e.err == null && (e.err = n), x(e, S(e))) : this.next(Promise.reject(n));
850
802
  }, t.prototype[Symbol.asyncIterator] = function() {
851
803
  return this;
852
- }, t.race = ke, t.merge = Fe, t.zip = qe, t.latest = De, t;
804
+ }, t.race = Te, t.merge = Fe, t.zip = qe, t.latest = De, t;
853
805
  }()
854
806
  );
855
- function B(t, n) {
807
+ function M(t, n) {
856
808
  var e, r, o = [], i = function(s) {
857
809
  s != null && typeof s[Symbol.asyncIterator] == "function" ? o.push(s[Symbol.asyncIterator]()) : s != null && typeof s[Symbol.iterator] == "function" ? o.push(s[Symbol.iterator]()) : o.push(function() {
858
- return Ie(this, arguments, function() {
810
+ return Re(this, arguments, function() {
859
811
  return j(this, function(u) {
860
812
  switch (u.label) {
861
813
  case 0:
862
- return n.yieldValues ? [4, T(s)] : [3, 3];
814
+ return n.yieldValues ? [4, z(s)] : [3, 3];
863
815
  case 1:
864
816
  return [4, u.sent()];
865
817
  case 2:
866
818
  u.sent(), u.label = 3;
867
819
  case 3:
868
- return n.returnValues ? [4, T(s)] : [3, 5];
820
+ return n.returnValues ? [4, z(s)] : [3, 5];
869
821
  case 4:
870
822
  return [2, u.sent()];
871
823
  case 5:
@@ -879,28 +831,28 @@ function B(t, n) {
879
831
  }());
880
832
  };
881
833
  try {
882
- for (var a = _(t), c = a.next(); !c.done; c = a.next()) {
883
- var l = c.value;
884
- i(l);
834
+ for (var a = _(t), l = a.next(); !l.done; l = a.next()) {
835
+ var c = l.value;
836
+ i(c);
885
837
  }
886
838
  } catch (s) {
887
839
  e = { error: s };
888
840
  } finally {
889
841
  try {
890
- c && !c.done && (r = a.return) && r.call(a);
842
+ l && !l.done && (r = a.return) && r.call(a);
891
843
  } finally {
892
844
  if (e) throw e.error;
893
845
  }
894
846
  }
895
847
  return o;
896
848
  }
897
- function ke(t) {
898
- var n = this, e = B(t, { returnValues: !0 });
899
- return new R(function(r, o) {
849
+ function Te(t) {
850
+ var n = this, e = M(t, { returnValues: !0 });
851
+ return new I(function(r, o) {
900
852
  return G(n, void 0, void 0, function() {
901
- var i, a, c, l, s, f;
902
- return j(this, function(p) {
903
- switch (p.label) {
853
+ var i, a, l, c, s, f;
854
+ return j(this, function(h) {
855
+ switch (h.label) {
904
856
  case 0:
905
857
  if (!e.length)
906
858
  return o(), [
@@ -909,37 +861,37 @@ function ke(t) {
909
861
  ];
910
862
  a = !1, o.then(function() {
911
863
  i(), a = !0;
912
- }), p.label = 1;
864
+ }), h.label = 1;
913
865
  case 1:
914
- p.trys.push([1, , 5, 7]), l = void 0, s = 0, f = function() {
915
- var u, d, h, y, b, z;
916
- return j(this, function(k) {
917
- switch (k.label) {
866
+ h.trys.push([1, , 5, 7]), c = void 0, s = 0, f = function() {
867
+ var u, d, p, y, m, k;
868
+ return j(this, function(T) {
869
+ switch (T.label) {
918
870
  case 0:
919
871
  u = s;
920
872
  try {
921
- for (d = (b = void 0, _(e)), h = d.next(); !h.done; h = d.next())
922
- y = h.value, Promise.resolve(y.next()).then(function(w) {
923
- w.done ? (o(), c === void 0 && (c = w)) : s === u && (s++, i(w));
873
+ for (d = (m = void 0, _(e)), p = d.next(); !p.done; p = d.next())
874
+ y = p.value, Promise.resolve(y.next()).then(function(w) {
875
+ w.done ? (o(), l === void 0 && (l = w)) : s === u && (s++, i(w));
924
876
  }, function(w) {
925
877
  return o(w);
926
878
  });
927
879
  } catch (w) {
928
- b = { error: w };
880
+ m = { error: w };
929
881
  } finally {
930
882
  try {
931
- h && !h.done && (z = d.return) && z.call(d);
883
+ p && !p.done && (k = d.return) && k.call(d);
932
884
  } finally {
933
- if (b) throw b.error;
885
+ if (m) throw m.error;
934
886
  }
935
887
  }
936
888
  return [4, new Promise(function(w) {
937
889
  return i = w;
938
890
  })];
939
891
  case 1:
940
- return l = k.sent(), l === void 0 ? [3, 3] : [4, r(l.value)];
892
+ return c = T.sent(), c === void 0 ? [3, 3] : [4, r(c.value)];
941
893
  case 2:
942
- k.sent(), k.label = 3;
894
+ T.sent(), T.label = 3;
943
895
  case 3:
944
896
  return [
945
897
  2
@@ -947,19 +899,19 @@ function ke(t) {
947
899
  ];
948
900
  }
949
901
  });
950
- }, p.label = 2;
902
+ }, h.label = 2;
951
903
  case 2:
952
904
  return a ? [3, 4] : [5, f()];
953
905
  case 3:
954
- return p.sent(), [3, 2];
906
+ return h.sent(), [3, 2];
955
907
  case 4:
956
- return [2, c && c.value];
908
+ return [2, l && l.value];
957
909
  case 5:
958
910
  return o(), [4, Promise.race(e.map(function(u) {
959
911
  return u.return && u.return();
960
912
  }))];
961
913
  case 6:
962
- return p.sent(), [
914
+ return h.sent(), [
963
915
  7
964
916
  /*endfinally*/
965
917
  ];
@@ -974,10 +926,10 @@ function ke(t) {
974
926
  });
975
927
  }
976
928
  function Fe(t) {
977
- var n = this, e = B(t, { yieldValues: !0 });
978
- return new R(function(r, o) {
929
+ var n = this, e = M(t, { yieldValues: !0 });
930
+ return new I(function(r, o) {
979
931
  return G(n, void 0, void 0, function() {
980
- var i, a, c, l = this;
932
+ var i, a, l, c = this;
981
933
  return j(this, function(s) {
982
934
  switch (s.label) {
983
935
  case 0:
@@ -987,46 +939,46 @@ function Fe(t) {
987
939
  /*return*/
988
940
  ];
989
941
  i = [], a = !1, o.then(function() {
990
- var f, p;
942
+ var f, h;
991
943
  a = !0;
992
944
  try {
993
945
  for (var u = _(i), d = u.next(); !d.done; d = u.next()) {
994
- var h = d.value;
995
- h();
946
+ var p = d.value;
947
+ p();
996
948
  }
997
949
  } catch (y) {
998
950
  f = { error: y };
999
951
  } finally {
1000
952
  try {
1001
- d && !d.done && (p = u.return) && p.call(u);
953
+ d && !d.done && (h = u.return) && h.call(u);
1002
954
  } finally {
1003
955
  if (f) throw f.error;
1004
956
  }
1005
957
  }
1006
958
  }), s.label = 1;
1007
959
  case 1:
1008
- return s.trys.push([1, , 3, 4]), [4, Promise.all(e.map(function(f, p) {
1009
- return G(l, void 0, void 0, function() {
960
+ return s.trys.push([1, , 3, 4]), [4, Promise.all(e.map(function(f, h) {
961
+ return G(c, void 0, void 0, function() {
1010
962
  var u, d;
1011
- return j(this, function(h) {
1012
- switch (h.label) {
963
+ return j(this, function(p) {
964
+ switch (p.label) {
1013
965
  case 0:
1014
- h.trys.push([0, , 6, 9]), h.label = 1;
966
+ p.trys.push([0, , 6, 9]), p.label = 1;
1015
967
  case 1:
1016
968
  return a ? [3, 5] : (Promise.resolve(f.next()).then(function(y) {
1017
- return i[p](y);
969
+ return i[h](y);
1018
970
  }, function(y) {
1019
971
  return o(y);
1020
972
  }), [4, new Promise(function(y) {
1021
- i[p] = y;
973
+ i[h] = y;
1022
974
  })]);
1023
975
  case 2:
1024
- return u = h.sent(), u === void 0 ? [3, 4] : u.done ? (c = u, [
976
+ return u = p.sent(), u === void 0 ? [3, 4] : u.done ? (l = u, [
1025
977
  2
1026
978
  /*return*/
1027
979
  ]) : [4, r(u.value)];
1028
980
  case 3:
1029
- h.sent(), h.label = 4;
981
+ p.sent(), p.label = 4;
1030
982
  case 4:
1031
983
  return [3, 1];
1032
984
  case 5:
@@ -1034,7 +986,7 @@ function Fe(t) {
1034
986
  case 6:
1035
987
  return d = f.return, d ? [4, f.return()] : [3, 8];
1036
988
  case 7:
1037
- d = h.sent(), h.label = 8;
989
+ d = p.sent(), p.label = 8;
1038
990
  case 8:
1039
991
  return [
1040
992
  7
@@ -1050,7 +1002,7 @@ function Fe(t) {
1050
1002
  });
1051
1003
  }))];
1052
1004
  case 2:
1053
- return s.sent(), [2, c && c.value];
1005
+ return s.sent(), [2, l && l.value];
1054
1006
  case 3:
1055
1007
  return o(), [
1056
1008
  7
@@ -1067,10 +1019,10 @@ function Fe(t) {
1067
1019
  });
1068
1020
  }
1069
1021
  function qe(t) {
1070
- var n = this, e = B(t, { returnValues: !0 });
1071
- return new R(function(r, o) {
1022
+ var n = this, e = M(t, { returnValues: !0 });
1023
+ return new I(function(r, o) {
1072
1024
  return G(n, void 0, void 0, function() {
1073
- var i, a, c, l;
1025
+ var i, a, l, c;
1074
1026
  return j(this, function(s) {
1075
1027
  switch (s.label) {
1076
1028
  case 0:
@@ -1092,14 +1044,14 @@ function qe(t) {
1092
1044
  return i = f;
1093
1045
  })]);
1094
1046
  case 3:
1095
- return c = s.sent(), c === void 0 ? [
1047
+ return l = s.sent(), l === void 0 ? [
1096
1048
  2
1097
1049
  /*return*/
1098
- ] : (l = c.map(function(f) {
1050
+ ] : (c = l.map(function(f) {
1099
1051
  return f.value;
1100
- }), c.some(function(f) {
1052
+ }), l.some(function(f) {
1101
1053
  return f.done;
1102
- }) ? [2, l] : [4, r(l)]);
1054
+ }) ? [2, c] : [4, r(c)]);
1103
1055
  case 4:
1104
1056
  return s.sent(), [3, 2];
1105
1057
  case 5:
@@ -1124,39 +1076,39 @@ function qe(t) {
1124
1076
  });
1125
1077
  }
1126
1078
  function De(t) {
1127
- var n = this, e = B(t, {
1079
+ var n = this, e = M(t, {
1128
1080
  yieldValues: !0,
1129
1081
  returnValues: !0
1130
1082
  });
1131
- return new R(function(r, o) {
1083
+ return new I(function(r, o) {
1132
1084
  return G(n, void 0, void 0, function() {
1133
- var i, a, c, l, s, f = this;
1134
- return j(this, function(p) {
1135
- switch (p.label) {
1085
+ var i, a, l, c, s, f = this;
1086
+ return j(this, function(h) {
1087
+ switch (h.label) {
1136
1088
  case 0:
1137
1089
  if (!e.length)
1138
1090
  return o(), [2, []];
1139
- a = [], c = !1, o.then(function() {
1091
+ a = [], l = !1, o.then(function() {
1140
1092
  var u, d;
1141
1093
  i();
1142
1094
  try {
1143
- for (var h = _(a), y = h.next(); !y.done; y = h.next()) {
1144
- var b = y.value;
1145
- b();
1095
+ for (var p = _(a), y = p.next(); !y.done; y = p.next()) {
1096
+ var m = y.value;
1097
+ m();
1146
1098
  }
1147
- } catch (z) {
1148
- u = { error: z };
1099
+ } catch (k) {
1100
+ u = { error: k };
1149
1101
  } finally {
1150
1102
  try {
1151
- y && !y.done && (d = h.return) && d.call(h);
1103
+ y && !y.done && (d = p.return) && d.call(p);
1152
1104
  } finally {
1153
1105
  if (u) throw u.error;
1154
1106
  }
1155
1107
  }
1156
- c = !0;
1157
- }), p.label = 1;
1108
+ l = !0;
1109
+ }), h.label = 1;
1158
1110
  case 1:
1159
- return p.trys.push([1, , 5, 7]), Promise.all(e.map(function(u) {
1111
+ return h.trys.push([1, , 5, 7]), Promise.all(e.map(function(u) {
1160
1112
  return u.next();
1161
1113
  })).then(function(u) {
1162
1114
  return i(u);
@@ -1166,34 +1118,34 @@ function De(t) {
1166
1118
  return i = u;
1167
1119
  })];
1168
1120
  case 2:
1169
- return l = p.sent(), l === void 0 ? [
1121
+ return c = h.sent(), c === void 0 ? [
1170
1122
  2
1171
1123
  /*return*/
1172
- ] : (s = l.map(function(u) {
1124
+ ] : (s = c.map(function(u) {
1173
1125
  return u.value;
1174
- }), l.every(function(u) {
1126
+ }), c.every(function(u) {
1175
1127
  return u.done;
1176
1128
  }) ? [2, s] : [4, r(s.slice())]);
1177
1129
  case 3:
1178
- return p.sent(), [4, Promise.all(e.map(function(u, d) {
1130
+ return h.sent(), [4, Promise.all(e.map(function(u, d) {
1179
1131
  return G(f, void 0, void 0, function() {
1180
- var h;
1132
+ var p;
1181
1133
  return j(this, function(y) {
1182
1134
  switch (y.label) {
1183
1135
  case 0:
1184
- if (l[d].done)
1185
- return [2, l[d].value];
1136
+ if (c[d].done)
1137
+ return [2, c[d].value];
1186
1138
  y.label = 1;
1187
1139
  case 1:
1188
- return c ? [3, 4] : (Promise.resolve(u.next()).then(function(b) {
1189
- return a[d](b);
1190
- }, function(b) {
1191
- return o(b);
1192
- }), [4, new Promise(function(b) {
1193
- return a[d] = b;
1140
+ return l ? [3, 4] : (Promise.resolve(u.next()).then(function(m) {
1141
+ return a[d](m);
1142
+ }, function(m) {
1143
+ return o(m);
1144
+ }), [4, new Promise(function(m) {
1145
+ return a[d] = m;
1194
1146
  })]);
1195
1147
  case 2:
1196
- return h = y.sent(), h === void 0 ? [2, l[d].value] : h.done ? [2, h.value] : (s[d] = h.value, [4, r(s.slice())]);
1148
+ return p = y.sent(), p === void 0 ? [2, c[d].value] : p.done ? [2, p.value] : (s[d] = p.value, [4, r(s.slice())]);
1197
1149
  case 3:
1198
1150
  return y.sent(), [3, 1];
1199
1151
  case 4:
@@ -1206,13 +1158,13 @@ function De(t) {
1206
1158
  });
1207
1159
  }))];
1208
1160
  case 4:
1209
- return [2, p.sent()];
1161
+ return [2, h.sent()];
1210
1162
  case 5:
1211
1163
  return o(), [4, Promise.all(e.map(function(u) {
1212
1164
  return u.return && u.return();
1213
1165
  }))];
1214
1166
  case 6:
1215
- return p.sent(), [
1167
+ return h.sent(), [
1216
1168
  7
1217
1169
  /*endfinally*/
1218
1170
  ];
@@ -1238,24 +1190,24 @@ function Ne(t, n, e, r) {
1238
1190
  throw typeof i == "object" && i && "name" in i && typeof i.name == "string" && "message" in i && typeof i.message == "string" ? i.name === "TEST_OPERATION_FAILED" ? new Pe(i.message) : new je(i.name + ": " + i.message) : i;
1239
1191
  }
1240
1192
  }
1241
- function Ue(t, n) {
1193
+ function Be(t, n) {
1242
1194
  try {
1243
1195
  return t.compile(n);
1244
1196
  } catch (e) {
1245
- throw new we(
1197
+ throw new ge(
1246
1198
  e instanceof Error ? e.message : void 0
1247
1199
  );
1248
1200
  }
1249
1201
  }
1250
- function Be(t, n, e) {
1202
+ function Me(t, n, e) {
1251
1203
  t.actor !== (e == null ? void 0 : e.actor) && (t.allowed = t.allowed && e ? [e.actor] : void 0, t.channels = t.channels.filter(
1252
1204
  (r) => n.includes(r)
1253
1205
  ));
1254
1206
  }
1255
- function Me(t, n) {
1207
+ function Ve(t, n) {
1256
1208
  return t.allowed === void 0 || t.allowed === null || !!(n != null && n.actor) && (t.actor === n.actor || t.allowed.includes(n.actor));
1257
1209
  }
1258
- class Ve extends be {
1210
+ class Ce extends be {
1259
1211
  /**
1260
1212
  * Wraps a Graffiti API instance to provide the synchronize methods.
1261
1213
  * The GraffitiSyncrhonize class rather than the Graffiti class
@@ -1345,23 +1297,23 @@ class Ve extends be {
1345
1297
  }
1346
1298
  synchronize(e, r, o, i) {
1347
1299
  const a = /* @__PURE__ */ new Set();
1348
- return new R(
1349
- async (l, s) => {
1350
- const f = Ue(await this.ajv, o), p = (u, d) => {
1351
- for (const h of [d, u])
1352
- if (h != null && h.tombstone)
1353
- a.has(h.object.url) && l(h);
1354
- else if (h && e(h.object) && (this.options.omniscient || Me(h.object, i))) {
1300
+ return new I(
1301
+ async (c, s) => {
1302
+ const f = Be(await this.ajv, o), h = (u, d) => {
1303
+ for (const p of [d, u])
1304
+ if (p != null && p.tombstone)
1305
+ a.has(p.object.url) && c(p);
1306
+ else if (p && e(p.object) && (this.options.omniscient || Ve(p.object, i))) {
1355
1307
  const y = JSON.parse(
1356
- JSON.stringify(h.object)
1308
+ JSON.stringify(p.object)
1357
1309
  );
1358
- if (this.options.omniscient || Be(y, r, i), f(y)) {
1359
- l({ object: y }), a.add(y.url);
1310
+ if (this.options.omniscient || Me(y, r, i), f(y)) {
1311
+ c({ object: y }), a.add(y.url);
1360
1312
  break;
1361
1313
  }
1362
1314
  }
1363
1315
  };
1364
- this.callbacks.add(p), await s, this.callbacks.delete(p);
1316
+ this.callbacks.add(h), await s, this.callbacks.delete(h);
1365
1317
  }
1366
1318
  );
1367
1319
  }
@@ -1380,8 +1332,8 @@ class Ve extends be {
1380
1332
  */
1381
1333
  synchronizeDiscover(...e) {
1382
1334
  const [r, o, i] = e;
1383
- function a(c) {
1384
- return c.channels.some((l) => r.includes(l));
1335
+ function a(l) {
1336
+ return l.channels.some((c) => r.includes(c));
1385
1337
  }
1386
1338
  return this.synchronize(a, r, o, i);
1387
1339
  }
@@ -1399,10 +1351,10 @@ class Ve extends be {
1399
1351
  */
1400
1352
  synchronizeGet(...e) {
1401
1353
  const [r, o, i] = e, a = Ae(r);
1402
- function c(l) {
1403
- return l.url === a;
1354
+ function l(c) {
1355
+ return c.url === a;
1404
1356
  }
1405
- return this.synchronize(c, [], o, i);
1357
+ return this.synchronize(l, [], o, i);
1406
1358
  }
1407
1359
  /**
1408
1360
  * This method has the same signature as {@link recoverOrphans} but
@@ -1473,14 +1425,14 @@ class Ve extends be {
1473
1425
  }
1474
1426
  const We = {
1475
1427
  install(t, n) {
1476
- const e = n.graffiti, r = new Ve(e), o = N(void 0);
1428
+ const e = n.graffiti, r = new Ce(e), o = N(void 0);
1477
1429
  r.sessionEvents.addEventListener("initialized", async (i) => {
1478
1430
  const a = i.detail;
1479
1431
  if (a && a.error && console.error(a.error), a && a.href) {
1480
- const c = t.config.globalProperties.$router;
1481
- if (c) {
1482
- const l = c.options.history.base, s = new URL(a.href);
1483
- s.pathname.startsWith(l) && (s.pathname = s.pathname.slice(l.length)), await c.replace(s.pathname + s.search + s.hash);
1432
+ const l = t.config.globalProperties.$router;
1433
+ if (l) {
1434
+ const c = l.options.history.base, s = new URL(a.href);
1435
+ s.pathname.startsWith(c) && (s.pathname = s.pathname.slice(c.length)), await l.replace(s.pathname + s.search + s.hash);
1484
1436
  }
1485
1437
  }
1486
1438
  o.value || (o.value = null);
@@ -1507,6 +1459,6 @@ export {
1507
1459
  Ee as useGraffitiGet,
1508
1460
  Ge as useGraffitiRecoverOrphans,
1509
1461
  ee as useGraffitiSession,
1510
- U as useGraffitiSynchronize
1462
+ B as useGraffitiSynchronize
1511
1463
  };
1512
1464
  //# sourceMappingURL=plugin.mjs.map