buzzcasting-storage 3.14.5 → 3.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/buzzcasting-storage.esm.js +156 -155
- package/package.json +1 -1
|
@@ -91,7 +91,7 @@ const K = (f = 0, t) => {
|
|
|
91
91
|
console.error(...t);
|
|
92
92
|
break;
|
|
93
93
|
}
|
|
94
|
-
},
|
|
94
|
+
}, rr = (f) => {
|
|
95
95
|
switch (f?.type) {
|
|
96
96
|
case _.MESSAGES:
|
|
97
97
|
return o.MESSAGES;
|
|
@@ -131,7 +131,7 @@ function St(f, t) {
|
|
|
131
131
|
}
|
|
132
132
|
return t;
|
|
133
133
|
}
|
|
134
|
-
const xa = "3.14.
|
|
134
|
+
const xa = "3.14.5";
|
|
135
135
|
class ka {
|
|
136
136
|
options;
|
|
137
137
|
url;
|
|
@@ -587,12 +587,12 @@ function Ga() {
|
|
|
587
587
|
}(e), ot = null, e;
|
|
588
588
|
}
|
|
589
589
|
var Hn = {}.toString;
|
|
590
|
-
function
|
|
590
|
+
function nr(e) {
|
|
591
591
|
return Hn.call(e).slice(8, -1);
|
|
592
592
|
}
|
|
593
|
-
var
|
|
593
|
+
var ar = typeof Symbol < "u" ? Symbol.iterator : "@@iterator", Vn = typeof ar == "symbol" ? function(e) {
|
|
594
594
|
var r;
|
|
595
|
-
return e != null && (r = e[
|
|
595
|
+
return e != null && (r = e[ar]) && r.apply(e);
|
|
596
596
|
} : function() {
|
|
597
597
|
return null;
|
|
598
598
|
};
|
|
@@ -617,7 +617,7 @@ function Ga() {
|
|
|
617
617
|
for (r = arguments.length, n = new Array(r); r--; ) n[r] = arguments[r];
|
|
618
618
|
return n;
|
|
619
619
|
}
|
|
620
|
-
var
|
|
620
|
+
var sr = typeof Symbol < "u" ? function(e) {
|
|
621
621
|
return e[Symbol.toStringTag] === "AsyncFunction";
|
|
622
622
|
} : function() {
|
|
623
623
|
return !1;
|
|
@@ -644,7 +644,7 @@ function Ga() {
|
|
|
644
644
|
Ve(Qe).from(Error).extend({ toString: function() {
|
|
645
645
|
return this.name + ": " + this.message;
|
|
646
646
|
} }), Ve(At).from(Qe), Ve(Xe).from(Qe);
|
|
647
|
-
var
|
|
647
|
+
var or = fe.reduce(function(e, r) {
|
|
648
648
|
return e[r] = r + "Error", e;
|
|
649
649
|
}, {}), Qn = Qe, L = fe.reduce(function(e, r) {
|
|
650
650
|
var n = r + "Error";
|
|
@@ -705,7 +705,7 @@ function Ga() {
|
|
|
705
705
|
return r.apply(this, arguments) !== !1 && e.apply(this, arguments);
|
|
706
706
|
};
|
|
707
707
|
}
|
|
708
|
-
function
|
|
708
|
+
function ir(e, r) {
|
|
709
709
|
return e === Q ? r : function() {
|
|
710
710
|
var n = e.apply(this, arguments);
|
|
711
711
|
if (n && typeof n.then == "function") {
|
|
@@ -727,16 +727,16 @@ function Ga() {
|
|
|
727
727
|
if (typeof crypto > "u" || !crypto.subtle) return [e, se(e), e];
|
|
728
728
|
var r = crypto.subtle.digest("SHA-512", new Uint8Array([0]));
|
|
729
729
|
return [r, se(r), e];
|
|
730
|
-
}(), ut = Ge[0], fe = Ge[1], Ge = Ge[2], fe = fe && fe.then, Me = ut && ut.constructor,
|
|
730
|
+
}(), ut = Ge[0], fe = Ge[1], Ge = Ge[2], fe = fe && fe.then, Me = ut && ut.constructor, cr = !!Ge, lt = function(e, r) {
|
|
731
731
|
dt.push([e, r]), Dt && (queueMicrotask(ra), Dt = !1);
|
|
732
|
-
},
|
|
732
|
+
}, ur = !0, Dt = !0, Ke = [], Nt = [], lr = it, Pe = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Q, pgp: !1, env: {}, finalize: Q }, B = Pe, dt = [], Be = 0, It = [];
|
|
733
733
|
function j(e) {
|
|
734
734
|
if (typeof this != "object") throw new TypeError("Promises must be constructed via new");
|
|
735
735
|
this._listeners = [], this._lib = !1;
|
|
736
736
|
var r = this._PSD = B;
|
|
737
737
|
if (typeof e != "function") {
|
|
738
738
|
if (e !== ct) throw new TypeError("Not a function");
|
|
739
|
-
return this._state = arguments[1], this._value = arguments[2], void (this._state === !1 &&
|
|
739
|
+
return this._state = arguments[1], this._value = arguments[2], void (this._state === !1 && hr(this, this._value));
|
|
740
740
|
}
|
|
741
741
|
this._state = null, this._value = null, ++r.ref, function n(a, s) {
|
|
742
742
|
try {
|
|
@@ -748,45 +748,45 @@ function Ga() {
|
|
|
748
748
|
c instanceof j ? c._then(d, p) : c.then(d, p);
|
|
749
749
|
}) : (a._state = !0, a._value = c, nn(a)), u && Ze();
|
|
750
750
|
}
|
|
751
|
-
},
|
|
751
|
+
}, hr.bind(null, a));
|
|
752
752
|
} catch (c) {
|
|
753
|
-
|
|
753
|
+
hr(a, c);
|
|
754
754
|
}
|
|
755
755
|
}(this, e);
|
|
756
756
|
}
|
|
757
|
-
var
|
|
757
|
+
var dr = { get: function() {
|
|
758
758
|
var e = B, r = kt;
|
|
759
759
|
function n(a, s) {
|
|
760
760
|
var c = this, u = !e.global && (e !== B || r !== kt), d = u && !Ne(), p = new j(function(y, w) {
|
|
761
|
-
|
|
761
|
+
fr(c, new rn(sn(a, e, u, d), sn(s, e, u, d), y, w, e));
|
|
762
762
|
});
|
|
763
763
|
return this._consoleTask && (p._consoleTask = this._consoleTask), p;
|
|
764
764
|
}
|
|
765
765
|
return n.prototype = ct, n;
|
|
766
766
|
}, set: function(e) {
|
|
767
|
-
Ae(this, "then", e && e.prototype === ct ?
|
|
767
|
+
Ae(this, "then", e && e.prototype === ct ? dr : { get: function() {
|
|
768
768
|
return e;
|
|
769
|
-
}, set:
|
|
769
|
+
}, set: dr.set });
|
|
770
770
|
} };
|
|
771
771
|
function rn(e, r, n, a, s) {
|
|
772
772
|
this.onFulfilled = typeof e == "function" ? e : null, this.onRejected = typeof r == "function" ? r : null, this.resolve = n, this.reject = a, this.psd = s;
|
|
773
773
|
}
|
|
774
|
-
function
|
|
774
|
+
function hr(e, r) {
|
|
775
775
|
var n, a;
|
|
776
|
-
Nt.push(r), e._state === null && (n = e._lib && Je(), r =
|
|
776
|
+
Nt.push(r), e._state === null && (n = e._lib && Je(), r = lr(r), e._state = !1, e._value = r, a = e, Ke.some(function(s) {
|
|
777
777
|
return s._value === a._value;
|
|
778
778
|
}) || Ke.push(a), nn(e), n && Ze());
|
|
779
779
|
}
|
|
780
780
|
function nn(e) {
|
|
781
781
|
var r = e._listeners;
|
|
782
782
|
e._listeners = [];
|
|
783
|
-
for (var n = 0, a = r.length; n < a; ++n)
|
|
783
|
+
for (var n = 0, a = r.length; n < a; ++n) fr(e, r[n]);
|
|
784
784
|
var s = e._PSD;
|
|
785
785
|
--s.ref || s.finalize(), Be === 0 && (++Be, lt(function() {
|
|
786
|
-
--Be == 0 &&
|
|
786
|
+
--Be == 0 && gr();
|
|
787
787
|
}, []));
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function fr(e, r) {
|
|
790
790
|
if (e._state !== null) {
|
|
791
791
|
var n = e._state ? r.onFulfilled : r.onRejected;
|
|
792
792
|
if (n === null) return (e._state ? r.resolve : r.reject)(e._value);
|
|
@@ -804,7 +804,7 @@ function Ga() {
|
|
|
804
804
|
} catch (c) {
|
|
805
805
|
n.reject(c);
|
|
806
806
|
} finally {
|
|
807
|
-
--Be == 0 &&
|
|
807
|
+
--Be == 0 && gr(), --n.psd.ref || n.psd.finalize();
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
function ra() {
|
|
@@ -813,8 +813,8 @@ function Ga() {
|
|
|
813
813
|
});
|
|
814
814
|
}
|
|
815
815
|
function Je() {
|
|
816
|
-
var e =
|
|
817
|
-
return Dt =
|
|
816
|
+
var e = ur;
|
|
817
|
+
return Dt = ur = !1, e;
|
|
818
818
|
}
|
|
819
819
|
function Ze() {
|
|
820
820
|
var e, r, n;
|
|
@@ -824,9 +824,9 @@ function Ga() {
|
|
|
824
824
|
a[0].apply(null, a[1]);
|
|
825
825
|
}
|
|
826
826
|
while (0 < dt.length);
|
|
827
|
-
Dt =
|
|
827
|
+
Dt = ur = !0;
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function gr() {
|
|
830
830
|
var e = Ke;
|
|
831
831
|
Ke = [], e.forEach(function(a) {
|
|
832
832
|
a._PSD.onunhandled.call(null, a._value, a);
|
|
@@ -849,8 +849,8 @@ function Ga() {
|
|
|
849
849
|
}
|
|
850
850
|
};
|
|
851
851
|
}
|
|
852
|
-
ge(j.prototype, { then:
|
|
853
|
-
|
|
852
|
+
ge(j.prototype, { then: dr, _then: function(e, r) {
|
|
853
|
+
fr(this, new rn(null, null, e, r, B));
|
|
854
854
|
}, catch: function(e) {
|
|
855
855
|
if (arguments.length === 1) return this.then(null, e);
|
|
856
856
|
var r = e, n = arguments[1];
|
|
@@ -910,9 +910,9 @@ function Ga() {
|
|
|
910
910
|
}, set: function(e) {
|
|
911
911
|
lt = e;
|
|
912
912
|
} }, rejectionMapper: { get: function() {
|
|
913
|
-
return
|
|
913
|
+
return lr;
|
|
914
914
|
}, set: function(e) {
|
|
915
|
-
|
|
915
|
+
lr = e;
|
|
916
916
|
} }, follow: function(e, r) {
|
|
917
917
|
return new j(function(n, a) {
|
|
918
918
|
return De(function(s, c) {
|
|
@@ -924,7 +924,7 @@ function Ga() {
|
|
|
924
924
|
}, It.push(function y() {
|
|
925
925
|
d(), It.splice(It.indexOf(y), 1);
|
|
926
926
|
}), ++Be, lt(function() {
|
|
927
|
-
--Be == 0 &&
|
|
927
|
+
--Be == 0 && gr();
|
|
928
928
|
}, []);
|
|
929
929
|
}, u.finalize), e();
|
|
930
930
|
}, r, n, a);
|
|
@@ -961,7 +961,7 @@ function Ga() {
|
|
|
961
961
|
var ne = { awaits: 0, echoes: 0, id: 0 }, na = 0, Rt = [], xt = 0, kt = 0, aa = 0;
|
|
962
962
|
function De(e, r, n, a) {
|
|
963
963
|
var s = B, c = Object.create(s);
|
|
964
|
-
return c.parent = s, c.ref = 0, c.global = !1, c.id = ++aa, Pe.env, c.env =
|
|
964
|
+
return c.parent = s, c.ref = 0, c.global = !1, c.id = ++aa, Pe.env, c.env = cr ? { Promise: j, PromiseProp: { value: j, configurable: !0, writable: !0 }, all: j.all, race: j.race, allSettled: j.allSettled, any: j.any, resolve: j.resolve, reject: j.reject } : {}, r && re(c, r), ++s.ref, c.finalize = function() {
|
|
965
965
|
--this.parent.ref || this.parent.finalize();
|
|
966
966
|
}, a = Le(c, e, n, a), c.ref === 0 && c.finalize(), a;
|
|
967
967
|
}
|
|
@@ -986,11 +986,11 @@ function Ga() {
|
|
|
986
986
|
var n, a = B;
|
|
987
987
|
(r ? !ne.echoes || xt++ && e === B : !xt || --xt && e === B) || queueMicrotask(r ? function(s) {
|
|
988
988
|
++kt, ne.echoes && --ne.echoes != 0 || (ne.echoes = ne.awaits = ne.id = 0), Rt.push(B), Ie(s, !0);
|
|
989
|
-
}.bind(null, e) : sa), e !== B && (B = e, a === Pe && (Pe.env = an()),
|
|
989
|
+
}.bind(null, e) : sa), e !== B && (B = e, a === Pe && (Pe.env = an()), cr && (n = Pe.env.Promise, r = e.env, (a.global || e.global) && (Object.defineProperty(b, "Promise", r.PromiseProp), n.all = r.all, n.race = r.race, n.resolve = r.resolve, n.reject = r.reject, r.allSettled && (n.allSettled = r.allSettled), r.any && (n.any = r.any))));
|
|
990
990
|
}
|
|
991
991
|
function an() {
|
|
992
992
|
var e = b.Promise;
|
|
993
|
-
return
|
|
993
|
+
return cr ? { Promise: e, PromiseProp: Object.getOwnPropertyDescriptor(b, "Promise"), all: e.all, race: e.race, allSettled: e.allSettled, any: e.any, resolve: e.resolve, reject: e.reject } : {};
|
|
994
994
|
}
|
|
995
995
|
function Le(e, r, n, a, s) {
|
|
996
996
|
var c = B;
|
|
@@ -1011,11 +1011,11 @@ function Ga() {
|
|
|
1011
1011
|
}
|
|
1012
1012
|
};
|
|
1013
1013
|
}
|
|
1014
|
-
function
|
|
1014
|
+
function pr(e) {
|
|
1015
1015
|
Promise === Me && ne.echoes === 0 ? xt === 0 ? e() : enqueueNativeMicroTask(e) : setTimeout(e, 0);
|
|
1016
1016
|
}
|
|
1017
1017
|
("" + fe).indexOf("[native code]") === -1 && (qe = Ne = Q);
|
|
1018
|
-
var ee = j.reject, Ue = "", we = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", on = "String expected.", et = [], $t = "__dbnames",
|
|
1018
|
+
var ee = j.reject, Ue = "", we = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", on = "String expected.", et = [], $t = "__dbnames", mr = "readonly", yr = "readwrite";
|
|
1019
1019
|
function We(e, r) {
|
|
1020
1020
|
return e ? r ? function() {
|
|
1021
1021
|
return e.apply(this, arguments) && r.apply(this, arguments);
|
|
@@ -1061,7 +1061,7 @@ function Ga() {
|
|
|
1061
1061
|
}
|
|
1062
1062
|
function ln(e) {
|
|
1063
1063
|
var r = typeof e;
|
|
1064
|
-
return r != "object" ? r : ArrayBuffer.isView(e) ? "binary" : (e =
|
|
1064
|
+
return r != "object" ? r : ArrayBuffer.isView(e) ? "binary" : (e = nr(e), e === "ArrayBuffer" ? "binary" : e);
|
|
1065
1065
|
}
|
|
1066
1066
|
function dn(e) {
|
|
1067
1067
|
return e instanceof Uint8Array ? e : ArrayBuffer.isView(e) ? new Uint8Array(e.buffer, e.byteOffset, e.byteLength) : new Uint8Array(e);
|
|
@@ -1082,7 +1082,7 @@ function Ga() {
|
|
|
1082
1082
|
try {
|
|
1083
1083
|
E.create(), w._state.PR1398_maxLoop = 3;
|
|
1084
1084
|
} catch (S) {
|
|
1085
|
-
return S.name ===
|
|
1085
|
+
return S.name === or.InvalidState && w.isOpen() && 0 < --w._state.PR1398_maxLoop ? (console.warn("Dexie: Need to reopen db"), w.close({ disableAutoOpen: !1 }), w.open().then(function() {
|
|
1086
1086
|
return y(w, h, O, m);
|
|
1087
1087
|
})) : ee(S);
|
|
1088
1088
|
}
|
|
@@ -1381,10 +1381,10 @@ function Ga() {
|
|
|
1381
1381
|
function tt(e, r) {
|
|
1382
1382
|
return !(e.filter || e.algorithm || e.or) && (r ? e.justLimit : !e.replayFilter);
|
|
1383
1383
|
}
|
|
1384
|
-
function
|
|
1384
|
+
function br(e, r) {
|
|
1385
1385
|
e.filter = We(e.filter, r);
|
|
1386
1386
|
}
|
|
1387
|
-
function
|
|
1387
|
+
function vr(e, r, n) {
|
|
1388
1388
|
var a = e.replayFilter;
|
|
1389
1389
|
e.replayFilter = a ? function() {
|
|
1390
1390
|
return We(a(), r());
|
|
@@ -1533,28 +1533,28 @@ function Ga() {
|
|
|
1533
1533
|
}, e);
|
|
1534
1534
|
}, V.prototype.offset = function(e) {
|
|
1535
1535
|
var r = this._ctx;
|
|
1536
|
-
return e <= 0 || (r.offset += e, tt(r) ?
|
|
1536
|
+
return e <= 0 || (r.offset += e, tt(r) ? vr(r, function() {
|
|
1537
1537
|
var n = e;
|
|
1538
1538
|
return function(a, s) {
|
|
1539
1539
|
return n === 0 || (n === 1 ? --n : s(function() {
|
|
1540
1540
|
a.advance(n), n = 0;
|
|
1541
1541
|
}), !1);
|
|
1542
1542
|
};
|
|
1543
|
-
}) :
|
|
1543
|
+
}) : vr(r, function() {
|
|
1544
1544
|
var n = e;
|
|
1545
1545
|
return function() {
|
|
1546
1546
|
return --n < 0;
|
|
1547
1547
|
};
|
|
1548
1548
|
})), this;
|
|
1549
1549
|
}, V.prototype.limit = function(e) {
|
|
1550
|
-
return this._ctx.limit = Math.min(this._ctx.limit, e),
|
|
1550
|
+
return this._ctx.limit = Math.min(this._ctx.limit, e), vr(this._ctx, function() {
|
|
1551
1551
|
var r = e;
|
|
1552
1552
|
return function(n, a, s) {
|
|
1553
1553
|
return --r <= 0 && a(s), 0 <= r;
|
|
1554
1554
|
};
|
|
1555
1555
|
}, !0), this;
|
|
1556
1556
|
}, V.prototype.until = function(e, r) {
|
|
1557
|
-
return
|
|
1557
|
+
return br(this._ctx, function(n, a, s) {
|
|
1558
1558
|
return !e(n.value) || (a(s), r);
|
|
1559
1559
|
}), this;
|
|
1560
1560
|
}, V.prototype.first = function(e) {
|
|
@@ -1565,7 +1565,7 @@ function Ga() {
|
|
|
1565
1565
|
return this.reverse().first(e);
|
|
1566
1566
|
}, V.prototype.filter = function(e) {
|
|
1567
1567
|
var r;
|
|
1568
|
-
return
|
|
1568
|
+
return br(this._ctx, function(n) {
|
|
1569
1569
|
return e(n.value);
|
|
1570
1570
|
}), (r = this._ctx).isMatch = We(r.isMatch, e), this;
|
|
1571
1571
|
}, V.prototype.and = function(e) {
|
|
@@ -1624,7 +1624,7 @@ function Ga() {
|
|
|
1624
1624
|
var e = this._ctx, e = e.index && e.table.schema.idxByName[e.index];
|
|
1625
1625
|
if (!e || !e.multi) return this;
|
|
1626
1626
|
var r = {};
|
|
1627
|
-
return
|
|
1627
|
+
return br(this._ctx, function(s) {
|
|
1628
1628
|
var a = s.primaryKey.toString(), s = q(r, a);
|
|
1629
1629
|
return r[a] = !0, !s;
|
|
1630
1630
|
}), this;
|
|
@@ -1666,7 +1666,7 @@ function Ga() {
|
|
|
1666
1666
|
return O(R.length, F);
|
|
1667
1667
|
});
|
|
1668
1668
|
}).then(function() {
|
|
1669
|
-
return (0 < $.length || P && e ===
|
|
1669
|
+
return (0 < $.length || P && e === Er) && d.mutate({ trans: a, type: "delete", keys: $, criteria: P, isAdditionalChunk: 0 < D }).then(function(F) {
|
|
1670
1670
|
return O($.length, F);
|
|
1671
1671
|
});
|
|
1672
1672
|
}).then(function() {
|
|
@@ -1674,7 +1674,7 @@ function Ga() {
|
|
|
1674
1674
|
});
|
|
1675
1675
|
});
|
|
1676
1676
|
}
|
|
1677
|
-
var P = tt(n) && n.limit === 1 / 0 && (typeof e != "function" || e ===
|
|
1677
|
+
var P = tt(n) && n.limit === 1 / 0 && (typeof e != "function" || e === Er) && { index: n.index, range: n.range };
|
|
1678
1678
|
return A(0).then(function() {
|
|
1679
1679
|
if (0 < m.length) throw new At("Error modifying one or more objects", m, E, S);
|
|
1680
1680
|
return v.length;
|
|
@@ -1694,11 +1694,11 @@ function Ga() {
|
|
|
1694
1694
|
return c - u;
|
|
1695
1695
|
});
|
|
1696
1696
|
});
|
|
1697
|
-
}) : this.modify(
|
|
1697
|
+
}) : this.modify(Er);
|
|
1698
1698
|
}, V);
|
|
1699
1699
|
function V() {
|
|
1700
1700
|
}
|
|
1701
|
-
var
|
|
1701
|
+
var Er = function(e, r) {
|
|
1702
1702
|
return r.value = null;
|
|
1703
1703
|
};
|
|
1704
1704
|
function ia(e, r) {
|
|
@@ -1923,7 +1923,7 @@ function Ga() {
|
|
|
1923
1923
|
function pt(e) {
|
|
1924
1924
|
e.stopPropagation && e.stopPropagation(), e.preventDefault && e.preventDefault();
|
|
1925
1925
|
}
|
|
1926
|
-
var mt = "storagemutated",
|
|
1926
|
+
var mt = "storagemutated", wr = "x-storagemutated-1", Re = ht(null, mt), ua = (be.prototype._lock = function() {
|
|
1927
1927
|
return st(!B.global), ++this._reculock, this._reculock !== 1 || B.global || (B.lockOwnerFor = this), this;
|
|
1928
1928
|
}, be.prototype._unlock = function() {
|
|
1929
1929
|
if (st(!B.global), --this._reculock == 0) for (B.global || (B.lockOwnerFor = null); 0 < this._blockedFuncs.length && !this._locked(); ) {
|
|
@@ -2011,13 +2011,13 @@ function Ga() {
|
|
|
2011
2011
|
}, be);
|
|
2012
2012
|
function be() {
|
|
2013
2013
|
}
|
|
2014
|
-
function
|
|
2014
|
+
function Sr(e, r, n, a, s, c, u) {
|
|
2015
2015
|
return { name: e, keyPath: r, unique: n, multi: a, auto: s, compound: c, src: (n && !u ? "&" : "") + (a ? "*" : "") + (s ? "++" : "") + bn(r) };
|
|
2016
2016
|
}
|
|
2017
2017
|
function bn(e) {
|
|
2018
2018
|
return typeof e == "string" ? e : e ? "[" + [].join.call(e, "+") + "]" : "";
|
|
2019
2019
|
}
|
|
2020
|
-
function
|
|
2020
|
+
function Or(e, r, n) {
|
|
2021
2021
|
return { name: e, primKey: r, indexes: n, mappedClass: null, idxByName: (a = function(s) {
|
|
2022
2022
|
return [s.name, s];
|
|
2023
2023
|
}, n.reduce(function(s, c, u) {
|
|
@@ -2036,7 +2036,7 @@ function Ga() {
|
|
|
2036
2036
|
}, Ue;
|
|
2037
2037
|
}
|
|
2038
2038
|
};
|
|
2039
|
-
function
|
|
2039
|
+
function _r(e) {
|
|
2040
2040
|
return e == null ? function() {
|
|
2041
2041
|
} : typeof e == "string" ? (r = e).split(".").length === 1 ? function(n) {
|
|
2042
2042
|
return n[r];
|
|
@@ -2085,8 +2085,8 @@ function Ga() {
|
|
|
2085
2085
|
else for (ce = 0; ce < M; ++ce) F.push(k = R[A](U[ce])), k.onerror = W;
|
|
2086
2086
|
}
|
|
2087
2087
|
function Zt(ue) {
|
|
2088
|
-
ue = ue.target.result, F.forEach(function(He,
|
|
2089
|
-
return He.error != null && (z[
|
|
2088
|
+
ue = ue.target.result, F.forEach(function(He, Ur) {
|
|
2089
|
+
return He.error != null && (z[Ur] = He.error);
|
|
2090
2090
|
}), T({ numFailures: he, failures: z, results: A === "delete" ? P : F.map(function(He) {
|
|
2091
2091
|
return He.result;
|
|
2092
2092
|
}), lastResult: ue });
|
|
@@ -2155,8 +2155,8 @@ function Ga() {
|
|
|
2155
2155
|
}, U.stop();
|
|
2156
2156
|
}
|
|
2157
2157
|
var Zt = new Promise(function(ue, He) {
|
|
2158
|
-
ue = Z(ue), k.onerror = ye(He), U.fail = He, U.stop = function(
|
|
2159
|
-
U.stop = U.continue = U.continuePrimaryKey = U.advance = he, ue(
|
|
2158
|
+
ue = Z(ue), k.onerror = ye(He), U.fail = He, U.stop = function(Ur) {
|
|
2159
|
+
U.stop = U.continue = U.continuePrimaryKey = U.advance = he, ue(Ur);
|
|
2160
2160
|
};
|
|
2161
2161
|
});
|
|
2162
2162
|
return k.onsuccess = Z(function(ue) {
|
|
@@ -2178,10 +2178,10 @@ function Ga() {
|
|
|
2178
2178
|
var c, u, d, w = (u = p, d = vn((c = e).objectStoreNames), { schema: { name: c.name, tables: d.map(function(O) {
|
|
2179
2179
|
return u.objectStore(O);
|
|
2180
2180
|
}).map(function(O) {
|
|
2181
|
-
var m = O.keyPath, v = O.autoIncrement, E = G(m), S = {}, v = { name: O.name, primaryKey: { name: null, isPrimaryKey: !0, outbound: m == null, compound: E, keyPath: m, autoIncrement: v, unique: !0, extractKey:
|
|
2181
|
+
var m = O.keyPath, v = O.autoIncrement, E = G(m), S = {}, v = { name: O.name, primaryKey: { name: null, isPrimaryKey: !0, outbound: m == null, compound: E, keyPath: m, autoIncrement: v, unique: !0, extractKey: _r(m) }, indexes: vn(O.indexNames).map(function(A) {
|
|
2182
2182
|
return O.index(A);
|
|
2183
2183
|
}).map(function(N) {
|
|
2184
|
-
var P = N.name, D = N.unique, T = N.multiEntry, N = N.keyPath, T = { name: P, compound: G(N), keyPath: N, unique: D, multiEntry: T, extractKey:
|
|
2184
|
+
var P = N.name, D = N.unique, T = N.multiEntry, N = N.keyPath, T = { name: P, compound: G(N), keyPath: N, unique: D, multiEntry: T, extractKey: _r(N) };
|
|
2185
2185
|
return S[bt(N)] = T;
|
|
2186
2186
|
}), getIndexByKeyPath: function(A) {
|
|
2187
2187
|
return S[bt(A)];
|
|
@@ -2225,7 +2225,7 @@ function Ga() {
|
|
|
2225
2225
|
});
|
|
2226
2226
|
});
|
|
2227
2227
|
}
|
|
2228
|
-
function
|
|
2228
|
+
function Ar(e, r) {
|
|
2229
2229
|
r.forEach(function(n) {
|
|
2230
2230
|
for (var a in n) n[a] instanceof e.Table && delete n[a];
|
|
2231
2231
|
});
|
|
@@ -2235,7 +2235,7 @@ function Ga() {
|
|
|
2235
2235
|
}
|
|
2236
2236
|
function ga(e, r, n, a) {
|
|
2237
2237
|
var s = e._dbSchema;
|
|
2238
|
-
n.objectStoreNames.contains("$meta") && !s.$meta && (s.$meta =
|
|
2238
|
+
n.objectStoreNames.contains("$meta") && !s.$meta && (s.$meta = Or("$meta", wn("")[0], []), e._storeNames.push("$meta"));
|
|
2239
2239
|
var c = e._createTransaction("readwrite", e._storeNames, s);
|
|
2240
2240
|
c.create(n), c._completion.catch(a);
|
|
2241
2241
|
var u = c._reject.bind(c), d = B.transless || B;
|
|
@@ -2249,9 +2249,9 @@ function Ga() {
|
|
|
2249
2249
|
S.push(function() {
|
|
2250
2250
|
var P = v, D = A._cfg.dbschema;
|
|
2251
2251
|
Ft(h, P, E), Ft(h, D, E), v = h._dbSchema = D;
|
|
2252
|
-
var N =
|
|
2252
|
+
var N = Pr(P, D);
|
|
2253
2253
|
N.add.forEach(function($) {
|
|
2254
|
-
|
|
2254
|
+
Dr(E, $[0], $[1].primKey, $[1].indexes);
|
|
2255
2255
|
}), N.change.forEach(function($) {
|
|
2256
2256
|
if ($.recreate) throw new L.Upgrade("Not yet support for changing primary key");
|
|
2257
2257
|
var k = E.objectStore($.name);
|
|
@@ -2269,8 +2269,8 @@ function Ga() {
|
|
|
2269
2269
|
var C = Qr(D);
|
|
2270
2270
|
N.del.forEach(function($) {
|
|
2271
2271
|
C[$] = P[$];
|
|
2272
|
-
}),
|
|
2273
|
-
var R, x =
|
|
2272
|
+
}), Ar(h, [h.Transaction.prototype]), Lt(h, [h.Transaction.prototype], I(C), C), m.schema = C;
|
|
2273
|
+
var R, x = sr(T);
|
|
2274
2274
|
return x && qe(), N = j.follow(function() {
|
|
2275
2275
|
var $;
|
|
2276
2276
|
(R = T(m)) && x && ($ = Ne.bind(null, null), R.then($, $));
|
|
@@ -2282,7 +2282,7 @@ function Ga() {
|
|
|
2282
2282
|
var D, N, T = A._cfg.dbschema;
|
|
2283
2283
|
D = T, N = P, [].slice.call(N.db.objectStoreNames).forEach(function(C) {
|
|
2284
2284
|
return D[C] == null && N.db.deleteObjectStore(C);
|
|
2285
|
-
}),
|
|
2285
|
+
}), Ar(h, [h.Transaction.prototype]), Lt(h, [h.Transaction.prototype], h._storeNames, h._dbSchema), m.schema = h._dbSchema;
|
|
2286
2286
|
}), S.push(function(P) {
|
|
2287
2287
|
h.idbdb.objectStoreNames.contains("$meta") && (Math.ceil(h.idbdb.version / 10) === A._cfg.version ? (h.idbdb.deleteObjectStore("$meta"), delete h._dbSchema.$meta, h._storeNames = h._storeNames.filter(function(D) {
|
|
2288
2288
|
return D !== "$meta";
|
|
@@ -2295,7 +2295,7 @@ function Ga() {
|
|
|
2295
2295
|
})) : j.resolve();
|
|
2296
2296
|
var h, O, m, E, S, v;
|
|
2297
2297
|
}).catch(u)) : (I(s).forEach(function(w) {
|
|
2298
|
-
|
|
2298
|
+
Dr(n, w, s[w].primKey, s[w].indexes);
|
|
2299
2299
|
}), Bt(e, n), void j.follow(function() {
|
|
2300
2300
|
return e.on.populate.fire(c);
|
|
2301
2301
|
}).catch(u));
|
|
@@ -2306,7 +2306,7 @@ function Ga() {
|
|
|
2306
2306
|
En(e._dbSchema, r), r.db.version % 10 != 0 || r.objectStoreNames.contains("$meta") || r.db.createObjectStore("$meta").add(Math.ceil(r.db.version / 10 - 1), "version");
|
|
2307
2307
|
var n = Wt(0, e.idbdb, r);
|
|
2308
2308
|
Ft(e, e._dbSchema, r);
|
|
2309
|
-
for (var a = 0, s =
|
|
2309
|
+
for (var a = 0, s = Pr(n, e._dbSchema).change; a < s.length; a++) {
|
|
2310
2310
|
var c = function(u) {
|
|
2311
2311
|
if (u.change.length || u.recreate) return console.warn("Unable to patch indexes of table ".concat(u.name, " because it has changes on the type of index or primary key.")), { value: void 0 };
|
|
2312
2312
|
var d = r.objectStore(u.name);
|
|
@@ -2317,7 +2317,7 @@ function Ga() {
|
|
|
2317
2317
|
if (typeof c == "object") return c.value;
|
|
2318
2318
|
}
|
|
2319
2319
|
}
|
|
2320
|
-
function
|
|
2320
|
+
function Pr(e, r) {
|
|
2321
2321
|
var n, a = { del: [], add: [], change: [] };
|
|
2322
2322
|
for (n in e) r[n] || a.del.push(n);
|
|
2323
2323
|
for (n in r) {
|
|
@@ -2338,7 +2338,7 @@ function Ga() {
|
|
|
2338
2338
|
}
|
|
2339
2339
|
return a;
|
|
2340
2340
|
}
|
|
2341
|
-
function
|
|
2341
|
+
function Dr(e, r, n, a) {
|
|
2342
2342
|
var s = e.db.createObjectStore(r, n.keyPath ? { keyPath: n.keyPath, autoIncrement: n.auto } : { autoIncrement: n.auto });
|
|
2343
2343
|
return a.forEach(function(c) {
|
|
2344
2344
|
return Ut(s, c);
|
|
@@ -2346,7 +2346,7 @@ function Ga() {
|
|
|
2346
2346
|
}
|
|
2347
2347
|
function En(e, r) {
|
|
2348
2348
|
I(e).forEach(function(n) {
|
|
2349
|
-
r.db.objectStoreNames.contains(n) || (me && console.debug("Dexie: Creating missing table", n),
|
|
2349
|
+
r.db.objectStoreNames.contains(n) || (me && console.debug("Dexie: Creating missing table", n), Dr(r, n, e[n].primKey, e[n].indexes));
|
|
2350
2350
|
});
|
|
2351
2351
|
}
|
|
2352
2352
|
function Ut(e, r) {
|
|
@@ -2355,11 +2355,11 @@ function Ga() {
|
|
|
2355
2355
|
function Wt(e, r, n) {
|
|
2356
2356
|
var a = {};
|
|
2357
2357
|
return _t(r.objectStoreNames, 0).forEach(function(s) {
|
|
2358
|
-
for (var c = n.objectStore(s), u =
|
|
2359
|
-
var w = c.index(c.indexNames[p]), y = w.keyPath, w =
|
|
2358
|
+
for (var c = n.objectStore(s), u = Sr(bn(y = c.keyPath), y || "", !0, !1, !!c.autoIncrement, y && typeof y != "string", !0), d = [], p = 0; p < c.indexNames.length; ++p) {
|
|
2359
|
+
var w = c.index(c.indexNames[p]), y = w.keyPath, w = Sr(w.name, y, !!w.unique, !!w.multiEntry, !1, y && typeof y != "string", !1);
|
|
2360
2360
|
d.push(w);
|
|
2361
2361
|
}
|
|
2362
|
-
a[s] =
|
|
2362
|
+
a[s] = Or(s, u, d);
|
|
2363
2363
|
}), a;
|
|
2364
2364
|
}
|
|
2365
2365
|
function Ft(e, r, n) {
|
|
@@ -2376,7 +2376,7 @@ function Ga() {
|
|
|
2376
2376
|
function wn(e) {
|
|
2377
2377
|
return e.split(",").map(function(r, n) {
|
|
2378
2378
|
var a = (r = r.trim()).replace(/([&*]|\+\+)/g, ""), s = /^\[/.test(a) ? a.match(/^\[(.*)\]$/)[1].split("+") : a;
|
|
2379
|
-
return
|
|
2379
|
+
return Sr(a, s || null, /\&/.test(r), /\*/.test(r), /\+\+/.test(r), G(s), n === 0);
|
|
2380
2380
|
});
|
|
2381
2381
|
}
|
|
2382
2382
|
var ma = (zt.prototype._parseStoresSpec = function(e, r) {
|
|
@@ -2387,7 +2387,7 @@ function Ga() {
|
|
|
2387
2387
|
a.forEach(function(c) {
|
|
2388
2388
|
if (c.auto) throw new L.Schema("Only primary key can be marked as autoIncrement (++)");
|
|
2389
2389
|
if (!c.keyPath) throw new L.Schema("Index must have a name and cannot be an empty string");
|
|
2390
|
-
}), r[n] =
|
|
2390
|
+
}), r[n] = Or(n, s, a);
|
|
2391
2391
|
}
|
|
2392
2392
|
});
|
|
2393
2393
|
}, zt.prototype.stores = function(n) {
|
|
@@ -2396,25 +2396,25 @@ function Ga() {
|
|
|
2396
2396
|
var n = r._versions, a = {}, s = {};
|
|
2397
2397
|
return n.forEach(function(c) {
|
|
2398
2398
|
re(a, c._cfg.storesSource), s = c._cfg.dbschema = {}, c._parseStoresSpec(a, s);
|
|
2399
|
-
}), r._dbSchema = s,
|
|
2399
|
+
}), r._dbSchema = s, Ar(r, [r._allTables, r, r.Transaction.prototype]), Lt(r, [r._allTables, r, r.Transaction.prototype, this._cfg.tables], I(s), s), r._storeNames = I(s), this;
|
|
2400
2400
|
}, zt.prototype.upgrade = function(e) {
|
|
2401
|
-
return this._cfg.contentUpgrade =
|
|
2401
|
+
return this._cfg.contentUpgrade = ir(this._cfg.contentUpgrade || Q, e), this;
|
|
2402
2402
|
}, zt);
|
|
2403
2403
|
function zt() {
|
|
2404
2404
|
}
|
|
2405
|
-
function
|
|
2405
|
+
function Nr(e, r) {
|
|
2406
2406
|
var n = e._dbNamesDB;
|
|
2407
2407
|
return n || (n = e._dbNamesDB = new Se($t, { addons: [], indexedDB: e, IDBKeyRange: r })).version(1).stores({ dbnames: "name" }), n.table("dbnames");
|
|
2408
2408
|
}
|
|
2409
|
-
function
|
|
2409
|
+
function Ir(e) {
|
|
2410
2410
|
return e && typeof e.databases == "function";
|
|
2411
2411
|
}
|
|
2412
|
-
function
|
|
2412
|
+
function Tr(e) {
|
|
2413
2413
|
return De(function() {
|
|
2414
2414
|
return B.letThrough = !0, e();
|
|
2415
2415
|
});
|
|
2416
2416
|
}
|
|
2417
|
-
function
|
|
2417
|
+
function Rr(e) {
|
|
2418
2418
|
return !("from" in e);
|
|
2419
2419
|
}
|
|
2420
2420
|
var oe = function(e, r) {
|
|
@@ -2428,7 +2428,7 @@ function Ga() {
|
|
|
2428
2428
|
var a = H(r, n);
|
|
2429
2429
|
if (!isNaN(a)) {
|
|
2430
2430
|
if (0 < a) throw RangeError();
|
|
2431
|
-
if (
|
|
2431
|
+
if (Rr(e)) return re(e, { from: r, to: n, d: 1 });
|
|
2432
2432
|
var s = e.l, a = e.r;
|
|
2433
2433
|
if (H(n, e.from) < 0) return s ? vt(s, r, n) : e.l = { from: r, to: n, d: 1, l: null, r: null }, On(e);
|
|
2434
2434
|
if (0 < H(r, e.to)) return a ? vt(a, r, n) : e.r = { from: r, to: n, d: 1, l: null, r: null }, On(e);
|
|
@@ -2436,7 +2436,7 @@ function Ga() {
|
|
|
2436
2436
|
}
|
|
2437
2437
|
}
|
|
2438
2438
|
function Et(e, r) {
|
|
2439
|
-
|
|
2439
|
+
Rr(r) || function n(a, p) {
|
|
2440
2440
|
var c = p.from, u = p.to, d = p.l, p = p.r;
|
|
2441
2441
|
vt(a, c, u), d && n(a, d), p && n(a, p);
|
|
2442
2442
|
}(e, r);
|
|
@@ -2451,7 +2451,7 @@ function Ga() {
|
|
|
2451
2451
|
return !1;
|
|
2452
2452
|
}
|
|
2453
2453
|
function Ht(e) {
|
|
2454
|
-
var r =
|
|
2454
|
+
var r = Rr(e) ? null : { s: 0, n: e };
|
|
2455
2455
|
return { next: function(n) {
|
|
2456
2456
|
for (var a = 0 < arguments.length; r; ) switch (r.s) {
|
|
2457
2457
|
case 0:
|
|
@@ -2487,7 +2487,7 @@ function Ga() {
|
|
|
2487
2487
|
}(r[n]);
|
|
2488
2488
|
}), e;
|
|
2489
2489
|
}
|
|
2490
|
-
function
|
|
2490
|
+
function xr(e, r) {
|
|
2491
2491
|
return e.all || r.all || Object.keys(e).some(function(n) {
|
|
2492
2492
|
return r[n] && Sn(r[n], e[n]);
|
|
2493
2493
|
});
|
|
@@ -2504,16 +2504,16 @@ function Ga() {
|
|
|
2504
2504
|
}, hasKey: function(e) {
|
|
2505
2505
|
var r = Ht(this).next(e).value;
|
|
2506
2506
|
return r && H(r.from, e) <= 0 && 0 <= H(r.to, e);
|
|
2507
|
-
} })[
|
|
2507
|
+
} })[ar] = function() {
|
|
2508
2508
|
return Ht(this);
|
|
2509
2509
|
}, fe));
|
|
2510
|
-
var Fe = {},
|
|
2510
|
+
var Fe = {}, kr = {}, Cr = !1;
|
|
2511
2511
|
function Yt(e) {
|
|
2512
|
-
Vt(
|
|
2513
|
-
|
|
2512
|
+
Vt(kr, e), Cr || (Cr = !0, setTimeout(function() {
|
|
2513
|
+
Cr = !1, $r(kr, !(kr = {}));
|
|
2514
2514
|
}, 0));
|
|
2515
2515
|
}
|
|
2516
|
-
function
|
|
2516
|
+
function $r(e, r) {
|
|
2517
2517
|
r === void 0 && (r = !1);
|
|
2518
2518
|
var n = /* @__PURE__ */ new Set();
|
|
2519
2519
|
if (e.all) for (var a = 0, s = Object.values(Fe); a < s.length; a++) An(u = s[a], e, n, r);
|
|
@@ -2529,7 +2529,7 @@ function Ga() {
|
|
|
2529
2529
|
for (var s = [], c = 0, u = Object.entries(e.queries.query); c < u.length; c++) {
|
|
2530
2530
|
for (var d = u[c], p = d[0], y = [], w = 0, h = d[1]; w < h.length; w++) {
|
|
2531
2531
|
var O = h[w];
|
|
2532
|
-
|
|
2532
|
+
xr(r, O.obsSet) ? O.subscribers.forEach(function(v) {
|
|
2533
2533
|
return n.add(v);
|
|
2534
2534
|
}) : a && y.push(O);
|
|
2535
2535
|
}
|
|
@@ -2566,7 +2566,7 @@ function Ga() {
|
|
|
2566
2566
|
if (0 < C.length) try {
|
|
2567
2567
|
var R = T.transaction((D = C).length === 1 ? D[0] : D, "readonly");
|
|
2568
2568
|
if (r.autoSchema) A = T, P = R, (v = e).verno = A.version / 10, P = v._dbSchema = Wt(0, A, P), v._storeNames = _t(A.objectStoreNames, 0), Lt(v, [v._allTables], I(P), P);
|
|
2569
|
-
else if (Ft(e, e._dbSchema, R), ((N =
|
|
2569
|
+
else if (Ft(e, e._dbSchema, R), ((N = Pr(Wt(0, (N = e).idbdb, R), N._dbSchema)).add.length || N.change.some(function(x) {
|
|
2570
2570
|
return x.add.length || x.change.length;
|
|
2571
2571
|
})) && !c) return console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Dexie will add missing parts and increment native version number to workaround this."), T.close(), s = T.version + 1, c = !0, O(d());
|
|
2572
2572
|
Bt(e, R);
|
|
@@ -2576,7 +2576,7 @@ function Ga() {
|
|
|
2576
2576
|
r.vcFired = !0, e.on("versionchange").fire(x);
|
|
2577
2577
|
}), T.onclose = Z(function(x) {
|
|
2578
2578
|
e.on("close").fire(x);
|
|
2579
|
-
}), h && (N = e._deps, R = E, T = N.indexedDB, N = N.IDBKeyRange,
|
|
2579
|
+
}), h && (N = e._deps, R = E, T = N.indexedDB, N = N.IDBKeyRange, Ir(T) || R === $t || Nr(T, N).put({ name: R }).catch(Q)), O();
|
|
2580
2580
|
}, m);
|
|
2581
2581
|
}).catch(function(O) {
|
|
2582
2582
|
switch (O?.name) {
|
|
@@ -2598,12 +2598,12 @@ function Ga() {
|
|
|
2598
2598
|
}).finally(function() {
|
|
2599
2599
|
return clearInterval(p);
|
|
2600
2600
|
}) : Promise.resolve()).then(d)]).then(function() {
|
|
2601
|
-
return u(), r.onReadyBeingFired = [], j.resolve(
|
|
2601
|
+
return u(), r.onReadyBeingFired = [], j.resolve(Tr(function() {
|
|
2602
2602
|
return e.on.ready.fire(e.vip);
|
|
2603
2603
|
})).then(function O() {
|
|
2604
2604
|
if (0 < r.onReadyBeingFired.length) {
|
|
2605
|
-
var m = r.onReadyBeingFired.reduce(
|
|
2606
|
-
return r.onReadyBeingFired = [], j.resolve(
|
|
2605
|
+
var m = r.onReadyBeingFired.reduce(ir, Q);
|
|
2606
|
+
return r.onReadyBeingFired = [], j.resolve(Tr(function() {
|
|
2607
2607
|
return m(e.vip);
|
|
2608
2608
|
})).then(O);
|
|
2609
2609
|
}
|
|
@@ -2625,10 +2625,10 @@ function Ga() {
|
|
|
2625
2625
|
m.schema.indexes.forEach(function(E) {
|
|
2626
2626
|
E.name && (O["idb://".concat(e.name, "/").concat(m.name, "/").concat(E.name)] = new oe(-1 / 0, [[[]]]));
|
|
2627
2627
|
}), O["idb://".concat(e.name, "/").concat(m.name, "/")] = O["idb://".concat(e.name, "/").concat(m.name, "/:dels")] = new oe(-1 / 0, [[[]]]);
|
|
2628
|
-
}), Re(mt).fire(O),
|
|
2628
|
+
}), Re(mt).fire(O), $r(O, !0)), e;
|
|
2629
2629
|
});
|
|
2630
2630
|
}
|
|
2631
|
-
function
|
|
2631
|
+
function jr(e) {
|
|
2632
2632
|
function r(c) {
|
|
2633
2633
|
return e.next(c);
|
|
2634
2634
|
}
|
|
@@ -2651,7 +2651,7 @@ function Ga() {
|
|
|
2651
2651
|
return l(l({}, e), { table: function(r) {
|
|
2652
2652
|
var n = e.table(r), a = n.schema, s = {}, c = [];
|
|
2653
2653
|
function u(h, O, m) {
|
|
2654
|
-
var E = bt(h), S = s[E] = s[E] || [], v = h == null ? 0 : typeof h == "string" ? 1 : h.length, A = 0 < O, A = l(l({}, m), { name: A ? "".concat(E, "(virtual-from:").concat(m.name, ")") : m.name, lowLevelIndex: m, isVirtual: A, keyTail: O, keyLength: v, extractKey:
|
|
2654
|
+
var E = bt(h), S = s[E] = s[E] || [], v = h == null ? 0 : typeof h == "string" ? 1 : h.length, A = 0 < O, A = l(l({}, m), { name: A ? "".concat(E, "(virtual-from:").concat(m.name, ")") : m.name, lowLevelIndex: m, isVirtual: A, keyTail: O, keyLength: v, extractKey: _r(h), unique: !A && m.unique });
|
|
2655
2655
|
return S.push(A), A.isPrimaryKey || c.push(A), 1 < v && u(v === 2 ? h[0] : h.slice(0, v - 1), O + 1, m), S.sort(function(P, D) {
|
|
2656
2656
|
return P.keyTail - D.keyTail;
|
|
2657
2657
|
}), A;
|
|
@@ -2693,15 +2693,15 @@ function Ga() {
|
|
|
2693
2693
|
} });
|
|
2694
2694
|
} });
|
|
2695
2695
|
} };
|
|
2696
|
-
function
|
|
2696
|
+
function Gr(e, r, n, a) {
|
|
2697
2697
|
return n = n || {}, a = a || "", I(e).forEach(function(s) {
|
|
2698
2698
|
var c, u, d;
|
|
2699
|
-
q(r, s) ? (c = e[s], u = r[s], typeof c == "object" && typeof u == "object" && c && u ? (d =
|
|
2699
|
+
q(r, s) ? (c = e[s], u = r[s], typeof c == "object" && typeof u == "object" && c && u ? (d = nr(c)) !== nr(u) ? n[a + s] = r[s] : d === "Object" ? Gr(c, u, n, a + s + ".") : c !== u && (n[a + s] = r[s]) : c !== u && (n[a + s] = r[s])) : n[a + s] = void 0;
|
|
2700
2700
|
}), I(r).forEach(function(s) {
|
|
2701
2701
|
q(e, s) || (n[a + s] = r[s]);
|
|
2702
2702
|
}), n;
|
|
2703
2703
|
}
|
|
2704
|
-
function
|
|
2704
|
+
function Mr(e, r) {
|
|
2705
2705
|
return r.type === "delete" ? r.keys : r.keys || r.values.map(e.extractKey);
|
|
2706
2706
|
}
|
|
2707
2707
|
var va = { stack: "dbcore", name: "HooksMiddleware", level: 2, create: function(e) {
|
|
@@ -2740,12 +2740,12 @@ function Ga() {
|
|
|
2740
2740
|
}
|
|
2741
2741
|
return n.mutate(s);
|
|
2742
2742
|
function w(h) {
|
|
2743
|
-
var O, m, E, S = B.trans, v = h.keys ||
|
|
2743
|
+
var O, m, E, S = B.trans, v = h.keys || Mr(a, h);
|
|
2744
2744
|
if (!v) throw new Error("Keys missing");
|
|
2745
2745
|
return (h = h.type === "add" || h.type === "put" ? l(l({}, h), { keys: v }) : l({}, h)).type !== "delete" && (h.values = g([], h.values)), h.keys && (h.keys = g([], h.keys)), O = n, E = v, ((m = h).type === "add" ? Promise.resolve([]) : O.getMany({ trans: m.trans, keys: E, cache: "immutable" })).then(function(A) {
|
|
2746
2746
|
var P = v.map(function(D, N) {
|
|
2747
2747
|
var T, C, R, x = A[N], $ = { onerror: null, onsuccess: null };
|
|
2748
|
-
return h.type === "delete" ? d.fire.call($, D, x, S) : h.type === "add" || x === void 0 ? (T = p.fire.call($, D, h.values[N], S), D == null && T != null && (h.keys[N] = D = T, a.outbound || le(h.values[N], a.keyPath, D))) : (T =
|
|
2748
|
+
return h.type === "delete" ? d.fire.call($, D, x, S) : h.type === "add" || x === void 0 ? (T = p.fire.call($, D, h.values[N], S), D == null && T != null && (h.keys[N] = D = T, a.outbound || le(h.values[N], a.keyPath, D))) : (T = Gr(x, h.values[N]), (C = y.fire.call($, T, D, x, S)) && (R = h.values[N], Object.keys(C).forEach(function(k) {
|
|
2749
2749
|
q(R, k) ? R[k] = C[k] : le(R, k, C[k]);
|
|
2750
2750
|
}))), $;
|
|
2751
2751
|
});
|
|
@@ -2814,7 +2814,7 @@ function Ga() {
|
|
|
2814
2814
|
function E(k) {
|
|
2815
2815
|
return k = "idb://".concat(r, "/").concat(a, "/").concat(k), D[k] || (D[k] = new oe());
|
|
2816
2816
|
}
|
|
2817
|
-
var S, v, A, P = m.trans, D = m.mutatedParts || (m.mutatedParts = {}), N = E(""), T = E(":dels"), C = m.type, $ = m.type === "deleteRange" ? [m.range] : m.type === "delete" ? [m.keys] : m.values.length < 50 ? [
|
|
2817
|
+
var S, v, A, P = m.trans, D = m.mutatedParts || (m.mutatedParts = {}), N = E(""), T = E(":dels"), C = m.type, $ = m.type === "deleteRange" ? [m.range] : m.type === "delete" ? [m.keys] : m.values.length < 50 ? [Mr(u, m).filter(function(k) {
|
|
2818
2818
|
return k;
|
|
2819
2819
|
}), m.values] : [], R = $[0], x = $[1], $ = m.trans._cache;
|
|
2820
2820
|
return G(R) ? (N.addKeys(R), ($ = C === "delete" || R.length === x.length ? Pn(R, $) : null) || T.addKeys(R), ($ || x) && (S = E, v = $, A = x, c.indexes.forEach(function(k) {
|
|
@@ -2900,7 +2900,7 @@ function Ga() {
|
|
|
2900
2900
|
return !(c in n.failures);
|
|
2901
2901
|
})), r);
|
|
2902
2902
|
}
|
|
2903
|
-
function
|
|
2903
|
+
function Kr(e, r) {
|
|
2904
2904
|
return n = e, ((a = r).lower === void 0 || (a.lowerOpen ? 0 < H(n, a.lower) : 0 <= H(n, a.lower))) && (e = e, (r = r).upper === void 0 || (r.upperOpen ? H(e, r.upper) < 0 : H(e, r.upper) <= 0));
|
|
2905
2905
|
var n, a;
|
|
2906
2906
|
}
|
|
@@ -2911,8 +2911,8 @@ function Ga() {
|
|
|
2911
2911
|
if (E.type === "add" || E.type === "put") for (var A = new oe(), P = E.values.length - 1; 0 <= P; --P) {
|
|
2912
2912
|
var D, N = E.values[P], T = y(N);
|
|
2913
2913
|
A.hasKey(T) || (D = w(N), (d && G(D) ? D.some(function(k) {
|
|
2914
|
-
return
|
|
2915
|
-
}) :
|
|
2914
|
+
return Kr(k, p);
|
|
2915
|
+
}) : Kr(D, p)) && (A.addKey(T), v.push(N)));
|
|
2916
2916
|
}
|
|
2917
2917
|
switch (E.type) {
|
|
2918
2918
|
case "add":
|
|
@@ -2945,7 +2945,7 @@ function Ga() {
|
|
|
2945
2945
|
case "deleteRange":
|
|
2946
2946
|
var $ = E.range;
|
|
2947
2947
|
S = m.filter(function(M) {
|
|
2948
|
-
return !
|
|
2948
|
+
return !Kr(y(M), $);
|
|
2949
2949
|
});
|
|
2950
2950
|
}
|
|
2951
2951
|
return S;
|
|
@@ -2999,7 +2999,7 @@ function Ga() {
|
|
|
2999
2999
|
var E = e.table(O), S = m.optimisticOps.filter(function(M) {
|
|
3000
3000
|
return M.trans === d;
|
|
3001
3001
|
});
|
|
3002
|
-
if (d._explicit && p && d.mutatedParts) for (var v = 0, A = Object.values(m.queries.query); v < A.length; v++) for (var P = 0, D = (C = A[v]).slice(); P < D.length; P++)
|
|
3002
|
+
if (d._explicit && p && d.mutatedParts) for (var v = 0, A = Object.values(m.queries.query); v < A.length; v++) for (var P = 0, D = (C = A[v]).slice(); P < D.length; P++) xr((R = D[P]).obsSet, d.mutatedParts) && ($e(C, R), R.subscribers.forEach(function(M) {
|
|
3003
3003
|
return y.add(M);
|
|
3004
3004
|
}));
|
|
3005
3005
|
else if (0 < S.length) {
|
|
@@ -3026,7 +3026,7 @@ function Ga() {
|
|
|
3026
3026
|
var u = B.trans;
|
|
3027
3027
|
if (s.outbound || u.db._options.cache === "disabled" || u.explicit || u.idbtrans.mode !== "readwrite") return a.mutate(c);
|
|
3028
3028
|
var d = Fe["idb://".concat(r, "/").concat(n)];
|
|
3029
|
-
return d ? (u = a.mutate(c), c.type !== "add" && c.type !== "put" || !(50 <= c.values.length ||
|
|
3029
|
+
return d ? (u = a.mutate(c), c.type !== "add" && c.type !== "put" || !(50 <= c.values.length || Mr(s, c).some(function(p) {
|
|
3030
3030
|
return p == null;
|
|
3031
3031
|
})) ? (d.optimisticOps.push(c), c.mutatedParts && Yt(c.mutatedParts), u.then(function(p) {
|
|
3032
3032
|
0 < p.numFailures && ($e(d.optimisticOps, c), (p = In(0, c, p)) && d.optimisticOps.push(p), c.mutatedParts && Yt(c.mutatedParts));
|
|
@@ -3143,7 +3143,7 @@ function Ga() {
|
|
|
3143
3143
|
var d = r._deps.indexedDB.deleteDatabase(r.name);
|
|
3144
3144
|
d.onsuccess = Z(function() {
|
|
3145
3145
|
var p, y, w;
|
|
3146
|
-
p = r._deps, y = r.name, w = p.indexedDB, p = p.IDBKeyRange,
|
|
3146
|
+
p = r._deps, y = r.name, w = p.indexedDB, p = p.IDBKeyRange, Ir(w) || y === $t || Nr(w, p).delete(y).catch(Q), s();
|
|
3147
3147
|
}), d.onerror = ye(c), d.onblocked = r._fireOnBlocked;
|
|
3148
3148
|
}
|
|
3149
3149
|
if (n) throw new L.InvalidArgument("Invalid closeOptions argument to db.delete()");
|
|
@@ -3182,13 +3182,13 @@ function Ga() {
|
|
|
3182
3182
|
if (u = r.map(function(y) {
|
|
3183
3183
|
if (y = y instanceof a.Table ? y.name : y, typeof y != "string") throw new TypeError("Invalid table argument to Dexie.transaction(). Only Table or String are allowed");
|
|
3184
3184
|
return y;
|
|
3185
|
-
}), e == "r" || e ===
|
|
3185
|
+
}), e == "r" || e === mr) c = mr;
|
|
3186
3186
|
else {
|
|
3187
|
-
if (e != "rw" && e !=
|
|
3188
|
-
c =
|
|
3187
|
+
if (e != "rw" && e != yr) throw new L.InvalidArgument("Invalid transaction mode: " + e);
|
|
3188
|
+
c = yr;
|
|
3189
3189
|
}
|
|
3190
3190
|
if (s) {
|
|
3191
|
-
if (s.mode ===
|
|
3191
|
+
if (s.mode === mr && c === yr) {
|
|
3192
3192
|
if (!d) throw new L.SubTransaction("Cannot enter a sub-transaction with READWRITE mode when parent transaction is READONLY");
|
|
3193
3193
|
s = null;
|
|
3194
3194
|
}
|
|
@@ -3211,14 +3211,14 @@ function Ga() {
|
|
|
3211
3211
|
else try {
|
|
3212
3212
|
v.create(), v.idbtrans._explicit = !0, w._state.PR1398_maxLoop = 3;
|
|
3213
3213
|
} catch (D) {
|
|
3214
|
-
return D.name ===
|
|
3214
|
+
return D.name === or.InvalidState && w.isOpen() && 0 < --w._state.PR1398_maxLoop ? (console.warn("Dexie: Need to reopen db"), w.close({ disableAutoOpen: !1 }), w.open().then(function() {
|
|
3215
3215
|
return y(w, h, O, null, E);
|
|
3216
3216
|
})) : ee(D);
|
|
3217
3217
|
}
|
|
3218
|
-
var A, P =
|
|
3218
|
+
var A, P = sr(E);
|
|
3219
3219
|
return P && qe(), S = j.follow(function() {
|
|
3220
3220
|
var D;
|
|
3221
|
-
(A = E.call(v, v)) && (P ? (D = Ne.bind(null, null), A.then(D, D)) : typeof A.next == "function" && typeof A.throw == "function" && (A =
|
|
3221
|
+
(A = E.call(v, v)) && (P ? (D = Ne.bind(null, null), A.then(D, D)) : typeof A.next == "function" && typeof A.throw == "function" && (A = jr(A)));
|
|
3222
3222
|
}, S), (A && typeof A.then == "function" ? j.resolve(A).then(function(D) {
|
|
3223
3223
|
return v.active ? D : ee(new L.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"));
|
|
3224
3224
|
}) : S.then(function() {
|
|
@@ -3249,7 +3249,7 @@ function Ga() {
|
|
|
3249
3249
|
y.dbReadyResolve = h;
|
|
3250
3250
|
}), y.openCanceller = new j(function(h, O) {
|
|
3251
3251
|
y.cancelOpen = O;
|
|
3252
|
-
}), this._state = y, this.name = e, this.on = ht(this, "populate", "blocked", "versionchange", "close", { ready: [
|
|
3252
|
+
}), this._state = y, this.name = e, this.on = ht(this, "populate", "blocked", "versionchange", "close", { ready: [ir, Q] }), this.on.ready.subscribe = Vr(this.on.ready.subscribe, function(h) {
|
|
3253
3253
|
return function(O, m) {
|
|
3254
3254
|
te.vip(function() {
|
|
3255
3255
|
var E, S = n._state;
|
|
@@ -3319,12 +3319,12 @@ function Ga() {
|
|
|
3319
3319
|
return h(n);
|
|
3320
3320
|
});
|
|
3321
3321
|
}
|
|
3322
|
-
var Jt, fe = typeof Symbol < "u" && "observable" in Symbol ? Symbol.observable : "@@observable", Aa = (
|
|
3322
|
+
var Jt, fe = typeof Symbol < "u" && "observable" in Symbol ? Symbol.observable : "@@observable", Aa = (Br.prototype.subscribe = function(e, r, n) {
|
|
3323
3323
|
return this._subscribe(e && typeof e != "function" ? e : { next: e, error: r, complete: n });
|
|
3324
|
-
},
|
|
3324
|
+
}, Br.prototype[fe] = function() {
|
|
3325
3325
|
return this;
|
|
3326
|
-
},
|
|
3327
|
-
function
|
|
3326
|
+
}, Br);
|
|
3327
|
+
function Br(e) {
|
|
3328
3328
|
this._subscribe = e;
|
|
3329
3329
|
}
|
|
3330
3330
|
try {
|
|
@@ -3334,16 +3334,16 @@ function Ga() {
|
|
|
3334
3334
|
}
|
|
3335
3335
|
function xn(e) {
|
|
3336
3336
|
var r, n = !1, a = new Aa(function(s) {
|
|
3337
|
-
var c =
|
|
3337
|
+
var c = sr(e), u, d = !1, p = {}, y = {}, w = { get closed() {
|
|
3338
3338
|
return d;
|
|
3339
3339
|
}, unsubscribe: function() {
|
|
3340
3340
|
d || (d = !0, u && u.abort(), h && Re.storagemutated.unsubscribe(m));
|
|
3341
3341
|
} };
|
|
3342
3342
|
s.start && s.start(w);
|
|
3343
3343
|
var h = !1, O = function() {
|
|
3344
|
-
return
|
|
3344
|
+
return pr(E);
|
|
3345
3345
|
}, m = function(S) {
|
|
3346
|
-
Vt(p, S),
|
|
3346
|
+
Vt(p, S), xr(y, p) && O();
|
|
3347
3347
|
}, E = function() {
|
|
3348
3348
|
var S, v, A;
|
|
3349
3349
|
!d && Jt.indexedDB && (p = {}, S = {}, u && u.abort(), u = new AbortController(), A = function(P) {
|
|
@@ -3359,11 +3359,11 @@ function Ga() {
|
|
|
3359
3359
|
n = !0, r = P, d || v.signal.aborted || (p = {}, function(D) {
|
|
3360
3360
|
for (var N in D) if (q(D, N)) return;
|
|
3361
3361
|
return 1;
|
|
3362
|
-
}(y = S) || h || (Re(mt, m), h = !0),
|
|
3362
|
+
}(y = S) || h || (Re(mt, m), h = !0), pr(function() {
|
|
3363
3363
|
return !d && s.next && s.next(P);
|
|
3364
3364
|
}));
|
|
3365
3365
|
}, function(P) {
|
|
3366
|
-
n = !1, ["DatabaseClosedError", "AbortError"].includes(P?.name) || d ||
|
|
3366
|
+
n = !1, ["DatabaseClosedError", "AbortError"].includes(P?.name) || d || pr(function() {
|
|
3367
3367
|
d || s.error && s.error(P);
|
|
3368
3368
|
});
|
|
3369
3369
|
}));
|
|
@@ -3377,10 +3377,10 @@ function Ga() {
|
|
|
3377
3377
|
}, a;
|
|
3378
3378
|
}
|
|
3379
3379
|
var ze = Se;
|
|
3380
|
-
function
|
|
3380
|
+
function Lr(e) {
|
|
3381
3381
|
var r = xe;
|
|
3382
3382
|
try {
|
|
3383
|
-
xe = !0, Re.storagemutated.fire(e),
|
|
3383
|
+
xe = !0, Re.storagemutated.fire(e), $r(e, !0);
|
|
3384
3384
|
} finally {
|
|
3385
3385
|
xe = r;
|
|
3386
3386
|
}
|
|
@@ -3395,13 +3395,13 @@ function Ga() {
|
|
|
3395
3395
|
});
|
|
3396
3396
|
}, getDatabaseNames: function(e) {
|
|
3397
3397
|
try {
|
|
3398
|
-
return r = ze.dependencies, n = r.indexedDB, r = r.IDBKeyRange, (
|
|
3398
|
+
return r = ze.dependencies, n = r.indexedDB, r = r.IDBKeyRange, (Ir(n) ? Promise.resolve(n.databases()).then(function(a) {
|
|
3399
3399
|
return a.map(function(s) {
|
|
3400
3400
|
return s.name;
|
|
3401
3401
|
}).filter(function(s) {
|
|
3402
3402
|
return s !== $t;
|
|
3403
3403
|
});
|
|
3404
|
-
}) :
|
|
3404
|
+
}) : Nr(n, r).toCollection().primaryKeys()).then(e);
|
|
3405
3405
|
} catch {
|
|
3406
3406
|
return ee(new L.MissingAPI());
|
|
3407
3407
|
}
|
|
@@ -3412,10 +3412,10 @@ function Ga() {
|
|
|
3412
3412
|
};
|
|
3413
3413
|
}, ignoreTransaction: function(e) {
|
|
3414
3414
|
return B.trans ? Le(B.transless, e) : e();
|
|
3415
|
-
}, vip:
|
|
3415
|
+
}, vip: Tr, async: function(e) {
|
|
3416
3416
|
return function() {
|
|
3417
3417
|
try {
|
|
3418
|
-
var r =
|
|
3418
|
+
var r = jr(e.apply(this, arguments));
|
|
3419
3419
|
return r && typeof r.then == "function" ? r : j.resolve(r);
|
|
3420
3420
|
} catch (n) {
|
|
3421
3421
|
return ee(n);
|
|
@@ -3423,7 +3423,7 @@ function Ga() {
|
|
|
3423
3423
|
};
|
|
3424
3424
|
}, spawn: function(e, r, n) {
|
|
3425
3425
|
try {
|
|
3426
|
-
var a =
|
|
3426
|
+
var a = jr(e.apply(n, r || []));
|
|
3427
3427
|
return a && typeof a.then == "function" ? a : j.resolve(a);
|
|
3428
3428
|
} catch (s) {
|
|
3429
3429
|
return ee(s);
|
|
@@ -3440,20 +3440,20 @@ function Ga() {
|
|
|
3440
3440
|
typeof r == "string" ? le(e, r, void 0) : "length" in r && [].map.call(r, function(n) {
|
|
3441
3441
|
le(e, n, void 0);
|
|
3442
3442
|
});
|
|
3443
|
-
}, shallowClone: Qr, deepClone: Ce, getObjectDiff:
|
|
3443
|
+
}, shallowClone: Qr, deepClone: Ce, getObjectDiff: Gr, cmp: H, asap: Yr, minKey: -1 / 0, addons: [], connections: et, errnames: or, dependencies: Jt, cache: Fe, semVer: "4.0.11", version: "4.0.11".split(".").map(function(e) {
|
|
3444
3444
|
return parseInt(e);
|
|
3445
3445
|
}).reduce(function(e, r, n) {
|
|
3446
3446
|
return e + r / Math.pow(10, 2 * n);
|
|
3447
3447
|
}) })), ze.maxKey = yt(ze.dependencies.IDBKeyRange), typeof dispatchEvent < "u" && typeof addEventListener < "u" && (Re(mt, function(e) {
|
|
3448
|
-
xe || (e = new CustomEvent(
|
|
3449
|
-
}), addEventListener(
|
|
3450
|
-
e = e.detail, xe ||
|
|
3448
|
+
xe || (e = new CustomEvent(wr, { detail: e }), xe = !0, dispatchEvent(e), xe = !1);
|
|
3449
|
+
}), addEventListener(wr, function(e) {
|
|
3450
|
+
e = e.detail, xe || Lr(e);
|
|
3451
3451
|
}));
|
|
3452
3452
|
var nt, xe = !1, kn = function() {
|
|
3453
3453
|
};
|
|
3454
3454
|
return typeof BroadcastChannel < "u" && ((kn = function() {
|
|
3455
|
-
(nt = new BroadcastChannel(
|
|
3456
|
-
return e.data &&
|
|
3455
|
+
(nt = new BroadcastChannel(wr)).onmessage = function(e) {
|
|
3456
|
+
return e.data && Lr(e.data);
|
|
3457
3457
|
};
|
|
3458
3458
|
})(), typeof nt.unref == "function" && nt.unref(), Re(mt, function(e) {
|
|
3459
3459
|
xe || nt.postMessage(e);
|
|
@@ -3463,7 +3463,7 @@ function Ga() {
|
|
|
3463
3463
|
for (var r = 0, n = et; r < n.length; r++) n[r].close({ disableAutoOpen: !1 });
|
|
3464
3464
|
}
|
|
3465
3465
|
}), addEventListener("pageshow", function(e) {
|
|
3466
|
-
!Se.disableBfCache && e.persisted && (me && console.debug("Dexie: handling persisted pageshow"), kn(),
|
|
3466
|
+
!Se.disableBfCache && e.persisted && (me && console.debug("Dexie: handling persisted pageshow"), kn(), Lr({ all: new oe(-1 / 0, [[]]) }));
|
|
3467
3467
|
})), j.rejectionMapper = function(e, r) {
|
|
3468
3468
|
return !e || e instanceof Qe || e instanceof TypeError || e instanceof SyntaxError || !e.name || !qr[e.name] ? e : (r = new qr[e.name](r || e.message, e), "stack" in e && Ae(r, "stack", { get: function() {
|
|
3469
3469
|
return this.inner.stack;
|
|
@@ -4269,9 +4269,9 @@ function Ka(f, t) {
|
|
|
4269
4269
|
};
|
|
4270
4270
|
return (g, b) => l().then((I) => b(I.transaction(t, g).objectStore(t)));
|
|
4271
4271
|
}
|
|
4272
|
-
let
|
|
4272
|
+
let Wr;
|
|
4273
4273
|
function Mn() {
|
|
4274
|
-
return
|
|
4274
|
+
return Wr || (Wr = Ka("keyval-store", "keyval")), Wr;
|
|
4275
4275
|
}
|
|
4276
4276
|
function _e(f, t = Mn()) {
|
|
4277
4277
|
return t("readonly", (i) => zr(i.get(f)));
|
|
@@ -5737,7 +5737,7 @@ class Ja {
|
|
|
5737
5737
|
o.NONE,
|
|
5738
5738
|
o.WIDGET,
|
|
5739
5739
|
o.NONE,
|
|
5740
|
-
|
|
5740
|
+
rr(i.query),
|
|
5741
5741
|
// @ts-expect-error query.widget is obligatory but not always
|
|
5742
5742
|
`${i?.data?.title ?? ""} ${i.query.widget}`
|
|
5743
5743
|
]), K(4, [
|
|
@@ -5760,7 +5760,7 @@ class Ja {
|
|
|
5760
5760
|
o.NONE,
|
|
5761
5761
|
o.WIDGET,
|
|
5762
5762
|
o.NONE,
|
|
5763
|
-
|
|
5763
|
+
rr(i.query),
|
|
5764
5764
|
"Fetch error",
|
|
5765
5765
|
i.query
|
|
5766
5766
|
]);
|
|
@@ -5985,7 +5985,7 @@ class Za {
|
|
|
5985
5985
|
o.WIDGET,
|
|
5986
5986
|
o.NONE,
|
|
5987
5987
|
//@ts-ignore
|
|
5988
|
-
|
|
5988
|
+
rr(this.query),
|
|
5989
5989
|
this.query
|
|
5990
5990
|
]), this.callbacks.forEach(async (b) => {
|
|
5991
5991
|
b(g);
|
|
@@ -6007,14 +6007,15 @@ class Za {
|
|
|
6007
6007
|
*/
|
|
6008
6008
|
subscribe() {
|
|
6009
6009
|
K(3, [
|
|
6010
|
-
|
|
6010
|
+
`%csubscribe%c %cwidget%c %c${this.query.type}`,
|
|
6011
6011
|
o.SUBSCRIBE,
|
|
6012
6012
|
o.NONE,
|
|
6013
6013
|
o.WIDGET,
|
|
6014
|
-
|
|
6014
|
+
o.NONE,
|
|
6015
|
+
rr(this.query),
|
|
6015
6016
|
this.query.widget
|
|
6016
6017
|
]), K(4, [
|
|
6017
|
-
"%
|
|
6018
|
+
"%cdebug%c %cwidget",
|
|
6018
6019
|
o.NO_UPDATES,
|
|
6019
6020
|
o.NONE,
|
|
6020
6021
|
o.WIDGET,
|
|
@@ -6139,7 +6140,7 @@ class Za {
|
|
|
6139
6140
|
*/
|
|
6140
6141
|
showModal = (t) => {
|
|
6141
6142
|
K(3, [
|
|
6142
|
-
"%
|
|
6143
|
+
"%cmodal%c %cwidget",
|
|
6143
6144
|
o.OK,
|
|
6144
6145
|
o.NONE,
|
|
6145
6146
|
o.WIDGET,
|