@kengic/core.react 0.0.1-beta.23 → 0.0.1-beta.25
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/kengic-core.react.js
CHANGED
|
@@ -14452,7 +14452,7 @@ Check the render method of \`` + n + "`." : "";
|
|
|
14452
14452
|
};
|
|
14453
14453
|
}
|
|
14454
14454
|
}
|
|
14455
|
-
function
|
|
14455
|
+
function eae(n) {
|
|
14456
14456
|
return n;
|
|
14457
14457
|
}
|
|
14458
14458
|
function pz(n) {
|
|
@@ -16682,9 +16682,9 @@ Incoming: %s`, $e, "[" + a.join(", ") + "]", "[" + n.join(", ") + "]");
|
|
|
16682
16682
|
}
|
|
16683
16683
|
return [O, S];
|
|
16684
16684
|
}
|
|
16685
|
-
function
|
|
16685
|
+
function tae(n, a, s) {
|
|
16686
16686
|
}
|
|
16687
|
-
function
|
|
16687
|
+
function nae(n, a, s) {
|
|
16688
16688
|
}
|
|
16689
16689
|
function I1(n, a, s) {
|
|
16690
16690
|
var d = pr, p = _u(), S, w = ui();
|
|
@@ -43900,16 +43900,16 @@ function NF({ children: e, id: t }) {
|
|
|
43900
43900
|
}
|
|
43901
43901
|
) }) });
|
|
43902
43902
|
}
|
|
43903
|
-
function
|
|
43903
|
+
function MF() {
|
|
43904
43904
|
return C.useContext(OF);
|
|
43905
43905
|
}
|
|
43906
43906
|
var eO = function(e) {
|
|
43907
43907
|
return typeof e == "function";
|
|
43908
|
-
},
|
|
43908
|
+
}, qQ = function(e) {
|
|
43909
43909
|
return typeof e == "string";
|
|
43910
|
-
},
|
|
43910
|
+
}, PF = function(e) {
|
|
43911
43911
|
return typeof e == "number";
|
|
43912
|
-
},
|
|
43912
|
+
}, YQ = process.env.NODE_ENV === "development" || process.env.NODE_ENV === "test";
|
|
43913
43913
|
function Tk(e, t) {
|
|
43914
43914
|
if (e === t) return !0;
|
|
43915
43915
|
for (var r = 0; r < e.length; r++)
|
|
@@ -43920,24 +43920,24 @@ function zT(e) {
|
|
|
43920
43920
|
var t = C.useRef(e);
|
|
43921
43921
|
return t.current = e, t;
|
|
43922
43922
|
}
|
|
43923
|
-
var
|
|
43924
|
-
|
|
43923
|
+
var DF = function(e) {
|
|
43924
|
+
YQ && (eO(e) || console.error("useUnmount expected parameter is a function, got ".concat(typeof e)));
|
|
43925
43925
|
var t = zT(e);
|
|
43926
43926
|
C.useEffect(function() {
|
|
43927
43927
|
return function() {
|
|
43928
43928
|
t.current();
|
|
43929
43929
|
};
|
|
43930
43930
|
}, []);
|
|
43931
|
-
},
|
|
43931
|
+
}, kF = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
43932
43932
|
function ZS(e, t) {
|
|
43933
|
-
if (
|
|
43933
|
+
if (kF) {
|
|
43934
43934
|
if (!e)
|
|
43935
43935
|
return t;
|
|
43936
43936
|
var r;
|
|
43937
43937
|
return eO(e) ? r = e() : "current" in e ? r = e.current : r = e, r;
|
|
43938
43938
|
}
|
|
43939
43939
|
}
|
|
43940
|
-
var
|
|
43940
|
+
var AF = function(e) {
|
|
43941
43941
|
var t = function(r, i, l) {
|
|
43942
43942
|
var c = C.useRef(!1), f = C.useRef([]), h = C.useRef([]), m = C.useRef();
|
|
43943
43943
|
e(function() {
|
|
@@ -43949,13 +43949,13 @@ var kF = function(e) {
|
|
|
43949
43949
|
return;
|
|
43950
43950
|
}
|
|
43951
43951
|
(E.length !== f.current.length || !Tk(f.current, E) || !Tk(h.current, i)) && ((y = m.current) === null || y === void 0 || y.call(m), f.current = E, h.current = i, m.current = r());
|
|
43952
|
-
}),
|
|
43952
|
+
}), DF(function() {
|
|
43953
43953
|
var y;
|
|
43954
43954
|
(y = m.current) === null || y === void 0 || y.call(m), c.current = !1;
|
|
43955
43955
|
});
|
|
43956
43956
|
};
|
|
43957
43957
|
return t;
|
|
43958
|
-
},
|
|
43958
|
+
}, LF = AF(C.useEffect), XQ = typeof Element < "u", QQ = typeof Map == "function", ZQ = typeof Set == "function", JQ = typeof ArrayBuffer == "function" && !!ArrayBuffer.isView;
|
|
43959
43959
|
function $S(e, t) {
|
|
43960
43960
|
if (e === t) return !0;
|
|
43961
43961
|
if (e && t && typeof e == "object" && typeof t == "object") {
|
|
@@ -43968,7 +43968,7 @@ function $S(e, t) {
|
|
|
43968
43968
|
return !0;
|
|
43969
43969
|
}
|
|
43970
43970
|
var c;
|
|
43971
|
-
if (
|
|
43971
|
+
if (QQ && e instanceof Map && t instanceof Map) {
|
|
43972
43972
|
if (e.size !== t.size) return !1;
|
|
43973
43973
|
for (c = e.entries(); !(i = c.next()).done; )
|
|
43974
43974
|
if (!t.has(i.value[0])) return !1;
|
|
@@ -43976,13 +43976,13 @@ function $S(e, t) {
|
|
|
43976
43976
|
if (!$S(i.value[1], t.get(i.value[0]))) return !1;
|
|
43977
43977
|
return !0;
|
|
43978
43978
|
}
|
|
43979
|
-
if (
|
|
43979
|
+
if (ZQ && e instanceof Set && t instanceof Set) {
|
|
43980
43980
|
if (e.size !== t.size) return !1;
|
|
43981
43981
|
for (c = e.entries(); !(i = c.next()).done; )
|
|
43982
43982
|
if (!t.has(i.value[0])) return !1;
|
|
43983
43983
|
return !0;
|
|
43984
43984
|
}
|
|
43985
|
-
if (
|
|
43985
|
+
if (JQ && ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
|
|
43986
43986
|
if (r = e.length, r != t.length) return !1;
|
|
43987
43987
|
for (i = r; i-- !== 0; )
|
|
43988
43988
|
if (e[i] !== t[i]) return !1;
|
|
@@ -43994,7 +43994,7 @@ function $S(e, t) {
|
|
|
43994
43994
|
if (l = Object.keys(e), r = l.length, r !== Object.keys(t).length) return !1;
|
|
43995
43995
|
for (i = r; i-- !== 0; )
|
|
43996
43996
|
if (!Object.prototype.hasOwnProperty.call(t, l[i])) return !1;
|
|
43997
|
-
if (
|
|
43997
|
+
if (XQ && e instanceof Element) return !1;
|
|
43998
43998
|
for (i = r; i-- !== 0; )
|
|
43999
43999
|
if (!((l[i] === "_owner" || l[i] === "__v" || l[i] === "__o") && e.$$typeof) && !$S(e[l[i]], t[l[i]]))
|
|
44000
44000
|
return !1;
|
|
@@ -44002,7 +44002,7 @@ function $S(e, t) {
|
|
|
44002
44002
|
}
|
|
44003
44003
|
return e !== e && t !== t;
|
|
44004
44004
|
}
|
|
44005
|
-
var
|
|
44005
|
+
var eZ = function(t, r) {
|
|
44006
44006
|
try {
|
|
44007
44007
|
return $S(t, r);
|
|
44008
44008
|
} catch (i) {
|
|
@@ -44011,13 +44011,13 @@ var tZ = function(t, r) {
|
|
|
44011
44011
|
throw i;
|
|
44012
44012
|
}
|
|
44013
44013
|
};
|
|
44014
|
-
const
|
|
44015
|
-
var
|
|
44016
|
-
return e === void 0 && (e = []), t === void 0 && (t = []),
|
|
44017
|
-
},
|
|
44014
|
+
const tZ = /* @__PURE__ */ Up(eZ);
|
|
44015
|
+
var nZ = function(e, t) {
|
|
44016
|
+
return e === void 0 && (e = []), t === void 0 && (t = []), tZ(e, t);
|
|
44017
|
+
}, rZ = function(e, t, r) {
|
|
44018
44018
|
var i = C.useRef(), l = C.useRef(0);
|
|
44019
|
-
|
|
44020
|
-
},
|
|
44019
|
+
nZ(t, i.current) || (l.current += 1), i.current = t, LF(e, [l.current], r);
|
|
44020
|
+
}, aZ = /(mac|iphone|ipod|ipad)/i.test(typeof navigator < "u" ? navigator == null ? void 0 : navigator.platform : ""), $F = {
|
|
44021
44021
|
0: 48,
|
|
44022
44022
|
1: 49,
|
|
44023
44023
|
2: 50,
|
|
@@ -44076,7 +44076,7 @@ var rZ = function(e, t) {
|
|
|
44076
44076
|
z: 90,
|
|
44077
44077
|
leftwindowkey: 91,
|
|
44078
44078
|
rightwindowkey: 92,
|
|
44079
|
-
meta:
|
|
44079
|
+
meta: aZ ? [91, 93] : [91, 92],
|
|
44080
44080
|
selectkey: 93,
|
|
44081
44081
|
numpad0: 96,
|
|
44082
44082
|
numpad1: 97,
|
|
@@ -44129,13 +44129,13 @@ var rZ = function(e, t) {
|
|
|
44129
44129
|
return e.altKey;
|
|
44130
44130
|
},
|
|
44131
44131
|
meta: function(e) {
|
|
44132
|
-
return e.type === "keyup" ?
|
|
44132
|
+
return e.type === "keyup" ? $F.meta.includes(e.keyCode) : e.metaKey;
|
|
44133
44133
|
}
|
|
44134
44134
|
};
|
|
44135
|
-
function
|
|
44136
|
-
return
|
|
44135
|
+
function IF(e) {
|
|
44136
|
+
return qQ(e) || PF(e);
|
|
44137
44137
|
}
|
|
44138
|
-
function
|
|
44138
|
+
function iZ(e) {
|
|
44139
44139
|
var t = Object.keys(HT).reduce(function(r, i) {
|
|
44140
44140
|
return HT[i](e) ? r + 1 : r;
|
|
44141
44141
|
}, 0);
|
|
@@ -44145,12 +44145,12 @@ function Rk(e, t, r) {
|
|
|
44145
44145
|
var i, l;
|
|
44146
44146
|
if (!e.key)
|
|
44147
44147
|
return !1;
|
|
44148
|
-
if (
|
|
44148
|
+
if (PF(t))
|
|
44149
44149
|
return e.keyCode === t ? t : !1;
|
|
44150
44150
|
var c = t.split("."), f = 0;
|
|
44151
44151
|
try {
|
|
44152
44152
|
for (var h = OT(c), m = h.next(); !m.done; m = h.next()) {
|
|
44153
|
-
var y = m.value, b = HT[y], E =
|
|
44153
|
+
var y = m.value, b = HT[y], E = $F[y.toLowerCase()];
|
|
44154
44154
|
(b && b(e) || E && E === e.keyCode) && f++;
|
|
44155
44155
|
}
|
|
44156
44156
|
} catch (_) {
|
|
@@ -44164,10 +44164,10 @@ function Rk(e, t, r) {
|
|
|
44164
44164
|
if (i) throw i.error;
|
|
44165
44165
|
}
|
|
44166
44166
|
}
|
|
44167
|
-
return r ? f === c.length &&
|
|
44167
|
+
return r ? f === c.length && iZ(e) === c.length ? t : !1 : f === c.length ? t : !1;
|
|
44168
44168
|
}
|
|
44169
|
-
function
|
|
44170
|
-
return eO(e) ? e :
|
|
44169
|
+
function oZ(e, t) {
|
|
44170
|
+
return eO(e) ? e : IF(e) ? function(r) {
|
|
44171
44171
|
return Rk(r, e, t);
|
|
44172
44172
|
} : Array.isArray(e) ? function(r) {
|
|
44173
44173
|
return e.find(function(i) {
|
|
@@ -44177,14 +44177,14 @@ function lZ(e, t) {
|
|
|
44177
44177
|
return !!e;
|
|
44178
44178
|
};
|
|
44179
44179
|
}
|
|
44180
|
-
var
|
|
44181
|
-
function
|
|
44182
|
-
var i = {}, l = i.events, c = l === void 0 ?
|
|
44183
|
-
|
|
44180
|
+
var lZ = ["keydown"];
|
|
44181
|
+
function uZ(e, t, r) {
|
|
44182
|
+
var i = {}, l = i.events, c = l === void 0 ? lZ : l, f = i.target, h = i.exactMatch, m = h === void 0 ? !1 : h, y = i.useCapture, b = y === void 0 ? !1 : y, E = zT(t), _ = zT(e);
|
|
44183
|
+
rZ(function() {
|
|
44184
44184
|
var N, M, P, R = ZS(f, window);
|
|
44185
44185
|
if (R) {
|
|
44186
44186
|
var $ = function(A) {
|
|
44187
|
-
var z, H =
|
|
44187
|
+
var z, H = oZ(_.current, m), K = H(A), q = IF(K) ? K : A.key;
|
|
44188
44188
|
if (K)
|
|
44189
44189
|
return (z = E.current) === null || z === void 0 ? void 0 : z.call(E, A, q);
|
|
44190
44190
|
};
|
|
@@ -44226,26 +44226,26 @@ function sZ(e, t, r) {
|
|
|
44226
44226
|
}
|
|
44227
44227
|
}, [c], f);
|
|
44228
44228
|
}
|
|
44229
|
-
function
|
|
44229
|
+
function sZ(e) {
|
|
44230
44230
|
var t = C.useRef(0), r = XI(C.useState(e), 2), i = r[0], l = r[1], c = C.useCallback(function(f) {
|
|
44231
44231
|
cancelAnimationFrame(t.current), t.current = requestAnimationFrame(function() {
|
|
44232
44232
|
l(f);
|
|
44233
44233
|
});
|
|
44234
44234
|
}, []);
|
|
44235
|
-
return
|
|
44235
|
+
return DF(function() {
|
|
44236
44236
|
cancelAnimationFrame(t.current);
|
|
44237
44237
|
}), [i, c];
|
|
44238
44238
|
}
|
|
44239
|
-
var
|
|
44240
|
-
function
|
|
44241
|
-
var t = XI(
|
|
44239
|
+
var cZ = AF(C.useLayoutEffect), fZ = kF ? cZ : LF;
|
|
44240
|
+
function dZ(e) {
|
|
44241
|
+
var t = XI(sZ(function() {
|
|
44242
44242
|
var l = ZS(e);
|
|
44243
44243
|
return l ? {
|
|
44244
44244
|
width: l.clientWidth,
|
|
44245
44245
|
height: l.clientHeight
|
|
44246
44246
|
} : void 0;
|
|
44247
44247
|
}), 2), r = t[0], i = t[1];
|
|
44248
|
-
return
|
|
44248
|
+
return fZ(function() {
|
|
44249
44249
|
var l = ZS(e);
|
|
44250
44250
|
if (l) {
|
|
44251
44251
|
var c = new jA(function(f) {
|
|
@@ -44263,7 +44263,7 @@ function vZ(e) {
|
|
|
44263
44263
|
}
|
|
44264
44264
|
}, [], e), r;
|
|
44265
44265
|
}
|
|
44266
|
-
var
|
|
44266
|
+
var FF = Symbol.for("immer-nothing"), Ok = Symbol.for("immer-draftable"), Jo = Symbol.for("immer-state"), vZ = process.env.NODE_ENV !== "production" ? [
|
|
44267
44267
|
// All error codes, starting by 0:
|
|
44268
44268
|
function(e) {
|
|
44269
44269
|
return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
|
|
@@ -44296,7 +44296,7 @@ var IF = Symbol.for("immer-nothing"), Ok = Symbol.for("immer-draftable"), Jo = S
|
|
|
44296
44296
|
] : [];
|
|
44297
44297
|
function $o(e, ...t) {
|
|
44298
44298
|
if (process.env.NODE_ENV !== "production") {
|
|
44299
|
-
const r =
|
|
44299
|
+
const r = vZ[e], i = typeof r == "function" ? r.apply(null, t) : r;
|
|
44300
44300
|
throw new Error(`[Immer] ${i}`);
|
|
44301
44301
|
}
|
|
44302
44302
|
throw new Error(
|
|
@@ -44309,17 +44309,17 @@ function vd(e) {
|
|
|
44309
44309
|
}
|
|
44310
44310
|
function Os(e) {
|
|
44311
44311
|
var t;
|
|
44312
|
-
return e ?
|
|
44312
|
+
return e ? jF(e) || Array.isArray(e) || !!e[Ok] || !!((t = e.constructor) != null && t[Ok]) || zC(e) || HC(e) : !1;
|
|
44313
44313
|
}
|
|
44314
|
-
var
|
|
44315
|
-
function
|
|
44314
|
+
var pZ = Object.prototype.constructor.toString();
|
|
44315
|
+
function jF(e) {
|
|
44316
44316
|
if (!e || typeof e != "object")
|
|
44317
44317
|
return !1;
|
|
44318
44318
|
const t = Hp(e);
|
|
44319
44319
|
if (t === null)
|
|
44320
44320
|
return !0;
|
|
44321
44321
|
const r = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
|
|
44322
|
-
return r === Object ? !0 : typeof r == "function" && Function.toString.call(r) ===
|
|
44322
|
+
return r === Object ? !0 : typeof r == "function" && Function.toString.call(r) === pZ;
|
|
44323
44323
|
}
|
|
44324
44324
|
function JS(e, t) {
|
|
44325
44325
|
jC(e) === 0 ? Reflect.ownKeys(e).forEach((r) => {
|
|
@@ -44333,11 +44333,11 @@ function jC(e) {
|
|
|
44333
44333
|
function BT(e, t) {
|
|
44334
44334
|
return jC(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
|
|
44335
44335
|
}
|
|
44336
|
-
function
|
|
44336
|
+
function zF(e, t, r) {
|
|
44337
44337
|
const i = jC(e);
|
|
44338
44338
|
i === 2 ? e.set(t, r) : i === 3 ? e.add(r) : e[t] = r;
|
|
44339
44339
|
}
|
|
44340
|
-
function
|
|
44340
|
+
function hZ(e, t) {
|
|
44341
44341
|
return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
44342
44342
|
}
|
|
44343
44343
|
function zC(e) {
|
|
@@ -44356,7 +44356,7 @@ function VT(e, t) {
|
|
|
44356
44356
|
return new Set(e);
|
|
44357
44357
|
if (Array.isArray(e))
|
|
44358
44358
|
return Array.prototype.slice.call(e);
|
|
44359
|
-
const r =
|
|
44359
|
+
const r = jF(e);
|
|
44360
44360
|
if (t === !0 || t === "class_only" && !r) {
|
|
44361
44361
|
const i = Object.getOwnPropertyDescriptors(e);
|
|
44362
44362
|
delete i[Jo];
|
|
@@ -44381,24 +44381,24 @@ function VT(e, t) {
|
|
|
44381
44381
|
}
|
|
44382
44382
|
}
|
|
44383
44383
|
function zg(e, t = !1) {
|
|
44384
|
-
return BC(e) || vd(e) || !Os(e) || (jC(e) > 1 && (e.set = e.add = e.clear = e.delete =
|
|
44384
|
+
return BC(e) || vd(e) || !Os(e) || (jC(e) > 1 && (e.set = e.add = e.clear = e.delete = mZ), Object.freeze(e), t && Object.entries(e).forEach(([r, i]) => zg(i, !0))), e;
|
|
44385
44385
|
}
|
|
44386
|
-
function
|
|
44386
|
+
function mZ() {
|
|
44387
44387
|
$o(2);
|
|
44388
44388
|
}
|
|
44389
44389
|
function BC(e) {
|
|
44390
44390
|
return Object.isFrozen(e);
|
|
44391
44391
|
}
|
|
44392
|
-
var
|
|
44392
|
+
var gZ = {};
|
|
44393
44393
|
function pd(e) {
|
|
44394
|
-
const t =
|
|
44394
|
+
const t = gZ[e];
|
|
44395
44395
|
return t || $o(0, e), t;
|
|
44396
44396
|
}
|
|
44397
44397
|
var Hg;
|
|
44398
|
-
function
|
|
44398
|
+
function HF() {
|
|
44399
44399
|
return Hg;
|
|
44400
44400
|
}
|
|
44401
|
-
function
|
|
44401
|
+
function yZ(e, t) {
|
|
44402
44402
|
return {
|
|
44403
44403
|
drafts_: [],
|
|
44404
44404
|
parent_: e,
|
|
@@ -44413,15 +44413,15 @@ function Nk(e, t) {
|
|
|
44413
44413
|
t && (pd("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
|
|
44414
44414
|
}
|
|
44415
44415
|
function UT(e) {
|
|
44416
|
-
WT(e), e.drafts_.forEach(
|
|
44416
|
+
WT(e), e.drafts_.forEach(bZ), e.drafts_ = null;
|
|
44417
44417
|
}
|
|
44418
44418
|
function WT(e) {
|
|
44419
44419
|
e === Hg && (Hg = e.parent_);
|
|
44420
44420
|
}
|
|
44421
44421
|
function Mk(e) {
|
|
44422
|
-
return Hg =
|
|
44422
|
+
return Hg = yZ(Hg, e);
|
|
44423
44423
|
}
|
|
44424
|
-
function
|
|
44424
|
+
function bZ(e) {
|
|
44425
44425
|
const t = e[Jo];
|
|
44426
44426
|
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
|
|
44427
44427
|
}
|
|
@@ -44433,7 +44433,7 @@ function Pk(e, t) {
|
|
|
44433
44433
|
e,
|
|
44434
44434
|
t.patches_,
|
|
44435
44435
|
t.inversePatches_
|
|
44436
|
-
)) : e = eC(t, r, []), UT(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !==
|
|
44436
|
+
)) : e = eC(t, r, []), UT(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== FF ? e : void 0;
|
|
44437
44437
|
}
|
|
44438
44438
|
function eC(e, t, r) {
|
|
44439
44439
|
if (BC(t))
|
|
@@ -44468,7 +44468,7 @@ function Dk(e, t, r, i, l, c, f) {
|
|
|
44468
44468
|
if (process.env.NODE_ENV !== "production" && l === r && $o(5), vd(l)) {
|
|
44469
44469
|
const h = c && t && t.type_ !== 3 && // Set objects are atomic since they have no keys.
|
|
44470
44470
|
!BT(t.assigned_, i) ? c.concat(i) : void 0, m = eC(e, l, h);
|
|
44471
|
-
if (
|
|
44471
|
+
if (zF(r, i, m), vd(m))
|
|
44472
44472
|
e.canAutoFreeze_ = !1;
|
|
44473
44473
|
else
|
|
44474
44474
|
return;
|
|
@@ -44482,11 +44482,11 @@ function Dk(e, t, r, i, l, c, f) {
|
|
|
44482
44482
|
function tC(e, t, r = !1) {
|
|
44483
44483
|
!e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && zg(t, r);
|
|
44484
44484
|
}
|
|
44485
|
-
function
|
|
44485
|
+
function SZ(e, t) {
|
|
44486
44486
|
const r = Array.isArray(e), i = {
|
|
44487
44487
|
type_: r ? 1 : 0,
|
|
44488
44488
|
// Track which produce call this is associated with.
|
|
44489
|
-
scope_: t ? t.scope_ :
|
|
44489
|
+
scope_: t ? t.scope_ : HF(),
|
|
44490
44490
|
// True for both shallow and deep changes.
|
|
44491
44491
|
modified_: !1,
|
|
44492
44492
|
// Used during finalization.
|
|
@@ -44517,7 +44517,7 @@ var tO = {
|
|
|
44517
44517
|
return e;
|
|
44518
44518
|
const r = td(e);
|
|
44519
44519
|
if (!BT(r, t))
|
|
44520
|
-
return
|
|
44520
|
+
return CZ(e, r, t);
|
|
44521
44521
|
const i = r[t];
|
|
44522
44522
|
return e.finalized_ || !Os(i) ? i : i === Jw(e.base_, t) ? (e_(e), e.copy_[t] = KT(i, e)) : i;
|
|
44523
44523
|
},
|
|
@@ -44528,14 +44528,14 @@ var tO = {
|
|
|
44528
44528
|
return Reflect.ownKeys(td(e));
|
|
44529
44529
|
},
|
|
44530
44530
|
set(e, t, r) {
|
|
44531
|
-
const i =
|
|
44531
|
+
const i = BF(td(e), t);
|
|
44532
44532
|
if (i != null && i.set)
|
|
44533
44533
|
return i.set.call(e.draft_, r), !0;
|
|
44534
44534
|
if (!e.modified_) {
|
|
44535
44535
|
const l = Jw(td(e), t), c = l == null ? void 0 : l[Jo];
|
|
44536
44536
|
if (c && c.base_ === r)
|
|
44537
44537
|
return e.copy_[t] = r, e.assigned_[t] = !1, !0;
|
|
44538
|
-
if (
|
|
44538
|
+
if (hZ(r, l) && (r !== void 0 || BT(e.base_, t)))
|
|
44539
44539
|
return !0;
|
|
44540
44540
|
e_(e), GT(e);
|
|
44541
44541
|
}
|
|
@@ -44582,16 +44582,16 @@ function Jw(e, t) {
|
|
|
44582
44582
|
const r = e[Jo];
|
|
44583
44583
|
return (r ? td(r) : e)[t];
|
|
44584
44584
|
}
|
|
44585
|
-
function
|
|
44585
|
+
function CZ(e, t, r) {
|
|
44586
44586
|
var l;
|
|
44587
|
-
const i =
|
|
44587
|
+
const i = BF(t, r);
|
|
44588
44588
|
return i ? "value" in i ? i.value : (
|
|
44589
44589
|
// This is a very special case, if the prop is a getter defined by the
|
|
44590
44590
|
// prototype, we should invoke it with the draft as context!
|
|
44591
44591
|
(l = i.get) == null ? void 0 : l.call(e.draft_)
|
|
44592
44592
|
) : void 0;
|
|
44593
44593
|
}
|
|
44594
|
-
function
|
|
44594
|
+
function BF(e, t) {
|
|
44595
44595
|
if (!(t in e))
|
|
44596
44596
|
return;
|
|
44597
44597
|
let r = Hp(e);
|
|
@@ -44611,7 +44611,7 @@ function e_(e) {
|
|
|
44611
44611
|
e.scope_.immer_.useStrictShallowCopy_
|
|
44612
44612
|
));
|
|
44613
44613
|
}
|
|
44614
|
-
var
|
|
44614
|
+
var EZ = class {
|
|
44615
44615
|
constructor(e) {
|
|
44616
44616
|
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (t, r, i) => {
|
|
44617
44617
|
if (typeof t == "function" && typeof r != "function") {
|
|
@@ -44634,7 +44634,7 @@ var xZ = class {
|
|
|
44634
44634
|
}
|
|
44635
44635
|
return Nk(c, i), Pk(l, c);
|
|
44636
44636
|
} else if (!t || typeof t != "object") {
|
|
44637
|
-
if (l = r(t), l === void 0 && (l = t), l ===
|
|
44637
|
+
if (l = r(t), l === void 0 && (l = t), l === FF && (l = void 0), this.autoFreeze_ && zg(l, !0), i) {
|
|
44638
44638
|
const c = [], f = [];
|
|
44639
44639
|
pd("Patches").generateReplacementPatches_(t, l, c, f), i(c, f);
|
|
44640
44640
|
}
|
|
@@ -44651,7 +44651,7 @@ var xZ = class {
|
|
|
44651
44651
|
}, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
|
|
44652
44652
|
}
|
|
44653
44653
|
createDraft(e) {
|
|
44654
|
-
Os(e) || $o(8), vd(e) && (e =
|
|
44654
|
+
Os(e) || $o(8), vd(e) && (e = xZ(e));
|
|
44655
44655
|
const t = Mk(this), r = KT(e, void 0);
|
|
44656
44656
|
return r[Jo].isManual_ = !0, WT(t), r;
|
|
44657
44657
|
}
|
|
@@ -44695,13 +44695,13 @@ var xZ = class {
|
|
|
44695
44695
|
}
|
|
44696
44696
|
};
|
|
44697
44697
|
function KT(e, t) {
|
|
44698
|
-
const r = zC(e) ? pd("MapSet").proxyMap_(e, t) : HC(e) ? pd("MapSet").proxySet_(e, t) :
|
|
44699
|
-
return (t ? t.scope_ :
|
|
44698
|
+
const r = zC(e) ? pd("MapSet").proxyMap_(e, t) : HC(e) ? pd("MapSet").proxySet_(e, t) : SZ(e, t);
|
|
44699
|
+
return (t ? t.scope_ : HF()).drafts_.push(r), r;
|
|
44700
44700
|
}
|
|
44701
|
-
function
|
|
44702
|
-
return vd(e) || $o(10, e),
|
|
44701
|
+
function xZ(e) {
|
|
44702
|
+
return vd(e) || $o(10, e), VF(e);
|
|
44703
44703
|
}
|
|
44704
|
-
function
|
|
44704
|
+
function VF(e) {
|
|
44705
44705
|
if (!Os(e) || BC(e))
|
|
44706
44706
|
return e;
|
|
44707
44707
|
const t = e[Jo];
|
|
@@ -44713,10 +44713,10 @@ function BF(e) {
|
|
|
44713
44713
|
} else
|
|
44714
44714
|
r = VT(e, !0);
|
|
44715
44715
|
return JS(r, (i, l) => {
|
|
44716
|
-
|
|
44716
|
+
zF(r, i, VF(l));
|
|
44717
44717
|
}), t && (t.finalized_ = !1), r;
|
|
44718
44718
|
}
|
|
44719
|
-
var el = new
|
|
44719
|
+
var el = new EZ(), nO = el.produce;
|
|
44720
44720
|
el.produceWithPatches.bind(
|
|
44721
44721
|
el
|
|
44722
44722
|
);
|
|
@@ -44725,7 +44725,7 @@ el.setUseStrictShallowCopy.bind(el);
|
|
|
44725
44725
|
el.applyPatches.bind(el);
|
|
44726
44726
|
el.createDraft.bind(el);
|
|
44727
44727
|
el.finishDraft.bind(el);
|
|
44728
|
-
function
|
|
44728
|
+
function wZ(e) {
|
|
44729
44729
|
var t = C.useState(function() {
|
|
44730
44730
|
return zg(typeof e == "function" ? e() : e, !0);
|
|
44731
44731
|
}), r = t[1];
|
|
@@ -44734,61 +44734,61 @@ function _Z(e) {
|
|
|
44734
44734
|
}, [])];
|
|
44735
44735
|
}
|
|
44736
44736
|
const kk = 1;
|
|
44737
|
-
var
|
|
44738
|
-
function
|
|
44739
|
-
var t =
|
|
44737
|
+
var UF = typeof global == "object" && global && global.Object === Object && global, _Z = typeof self == "object" && self && self.Object === Object && self, qc = UF || _Z || Function("return this")(), Bp = qc.Symbol, WF = Object.prototype, TZ = WF.hasOwnProperty, RZ = WF.toString, dg = Bp ? Bp.toStringTag : void 0;
|
|
44738
|
+
function OZ(e) {
|
|
44739
|
+
var t = TZ.call(e, dg), r = e[dg];
|
|
44740
44740
|
try {
|
|
44741
44741
|
e[dg] = void 0;
|
|
44742
44742
|
var i = !0;
|
|
44743
44743
|
} catch {
|
|
44744
44744
|
}
|
|
44745
|
-
var l =
|
|
44745
|
+
var l = RZ.call(e);
|
|
44746
44746
|
return i && (t ? e[dg] = r : delete e[dg]), l;
|
|
44747
44747
|
}
|
|
44748
|
-
var
|
|
44749
|
-
function
|
|
44750
|
-
return
|
|
44748
|
+
var NZ = Object.prototype, MZ = NZ.toString;
|
|
44749
|
+
function PZ(e) {
|
|
44750
|
+
return MZ.call(e);
|
|
44751
44751
|
}
|
|
44752
|
-
var
|
|
44752
|
+
var DZ = "[object Null]", kZ = "[object Undefined]", Ak = Bp ? Bp.toStringTag : void 0;
|
|
44753
44753
|
function uy(e) {
|
|
44754
|
-
return e == null ? e === void 0 ?
|
|
44754
|
+
return e == null ? e === void 0 ? kZ : DZ : Ak && Ak in Object(e) ? OZ(e) : PZ(e);
|
|
44755
44755
|
}
|
|
44756
44756
|
function VC(e) {
|
|
44757
44757
|
return e != null && typeof e == "object";
|
|
44758
44758
|
}
|
|
44759
|
-
function
|
|
44759
|
+
function AZ(e, t) {
|
|
44760
44760
|
for (var r = -1, i = e == null ? 0 : e.length, l = Array(i); ++r < i; )
|
|
44761
44761
|
l[r] = t(e[r], r, e);
|
|
44762
44762
|
return l;
|
|
44763
44763
|
}
|
|
44764
|
-
var
|
|
44764
|
+
var LZ = Array.isArray, Lk = Bp ? Bp.prototype : void 0;
|
|
44765
44765
|
Lk && Lk.toString;
|
|
44766
|
-
function
|
|
44766
|
+
function GF(e) {
|
|
44767
44767
|
var t = typeof e;
|
|
44768
44768
|
return e != null && (t == "object" || t == "function");
|
|
44769
44769
|
}
|
|
44770
|
-
function
|
|
44770
|
+
function KF(e) {
|
|
44771
44771
|
return e;
|
|
44772
44772
|
}
|
|
44773
|
-
var
|
|
44773
|
+
var $Z = "[object AsyncFunction]", IZ = "[object Function]", FZ = "[object GeneratorFunction]", jZ = "[object Proxy]";
|
|
44774
44774
|
function rO(e) {
|
|
44775
|
-
if (!
|
|
44775
|
+
if (!GF(e))
|
|
44776
44776
|
return !1;
|
|
44777
44777
|
var t = uy(e);
|
|
44778
|
-
return t ==
|
|
44778
|
+
return t == IZ || t == FZ || t == $Z || t == jZ;
|
|
44779
44779
|
}
|
|
44780
44780
|
var t_ = qc["__core-js_shared__"], $k = function() {
|
|
44781
44781
|
var e = /[^.]+$/.exec(t_ && t_.keys && t_.keys.IE_PROTO || "");
|
|
44782
44782
|
return e ? "Symbol(src)_1." + e : "";
|
|
44783
44783
|
}();
|
|
44784
|
-
function
|
|
44784
|
+
function zZ(e) {
|
|
44785
44785
|
return !!$k && $k in e;
|
|
44786
44786
|
}
|
|
44787
|
-
var
|
|
44787
|
+
var HZ = Function.prototype, BZ = HZ.toString;
|
|
44788
44788
|
function Ed(e) {
|
|
44789
44789
|
if (e != null) {
|
|
44790
44790
|
try {
|
|
44791
|
-
return
|
|
44791
|
+
return BZ.call(e);
|
|
44792
44792
|
} catch {
|
|
44793
44793
|
}
|
|
44794
44794
|
try {
|
|
@@ -44798,24 +44798,24 @@ function Ed(e) {
|
|
|
44798
44798
|
}
|
|
44799
44799
|
return "";
|
|
44800
44800
|
}
|
|
44801
|
-
var
|
|
44802
|
-
"^" +
|
|
44801
|
+
var VZ = /[\\^$.*+?()[\]{}|]/g, UZ = /^\[object .+?Constructor\]$/, WZ = Function.prototype, GZ = Object.prototype, KZ = WZ.toString, qZ = GZ.hasOwnProperty, YZ = RegExp(
|
|
44802
|
+
"^" + KZ.call(qZ).replace(VZ, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
44803
44803
|
);
|
|
44804
|
-
function
|
|
44805
|
-
if (!
|
|
44804
|
+
function XZ(e) {
|
|
44805
|
+
if (!GF(e) || zZ(e))
|
|
44806
44806
|
return !1;
|
|
44807
|
-
var t = rO(e) ?
|
|
44807
|
+
var t = rO(e) ? YZ : UZ;
|
|
44808
44808
|
return t.test(Ed(e));
|
|
44809
44809
|
}
|
|
44810
|
-
function
|
|
44810
|
+
function QZ(e, t) {
|
|
44811
44811
|
return e == null ? void 0 : e[t];
|
|
44812
44812
|
}
|
|
44813
44813
|
function xd(e, t) {
|
|
44814
|
-
var r =
|
|
44815
|
-
return
|
|
44814
|
+
var r = QZ(e, t);
|
|
44815
|
+
return XZ(r) ? r : void 0;
|
|
44816
44816
|
}
|
|
44817
44817
|
var qT = xd(qc, "WeakMap");
|
|
44818
|
-
function
|
|
44818
|
+
function ZZ(e, t, r) {
|
|
44819
44819
|
switch (r.length) {
|
|
44820
44820
|
case 0:
|
|
44821
44821
|
return e.call(t);
|
|
@@ -44828,20 +44828,20 @@ function JZ(e, t, r) {
|
|
|
44828
44828
|
}
|
|
44829
44829
|
return e.apply(t, r);
|
|
44830
44830
|
}
|
|
44831
|
-
var
|
|
44832
|
-
function
|
|
44831
|
+
var JZ = 800, eJ = 16, tJ = Date.now;
|
|
44832
|
+
function nJ(e) {
|
|
44833
44833
|
var t = 0, r = 0;
|
|
44834
44834
|
return function() {
|
|
44835
|
-
var i =
|
|
44835
|
+
var i = tJ(), l = eJ - (i - r);
|
|
44836
44836
|
if (r = i, l > 0) {
|
|
44837
|
-
if (++t >=
|
|
44837
|
+
if (++t >= JZ)
|
|
44838
44838
|
return arguments[0];
|
|
44839
44839
|
} else
|
|
44840
44840
|
t = 0;
|
|
44841
44841
|
return e.apply(void 0, arguments);
|
|
44842
44842
|
};
|
|
44843
44843
|
}
|
|
44844
|
-
function
|
|
44844
|
+
function rJ(e) {
|
|
44845
44845
|
return function() {
|
|
44846
44846
|
return e;
|
|
44847
44847
|
};
|
|
@@ -44852,158 +44852,158 @@ var Ik = function() {
|
|
|
44852
44852
|
return e({}, "", {}), e;
|
|
44853
44853
|
} catch {
|
|
44854
44854
|
}
|
|
44855
|
-
}(),
|
|
44855
|
+
}(), aJ = Ik ? function(e, t) {
|
|
44856
44856
|
return Ik(e, "toString", {
|
|
44857
44857
|
configurable: !0,
|
|
44858
44858
|
enumerable: !1,
|
|
44859
|
-
value:
|
|
44859
|
+
value: rJ(t),
|
|
44860
44860
|
writable: !0
|
|
44861
44861
|
});
|
|
44862
|
-
} :
|
|
44863
|
-
function
|
|
44862
|
+
} : KF, iJ = nJ(aJ);
|
|
44863
|
+
function oJ(e, t, r, i) {
|
|
44864
44864
|
for (var l = e.length, c = r + -1; ++c < l; )
|
|
44865
44865
|
if (t(e[c], c, e))
|
|
44866
44866
|
return c;
|
|
44867
44867
|
return -1;
|
|
44868
44868
|
}
|
|
44869
|
-
function
|
|
44869
|
+
function lJ(e) {
|
|
44870
44870
|
return e !== e;
|
|
44871
44871
|
}
|
|
44872
|
-
function
|
|
44872
|
+
function uJ(e, t, r) {
|
|
44873
44873
|
for (var i = r - 1, l = e.length; ++i < l; )
|
|
44874
44874
|
if (e[i] === t)
|
|
44875
44875
|
return i;
|
|
44876
44876
|
return -1;
|
|
44877
44877
|
}
|
|
44878
|
-
function
|
|
44879
|
-
return t === t ?
|
|
44878
|
+
function sJ(e, t, r) {
|
|
44879
|
+
return t === t ? uJ(e, t, r) : oJ(e, lJ, r);
|
|
44880
44880
|
}
|
|
44881
|
-
function
|
|
44881
|
+
function cJ(e, t) {
|
|
44882
44882
|
var r = e == null ? 0 : e.length;
|
|
44883
|
-
return !!r &&
|
|
44883
|
+
return !!r && sJ(e, t, 0) > -1;
|
|
44884
44884
|
}
|
|
44885
|
-
var
|
|
44886
|
-
function
|
|
44885
|
+
var fJ = 9007199254740991, dJ = /^(?:0|[1-9]\d*)$/;
|
|
44886
|
+
function vJ(e, t) {
|
|
44887
44887
|
var r = typeof e;
|
|
44888
|
-
return t = t ??
|
|
44888
|
+
return t = t ?? fJ, !!t && (r == "number" || r != "symbol" && dJ.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
44889
44889
|
}
|
|
44890
|
-
function
|
|
44890
|
+
function pJ(e, t) {
|
|
44891
44891
|
return e === t || e !== e && t !== t;
|
|
44892
44892
|
}
|
|
44893
44893
|
var Fk = Math.max;
|
|
44894
|
-
function
|
|
44894
|
+
function hJ(e, t, r) {
|
|
44895
44895
|
return t = Fk(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
44896
44896
|
for (var i = arguments, l = -1, c = Fk(i.length - t, 0), f = Array(c); ++l < c; )
|
|
44897
44897
|
f[l] = i[t + l];
|
|
44898
44898
|
l = -1;
|
|
44899
44899
|
for (var h = Array(t + 1); ++l < t; )
|
|
44900
44900
|
h[l] = i[l];
|
|
44901
|
-
return h[t] = r(f),
|
|
44901
|
+
return h[t] = r(f), ZZ(e, this, h);
|
|
44902
44902
|
};
|
|
44903
44903
|
}
|
|
44904
|
-
function
|
|
44905
|
-
return
|
|
44906
|
-
}
|
|
44907
|
-
var yJ = 9007199254740991;
|
|
44908
|
-
function KF(e) {
|
|
44909
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= yJ;
|
|
44904
|
+
function mJ(e, t) {
|
|
44905
|
+
return iJ(hJ(e, t, KF), e + "");
|
|
44910
44906
|
}
|
|
44907
|
+
var gJ = 9007199254740991;
|
|
44911
44908
|
function qF(e) {
|
|
44912
|
-
return e
|
|
44909
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= gJ;
|
|
44910
|
+
}
|
|
44911
|
+
function YF(e) {
|
|
44912
|
+
return e != null && qF(e.length) && !rO(e);
|
|
44913
44913
|
}
|
|
44914
|
-
var
|
|
44915
|
-
function
|
|
44916
|
-
var t = e && e.constructor, r = typeof t == "function" && t.prototype ||
|
|
44914
|
+
var yJ = Object.prototype;
|
|
44915
|
+
function bJ(e) {
|
|
44916
|
+
var t = e && e.constructor, r = typeof t == "function" && t.prototype || yJ;
|
|
44917
44917
|
return e === r;
|
|
44918
44918
|
}
|
|
44919
|
-
function
|
|
44919
|
+
function SJ(e, t) {
|
|
44920
44920
|
for (var r = -1, i = Array(e); ++r < e; )
|
|
44921
44921
|
i[r] = t(r);
|
|
44922
44922
|
return i;
|
|
44923
44923
|
}
|
|
44924
|
-
var
|
|
44924
|
+
var CJ = "[object Arguments]";
|
|
44925
44925
|
function jk(e) {
|
|
44926
|
-
return VC(e) && uy(e) ==
|
|
44926
|
+
return VC(e) && uy(e) == CJ;
|
|
44927
44927
|
}
|
|
44928
|
-
var
|
|
44928
|
+
var XF = Object.prototype, EJ = XF.hasOwnProperty, xJ = XF.propertyIsEnumerable, wJ = jk(/* @__PURE__ */ function() {
|
|
44929
44929
|
return arguments;
|
|
44930
44930
|
}()) ? jk : function(e) {
|
|
44931
|
-
return VC(e) &&
|
|
44931
|
+
return VC(e) && EJ.call(e, "callee") && !xJ.call(e, "callee");
|
|
44932
44932
|
};
|
|
44933
|
-
function
|
|
44933
|
+
function _J() {
|
|
44934
44934
|
return !1;
|
|
44935
44935
|
}
|
|
44936
|
-
var
|
|
44937
|
-
Vr[WJ] = Vr[GJ] = Vr[KJ] = Vr[qJ] = Vr[YJ] = Vr[XJ] = Vr[QJ] = Vr[ZJ] =
|
|
44938
|
-
Vr[MJ] = Vr[
|
|
44939
|
-
function
|
|
44940
|
-
return VC(e) &&
|
|
44936
|
+
var QF = typeof exports == "object" && exports && !exports.nodeType && exports, zk = QF && typeof module == "object" && module && !module.nodeType && module, TJ = zk && zk.exports === QF, Hk = TJ ? qc.Buffer : void 0, RJ = Hk ? Hk.isBuffer : void 0, OJ = RJ || _J, NJ = "[object Arguments]", MJ = "[object Array]", PJ = "[object Boolean]", DJ = "[object Date]", kJ = "[object Error]", AJ = "[object Function]", LJ = "[object Map]", $J = "[object Number]", IJ = "[object Object]", FJ = "[object RegExp]", jJ = "[object Set]", zJ = "[object String]", HJ = "[object WeakMap]", BJ = "[object ArrayBuffer]", VJ = "[object DataView]", UJ = "[object Float32Array]", WJ = "[object Float64Array]", GJ = "[object Int8Array]", KJ = "[object Int16Array]", qJ = "[object Int32Array]", YJ = "[object Uint8Array]", XJ = "[object Uint8ClampedArray]", QJ = "[object Uint16Array]", ZJ = "[object Uint32Array]", Vr = {};
|
|
44937
|
+
Vr[UJ] = Vr[WJ] = Vr[GJ] = Vr[KJ] = Vr[qJ] = Vr[YJ] = Vr[XJ] = Vr[QJ] = Vr[ZJ] = !0;
|
|
44938
|
+
Vr[NJ] = Vr[MJ] = Vr[BJ] = Vr[PJ] = Vr[VJ] = Vr[DJ] = Vr[kJ] = Vr[AJ] = Vr[LJ] = Vr[$J] = Vr[IJ] = Vr[FJ] = Vr[jJ] = Vr[zJ] = Vr[HJ] = !1;
|
|
44939
|
+
function JJ(e) {
|
|
44940
|
+
return VC(e) && qF(e.length) && !!Vr[uy(e)];
|
|
44941
44941
|
}
|
|
44942
|
-
function
|
|
44942
|
+
function eee(e) {
|
|
44943
44943
|
return function(t) {
|
|
44944
44944
|
return e(t);
|
|
44945
44945
|
};
|
|
44946
44946
|
}
|
|
44947
|
-
var
|
|
44947
|
+
var ZF = typeof exports == "object" && exports && !exports.nodeType && exports, _g = ZF && typeof module == "object" && module && !module.nodeType && module, tee = _g && _g.exports === ZF, n_ = tee && UF.process, Bk = function() {
|
|
44948
44948
|
try {
|
|
44949
44949
|
var e = _g && _g.require && _g.require("util").types;
|
|
44950
44950
|
return e || n_ && n_.binding && n_.binding("util");
|
|
44951
44951
|
} catch {
|
|
44952
44952
|
}
|
|
44953
|
-
}(), Vk = Bk && Bk.isTypedArray,
|
|
44954
|
-
function
|
|
44955
|
-
var r =
|
|
44953
|
+
}(), Vk = Bk && Bk.isTypedArray, nee = Vk ? eee(Vk) : JJ, ree = Object.prototype, aee = ree.hasOwnProperty;
|
|
44954
|
+
function iee(e, t) {
|
|
44955
|
+
var r = LZ(e), i = !r && wJ(e), l = !r && !i && OJ(e), c = !r && !i && !l && nee(e), f = r || i || l || c, h = f ? SJ(e.length, String) : [], m = h.length;
|
|
44956
44956
|
for (var y in e)
|
|
44957
|
-
|
|
44957
|
+
aee.call(e, y) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
44958
44958
|
(y == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
44959
44959
|
l && (y == "offset" || y == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
44960
44960
|
c && (y == "buffer" || y == "byteLength" || y == "byteOffset") || // Skip index properties.
|
|
44961
|
-
|
|
44961
|
+
vJ(y, m))) && h.push(y);
|
|
44962
44962
|
return h;
|
|
44963
44963
|
}
|
|
44964
|
-
function
|
|
44964
|
+
function oee(e, t) {
|
|
44965
44965
|
return function(r) {
|
|
44966
44966
|
return e(t(r));
|
|
44967
44967
|
};
|
|
44968
44968
|
}
|
|
44969
|
-
var
|
|
44970
|
-
function
|
|
44971
|
-
if (!
|
|
44972
|
-
return
|
|
44969
|
+
var lee = oee(Object.keys, Object), uee = Object.prototype, see = uee.hasOwnProperty;
|
|
44970
|
+
function cee(e) {
|
|
44971
|
+
if (!bJ(e))
|
|
44972
|
+
return lee(e);
|
|
44973
44973
|
var t = [];
|
|
44974
44974
|
for (var r in Object(e))
|
|
44975
|
-
|
|
44975
|
+
see.call(e, r) && r != "constructor" && t.push(r);
|
|
44976
44976
|
return t;
|
|
44977
44977
|
}
|
|
44978
|
-
function
|
|
44979
|
-
return
|
|
44978
|
+
function fee(e) {
|
|
44979
|
+
return YF(e) ? iee(e) : cee(e);
|
|
44980
44980
|
}
|
|
44981
44981
|
var Vg = xd(Object, "create");
|
|
44982
|
-
function
|
|
44982
|
+
function dee() {
|
|
44983
44983
|
this.__data__ = Vg ? Vg(null) : {}, this.size = 0;
|
|
44984
44984
|
}
|
|
44985
|
-
function
|
|
44985
|
+
function vee(e) {
|
|
44986
44986
|
var t = this.has(e) && delete this.__data__[e];
|
|
44987
44987
|
return this.size -= t ? 1 : 0, t;
|
|
44988
44988
|
}
|
|
44989
|
-
var
|
|
44990
|
-
function
|
|
44989
|
+
var pee = "__lodash_hash_undefined__", hee = Object.prototype, mee = hee.hasOwnProperty;
|
|
44990
|
+
function gee(e) {
|
|
44991
44991
|
var t = this.__data__;
|
|
44992
44992
|
if (Vg) {
|
|
44993
44993
|
var r = t[e];
|
|
44994
|
-
return r ===
|
|
44994
|
+
return r === pee ? void 0 : r;
|
|
44995
44995
|
}
|
|
44996
|
-
return
|
|
44996
|
+
return mee.call(t, e) ? t[e] : void 0;
|
|
44997
44997
|
}
|
|
44998
|
-
var
|
|
44999
|
-
function
|
|
44998
|
+
var yee = Object.prototype, bee = yee.hasOwnProperty;
|
|
44999
|
+
function See(e) {
|
|
45000
45000
|
var t = this.__data__;
|
|
45001
|
-
return Vg ? t[e] !== void 0 :
|
|
45001
|
+
return Vg ? t[e] !== void 0 : bee.call(t, e);
|
|
45002
45002
|
}
|
|
45003
|
-
var
|
|
45004
|
-
function
|
|
45003
|
+
var Cee = "__lodash_hash_undefined__";
|
|
45004
|
+
function Eee(e, t) {
|
|
45005
45005
|
var r = this.__data__;
|
|
45006
|
-
return this.size += this.has(e) ? 0 : 1, r[e] = Vg && t === void 0 ?
|
|
45006
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = Vg && t === void 0 ? Cee : t, this;
|
|
45007
45007
|
}
|
|
45008
45008
|
function hd(e) {
|
|
45009
45009
|
var t = -1, r = e == null ? 0 : e.length;
|
|
@@ -45012,36 +45012,36 @@ function hd(e) {
|
|
|
45012
45012
|
this.set(i[0], i[1]);
|
|
45013
45013
|
}
|
|
45014
45014
|
}
|
|
45015
|
-
hd.prototype.clear =
|
|
45016
|
-
hd.prototype.delete =
|
|
45017
|
-
hd.prototype.get =
|
|
45018
|
-
hd.prototype.has =
|
|
45019
|
-
hd.prototype.set =
|
|
45020
|
-
function
|
|
45015
|
+
hd.prototype.clear = dee;
|
|
45016
|
+
hd.prototype.delete = vee;
|
|
45017
|
+
hd.prototype.get = gee;
|
|
45018
|
+
hd.prototype.has = See;
|
|
45019
|
+
hd.prototype.set = Eee;
|
|
45020
|
+
function xee() {
|
|
45021
45021
|
this.__data__ = [], this.size = 0;
|
|
45022
45022
|
}
|
|
45023
45023
|
function UC(e, t) {
|
|
45024
45024
|
for (var r = e.length; r--; )
|
|
45025
|
-
if (
|
|
45025
|
+
if (pJ(e[r][0], t))
|
|
45026
45026
|
return r;
|
|
45027
45027
|
return -1;
|
|
45028
45028
|
}
|
|
45029
|
-
var
|
|
45030
|
-
function
|
|
45029
|
+
var wee = Array.prototype, _ee = wee.splice;
|
|
45030
|
+
function Tee(e) {
|
|
45031
45031
|
var t = this.__data__, r = UC(t, e);
|
|
45032
45032
|
if (r < 0)
|
|
45033
45033
|
return !1;
|
|
45034
45034
|
var i = t.length - 1;
|
|
45035
|
-
return r == i ? t.pop() :
|
|
45035
|
+
return r == i ? t.pop() : _ee.call(t, r, 1), --this.size, !0;
|
|
45036
45036
|
}
|
|
45037
|
-
function
|
|
45037
|
+
function Ree(e) {
|
|
45038
45038
|
var t = this.__data__, r = UC(t, e);
|
|
45039
45039
|
return r < 0 ? void 0 : t[r][1];
|
|
45040
45040
|
}
|
|
45041
|
-
function
|
|
45041
|
+
function Oee(e) {
|
|
45042
45042
|
return UC(this.__data__, e) > -1;
|
|
45043
45043
|
}
|
|
45044
|
-
function
|
|
45044
|
+
function Nee(e, t) {
|
|
45045
45045
|
var r = this.__data__, i = UC(r, e);
|
|
45046
45046
|
return i < 0 ? (++this.size, r.push([e, t])) : r[i][1] = t, this;
|
|
45047
45047
|
}
|
|
@@ -45052,38 +45052,38 @@ function Zp(e) {
|
|
|
45052
45052
|
this.set(i[0], i[1]);
|
|
45053
45053
|
}
|
|
45054
45054
|
}
|
|
45055
|
-
Zp.prototype.clear =
|
|
45056
|
-
Zp.prototype.delete =
|
|
45057
|
-
Zp.prototype.get =
|
|
45058
|
-
Zp.prototype.has =
|
|
45059
|
-
Zp.prototype.set =
|
|
45055
|
+
Zp.prototype.clear = xee;
|
|
45056
|
+
Zp.prototype.delete = Tee;
|
|
45057
|
+
Zp.prototype.get = Ree;
|
|
45058
|
+
Zp.prototype.has = Oee;
|
|
45059
|
+
Zp.prototype.set = Nee;
|
|
45060
45060
|
var nC = xd(qc, "Map");
|
|
45061
|
-
function
|
|
45061
|
+
function Mee() {
|
|
45062
45062
|
this.size = 0, this.__data__ = {
|
|
45063
45063
|
hash: new hd(),
|
|
45064
45064
|
map: new (nC || Zp)(),
|
|
45065
45065
|
string: new hd()
|
|
45066
45066
|
};
|
|
45067
45067
|
}
|
|
45068
|
-
function
|
|
45068
|
+
function Pee(e) {
|
|
45069
45069
|
var t = typeof e;
|
|
45070
45070
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
45071
45071
|
}
|
|
45072
45072
|
function WC(e, t) {
|
|
45073
45073
|
var r = e.__data__;
|
|
45074
|
-
return
|
|
45074
|
+
return Pee(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
45075
45075
|
}
|
|
45076
|
-
function
|
|
45076
|
+
function Dee(e) {
|
|
45077
45077
|
var t = WC(this, e).delete(e);
|
|
45078
45078
|
return this.size -= t ? 1 : 0, t;
|
|
45079
45079
|
}
|
|
45080
|
-
function
|
|
45080
|
+
function kee(e) {
|
|
45081
45081
|
return WC(this, e).get(e);
|
|
45082
45082
|
}
|
|
45083
|
-
function
|
|
45083
|
+
function Aee(e) {
|
|
45084
45084
|
return WC(this, e).has(e);
|
|
45085
45085
|
}
|
|
45086
|
-
function
|
|
45086
|
+
function Lee(e, t) {
|
|
45087
45087
|
var r = WC(this, e), i = r.size;
|
|
45088
45088
|
return r.set(e, t), this.size += r.size == i ? 0 : 1, this;
|
|
45089
45089
|
}
|
|
@@ -45094,34 +45094,34 @@ function Jp(e) {
|
|
|
45094
45094
|
this.set(i[0], i[1]);
|
|
45095
45095
|
}
|
|
45096
45096
|
}
|
|
45097
|
-
Jp.prototype.clear =
|
|
45098
|
-
Jp.prototype.delete =
|
|
45099
|
-
Jp.prototype.get =
|
|
45100
|
-
Jp.prototype.has =
|
|
45101
|
-
Jp.prototype.set =
|
|
45102
|
-
var YT = xd(qc, "DataView"), XT = xd(qc, "Promise"), QT = xd(qc, "Set"), Uk = "[object Map]",
|
|
45097
|
+
Jp.prototype.clear = Mee;
|
|
45098
|
+
Jp.prototype.delete = Dee;
|
|
45099
|
+
Jp.prototype.get = kee;
|
|
45100
|
+
Jp.prototype.has = Aee;
|
|
45101
|
+
Jp.prototype.set = Lee;
|
|
45102
|
+
var YT = xd(qc, "DataView"), XT = xd(qc, "Promise"), QT = xd(qc, "Set"), Uk = "[object Map]", $ee = "[object Object]", Wk = "[object Promise]", Gk = "[object Set]", Kk = "[object WeakMap]", qk = "[object DataView]", Iee = Ed(YT), Fee = Ed(nC), jee = Ed(XT), zee = Ed(QT), Hee = Ed(qT), nd = uy;
|
|
45103
45103
|
(YT && nd(new YT(new ArrayBuffer(1))) != qk || nC && nd(new nC()) != Uk || XT && nd(XT.resolve()) != Wk || QT && nd(new QT()) != Gk || qT && nd(new qT()) != Kk) && (nd = function(e) {
|
|
45104
|
-
var t = uy(e), r = t ==
|
|
45104
|
+
var t = uy(e), r = t == $ee ? e.constructor : void 0, i = r ? Ed(r) : "";
|
|
45105
45105
|
if (i)
|
|
45106
45106
|
switch (i) {
|
|
45107
|
-
case
|
|
45107
|
+
case Iee:
|
|
45108
45108
|
return qk;
|
|
45109
|
-
case
|
|
45109
|
+
case Fee:
|
|
45110
45110
|
return Uk;
|
|
45111
|
-
case
|
|
45111
|
+
case jee:
|
|
45112
45112
|
return Wk;
|
|
45113
|
-
case
|
|
45113
|
+
case zee:
|
|
45114
45114
|
return Gk;
|
|
45115
|
-
case
|
|
45115
|
+
case Hee:
|
|
45116
45116
|
return Kk;
|
|
45117
45117
|
}
|
|
45118
45118
|
return t;
|
|
45119
45119
|
});
|
|
45120
|
-
var
|
|
45121
|
-
function
|
|
45122
|
-
return this.__data__.set(e,
|
|
45120
|
+
var Bee = "__lodash_hash_undefined__";
|
|
45121
|
+
function Vee(e) {
|
|
45122
|
+
return this.__data__.set(e, Bee), this;
|
|
45123
45123
|
}
|
|
45124
|
-
function
|
|
45124
|
+
function Uee(e) {
|
|
45125
45125
|
return this.__data__.has(e);
|
|
45126
45126
|
}
|
|
45127
45127
|
function rC(e) {
|
|
@@ -45129,26 +45129,26 @@ function rC(e) {
|
|
|
45129
45129
|
for (this.__data__ = new Jp(); ++t < r; )
|
|
45130
45130
|
this.add(e[t]);
|
|
45131
45131
|
}
|
|
45132
|
-
rC.prototype.add = rC.prototype.push =
|
|
45133
|
-
rC.prototype.has =
|
|
45134
|
-
function
|
|
45132
|
+
rC.prototype.add = rC.prototype.push = Vee;
|
|
45133
|
+
rC.prototype.has = Uee;
|
|
45134
|
+
function Wee(e, t) {
|
|
45135
45135
|
return e.has(t);
|
|
45136
45136
|
}
|
|
45137
|
-
function
|
|
45137
|
+
function Gee(e) {
|
|
45138
45138
|
var t = -1, r = Array(e.size);
|
|
45139
45139
|
return e.forEach(function(i, l) {
|
|
45140
45140
|
r[++t] = [l, i];
|
|
45141
45141
|
}), r;
|
|
45142
45142
|
}
|
|
45143
|
-
function
|
|
45144
|
-
return VC(e) &&
|
|
45143
|
+
function Kee(e) {
|
|
45144
|
+
return VC(e) && YF(e);
|
|
45145
45145
|
}
|
|
45146
|
-
var
|
|
45147
|
-
function
|
|
45148
|
-
var l = -1, c =
|
|
45146
|
+
var qee = 200;
|
|
45147
|
+
function Yee(e, t, r, i) {
|
|
45148
|
+
var l = -1, c = cJ, f = !0, h = e.length, m = [], y = t.length;
|
|
45149
45149
|
if (!h)
|
|
45150
45150
|
return m;
|
|
45151
|
-
t.length >=
|
|
45151
|
+
t.length >= qee && (c = Wee, f = !1, t = new rC(t));
|
|
45152
45152
|
e:
|
|
45153
45153
|
for (; ++l < h; ) {
|
|
45154
45154
|
var b = e[l], E = b;
|
|
@@ -45161,33 +45161,33 @@ function Xee(e, t, r, i) {
|
|
|
45161
45161
|
}
|
|
45162
45162
|
return m;
|
|
45163
45163
|
}
|
|
45164
|
-
function
|
|
45165
|
-
return
|
|
45164
|
+
function Xee(e, t) {
|
|
45165
|
+
return AZ(t, function(r) {
|
|
45166
45166
|
return [r, e[r]];
|
|
45167
45167
|
});
|
|
45168
45168
|
}
|
|
45169
|
-
function
|
|
45169
|
+
function Qee(e) {
|
|
45170
45170
|
var t = -1, r = Array(e.size);
|
|
45171
45171
|
return e.forEach(function(i) {
|
|
45172
45172
|
r[++t] = [i, i];
|
|
45173
45173
|
}), r;
|
|
45174
45174
|
}
|
|
45175
|
-
var
|
|
45176
|
-
function
|
|
45175
|
+
var Zee = "[object Map]", Jee = "[object Set]";
|
|
45176
|
+
function ete(e) {
|
|
45177
45177
|
return function(t) {
|
|
45178
45178
|
var r = nd(t);
|
|
45179
|
-
return r ==
|
|
45179
|
+
return r == Zee ? Gee(t) : r == Jee ? Qee(t) : Xee(t, e(t));
|
|
45180
45180
|
};
|
|
45181
45181
|
}
|
|
45182
|
-
var
|
|
45183
|
-
function
|
|
45182
|
+
var tte = ete(fee);
|
|
45183
|
+
function nte(e) {
|
|
45184
45184
|
return e == null;
|
|
45185
45185
|
}
|
|
45186
|
-
var
|
|
45187
|
-
return
|
|
45188
|
-
}),
|
|
45186
|
+
var rte = mJ(function(e, t) {
|
|
45187
|
+
return Kee(e) ? Yee(e, t) : [];
|
|
45188
|
+
}), ate = [];
|
|
45189
45189
|
for (var r_ = 0; r_ < 256; ++r_)
|
|
45190
|
-
|
|
45190
|
+
ate.push((r_ + 256).toString(16).slice(1));
|
|
45191
45191
|
typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
45192
45192
|
class ad {
|
|
45193
45193
|
/**
|
|
@@ -45248,7 +45248,7 @@ class ad {
|
|
|
45248
45248
|
f = `[DEPRECATED] ${r}`, h += "background-color:#c41d7f;";
|
|
45249
45249
|
break;
|
|
45250
45250
|
}
|
|
45251
|
-
h += c || "", f = `[${new Date(Date.now() + 1e3 * 60 * 60 * 8).toISOString().substring(0, 23).replace("T", " ")}] [@kengic/vue] ${f}`, l ? console.groupCollapsed(`%c${f}`, h) : console.group(`%c${f}`, h),
|
|
45251
|
+
h += c || "", f = `[${new Date(Date.now() + 1e3 * 60 * 60 * 8).toISOString().substring(0, 23).replace("T", " ")}] [@kengic/vue] ${f}`, l ? console.groupCollapsed(`%c${f}`, h) : console.group(`%c${f}`, h), tte(i).forEach((m) => {
|
|
45252
45252
|
console.log(`%c${m[0]}:`, "color: #000; font-weight: bold;", m[1]);
|
|
45253
45253
|
}), console.trace(""), console.groupEnd();
|
|
45254
45254
|
}
|
|
@@ -45269,20 +45269,20 @@ class ad {
|
|
|
45269
45269
|
* @param collapsed 是否折叠.
|
|
45270
45270
|
*/
|
|
45271
45271
|
static debug(t, r = {}, i = !0) {
|
|
45272
|
-
|
|
45272
|
+
nte(new URL(window.location.href).searchParams.get("debug")) || (window.__KG_DEBUG__ = !0), window.__KG_DEBUG__ && ad.log("debug", t, r, i);
|
|
45273
45273
|
}
|
|
45274
45274
|
}
|
|
45275
45275
|
function ZT(e, t = {}, r = !0) {
|
|
45276
45276
|
ad.debug(e, t, r);
|
|
45277
45277
|
}
|
|
45278
|
-
function
|
|
45278
|
+
function ite(e) {
|
|
45279
45279
|
const { id: t = "", event: r, eventListenerListRecordRecord: i } = e ?? {};
|
|
45280
|
-
return (l, c) => rO(l) ? (c && (l.isOnce = !0),
|
|
45280
|
+
return (l, c) => rO(l) ? (c && (l.isOnce = !0), ote({
|
|
45281
45281
|
event: r,
|
|
45282
45282
|
eventListenerListRecordRecord: i,
|
|
45283
45283
|
id: t,
|
|
45284
45284
|
listener: l
|
|
45285
|
-
}), () =>
|
|
45285
|
+
}), () => JF({
|
|
45286
45286
|
event: r,
|
|
45287
45287
|
eventListenerListRecordRecord: i,
|
|
45288
45288
|
id: t,
|
|
@@ -45290,21 +45290,21 @@ function ote(e) {
|
|
|
45290
45290
|
})) : () => {
|
|
45291
45291
|
};
|
|
45292
45292
|
}
|
|
45293
|
-
function
|
|
45293
|
+
function ote(e) {
|
|
45294
45294
|
const { event: t, eventListenerListRecordRecord: r, id: i = "", listener: l } = e ?? {};
|
|
45295
45295
|
if (!t || !r || !l)
|
|
45296
45296
|
return;
|
|
45297
45297
|
let c = r[i];
|
|
45298
45298
|
c || (c = { [t]: [] }, r[i] = c), c[t] || (c[t] = []), c[t].includes(l) || c[t].push(l);
|
|
45299
45299
|
}
|
|
45300
|
-
function
|
|
45300
|
+
function JF(e) {
|
|
45301
45301
|
const { event: t, eventListenerListRecordRecord: r, id: i = "", listener: l } = e ?? {};
|
|
45302
45302
|
if (!t || !r)
|
|
45303
45303
|
return;
|
|
45304
45304
|
let c = r[i];
|
|
45305
|
-
c || (c = { [t]: [] }, r[i] = c), c[t] || (c[t] = []), l ? c[t] =
|
|
45305
|
+
c || (c = { [t]: [] }, r[i] = c), c[t] || (c[t] = []), l ? c[t] = rte(c[t], l) : c[t] = [];
|
|
45306
45306
|
}
|
|
45307
|
-
function
|
|
45307
|
+
function lte(e) {
|
|
45308
45308
|
const { event: t, eventListenerListRecordRecord: r, id: i = "", parameter: l } = e ?? {};
|
|
45309
45309
|
if (!t || !r)
|
|
45310
45310
|
return Promise.resolve(!1);
|
|
@@ -45321,7 +45321,7 @@ function ute(e) {
|
|
|
45321
45321
|
b.isOnce && !b.isDone && (b.isDone = !0, m.push(b)), h = b(l);
|
|
45322
45322
|
}
|
|
45323
45323
|
return m.forEach(
|
|
45324
|
-
(y) =>
|
|
45324
|
+
(y) => JF({
|
|
45325
45325
|
event: t,
|
|
45326
45326
|
eventListenerListRecordRecord: r,
|
|
45327
45327
|
id: i,
|
|
@@ -45329,8 +45329,8 @@ function ute(e) {
|
|
|
45329
45329
|
})
|
|
45330
45330
|
), h;
|
|
45331
45331
|
}
|
|
45332
|
-
function
|
|
45333
|
-
const { domRef: t, kgIsDragToMove: r, open: i } = e ?? {}, { width: l, height: c } =
|
|
45332
|
+
function ute(e) {
|
|
45333
|
+
const { domRef: t, kgIsDragToMove: r, open: i } = e ?? {}, { width: l, height: c } = dZ(document.documentElement) ?? { width: 0, height: 0 };
|
|
45334
45334
|
let f = 0, h = 0, m = 0, y = 0, b = 0, E = 0, _ = 0, N = 0, M = {
|
|
45335
45335
|
remove: () => {
|
|
45336
45336
|
}
|
|
@@ -45378,74 +45378,74 @@ function ste(e) {
|
|
|
45378
45378
|
};
|
|
45379
45379
|
}, [t, r, i]);
|
|
45380
45380
|
}
|
|
45381
|
-
function
|
|
45381
|
+
function ste({}) {
|
|
45382
45382
|
return /* @__PURE__ */ wn.jsx("div", { className: "kgcrant-kg-modal--header--buttons--close", children: /* @__PURE__ */ wn.jsx(m_, { icon: "ant-design:close-outlined" }) });
|
|
45383
45383
|
}
|
|
45384
|
-
var
|
|
45385
|
-
function
|
|
45386
|
-
var t =
|
|
45384
|
+
var cte = typeof global == "object" && global && global.Object === Object && global, fte = typeof self == "object" && self && self.Object === Object && self, aO = cte || fte || Function("return this")(), Vp = aO.Symbol, ej = Object.prototype, dte = ej.hasOwnProperty, vte = ej.toString, vg = Vp ? Vp.toStringTag : void 0;
|
|
45385
|
+
function pte(e) {
|
|
45386
|
+
var t = dte.call(e, vg), r = e[vg];
|
|
45387
45387
|
try {
|
|
45388
45388
|
e[vg] = void 0;
|
|
45389
45389
|
var i = !0;
|
|
45390
45390
|
} catch {
|
|
45391
45391
|
}
|
|
45392
|
-
var l =
|
|
45392
|
+
var l = vte.call(e);
|
|
45393
45393
|
return i && (t ? e[vg] = r : delete e[vg]), l;
|
|
45394
45394
|
}
|
|
45395
|
-
var
|
|
45396
|
-
function
|
|
45397
|
-
return
|
|
45395
|
+
var hte = Object.prototype, mte = hte.toString;
|
|
45396
|
+
function gte(e) {
|
|
45397
|
+
return mte.call(e);
|
|
45398
45398
|
}
|
|
45399
|
-
var
|
|
45400
|
-
function
|
|
45401
|
-
return e == null ? e === void 0 ?
|
|
45399
|
+
var yte = "[object Null]", bte = "[object Undefined]", Yk = Vp ? Vp.toStringTag : void 0;
|
|
45400
|
+
function tj(e) {
|
|
45401
|
+
return e == null ? e === void 0 ? bte : yte : Yk && Yk in Object(e) ? pte(e) : gte(e);
|
|
45402
45402
|
}
|
|
45403
|
-
function
|
|
45403
|
+
function Ste(e) {
|
|
45404
45404
|
return e != null && typeof e == "object";
|
|
45405
45405
|
}
|
|
45406
|
-
var
|
|
45406
|
+
var Cte = "[object Symbol]";
|
|
45407
45407
|
function iO(e) {
|
|
45408
|
-
return typeof e == "symbol" ||
|
|
45408
|
+
return typeof e == "symbol" || Ste(e) && tj(e) == Cte;
|
|
45409
45409
|
}
|
|
45410
|
-
function
|
|
45410
|
+
function Ete(e, t) {
|
|
45411
45411
|
for (var r = -1, i = e == null ? 0 : e.length, l = Array(i); ++r < i; )
|
|
45412
45412
|
l[r] = t(e[r], r, e);
|
|
45413
45413
|
return l;
|
|
45414
45414
|
}
|
|
45415
|
-
var oO = Array.isArray,
|
|
45416
|
-
function
|
|
45415
|
+
var oO = Array.isArray, xte = 1 / 0, Xk = Vp ? Vp.prototype : void 0, Qk = Xk ? Xk.toString : void 0;
|
|
45416
|
+
function nj(e) {
|
|
45417
45417
|
if (typeof e == "string")
|
|
45418
45418
|
return e;
|
|
45419
45419
|
if (oO(e))
|
|
45420
|
-
return
|
|
45420
|
+
return Ete(e, nj) + "";
|
|
45421
45421
|
if (iO(e))
|
|
45422
45422
|
return Qk ? Qk.call(e) : "";
|
|
45423
45423
|
var t = e + "";
|
|
45424
|
-
return t == "0" && 1 / e == -
|
|
45424
|
+
return t == "0" && 1 / e == -xte ? "-0" : t;
|
|
45425
45425
|
}
|
|
45426
|
-
function
|
|
45426
|
+
function rj(e) {
|
|
45427
45427
|
var t = typeof e;
|
|
45428
45428
|
return e != null && (t == "object" || t == "function");
|
|
45429
45429
|
}
|
|
45430
|
-
var
|
|
45431
|
-
function
|
|
45432
|
-
if (!
|
|
45430
|
+
var wte = "[object AsyncFunction]", _te = "[object Function]", Tte = "[object GeneratorFunction]", Rte = "[object Proxy]";
|
|
45431
|
+
function Ote(e) {
|
|
45432
|
+
if (!rj(e))
|
|
45433
45433
|
return !1;
|
|
45434
|
-
var t =
|
|
45435
|
-
return t ==
|
|
45434
|
+
var t = tj(e);
|
|
45435
|
+
return t == _te || t == Tte || t == wte || t == Rte;
|
|
45436
45436
|
}
|
|
45437
45437
|
var a_ = aO["__core-js_shared__"], Zk = function() {
|
|
45438
45438
|
var e = /[^.]+$/.exec(a_ && a_.keys && a_.keys.IE_PROTO || "");
|
|
45439
45439
|
return e ? "Symbol(src)_1." + e : "";
|
|
45440
45440
|
}();
|
|
45441
|
-
function
|
|
45441
|
+
function Nte(e) {
|
|
45442
45442
|
return !!Zk && Zk in e;
|
|
45443
45443
|
}
|
|
45444
|
-
var
|
|
45445
|
-
function
|
|
45444
|
+
var Mte = Function.prototype, Pte = Mte.toString;
|
|
45445
|
+
function Dte(e) {
|
|
45446
45446
|
if (e != null) {
|
|
45447
45447
|
try {
|
|
45448
|
-
return
|
|
45448
|
+
return Pte.call(e);
|
|
45449
45449
|
} catch {
|
|
45450
45450
|
}
|
|
45451
45451
|
try {
|
|
@@ -45455,58 +45455,58 @@ function kte(e) {
|
|
|
45455
45455
|
}
|
|
45456
45456
|
return "";
|
|
45457
45457
|
}
|
|
45458
|
-
var
|
|
45459
|
-
"^" +
|
|
45458
|
+
var kte = /[\\^$.*+?()[\]{}|]/g, Ate = /^\[object .+?Constructor\]$/, Lte = Function.prototype, $te = Object.prototype, Ite = Lte.toString, Fte = $te.hasOwnProperty, jte = RegExp(
|
|
45459
|
+
"^" + Ite.call(Fte).replace(kte, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
45460
45460
|
);
|
|
45461
|
-
function
|
|
45462
|
-
if (!
|
|
45461
|
+
function zte(e) {
|
|
45462
|
+
if (!rj(e) || Nte(e))
|
|
45463
45463
|
return !1;
|
|
45464
|
-
var t =
|
|
45465
|
-
return t.test(
|
|
45464
|
+
var t = Ote(e) ? jte : Ate;
|
|
45465
|
+
return t.test(Dte(e));
|
|
45466
45466
|
}
|
|
45467
|
-
function
|
|
45467
|
+
function Hte(e, t) {
|
|
45468
45468
|
return e == null ? void 0 : e[t];
|
|
45469
45469
|
}
|
|
45470
|
-
function
|
|
45471
|
-
var r =
|
|
45472
|
-
return
|
|
45470
|
+
function aj(e, t) {
|
|
45471
|
+
var r = Hte(e, t);
|
|
45472
|
+
return zte(r) ? r : void 0;
|
|
45473
45473
|
}
|
|
45474
|
-
function
|
|
45474
|
+
function Bte(e, t) {
|
|
45475
45475
|
return e === t || e !== e && t !== t;
|
|
45476
45476
|
}
|
|
45477
|
-
var
|
|
45478
|
-
function
|
|
45477
|
+
var Vte = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ute = /^\w*$/;
|
|
45478
|
+
function Wte(e, t) {
|
|
45479
45479
|
if (oO(e))
|
|
45480
45480
|
return !1;
|
|
45481
45481
|
var r = typeof e;
|
|
45482
|
-
return r == "number" || r == "symbol" || r == "boolean" || e == null || iO(e) ? !0 :
|
|
45482
|
+
return r == "number" || r == "symbol" || r == "boolean" || e == null || iO(e) ? !0 : Ute.test(e) || !Vte.test(e) || t != null && e in Object(t);
|
|
45483
45483
|
}
|
|
45484
|
-
var Ug =
|
|
45485
|
-
function
|
|
45484
|
+
var Ug = aj(Object, "create");
|
|
45485
|
+
function Gte() {
|
|
45486
45486
|
this.__data__ = Ug ? Ug(null) : {}, this.size = 0;
|
|
45487
45487
|
}
|
|
45488
|
-
function
|
|
45488
|
+
function Kte(e) {
|
|
45489
45489
|
var t = this.has(e) && delete this.__data__[e];
|
|
45490
45490
|
return this.size -= t ? 1 : 0, t;
|
|
45491
45491
|
}
|
|
45492
|
-
var
|
|
45493
|
-
function
|
|
45492
|
+
var qte = "__lodash_hash_undefined__", Yte = Object.prototype, Xte = Yte.hasOwnProperty;
|
|
45493
|
+
function Qte(e) {
|
|
45494
45494
|
var t = this.__data__;
|
|
45495
45495
|
if (Ug) {
|
|
45496
45496
|
var r = t[e];
|
|
45497
|
-
return r ===
|
|
45497
|
+
return r === qte ? void 0 : r;
|
|
45498
45498
|
}
|
|
45499
|
-
return
|
|
45499
|
+
return Xte.call(t, e) ? t[e] : void 0;
|
|
45500
45500
|
}
|
|
45501
|
-
var
|
|
45502
|
-
function
|
|
45501
|
+
var Zte = Object.prototype, Jte = Zte.hasOwnProperty;
|
|
45502
|
+
function ene(e) {
|
|
45503
45503
|
var t = this.__data__;
|
|
45504
|
-
return Ug ? t[e] !== void 0 :
|
|
45504
|
+
return Ug ? t[e] !== void 0 : Jte.call(t, e);
|
|
45505
45505
|
}
|
|
45506
|
-
var
|
|
45507
|
-
function
|
|
45506
|
+
var tne = "__lodash_hash_undefined__";
|
|
45507
|
+
function nne(e, t) {
|
|
45508
45508
|
var r = this.__data__;
|
|
45509
|
-
return this.size += this.has(e) ? 0 : 1, r[e] = Ug && t === void 0 ?
|
|
45509
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = Ug && t === void 0 ? tne : t, this;
|
|
45510
45510
|
}
|
|
45511
45511
|
function md(e) {
|
|
45512
45512
|
var t = -1, r = e == null ? 0 : e.length;
|
|
@@ -45515,36 +45515,36 @@ function md(e) {
|
|
|
45515
45515
|
this.set(i[0], i[1]);
|
|
45516
45516
|
}
|
|
45517
45517
|
}
|
|
45518
|
-
md.prototype.clear =
|
|
45519
|
-
md.prototype.delete =
|
|
45520
|
-
md.prototype.get =
|
|
45521
|
-
md.prototype.has =
|
|
45522
|
-
md.prototype.set =
|
|
45523
|
-
function
|
|
45518
|
+
md.prototype.clear = Gte;
|
|
45519
|
+
md.prototype.delete = Kte;
|
|
45520
|
+
md.prototype.get = Qte;
|
|
45521
|
+
md.prototype.has = ene;
|
|
45522
|
+
md.prototype.set = nne;
|
|
45523
|
+
function rne() {
|
|
45524
45524
|
this.__data__ = [], this.size = 0;
|
|
45525
45525
|
}
|
|
45526
45526
|
function GC(e, t) {
|
|
45527
45527
|
for (var r = e.length; r--; )
|
|
45528
|
-
if (
|
|
45528
|
+
if (Bte(e[r][0], t))
|
|
45529
45529
|
return r;
|
|
45530
45530
|
return -1;
|
|
45531
45531
|
}
|
|
45532
|
-
var
|
|
45533
|
-
function
|
|
45532
|
+
var ane = Array.prototype, ine = ane.splice;
|
|
45533
|
+
function one(e) {
|
|
45534
45534
|
var t = this.__data__, r = GC(t, e);
|
|
45535
45535
|
if (r < 0)
|
|
45536
45536
|
return !1;
|
|
45537
45537
|
var i = t.length - 1;
|
|
45538
|
-
return r == i ? t.pop() :
|
|
45538
|
+
return r == i ? t.pop() : ine.call(t, r, 1), --this.size, !0;
|
|
45539
45539
|
}
|
|
45540
|
-
function
|
|
45540
|
+
function lne(e) {
|
|
45541
45541
|
var t = this.__data__, r = GC(t, e);
|
|
45542
45542
|
return r < 0 ? void 0 : t[r][1];
|
|
45543
45543
|
}
|
|
45544
|
-
function
|
|
45544
|
+
function une(e) {
|
|
45545
45545
|
return GC(this.__data__, e) > -1;
|
|
45546
45546
|
}
|
|
45547
|
-
function
|
|
45547
|
+
function sne(e, t) {
|
|
45548
45548
|
var r = this.__data__, i = GC(r, e);
|
|
45549
45549
|
return i < 0 ? (++this.size, r.push([e, t])) : r[i][1] = t, this;
|
|
45550
45550
|
}
|
|
@@ -45555,38 +45555,38 @@ function eh(e) {
|
|
|
45555
45555
|
this.set(i[0], i[1]);
|
|
45556
45556
|
}
|
|
45557
45557
|
}
|
|
45558
|
-
eh.prototype.clear =
|
|
45559
|
-
eh.prototype.delete =
|
|
45560
|
-
eh.prototype.get =
|
|
45561
|
-
eh.prototype.has =
|
|
45562
|
-
eh.prototype.set =
|
|
45563
|
-
var
|
|
45564
|
-
function
|
|
45558
|
+
eh.prototype.clear = rne;
|
|
45559
|
+
eh.prototype.delete = one;
|
|
45560
|
+
eh.prototype.get = lne;
|
|
45561
|
+
eh.prototype.has = une;
|
|
45562
|
+
eh.prototype.set = sne;
|
|
45563
|
+
var cne = aj(aO, "Map");
|
|
45564
|
+
function fne() {
|
|
45565
45565
|
this.size = 0, this.__data__ = {
|
|
45566
45566
|
hash: new md(),
|
|
45567
|
-
map: new (
|
|
45567
|
+
map: new (cne || eh)(),
|
|
45568
45568
|
string: new md()
|
|
45569
45569
|
};
|
|
45570
45570
|
}
|
|
45571
|
-
function
|
|
45571
|
+
function dne(e) {
|
|
45572
45572
|
var t = typeof e;
|
|
45573
45573
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
45574
45574
|
}
|
|
45575
45575
|
function KC(e, t) {
|
|
45576
45576
|
var r = e.__data__;
|
|
45577
|
-
return
|
|
45577
|
+
return dne(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
45578
45578
|
}
|
|
45579
|
-
function
|
|
45579
|
+
function vne(e) {
|
|
45580
45580
|
var t = KC(this, e).delete(e);
|
|
45581
45581
|
return this.size -= t ? 1 : 0, t;
|
|
45582
45582
|
}
|
|
45583
|
-
function
|
|
45583
|
+
function pne(e) {
|
|
45584
45584
|
return KC(this, e).get(e);
|
|
45585
45585
|
}
|
|
45586
|
-
function
|
|
45586
|
+
function hne(e) {
|
|
45587
45587
|
return KC(this, e).has(e);
|
|
45588
45588
|
}
|
|
45589
|
-
function
|
|
45589
|
+
function mne(e, t) {
|
|
45590
45590
|
var r = KC(this, e), i = r.size;
|
|
45591
45591
|
return r.set(e, t), this.size += r.size == i ? 0 : 1, this;
|
|
45592
45592
|
}
|
|
@@ -45597,15 +45597,15 @@ function wd(e) {
|
|
|
45597
45597
|
this.set(i[0], i[1]);
|
|
45598
45598
|
}
|
|
45599
45599
|
}
|
|
45600
|
-
wd.prototype.clear =
|
|
45601
|
-
wd.prototype.delete =
|
|
45602
|
-
wd.prototype.get =
|
|
45603
|
-
wd.prototype.has =
|
|
45604
|
-
wd.prototype.set =
|
|
45605
|
-
var
|
|
45600
|
+
wd.prototype.clear = fne;
|
|
45601
|
+
wd.prototype.delete = vne;
|
|
45602
|
+
wd.prototype.get = pne;
|
|
45603
|
+
wd.prototype.has = hne;
|
|
45604
|
+
wd.prototype.set = mne;
|
|
45605
|
+
var gne = "Expected a function";
|
|
45606
45606
|
function lO(e, t) {
|
|
45607
45607
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
45608
|
-
throw new TypeError(
|
|
45608
|
+
throw new TypeError(gne);
|
|
45609
45609
|
var r = function() {
|
|
45610
45610
|
var i = arguments, l = t ? t.apply(this, i) : i[0], c = r.cache;
|
|
45611
45611
|
if (c.has(l))
|
|
@@ -45616,56 +45616,56 @@ function lO(e, t) {
|
|
|
45616
45616
|
return r.cache = new (lO.Cache || wd)(), r;
|
|
45617
45617
|
}
|
|
45618
45618
|
lO.Cache = wd;
|
|
45619
|
-
var
|
|
45620
|
-
function
|
|
45619
|
+
var yne = 500;
|
|
45620
|
+
function bne(e) {
|
|
45621
45621
|
var t = lO(e, function(i) {
|
|
45622
|
-
return r.size ===
|
|
45622
|
+
return r.size === yne && r.clear(), i;
|
|
45623
45623
|
}), r = t.cache;
|
|
45624
45624
|
return t;
|
|
45625
45625
|
}
|
|
45626
|
-
var
|
|
45626
|
+
var Sne = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Cne = /\\(\\)?/g, Ene = bne(function(e) {
|
|
45627
45627
|
var t = [];
|
|
45628
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
45629
|
-
t.push(l ? c.replace(
|
|
45628
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Sne, function(r, i, l, c) {
|
|
45629
|
+
t.push(l ? c.replace(Cne, "$1") : i || r);
|
|
45630
45630
|
}), t;
|
|
45631
45631
|
});
|
|
45632
|
-
function
|
|
45633
|
-
return e == null ? "" :
|
|
45632
|
+
function xne(e) {
|
|
45633
|
+
return e == null ? "" : nj(e);
|
|
45634
45634
|
}
|
|
45635
|
-
function
|
|
45636
|
-
return oO(e) ? e :
|
|
45635
|
+
function wne(e, t) {
|
|
45636
|
+
return oO(e) ? e : Wte(e, t) ? [e] : Ene(xne(e));
|
|
45637
45637
|
}
|
|
45638
|
-
var
|
|
45639
|
-
function
|
|
45638
|
+
var _ne = 1 / 0;
|
|
45639
|
+
function Tne(e) {
|
|
45640
45640
|
if (typeof e == "string" || iO(e))
|
|
45641
45641
|
return e;
|
|
45642
45642
|
var t = e + "";
|
|
45643
|
-
return t == "0" && 1 / e == -
|
|
45643
|
+
return t == "0" && 1 / e == -_ne ? "-0" : t;
|
|
45644
45644
|
}
|
|
45645
|
-
function
|
|
45646
|
-
t =
|
|
45645
|
+
function Rne(e, t) {
|
|
45646
|
+
t = wne(t, e);
|
|
45647
45647
|
for (var r = 0, i = t.length; e != null && r < i; )
|
|
45648
|
-
e = e[
|
|
45648
|
+
e = e[Tne(t[r++])];
|
|
45649
45649
|
return r && r == i ? e : void 0;
|
|
45650
45650
|
}
|
|
45651
|
-
function
|
|
45652
|
-
var i = e == null ? void 0 :
|
|
45651
|
+
function One(e, t, r) {
|
|
45652
|
+
var i = e == null ? void 0 : Rne(e, t);
|
|
45653
45653
|
return i === void 0 ? r : i;
|
|
45654
45654
|
}
|
|
45655
|
-
const
|
|
45656
|
-
function
|
|
45657
|
-
return /* @__PURE__ */ wn.jsx(
|
|
45655
|
+
const ij = C.createContext({});
|
|
45656
|
+
function Nne({ children: e, value: t }) {
|
|
45657
|
+
return /* @__PURE__ */ wn.jsx(ij.Provider, { value: t, children: e });
|
|
45658
45658
|
}
|
|
45659
|
-
function
|
|
45660
|
-
return C.useContext(
|
|
45659
|
+
function Mne() {
|
|
45660
|
+
return C.useContext(ij);
|
|
45661
45661
|
}
|
|
45662
|
-
function
|
|
45663
|
-
const e = C.useRef(null), t =
|
|
45662
|
+
function Pne({}) {
|
|
45663
|
+
const e = C.useRef(null), t = Mne(), [r, i] = C.useState(t.kgIsDefaultFullscreen ?? !1);
|
|
45664
45664
|
function l(c) {
|
|
45665
45665
|
c.stopPropagation(), c.preventDefault(), i((f) => !f);
|
|
45666
45666
|
}
|
|
45667
45667
|
return C.useEffect(() => {
|
|
45668
|
-
const c =
|
|
45668
|
+
const c = One(e.current, "parentElement.parentElement.parentElement.parentElement.parentElement.parentElement");
|
|
45669
45669
|
c && (r ? c.classList.add("kgcrant-kg-modal--fullscreen") : c.classList.remove("kgcrant-kg-modal--fullscreen"));
|
|
45670
45670
|
}, [r]), /* @__PURE__ */ wn.jsxs(
|
|
45671
45671
|
"div",
|
|
@@ -45680,21 +45680,21 @@ function Dne({}) {
|
|
|
45680
45680
|
}
|
|
45681
45681
|
);
|
|
45682
45682
|
}
|
|
45683
|
-
function
|
|
45683
|
+
function Dne({}) {
|
|
45684
45684
|
return /* @__PURE__ */ wn.jsxs(wn.Fragment, { children: [
|
|
45685
|
-
/* @__PURE__ */ wn.jsx(
|
|
45686
|
-
/* @__PURE__ */ wn.jsx(
|
|
45685
|
+
/* @__PURE__ */ wn.jsx(Pne, {}),
|
|
45686
|
+
/* @__PURE__ */ wn.jsx(ste, {})
|
|
45687
45687
|
] });
|
|
45688
45688
|
}
|
|
45689
|
-
function
|
|
45689
|
+
function oj({ children: e, closeIcon: t, ...r }) {
|
|
45690
45690
|
const i = C.useRef(null), l = (() => {
|
|
45691
45691
|
let c = { ...r };
|
|
45692
45692
|
return c.closable = !0, c.wrapClassName = c.wrapClassName ? `${c.wrapClassName} kgcrant-kg-modal` : "kgcrant-kg-modal", c.centered = c.centered !== void 0 ? c.centered : !0, c.keyboard = c.keyboard !== void 0 ? c.keyboard : !1, c.maskClosable = c.maskClosable !== void 0 ? c.maskClosable : !1, c.okButtonProps = c.okButtonProps !== void 0 ? c.okButtonProps : {}, c.cancelButtonProps = c.cancelButtonProps !== void 0 ? c.cancelButtonProps : {}, c.kgIsDragToMove = c.kgIsDragToMove !== void 0 ? c.kgIsDragToMove : !0, r.kgShowOkButton || (c.okButtonProps.className = "kgcrant-kg-invisible"), r.kgShowCancelButton || (c.cancelButtonProps.className = "kgcrant-kg-invisible"), r.kgFullHeight && (c.wrapClassName += " kgcrant-kg-modal--full-height"), c;
|
|
45693
45693
|
})();
|
|
45694
|
-
return
|
|
45694
|
+
return ute({ domRef: i, kgIsDragToMove: !!l.kgIsDragToMove, open: !!l.open }), /* @__PURE__ */ wn.jsx(Nne, { value: r, children: /* @__PURE__ */ wn.jsxs(
|
|
45695
45695
|
Sl,
|
|
45696
45696
|
{
|
|
45697
|
-
closeIcon: /* @__PURE__ */ wn.jsx(
|
|
45697
|
+
closeIcon: /* @__PURE__ */ wn.jsx(Dne, {}),
|
|
45698
45698
|
...l,
|
|
45699
45699
|
children: [
|
|
45700
45700
|
e,
|
|
@@ -45703,7 +45703,7 @@ function ij({ children: e, closeIcon: t, ...r }) {
|
|
|
45703
45703
|
}
|
|
45704
45704
|
) });
|
|
45705
45705
|
}
|
|
45706
|
-
function
|
|
45706
|
+
function kne(e) {
|
|
45707
45707
|
const [t, r] = C.useState("variable"), i = [
|
|
45708
45708
|
{
|
|
45709
45709
|
key: "variable",
|
|
@@ -45744,7 +45744,7 @@ function Ane(e) {
|
|
|
45744
45744
|
(f = e.onClose) == null || f.call(e);
|
|
45745
45745
|
}
|
|
45746
45746
|
return /* @__PURE__ */ wn.jsx(wn.Fragment, { children: /* @__PURE__ */ wn.jsx(
|
|
45747
|
-
|
|
45747
|
+
oj,
|
|
45748
45748
|
{
|
|
45749
45749
|
open: e.open,
|
|
45750
45750
|
title: "NULL",
|
|
@@ -45767,9 +45767,9 @@ function Ane(e) {
|
|
|
45767
45767
|
}
|
|
45768
45768
|
) });
|
|
45769
45769
|
}
|
|
45770
|
-
function
|
|
45771
|
-
const [e, t] =
|
|
45772
|
-
|
|
45770
|
+
function Ane() {
|
|
45771
|
+
const [e, t] = wZ({ open: !1 });
|
|
45772
|
+
uZ(["ctrl.shift.f7"], () => {
|
|
45773
45773
|
r();
|
|
45774
45774
|
});
|
|
45775
45775
|
function r() {
|
|
@@ -45785,14 +45785,14 @@ function Lne() {
|
|
|
45785
45785
|
});
|
|
45786
45786
|
}
|
|
45787
45787
|
return /* @__PURE__ */ wn.jsx(wn.Fragment, { children: e.open && /* @__PURE__ */ wn.jsx(
|
|
45788
|
-
|
|
45788
|
+
kne,
|
|
45789
45789
|
{
|
|
45790
45790
|
open: e.open,
|
|
45791
45791
|
onClose: i
|
|
45792
45792
|
}
|
|
45793
45793
|
) });
|
|
45794
45794
|
}
|
|
45795
|
-
class
|
|
45795
|
+
class Lne extends HTMLElement {
|
|
45796
45796
|
constructor() {
|
|
45797
45797
|
super();
|
|
45798
45798
|
gw(this, "unmount", null);
|
|
@@ -45800,7 +45800,7 @@ class $ne extends HTMLElement {
|
|
|
45800
45800
|
connectedCallback() {
|
|
45801
45801
|
const r = FS(this);
|
|
45802
45802
|
r.render(
|
|
45803
|
-
/* @__PURE__ */ wn.jsx(NF, { id: this.id, children: /* @__PURE__ */ wn.jsx(
|
|
45803
|
+
/* @__PURE__ */ wn.jsx(NF, { id: this.id, children: /* @__PURE__ */ wn.jsx(Ane, {}) })
|
|
45804
45804
|
), this.unmount = () => r.unmount();
|
|
45805
45805
|
}
|
|
45806
45806
|
disconnectedCallback() {
|
|
@@ -45808,8 +45808,8 @@ class $ne extends HTMLElement {
|
|
|
45808
45808
|
(r = this.unmount) == null || r.call(this), this.unmount = null;
|
|
45809
45809
|
}
|
|
45810
45810
|
}
|
|
45811
|
-
function
|
|
45812
|
-
customElements.define("kg-var-config",
|
|
45811
|
+
function $ne() {
|
|
45812
|
+
customElements.define("kg-var-config", Lne);
|
|
45813
45813
|
}
|
|
45814
45814
|
var JT = { exports: {} }, i_ = {};
|
|
45815
45815
|
/**
|
|
@@ -45822,7 +45822,7 @@ var JT = { exports: {} }, i_ = {};
|
|
|
45822
45822
|
* LICENSE file in the root directory of this source tree.
|
|
45823
45823
|
*/
|
|
45824
45824
|
var Jk;
|
|
45825
|
-
function
|
|
45825
|
+
function Ine() {
|
|
45826
45826
|
if (Jk) return i_;
|
|
45827
45827
|
Jk = 1;
|
|
45828
45828
|
var e = C;
|
|
@@ -45873,7 +45873,7 @@ var o_ = {};
|
|
|
45873
45873
|
* LICENSE file in the root directory of this source tree.
|
|
45874
45874
|
*/
|
|
45875
45875
|
var eA;
|
|
45876
|
-
function
|
|
45876
|
+
function Fne() {
|
|
45877
45877
|
return eA || (eA = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45878
45878
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
45879
45879
|
var e = C;
|
|
@@ -45918,8 +45918,8 @@ function jne() {
|
|
|
45918
45918
|
o_.useSyncExternalStoreWithSelector = m, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
45919
45919
|
}()), o_;
|
|
45920
45920
|
}
|
|
45921
|
-
process.env.NODE_ENV === "production" ? JT.exports =
|
|
45922
|
-
var
|
|
45921
|
+
process.env.NODE_ENV === "production" ? JT.exports = Ine() : JT.exports = Fne();
|
|
45922
|
+
var jne = JT.exports, Zo = (
|
|
45923
45923
|
// prettier-ignore
|
|
45924
45924
|
// @ts-ignore
|
|
45925
45925
|
"default" in Op ? ke : Op
|
|
@@ -45927,7 +45927,7 @@ var zne = JT.exports, Zo = (
|
|
|
45927
45927
|
/* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
|
|
45928
45928
|
{}
|
|
45929
45929
|
);
|
|
45930
|
-
function
|
|
45930
|
+
function zne() {
|
|
45931
45931
|
if (!Zo.createContext)
|
|
45932
45932
|
return {};
|
|
45933
45933
|
const e = nA[tA] ?? (nA[tA] = /* @__PURE__ */ new Map());
|
|
@@ -45936,7 +45936,7 @@ function Hne() {
|
|
|
45936
45936
|
null
|
|
45937
45937
|
), process.env.NODE_ENV !== "production" && (t.displayName = "ReactRedux"), e.set(Zo.createContext, t)), t;
|
|
45938
45938
|
}
|
|
45939
|
-
var Uc = /* @__PURE__ */
|
|
45939
|
+
var Uc = /* @__PURE__ */ zne(), Hne = () => {
|
|
45940
45940
|
throw new Error("uSES not initialized!");
|
|
45941
45941
|
};
|
|
45942
45942
|
function uO(e = Uc) {
|
|
@@ -45949,12 +45949,12 @@ function uO(e = Uc) {
|
|
|
45949
45949
|
return r;
|
|
45950
45950
|
};
|
|
45951
45951
|
}
|
|
45952
|
-
var
|
|
45953
|
-
|
|
45954
|
-
},
|
|
45955
|
-
function
|
|
45956
|
-
const t = e === Uc ?
|
|
45957
|
-
const { equalityFn: c =
|
|
45952
|
+
var lj = /* @__PURE__ */ uO(), uj = Hne, Bne = (e) => {
|
|
45953
|
+
uj = e;
|
|
45954
|
+
}, Vne = (e, t) => e === t;
|
|
45955
|
+
function Une(e = Uc) {
|
|
45956
|
+
const t = e === Uc ? lj : uO(e), r = (i, l = {}) => {
|
|
45957
|
+
const { equalityFn: c = Vne, devModeChecks: f = {} } = typeof l == "function" ? { equalityFn: l } : l;
|
|
45958
45958
|
if (process.env.NODE_ENV !== "production") {
|
|
45959
45959
|
if (!i)
|
|
45960
45960
|
throw new Error("You must pass a selector to useSelector");
|
|
@@ -46024,7 +46024,7 @@ Selectors that return the entire state are almost certainly a mistake, as they w
|
|
|
46024
46024
|
}
|
|
46025
46025
|
}[i.name],
|
|
46026
46026
|
[i, b, f.stabilityCheck]
|
|
46027
|
-
), M =
|
|
46027
|
+
), M = uj(
|
|
46028
46028
|
m.addNestedSub,
|
|
46029
46029
|
h.getState,
|
|
46030
46030
|
y || h.getState,
|
|
@@ -46037,18 +46037,18 @@ Selectors that return the entire state are almost certainly a mistake, as they w
|
|
|
46037
46037
|
withTypes: () => r
|
|
46038
46038
|
}), r;
|
|
46039
46039
|
}
|
|
46040
|
-
var
|
|
46041
|
-
function
|
|
46040
|
+
var Wne = /* @__PURE__ */ Une();
|
|
46041
|
+
function Gne(e) {
|
|
46042
46042
|
e();
|
|
46043
46043
|
}
|
|
46044
|
-
function
|
|
46044
|
+
function Kne() {
|
|
46045
46045
|
let e = null, t = null;
|
|
46046
46046
|
return {
|
|
46047
46047
|
clear() {
|
|
46048
46048
|
e = null, t = null;
|
|
46049
46049
|
},
|
|
46050
46050
|
notify() {
|
|
46051
|
-
|
|
46051
|
+
Gne(() => {
|
|
46052
46052
|
let r = e;
|
|
46053
46053
|
for (; r; )
|
|
46054
46054
|
r.callback(), r = r.next;
|
|
@@ -46079,7 +46079,7 @@ var rA = {
|
|
|
46079
46079
|
},
|
|
46080
46080
|
get: () => []
|
|
46081
46081
|
};
|
|
46082
|
-
function
|
|
46082
|
+
function qne(e, t) {
|
|
46083
46083
|
let r, i = rA, l = 0, c = !1;
|
|
46084
46084
|
function f(P) {
|
|
46085
46085
|
b();
|
|
@@ -46099,7 +46099,7 @@ function Yne(e, t) {
|
|
|
46099
46099
|
return c;
|
|
46100
46100
|
}
|
|
46101
46101
|
function b() {
|
|
46102
|
-
l++, r || (r = e.subscribe(m), i =
|
|
46102
|
+
l++, r || (r = e.subscribe(m), i = Kne());
|
|
46103
46103
|
}
|
|
46104
46104
|
function E() {
|
|
46105
46105
|
l--, r && l === 0 && (r(), r = void 0, i.clear(), i = rA);
|
|
@@ -46121,8 +46121,8 @@ function Yne(e, t) {
|
|
|
46121
46121
|
};
|
|
46122
46122
|
return M;
|
|
46123
46123
|
}
|
|
46124
|
-
var
|
|
46125
|
-
function
|
|
46124
|
+
var Yne = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", Xne = typeof navigator < "u" && navigator.product === "ReactNative", Qne = Yne || Xne ? Zo.useLayoutEffect : Zo.useEffect;
|
|
46125
|
+
function Zne({
|
|
46126
46126
|
store: e,
|
|
46127
46127
|
context: t,
|
|
46128
46128
|
children: r,
|
|
@@ -46131,7 +46131,7 @@ function Jne({
|
|
|
46131
46131
|
identityFunctionCheck: c = "once"
|
|
46132
46132
|
}) {
|
|
46133
46133
|
const f = Zo.useMemo(() => {
|
|
46134
|
-
const y =
|
|
46134
|
+
const y = qne(e);
|
|
46135
46135
|
return {
|
|
46136
46136
|
store: e,
|
|
46137
46137
|
subscription: y,
|
|
@@ -46140,7 +46140,7 @@ function Jne({
|
|
|
46140
46140
|
identityFunctionCheck: c
|
|
46141
46141
|
};
|
|
46142
46142
|
}, [e, i, l, c]), h = Zo.useMemo(() => e.getState(), [e]);
|
|
46143
|
-
|
|
46143
|
+
Qne(() => {
|
|
46144
46144
|
const { subscription: y } = f;
|
|
46145
46145
|
return y.onStateChange = y.notifyNestedSubs, y.trySubscribe(), h !== e.getState() && y.notifyNestedSubs(), () => {
|
|
46146
46146
|
y.tryUnsubscribe(), y.onStateChange = void 0;
|
|
@@ -46149,9 +46149,9 @@ function Jne({
|
|
|
46149
46149
|
const m = t || Uc;
|
|
46150
46150
|
return /* @__PURE__ */ Zo.createElement(m.Provider, { value: f }, r);
|
|
46151
46151
|
}
|
|
46152
|
-
var
|
|
46153
|
-
function
|
|
46154
|
-
const t = e === Uc ?
|
|
46152
|
+
var Jne = Zne;
|
|
46153
|
+
function sj(e = Uc) {
|
|
46154
|
+
const t = e === Uc ? lj : (
|
|
46155
46155
|
// @ts-ignore
|
|
46156
46156
|
uO(e)
|
|
46157
46157
|
), r = () => {
|
|
@@ -46162,23 +46162,23 @@ function uj(e = Uc) {
|
|
|
46162
46162
|
withTypes: () => r
|
|
46163
46163
|
}), r;
|
|
46164
46164
|
}
|
|
46165
|
-
var
|
|
46166
|
-
function
|
|
46167
|
-
const t = e === Uc ?
|
|
46165
|
+
var ere = /* @__PURE__ */ sj();
|
|
46166
|
+
function tre(e = Uc) {
|
|
46167
|
+
const t = e === Uc ? ere : sj(e), r = () => t().dispatch;
|
|
46168
46168
|
return Object.assign(r, {
|
|
46169
46169
|
withTypes: () => r
|
|
46170
46170
|
}), r;
|
|
46171
46171
|
}
|
|
46172
|
-
var
|
|
46173
|
-
|
|
46172
|
+
var nre = /* @__PURE__ */ tre();
|
|
46173
|
+
Bne(jne.useSyncExternalStoreWithSelector);
|
|
46174
46174
|
function gi(e) {
|
|
46175
46175
|
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
|
|
46176
46176
|
}
|
|
46177
|
-
var
|
|
46177
|
+
var rre = typeof Symbol == "function" && Symbol.observable || "@@observable", aA = rre, l_ = () => Math.random().toString(36).substring(7).split("").join("."), are = {
|
|
46178
46178
|
INIT: `@@redux/INIT${/* @__PURE__ */ l_()}`,
|
|
46179
46179
|
REPLACE: `@@redux/REPLACE${/* @__PURE__ */ l_()}`,
|
|
46180
46180
|
PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${l_()}`
|
|
46181
|
-
}, sd =
|
|
46181
|
+
}, sd = are;
|
|
46182
46182
|
function sy(e) {
|
|
46183
46183
|
if (typeof e != "object" || e === null)
|
|
46184
46184
|
return !1;
|
|
@@ -46187,7 +46187,7 @@ function sy(e) {
|
|
|
46187
46187
|
t = Object.getPrototypeOf(t);
|
|
46188
46188
|
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
|
|
46189
46189
|
}
|
|
46190
|
-
function
|
|
46190
|
+
function ire(e) {
|
|
46191
46191
|
if (e === void 0)
|
|
46192
46192
|
return "undefined";
|
|
46193
46193
|
if (e === null)
|
|
@@ -46203,11 +46203,11 @@ function ore(e) {
|
|
|
46203
46203
|
}
|
|
46204
46204
|
if (Array.isArray(e))
|
|
46205
46205
|
return "array";
|
|
46206
|
-
if (sre(e))
|
|
46207
|
-
return "date";
|
|
46208
46206
|
if (ure(e))
|
|
46207
|
+
return "date";
|
|
46208
|
+
if (lre(e))
|
|
46209
46209
|
return "error";
|
|
46210
|
-
const r =
|
|
46210
|
+
const r = ore(e);
|
|
46211
46211
|
switch (r) {
|
|
46212
46212
|
case "Symbol":
|
|
46213
46213
|
case "Promise":
|
|
@@ -46219,20 +46219,20 @@ function ore(e) {
|
|
|
46219
46219
|
}
|
|
46220
46220
|
return Object.prototype.toString.call(e).slice(8, -1).toLowerCase().replace(/\s/g, "");
|
|
46221
46221
|
}
|
|
46222
|
-
function
|
|
46222
|
+
function ore(e) {
|
|
46223
46223
|
return typeof e.constructor == "function" ? e.constructor.name : null;
|
|
46224
46224
|
}
|
|
46225
|
-
function
|
|
46225
|
+
function lre(e) {
|
|
46226
46226
|
return e instanceof Error || typeof e.message == "string" && e.constructor && typeof e.constructor.stackTraceLimit == "number";
|
|
46227
46227
|
}
|
|
46228
|
-
function
|
|
46228
|
+
function ure(e) {
|
|
46229
46229
|
return e instanceof Date ? !0 : typeof e.toDateString == "function" && typeof e.getDate == "function" && typeof e.setDate == "function";
|
|
46230
46230
|
}
|
|
46231
46231
|
function Fc(e) {
|
|
46232
46232
|
let t = typeof e;
|
|
46233
|
-
return process.env.NODE_ENV !== "production" && (t =
|
|
46233
|
+
return process.env.NODE_ENV !== "production" && (t = ire(e)), t;
|
|
46234
46234
|
}
|
|
46235
|
-
function
|
|
46235
|
+
function cj(e, t, r) {
|
|
46236
46236
|
if (typeof e != "function")
|
|
46237
46237
|
throw new Error(process.env.NODE_ENV === "production" ? gi(2) : `Expected the root reducer to be a function. Instead, received: '${Fc(e)}'`);
|
|
46238
46238
|
if (typeof t == "function" && typeof r == "function" || typeof r == "function" && typeof arguments[3] == "function")
|
|
@@ -46240,7 +46240,7 @@ function sj(e, t, r) {
|
|
|
46240
46240
|
if (typeof t == "function" && typeof r > "u" && (r = t, t = void 0), typeof r < "u") {
|
|
46241
46241
|
if (typeof r != "function")
|
|
46242
46242
|
throw new Error(process.env.NODE_ENV === "production" ? gi(1) : `Expected the enhancer to be a function. Instead, received: '${Fc(r)}'`);
|
|
46243
|
-
return r(
|
|
46243
|
+
return r(cj)(e, t);
|
|
46244
46244
|
}
|
|
46245
46245
|
let i = e, l = t, c = /* @__PURE__ */ new Map(), f = c, h = 0, m = !1;
|
|
46246
46246
|
function y() {
|
|
@@ -46338,7 +46338,7 @@ function iA(e) {
|
|
|
46338
46338
|
} catch {
|
|
46339
46339
|
}
|
|
46340
46340
|
}
|
|
46341
|
-
function
|
|
46341
|
+
function sre(e, t, r, i) {
|
|
46342
46342
|
const l = Object.keys(t), c = r && r.type === sd.INIT ? "preloadedState argument passed to createStore" : "previous state received by the reducer";
|
|
46343
46343
|
if (l.length === 0)
|
|
46344
46344
|
return "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";
|
|
@@ -46350,7 +46350,7 @@ function cre(e, t, r, i) {
|
|
|
46350
46350
|
}), !(r && r.type === sd.REPLACE) && f.length > 0)
|
|
46351
46351
|
return `Unexpected ${f.length > 1 ? "keys" : "key"} "${f.join('", "')}" found in ${c}. Expected to find one of the known reducer keys instead: "${l.join('", "')}". Unexpected keys will be ignored.`;
|
|
46352
46352
|
}
|
|
46353
|
-
function
|
|
46353
|
+
function cre(e) {
|
|
46354
46354
|
Object.keys(e).forEach((t) => {
|
|
46355
46355
|
const r = e[t];
|
|
46356
46356
|
if (typeof r(void 0, {
|
|
@@ -46363,7 +46363,7 @@ function fre(e) {
|
|
|
46363
46363
|
throw new Error(process.env.NODE_ENV === "production" ? gi(13) : `The slice reducer for key "${t}" returned undefined when probed with a random type. Don't try to handle '${sd.INIT}' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.`);
|
|
46364
46364
|
});
|
|
46365
46365
|
}
|
|
46366
|
-
function
|
|
46366
|
+
function fre(e) {
|
|
46367
46367
|
const t = Object.keys(e), r = {};
|
|
46368
46368
|
for (let f = 0; f < t.length; f++) {
|
|
46369
46369
|
const h = t[f];
|
|
@@ -46374,7 +46374,7 @@ function dre(e) {
|
|
|
46374
46374
|
process.env.NODE_ENV !== "production" && (l = {});
|
|
46375
46375
|
let c;
|
|
46376
46376
|
try {
|
|
46377
|
-
|
|
46377
|
+
cre(r);
|
|
46378
46378
|
} catch (f) {
|
|
46379
46379
|
c = f;
|
|
46380
46380
|
}
|
|
@@ -46382,7 +46382,7 @@ function dre(e) {
|
|
|
46382
46382
|
if (c)
|
|
46383
46383
|
throw c;
|
|
46384
46384
|
if (process.env.NODE_ENV !== "production") {
|
|
46385
|
-
const E =
|
|
46385
|
+
const E = sre(h, r, m, l);
|
|
46386
46386
|
E && iA(E);
|
|
46387
46387
|
}
|
|
46388
46388
|
let y = !1;
|
|
@@ -46401,7 +46401,7 @@ function dre(e) {
|
|
|
46401
46401
|
function aC(...e) {
|
|
46402
46402
|
return e.length === 0 ? (t) => t : e.length === 1 ? e[0] : e.reduce((t, r) => (...i) => t(r(...i)));
|
|
46403
46403
|
}
|
|
46404
|
-
function
|
|
46404
|
+
function dre(...e) {
|
|
46405
46405
|
return (t) => (r, i) => {
|
|
46406
46406
|
const l = t(r, i);
|
|
46407
46407
|
let c = () => {
|
|
@@ -46417,16 +46417,16 @@ function vre(...e) {
|
|
|
46417
46417
|
};
|
|
46418
46418
|
};
|
|
46419
46419
|
}
|
|
46420
|
-
function
|
|
46420
|
+
function fj(e) {
|
|
46421
46421
|
return sy(e) && "type" in e && typeof e.type == "string";
|
|
46422
46422
|
}
|
|
46423
|
-
function
|
|
46423
|
+
function dj(e) {
|
|
46424
46424
|
return ({ dispatch: r, getState: i }) => (l) => (c) => typeof c == "function" ? c(r, i, e) : l(c);
|
|
46425
46425
|
}
|
|
46426
|
-
var
|
|
46426
|
+
var vre = dj(), pre = dj, hre = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
|
|
46427
46427
|
if (arguments.length !== 0)
|
|
46428
46428
|
return typeof arguments[0] == "object" ? aC : aC.apply(null, arguments);
|
|
46429
|
-
},
|
|
46429
|
+
}, mre = (e) => e && typeof e.match == "function";
|
|
46430
46430
|
function oA(e, t) {
|
|
46431
46431
|
function r(...i) {
|
|
46432
46432
|
if (t) {
|
|
@@ -46449,26 +46449,26 @@ function oA(e, t) {
|
|
|
46449
46449
|
payload: i[0]
|
|
46450
46450
|
};
|
|
46451
46451
|
}
|
|
46452
|
-
return r.toString = () => `${e}`, r.type = e, r.match = (i) =>
|
|
46452
|
+
return r.toString = () => `${e}`, r.type = e, r.match = (i) => fj(i) && i.type === e, r;
|
|
46453
46453
|
}
|
|
46454
|
-
function
|
|
46454
|
+
function gre(e) {
|
|
46455
46455
|
return typeof e == "function" && "type" in e && // hasMatchFunction only wants Matchers but I don't see the point in rewriting it
|
|
46456
|
-
|
|
46456
|
+
mre(e);
|
|
46457
46457
|
}
|
|
46458
|
-
function
|
|
46458
|
+
function yre(e) {
|
|
46459
46459
|
const t = e ? `${e}`.split("/") : [], r = t[t.length - 1] || "actionCreator";
|
|
46460
46460
|
return `Detected an action creator with type "${e || "unknown"}" being dispatched.
|
|
46461
46461
|
Make sure you're calling the action creator before dispatching, i.e. \`dispatch(${r}())\` instead of \`dispatch(${r})\`. This is necessary even if the action has no payload.`;
|
|
46462
46462
|
}
|
|
46463
|
-
function
|
|
46463
|
+
function bre(e = {}) {
|
|
46464
46464
|
if (process.env.NODE_ENV === "production")
|
|
46465
46465
|
return () => (r) => (i) => r(i);
|
|
46466
46466
|
const {
|
|
46467
|
-
isActionCreator: t =
|
|
46467
|
+
isActionCreator: t = gre
|
|
46468
46468
|
} = e;
|
|
46469
|
-
return () => (r) => (i) => (t(i) && console.warn(
|
|
46469
|
+
return () => (r) => (i) => (t(i) && console.warn(yre(i.type)), r(i));
|
|
46470
46470
|
}
|
|
46471
|
-
function
|
|
46471
|
+
function vj(e, t) {
|
|
46472
46472
|
let r = 0;
|
|
46473
46473
|
return {
|
|
46474
46474
|
measureTime(i) {
|
|
@@ -46487,7 +46487,7 @@ It is disabled in production builds, so you don't need to worry about that.`);
|
|
|
46487
46487
|
}
|
|
46488
46488
|
};
|
|
46489
46489
|
}
|
|
46490
|
-
var
|
|
46490
|
+
var pj = class gg extends Array {
|
|
46491
46491
|
constructor(...t) {
|
|
46492
46492
|
super(...t), Object.setPrototypeOf(this, gg.prototype);
|
|
46493
46493
|
}
|
|
@@ -46514,18 +46514,18 @@ function uA(e, t, r) {
|
|
|
46514
46514
|
const i = r.insert(t, e);
|
|
46515
46515
|
return e.set(t, i), i;
|
|
46516
46516
|
}
|
|
46517
|
-
function
|
|
46517
|
+
function Sre(e) {
|
|
46518
46518
|
return typeof e != "object" || e == null || Object.isFrozen(e);
|
|
46519
46519
|
}
|
|
46520
|
-
function
|
|
46521
|
-
const i =
|
|
46520
|
+
function Cre(e, t, r) {
|
|
46521
|
+
const i = hj(e, t, r);
|
|
46522
46522
|
return {
|
|
46523
46523
|
detectMutations() {
|
|
46524
|
-
return
|
|
46524
|
+
return mj(e, t, i, r);
|
|
46525
46525
|
}
|
|
46526
46526
|
};
|
|
46527
46527
|
}
|
|
46528
|
-
function
|
|
46528
|
+
function hj(e, t = [], r, i = "", l = /* @__PURE__ */ new Set()) {
|
|
46529
46529
|
const c = {
|
|
46530
46530
|
value: r
|
|
46531
46531
|
};
|
|
@@ -46533,12 +46533,12 @@ function pj(e, t = [], r, i = "", l = /* @__PURE__ */ new Set()) {
|
|
|
46533
46533
|
l.add(r), c.children = {};
|
|
46534
46534
|
for (const f in r) {
|
|
46535
46535
|
const h = i ? i + "." + f : f;
|
|
46536
|
-
t.length && t.indexOf(h) !== -1 || (c.children[f] =
|
|
46536
|
+
t.length && t.indexOf(h) !== -1 || (c.children[f] = hj(e, t, r[f], h));
|
|
46537
46537
|
}
|
|
46538
46538
|
}
|
|
46539
46539
|
return c;
|
|
46540
46540
|
}
|
|
46541
|
-
function
|
|
46541
|
+
function mj(e, t = [], r, i, l = !1, c = "") {
|
|
46542
46542
|
const f = r ? r.value : void 0, h = f === i;
|
|
46543
46543
|
if (l && !h && !Number.isNaN(i))
|
|
46544
46544
|
return {
|
|
@@ -46559,7 +46559,7 @@ function hj(e, t = [], r, i, l = !1, c = "") {
|
|
|
46559
46559
|
const E = c ? c + "." + b : b;
|
|
46560
46560
|
if (y && t.some((M) => M instanceof RegExp ? M.test(E) : E === M))
|
|
46561
46561
|
continue;
|
|
46562
|
-
const _ =
|
|
46562
|
+
const _ = mj(e, t, r.children[b], i[b], h, E);
|
|
46563
46563
|
if (_.wasMutated)
|
|
46564
46564
|
return _;
|
|
46565
46565
|
}
|
|
@@ -46567,7 +46567,7 @@ function hj(e, t = [], r, i, l = !1, c = "") {
|
|
|
46567
46567
|
wasMutated: !1
|
|
46568
46568
|
};
|
|
46569
46569
|
}
|
|
46570
|
-
function
|
|
46570
|
+
function Ere(e = {}) {
|
|
46571
46571
|
if (process.env.NODE_ENV === "production")
|
|
46572
46572
|
return () => (t) => (r) => t(r);
|
|
46573
46573
|
{
|
|
@@ -46585,17 +46585,17 @@ function xre(e = {}) {
|
|
|
46585
46585
|
return h == null ? _ : h.call(this, E, _);
|
|
46586
46586
|
};
|
|
46587
46587
|
}, {
|
|
46588
|
-
isImmutable: i =
|
|
46588
|
+
isImmutable: i = Sre,
|
|
46589
46589
|
ignoredPaths: l,
|
|
46590
46590
|
warnAfter: c = 32
|
|
46591
46591
|
} = e;
|
|
46592
|
-
const f =
|
|
46592
|
+
const f = Cre.bind(null, i, l);
|
|
46593
46593
|
return ({
|
|
46594
46594
|
getState: h
|
|
46595
46595
|
}) => {
|
|
46596
46596
|
let m = h(), y = f(m), b;
|
|
46597
46597
|
return (E) => (_) => {
|
|
46598
|
-
const N =
|
|
46598
|
+
const N = vj(c, "ImmutableStateInvariantMiddleware");
|
|
46599
46599
|
N.measureTime(() => {
|
|
46600
46600
|
if (m = h(), b = y.detectMutations(), y = f(m), b.wasMutated)
|
|
46601
46601
|
throw new Error(process.env.NODE_ENV === "production" ? jr(19) : `A state mutation was detected between dispatches, in the path '${b.path || ""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`);
|
|
@@ -46609,11 +46609,11 @@ function xre(e = {}) {
|
|
|
46609
46609
|
};
|
|
46610
46610
|
}
|
|
46611
46611
|
}
|
|
46612
|
-
function
|
|
46612
|
+
function gj(e) {
|
|
46613
46613
|
const t = typeof e;
|
|
46614
46614
|
return e == null || t === "string" || t === "boolean" || t === "number" || Array.isArray(e) || sy(e);
|
|
46615
46615
|
}
|
|
46616
|
-
function eR(e, t = "", r =
|
|
46616
|
+
function eR(e, t = "", r = gj, i, l = [], c) {
|
|
46617
46617
|
let f;
|
|
46618
46618
|
if (!r(e))
|
|
46619
46619
|
return {
|
|
@@ -46634,21 +46634,21 @@ function eR(e, t = "", r = mj, i, l = [], c) {
|
|
|
46634
46634
|
return f;
|
|
46635
46635
|
}
|
|
46636
46636
|
}
|
|
46637
|
-
return c &&
|
|
46637
|
+
return c && yj(e) && c.add(e), !1;
|
|
46638
46638
|
}
|
|
46639
|
-
function
|
|
46639
|
+
function yj(e) {
|
|
46640
46640
|
if (!Object.isFrozen(e)) return !1;
|
|
46641
46641
|
for (const t of Object.values(e))
|
|
46642
|
-
if (!(typeof t != "object" || t === null) && !
|
|
46642
|
+
if (!(typeof t != "object" || t === null) && !yj(t))
|
|
46643
46643
|
return !1;
|
|
46644
46644
|
return !0;
|
|
46645
46645
|
}
|
|
46646
|
-
function
|
|
46646
|
+
function xre(e = {}) {
|
|
46647
46647
|
if (process.env.NODE_ENV === "production")
|
|
46648
46648
|
return () => (t) => (r) => t(r);
|
|
46649
46649
|
{
|
|
46650
46650
|
const {
|
|
46651
|
-
isSerializable: t =
|
|
46651
|
+
isSerializable: t = gj,
|
|
46652
46652
|
getEntries: r,
|
|
46653
46653
|
ignoredActions: i = [],
|
|
46654
46654
|
ignoredActionPaths: l = ["meta.arg", "meta.baseQueryMeta"],
|
|
@@ -46659,9 +46659,9 @@ function wre(e = {}) {
|
|
|
46659
46659
|
disableCache: y = !1
|
|
46660
46660
|
} = e, b = !y && WeakSet ? /* @__PURE__ */ new WeakSet() : void 0;
|
|
46661
46661
|
return (E) => (_) => (N) => {
|
|
46662
|
-
if (!
|
|
46662
|
+
if (!fj(N))
|
|
46663
46663
|
return _(N);
|
|
46664
|
-
const M = _(N), P =
|
|
46664
|
+
const M = _(N), P = vj(f, "SerializableStateInvariantMiddleware");
|
|
46665
46665
|
return !m && !(i.length && i.indexOf(N.type) !== -1) && P.measureTime(() => {
|
|
46666
46666
|
const R = eR(N, "", t, r, l, b);
|
|
46667
46667
|
if (R) {
|
|
@@ -46692,37 +46692,37 @@ Take a look at the reducer(s) handling this action type: ${N.type}.
|
|
|
46692
46692
|
function yS(e) {
|
|
46693
46693
|
return typeof e == "boolean";
|
|
46694
46694
|
}
|
|
46695
|
-
var
|
|
46695
|
+
var wre = () => function(t) {
|
|
46696
46696
|
const {
|
|
46697
46697
|
thunk: r = !0,
|
|
46698
46698
|
immutableCheck: i = !0,
|
|
46699
46699
|
serializableCheck: l = !0,
|
|
46700
46700
|
actionCreatorCheck: c = !0
|
|
46701
46701
|
} = t ?? {};
|
|
46702
|
-
let f = new
|
|
46703
|
-
if (r && (yS(r) ? f.push(
|
|
46702
|
+
let f = new pj();
|
|
46703
|
+
if (r && (yS(r) ? f.push(vre) : f.push(pre(r.extraArgument))), process.env.NODE_ENV !== "production") {
|
|
46704
46704
|
if (i) {
|
|
46705
46705
|
let h = {};
|
|
46706
|
-
yS(i) || (h = i), f.unshift(
|
|
46706
|
+
yS(i) || (h = i), f.unshift(Ere(h));
|
|
46707
46707
|
}
|
|
46708
46708
|
if (l) {
|
|
46709
46709
|
let h = {};
|
|
46710
|
-
yS(l) || (h = l), f.push(
|
|
46710
|
+
yS(l) || (h = l), f.push(xre(h));
|
|
46711
46711
|
}
|
|
46712
46712
|
if (c) {
|
|
46713
46713
|
let h = {};
|
|
46714
|
-
yS(c) || (h = c), f.unshift(
|
|
46714
|
+
yS(c) || (h = c), f.unshift(bre(h));
|
|
46715
46715
|
}
|
|
46716
46716
|
}
|
|
46717
46717
|
return f;
|
|
46718
|
-
},
|
|
46718
|
+
}, _re = "RTK_autoBatch", bj = (e) => (t) => {
|
|
46719
46719
|
setTimeout(t, e);
|
|
46720
|
-
},
|
|
46720
|
+
}, Tre = typeof window < "u" && window.requestAnimationFrame ? window.requestAnimationFrame : bj(10), Rre = (e = {
|
|
46721
46721
|
type: "raf"
|
|
46722
46722
|
}) => (t) => (...r) => {
|
|
46723
46723
|
const i = t(...r);
|
|
46724
46724
|
let l = !0, c = !1, f = !1;
|
|
46725
|
-
const h = /* @__PURE__ */ new Set(), m = e.type === "tick" ? queueMicrotask : e.type === "raf" ?
|
|
46725
|
+
const h = /* @__PURE__ */ new Set(), m = e.type === "tick" ? queueMicrotask : e.type === "raf" ? Tre : e.type === "callback" ? e.queueNotification : bj(e.timeout), y = () => {
|
|
46726
46726
|
f = !1, c && (c = !1, h.forEach((b) => b()));
|
|
46727
46727
|
};
|
|
46728
46728
|
return Object.assign({}, i, {
|
|
@@ -46739,21 +46739,21 @@ var _re = () => function(t) {
|
|
|
46739
46739
|
dispatch(b) {
|
|
46740
46740
|
var E;
|
|
46741
46741
|
try {
|
|
46742
|
-
return l = !((E = b == null ? void 0 : b.meta) != null && E[
|
|
46742
|
+
return l = !((E = b == null ? void 0 : b.meta) != null && E[_re]), c = !l, c && (f || (f = !0, m(y))), i.dispatch(b);
|
|
46743
46743
|
} finally {
|
|
46744
46744
|
l = !0;
|
|
46745
46745
|
}
|
|
46746
46746
|
}
|
|
46747
46747
|
});
|
|
46748
|
-
},
|
|
46748
|
+
}, Ore = (e) => function(r) {
|
|
46749
46749
|
const {
|
|
46750
46750
|
autoBatch: i = !0
|
|
46751
46751
|
} = r ?? {};
|
|
46752
|
-
let l = new
|
|
46753
|
-
return i && l.push(
|
|
46752
|
+
let l = new pj(e);
|
|
46753
|
+
return i && l.push(Rre(typeof i == "object" ? i : void 0)), l;
|
|
46754
46754
|
};
|
|
46755
|
-
function
|
|
46756
|
-
const t =
|
|
46755
|
+
function Nre(e) {
|
|
46756
|
+
const t = wre(), {
|
|
46757
46757
|
reducer: r = void 0,
|
|
46758
46758
|
middleware: i,
|
|
46759
46759
|
devTools: l = !0,
|
|
@@ -46764,7 +46764,7 @@ function Mre(e) {
|
|
|
46764
46764
|
if (typeof r == "function")
|
|
46765
46765
|
h = r;
|
|
46766
46766
|
else if (sy(r))
|
|
46767
|
-
h =
|
|
46767
|
+
h = fre(r);
|
|
46768
46768
|
else
|
|
46769
46769
|
throw new Error(process.env.NODE_ENV === "production" ? jr(1) : "`reducer` is a required argument, and must be a function or an object of functions that can be passed to combineReducers");
|
|
46770
46770
|
if (process.env.NODE_ENV !== "production" && i && typeof i != "function")
|
|
@@ -46778,12 +46778,12 @@ function Mre(e) {
|
|
|
46778
46778
|
if (process.env.NODE_ENV !== "production" && m.some((M) => typeof M != "function"))
|
|
46779
46779
|
throw new Error(process.env.NODE_ENV === "production" ? jr(4) : "each middleware provided to configureStore must be a function");
|
|
46780
46780
|
let y = aC;
|
|
46781
|
-
l && (y =
|
|
46781
|
+
l && (y = hre({
|
|
46782
46782
|
// Enable capture of stack traces for dispatched Redux actions
|
|
46783
46783
|
trace: process.env.NODE_ENV !== "production",
|
|
46784
46784
|
...typeof l == "object" && l
|
|
46785
46785
|
}));
|
|
46786
|
-
const b =
|
|
46786
|
+
const b = dre(...m), E = Ore(b);
|
|
46787
46787
|
if (process.env.NODE_ENV !== "production" && f && typeof f != "function")
|
|
46788
46788
|
throw new Error(process.env.NODE_ENV === "production" ? jr(5) : "`enhancers` field must be a callback");
|
|
46789
46789
|
let _ = typeof f == "function" ? f(E) : E();
|
|
@@ -46793,9 +46793,9 @@ function Mre(e) {
|
|
|
46793
46793
|
throw new Error(process.env.NODE_ENV === "production" ? jr(7) : "each enhancer provided to configureStore must be a function");
|
|
46794
46794
|
process.env.NODE_ENV !== "production" && m.length && !_.includes(b) && console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");
|
|
46795
46795
|
const N = y(..._);
|
|
46796
|
-
return
|
|
46796
|
+
return cj(h, c, N);
|
|
46797
46797
|
}
|
|
46798
|
-
function
|
|
46798
|
+
function Sj(e) {
|
|
46799
46799
|
const t = {}, r = [];
|
|
46800
46800
|
let i;
|
|
46801
46801
|
const l = {
|
|
@@ -46829,14 +46829,14 @@ function bj(e) {
|
|
|
46829
46829
|
};
|
|
46830
46830
|
return e(l), [t, r, i];
|
|
46831
46831
|
}
|
|
46832
|
-
function
|
|
46832
|
+
function Mre(e) {
|
|
46833
46833
|
return typeof e == "function";
|
|
46834
46834
|
}
|
|
46835
|
-
function
|
|
46835
|
+
function Pre(e, t) {
|
|
46836
46836
|
if (process.env.NODE_ENV !== "production" && typeof t == "object")
|
|
46837
46837
|
throw new Error(process.env.NODE_ENV === "production" ? jr(8) : "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");
|
|
46838
|
-
let [r, i, l] =
|
|
46839
|
-
if (
|
|
46838
|
+
let [r, i, l] = Sj(t), c;
|
|
46839
|
+
if (Mre(e))
|
|
46840
46840
|
c = () => lA(e());
|
|
46841
46841
|
else {
|
|
46842
46842
|
const h = lA(e);
|
|
@@ -46871,15 +46871,15 @@ function Dre(e, t) {
|
|
|
46871
46871
|
}
|
|
46872
46872
|
return f.getInitialState = c, f;
|
|
46873
46873
|
}
|
|
46874
|
-
var
|
|
46875
|
-
function
|
|
46874
|
+
var Dre = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
|
|
46875
|
+
function kre(e, t) {
|
|
46876
46876
|
return `${e}/${t}`;
|
|
46877
46877
|
}
|
|
46878
|
-
function
|
|
46878
|
+
function Are({
|
|
46879
46879
|
creators: e
|
|
46880
46880
|
} = {}) {
|
|
46881
46881
|
var r;
|
|
46882
|
-
const t = (r = e == null ? void 0 : e.asyncThunk) == null ? void 0 : r[
|
|
46882
|
+
const t = (r = e == null ? void 0 : e.asyncThunk) == null ? void 0 : r[Dre];
|
|
46883
46883
|
return function(l) {
|
|
46884
46884
|
const {
|
|
46885
46885
|
name: c,
|
|
@@ -46888,7 +46888,7 @@ function Lre({
|
|
|
46888
46888
|
if (!c)
|
|
46889
46889
|
throw new Error(process.env.NODE_ENV === "production" ? jr(11) : "`name` is a required option for createSlice");
|
|
46890
46890
|
typeof process < "u" && process.env.NODE_ENV === "development" && l.initialState === void 0 && console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");
|
|
46891
|
-
const h = (typeof l.reducers == "function" ? l.reducers(
|
|
46891
|
+
const h = (typeof l.reducers == "function" ? l.reducers(Ire()) : l.reducers) || {}, m = Object.keys(h), y = {
|
|
46892
46892
|
sliceCaseReducersByName: {},
|
|
46893
46893
|
sliceCaseReducersByType: {},
|
|
46894
46894
|
actionCreators: {},
|
|
@@ -46918,19 +46918,19 @@ function Lre({
|
|
|
46918
46918
|
m.forEach((L) => {
|
|
46919
46919
|
const F = h[L], A = {
|
|
46920
46920
|
reducerName: L,
|
|
46921
|
-
type:
|
|
46921
|
+
type: kre(c, L),
|
|
46922
46922
|
createNotation: typeof l.reducers == "function"
|
|
46923
46923
|
};
|
|
46924
|
-
|
|
46924
|
+
jre(F) ? Hre(A, F, b, t) : Fre(A, F, b);
|
|
46925
46925
|
});
|
|
46926
46926
|
function E() {
|
|
46927
46927
|
if (process.env.NODE_ENV !== "production" && typeof l.extraReducers == "object")
|
|
46928
46928
|
throw new Error(process.env.NODE_ENV === "production" ? jr(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");
|
|
46929
|
-
const [L = {}, F = [], A = void 0] = typeof l.extraReducers == "function" ?
|
|
46929
|
+
const [L = {}, F = [], A = void 0] = typeof l.extraReducers == "function" ? Sj(l.extraReducers) : [l.extraReducers], z = {
|
|
46930
46930
|
...L,
|
|
46931
46931
|
...y.sliceCaseReducersByType
|
|
46932
46932
|
};
|
|
46933
|
-
return
|
|
46933
|
+
return Pre(l.initialState, (H) => {
|
|
46934
46934
|
for (let K in z)
|
|
46935
46935
|
H.addCase(K, z[K]);
|
|
46936
46936
|
for (let K of y.sliceMatchers)
|
|
@@ -46967,7 +46967,7 @@ function Lre({
|
|
|
46967
46967
|
insert: () => {
|
|
46968
46968
|
const q = {};
|
|
46969
46969
|
for (const [Z, te] of Object.entries(l.selectors ?? {}))
|
|
46970
|
-
q[Z] =
|
|
46970
|
+
q[Z] = Lre(te, H, R, F);
|
|
46971
46971
|
return q;
|
|
46972
46972
|
}
|
|
46973
46973
|
});
|
|
@@ -47005,7 +47005,7 @@ function Lre({
|
|
|
47005
47005
|
return D;
|
|
47006
47006
|
};
|
|
47007
47007
|
}
|
|
47008
|
-
function
|
|
47008
|
+
function Lre(e, t, r, i) {
|
|
47009
47009
|
function l(c, ...f) {
|
|
47010
47010
|
let h = t(c);
|
|
47011
47011
|
if (typeof h > "u") {
|
|
@@ -47018,8 +47018,8 @@ function $re(e, t, r, i) {
|
|
|
47018
47018
|
}
|
|
47019
47019
|
return l.unwrapped = e, l;
|
|
47020
47020
|
}
|
|
47021
|
-
var
|
|
47022
|
-
function
|
|
47021
|
+
var $re = /* @__PURE__ */ Are();
|
|
47022
|
+
function Ire() {
|
|
47023
47023
|
function e(t, r) {
|
|
47024
47024
|
return {
|
|
47025
47025
|
_reducerDefinitionType: "asyncThunk",
|
|
@@ -47050,27 +47050,27 @@ function Fre() {
|
|
|
47050
47050
|
asyncThunk: e
|
|
47051
47051
|
};
|
|
47052
47052
|
}
|
|
47053
|
-
function
|
|
47053
|
+
function Fre({
|
|
47054
47054
|
type: e,
|
|
47055
47055
|
reducerName: t,
|
|
47056
47056
|
createNotation: r
|
|
47057
47057
|
}, i, l) {
|
|
47058
47058
|
let c, f;
|
|
47059
47059
|
if ("reducer" in i) {
|
|
47060
|
-
if (r && !
|
|
47060
|
+
if (r && !zre(i))
|
|
47061
47061
|
throw new Error(process.env.NODE_ENV === "production" ? jr(17) : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");
|
|
47062
47062
|
c = i.reducer, f = i.prepare;
|
|
47063
47063
|
} else
|
|
47064
47064
|
c = i;
|
|
47065
47065
|
l.addCase(e, c).exposeCaseReducer(t, c).exposeAction(t, f ? oA(e, f) : oA(e));
|
|
47066
47066
|
}
|
|
47067
|
-
function
|
|
47067
|
+
function jre(e) {
|
|
47068
47068
|
return e._reducerDefinitionType === "asyncThunk";
|
|
47069
47069
|
}
|
|
47070
|
-
function
|
|
47070
|
+
function zre(e) {
|
|
47071
47071
|
return e._reducerDefinitionType === "reducerWithPrepare";
|
|
47072
47072
|
}
|
|
47073
|
-
function
|
|
47073
|
+
function Hre({
|
|
47074
47074
|
type: e,
|
|
47075
47075
|
reducerName: t
|
|
47076
47076
|
}, r, i, l) {
|
|
@@ -47096,17 +47096,17 @@ function bS() {
|
|
|
47096
47096
|
function jr(e) {
|
|
47097
47097
|
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
|
|
47098
47098
|
}
|
|
47099
|
-
const
|
|
47100
|
-
function
|
|
47099
|
+
const Cj = {};
|
|
47100
|
+
function Bre(e) {
|
|
47101
47101
|
const { event: t, id: r = "", parameter: i } = e ?? {};
|
|
47102
|
-
return
|
|
47102
|
+
return lte({
|
|
47103
47103
|
event: t,
|
|
47104
|
-
eventListenerListRecordRecord:
|
|
47104
|
+
eventListenerListRecordRecord: Cj,
|
|
47105
47105
|
id: r,
|
|
47106
47106
|
parameter: i
|
|
47107
47107
|
});
|
|
47108
47108
|
}
|
|
47109
|
-
const
|
|
47109
|
+
const Ej = $re({
|
|
47110
47110
|
initialState: {},
|
|
47111
47111
|
name: "KgWorkStation",
|
|
47112
47112
|
reducers: {
|
|
@@ -47131,7 +47131,7 @@ const Cj = Ire({
|
|
|
47131
47131
|
*/
|
|
47132
47132
|
mount(e, t) {
|
|
47133
47133
|
const r = t.payload.id;
|
|
47134
|
-
r && (e[r] = { isMount: !0, props: { KgWorkStationModal: { isOpen: !1 }, isVisible: !0 } },
|
|
47134
|
+
r && (e[r] = { isMount: !0, props: { KgWorkStationModal: { isOpen: !1 }, isVisible: !0 } }, Bre({ event: "onMount", id: r }));
|
|
47135
47135
|
},
|
|
47136
47136
|
/**
|
|
47137
47137
|
* 打开弹窗.
|
|
@@ -47171,14 +47171,14 @@ const Cj = Ire({
|
|
|
47171
47171
|
r && delete e[r];
|
|
47172
47172
|
}
|
|
47173
47173
|
}
|
|
47174
|
-
}), { set: sA, mount:
|
|
47174
|
+
}), { set: sA, mount: Vre, openModal: Ure, closeModal: Wre, unmount: Gre } = Ej.actions;
|
|
47175
47175
|
function tR(e) {
|
|
47176
47176
|
return (t) => {
|
|
47177
47177
|
var r, i;
|
|
47178
47178
|
return ((i = (r = t[e]) == null ? void 0 : r.props) == null ? void 0 : i.isVisible) ?? !1;
|
|
47179
47179
|
};
|
|
47180
47180
|
}
|
|
47181
|
-
const mi =
|
|
47181
|
+
const mi = Nre({
|
|
47182
47182
|
middleware: (e) => e({
|
|
47183
47183
|
serializableCheck: {
|
|
47184
47184
|
ignoredActionPaths: ["payload.fn"],
|
|
@@ -47186,24 +47186,18 @@ const mi = Mre({
|
|
|
47186
47186
|
ignoredPaths: []
|
|
47187
47187
|
}
|
|
47188
47188
|
}),
|
|
47189
|
-
reducer:
|
|
47189
|
+
reducer: Ej.reducer
|
|
47190
47190
|
});
|
|
47191
|
-
|
|
47192
|
-
const
|
|
47193
|
-
function qre({ children: e, value: t }) {
|
|
47194
|
-
return /* @__PURE__ */ wn.jsx(xj.Provider, { value: t, children: e });
|
|
47195
|
-
}
|
|
47196
|
-
function Yre() {
|
|
47197
|
-
return C.useContext(xj);
|
|
47198
|
-
}
|
|
47191
|
+
nre.withTypes();
|
|
47192
|
+
const xj = Wne.withTypes();
|
|
47199
47193
|
let nR = (e) => ({ value: null });
|
|
47200
|
-
function
|
|
47194
|
+
function Kre(e) {
|
|
47201
47195
|
nR = e;
|
|
47202
47196
|
}
|
|
47203
|
-
function
|
|
47197
|
+
function qre(e = "") {
|
|
47204
47198
|
return {
|
|
47205
47199
|
closeModal() {
|
|
47206
|
-
mi.dispatch(
|
|
47200
|
+
mi.dispatch(Wre({ id: e }));
|
|
47207
47201
|
},
|
|
47208
47202
|
get(t) {
|
|
47209
47203
|
const r = nR(mi.getState()[e]), i = mi.subscribe(() => {
|
|
@@ -47217,13 +47211,13 @@ function Qre(e = "") {
|
|
|
47217
47211
|
});
|
|
47218
47212
|
return [t, r];
|
|
47219
47213
|
},
|
|
47220
|
-
onMount:
|
|
47214
|
+
onMount: ite({
|
|
47221
47215
|
event: "onMount",
|
|
47222
|
-
eventListenerListRecordRecord:
|
|
47216
|
+
eventListenerListRecordRecord: Cj,
|
|
47223
47217
|
id: e
|
|
47224
47218
|
}),
|
|
47225
47219
|
openModal() {
|
|
47226
|
-
mi.dispatch(
|
|
47220
|
+
mi.dispatch(Ure({ id: e }));
|
|
47227
47221
|
},
|
|
47228
47222
|
set(t) {
|
|
47229
47223
|
var r;
|
|
@@ -47239,16 +47233,16 @@ function Qre(e = "") {
|
|
|
47239
47233
|
}
|
|
47240
47234
|
};
|
|
47241
47235
|
}
|
|
47242
|
-
function
|
|
47243
|
-
const e =
|
|
47236
|
+
function Yre() {
|
|
47237
|
+
const e = MF(), t = qre(e), r = xj((l) => {
|
|
47244
47238
|
var c, f, h;
|
|
47245
47239
|
return ((h = (f = (c = l[e]) == null ? void 0 : c.props) == null ? void 0 : f.KgWorkStationModal) == null ? void 0 : h.isOpen) ?? !1;
|
|
47246
47240
|
});
|
|
47247
47241
|
function i() {
|
|
47248
47242
|
t.closeModal();
|
|
47249
47243
|
}
|
|
47250
|
-
return /* @__PURE__ */ wn.jsx(wn.Fragment, { children: /* @__PURE__ */ wn.
|
|
47251
|
-
|
|
47244
|
+
return /* @__PURE__ */ wn.jsx(wn.Fragment, { children: /* @__PURE__ */ wn.jsxs(
|
|
47245
|
+
oj,
|
|
47252
47246
|
{
|
|
47253
47247
|
open: r,
|
|
47254
47248
|
title: /* @__PURE__ */ wn.jsx(JR, { id: "KgWorkStation.modalTitle" }),
|
|
@@ -47257,16 +47251,20 @@ function Zre() {
|
|
|
47257
47251
|
wrapClassName: "kgcrant-kg-work-station-modal",
|
|
47258
47252
|
zIndex: 2e3,
|
|
47259
47253
|
onCancel: i,
|
|
47260
|
-
children:
|
|
47254
|
+
children: [
|
|
47255
|
+
"TODO[",
|
|
47256
|
+
e,
|
|
47257
|
+
"]"
|
|
47258
|
+
]
|
|
47261
47259
|
}
|
|
47262
47260
|
) });
|
|
47263
47261
|
}
|
|
47264
|
-
function
|
|
47265
|
-
const e =
|
|
47262
|
+
function Xre() {
|
|
47263
|
+
const e = MF(), t = xj(tR(e)), r = (() => {
|
|
47266
47264
|
let i = "text";
|
|
47267
47265
|
return t || (i += " kgcrant-kg-invisible"), i;
|
|
47268
47266
|
})();
|
|
47269
|
-
return /* @__PURE__ */ wn.jsxs(
|
|
47267
|
+
return /* @__PURE__ */ wn.jsxs(wn.Fragment, { children: [
|
|
47270
47268
|
/* @__PURE__ */ wn.jsxs(
|
|
47271
47269
|
jR,
|
|
47272
47270
|
{
|
|
@@ -47280,37 +47278,38 @@ function Jre() {
|
|
|
47280
47278
|
]
|
|
47281
47279
|
}
|
|
47282
47280
|
),
|
|
47283
|
-
/* @__PURE__ */ wn.jsx(
|
|
47281
|
+
/* @__PURE__ */ wn.jsx(Yre, {})
|
|
47284
47282
|
] });
|
|
47285
47283
|
}
|
|
47286
|
-
class
|
|
47284
|
+
class Qre extends HTMLElement {
|
|
47287
47285
|
constructor() {
|
|
47288
47286
|
super();
|
|
47289
47287
|
gw(this, "unmount", null);
|
|
47288
|
+
console.log("constructor", this.id);
|
|
47290
47289
|
}
|
|
47291
47290
|
connectedCallback() {
|
|
47292
|
-
mi.dispatch(
|
|
47291
|
+
console.log("connectedCallback", this.id), mi.dispatch(Vre({ id: this.id }));
|
|
47293
47292
|
const r = FS(this);
|
|
47294
47293
|
r.render(
|
|
47295
|
-
/* @__PURE__ */ wn.jsx(NF, { id: this.id, children: /* @__PURE__ */ wn.jsx(
|
|
47294
|
+
/* @__PURE__ */ wn.jsx(NF, { id: this.id, children: /* @__PURE__ */ wn.jsx(Jne, { store: mi, children: /* @__PURE__ */ wn.jsx(Xre, {}) }) })
|
|
47296
47295
|
), this.unmount = () => r.unmount();
|
|
47297
47296
|
}
|
|
47298
47297
|
disconnectedCallback() {
|
|
47299
47298
|
var r;
|
|
47300
|
-
(r = this.unmount) == null || r.call(this), this.unmount = null, mi.dispatch(
|
|
47299
|
+
(r = this.unmount) == null || r.call(this), this.unmount = null, mi.dispatch(Gre({ id: this.id }));
|
|
47301
47300
|
}
|
|
47302
47301
|
}
|
|
47303
|
-
function
|
|
47304
|
-
customElements.define("kg-work-station",
|
|
47302
|
+
function Zre() {
|
|
47303
|
+
customElements.define("kg-work-station", Qre);
|
|
47305
47304
|
}
|
|
47306
|
-
function
|
|
47307
|
-
|
|
47305
|
+
function Jre() {
|
|
47306
|
+
$ne(), Zre();
|
|
47308
47307
|
}
|
|
47309
|
-
function
|
|
47308
|
+
function aae(e) {
|
|
47310
47309
|
const { ref: t } = e ?? {};
|
|
47311
|
-
|
|
47310
|
+
Kre(t), Jre();
|
|
47312
47311
|
}
|
|
47313
47312
|
export {
|
|
47314
|
-
|
|
47315
|
-
|
|
47313
|
+
qre as doKgWorkStation,
|
|
47314
|
+
aae as initKgCoreReact
|
|
47316
47315
|
};
|