@vlprojects-chat/chat 0.25.0-LK-5882-extend-chat-join-logging.4 → 0.25.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.
- package/dist/index.mjs +309 -309
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6918,9 +6918,9 @@ var He = /* @__PURE__ */ Symbol("mobx administration"), da = /* @__PURE__ */ fun
|
|
|
6918
6918
|
return r();
|
|
6919
6919
|
});
|
|
6920
6920
|
}, t.reportObserved = function() {
|
|
6921
|
-
return
|
|
6921
|
+
return sP(this);
|
|
6922
6922
|
}, t.reportChanged = function() {
|
|
6923
|
-
Vr(),
|
|
6923
|
+
Vr(), aP(this), Ur();
|
|
6924
6924
|
}, t.toString = function() {
|
|
6925
6925
|
return this.name_;
|
|
6926
6926
|
}, lu(e, [{
|
|
@@ -6956,7 +6956,7 @@ var vw = /* @__PURE__ */ fa("Atom", da);
|
|
|
6956
6956
|
function Ts(e, t, n) {
|
|
6957
6957
|
t === void 0 && (t = cc), n === void 0 && (n = cc);
|
|
6958
6958
|
var r = new da(e);
|
|
6959
|
-
return t !== cc &&
|
|
6959
|
+
return t !== cc && gP(r, t), n !== cc && Ew(r, n), r;
|
|
6960
6960
|
}
|
|
6961
6961
|
function _D(e, t) {
|
|
6962
6962
|
return e === t;
|
|
@@ -7412,7 +7412,7 @@ function QR(e, t, n, r, o) {
|
|
|
7412
7412
|
} catch (s) {
|
|
7413
7413
|
throw i.error_ = s, s;
|
|
7414
7414
|
} finally {
|
|
7415
|
-
|
|
7415
|
+
eP(i);
|
|
7416
7416
|
}
|
|
7417
7417
|
}
|
|
7418
7418
|
function $R(e, t, n, r) {
|
|
@@ -7443,7 +7443,7 @@ function $R(e, t, n, r) {
|
|
|
7443
7443
|
};
|
|
7444
7444
|
return Bh = p.actionId_, p;
|
|
7445
7445
|
}
|
|
7446
|
-
function
|
|
7446
|
+
function eP(e) {
|
|
7447
7447
|
Bh !== e.actionId_ && Se(30), Bh = e.parentActionId_, e.error_ !== void 0 && (me.suppressReactionErrors = !0), Ug(e.prevAllowStateChanges_), yc(e.prevAllowStateReads_), Ur(), e.runAsAction_ && ps(e.prevDerivation_), k.env.NODE_ENV !== "production" && e.notifySpy_ && co({
|
|
7448
7448
|
time: Date.now() - e.startTime_
|
|
7449
7449
|
}), me.suppressReactionErrors = !1;
|
|
@@ -7554,7 +7554,7 @@ var N8 = "create", zs = /* @__PURE__ */ function(e) {
|
|
|
7554
7554
|
if (this.isComputing && Se(32, this.name_, this.derivation), me.inBatch === 0 && // !globalState.trackingDerivatpion &&
|
|
7555
7555
|
this.observers_.size === 0 && !this.keepAlive_)
|
|
7556
7556
|
Kb(this) && (this.warnAboutUntrackedRead_(), Vr(), this.value_ = this.computeValue_(!1), Ur());
|
|
7557
|
-
else if (
|
|
7557
|
+
else if (sP(this), Kb(this)) {
|
|
7558
7558
|
var r = me.trackingContext;
|
|
7559
7559
|
this.keepAlive_ && !r && (me.trackingContext = this), this.trackAndCompute() && G8(this), me.trackingContext = r;
|
|
7560
7560
|
}
|
|
@@ -7589,7 +7589,7 @@ var N8 = "create", zs = /* @__PURE__ */ function(e) {
|
|
|
7589
7589
|
this.isComputing = !0;
|
|
7590
7590
|
var o = Vg(!1), i;
|
|
7591
7591
|
if (r)
|
|
7592
|
-
i =
|
|
7592
|
+
i = tP(this, this.derivation, this.scope_);
|
|
7593
7593
|
else if (me.disableErrorBoundaries === !0)
|
|
7594
7594
|
i = this.derivation.call(this.scope_);
|
|
7595
7595
|
else
|
|
@@ -7710,7 +7710,7 @@ function Kb(e) {
|
|
|
7710
7710
|
return ps(n), yc(t), !0;
|
|
7711
7711
|
}
|
|
7712
7712
|
}
|
|
7713
|
-
return
|
|
7713
|
+
return nP(e), ps(n), yc(t), !1;
|
|
7714
7714
|
}
|
|
7715
7715
|
}
|
|
7716
7716
|
}
|
|
@@ -7726,9 +7726,9 @@ function Ni(e) {
|
|
|
7726
7726
|
function M8(e) {
|
|
7727
7727
|
k.env.NODE_ENV !== "production" && !me.allowStateReads && me.observableRequiresReaction && console.warn("[mobx] Observable '" + e.name_ + "' being read outside a reactive context.");
|
|
7728
7728
|
}
|
|
7729
|
-
function
|
|
7729
|
+
function tP(e, t, n) {
|
|
7730
7730
|
var r = _g(!0);
|
|
7731
|
-
|
|
7731
|
+
nP(e), e.newObserving_ = new Array(
|
|
7732
7732
|
// Reserve constant space for initial dependencies, dynamic space otherwise.
|
|
7733
7733
|
// See https://github.com/mobxjs/mobx/pull/3833
|
|
7734
7734
|
e.runId_ === 0 ? 100 : e.observing_.length
|
|
@@ -7756,7 +7756,7 @@ function L8(e) {
|
|
|
7756
7756
|
}
|
|
7757
7757
|
for (n.length = o, e.newObserving_ = null, i = t.length; i--; ) {
|
|
7758
7758
|
var l = t[i];
|
|
7759
|
-
l.diffValue === 0 &&
|
|
7759
|
+
l.diffValue === 0 && oP(l, e), l.diffValue = 0;
|
|
7760
7760
|
}
|
|
7761
7761
|
for (; o--; ) {
|
|
7762
7762
|
var u = n[o];
|
|
@@ -7768,7 +7768,7 @@ function Xb(e) {
|
|
|
7768
7768
|
var t = e.observing_;
|
|
7769
7769
|
e.observing_ = [];
|
|
7770
7770
|
for (var n = t.length; n--; )
|
|
7771
|
-
|
|
7771
|
+
oP(t[n], e);
|
|
7772
7772
|
e.dependenciesState_ = Mt.NOT_TRACKING_;
|
|
7773
7773
|
}
|
|
7774
7774
|
function Sw(e) {
|
|
@@ -7793,7 +7793,7 @@ function _g(e) {
|
|
|
7793
7793
|
function yc(e) {
|
|
7794
7794
|
me.allowStateReads = e;
|
|
7795
7795
|
}
|
|
7796
|
-
function
|
|
7796
|
+
function nP(e) {
|
|
7797
7797
|
if (e.dependenciesState_ !== Mt.UP_TO_DATE_) {
|
|
7798
7798
|
e.dependenciesState_ = Mt.UP_TO_DATE_;
|
|
7799
7799
|
for (var t = e.observing_, n = t.length; n--; )
|
|
@@ -7802,14 +7802,14 @@ function n3(e) {
|
|
|
7802
7802
|
}
|
|
7803
7803
|
var B8 = ["mobxGuid", "spyListeners", "enforceActions", "computedRequiresReaction", "reactionRequiresObservable", "observableRequiresReaction", "allowStateReads", "disableErrorBoundaries", "runId", "UNCHANGED", "useProxies"], hf = function() {
|
|
7804
7804
|
this.version = 6, this.UNCHANGED = {}, this.trackingDerivation = null, this.trackingContext = null, this.runId = 0, this.mobxGuid = 0, this.inBatch = 0, this.pendingUnobservations = [], this.pendingReactions = [], this.isRunningReactions = !1, this.allowStateChanges = !1, this.allowStateReads = !0, this.enforceActions = !0, this.spyListeners = [], this.globalReactionErrorHandlers = [], this.computedRequiresReaction = !1, this.reactionRequiresObservable = !1, this.observableRequiresReaction = !1, this.disableErrorBoundaries = !1, this.suppressReactionErrors = !1, this.useProxies = !0, this.verifyProxies = !1, this.safeDescriptors = !0;
|
|
7805
|
-
}, ah = !0,
|
|
7805
|
+
}, ah = !0, rP = !1, me = /* @__PURE__ */ function() {
|
|
7806
7806
|
var e = /* @__PURE__ */ Mg();
|
|
7807
7807
|
return e.__mobxInstanceCount > 0 && !e.__mobxGlobals && (ah = !1), e.__mobxGlobals && e.__mobxGlobals.version !== new hf().version && (ah = !1), ah ? e.__mobxGlobals ? (e.__mobxInstanceCount += 1, e.__mobxGlobals.UNCHANGED || (e.__mobxGlobals.UNCHANGED = {}), e.__mobxGlobals) : (e.__mobxInstanceCount = 1, e.__mobxGlobals = /* @__PURE__ */ new hf()) : (setTimeout(function() {
|
|
7808
|
-
|
|
7808
|
+
rP || Se(35);
|
|
7809
7809
|
}, 1), new hf());
|
|
7810
7810
|
}();
|
|
7811
7811
|
function F8() {
|
|
7812
|
-
if ((me.pendingReactions.length || me.inBatch || me.isRunningReactions) && Se(36),
|
|
7812
|
+
if ((me.pendingReactions.length || me.inBatch || me.isRunningReactions) && Se(36), rP = !0, ah) {
|
|
7813
7813
|
var e = Mg();
|
|
7814
7814
|
--e.__mobxInstanceCount === 0 && (e.__mobxGlobals = void 0), me = new hf();
|
|
7815
7815
|
}
|
|
@@ -7832,10 +7832,10 @@ function W8(e) {
|
|
|
7832
7832
|
function H8(e, t) {
|
|
7833
7833
|
e.observers_.add(t), e.lowestObserverState_ > t.dependenciesState_ && (e.lowestObserverState_ = t.dependenciesState_);
|
|
7834
7834
|
}
|
|
7835
|
-
function
|
|
7836
|
-
e.observers_.delete(t), e.observers_.size === 0 &&
|
|
7835
|
+
function oP(e, t) {
|
|
7836
|
+
e.observers_.delete(t), e.observers_.size === 0 && iP(e);
|
|
7837
7837
|
}
|
|
7838
|
-
function
|
|
7838
|
+
function iP(e) {
|
|
7839
7839
|
e.isPendingUnobservation === !1 && (e.isPendingUnobservation = !0, me.pendingUnobservations.push(e));
|
|
7840
7840
|
}
|
|
7841
7841
|
function Vr() {
|
|
@@ -7843,7 +7843,7 @@ function Vr() {
|
|
|
7843
7843
|
}
|
|
7844
7844
|
function Ur() {
|
|
7845
7845
|
if (--me.inBatch === 0) {
|
|
7846
|
-
|
|
7846
|
+
uP();
|
|
7847
7847
|
for (var e = me.pendingUnobservations, t = 0; t < e.length; t++) {
|
|
7848
7848
|
var n = e[t];
|
|
7849
7849
|
n.isPendingUnobservation = !1, n.observers_.size === 0 && (n.isBeingObserved && (n.isBeingObserved = !1, n.onBUO()), n instanceof Lo && n.suspend_());
|
|
@@ -7851,19 +7851,19 @@ function Ur() {
|
|
|
7851
7851
|
me.pendingUnobservations = [];
|
|
7852
7852
|
}
|
|
7853
7853
|
}
|
|
7854
|
-
function
|
|
7854
|
+
function sP(e) {
|
|
7855
7855
|
M8(e);
|
|
7856
7856
|
var t = me.trackingDerivation;
|
|
7857
|
-
return t !== null ? (t.runId_ !== e.lastAccessedBy_ && (e.lastAccessedBy_ = t.runId_, t.newObserving_[t.unboundDepsCount_++] = e, !e.isBeingObserved && me.trackingContext && (e.isBeingObserved = !0, e.onBO())), e.isBeingObserved) : (e.observers_.size === 0 && me.inBatch > 0 &&
|
|
7857
|
+
return t !== null ? (t.runId_ !== e.lastAccessedBy_ && (e.lastAccessedBy_ = t.runId_, t.newObserving_[t.unboundDepsCount_++] = e, !e.isBeingObserved && me.trackingContext && (e.isBeingObserved = !0, e.onBO())), e.isBeingObserved) : (e.observers_.size === 0 && me.inBatch > 0 && iP(e), !1);
|
|
7858
7858
|
}
|
|
7859
|
-
function
|
|
7859
|
+
function aP(e) {
|
|
7860
7860
|
e.lowestObserverState_ !== Mt.STALE_ && (e.lowestObserverState_ = Mt.STALE_, e.observers_.forEach(function(t) {
|
|
7861
|
-
t.dependenciesState_ === Mt.UP_TO_DATE_ && (k.env.NODE_ENV !== "production" && t.isTracing_ !== jo.NONE &&
|
|
7861
|
+
t.dependenciesState_ === Mt.UP_TO_DATE_ && (k.env.NODE_ENV !== "production" && t.isTracing_ !== jo.NONE && lP(t, e), t.onBecomeStale_()), t.dependenciesState_ = Mt.STALE_;
|
|
7862
7862
|
}));
|
|
7863
7863
|
}
|
|
7864
7864
|
function G8(e) {
|
|
7865
7865
|
e.lowestObserverState_ !== Mt.STALE_ && (e.lowestObserverState_ = Mt.STALE_, e.observers_.forEach(function(t) {
|
|
7866
|
-
t.dependenciesState_ === Mt.POSSIBLY_STALE_ ? (t.dependenciesState_ = Mt.STALE_, k.env.NODE_ENV !== "production" && t.isTracing_ !== jo.NONE &&
|
|
7866
|
+
t.dependenciesState_ === Mt.POSSIBLY_STALE_ ? (t.dependenciesState_ = Mt.STALE_, k.env.NODE_ENV !== "production" && t.isTracing_ !== jo.NONE && lP(t, e)) : t.dependenciesState_ === Mt.UP_TO_DATE_ && (e.lowestObserverState_ = Mt.UP_TO_DATE_);
|
|
7867
7867
|
}));
|
|
7868
7868
|
}
|
|
7869
7869
|
function z8(e) {
|
|
@@ -7871,10 +7871,10 @@ function z8(e) {
|
|
|
7871
7871
|
t.dependenciesState_ === Mt.UP_TO_DATE_ && (t.dependenciesState_ = Mt.POSSIBLY_STALE_, t.onBecomeStale_());
|
|
7872
7872
|
}));
|
|
7873
7873
|
}
|
|
7874
|
-
function
|
|
7874
|
+
function lP(e, t) {
|
|
7875
7875
|
if (console.log("[mobx.trace] '" + e.name_ + "' is invalidated due to a change in: '" + t.name_ + "'"), e.isTracing_ === jo.BREAK) {
|
|
7876
7876
|
var n = [];
|
|
7877
|
-
|
|
7877
|
+
cP(Cw(e), n, 1), new Function(`debugger;
|
|
7878
7878
|
/*
|
|
7879
7879
|
Tracing '` + e.name_ + `'
|
|
7880
7880
|
|
|
@@ -7892,13 +7892,13 @@ The dependencies for this derivation are:
|
|
|
7892
7892
|
`)();
|
|
7893
7893
|
}
|
|
7894
7894
|
}
|
|
7895
|
-
function
|
|
7895
|
+
function cP(e, t, n) {
|
|
7896
7896
|
if (t.length >= 1e3) {
|
|
7897
7897
|
t.push("(and many more)");
|
|
7898
7898
|
return;
|
|
7899
7899
|
}
|
|
7900
7900
|
t.push("" + " ".repeat(n - 1) + e.name), e.dependencies && e.dependencies.forEach(function(r) {
|
|
7901
|
-
return
|
|
7901
|
+
return cP(r, t, n + 1);
|
|
7902
7902
|
});
|
|
7903
7903
|
}
|
|
7904
7904
|
var ni = /* @__PURE__ */ function() {
|
|
@@ -7909,7 +7909,7 @@ var ni = /* @__PURE__ */ function() {
|
|
|
7909
7909
|
return t.onBecomeStale_ = function() {
|
|
7910
7910
|
this.schedule_();
|
|
7911
7911
|
}, t.schedule_ = function() {
|
|
7912
|
-
this.isScheduled || (this.isScheduled = !0, me.pendingReactions.push(this),
|
|
7912
|
+
this.isScheduled || (this.isScheduled = !0, me.pendingReactions.push(this), uP());
|
|
7913
7913
|
}, t.runReaction_ = function() {
|
|
7914
7914
|
if (!this.isDisposed) {
|
|
7915
7915
|
Vr(), this.isScheduled = !1;
|
|
@@ -7937,7 +7937,7 @@ var ni = /* @__PURE__ */ function() {
|
|
|
7937
7937
|
})), this.isRunning = !0;
|
|
7938
7938
|
var s = me.trackingContext;
|
|
7939
7939
|
me.trackingContext = this;
|
|
7940
|
-
var a =
|
|
7940
|
+
var a = tP(this, r, void 0);
|
|
7941
7941
|
me.trackingContext = s, this.isRunning = !1, this.isTrackPending = !1, this.isDisposed && Xb(this), sh(a) && this.reportExceptionInDerivation_(a.cause), k.env.NODE_ENV !== "production" && o && co({
|
|
7942
7942
|
time: Date.now() - i
|
|
7943
7943
|
}), Ur();
|
|
@@ -7969,7 +7969,7 @@ var ni = /* @__PURE__ */ function() {
|
|
|
7969
7969
|
}, t.toString = function() {
|
|
7970
7970
|
return "Reaction[" + this.name_ + "]";
|
|
7971
7971
|
}, t.trace = function(r) {
|
|
7972
|
-
r === void 0 && (r = !1),
|
|
7972
|
+
r === void 0 && (r = !1), AP(this, r);
|
|
7973
7973
|
}, lu(e, [{
|
|
7974
7974
|
key: "isDisposed",
|
|
7975
7975
|
get: function() {
|
|
@@ -8026,7 +8026,7 @@ function q8(e) {
|
|
|
8026
8026
|
var CE = 100, Zb = function(t) {
|
|
8027
8027
|
return t();
|
|
8028
8028
|
};
|
|
8029
|
-
function
|
|
8029
|
+
function uP() {
|
|
8030
8030
|
me.inBatch > 0 || me.isRunningReactions || Zb(Y8);
|
|
8031
8031
|
}
|
|
8032
8032
|
function Y8() {
|
|
@@ -8073,7 +8073,7 @@ function co(e) {
|
|
|
8073
8073
|
spyReportEnd: !0
|
|
8074
8074
|
}) : K8);
|
|
8075
8075
|
}
|
|
8076
|
-
function
|
|
8076
|
+
function fP(e) {
|
|
8077
8077
|
return k.env.NODE_ENV === "production" ? (console.warn("[mobx.spy] Is a no-op in production builds"), function() {
|
|
8078
8078
|
}) : (me.spyListeners.push(e), gw(function() {
|
|
8079
8079
|
me.spyListeners = me.spyListeners.filter(function(t) {
|
|
@@ -8081,18 +8081,18 @@ function f3(e) {
|
|
|
8081
8081
|
});
|
|
8082
8082
|
}));
|
|
8083
8083
|
}
|
|
8084
|
-
var xw = "action", X8 = "action.bound",
|
|
8084
|
+
var xw = "action", X8 = "action.bound", dP = "autoAction", Z8 = "autoAction.bound", pP = "<unnamed action>", Qb = /* @__PURE__ */ Rd(xw), Q8 = /* @__PURE__ */ Rd(X8, {
|
|
8085
8085
|
bound: !0
|
|
8086
|
-
}), $b = /* @__PURE__ */ Rd(
|
|
8086
|
+
}), $b = /* @__PURE__ */ Rd(dP, {
|
|
8087
8087
|
autoAction: !0
|
|
8088
8088
|
}), $8 = /* @__PURE__ */ Rd(Z8, {
|
|
8089
8089
|
autoAction: !0,
|
|
8090
8090
|
bound: !0
|
|
8091
8091
|
});
|
|
8092
|
-
function
|
|
8092
|
+
function hP(e) {
|
|
8093
8093
|
var t = function(r, o) {
|
|
8094
8094
|
if (wn(r))
|
|
8095
|
-
return Ks(r.name ||
|
|
8095
|
+
return Ks(r.name || pP, r, e);
|
|
8096
8096
|
if (wn(o))
|
|
8097
8097
|
return Ks(r, o, e);
|
|
8098
8098
|
if (Ad(o))
|
|
@@ -8100,7 +8100,7 @@ function h3(e) {
|
|
|
8100
8100
|
if (_i(o))
|
|
8101
8101
|
return Td(r, o, e ? $b : Qb);
|
|
8102
8102
|
if (_i(r))
|
|
8103
|
-
return Zo(Rd(e ?
|
|
8103
|
+
return Zo(Rd(e ? dP : xw, {
|
|
8104
8104
|
name: r,
|
|
8105
8105
|
autoAction: e
|
|
8106
8106
|
}));
|
|
@@ -8108,14 +8108,14 @@ function h3(e) {
|
|
|
8108
8108
|
};
|
|
8109
8109
|
return t;
|
|
8110
8110
|
}
|
|
8111
|
-
var Fe = /* @__PURE__ */
|
|
8111
|
+
var Fe = /* @__PURE__ */ hP(!1);
|
|
8112
8112
|
Object.assign(Fe, Qb);
|
|
8113
|
-
var kc = /* @__PURE__ */
|
|
8113
|
+
var kc = /* @__PURE__ */ hP(!0);
|
|
8114
8114
|
Object.assign(kc, $b);
|
|
8115
8115
|
Fe.bound = /* @__PURE__ */ Zo(Q8);
|
|
8116
8116
|
kc.bound = /* @__PURE__ */ Zo($8);
|
|
8117
8117
|
function Nc(e) {
|
|
8118
|
-
return QR(e.name ||
|
|
8118
|
+
return QR(e.name || pP, !1, e, this, void 0);
|
|
8119
8119
|
}
|
|
8120
8120
|
function Xs(e) {
|
|
8121
8121
|
return wn(e) && e.isMobxAction === !0;
|
|
@@ -8129,7 +8129,7 @@ function Zs(e, t) {
|
|
|
8129
8129
|
this.track(p);
|
|
8130
8130
|
}, t.onError, t.requiresObservable);
|
|
8131
8131
|
else {
|
|
8132
|
-
var u =
|
|
8132
|
+
var u = mP(t), c = !1;
|
|
8133
8133
|
l = new ni(s, function() {
|
|
8134
8134
|
c || (c = !0, u(function() {
|
|
8135
8135
|
c = !1, l.isDisposed || l.track(p);
|
|
@@ -8144,7 +8144,7 @@ function Zs(e, t) {
|
|
|
8144
8144
|
var e7 = function(t) {
|
|
8145
8145
|
return t();
|
|
8146
8146
|
};
|
|
8147
|
-
function
|
|
8147
|
+
function mP(e) {
|
|
8148
8148
|
return e.scheduler ? e.scheduler : e.delay ? function(t) {
|
|
8149
8149
|
return setTimeout(t, e.delay);
|
|
8150
8150
|
} : e7;
|
|
@@ -8152,7 +8152,7 @@ function m3(e) {
|
|
|
8152
8152
|
function il(e, t, n) {
|
|
8153
8153
|
var r, o, i;
|
|
8154
8154
|
n === void 0 && (n = mw), k.env.NODE_ENV !== "production" && ((!wn(e) || !wn(t)) && Se("First and second argument to reaction should be functions"), Wr(n) || Se("Third argument of reactions should be an object"));
|
|
8155
|
-
var s = (r = n.name) != null ? r : k.env.NODE_ENV !== "production" ? "Reaction@" + yo() : "Reaction", a = Fe(s, n.onError ? t7(n.onError, t) : t), l = !n.scheduler && !n.delay, u =
|
|
8155
|
+
var s = (r = n.name) != null ? r : k.env.NODE_ENV !== "production" ? "Reaction@" + yo() : "Reaction", a = Fe(s, n.onError ? t7(n.onError, t) : t), l = !n.scheduler && !n.delay, u = mP(n), c = !0, p = !1, d, m = n.compareStructural ? tl.structural : n.equals || tl.default, g = new ni(s, function() {
|
|
8156
8156
|
c || l ? v() : p || (p = !0, u(v));
|
|
8157
8157
|
}, n.onError, n.requiresObservable);
|
|
8158
8158
|
function v() {
|
|
@@ -8178,13 +8178,13 @@ function t7(e, t) {
|
|
|
8178
8178
|
};
|
|
8179
8179
|
}
|
|
8180
8180
|
var n7 = "onBO", r7 = "onBUO";
|
|
8181
|
-
function
|
|
8182
|
-
return
|
|
8181
|
+
function gP(e, t, n) {
|
|
8182
|
+
return vP(n7, e, t, n);
|
|
8183
8183
|
}
|
|
8184
8184
|
function Ew(e, t, n) {
|
|
8185
|
-
return
|
|
8185
|
+
return vP(r7, e, t, n);
|
|
8186
8186
|
}
|
|
8187
|
-
function
|
|
8187
|
+
function vP(e, t, n, r) {
|
|
8188
8188
|
var o = typeof r == "function" ? oi(t, n) : oi(t), i = wn(r) ? r : n, s = e + "L";
|
|
8189
8189
|
return o[s] ? o[s].add(i) : o[s] = /* @__PURE__ */ new Set([i]), function() {
|
|
8190
8190
|
var a = o[s];
|
|
@@ -8192,7 +8192,7 @@ function v3(e, t, n, r) {
|
|
|
8192
8192
|
};
|
|
8193
8193
|
}
|
|
8194
8194
|
var o7 = "never", vp = "always", i7 = "observed";
|
|
8195
|
-
function
|
|
8195
|
+
function yP(e) {
|
|
8196
8196
|
e.isolateGlobalState === !0 && F8();
|
|
8197
8197
|
var t = e.useProxies, n = e.enforceActions;
|
|
8198
8198
|
if (t !== void 0 && (me.useProxies = t === vp ? !0 : t === o7 ? !1 : typeof Proxy < "u"), t === "ifavailable" && (me.verifyProxies = !0), n !== void 0) {
|
|
@@ -8219,22 +8219,22 @@ function Wg(e, t, n, r) {
|
|
|
8219
8219
|
}), e;
|
|
8220
8220
|
}
|
|
8221
8221
|
function Cw(e, t) {
|
|
8222
|
-
return
|
|
8222
|
+
return bP(oi(e, t));
|
|
8223
8223
|
}
|
|
8224
|
-
function
|
|
8224
|
+
function bP(e) {
|
|
8225
8225
|
var t = {
|
|
8226
8226
|
name: e.name_
|
|
8227
8227
|
};
|
|
8228
|
-
return e.observing_ && e.observing_.length > 0 && (t.dependencies = a7(e.observing_).map(
|
|
8228
|
+
return e.observing_ && e.observing_.length > 0 && (t.dependencies = a7(e.observing_).map(bP)), t;
|
|
8229
8229
|
}
|
|
8230
8230
|
function s7(e, t) {
|
|
8231
|
-
return
|
|
8231
|
+
return wP(oi(e, t));
|
|
8232
8232
|
}
|
|
8233
|
-
function
|
|
8233
|
+
function wP(e) {
|
|
8234
8234
|
var t = {
|
|
8235
8235
|
name: e.name_
|
|
8236
8236
|
};
|
|
8237
|
-
return _8(e) && (t.observers = Array.from(W8(e)).map(
|
|
8237
|
+
return _8(e) && (t.observers = Array.from(W8(e)).map(wP)), t;
|
|
8238
8238
|
}
|
|
8239
8239
|
function a7(e) {
|
|
8240
8240
|
return Array.from(new Set(e));
|
|
@@ -8333,7 +8333,7 @@ function p7(e, t) {
|
|
|
8333
8333
|
function h7(e, t, n) {
|
|
8334
8334
|
return ii(e, t).intercept_(n);
|
|
8335
8335
|
}
|
|
8336
|
-
function
|
|
8336
|
+
function SP(e, t) {
|
|
8337
8337
|
if (t === void 0)
|
|
8338
8338
|
return rl(e);
|
|
8339
8339
|
if (an(e) === !1 || !e[He].values_.has(t))
|
|
@@ -8341,20 +8341,20 @@ function S3(e, t) {
|
|
|
8341
8341
|
var n = oi(e, t);
|
|
8342
8342
|
return rl(n);
|
|
8343
8343
|
}
|
|
8344
|
-
function
|
|
8345
|
-
return k.env.NODE_ENV !== "production" && arguments.length > 1 ? Se("isComputed expects only 1 argument. Use isComputedProp to inspect the observability of a property") :
|
|
8344
|
+
function xP(e) {
|
|
8345
|
+
return k.env.NODE_ENV !== "production" && arguments.length > 1 ? Se("isComputed expects only 1 argument. Use isComputedProp to inspect the observability of a property") : SP(e);
|
|
8346
8346
|
}
|
|
8347
8347
|
function lh(e, t) {
|
|
8348
|
-
return k.env.NODE_ENV !== "production" && !_i(t) ? Se("isComputed expected a property name as second argument") :
|
|
8348
|
+
return k.env.NODE_ENV !== "production" && !_i(t) ? Se("isComputed expected a property name as second argument") : SP(e, t);
|
|
8349
8349
|
}
|
|
8350
|
-
function
|
|
8350
|
+
function EP(e, t) {
|
|
8351
8351
|
return e ? t !== void 0 ? k.env.NODE_ENV !== "production" && (jn(e) || Rn(e)) ? Se("isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.") : an(e) ? e[He].values_.has(t) : !1 : an(e) || !!e[He] || vw(e) || Vh(e) || rl(e) : !1;
|
|
8352
8352
|
}
|
|
8353
8353
|
function Bo(e) {
|
|
8354
|
-
return k.env.NODE_ENV !== "production" && arguments.length !== 1 && Se("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"),
|
|
8354
|
+
return k.env.NODE_ENV !== "production" && arguments.length !== 1 && Se("isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property"), EP(e);
|
|
8355
8355
|
}
|
|
8356
8356
|
function m7(e, t) {
|
|
8357
|
-
return k.env.NODE_ENV !== "production" && !_i(t) ? Se("expected a property name as second argument") :
|
|
8357
|
+
return k.env.NODE_ENV !== "production" && !_i(t) ? Se("expected a property name as second argument") : EP(e, t);
|
|
8358
8358
|
}
|
|
8359
8359
|
function Qs(e) {
|
|
8360
8360
|
if (an(e))
|
|
@@ -8382,7 +8382,7 @@ function Ow(e) {
|
|
|
8382
8382
|
return e.slice();
|
|
8383
8383
|
Se(6);
|
|
8384
8384
|
}
|
|
8385
|
-
function
|
|
8385
|
+
function CP(e) {
|
|
8386
8386
|
if (an(e))
|
|
8387
8387
|
return Qs(e).map(function(t) {
|
|
8388
8388
|
return [t, e[t]];
|
|
@@ -8427,7 +8427,7 @@ function Tw(e, t) {
|
|
|
8427
8427
|
return t >= 0 && t < e.length;
|
|
8428
8428
|
Se(10);
|
|
8429
8429
|
}
|
|
8430
|
-
function
|
|
8430
|
+
function OP(e, t) {
|
|
8431
8431
|
if (Tw(e, t)) {
|
|
8432
8432
|
if (an(e))
|
|
8433
8433
|
return e[He].get_(t);
|
|
@@ -8443,7 +8443,7 @@ function g7(e, t, n) {
|
|
|
8443
8443
|
return e[He].defineProperty_(t, n);
|
|
8444
8444
|
Se(39);
|
|
8445
8445
|
}
|
|
8446
|
-
function
|
|
8446
|
+
function TP(e) {
|
|
8447
8447
|
if (an(e))
|
|
8448
8448
|
return e[He].ownKeys_();
|
|
8449
8449
|
Se(38);
|
|
@@ -8486,7 +8486,7 @@ function nc(e, t) {
|
|
|
8486
8486
|
}), o;
|
|
8487
8487
|
} else {
|
|
8488
8488
|
var i = yp(t, e, {});
|
|
8489
|
-
return
|
|
8489
|
+
return TP(e).forEach(function(s) {
|
|
8490
8490
|
Cd.propertyIsEnumerable.call(e, s) && (i[s] = nc(e[s], t));
|
|
8491
8491
|
}), i;
|
|
8492
8492
|
}
|
|
@@ -8494,7 +8494,7 @@ function nc(e, t) {
|
|
|
8494
8494
|
function e0(e, t) {
|
|
8495
8495
|
return k.env.NODE_ENV !== "production" && t && Se("toJS no longer supports options"), nc(e, /* @__PURE__ */ new Map());
|
|
8496
8496
|
}
|
|
8497
|
-
function
|
|
8497
|
+
function AP() {
|
|
8498
8498
|
if (k.env.NODE_ENV !== "production") {
|
|
8499
8499
|
for (var e = !1, t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
8500
8500
|
n[r] = arguments[r];
|
|
@@ -8524,9 +8524,9 @@ function Ao(e, t) {
|
|
|
8524
8524
|
}
|
|
8525
8525
|
}
|
|
8526
8526
|
function w7(e, t, n) {
|
|
8527
|
-
return arguments.length === 1 || t && typeof t == "object" ? S7(e, t) :
|
|
8527
|
+
return arguments.length === 1 || t && typeof t == "object" ? S7(e, t) : RP(e, t, n || {});
|
|
8528
8528
|
}
|
|
8529
|
-
function
|
|
8529
|
+
function RP(e, t, n) {
|
|
8530
8530
|
var r;
|
|
8531
8531
|
if (typeof n.timeout == "number") {
|
|
8532
8532
|
var o = new Error("WHEN_TIMEOUT");
|
|
@@ -8556,7 +8556,7 @@ function S7(e, t) {
|
|
|
8556
8556
|
}
|
|
8557
8557
|
});
|
|
8558
8558
|
var r, o, i = new Promise(function(s, a) {
|
|
8559
|
-
var l, u =
|
|
8559
|
+
var l, u = RP(e, s, Wi({}, t, {
|
|
8560
8560
|
onError: a
|
|
8561
8561
|
}));
|
|
8562
8562
|
r = function() {
|
|
@@ -8717,7 +8717,7 @@ var TE = "splice", Xo = "update", C7 = 1e4, O7 = {
|
|
|
8717
8717
|
} else
|
|
8718
8718
|
this.spliceWithArray_(r, o - r);
|
|
8719
8719
|
}, t.updateArrayLength_ = function(r, o) {
|
|
8720
|
-
r !== this.lastKnownLength_ && Se(16), this.lastKnownLength_ += o, this.legacyMode_ && o > 0 &&
|
|
8720
|
+
r !== this.lastKnownLength_ && Se(16), this.lastKnownLength_ += o, this.legacyMode_ && o > 0 && NP(r + o + 1);
|
|
8721
8721
|
}, t.spliceWithArray_ = function(r, o, i) {
|
|
8722
8722
|
var s = this;
|
|
8723
8723
|
Ni(this.atom_);
|
|
@@ -8908,8 +8908,8 @@ ln("forEach", ui);
|
|
|
8908
8908
|
ln("map", ui);
|
|
8909
8909
|
ln("some", ui);
|
|
8910
8910
|
ln("toReversed", ui);
|
|
8911
|
-
ln("reduce",
|
|
8912
|
-
ln("reduceRight",
|
|
8911
|
+
ln("reduce", PP);
|
|
8912
|
+
ln("reduceRight", PP);
|
|
8913
8913
|
function ln(e, t) {
|
|
8914
8914
|
typeof Array.prototype[e] == "function" && (Uh[e] = t(e));
|
|
8915
8915
|
}
|
|
@@ -8931,7 +8931,7 @@ function ui(e) {
|
|
|
8931
8931
|
});
|
|
8932
8932
|
};
|
|
8933
8933
|
}
|
|
8934
|
-
function
|
|
8934
|
+
function PP(e) {
|
|
8935
8935
|
return function() {
|
|
8936
8936
|
var t = this, n = this[He];
|
|
8937
8937
|
n.atom_.reportObserved();
|
|
@@ -9336,7 +9336,7 @@ function RE(e) {
|
|
|
9336
9336
|
}
|
|
9337
9337
|
var PE = /* @__PURE__ */ Object.create(null), IE = "remove", t0 = /* @__PURE__ */ function() {
|
|
9338
9338
|
function e(n, r, o, i) {
|
|
9339
|
-
r === void 0 && (r = /* @__PURE__ */ new Map()), i === void 0 && (i = h8), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = n, this.values_ = r, this.name_ = o, this.defaultAnnotation_ = i, this.keysAtom_ = new da(k.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys"), this.isPlainObject_ = Wr(this.target_), k.env.NODE_ENV !== "production" && !
|
|
9339
|
+
r === void 0 && (r = /* @__PURE__ */ new Map()), i === void 0 && (i = h8), this.target_ = void 0, this.values_ = void 0, this.name_ = void 0, this.defaultAnnotation_ = void 0, this.keysAtom_ = void 0, this.changeListeners_ = void 0, this.interceptors_ = void 0, this.proxy_ = void 0, this.isPlainObject_ = void 0, this.appliedAnnotations_ = void 0, this.pendingKeys_ = void 0, this.target_ = n, this.values_ = r, this.name_ = o, this.defaultAnnotation_ = i, this.keysAtom_ = new da(k.env.NODE_ENV !== "production" ? this.name_ + ".keys" : "ObservableObject.keys"), this.isPlainObject_ = Wr(this.target_), k.env.NODE_ENV !== "production" && !jP(this.defaultAnnotation_) && Se("defaultAnnotation must be valid annotation"), k.env.NODE_ENV !== "production" && (this.appliedAnnotations_ = {});
|
|
9340
9340
|
}
|
|
9341
9341
|
var t = e.prototype;
|
|
9342
9342
|
return t.getObservablePropValue_ = function(r) {
|
|
@@ -9536,7 +9536,7 @@ var PE = /* @__PURE__ */ Object.create(null), IE = "remove", t0 = /* @__PURE__ *
|
|
|
9536
9536
|
return !1;
|
|
9537
9537
|
} else
|
|
9538
9538
|
delete this.target_[r];
|
|
9539
|
-
if (k.env.NODE_ENV !== "production" && delete this.appliedAnnotations_[r], u && (this.values_.delete(r), u instanceof zs && (c = u.value_),
|
|
9539
|
+
if (k.env.NODE_ENV !== "production" && delete this.appliedAnnotations_[r], u && (this.values_.delete(r), u instanceof zs && (c = u.value_), aP(u)), this.keysAtom_.reportChanged(), (s = this.pendingKeys_) == null || (s = s.get(r)) == null || s.set(r in this.target_), a || l) {
|
|
9540
9540
|
var d = {
|
|
9541
9541
|
type: IE,
|
|
9542
9542
|
observableKind: "object",
|
|
@@ -9604,7 +9604,7 @@ function NE(e, t, n) {
|
|
|
9604
9604
|
k.env.NODE_ENV !== "production" && (e.appliedAnnotations_[n] = t), (r = e.target_[Fr]) == null || delete r[n];
|
|
9605
9605
|
}
|
|
9606
9606
|
function jE(e, t, n) {
|
|
9607
|
-
if (k.env.NODE_ENV !== "production" && !
|
|
9607
|
+
if (k.env.NODE_ENV !== "production" && !jP(t) && Se("Cannot annotate '" + e.name_ + "." + n.toString() + "': Invalid annotation."), k.env.NODE_ENV !== "production" && !Lh(t) && ao(e.appliedAnnotations_, n)) {
|
|
9608
9608
|
var r = e.name_ + "." + n.toString(), o = e.appliedAnnotations_[n].annotationType_, i = t.annotationType_;
|
|
9609
9609
|
Se("Cannot apply '" + i + "' to '" + r + "':" + (`
|
|
9610
9610
|
The field is already annotated with '` + o + "'.") + `
|
|
@@ -9612,19 +9612,19 @@ Re-annotating fields is not allowed.
|
|
|
9612
9612
|
Use 'override' annotation for methods overridden by subclass.`);
|
|
9613
9613
|
}
|
|
9614
9614
|
}
|
|
9615
|
-
var N7 = /* @__PURE__ */
|
|
9615
|
+
var N7 = /* @__PURE__ */ kP(0), j7 = /* @__PURE__ */ function() {
|
|
9616
9616
|
var e = !1, t = {};
|
|
9617
9617
|
return Object.defineProperty(t, "0", {
|
|
9618
9618
|
set: function() {
|
|
9619
9619
|
e = !0;
|
|
9620
9620
|
}
|
|
9621
9621
|
}), Object.create(t)[0] = 1, e === !1;
|
|
9622
|
-
}(), Jv = 0,
|
|
9622
|
+
}(), Jv = 0, IP = function() {
|
|
9623
9623
|
};
|
|
9624
9624
|
function M7(e, t) {
|
|
9625
9625
|
Object.setPrototypeOf ? Object.setPrototypeOf(e.prototype, t) : e.prototype.__proto__ !== void 0 ? e.prototype.__proto__ = t : e.prototype = t;
|
|
9626
9626
|
}
|
|
9627
|
-
M7(
|
|
9627
|
+
M7(IP, Array.prototype);
|
|
9628
9628
|
var Iw = /* @__PURE__ */ function(e) {
|
|
9629
9629
|
function t(r, o, i, s) {
|
|
9630
9630
|
var a;
|
|
@@ -9673,12 +9673,12 @@ var Iw = /* @__PURE__ */ function(e) {
|
|
|
9673
9673
|
return "Array";
|
|
9674
9674
|
}
|
|
9675
9675
|
}]);
|
|
9676
|
-
}(
|
|
9676
|
+
}(IP);
|
|
9677
9677
|
Object.entries(Uh).forEach(function(e) {
|
|
9678
9678
|
var t = e[0], n = e[1];
|
|
9679
9679
|
t !== "concat" && Od(Iw.prototype, t, n);
|
|
9680
9680
|
});
|
|
9681
|
-
function
|
|
9681
|
+
function kP(e) {
|
|
9682
9682
|
return {
|
|
9683
9683
|
enumerable: !1,
|
|
9684
9684
|
configurable: !0,
|
|
@@ -9691,16 +9691,16 @@ function k3(e) {
|
|
|
9691
9691
|
};
|
|
9692
9692
|
}
|
|
9693
9693
|
function D7(e) {
|
|
9694
|
-
Li(Iw.prototype, "" + e,
|
|
9694
|
+
Li(Iw.prototype, "" + e, kP(e));
|
|
9695
9695
|
}
|
|
9696
|
-
function
|
|
9696
|
+
function NP(e) {
|
|
9697
9697
|
if (e > Jv) {
|
|
9698
9698
|
for (var t = Jv; t < e + 100; t++)
|
|
9699
9699
|
D7(t);
|
|
9700
9700
|
Jv = e;
|
|
9701
9701
|
}
|
|
9702
9702
|
}
|
|
9703
|
-
|
|
9703
|
+
NP(1e3);
|
|
9704
9704
|
function L7(e, t, n) {
|
|
9705
9705
|
return new Iw(e, t, n);
|
|
9706
9706
|
}
|
|
@@ -9831,7 +9831,7 @@ function Nw(e) {
|
|
|
9831
9831
|
function F7() {
|
|
9832
9832
|
return this;
|
|
9833
9833
|
}
|
|
9834
|
-
function
|
|
9834
|
+
function jP(e) {
|
|
9835
9835
|
return (
|
|
9836
9836
|
// Can be function
|
|
9837
9837
|
e instanceof Object && typeof e.annotationType_ == "string" && wn(e.make_) && wn(e.extend_)
|
|
@@ -9842,7 +9842,7 @@ function j3(e) {
|
|
|
9842
9842
|
typeof t[e] > "u" && Se("MobX requires global '" + e + "' to be available or polyfilled");
|
|
9843
9843
|
});
|
|
9844
9844
|
typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
|
|
9845
|
-
spy:
|
|
9845
|
+
spy: fP,
|
|
9846
9846
|
extras: {
|
|
9847
9847
|
getDebugName: Uf
|
|
9848
9848
|
},
|
|
@@ -9860,7 +9860,7 @@ const V7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9860
9860
|
_allowStateReadsEnd: yc,
|
|
9861
9861
|
_allowStateReadsStart: _g,
|
|
9862
9862
|
_autoAction: kc,
|
|
9863
|
-
_endAction:
|
|
9863
|
+
_endAction: eP,
|
|
9864
9864
|
_getAdministration: ii,
|
|
9865
9865
|
_getGlobalState: V8,
|
|
9866
9866
|
_interceptReads: d7,
|
|
@@ -9871,14 +9871,14 @@ const V7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9871
9871
|
autorun: Zs,
|
|
9872
9872
|
comparer: tl,
|
|
9873
9873
|
computed: st,
|
|
9874
|
-
configure:
|
|
9874
|
+
configure: yP,
|
|
9875
9875
|
createAtom: Ts,
|
|
9876
9876
|
defineProperty: g7,
|
|
9877
|
-
entries:
|
|
9877
|
+
entries: CP,
|
|
9878
9878
|
extendObservable: Wg,
|
|
9879
9879
|
flow: sl,
|
|
9880
9880
|
flowResult: f7,
|
|
9881
|
-
get:
|
|
9881
|
+
get: OP,
|
|
9882
9882
|
getAtom: oi,
|
|
9883
9883
|
getDebugName: Uf,
|
|
9884
9884
|
getDependencyTree: Cw,
|
|
@@ -9887,7 +9887,7 @@ const V7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9887
9887
|
intercept: cu,
|
|
9888
9888
|
isAction: Xs,
|
|
9889
9889
|
isBoxedObservable: ww,
|
|
9890
|
-
isComputed:
|
|
9890
|
+
isComputed: xP,
|
|
9891
9891
|
isComputedProp: lh,
|
|
9892
9892
|
isFlow: jc,
|
|
9893
9893
|
isFlowCancellationError: c7,
|
|
@@ -9902,18 +9902,18 @@ const V7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9902
9902
|
makeObservable: Gg,
|
|
9903
9903
|
observable: ut,
|
|
9904
9904
|
observe: Ol,
|
|
9905
|
-
onBecomeObserved:
|
|
9905
|
+
onBecomeObserved: gP,
|
|
9906
9906
|
onBecomeUnobserved: Ew,
|
|
9907
9907
|
onReactionError: q8,
|
|
9908
9908
|
override: YD,
|
|
9909
|
-
ownKeys:
|
|
9909
|
+
ownKeys: TP,
|
|
9910
9910
|
reaction: il,
|
|
9911
9911
|
remove: ri,
|
|
9912
9912
|
runInAction: Nc,
|
|
9913
9913
|
set: As,
|
|
9914
|
-
spy:
|
|
9914
|
+
spy: fP,
|
|
9915
9915
|
toJS: e0,
|
|
9916
|
-
trace:
|
|
9916
|
+
trace: AP,
|
|
9917
9917
|
transaction: Ao,
|
|
9918
9918
|
untracked: Sw,
|
|
9919
9919
|
values: Ow,
|
|
@@ -9927,7 +9927,7 @@ function U7(e) {
|
|
|
9927
9927
|
e();
|
|
9928
9928
|
}
|
|
9929
9929
|
function _7(e) {
|
|
9930
|
-
e || (e = U7, k.env.NODE_ENV !== "production" && console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")),
|
|
9930
|
+
e || (e = U7, k.env.NODE_ENV !== "production" && console.warn("[MobX] Failed to get unstable_batched updates from react-dom / react-native")), yP({ reactionScheduler: e });
|
|
9931
9931
|
}
|
|
9932
9932
|
function W7(e) {
|
|
9933
9933
|
return Cw(e);
|
|
@@ -10175,10 +10175,10 @@ function X7(e, t) {
|
|
|
10175
10175
|
throw s;
|
|
10176
10176
|
return i;
|
|
10177
10177
|
}
|
|
10178
|
-
var Zv, Qv, UE = !0,
|
|
10179
|
-
}, "name")) === null || Zv === void 0 ? void 0 : Zv.configurable) !== null && Qv !== void 0 ? Qv : !1, _E =
|
|
10178
|
+
var Zv, Qv, UE = !0, MP = typeof Symbol == "function" && Symbol.for, Z7 = (Qv = (Zv = Object.getOwnPropertyDescriptor(function() {
|
|
10179
|
+
}, "name")) === null || Zv === void 0 ? void 0 : Zv.configurable) !== null && Qv !== void 0 ? Qv : !1, _E = MP ? Symbol.for("react.forward_ref") : typeof vs == "function" && vs(function(e) {
|
|
10180
10180
|
return null;
|
|
10181
|
-
}).$$typeof, WE =
|
|
10181
|
+
}).$$typeof, WE = MP ? Symbol.for("react.memo") : typeof Qa == "function" && Qa(function(e) {
|
|
10182
10182
|
return null;
|
|
10183
10183
|
}).$$typeof;
|
|
10184
10184
|
function ot(e, t) {
|
|
@@ -10270,11 +10270,11 @@ function Tr(e, t) {
|
|
|
10270
10270
|
function eL(e) {
|
|
10271
10271
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
10272
10272
|
}
|
|
10273
|
-
function
|
|
10273
|
+
function DP(e, t, n, r) {
|
|
10274
10274
|
var o = eL(r) ? r : n(r), i = t.get(o);
|
|
10275
10275
|
return typeof i > "u" && (i = e.call(this, r), t.set(o, i)), i;
|
|
10276
10276
|
}
|
|
10277
|
-
function
|
|
10277
|
+
function LP(e, t, n) {
|
|
10278
10278
|
var r = Array.prototype.slice.call(arguments, 3), o = n(r), i = t.get(o);
|
|
10279
10279
|
return typeof i > "u" && (i = e.apply(this, r), t.set(o, i)), i;
|
|
10280
10280
|
}
|
|
@@ -10282,14 +10282,14 @@ function jw(e, t, n, r, o) {
|
|
|
10282
10282
|
return n.bind(t, e, r, o);
|
|
10283
10283
|
}
|
|
10284
10284
|
function tL(e, t) {
|
|
10285
|
-
var n = e.length === 1 ?
|
|
10285
|
+
var n = e.length === 1 ? DP : LP;
|
|
10286
10286
|
return jw(e, this, n, t.cache.create(), t.serializer);
|
|
10287
10287
|
}
|
|
10288
10288
|
function nL(e, t) {
|
|
10289
|
-
return jw(e, this,
|
|
10289
|
+
return jw(e, this, LP, t.cache.create(), t.serializer);
|
|
10290
10290
|
}
|
|
10291
10291
|
function rL(e, t) {
|
|
10292
|
-
return jw(e, this,
|
|
10292
|
+
return jw(e, this, DP, t.cache.create(), t.serializer);
|
|
10293
10293
|
}
|
|
10294
10294
|
var oL = function() {
|
|
10295
10295
|
return JSON.stringify(arguments);
|
|
@@ -10311,7 +10311,7 @@ var iL = {
|
|
|
10311
10311
|
variadic: nL,
|
|
10312
10312
|
monadic: rL
|
|
10313
10313
|
};
|
|
10314
|
-
function
|
|
10314
|
+
function BP(e, t, n) {
|
|
10315
10315
|
if (n === void 0 && (n = Error), !e)
|
|
10316
10316
|
throw new n(t);
|
|
10317
10317
|
}
|
|
@@ -10368,34 +10368,34 @@ function HE(e) {
|
|
|
10368
10368
|
function sL(e) {
|
|
10369
10369
|
return e.type === cn.argument;
|
|
10370
10370
|
}
|
|
10371
|
-
function
|
|
10371
|
+
function FP(e) {
|
|
10372
10372
|
return e.type === cn.number;
|
|
10373
10373
|
}
|
|
10374
|
-
function
|
|
10374
|
+
function VP(e) {
|
|
10375
10375
|
return e.type === cn.date;
|
|
10376
10376
|
}
|
|
10377
|
-
function
|
|
10377
|
+
function UP(e) {
|
|
10378
10378
|
return e.type === cn.time;
|
|
10379
10379
|
}
|
|
10380
|
-
function
|
|
10380
|
+
function _P(e) {
|
|
10381
10381
|
return e.type === cn.select;
|
|
10382
10382
|
}
|
|
10383
|
-
function
|
|
10383
|
+
function WP(e) {
|
|
10384
10384
|
return e.type === cn.plural;
|
|
10385
10385
|
}
|
|
10386
10386
|
function aL(e) {
|
|
10387
10387
|
return e.type === cn.pound;
|
|
10388
10388
|
}
|
|
10389
|
-
function
|
|
10389
|
+
function HP(e) {
|
|
10390
10390
|
return e.type === cn.tag;
|
|
10391
10391
|
}
|
|
10392
|
-
function
|
|
10392
|
+
function GP(e) {
|
|
10393
10393
|
return !!(e && typeof e == "object" && e.type === Dc.number);
|
|
10394
10394
|
}
|
|
10395
10395
|
function s0(e) {
|
|
10396
10396
|
return !!(e && typeof e == "object" && e.type === Dc.dateTime);
|
|
10397
10397
|
}
|
|
10398
|
-
var
|
|
10398
|
+
var zP = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, lL = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
10399
10399
|
function cL(e) {
|
|
10400
10400
|
var t = {};
|
|
10401
10401
|
return e.replace(lL, function(n) {
|
|
@@ -10509,14 +10509,14 @@ function fL(e) {
|
|
|
10509
10509
|
function dL(e) {
|
|
10510
10510
|
return e.replace(/^(.*?)-/, "");
|
|
10511
10511
|
}
|
|
10512
|
-
var GE = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
10512
|
+
var GE = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qP = /^(@+)?(\+|#+)?[rs]?$/g, pL = /(\*)(0+)|(#+)(0+)|(0+)/g, YP = /^(0+)$/;
|
|
10513
10513
|
function zE(e) {
|
|
10514
10514
|
var t = {};
|
|
10515
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
10515
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qP, function(n, r, o) {
|
|
10516
10516
|
return typeof o != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : o === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof o == "string" ? o.length : 0)), "";
|
|
10517
10517
|
}), t;
|
|
10518
10518
|
}
|
|
10519
|
-
function
|
|
10519
|
+
function JP(e) {
|
|
10520
10520
|
switch (e) {
|
|
10521
10521
|
case "sign-auto":
|
|
10522
10522
|
return {
|
|
@@ -10564,14 +10564,14 @@ function hL(e) {
|
|
|
10564
10564
|
notation: "scientific"
|
|
10565
10565
|
}, e = e.slice(1)), t) {
|
|
10566
10566
|
var n = e.slice(0, 2);
|
|
10567
|
-
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
10567
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !YP.test(e))
|
|
10568
10568
|
throw new Error("Malformed concise eng/scientific notation");
|
|
10569
10569
|
t.minimumIntegerDigits = e.length;
|
|
10570
10570
|
}
|
|
10571
10571
|
return t;
|
|
10572
10572
|
}
|
|
10573
10573
|
function qE(e) {
|
|
10574
|
-
var t = {}, n =
|
|
10574
|
+
var t = {}, n = JP(e);
|
|
10575
10575
|
return n || t;
|
|
10576
10576
|
}
|
|
10577
10577
|
function mL(e) {
|
|
@@ -10673,7 +10673,7 @@ function mL(e) {
|
|
|
10673
10673
|
});
|
|
10674
10674
|
continue;
|
|
10675
10675
|
}
|
|
10676
|
-
if (
|
|
10676
|
+
if (YP.test(o.stem)) {
|
|
10677
10677
|
t.minimumIntegerDigits = o.stem.length;
|
|
10678
10678
|
continue;
|
|
10679
10679
|
}
|
|
@@ -10687,11 +10687,11 @@ function mL(e) {
|
|
|
10687
10687
|
i === "w" ? t = We(We({}, t), { trailingZeroDisplay: "stripIfInteger" }) : i && (t = We(We({}, t), zE(i)));
|
|
10688
10688
|
continue;
|
|
10689
10689
|
}
|
|
10690
|
-
if (
|
|
10690
|
+
if (qP.test(o.stem)) {
|
|
10691
10691
|
t = We(We({}, t), zE(o.stem));
|
|
10692
10692
|
continue;
|
|
10693
10693
|
}
|
|
10694
|
-
var s =
|
|
10694
|
+
var s = JP(o.stem);
|
|
10695
10695
|
s && (t = We(We({}, t), s));
|
|
10696
10696
|
var a = hL(o.stem);
|
|
10697
10697
|
a && (t = We(We({}, t), a));
|
|
@@ -12150,7 +12150,7 @@ function vL(e) {
|
|
|
12150
12150
|
var o = bp[r || ""] || bp[n || ""] || bp["".concat(n, "-001")] || bp["001"];
|
|
12151
12151
|
return o[0];
|
|
12152
12152
|
}
|
|
12153
|
-
var ey, yL = new RegExp("^".concat(
|
|
12153
|
+
var ey, yL = new RegExp("^".concat(zP.source, "*")), bL = new RegExp("".concat(zP.source, "*$"));
|
|
12154
12154
|
function Rt(e, t) {
|
|
12155
12155
|
return { start: e, end: t };
|
|
12156
12156
|
}
|
|
@@ -12158,7 +12158,7 @@ var wL = !!String.prototype.startsWith && "_a".startsWith("a", 1), SL = !!String
|
|
|
12158
12158
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
12159
12159
|
}, a0 = !0;
|
|
12160
12160
|
try {
|
|
12161
|
-
var RL =
|
|
12161
|
+
var RL = XP("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
12162
12162
|
a0 = ((ey = RL.exec("a")) === null || ey === void 0 ? void 0 : ey[0]) === "a";
|
|
12163
12163
|
} catch {
|
|
12164
12164
|
a0 = !1;
|
|
@@ -12197,7 +12197,7 @@ var YE = wL ? (
|
|
|
12197
12197
|
return n;
|
|
12198
12198
|
}
|
|
12199
12199
|
)
|
|
12200
|
-
),
|
|
12200
|
+
), KP = EL ? (
|
|
12201
12201
|
// Native
|
|
12202
12202
|
function(t, n) {
|
|
12203
12203
|
return t.codePointAt(n);
|
|
@@ -12232,12 +12232,12 @@ var YE = wL ? (
|
|
|
12232
12232
|
return t.replace(bL, "");
|
|
12233
12233
|
}
|
|
12234
12234
|
);
|
|
12235
|
-
function
|
|
12235
|
+
function XP(e, t) {
|
|
12236
12236
|
return new RegExp(e, t);
|
|
12237
12237
|
}
|
|
12238
12238
|
var c0;
|
|
12239
12239
|
if (a0) {
|
|
12240
|
-
var KE =
|
|
12240
|
+
var KE = XP("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
12241
12241
|
c0 = function(t, n) {
|
|
12242
12242
|
var r;
|
|
12243
12243
|
KE.lastIndex = n;
|
|
@@ -12247,8 +12247,8 @@ if (a0) {
|
|
|
12247
12247
|
} else
|
|
12248
12248
|
c0 = function(t, n) {
|
|
12249
12249
|
for (var r = []; ; ) {
|
|
12250
|
-
var o =
|
|
12251
|
-
if (o === void 0 ||
|
|
12250
|
+
var o = KP(t, n);
|
|
12251
|
+
if (o === void 0 || ZP(o) || ML(o))
|
|
12252
12252
|
break;
|
|
12253
12253
|
r.push(o), n += o >= 65536 ? 2 : 1;
|
|
12254
12254
|
}
|
|
@@ -12656,7 +12656,7 @@ var kL = (
|
|
|
12656
12656
|
var t = this.position.offset;
|
|
12657
12657
|
if (t >= this.message.length)
|
|
12658
12658
|
throw Error("out of bound");
|
|
12659
|
-
var n =
|
|
12659
|
+
var n = KP(this.message, t);
|
|
12660
12660
|
if (n === void 0)
|
|
12661
12661
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
12662
12662
|
return n;
|
|
@@ -12697,7 +12697,7 @@ var kL = (
|
|
|
12697
12697
|
break;
|
|
12698
12698
|
}
|
|
12699
12699
|
}, e.prototype.bumpSpace = function() {
|
|
12700
|
-
for (; !this.isEOF() &&
|
|
12700
|
+
for (; !this.isEOF() && ZP(this.char()); )
|
|
12701
12701
|
this.bump();
|
|
12702
12702
|
}, e.prototype.peek = function() {
|
|
12703
12703
|
if (this.isEOF())
|
|
@@ -12716,7 +12716,7 @@ function NL(e) {
|
|
|
12716
12716
|
function jL(e) {
|
|
12717
12717
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
12718
12718
|
}
|
|
12719
|
-
function
|
|
12719
|
+
function ZP(e) {
|
|
12720
12720
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
12721
12721
|
}
|
|
12722
12722
|
function ML(e) {
|
|
@@ -12724,10 +12724,10 @@ function ML(e) {
|
|
|
12724
12724
|
}
|
|
12725
12725
|
function f0(e) {
|
|
12726
12726
|
e.forEach(function(t) {
|
|
12727
|
-
if (delete t.location,
|
|
12727
|
+
if (delete t.location, _P(t) || WP(t))
|
|
12728
12728
|
for (var n in t.options)
|
|
12729
12729
|
delete t.options[n].location, f0(t.options[n].value);
|
|
12730
|
-
else
|
|
12730
|
+
else FP(t) && GP(t.style) || (VP(t) || UP(t)) && s0(t.style) ? delete t.style.location : HP(t) && f0(t.children);
|
|
12731
12731
|
});
|
|
12732
12732
|
}
|
|
12733
12733
|
function DL(e, t) {
|
|
@@ -12792,7 +12792,7 @@ function FL(e) {
|
|
|
12792
12792
|
return !r || r.type !== Cr.literal || n.type !== Cr.literal ? t.push(n) : r.value += n.value, t;
|
|
12793
12793
|
}, []);
|
|
12794
12794
|
}
|
|
12795
|
-
function
|
|
12795
|
+
function QP(e) {
|
|
12796
12796
|
return typeof e == "function";
|
|
12797
12797
|
}
|
|
12798
12798
|
function ch(e, t, n, r, o, i, s) {
|
|
@@ -12830,7 +12830,7 @@ function ch(e, t, n, r, o, i, s) {
|
|
|
12830
12830
|
});
|
|
12831
12831
|
continue;
|
|
12832
12832
|
}
|
|
12833
|
-
if (
|
|
12833
|
+
if (VP(c)) {
|
|
12834
12834
|
var m = typeof c.style == "string" ? r.date[c.style] : s0(c.style) ? c.style.parsedOptions : void 0;
|
|
12835
12835
|
a.push({
|
|
12836
12836
|
type: Cr.literal,
|
|
@@ -12838,7 +12838,7 @@ function ch(e, t, n, r, o, i, s) {
|
|
|
12838
12838
|
});
|
|
12839
12839
|
continue;
|
|
12840
12840
|
}
|
|
12841
|
-
if (
|
|
12841
|
+
if (UP(c)) {
|
|
12842
12842
|
var m = typeof c.style == "string" ? r.time[c.style] : s0(c.style) ? c.style.parsedOptions : r.time.medium;
|
|
12843
12843
|
a.push({
|
|
12844
12844
|
type: Cr.literal,
|
|
@@ -12846,17 +12846,17 @@ function ch(e, t, n, r, o, i, s) {
|
|
|
12846
12846
|
});
|
|
12847
12847
|
continue;
|
|
12848
12848
|
}
|
|
12849
|
-
if (
|
|
12850
|
-
var m = typeof c.style == "string" ? r.number[c.style] :
|
|
12849
|
+
if (FP(c)) {
|
|
12850
|
+
var m = typeof c.style == "string" ? r.number[c.style] : GP(c.style) ? c.style.parsedOptions : void 0;
|
|
12851
12851
|
m && m.scale && (d = d * (m.scale || 1)), a.push({
|
|
12852
12852
|
type: Cr.literal,
|
|
12853
12853
|
value: n.getNumberFormat(t, m).format(d)
|
|
12854
12854
|
});
|
|
12855
12855
|
continue;
|
|
12856
12856
|
}
|
|
12857
|
-
if (
|
|
12857
|
+
if (HP(c)) {
|
|
12858
12858
|
var g = c.children, v = c.value, y = o[v];
|
|
12859
|
-
if (!
|
|
12859
|
+
if (!QP(y))
|
|
12860
12860
|
throw new LL(v, "function", s);
|
|
12861
12861
|
var S = ch(g, t, n, r, o, i), O = y(S.map(function(E) {
|
|
12862
12862
|
return E.value;
|
|
@@ -12868,14 +12868,14 @@ function ch(e, t, n, r, o, i, s) {
|
|
|
12868
12868
|
};
|
|
12869
12869
|
}));
|
|
12870
12870
|
}
|
|
12871
|
-
if (
|
|
12871
|
+
if (_P(c)) {
|
|
12872
12872
|
var b = c.options[d] || c.options.other;
|
|
12873
12873
|
if (!b)
|
|
12874
12874
|
throw new XE(c.value, d, Object.keys(c.options), s);
|
|
12875
12875
|
a.push.apply(a, ch(b.value, t, n, r, o));
|
|
12876
12876
|
continue;
|
|
12877
12877
|
}
|
|
12878
|
-
if (
|
|
12878
|
+
if (WP(c)) {
|
|
12879
12879
|
var b = c.options["=".concat(d)];
|
|
12880
12880
|
if (!b) {
|
|
12881
12881
|
if (!Intl.PluralRules)
|
|
@@ -12949,7 +12949,7 @@ function _L(e) {
|
|
|
12949
12949
|
})
|
|
12950
12950
|
};
|
|
12951
12951
|
}
|
|
12952
|
-
var $
|
|
12952
|
+
var $P = (
|
|
12953
12953
|
/** @class */
|
|
12954
12954
|
function() {
|
|
12955
12955
|
function e(t, n, r, o) {
|
|
@@ -13153,7 +13153,7 @@ var zL = function(e) {
|
|
|
13153
13153
|
k.env.NODE_ENV !== "production" && console.error(e);
|
|
13154
13154
|
}, qL = function(e) {
|
|
13155
13155
|
k.env.NODE_ENV !== "production" && console.warn(e);
|
|
13156
|
-
},
|
|
13156
|
+
}, e3 = {
|
|
13157
13157
|
formats: {},
|
|
13158
13158
|
messages: {},
|
|
13159
13159
|
timeZone: void 0,
|
|
@@ -13163,7 +13163,7 @@ var zL = function(e) {
|
|
|
13163
13163
|
onError: zL,
|
|
13164
13164
|
onWarn: qL
|
|
13165
13165
|
};
|
|
13166
|
-
function
|
|
13166
|
+
function t3() {
|
|
13167
13167
|
return {
|
|
13168
13168
|
dateTime: {},
|
|
13169
13169
|
number: {},
|
|
@@ -13189,7 +13189,7 @@ function Ea(e) {
|
|
|
13189
13189
|
};
|
|
13190
13190
|
}
|
|
13191
13191
|
function YL(e) {
|
|
13192
|
-
e === void 0 && (e =
|
|
13192
|
+
e === void 0 && (e = t3());
|
|
13193
13193
|
var t = Intl.RelativeTimeFormat, n = Intl.ListFormat, r = Intl.DisplayNames, o = Tr(function() {
|
|
13194
13194
|
for (var a, l = [], u = 0; u < arguments.length; u++)
|
|
13195
13195
|
l[u] = arguments[u];
|
|
@@ -13216,7 +13216,7 @@ function YL(e) {
|
|
|
13216
13216
|
getDateTimeFormat: o,
|
|
13217
13217
|
getNumberFormat: i,
|
|
13218
13218
|
getMessageFormat: Tr(function(a, l, u, c) {
|
|
13219
|
-
return new $
|
|
13219
|
+
return new $P(a, l, u, We({ formatters: {
|
|
13220
13220
|
getNumberFormat: i,
|
|
13221
13221
|
getDateTimeFormat: o,
|
|
13222
13222
|
getPluralRules: s
|
|
@@ -13272,14 +13272,14 @@ function QE(e, t) {
|
|
|
13272
13272
|
function $E(e, t) {
|
|
13273
13273
|
if (!t)
|
|
13274
13274
|
return e;
|
|
13275
|
-
var n = $
|
|
13275
|
+
var n = $P.formats;
|
|
13276
13276
|
return We(We(We({}, n), e), { date: QE(wp(n.date, t), wp(e.date || {}, t)), time: QE(wp(n.time, t), wp(e.time || {}, t)) });
|
|
13277
13277
|
}
|
|
13278
13278
|
var d0 = function(e, t, n, r, o) {
|
|
13279
13279
|
var i = e.locale, s = e.formats, a = e.messages, l = e.defaultLocale, u = e.defaultFormats, c = e.fallbackOnEmptyString, p = e.onError, d = e.timeZone, m = e.defaultRichTextElements;
|
|
13280
13280
|
n === void 0 && (n = { id: "" });
|
|
13281
13281
|
var g = n.id, v = n.defaultMessage;
|
|
13282
|
-
|
|
13282
|
+
BP(!!g, "[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");
|
|
13283
13283
|
var y = String(g), S = (
|
|
13284
13284
|
// In case messages is Object.create(null)
|
|
13285
13285
|
// e.g import('foo.json') from webpack)
|
|
@@ -13316,7 +13316,7 @@ var d0 = function(e, t, n, r, o) {
|
|
|
13316
13316
|
p(new ny('Error formatting the default message for: "'.concat(y, '", rendering message verbatim'), i, n, b));
|
|
13317
13317
|
}
|
|
13318
13318
|
return typeof S == "string" ? S : typeof v == "string" ? v : y;
|
|
13319
|
-
},
|
|
13319
|
+
}, n3 = [
|
|
13320
13320
|
"formatMatcher",
|
|
13321
13321
|
"timeZone",
|
|
13322
13322
|
"hour12",
|
|
@@ -13340,7 +13340,7 @@ var d0 = function(e, t, n, r, o) {
|
|
|
13340
13340
|
function qg(e, t, n, r) {
|
|
13341
13341
|
var o = e.locale, i = e.formats, s = e.onError, a = e.timeZone;
|
|
13342
13342
|
r === void 0 && (r = {});
|
|
13343
|
-
var l = r.format, u = We(We({}, a && { timeZone: a }), l && Dw(i, t, l, s)), c = Al(r,
|
|
13343
|
+
var l = r.format, u = We(We({}, a && { timeZone: a }), l && Dw(i, t, l, s)), c = Al(r, n3, u);
|
|
13344
13344
|
return t === "time" && !c.hour && !c.minute && !c.second && !c.timeStyle && !c.dateStyle && (c = We(We({}, c), { hour: "numeric", minute: "numeric" })), n(o, c);
|
|
13345
13345
|
}
|
|
13346
13346
|
function JL(e, t) {
|
|
@@ -13368,7 +13368,7 @@ function KL(e, t) {
|
|
|
13368
13368
|
function XL(e, t) {
|
|
13369
13369
|
for (var n = [], r = 2; r < arguments.length; r++)
|
|
13370
13370
|
n[r - 2] = arguments[r];
|
|
13371
|
-
var o = n[0], i = n[1], s = n[2], a = s === void 0 ? {} : s, l = e.timeZone, u = e.locale, c = e.onError, p = Al(a,
|
|
13371
|
+
var o = n[0], i = n[1], s = n[2], a = s === void 0 ? {} : s, l = e.timeZone, u = e.locale, c = e.onError, p = Al(a, n3, l ? { timeZone: l } : {});
|
|
13372
13372
|
try {
|
|
13373
13373
|
return t(u, p).formatRange(o, i);
|
|
13374
13374
|
} catch (d) {
|
|
@@ -13425,13 +13425,13 @@ function nB(e) {
|
|
|
13425
13425
|
}
|
|
13426
13426
|
function rB(e, t, n, r) {
|
|
13427
13427
|
r === void 0 && (r = {});
|
|
13428
|
-
var o =
|
|
13428
|
+
var o = r3(e, t, n, r).reduce(function(i, s) {
|
|
13429
13429
|
var a = s.value;
|
|
13430
13430
|
return typeof a != "string" ? i.push(a) : typeof i[i.length - 1] == "string" ? i[i.length - 1] += a : i.push(a), i;
|
|
13431
13431
|
}, []);
|
|
13432
13432
|
return o.length === 1 ? o[0] : o.length === 0 ? "" : o;
|
|
13433
13433
|
}
|
|
13434
|
-
function
|
|
13434
|
+
function r3(e, t, n, r) {
|
|
13435
13435
|
var o = e.locale, i = e.onError;
|
|
13436
13436
|
r === void 0 && (r = {});
|
|
13437
13437
|
var s = Intl.ListFormat;
|
|
@@ -13515,7 +13515,7 @@ var cB = [
|
|
|
13515
13515
|
"roundingIncrement",
|
|
13516
13516
|
"roundingMode"
|
|
13517
13517
|
];
|
|
13518
|
-
function
|
|
13518
|
+
function o3(e, t, n) {
|
|
13519
13519
|
var r = e.locale, o = e.formats, i = e.onError;
|
|
13520
13520
|
n === void 0 && (n = {});
|
|
13521
13521
|
var s = n.format, a = s && Dw(o, "number", s, i) || {}, l = Al(n, cB, a);
|
|
@@ -13524,7 +13524,7 @@ function oP(e, t, n) {
|
|
|
13524
13524
|
function uB(e, t, n, r) {
|
|
13525
13525
|
r === void 0 && (r = {});
|
|
13526
13526
|
try {
|
|
13527
|
-
return
|
|
13527
|
+
return o3(e, t, r).format(n);
|
|
13528
13528
|
} catch (o) {
|
|
13529
13529
|
e.onError(new zo("Error formatting number.", e.locale, o));
|
|
13530
13530
|
}
|
|
@@ -13533,7 +13533,7 @@ function uB(e, t, n, r) {
|
|
|
13533
13533
|
function fB(e, t, n, r) {
|
|
13534
13534
|
r === void 0 && (r = {});
|
|
13535
13535
|
try {
|
|
13536
|
-
return
|
|
13536
|
+
return o3(e, t, r).formatToParts(n);
|
|
13537
13537
|
} catch (o) {
|
|
13538
13538
|
e.onError(new zo("Error formatting number.", e.locale, o));
|
|
13539
13539
|
}
|
|
@@ -13549,7 +13549,7 @@ Please consider using "@formatjs/cli" to pre-compile your messages for performan
|
|
|
13549
13549
|
For more details see https://formatjs.io/docs/getting-started/message-distribution`);
|
|
13550
13550
|
}
|
|
13551
13551
|
function hB(e, t) {
|
|
13552
|
-
var n = YL(t), r = We(We({},
|
|
13552
|
+
var n = YL(t), r = We(We({}, e3), e), o = r.locale, i = r.defaultLocale, s = r.onError;
|
|
13553
13553
|
return o ? !Intl.NumberFormat.supportedLocalesOf(o).length && s ? s(new ZE('Missing locale data for locale: "'.concat(o, '" in Intl.NumberFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(o).length && s && s(new ZE('Missing locale data for locale: "'.concat(o, '" in Intl.DateTimeFormat. Using default locale: "').concat(i, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (s && s(new HL('"locale" was not configured, using "'.concat(i, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), r.locale = r.defaultLocale || "en"), pB(r), We(We({}, r), {
|
|
13554
13554
|
formatters: n,
|
|
13555
13555
|
formatNumber: uB.bind(null, r, n.getNumberFormat),
|
|
@@ -13566,14 +13566,14 @@ function hB(e, t) {
|
|
|
13566
13566
|
// @ts-expect-error TODO: will get to this later
|
|
13567
13567
|
$t: d0.bind(null, r, n),
|
|
13568
13568
|
formatList: rB.bind(null, r, n.getListFormat),
|
|
13569
|
-
formatListToParts:
|
|
13569
|
+
formatListToParts: r3.bind(null, r, n.getListFormat),
|
|
13570
13570
|
formatDisplayName: eB.bind(null, r, n.getDisplayNames)
|
|
13571
13571
|
});
|
|
13572
13572
|
}
|
|
13573
|
-
function
|
|
13574
|
-
|
|
13573
|
+
function i3(e) {
|
|
13574
|
+
BP(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
|
|
13575
13575
|
}
|
|
13576
|
-
var
|
|
13576
|
+
var s3 = We(We({}, e3), { textComponent: L.Fragment });
|
|
13577
13577
|
function mB(e) {
|
|
13578
13578
|
return function(t) {
|
|
13579
13579
|
return e(L.Children.toArray(t));
|
|
@@ -13594,7 +13594,7 @@ function p0(e, t) {
|
|
|
13594
13594
|
}
|
|
13595
13595
|
return !0;
|
|
13596
13596
|
}
|
|
13597
|
-
var
|
|
13597
|
+
var a3 = md, gB = {
|
|
13598
13598
|
$$typeof: !0,
|
|
13599
13599
|
render: !0,
|
|
13600
13600
|
defaultProps: !0,
|
|
@@ -13607,15 +13607,15 @@ var aP = md, gB = {
|
|
|
13607
13607
|
displayName: !0,
|
|
13608
13608
|
propTypes: !0,
|
|
13609
13609
|
type: !0
|
|
13610
|
-
},
|
|
13611
|
-
|
|
13612
|
-
|
|
13610
|
+
}, l3 = {};
|
|
13611
|
+
l3[a3.ForwardRef] = gB;
|
|
13612
|
+
l3[a3.Memo] = vB;
|
|
13613
13613
|
var Lw = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = L.createContext(null)) : L.createContext(null);
|
|
13614
13614
|
Lw.Consumer;
|
|
13615
13615
|
var yB = Lw.Provider, bB = yB, wB = Lw;
|
|
13616
13616
|
function _n() {
|
|
13617
13617
|
var e = L.useContext(wB);
|
|
13618
|
-
return
|
|
13618
|
+
return i3(e), e;
|
|
13619
13619
|
}
|
|
13620
13620
|
var h0;
|
|
13621
13621
|
(function(e) {
|
|
@@ -13625,7 +13625,7 @@ var m0;
|
|
|
13625
13625
|
(function(e) {
|
|
13626
13626
|
e.formatDate = "FormattedDateParts", e.formatTime = "FormattedTimeParts", e.formatNumber = "FormattedNumberParts", e.formatList = "FormattedListParts";
|
|
13627
13627
|
})(m0 || (m0 = {}));
|
|
13628
|
-
function
|
|
13628
|
+
function c3(e) {
|
|
13629
13629
|
var t = function(n) {
|
|
13630
13630
|
var r = _n(), o = n.value, i = n.children, s = Mc(n, ["value", "children"]), a = typeof o == "string" ? new Date(o || 0) : o, l = e === "formatDate" ? r.formatDateToParts(a, s) : r.formatTimeToParts(a, s);
|
|
13631
13631
|
return i(l);
|
|
@@ -13645,16 +13645,16 @@ function Nd(e) {
|
|
|
13645
13645
|
};
|
|
13646
13646
|
return t.displayName = h0[e], t;
|
|
13647
13647
|
}
|
|
13648
|
-
function
|
|
13648
|
+
function u3(e) {
|
|
13649
13649
|
return e && Object.keys(e).reduce(function(t, n) {
|
|
13650
13650
|
var r = e[n];
|
|
13651
|
-
return t[n] =
|
|
13651
|
+
return t[n] = QP(r) ? mB(r) : r, t;
|
|
13652
13652
|
}, {});
|
|
13653
13653
|
}
|
|
13654
13654
|
var t2 = function(e, t, n, r) {
|
|
13655
13655
|
for (var o = [], i = 4; i < arguments.length; i++)
|
|
13656
13656
|
o[i - 4] = arguments[i];
|
|
13657
|
-
var s =
|
|
13657
|
+
var s = u3(r), a = d0.apply(void 0, Rr([
|
|
13658
13658
|
e,
|
|
13659
13659
|
t,
|
|
13660
13660
|
n,
|
|
@@ -13662,7 +13662,7 @@ var t2 = function(e, t, n, r) {
|
|
|
13662
13662
|
], o, !1));
|
|
13663
13663
|
return Array.isArray(a) ? L.Children.toArray(a) : a;
|
|
13664
13664
|
}, n2 = function(e, t) {
|
|
13665
|
-
var n = e.defaultRichTextElements, r = Mc(e, ["defaultRichTextElements"]), o =
|
|
13665
|
+
var n = e.defaultRichTextElements, r = Mc(e, ["defaultRichTextElements"]), o = u3(n), i = hB(We(We(We({}, s3), r), { defaultRichTextElements: o }), t), s = {
|
|
13666
13666
|
locale: i.locale,
|
|
13667
13667
|
timeZone: i.timeZone,
|
|
13668
13668
|
fallbackOnEmptyString: i.fallbackOnEmptyString,
|
|
@@ -13706,7 +13706,7 @@ var SB = (
|
|
|
13706
13706
|
Go(t, e);
|
|
13707
13707
|
function t() {
|
|
13708
13708
|
var n = e !== null && e.apply(this, arguments) || this;
|
|
13709
|
-
return n.cache =
|
|
13709
|
+
return n.cache = t3(), n.state = {
|
|
13710
13710
|
cache: n.cache,
|
|
13711
13711
|
intl: n2(ry(n.props), n.cache),
|
|
13712
13712
|
prevConfig: ry(n.props)
|
|
@@ -13719,30 +13719,30 @@ var SB = (
|
|
|
13719
13719
|
prevConfig: s
|
|
13720
13720
|
};
|
|
13721
13721
|
}, t.prototype.render = function() {
|
|
13722
|
-
return
|
|
13723
|
-
}, t.displayName = "IntlProvider", t.defaultProps =
|
|
13722
|
+
return i3(this.state.intl), L.createElement(bB, { value: this.state.intl }, this.props.children);
|
|
13723
|
+
}, t.displayName = "IntlProvider", t.defaultProps = s3, t;
|
|
13724
13724
|
}(L.PureComponent)
|
|
13725
13725
|
);
|
|
13726
13726
|
function xB(e, t) {
|
|
13727
13727
|
var n = e.values, r = Mc(e, ["values"]), o = t.values, i = Mc(t, ["values"]);
|
|
13728
13728
|
return p0(o, n) && p0(r, i);
|
|
13729
13729
|
}
|
|
13730
|
-
function
|
|
13730
|
+
function f3(e) {
|
|
13731
13731
|
var t = _n(), n = t.formatMessage, r = t.textComponent, o = r === void 0 ? L.Fragment : r, i = e.id, s = e.description, a = e.defaultMessage, l = e.values, u = e.children, c = e.tagName, p = c === void 0 ? o : c, d = e.ignoreTag, m = { id: i, description: s, defaultMessage: a }, g = n(m, l, {
|
|
13732
13732
|
ignoreTag: d
|
|
13733
13733
|
});
|
|
13734
13734
|
return typeof u == "function" ? u(Array.isArray(g) ? g : [g]) : p ? L.createElement(p, null, L.Children.toArray(g)) : L.createElement(L.Fragment, null, g);
|
|
13735
13735
|
}
|
|
13736
|
-
|
|
13737
|
-
var Ce = L.memo(
|
|
13736
|
+
f3.displayName = "FormattedMessage";
|
|
13737
|
+
var Ce = L.memo(f3, xB);
|
|
13738
13738
|
Ce.displayName = "MemoizedFormattedMessage";
|
|
13739
13739
|
Nd("formatDate");
|
|
13740
13740
|
Nd("formatTime");
|
|
13741
13741
|
Nd("formatNumber");
|
|
13742
13742
|
Nd("formatList");
|
|
13743
13743
|
Nd("formatDisplayName");
|
|
13744
|
-
|
|
13745
|
-
|
|
13744
|
+
c3("formatDate");
|
|
13745
|
+
c3("formatTime");
|
|
13746
13746
|
function EB(e) {
|
|
13747
13747
|
return e && e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e);
|
|
13748
13748
|
}
|
|
@@ -13773,7 +13773,7 @@ bc && typeof bc.ownKeys == "function" ? uh = bc.ownKeys : Object.getOwnPropertyS
|
|
|
13773
13773
|
function TB(e) {
|
|
13774
13774
|
console && console.warn && console.warn(e);
|
|
13775
13775
|
}
|
|
13776
|
-
var
|
|
13776
|
+
var d3 = Number.isNaN || function(t) {
|
|
13777
13777
|
return t !== t;
|
|
13778
13778
|
};
|
|
13779
13779
|
function Zt() {
|
|
@@ -13796,7 +13796,7 @@ Object.defineProperty(Zt, "defaultMaxListeners", {
|
|
|
13796
13796
|
return o2;
|
|
13797
13797
|
},
|
|
13798
13798
|
set: function(e) {
|
|
13799
|
-
if (typeof e != "number" || e < 0 ||
|
|
13799
|
+
if (typeof e != "number" || e < 0 || d3(e))
|
|
13800
13800
|
throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
|
|
13801
13801
|
o2 = e;
|
|
13802
13802
|
}
|
|
@@ -13805,15 +13805,15 @@ Zt.init = function() {
|
|
|
13805
13805
|
(this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
|
|
13806
13806
|
};
|
|
13807
13807
|
Zt.prototype.setMaxListeners = function(t) {
|
|
13808
|
-
if (typeof t != "number" || t < 0 ||
|
|
13808
|
+
if (typeof t != "number" || t < 0 || d3(t))
|
|
13809
13809
|
throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + t + ".");
|
|
13810
13810
|
return this._maxListeners = t, this;
|
|
13811
13811
|
};
|
|
13812
|
-
function
|
|
13812
|
+
function p3(e) {
|
|
13813
13813
|
return e._maxListeners === void 0 ? Zt.defaultMaxListeners : e._maxListeners;
|
|
13814
13814
|
}
|
|
13815
13815
|
Zt.prototype.getMaxListeners = function() {
|
|
13816
|
-
return
|
|
13816
|
+
return p3(this);
|
|
13817
13817
|
};
|
|
13818
13818
|
Zt.prototype.emit = function(t) {
|
|
13819
13819
|
for (var n = [], r = 1; r < arguments.length; r++) n.push(arguments[r]);
|
|
@@ -13835,11 +13835,11 @@ Zt.prototype.emit = function(t) {
|
|
|
13835
13835
|
if (typeof l == "function")
|
|
13836
13836
|
r2(l, this, n);
|
|
13837
13837
|
else
|
|
13838
|
-
for (var u = l.length, c =
|
|
13838
|
+
for (var u = l.length, c = y3(l, u), r = 0; r < u; ++r)
|
|
13839
13839
|
r2(c[r], this, n);
|
|
13840
13840
|
return !0;
|
|
13841
13841
|
};
|
|
13842
|
-
function
|
|
13842
|
+
function h3(e, t, n, r) {
|
|
13843
13843
|
var o, i, s;
|
|
13844
13844
|
if (Yg(n), i = e._events, i === void 0 ? (i = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (i.newListener !== void 0 && (e.emit(
|
|
13845
13845
|
"newListener",
|
|
@@ -13847,7 +13847,7 @@ function hP(e, t, n, r) {
|
|
|
13847
13847
|
n.listener ? n.listener : n
|
|
13848
13848
|
), i = e._events), s = i[t]), s === void 0)
|
|
13849
13849
|
s = i[t] = n, ++e._eventsCount;
|
|
13850
|
-
else if (typeof s == "function" ? s = i[t] = r ? [n, s] : [s, n] : r ? s.unshift(n) : s.push(n), o =
|
|
13850
|
+
else if (typeof s == "function" ? s = i[t] = r ? [n, s] : [s, n] : r ? s.unshift(n) : s.push(n), o = p3(e), o > 0 && s.length > o && !s.warned) {
|
|
13851
13851
|
s.warned = !0;
|
|
13852
13852
|
var a = new Error("Possible EventEmitter memory leak detected. " + s.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
|
|
13853
13853
|
a.name = "MaxListenersExceededWarning", a.emitter = e, a.type = t, a.count = s.length, TB(a);
|
|
@@ -13855,25 +13855,25 @@ function hP(e, t, n, r) {
|
|
|
13855
13855
|
return e;
|
|
13856
13856
|
}
|
|
13857
13857
|
Zt.prototype.addListener = function(t, n) {
|
|
13858
|
-
return
|
|
13858
|
+
return h3(this, t, n, !1);
|
|
13859
13859
|
};
|
|
13860
13860
|
Zt.prototype.on = Zt.prototype.addListener;
|
|
13861
13861
|
Zt.prototype.prependListener = function(t, n) {
|
|
13862
|
-
return
|
|
13862
|
+
return h3(this, t, n, !0);
|
|
13863
13863
|
};
|
|
13864
13864
|
function AB() {
|
|
13865
13865
|
if (!this.fired)
|
|
13866
13866
|
return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
|
|
13867
13867
|
}
|
|
13868
|
-
function
|
|
13868
|
+
function m3(e, t, n) {
|
|
13869
13869
|
var r = { fired: !1, wrapFn: void 0, target: e, type: t, listener: n }, o = AB.bind(r);
|
|
13870
13870
|
return o.listener = n, r.wrapFn = o, o;
|
|
13871
13871
|
}
|
|
13872
13872
|
Zt.prototype.once = function(t, n) {
|
|
13873
|
-
return Yg(n), this.on(t,
|
|
13873
|
+
return Yg(n), this.on(t, m3(this, t, n)), this;
|
|
13874
13874
|
};
|
|
13875
13875
|
Zt.prototype.prependOnceListener = function(t, n) {
|
|
13876
|
-
return Yg(n), this.prependListener(t,
|
|
13876
|
+
return Yg(n), this.prependListener(t, m3(this, t, n)), this;
|
|
13877
13877
|
};
|
|
13878
13878
|
Zt.prototype.removeListener = function(t, n) {
|
|
13879
13879
|
var r, o, i, s, a;
|
|
@@ -13915,24 +13915,24 @@ Zt.prototype.removeAllListeners = function(t) {
|
|
|
13915
13915
|
this.removeListener(t, n[o]);
|
|
13916
13916
|
return this;
|
|
13917
13917
|
};
|
|
13918
|
-
function
|
|
13918
|
+
function g3(e, t, n) {
|
|
13919
13919
|
var r = e._events;
|
|
13920
13920
|
if (r === void 0)
|
|
13921
13921
|
return [];
|
|
13922
13922
|
var o = r[t];
|
|
13923
|
-
return o === void 0 ? [] : typeof o == "function" ? n ? [o.listener || o] : [o] : n ? PB(o) :
|
|
13923
|
+
return o === void 0 ? [] : typeof o == "function" ? n ? [o.listener || o] : [o] : n ? PB(o) : y3(o, o.length);
|
|
13924
13924
|
}
|
|
13925
13925
|
Zt.prototype.listeners = function(t) {
|
|
13926
|
-
return
|
|
13926
|
+
return g3(this, t, !0);
|
|
13927
13927
|
};
|
|
13928
13928
|
Zt.prototype.rawListeners = function(t) {
|
|
13929
|
-
return
|
|
13929
|
+
return g3(this, t, !1);
|
|
13930
13930
|
};
|
|
13931
13931
|
Zt.listenerCount = function(e, t) {
|
|
13932
|
-
return typeof e.listenerCount == "function" ? e.listenerCount(t) :
|
|
13932
|
+
return typeof e.listenerCount == "function" ? e.listenerCount(t) : v3.call(e, t);
|
|
13933
13933
|
};
|
|
13934
|
-
Zt.prototype.listenerCount =
|
|
13935
|
-
function
|
|
13934
|
+
Zt.prototype.listenerCount = v3;
|
|
13935
|
+
function v3(e) {
|
|
13936
13936
|
var t = this._events;
|
|
13937
13937
|
if (t !== void 0) {
|
|
13938
13938
|
var n = t[e];
|
|
@@ -13946,7 +13946,7 @@ function vP(e) {
|
|
|
13946
13946
|
Zt.prototype.eventNames = function() {
|
|
13947
13947
|
return this._eventsCount > 0 ? uh(this._events) : [];
|
|
13948
13948
|
};
|
|
13949
|
-
function
|
|
13949
|
+
function y3(e, t) {
|
|
13950
13950
|
for (var n = new Array(t), r = 0; r < t; ++r)
|
|
13951
13951
|
n[r] = e[r];
|
|
13952
13952
|
return n;
|
|
@@ -13969,13 +13969,13 @@ function IB(e, t) {
|
|
|
13969
13969
|
function i() {
|
|
13970
13970
|
typeof e.removeListener == "function" && e.removeListener("error", o), n([].slice.call(arguments));
|
|
13971
13971
|
}
|
|
13972
|
-
|
|
13972
|
+
b3(e, t, i, { once: !0 }), t !== "error" && kB(e, o, { once: !0 });
|
|
13973
13973
|
});
|
|
13974
13974
|
}
|
|
13975
13975
|
function kB(e, t, n) {
|
|
13976
|
-
typeof e.on == "function" &&
|
|
13976
|
+
typeof e.on == "function" && b3(e, "error", t, n);
|
|
13977
13977
|
}
|
|
13978
|
-
function
|
|
13978
|
+
function b3(e, t, n, r) {
|
|
13979
13979
|
if (typeof e.on == "function")
|
|
13980
13980
|
r.once ? e.once(t, n) : e.on(t, n);
|
|
13981
13981
|
else if (typeof e.addEventListener == "function")
|
|
@@ -13991,7 +13991,7 @@ const Jn = new NB.EventEmitter(), g0 = (e, t) => {
|
|
|
13991
13991
|
Jn.off(e, t);
|
|
13992
13992
|
}), []);
|
|
13993
13993
|
};
|
|
13994
|
-
var jB = Object.defineProperty, MB = (e, t, n) => t in e ? jB(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Le = (e, t, n) => MB(e, typeof t != "symbol" ? t + "" : t, n),
|
|
13994
|
+
var jB = Object.defineProperty, MB = (e, t, n) => t in e ? jB(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Le = (e, t, n) => MB(e, typeof t != "symbol" ? t + "" : t, n), w3, i2, s2, a2, l2, c2, u2, f2, d2, p2;
|
|
13995
13995
|
const DB = /* @__PURE__ */ new Map();
|
|
13996
13996
|
function LB(e, t, n) {
|
|
13997
13997
|
DB.set(e, {
|
|
@@ -14012,19 +14012,19 @@ var h2;
|
|
|
14012
14012
|
(function(e) {
|
|
14013
14013
|
e.Spawn = "spawn", e.Return = "return", e.Resume = "resume", e.ResumeError = "resumeError", e.Throw = "throw";
|
|
14014
14014
|
})(h2 || (h2 = {}));
|
|
14015
|
-
let
|
|
14015
|
+
let S3;
|
|
14016
14016
|
function Jg() {
|
|
14017
|
-
return
|
|
14017
|
+
return S3;
|
|
14018
14018
|
}
|
|
14019
14019
|
function m2(e) {
|
|
14020
|
-
|
|
14020
|
+
S3 = e;
|
|
14021
14021
|
}
|
|
14022
|
-
const
|
|
14022
|
+
const x3 = Symbol("modelAction");
|
|
14023
14023
|
function Fw(e) {
|
|
14024
|
-
return typeof e == "function" &&
|
|
14024
|
+
return typeof e == "function" && x3 in e;
|
|
14025
14025
|
}
|
|
14026
14026
|
const It = "$modelType", uo = "$modelId";
|
|
14027
|
-
function
|
|
14027
|
+
function E3(e) {
|
|
14028
14028
|
return e === It;
|
|
14029
14029
|
}
|
|
14030
14030
|
class Vw extends Error {
|
|
@@ -14041,7 +14041,7 @@ const BB = {
|
|
|
14041
14041
|
configurable: !1,
|
|
14042
14042
|
value: void 0
|
|
14043
14043
|
};
|
|
14044
|
-
function
|
|
14044
|
+
function C3(e, t, n, r = !0) {
|
|
14045
14045
|
r ? (Object.defineProperty(e, t, BB), e[t] = n) : Object.defineProperty(e, t, {
|
|
14046
14046
|
enumerable: !1,
|
|
14047
14047
|
writable: r,
|
|
@@ -14049,7 +14049,7 @@ function CP(e, t, n, r = !0) {
|
|
|
14049
14049
|
value: n
|
|
14050
14050
|
});
|
|
14051
14051
|
}
|
|
14052
|
-
function
|
|
14052
|
+
function O3(e, t, n) {
|
|
14053
14053
|
const r = Object.getOwnPropertyDescriptor(e, t);
|
|
14054
14054
|
r && (r.enumerable = n, r.get ? delete r.set : r.writable = !1, Object.defineProperty(e, t, r));
|
|
14055
14055
|
}
|
|
@@ -14088,7 +14088,7 @@ function uu(e, t) {
|
|
|
14088
14088
|
if (!Vo(e))
|
|
14089
14089
|
throw he(`${t} must be an object`);
|
|
14090
14090
|
}
|
|
14091
|
-
function
|
|
14091
|
+
function T3(e, t) {
|
|
14092
14092
|
if (typeof e != "function")
|
|
14093
14093
|
throw he(`${t} must be a function`);
|
|
14094
14094
|
}
|
|
@@ -14096,10 +14096,10 @@ function FB(e, t) {
|
|
|
14096
14096
|
if (!nr(e))
|
|
14097
14097
|
throw he(`${t} must be a primitive`);
|
|
14098
14098
|
}
|
|
14099
|
-
const
|
|
14100
|
-
function
|
|
14099
|
+
const A3 = Symbol("runAfterNew"), VB = Symbol("runBeforeOnInit");
|
|
14100
|
+
function R3(e, t, n) {
|
|
14101
14101
|
let r = e[t];
|
|
14102
|
-
(!r || !Object.prototype.hasOwnProperty.call(e, t)) && (r = r ? r.slice() : [],
|
|
14102
|
+
(!r || !Object.prototype.hasOwnProperty.call(e, t)) && (r = r ? r.slice() : [], C3(e, t, r)), r.push(n);
|
|
14103
14103
|
}
|
|
14104
14104
|
function Wh(e, t) {
|
|
14105
14105
|
const n = e[t];
|
|
@@ -14108,7 +14108,7 @@ function Wh(e, t) {
|
|
|
14108
14108
|
r(e);
|
|
14109
14109
|
}
|
|
14110
14110
|
const g2 = /* @__PURE__ */ new Set();
|
|
14111
|
-
function
|
|
14111
|
+
function P3(e, t, n) {
|
|
14112
14112
|
if (n) {
|
|
14113
14113
|
if (g2.has(n))
|
|
14114
14114
|
return;
|
|
@@ -14147,7 +14147,7 @@ function ai(e, t, n) {
|
|
|
14147
14147
|
let r = e.get(t);
|
|
14148
14148
|
return r === void 0 && (r = n(), e.set(t, r)), r;
|
|
14149
14149
|
}
|
|
14150
|
-
const v0 = /* @__PURE__ */ new WeakMap(),
|
|
14150
|
+
const v0 = /* @__PURE__ */ new WeakMap(), I3 = /* @__PURE__ */ new WeakMap();
|
|
14151
14151
|
function _B(e, t) {
|
|
14152
14152
|
return !e && !t ? !0 : !e || !t ? !1 : e.parent === t.parent && e.path === t.path;
|
|
14153
14153
|
}
|
|
@@ -14155,11 +14155,11 @@ function WB() {
|
|
|
14155
14155
|
return Ts("parentAtom");
|
|
14156
14156
|
}
|
|
14157
14157
|
function HB(e) {
|
|
14158
|
-
ai(
|
|
14158
|
+
ai(I3, e, WB).reportObserved();
|
|
14159
14159
|
}
|
|
14160
14160
|
function b2(e) {
|
|
14161
14161
|
var t;
|
|
14162
|
-
(t =
|
|
14162
|
+
(t = I3.get(e)) == null || t.reportChanged();
|
|
14163
14163
|
}
|
|
14164
14164
|
const fu = /* @__PURE__ */ new WeakMap();
|
|
14165
14165
|
function Lc(e) {
|
|
@@ -14197,12 +14197,12 @@ function zB(e) {
|
|
|
14197
14197
|
mf = t;
|
|
14198
14198
|
}
|
|
14199
14199
|
}
|
|
14200
|
-
const Bc = Symbol("modelMetadata"), dh = Symbol("modelUnwrappedClass"), b0 = Symbol("runAfterModelDecorator"),
|
|
14200
|
+
const Bc = Symbol("modelMetadata"), dh = Symbol("modelUnwrappedClass"), b0 = Symbol("runAfterModelDecorator"), k3 = Symbol("modelProperties");
|
|
14201
14201
|
function du(e) {
|
|
14202
|
-
return e[
|
|
14202
|
+
return e[k3];
|
|
14203
14203
|
}
|
|
14204
14204
|
function qB(e, t) {
|
|
14205
|
-
e[
|
|
14205
|
+
e[k3] = t;
|
|
14206
14206
|
}
|
|
14207
14207
|
const Kn = Symbol("noDefaultValue"), _w = {
|
|
14208
14208
|
_setter: !1,
|
|
@@ -14304,14 +14304,14 @@ function QB() {
|
|
|
14304
14304
|
const e = x2.toString(36) + "-" + ZB;
|
|
14305
14305
|
return x2++, e;
|
|
14306
14306
|
}
|
|
14307
|
-
let
|
|
14307
|
+
let N3 = {
|
|
14308
14308
|
modelAutoTypeChecking: wc.DevModeOnly,
|
|
14309
14309
|
modelIdGenerator: QB,
|
|
14310
14310
|
allowUndefinedArrayElements: !1,
|
|
14311
14311
|
showDuplicateModelNameWarnings: !0
|
|
14312
14312
|
};
|
|
14313
14313
|
function Ld() {
|
|
14314
|
-
return
|
|
14314
|
+
return N3;
|
|
14315
14315
|
}
|
|
14316
14316
|
function Bd() {
|
|
14317
14317
|
switch (Ld().modelAutoTypeChecking) {
|
|
@@ -14322,7 +14322,7 @@ function Bd() {
|
|
|
14322
14322
|
case wc.AlwaysOn:
|
|
14323
14323
|
return !0;
|
|
14324
14324
|
default:
|
|
14325
|
-
throw he(`invalid 'modelAutoTypeChecking' config value - ${
|
|
14325
|
+
throw he(`invalid 'modelAutoTypeChecking' config value - ${N3.modelAutoTypeChecking}`);
|
|
14326
14326
|
}
|
|
14327
14327
|
}
|
|
14328
14328
|
const E2 = /* @__PURE__ */ new WeakMap();
|
|
@@ -14336,7 +14336,7 @@ function pu(e) {
|
|
|
14336
14336
|
deepDirty: !0,
|
|
14337
14337
|
deepAtom: void 0,
|
|
14338
14338
|
// will be created when first observed
|
|
14339
|
-
extensionsData:
|
|
14339
|
+
extensionsData: L3()
|
|
14340
14340
|
}, E2.set(e, t)), t;
|
|
14341
14341
|
}
|
|
14342
14342
|
function Zg(e) {
|
|
@@ -14345,24 +14345,24 @@ function Zg(e) {
|
|
|
14345
14345
|
}
|
|
14346
14346
|
function $B(e) {
|
|
14347
14347
|
const t = pu(e);
|
|
14348
|
-
return t.deepDirty &&
|
|
14348
|
+
return t.deepDirty && j3(e), t.deepAtom || (t.deepAtom = Ts("deepChildrenAtom")), t.deepAtom.reportObserved(), t;
|
|
14349
14349
|
}
|
|
14350
14350
|
function C2(e, t) {
|
|
14351
14351
|
t.deep.add(e), Ww.forEach((n, r) => {
|
|
14352
14352
|
n.addNode(e, t.extensionsData.get(r));
|
|
14353
14353
|
});
|
|
14354
14354
|
}
|
|
14355
|
-
const
|
|
14355
|
+
const j3 = Fe((e) => {
|
|
14356
14356
|
var t;
|
|
14357
14357
|
const n = pu(e);
|
|
14358
14358
|
if (!n.deepDirty)
|
|
14359
14359
|
return n;
|
|
14360
|
-
n.deep = /* @__PURE__ */ new Set(), n.extensionsData =
|
|
14360
|
+
n.deep = /* @__PURE__ */ new Set(), n.extensionsData = L3();
|
|
14361
14361
|
const r = n.shallow.values();
|
|
14362
14362
|
let o = r.next();
|
|
14363
14363
|
for (; !o.done; ) {
|
|
14364
14364
|
C2(o.value, n);
|
|
14365
|
-
const s =
|
|
14365
|
+
const s = j3(o.value).deep.values();
|
|
14366
14366
|
let a = s.next();
|
|
14367
14367
|
for (; !a.done; )
|
|
14368
14368
|
C2(a.value, n), a = s.next();
|
|
@@ -14372,24 +14372,24 @@ const jP = Fe((e) => {
|
|
|
14372
14372
|
}), eF = Fe((e, t) => {
|
|
14373
14373
|
var n;
|
|
14374
14374
|
const r = pu(e);
|
|
14375
|
-
r.shallow.add(t), (n = r.shallowAtom) == null || n.reportChanged(),
|
|
14375
|
+
r.shallow.add(t), (n = r.shallowAtom) == null || n.reportChanged(), M3(e, r);
|
|
14376
14376
|
}), tF = Fe((e, t) => {
|
|
14377
14377
|
var n;
|
|
14378
14378
|
const r = pu(e);
|
|
14379
|
-
r.shallow.delete(t), (n = r.shallowAtom) == null || n.reportChanged(),
|
|
14379
|
+
r.shallow.delete(t), (n = r.shallowAtom) == null || n.reportChanged(), M3(e, r);
|
|
14380
14380
|
});
|
|
14381
|
-
function
|
|
14381
|
+
function M3(e, t) {
|
|
14382
14382
|
var n;
|
|
14383
14383
|
let r = e, o = t;
|
|
14384
14384
|
for (; r; )
|
|
14385
14385
|
o.deepDirty = !0, (n = o.deepAtom) == null || n.reportChanged(), r = pl(r, !1), r && (o = pu(r));
|
|
14386
14386
|
}
|
|
14387
14387
|
const Ww = /* @__PURE__ */ new Map();
|
|
14388
|
-
function
|
|
14388
|
+
function D3(e) {
|
|
14389
14389
|
const t = {};
|
|
14390
14390
|
return Ww.set(t, e), (n) => n.extensionsData.get(t);
|
|
14391
14391
|
}
|
|
14392
|
-
function
|
|
14392
|
+
function L3() {
|
|
14393
14393
|
const e = /* @__PURE__ */ new WeakMap();
|
|
14394
14394
|
return Ww.forEach((t, n) => {
|
|
14395
14395
|
e.set(n, t.initData());
|
|
@@ -14398,20 +14398,20 @@ function LP() {
|
|
|
14398
14398
|
function nF() {
|
|
14399
14399
|
return !!Jg();
|
|
14400
14400
|
}
|
|
14401
|
-
function
|
|
14401
|
+
function B3() {
|
|
14402
14402
|
if (!nF())
|
|
14403
14403
|
throw he("data changes must be performed inside model actions");
|
|
14404
14404
|
}
|
|
14405
14405
|
const S0 = [];
|
|
14406
|
-
function
|
|
14406
|
+
function F3() {
|
|
14407
14407
|
return !!Jg();
|
|
14408
14408
|
}
|
|
14409
14409
|
function rF(e) {
|
|
14410
|
-
|
|
14410
|
+
F3() ? S0.push(e) : e();
|
|
14411
14411
|
}
|
|
14412
14412
|
let oy = !1;
|
|
14413
14413
|
function oF() {
|
|
14414
|
-
if (!(
|
|
14414
|
+
if (!(F3() || oy)) {
|
|
14415
14415
|
oy = !0;
|
|
14416
14416
|
try {
|
|
14417
14417
|
for (; S0.length > 0; )
|
|
@@ -14441,8 +14441,8 @@ var Hf;
|
|
|
14441
14441
|
(function(e) {
|
|
14442
14442
|
e.ParentFirst = "parentFirst", e.ChildrenFirst = "childrenFirst";
|
|
14443
14443
|
})(Hf || (Hf = {}));
|
|
14444
|
-
function
|
|
14445
|
-
return On(e, "root"), n === Hf.ParentFirst ? sF(e, t) :
|
|
14444
|
+
function V3(e, t, n) {
|
|
14445
|
+
return On(e, "root"), n === Hf.ParentFirst ? sF(e, t) : U3(e, t);
|
|
14446
14446
|
}
|
|
14447
14447
|
function sF(e, t) {
|
|
14448
14448
|
const n = [e];
|
|
@@ -14459,11 +14459,11 @@ function sF(e, t) {
|
|
|
14459
14459
|
n[s--] = l.value, l = a.next();
|
|
14460
14460
|
}
|
|
14461
14461
|
}
|
|
14462
|
-
function
|
|
14462
|
+
function U3(e, t) {
|
|
14463
14463
|
const n = Zg(e).values();
|
|
14464
14464
|
let r = n.next();
|
|
14465
14465
|
for (; !r.done; ) {
|
|
14466
|
-
const i =
|
|
14466
|
+
const i = U3(r.value, t);
|
|
14467
14467
|
if (i !== void 0)
|
|
14468
14468
|
return i;
|
|
14469
14469
|
r = n.next();
|
|
@@ -14472,14 +14472,14 @@ function UP(e, t) {
|
|
|
14472
14472
|
if (o !== void 0)
|
|
14473
14473
|
return o;
|
|
14474
14474
|
}
|
|
14475
|
-
function
|
|
14475
|
+
function _3(e, t, n) {
|
|
14476
14476
|
let r = e.get(n);
|
|
14477
|
-
return r || (r = st(() => lF(n, t, (o) =>
|
|
14477
|
+
return r || (r = st(() => lF(n, t, (o) => _3(e, t, o))), e.set(n, r)), r.get();
|
|
14478
14478
|
}
|
|
14479
14479
|
function aF(e) {
|
|
14480
14480
|
const t = /* @__PURE__ */ new WeakMap();
|
|
14481
14481
|
return {
|
|
14482
|
-
walk: (n) =>
|
|
14482
|
+
walk: (n) => _3(t, e, n)
|
|
14483
14483
|
};
|
|
14484
14484
|
}
|
|
14485
14485
|
function lF(e, t, n) {
|
|
@@ -14503,9 +14503,9 @@ function lF(e, t, n) {
|
|
|
14503
14503
|
}
|
|
14504
14504
|
return o !== void 0 && (r || (r = /* @__PURE__ */ new Map()), r.set(o, e)), r;
|
|
14505
14505
|
}
|
|
14506
|
-
const x0 = /* @__PURE__ */ new WeakMap(), E0 = /* @__PURE__ */ new WeakSet(),
|
|
14506
|
+
const x0 = /* @__PURE__ */ new WeakMap(), E0 = /* @__PURE__ */ new WeakSet(), W3 = Fe("attachToRootStore", (e, t) => {
|
|
14507
14507
|
const n = [];
|
|
14508
|
-
|
|
14508
|
+
V3(t, (o) => {
|
|
14509
14509
|
E0.has(o) || (E0.add(o), o instanceof ei && o.onAttachedToRootStore && (P0(o, "onAttachedToRootStore", fl.OnAttachedToRootStore), n.push(o)));
|
|
14510
14510
|
}, Hf.ParentFirst);
|
|
14511
14511
|
const r = n.length;
|
|
@@ -14513,9 +14513,9 @@ const x0 = /* @__PURE__ */ new WeakMap(), E0 = /* @__PURE__ */ new WeakSet(), WP
|
|
|
14513
14513
|
const i = n[o], s = i.onAttachedToRootStore(e);
|
|
14514
14514
|
s && x0.set(i, s);
|
|
14515
14515
|
}
|
|
14516
|
-
}),
|
|
14516
|
+
}), H3 = Fe("detachFromRootStore", (e) => {
|
|
14517
14517
|
const t = [];
|
|
14518
|
-
|
|
14518
|
+
V3(e, (r) => {
|
|
14519
14519
|
if (!E0.delete(r))
|
|
14520
14520
|
return;
|
|
14521
14521
|
const o = x0.get(r);
|
|
@@ -14531,7 +14531,7 @@ const x0 = /* @__PURE__ */ new WeakMap(), E0 = /* @__PURE__ */ new WeakSet(), WP
|
|
|
14531
14531
|
const n = t.length;
|
|
14532
14532
|
for (let r = 0; r < n; r++)
|
|
14533
14533
|
t[r]();
|
|
14534
|
-
}),
|
|
14534
|
+
}), G3 = /* @__PURE__ */ new WeakMap();
|
|
14535
14535
|
function cF() {
|
|
14536
14536
|
return {
|
|
14537
14537
|
atom: void 0,
|
|
@@ -14539,7 +14539,7 @@ function cF() {
|
|
|
14539
14539
|
is: !1
|
|
14540
14540
|
};
|
|
14541
14541
|
}
|
|
14542
|
-
const Hw = (e) => ai(
|
|
14542
|
+
const Hw = (e) => ai(G3, e, cF), uF = Fe("registerRootStore", (e) => {
|
|
14543
14543
|
var t;
|
|
14544
14544
|
On(e, "node");
|
|
14545
14545
|
const n = Hw(e);
|
|
@@ -14547,22 +14547,22 @@ const Hw = (e) => ai(GP, e, cF), uF = Fe("registerRootStore", (e) => {
|
|
|
14547
14547
|
throw he("object already registered as root store");
|
|
14548
14548
|
if (!HV(e))
|
|
14549
14549
|
throw he("a root store must not have a parent");
|
|
14550
|
-
return n.is = !0,
|
|
14550
|
+
return n.is = !0, W3(e, e), (t = n.atom) == null || t.reportChanged(), e;
|
|
14551
14551
|
}), fF = Fe("unregisterRootStore", (e) => {
|
|
14552
14552
|
var t;
|
|
14553
|
-
if (!
|
|
14553
|
+
if (!z3(e))
|
|
14554
14554
|
throw he("not a root store");
|
|
14555
14555
|
const n = Hw(e);
|
|
14556
|
-
n.is = !1,
|
|
14556
|
+
n.is = !1, H3(e), (t = n.atom) == null || t.reportChanged();
|
|
14557
14557
|
});
|
|
14558
|
-
function
|
|
14558
|
+
function z3(e) {
|
|
14559
14559
|
On(e, "node");
|
|
14560
14560
|
const t = Hw(e);
|
|
14561
14561
|
return t.atom || (t.atom = Ts("rootStore")), t.atom.reportObserved(), t.is;
|
|
14562
14562
|
}
|
|
14563
14563
|
function iy(e) {
|
|
14564
14564
|
var t;
|
|
14565
|
-
return !!((t =
|
|
14565
|
+
return !!((t = G3.get(e)) != null && t.is);
|
|
14566
14566
|
}
|
|
14567
14567
|
class Uo {
|
|
14568
14568
|
/**
|
|
@@ -14650,13 +14650,13 @@ class Mr {
|
|
|
14650
14650
|
this._toSnapshotProcessorCache.delete(t);
|
|
14651
14651
|
}
|
|
14652
14652
|
}
|
|
14653
|
-
const
|
|
14653
|
+
const q3 = Symbol("lateTypeCheker");
|
|
14654
14654
|
function Ss(e, t) {
|
|
14655
14655
|
let n;
|
|
14656
14656
|
const r = function() {
|
|
14657
14657
|
return n || (n = e(), n);
|
|
14658
14658
|
};
|
|
14659
|
-
r[
|
|
14659
|
+
r[q3] = !0;
|
|
14660
14660
|
const o = qo(t);
|
|
14661
14661
|
return Object.defineProperty(r, "typeInfo", {
|
|
14662
14662
|
enumerable: !0,
|
|
@@ -14667,7 +14667,7 @@ function Ss(e, t) {
|
|
|
14667
14667
|
}), r;
|
|
14668
14668
|
}
|
|
14669
14669
|
function Gw(e) {
|
|
14670
|
-
return typeof e == "function" &&
|
|
14670
|
+
return typeof e == "function" && q3 in e;
|
|
14671
14671
|
}
|
|
14672
14672
|
class Yo {
|
|
14673
14673
|
constructor(t) {
|
|
@@ -14738,7 +14738,7 @@ function _r(e) {
|
|
|
14738
14738
|
return _a.set(e, !0), e;
|
|
14739
14739
|
}
|
|
14740
14740
|
const Sp = [];
|
|
14741
|
-
class
|
|
14741
|
+
class Y3 {
|
|
14742
14742
|
constructor() {
|
|
14743
14743
|
Le(this, "patches", Sp), Le(this, "invPatches", Sp);
|
|
14744
14744
|
}
|
|
@@ -14749,10 +14749,10 @@ class YP {
|
|
|
14749
14749
|
this.patches = t, this.invPatches = n;
|
|
14750
14750
|
}
|
|
14751
14751
|
emit(t) {
|
|
14752
|
-
|
|
14752
|
+
J3(t, this.patches, this.invPatches), this.reset();
|
|
14753
14753
|
}
|
|
14754
14754
|
}
|
|
14755
|
-
function
|
|
14755
|
+
function J3(e, t, n) {
|
|
14756
14756
|
(t.length > 0 || n.length > 0) && (wF(e, t, n), SF(e, t, n));
|
|
14757
14757
|
}
|
|
14758
14758
|
const bF = /* @__PURE__ */ new WeakMap(), O2 = [];
|
|
@@ -14871,7 +14871,7 @@ var Sc;
|
|
|
14871
14871
|
(function(e) {
|
|
14872
14872
|
e.DevModeOnly = "devModeOnly", e.On = "on", e.Off = "off";
|
|
14873
14873
|
})(Sc || (Sc = {}));
|
|
14874
|
-
const
|
|
14874
|
+
const K3 = "$frozen";
|
|
14875
14875
|
class Kw {
|
|
14876
14876
|
/**
|
|
14877
14877
|
* Creates an instance of Frozen.
|
|
@@ -14886,7 +14886,7 @@ class Kw {
|
|
|
14886
14886
|
r && hh(t), this.data = t, r && Object.freeze(this.data), Io(this, void 0);
|
|
14887
14887
|
}
|
|
14888
14888
|
}
|
|
14889
|
-
function
|
|
14889
|
+
function X3(e, t = Sc.DevModeOnly) {
|
|
14890
14890
|
return new Kw(e, t);
|
|
14891
14891
|
}
|
|
14892
14892
|
function hh(e) {
|
|
@@ -14915,10 +14915,10 @@ function hh(e) {
|
|
|
14915
14915
|
}
|
|
14916
14916
|
}
|
|
14917
14917
|
function Xw(e) {
|
|
14918
|
-
return Bi(e) &&
|
|
14918
|
+
return Bi(e) && K3 in e;
|
|
14919
14919
|
}
|
|
14920
14920
|
function PF(e, t) {
|
|
14921
|
-
return e instanceof Kw && e.data === t.data ? e :
|
|
14921
|
+
return e instanceof Kw && e.data === t.data ? e : X3(t.data);
|
|
14922
14922
|
}
|
|
14923
14923
|
function IF() {
|
|
14924
14924
|
Qg(Gi.Frozen, (e, t) => {
|
|
@@ -14975,17 +14975,17 @@ var NF = function e(t, n) {
|
|
|
14975
14975
|
return t !== t && n !== n;
|
|
14976
14976
|
};
|
|
14977
14977
|
const jF = /* @__PURE__ */ kF(NF);
|
|
14978
|
-
function
|
|
14978
|
+
function Z3(e, t) {
|
|
14979
14979
|
return e + " " + t;
|
|
14980
14980
|
}
|
|
14981
|
-
class
|
|
14981
|
+
class Q3 {
|
|
14982
14982
|
constructor(t) {
|
|
14983
14983
|
Le(this, "pool");
|
|
14984
14984
|
var n;
|
|
14985
14985
|
t = (n = fu.get(t)) != null ? n : t, this.pool = MF($B(t));
|
|
14986
14986
|
}
|
|
14987
14987
|
findModelByTypeAndId(t, n) {
|
|
14988
|
-
return n ? this.pool.get(
|
|
14988
|
+
return n ? this.pool.get(Z3(t, n)) : void 0;
|
|
14989
14989
|
}
|
|
14990
14990
|
findModelForSnapshot(t) {
|
|
14991
14991
|
if (!rv(t))
|
|
@@ -14994,23 +14994,23 @@ class QP {
|
|
|
14994
14994
|
return o ? this.findModelByTypeAndId(n, t[o]) : void 0;
|
|
14995
14995
|
}
|
|
14996
14996
|
}
|
|
14997
|
-
const MF =
|
|
14997
|
+
const MF = D3({
|
|
14998
14998
|
initData() {
|
|
14999
14999
|
return /* @__PURE__ */ new Map();
|
|
15000
15000
|
},
|
|
15001
15001
|
addNode(e, t) {
|
|
15002
15002
|
if (cr(e)) {
|
|
15003
15003
|
const n = e[uo];
|
|
15004
|
-
n && t.set(
|
|
15004
|
+
n && t.set(Z3(e[It], n), e);
|
|
15005
15005
|
}
|
|
15006
15006
|
}
|
|
15007
15007
|
});
|
|
15008
15008
|
function T0(e, t) {
|
|
15009
15009
|
On(e, "node"), uu(t, "snapshot"), DF().call(e, t);
|
|
15010
15010
|
}
|
|
15011
|
-
function $
|
|
15011
|
+
function $3(e) {
|
|
15012
15012
|
const t = this, n = () => {
|
|
15013
|
-
const r = new
|
|
15013
|
+
const r = new Q3(t), o = us(t, e, r, void 0);
|
|
15014
15014
|
if (er && o !== t)
|
|
15015
15015
|
throw he("assertion failed: reconciled object has to be the same");
|
|
15016
15016
|
};
|
|
@@ -15053,7 +15053,7 @@ function $P(e) {
|
|
|
15053
15053
|
}
|
|
15054
15054
|
const DF = qo(() => Zi({
|
|
15055
15055
|
nameOrNameFn: Pr.ApplySnapshot,
|
|
15056
|
-
fn: $
|
|
15056
|
+
fn: $3,
|
|
15057
15057
|
actionType: Fo.Sync
|
|
15058
15058
|
}));
|
|
15059
15059
|
function A0(e, t) {
|
|
@@ -15090,7 +15090,7 @@ function LF(e, t, n, r) {
|
|
|
15090
15090
|
const S = Object.keys(m), O = S.length;
|
|
15091
15091
|
for (let b = 0; b < O; b++) {
|
|
15092
15092
|
const x = S[b];
|
|
15093
|
-
if (!
|
|
15093
|
+
if (!E3(x)) {
|
|
15094
15094
|
const E = m[x], A = g[x];
|
|
15095
15095
|
let R = us(A, E, n, c);
|
|
15096
15096
|
if (R == null) {
|
|
@@ -15163,7 +15163,7 @@ function Gf(e, t, n = !1) {
|
|
|
15163
15163
|
On(e, "node"), !(t.length <= 0) && _F().call(e, t, n);
|
|
15164
15164
|
}
|
|
15165
15165
|
function e5(e, t = !1) {
|
|
15166
|
-
const n = this, r = new
|
|
15166
|
+
const n = this, r = new Q3(n);
|
|
15167
15167
|
if (t) {
|
|
15168
15168
|
let o = e.length;
|
|
15169
15169
|
for (; o--; ) {
|
|
@@ -15262,7 +15262,7 @@ function Fd(e, t, n) {
|
|
|
15262
15262
|
if (r) {
|
|
15263
15263
|
const o = r.typeCheck();
|
|
15264
15264
|
o && (zB(() => {
|
|
15265
|
-
t ? e5.call(e, t.invPatches, !0) : n && $
|
|
15265
|
+
t ? e5.call(e, t.invPatches, !0) : n && $3.call(e, n);
|
|
15266
15266
|
}), o.throw());
|
|
15267
15267
|
}
|
|
15268
15268
|
}
|
|
@@ -15324,7 +15324,7 @@ function GF(e, t, n) {
|
|
|
15324
15324
|
function zF(e, t, n, r) {
|
|
15325
15325
|
r.splice(e, t, ...n);
|
|
15326
15326
|
}
|
|
15327
|
-
const gf = new
|
|
15327
|
+
const gf = new Y3();
|
|
15328
15328
|
function qF(e) {
|
|
15329
15329
|
const t = e.object, n = Jo(t).untransformed;
|
|
15330
15330
|
gf.reset();
|
|
@@ -15438,7 +15438,7 @@ function JF(e, t) {
|
|
|
15438
15438
|
return gf.record(l, u), a;
|
|
15439
15439
|
}
|
|
15440
15440
|
function KF(e, t) {
|
|
15441
|
-
switch (
|
|
15441
|
+
switch (B3(), t.type) {
|
|
15442
15442
|
case "splice":
|
|
15443
15443
|
ZF(t);
|
|
15444
15444
|
break;
|
|
@@ -15518,7 +15518,7 @@ function tV() {
|
|
|
15518
15518
|
function nV() {
|
|
15519
15519
|
$g(Gi.Frozen, (e) => {
|
|
15520
15520
|
if (Xw(e))
|
|
15521
|
-
return
|
|
15521
|
+
return X3(e.data);
|
|
15522
15522
|
});
|
|
15523
15523
|
}
|
|
15524
15524
|
function rV(e, t) {
|
|
@@ -15608,7 +15608,7 @@ function sV(e, t, n) {
|
|
|
15608
15608
|
function aV(e, t) {
|
|
15609
15609
|
delete t[e];
|
|
15610
15610
|
}
|
|
15611
|
-
const xc = new
|
|
15611
|
+
const xc = new Y3();
|
|
15612
15612
|
function lV(e) {
|
|
15613
15613
|
const t = e.object, n = Lc(t), r = Jo(n).untransformed;
|
|
15614
15614
|
xc.reset();
|
|
@@ -15670,7 +15670,7 @@ function uV(e, t) {
|
|
|
15670
15670
|
]), s;
|
|
15671
15671
|
}
|
|
15672
15672
|
function fV(e) {
|
|
15673
|
-
if (
|
|
15673
|
+
if (B3(), typeof e.name == "symbol")
|
|
15674
15674
|
throw he("symbol properties are not supported");
|
|
15675
15675
|
switch (e.type) {
|
|
15676
15676
|
case "add":
|
|
@@ -15758,7 +15758,7 @@ function vV(e, t) {
|
|
|
15758
15758
|
const n = ut.object({}, void 0, $w), r = Object.keys(t), o = r.length;
|
|
15759
15759
|
for (let i = 0; i < o; i++) {
|
|
15760
15760
|
const s = r[i];
|
|
15761
|
-
if (!
|
|
15761
|
+
if (!E3(s)) {
|
|
15762
15762
|
const a = t[s];
|
|
15763
15763
|
As(n, s, ev(a, e));
|
|
15764
15764
|
}
|
|
@@ -15813,7 +15813,7 @@ const xs = Fe("setParent", (e, t, n, r, o) => {
|
|
|
15813
15813
|
if (a && (l = qf(e, !1), u = iy(l) ? l : void 0), i != null && i.parent && tF(i.parent, e), v0.set(e, t), t != null && t.parent && eF(t.parent, e), b2(e), a) {
|
|
15814
15814
|
const c = qf(e, !1), p = iy(c) ? c : void 0;
|
|
15815
15815
|
u !== p && (u || p) && rF(() => {
|
|
15816
|
-
u &&
|
|
15816
|
+
u && H3(e), p && W3(p, e);
|
|
15817
15817
|
});
|
|
15818
15818
|
}
|
|
15819
15819
|
return s == null || s(), e;
|
|
@@ -15834,7 +15834,7 @@ function bV(e, t) {
|
|
|
15834
15834
|
// a frozen is not a value-type
|
|
15835
15835
|
!1
|
|
15836
15836
|
// cloneIfApplicable
|
|
15837
|
-
), qw(e, { [
|
|
15837
|
+
), qw(e, { [K3]: !0, data: e.data }, void 0, !0), e;
|
|
15838
15838
|
}
|
|
15839
15839
|
function wV() {
|
|
15840
15840
|
tv(Fc.Frozen, (e, t) => {
|
|
@@ -15949,19 +15949,19 @@ const TV = Fe("newModel", (e, t, n) => {
|
|
|
15949
15949
|
const i = e;
|
|
15950
15950
|
if (!fo.get(o))
|
|
15951
15951
|
throw he(`no model info for class ${o.name} could be found - did you forget to add the @model decorator?`);
|
|
15952
|
-
if (i.$ = t, er &&
|
|
15952
|
+
if (i.$ = t, er && O3(i, "$", !0), o5(o, i), Bd() && i5(o).dataType) {
|
|
15953
15953
|
const a = i.typeCheck();
|
|
15954
15954
|
a && a.throw();
|
|
15955
15955
|
}
|
|
15956
15956
|
return i;
|
|
15957
15957
|
}), AV = /* @__PURE__ */ new WeakMap();
|
|
15958
|
-
|
|
15958
|
+
w3 = Gh;
|
|
15959
15959
|
class hs {
|
|
15960
15960
|
/**
|
|
15961
15961
|
* Creates an instance of a data model.
|
|
15962
15962
|
*/
|
|
15963
15963
|
constructor(t) {
|
|
15964
|
-
if (Le(this,
|
|
15964
|
+
if (Le(this, w3), Le(this, "$"), !Vo(t))
|
|
15965
15965
|
throw he("data models can only work over data objects");
|
|
15966
15966
|
const { modelClass: n } = arguments[1], r = n;
|
|
15967
15967
|
let o;
|
|
@@ -16286,7 +16286,7 @@ const FV = Fe("newModel", (e, t, n) => {
|
|
|
16286
16286
|
const S = [It];
|
|
16287
16287
|
d.push(Wl(S, v, y)), m.push(Wl(S, y, v));
|
|
16288
16288
|
}
|
|
16289
|
-
if (p5(p, c, n),
|
|
16289
|
+
if (p5(p, c, n), J3(p, d, m), Bd() && cl(n).dataType) {
|
|
16290
16290
|
const S = p.typeCheck();
|
|
16291
16291
|
S && S.throw();
|
|
16292
16292
|
}
|
|
@@ -16299,7 +16299,7 @@ function d5(e) {
|
|
|
16299
16299
|
return { modelInfo: t, modelIdPropertyName: n, modelProps: r, modelIdPropData: o };
|
|
16300
16300
|
}
|
|
16301
16301
|
function p5(e, t, n) {
|
|
16302
|
-
r5(e, void 0), e.$ = Qw(t, { parent: e, path: "$" }, e[It], !1, !0), er &&
|
|
16302
|
+
r5(e, void 0), e.$ = Qw(t, { parent: e, path: "$" }, e[It], !1, !0), er && O3(e, "$", !0), o5(n, e);
|
|
16303
16303
|
}
|
|
16304
16304
|
const F2 = Symbol("modelIdPropertyName");
|
|
16305
16305
|
class ei {
|
|
@@ -16509,7 +16509,7 @@ function Zi({ nameOrNameFn: e, fn: t, actionType: n, overrideContext: r, isFlowF
|
|
|
16509
16509
|
m2(c.parentContext), oF();
|
|
16510
16510
|
}
|
|
16511
16511
|
};
|
|
16512
|
-
return s[
|
|
16512
|
+
return s[x3] = !0, s;
|
|
16513
16513
|
}
|
|
16514
16514
|
function P0(e, t, n) {
|
|
16515
16515
|
const r = e[t];
|
|
@@ -16553,7 +16553,7 @@ function JV(e, t, n) {
|
|
|
16553
16553
|
const r = t[0], o = t[1], i = t[2];
|
|
16554
16554
|
fy(e, r), _2("transaction", o, !1);
|
|
16555
16555
|
const s = uy(r, o, !0), a = () => {
|
|
16556
|
-
|
|
16556
|
+
R3(r, A3, (l) => {
|
|
16557
16557
|
const u = n(s, l[o]);
|
|
16558
16558
|
l[o] = U2(u, l);
|
|
16559
16559
|
});
|
|
@@ -16624,7 +16624,7 @@ function uy(e, t, n) {
|
|
|
16624
16624
|
const a = fo.get(s);
|
|
16625
16625
|
o = `fn::${a.name}::${t}`, LB(o, a.class, t);
|
|
16626
16626
|
};
|
|
16627
|
-
return n ?
|
|
16627
|
+
return n ? R3(r, b0, i) : i(r), {
|
|
16628
16628
|
actionName: () => o,
|
|
16629
16629
|
overrideContext: KV
|
|
16630
16630
|
};
|
|
@@ -16646,7 +16646,7 @@ function ZV(e) {
|
|
|
16646
16646
|
}
|
|
16647
16647
|
const W2 = /* @__PURE__ */ new Map();
|
|
16648
16648
|
function QV(e, t, n) {
|
|
16649
|
-
if (
|
|
16649
|
+
if (T3(t, e), W2.has(e) && P3("warn", `an standalone action with name "${e}" already exists (if you are using hot-reloading you may safely ignore this warning)`, `duplicateActionName - ${e}`), Fw(t))
|
|
16650
16650
|
throw he("the standalone action must not be previously marked as an action");
|
|
16651
16651
|
if (ZV(t))
|
|
16652
16652
|
throw he("the standalone action must not be previously marked as a flow action");
|
|
@@ -16727,7 +16727,7 @@ function Tt(e, t, n, r) {
|
|
|
16727
16727
|
return o > 3 && i && Object.defineProperty(t, n, i), i;
|
|
16728
16728
|
}
|
|
16729
16729
|
function lU(e, t, n) {
|
|
16730
|
-
return
|
|
16730
|
+
return T3(e, "objFn"), Ss(() => {
|
|
16731
16731
|
const r = e();
|
|
16732
16732
|
uu(r, "objectSchema");
|
|
16733
16733
|
const o = Object.entries(r), i = (...l) => {
|
|
@@ -16975,7 +16975,7 @@ function wU({ modelProps: e, baseModel: t, type: n, valueType: r, fromSnapshotPr
|
|
|
16975
16975
|
...x,
|
|
16976
16976
|
modelClass: A
|
|
16977
16977
|
});
|
|
16978
|
-
return
|
|
16978
|
+
return C3(R, Uw, !1, !0), m || (m = Object.keys(e).filter((N) => !d.has(N) && Object.hasOwn(R, N))), m.forEach((N) => {
|
|
16979
16979
|
delete R[N];
|
|
16980
16980
|
}), R;
|
|
16981
16981
|
}
|
|
@@ -17086,7 +17086,7 @@ const fr = (e) => (t, ...n) => {
|
|
|
17086
17086
|
r == null ? void 0 : r.addInitializer
|
|
17087
17087
|
);
|
|
17088
17088
|
}, x5 = /* @__PURE__ */ new WeakMap(), E5 = (e, t) => {
|
|
17089
|
-
Wh(t,
|
|
17089
|
+
Wh(t, A3);
|
|
17090
17090
|
const n = x5.get(e);
|
|
17091
17091
|
if (n.needsMakeObservable)
|
|
17092
17092
|
Hh.makeObservable(t);
|
|
@@ -17112,7 +17112,7 @@ const fr = (e) => (t, ...n) => {
|
|
|
17112
17112
|
const r = gu(t) ? "class" : dl(t) ? "data" : void 0;
|
|
17113
17113
|
if (!r)
|
|
17114
17114
|
throw he("clazz must be a class that extends from Model/DataModel");
|
|
17115
|
-
if (fh[e] &&
|
|
17115
|
+
if (fh[e] && P3("warn", `a model with name "${e}" already exists (if you are using hot-reloading you may safely ignore this warning)`, `duplicateModelName - ${e}`), dh in t && t[dh] === t)
|
|
17116
17116
|
throw he("a class already decorated with `@model` cannot be re-decorated");
|
|
17117
17117
|
if (t.toString = () => `class ${t.name}#${e}`, r === "class" && (t[It] = e), x5.set(t, { needsMakeObservable: void 0, type: r }), n) {
|
|
17118
17118
|
n(function() {
|
|
@@ -17746,7 +17746,7 @@ function Ep(e, t) {
|
|
|
17746
17746
|
const kU = Fe("updateBackRefs", (e, t, n, r) => {
|
|
17747
17747
|
n !== r && (r && (Ep(r).delete(e), Ep(r, t).delete(e)), n && (Ep(n).add(e), Ep(n, t).add(e)));
|
|
17748
17748
|
});
|
|
17749
|
-
|
|
17749
|
+
D3({
|
|
17750
17750
|
initData() {
|
|
17751
17751
|
return {
|
|
17752
17752
|
all: /* @__PURE__ */ new Set(),
|
|
@@ -18258,7 +18258,7 @@ let Uc = class extends ur({
|
|
|
18258
18258
|
}
|
|
18259
18259
|
}
|
|
18260
18260
|
get(t) {
|
|
18261
|
-
return
|
|
18261
|
+
return OP(this.items, t);
|
|
18262
18262
|
}
|
|
18263
18263
|
has(t) {
|
|
18264
18264
|
return Tw(this.items, t);
|
|
@@ -18276,7 +18276,7 @@ let Uc = class extends ur({
|
|
|
18276
18276
|
return Ow(this.items)[Symbol.iterator]();
|
|
18277
18277
|
}
|
|
18278
18278
|
entries() {
|
|
18279
|
-
return
|
|
18279
|
+
return CP(this.items)[Symbol.iterator]();
|
|
18280
18280
|
}
|
|
18281
18281
|
[(p2 = Symbol.iterator, d2 = Symbol.toStringTag, p2)]() {
|
|
18282
18282
|
return this.entries();
|
|
@@ -22869,7 +22869,7 @@ var im = function() {
|
|
|
22869
22869
|
var t = this;
|
|
22870
22870
|
Qs(this.localValues).forEach(function(n) {
|
|
22871
22871
|
var r = t.localValues.get(n), o = t.model[n];
|
|
22872
|
-
Rn(o) ? o.replace(r) : jn(o) ? (o.clear(), o.merge(r)) :
|
|
22872
|
+
Rn(o) ? o.replace(r) : jn(o) ? (o.clear(), o.merge(r)) : xP(r) || (t.model[n] = r);
|
|
22873
22873
|
}), this.localValues.clear();
|
|
22874
22874
|
}
|
|
22875
22875
|
}), Object.defineProperty(e.prototype, "reset", {
|
|
@@ -30056,7 +30056,7 @@ let qi = class extends ur({
|
|
|
30056
30056
|
}
|
|
30057
30057
|
init() {
|
|
30058
30058
|
var e, t;
|
|
30059
|
-
Me.info("Chat initialization. Resetting stores"), this.clearPendingJoinReset(), this.activeJoinScope = null,
|
|
30059
|
+
Me.info("Chat initialization. Resetting stores"), this.clearPendingJoinReset(), this.activeJoinScope = null, z3(this) && fF(this), this.chat = new tr({}), this.auth = new gl({}), (e = this.socket.centrifuge) == null || e.removeAllListeners(), (t = this.socket.centrifuge) == null || t.disconnect(), this.socket = new ed({}), this.ui = new ta({}), this.settings = new zc({}), uF(this);
|
|
30060
30060
|
}
|
|
30061
30061
|
};
|
|
30062
30062
|
ga([
|
|
@@ -59489,7 +59489,7 @@ const wue = (e) => {
|
|
|
59489
59489
|
/* @__PURE__ */ h.jsx(va, { onBack: () => e.back(), children: /* @__PURE__ */ h.jsx(ti, { children: /* @__PURE__ */ h.jsx(Ce, { id: "userList" }) }) }),
|
|
59490
59490
|
/* @__PURE__ */ h.jsx(_ue, { users: n })
|
|
59491
59491
|
] });
|
|
59492
|
-
}, CA = ot(Wue), Hue = "@vlprojects-chat/chat", Gue = "vlprojects", zue = "0.25.0-LK-5882-extend-chat-join-logging.
|
|
59492
|
+
}, CA = ot(Wue), Hue = "@vlprojects-chat/chat", Gue = "vlprojects", zue = "0.25.0-LK-5882-extend-chat-join-logging.4", que = "vlprojects chat", Yue = "ISC", Jue = "dist/index.d.ts", Kue = "./dist/index.mjs", Xue = "./dist/index.mjs", Zue = [
|
|
59493
59493
|
"dist"
|
|
59494
59494
|
], Que = {
|
|
59495
59495
|
type: "git",
|