@stihl-design-system/components 1.0.0-RC.8 → 1.0.0-RC.9
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/assets/CustomReactSelect.CMkn-EGK.css +1 -0
- package/assets/Fieldset.qHYeUFZt.css +1 -0
- package/assets/InputPassword.Cf394z47.css +1 -0
- package/assets/InputSearch.eCRQoxjN.css +1 -0
- package/assets/InputStepper.B80KulYE.css +1 -0
- package/assets/Notification.DK6agBGS.css +1 -0
- package/assets/Select.BptsMxz4.css +1 -0
- package/assets/Textarea.CIIVh03G.css +1 -0
- package/assets/Toast.Dsvs1zdM.css +1 -0
- package/assets/asterisk.DlJ4YtSZ.css +1 -0
- package/assets/button.B1O7Yw3Q.css +1 -0
- package/assets/buttonround.DlH_ipDo.css +1 -0
- package/assets/checkbox.K4CVYK9g.css +1 -0
- package/assets/heading.6bER-Eac.css +1 -0
- package/assets/input.C0MrSbQu.css +1 -0
- package/assets/link.vtTST2ki.css +1 -0
- package/assets/linkstandalone.BtAcziZ7.css +1 -0
- package/assets/optioncheckbox.BJJAph5_.css +1 -0
- package/assets/radio.9kpIO3HC.css +1 -0
- package/assets/skiptocontent.CHcqLS7S.css +1 -0
- package/assets/switch.2DQF2zH-.css +1 -0
- package/assets/systemfeedback.Sq0bAIyf.css +1 -0
- package/assets/text.Dhb_l50R.css +1 -0
- package/assets/title.f74Bosn-.css +1 -0
- package/{asterisk.Cjbk-xZi.js → asterisk.DDn-yX4P.js} +1 -1
- package/button.CkHCQg3Y.js +135 -0
- package/buttonround.DX3u2Fio.js +118 -0
- package/checkbox.BbmCDJCm.js +112 -0
- package/{checkboxgroup.C9VX3c5W.js → checkboxgroup.CPENWSuk.js} +2 -2
- package/chunks/{CheckboxGroup.kG1WWhe_.js → CheckboxGroup.Dx_Hn8Dl.js} +2 -2
- package/chunks/CustomReactSelect.C4rTVlvy.js +3593 -0
- package/chunks/{Dialog.o7bcfCBf.js → Dialog.TPjJ_yxK.js} +1 -1
- package/chunks/{Drawer.VbG4cfgJ.js → Drawer.DrLGSch-.js} +1 -1
- package/chunks/{Fieldset.B1vsrHNv.js → Fieldset.P09LInkT.js} +29 -29
- package/chunks/{Input.utils.BGUhXCNP.js → Input.utils.ChV6RJsh.js} +19 -17
- package/chunks/InputPassword.CSc1c98k.js +140 -0
- package/chunks/{InputSearch.BbCdCCax.js → InputSearch.DrgdGFT_.js} +49 -49
- package/chunks/{InputStepper.DR3NR_II.js → InputStepper.DJEuIr4C.js} +76 -76
- package/chunks/{Notification.B6a6FOlS.js → Notification.B68mMDiB.js} +24 -24
- package/chunks/{RadioGroup.BO4pbAJw.js → RadioGroup.B5jRveyI.js} +2 -2
- package/chunks/Select.Cl2eJR1z.js +191 -0
- package/chunks/Textarea.Sk9-GXfs.js +195 -0
- package/chunks/Toast.D9DAuz2m.js +89 -0
- package/{combobox.Dgp3kvFR.js → combobox.jDpV6bv-.js} +1 -1
- package/{customreactselect.BxkJi_UE.js → customreactselect.C2QK_Q8T.js} +4 -4
- package/{dialog.CVFl9IVY.js → dialog.BPX7RJtQ.js} +2 -2
- package/{drawer.BheN3lap.js → drawer.BfEPcSsQ.js} +2 -2
- package/fieldset.4yvz0e7M.js +11 -0
- package/heading.CAkraI2D.js +50 -0
- package/index.es.js +26 -26
- package/input.lLMqAG-6.js +236 -0
- package/{inputpassword.CvnUeLTq.js → inputpassword.BIdYGrhB.js} +4 -4
- package/{inputsearch.ClX9PlYG.js → inputsearch.DleOblJp.js} +4 -4
- package/inputstepper.DWkHwOAn.js +13 -0
- package/link.KZaBufPM.js +116 -0
- package/linkstandalone.B6tN-NXD.js +80 -0
- package/{notification.BGRev3jC.js → notification.DdJjbSdM.js} +2 -2
- package/optioncheckbox.DwQEfxGG.js +43 -0
- package/package.json +5 -3
- package/partials/index.js +442 -442
- package/radio.CWGJtmKl.js +115 -0
- package/{radiogroup.CiENWRos.js → radiogroup.FfK4DLsV.js} +3 -3
- package/{select.DLYav8gw.js → select.BEuTuEFZ.js} +3 -3
- package/{skiptocontent.ALhHiH8t.js → skiptocontent.fP4SOp-p.js} +9 -9
- package/styles/scss/lib/_heading.scss +50 -9
- package/styles/scss/lib/_helpers.scss +12 -0
- package/styles/scss/lib/_link.scss +58 -94
- package/styles/scss/lib/_text.scss +57 -14
- package/switch.KO8HZPNL.js +65 -0
- package/{systemfeedback.CUWch42u.js → systemfeedback._8gatmgR.js} +1 -1
- package/text.rgDKQBrU.js +57 -0
- package/{textarea.hLgeYdsI.js → textarea.DV1yVty7.js} +3 -3
- package/title.LY1ylQsb.js +36 -0
- package/{toast.CtgjrtBC.js → toast.BB8L0ixD.js} +2 -2
- package/{toastmanager.6mUZ8eCN.js → toastmanager.DifUvJcg.js} +1 -1
- package/utils/index.d.ts +1 -0
- package/utils/useIsomorphicLayoutEffect.d.ts +26 -0
- package/assets/CustomReactSelect.Bsphydqt.css +0 -1
- package/assets/Fieldset.D0jHAGRL.css +0 -1
- package/assets/InputPassword.VCNO8ANM.css +0 -1
- package/assets/InputSearch.BMRAb95l.css +0 -1
- package/assets/InputStepper.BKjqNi-i.css +0 -1
- package/assets/Notification.Bg63cvs4.css +0 -1
- package/assets/Select.Bz1TImkI.css +0 -1
- package/assets/Textarea.D2h5cW_t.css +0 -1
- package/assets/Toast.ChT0hchk.css +0 -1
- package/assets/asterisk.JlyPArZu.css +0 -1
- package/assets/button.3UhhGy87.css +0 -1
- package/assets/buttonround.DXDlPKwD.css +0 -1
- package/assets/checkbox.BjIn2stV.css +0 -1
- package/assets/heading.CCbuI4X-.css +0 -1
- package/assets/input.71tOIrpp.css +0 -1
- package/assets/link.BJHmVrew.css +0 -1
- package/assets/linkstandalone.Bx8Uvo0G.css +0 -1
- package/assets/optioncheckbox.BdRJHcSw.css +0 -1
- package/assets/radio.ewRpPo4W.css +0 -1
- package/assets/skiptocontent.DGVJ77cj.css +0 -1
- package/assets/switch.Ds-I_ybT.css +0 -1
- package/assets/systemfeedback.BzJATHDd.css +0 -1
- package/assets/text.B-CTuGgI.css +0 -1
- package/assets/title.DlhX9K3W.css +0 -1
- package/button.DPrDynn_.js +0 -135
- package/buttonround.ix_-O4l1.js +0 -118
- package/checkbox.hoVQ37RP.js +0 -112
- package/chunks/CustomReactSelect.BVv0Zcvc.js +0 -4981
- package/chunks/InputPassword.TlusvIds.js +0 -140
- package/chunks/Select.COdS787F.js +0 -191
- package/chunks/Textarea.oqCrSopu.js +0 -195
- package/chunks/Toast.BpyBIPFW.js +0 -89
- package/fieldset.aY3V2jK2.js +0 -11
- package/heading.BTNroD1E.js +0 -50
- package/input.CfO9lL_o.js +0 -236
- package/inputstepper.Dd76qaQT.js +0 -13
- package/link.CIY7SOpm.js +0 -115
- package/linkstandalone.DNe0Nydm.js +0 -79
- package/optioncheckbox.C4l2UIak.js +0 -43
- package/radio.epf54-sG.js +0 -115
- package/switch.rd7PdLc9.js +0 -65
- package/text.CrYUewrP.js +0 -57
- package/title.Dvp8LKJt.js +0 -36
package/partials/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Yr = { exports: {} }, Je = {},
|
|
1
|
+
var Yr = { exports: {} }, Je = {}, br = { exports: {} }, m = {};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react.production.min.js
|
|
@@ -9,12 +9,12 @@ var Yr = { exports: {} }, Je = {}, _r = { exports: {} }, m = {};
|
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
11
|
var vt;
|
|
12
|
-
function
|
|
12
|
+
function Nt() {
|
|
13
13
|
if (vt) return m;
|
|
14
14
|
vt = 1;
|
|
15
|
-
var
|
|
15
|
+
var W = Symbol.for("react.element"), d = Symbol.for("react.portal"), J = Symbol.for("react.fragment"), K = Symbol.for("react.strict_mode"), pe = Symbol.for("react.profiler"), ne = Symbol.for("react.provider"), ae = Symbol.for("react.context"), ee = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), re = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), N = Symbol.iterator;
|
|
16
16
|
function te(n) {
|
|
17
|
-
return n === null || typeof n != "object" ? null : (n =
|
|
17
|
+
return n === null || typeof n != "object" ? null : (n = N && n[N] || n["@@iterator"], typeof n == "function" ? n : null);
|
|
18
18
|
}
|
|
19
19
|
var X = { isMounted: function() {
|
|
20
20
|
return !1;
|
|
@@ -39,24 +39,24 @@ function Vt() {
|
|
|
39
39
|
}
|
|
40
40
|
var ge = A.prototype = new ie();
|
|
41
41
|
ge.constructor = A, ce(ge, oe.prototype), ge.isPureReactComponent = !0;
|
|
42
|
-
var ue = Array.isArray,
|
|
42
|
+
var ue = Array.isArray, M = Object.prototype.hasOwnProperty, G = { current: null }, le = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
43
43
|
function ve(n, u, g) {
|
|
44
|
-
var
|
|
45
|
-
if (u != null) for (
|
|
44
|
+
var _, E = {}, P = null, k = null;
|
|
45
|
+
if (u != null) for (_ in u.ref !== void 0 && (k = u.ref), u.key !== void 0 && (P = "" + u.key), u) M.call(u, _) && !le.hasOwnProperty(_) && (E[_] = u[_]);
|
|
46
46
|
var T = arguments.length - 2;
|
|
47
47
|
if (T === 1) E.children = g;
|
|
48
48
|
else if (1 < T) {
|
|
49
|
-
for (var C = Array(T),
|
|
49
|
+
for (var C = Array(T), U = 0; U < T; U++) C[U] = arguments[U + 2];
|
|
50
50
|
E.children = C;
|
|
51
51
|
}
|
|
52
|
-
if (n && n.defaultProps) for (
|
|
53
|
-
return { $$typeof:
|
|
52
|
+
if (n && n.defaultProps) for (_ in T = n.defaultProps, T) E[_] === void 0 && (E[_] = T[_]);
|
|
53
|
+
return { $$typeof: W, type: n, key: P, ref: k, props: E, _owner: G.current };
|
|
54
54
|
}
|
|
55
55
|
function Ce(n, u) {
|
|
56
|
-
return { $$typeof:
|
|
56
|
+
return { $$typeof: W, type: n.type, key: u, ref: n.ref, props: n.props, _owner: n._owner };
|
|
57
57
|
}
|
|
58
58
|
function Se(n) {
|
|
59
|
-
return typeof n == "object" && n !== null && n.$$typeof ===
|
|
59
|
+
return typeof n == "object" && n !== null && n.$$typeof === W;
|
|
60
60
|
}
|
|
61
61
|
function Be(n) {
|
|
62
62
|
var u = { "=": "=0", ":": "=2" };
|
|
@@ -65,44 +65,44 @@ function Vt() {
|
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
var Te = /\/+/g;
|
|
68
|
-
function
|
|
68
|
+
function H(n, u) {
|
|
69
69
|
return typeof n == "object" && n !== null && n.key != null ? Be("" + n.key) : u.toString(36);
|
|
70
70
|
}
|
|
71
|
-
function Q(n, u, g,
|
|
71
|
+
function Q(n, u, g, _, E) {
|
|
72
72
|
var P = typeof n;
|
|
73
73
|
(P === "undefined" || P === "boolean") && (n = null);
|
|
74
|
-
var
|
|
75
|
-
if (n === null)
|
|
74
|
+
var k = !1;
|
|
75
|
+
if (n === null) k = !0;
|
|
76
76
|
else switch (P) {
|
|
77
77
|
case "string":
|
|
78
78
|
case "number":
|
|
79
|
-
|
|
79
|
+
k = !0;
|
|
80
80
|
break;
|
|
81
81
|
case "object":
|
|
82
82
|
switch (n.$$typeof) {
|
|
83
|
-
case
|
|
83
|
+
case W:
|
|
84
84
|
case d:
|
|
85
|
-
|
|
85
|
+
k = !0;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
if (
|
|
89
|
-
return
|
|
90
|
-
})) : E != null && (Se(E) && (E = Ce(E, g + (!E.key ||
|
|
91
|
-
if (
|
|
88
|
+
if (k) return k = n, E = E(k), n = _ === "" ? "." + H(k, 0) : _, ue(E) ? (g = "", n != null && (g = n.replace(Te, "$&/") + "/"), Q(E, u, g, "", function(U) {
|
|
89
|
+
return U;
|
|
90
|
+
})) : E != null && (Se(E) && (E = Ce(E, g + (!E.key || k && k.key === E.key ? "" : ("" + E.key).replace(Te, "$&/") + "/") + n)), u.push(E)), 1;
|
|
91
|
+
if (k = 0, _ = _ === "" ? "." : _ + ":", ue(n)) for (var T = 0; T < n.length; T++) {
|
|
92
92
|
P = n[T];
|
|
93
|
-
var C =
|
|
94
|
-
|
|
93
|
+
var C = _ + H(P, T);
|
|
94
|
+
k += Q(P, u, g, C, E);
|
|
95
95
|
}
|
|
96
|
-
else if (C = te(n), typeof C == "function") for (n = C.call(n), T = 0; !(P = n.next()).done; ) P = P.value, C =
|
|
96
|
+
else if (C = te(n), typeof C == "function") for (n = C.call(n), T = 0; !(P = n.next()).done; ) P = P.value, C = _ + H(P, T++), k += Q(P, u, g, C, E);
|
|
97
97
|
else if (P === "object") throw u = String(n), Error("Objects are not valid as a React child (found: " + (u === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : u) + "). If you meant to render a collection of children, use an array instead.");
|
|
98
|
-
return
|
|
98
|
+
return k;
|
|
99
99
|
}
|
|
100
100
|
function Y(n, u, g) {
|
|
101
101
|
if (n == null) return n;
|
|
102
|
-
var
|
|
103
|
-
return Q(n,
|
|
102
|
+
var _ = [], E = 0;
|
|
103
|
+
return Q(n, _, "", "", function(P) {
|
|
104
104
|
return u.call(g, P, E++);
|
|
105
|
-
}),
|
|
105
|
+
}), _;
|
|
106
106
|
}
|
|
107
107
|
function se(n) {
|
|
108
108
|
if (n._status === -1) {
|
|
@@ -116,8 +116,8 @@ function Vt() {
|
|
|
116
116
|
if (n._status === 1) return n._result.default;
|
|
117
117
|
throw n._result;
|
|
118
118
|
}
|
|
119
|
-
var
|
|
120
|
-
function
|
|
119
|
+
var f = { current: null }, fe = { transition: null }, ke = { ReactCurrentDispatcher: f, ReactCurrentBatchConfig: fe, ReactCurrentOwner: G };
|
|
120
|
+
function he() {
|
|
121
121
|
throw Error("act(...) is not supported in production builds of React.");
|
|
122
122
|
}
|
|
123
123
|
return m.Children = { map: Y, forEach: function(n, u, g) {
|
|
@@ -136,21 +136,21 @@ function Vt() {
|
|
|
136
136
|
}, only: function(n) {
|
|
137
137
|
if (!Se(n)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
138
138
|
return n;
|
|
139
|
-
} }, m.Component = oe, m.Fragment = J, m.Profiler = pe, m.PureComponent = A, m.StrictMode =
|
|
139
|
+
} }, m.Component = oe, m.Fragment = J, m.Profiler = pe, m.PureComponent = A, m.StrictMode = K, m.Suspense = $, m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ke, m.act = he, m.cloneElement = function(n, u, g) {
|
|
140
140
|
if (n == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
|
|
141
|
-
var
|
|
141
|
+
var _ = ce({}, n.props), E = n.key, P = n.ref, k = n._owner;
|
|
142
142
|
if (u != null) {
|
|
143
|
-
if (u.ref !== void 0 && (P = u.ref,
|
|
144
|
-
for (C in u)
|
|
143
|
+
if (u.ref !== void 0 && (P = u.ref, k = G.current), u.key !== void 0 && (E = "" + u.key), n.type && n.type.defaultProps) var T = n.type.defaultProps;
|
|
144
|
+
for (C in u) M.call(u, C) && !le.hasOwnProperty(C) && (_[C] = u[C] === void 0 && T !== void 0 ? T[C] : u[C]);
|
|
145
145
|
}
|
|
146
146
|
var C = arguments.length - 2;
|
|
147
|
-
if (C === 1)
|
|
147
|
+
if (C === 1) _.children = g;
|
|
148
148
|
else if (1 < C) {
|
|
149
149
|
T = Array(C);
|
|
150
|
-
for (var
|
|
151
|
-
|
|
150
|
+
for (var U = 0; U < C; U++) T[U] = arguments[U + 2];
|
|
151
|
+
_.children = T;
|
|
152
152
|
}
|
|
153
|
-
return { $$typeof:
|
|
153
|
+
return { $$typeof: W, type: n.type, key: E, ref: P, props: _, _owner: k };
|
|
154
154
|
}, m.createContext = function(n) {
|
|
155
155
|
return n = { $$typeof: ae, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: ne, _context: n }, n.Consumer = n;
|
|
156
156
|
}, m.createElement = ve, m.createFactory = function(n) {
|
|
@@ -165,42 +165,42 @@ function Vt() {
|
|
|
165
165
|
}, m.memo = function(n, u) {
|
|
166
166
|
return { $$typeof: re, type: n, compare: u === void 0 ? null : u };
|
|
167
167
|
}, m.startTransition = function(n) {
|
|
168
|
-
var u =
|
|
169
|
-
|
|
168
|
+
var u = fe.transition;
|
|
169
|
+
fe.transition = {};
|
|
170
170
|
try {
|
|
171
171
|
n();
|
|
172
172
|
} finally {
|
|
173
|
-
|
|
173
|
+
fe.transition = u;
|
|
174
174
|
}
|
|
175
|
-
}, m.unstable_act =
|
|
176
|
-
return
|
|
175
|
+
}, m.unstable_act = he, m.useCallback = function(n, u) {
|
|
176
|
+
return f.current.useCallback(n, u);
|
|
177
177
|
}, m.useContext = function(n) {
|
|
178
|
-
return
|
|
178
|
+
return f.current.useContext(n);
|
|
179
179
|
}, m.useDebugValue = function() {
|
|
180
180
|
}, m.useDeferredValue = function(n) {
|
|
181
|
-
return
|
|
181
|
+
return f.current.useDeferredValue(n);
|
|
182
182
|
}, m.useEffect = function(n, u) {
|
|
183
|
-
return
|
|
183
|
+
return f.current.useEffect(n, u);
|
|
184
184
|
}, m.useId = function() {
|
|
185
|
-
return
|
|
185
|
+
return f.current.useId();
|
|
186
186
|
}, m.useImperativeHandle = function(n, u, g) {
|
|
187
|
-
return
|
|
187
|
+
return f.current.useImperativeHandle(n, u, g);
|
|
188
188
|
}, m.useInsertionEffect = function(n, u) {
|
|
189
|
-
return
|
|
189
|
+
return f.current.useInsertionEffect(n, u);
|
|
190
190
|
}, m.useLayoutEffect = function(n, u) {
|
|
191
|
-
return
|
|
191
|
+
return f.current.useLayoutEffect(n, u);
|
|
192
192
|
}, m.useMemo = function(n, u) {
|
|
193
|
-
return
|
|
193
|
+
return f.current.useMemo(n, u);
|
|
194
194
|
}, m.useReducer = function(n, u, g) {
|
|
195
|
-
return
|
|
195
|
+
return f.current.useReducer(n, u, g);
|
|
196
196
|
}, m.useRef = function(n) {
|
|
197
|
-
return
|
|
197
|
+
return f.current.useRef(n);
|
|
198
198
|
}, m.useState = function(n) {
|
|
199
|
-
return
|
|
199
|
+
return f.current.useState(n);
|
|
200
200
|
}, m.useSyncExternalStore = function(n, u, g) {
|
|
201
|
-
return
|
|
201
|
+
return f.current.useSyncExternalStore(n, u, g);
|
|
202
202
|
}, m.useTransition = function() {
|
|
203
|
-
return
|
|
203
|
+
return f.current.useTransition();
|
|
204
204
|
}, m.version = "18.3.1", m;
|
|
205
205
|
}
|
|
206
206
|
var Qe = { exports: {} };
|
|
@@ -214,12 +214,12 @@ var Qe = { exports: {} };
|
|
|
214
214
|
* LICENSE file in the root directory of this source tree.
|
|
215
215
|
*/
|
|
216
216
|
Qe.exports;
|
|
217
|
-
var
|
|
217
|
+
var ht;
|
|
218
218
|
function Yt() {
|
|
219
|
-
return
|
|
219
|
+
return ht || (ht = 1, function(W, d) {
|
|
220
220
|
process.env.NODE_ENV !== "production" && function() {
|
|
221
221
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
222
|
-
var J = "18.3.1",
|
|
222
|
+
var J = "18.3.1", K = Symbol.for("react.element"), pe = Symbol.for("react.portal"), ne = Symbol.for("react.fragment"), ae = Symbol.for("react.strict_mode"), ee = Symbol.for("react.profiler"), $ = Symbol.for("react.provider"), re = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), ce = Symbol.for("react.lazy"), $e = Symbol.for("react.offscreen"), oe = Symbol.iterator, ie = "@@iterator";
|
|
223
223
|
function A(e) {
|
|
224
224
|
if (e === null || typeof e != "object")
|
|
225
225
|
return null;
|
|
@@ -234,7 +234,7 @@ function Yt() {
|
|
|
234
234
|
current: null
|
|
235
235
|
}, ue = {
|
|
236
236
|
transition: null
|
|
237
|
-
},
|
|
237
|
+
}, M = {
|
|
238
238
|
current: null,
|
|
239
239
|
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
|
240
240
|
isBatchingLegacy: !1,
|
|
@@ -245,55 +245,55 @@ function Yt() {
|
|
|
245
245
|
* @type {ReactComponent}
|
|
246
246
|
*/
|
|
247
247
|
current: null
|
|
248
|
-
},
|
|
248
|
+
}, le = {}, ve = null;
|
|
249
249
|
function Ce(e) {
|
|
250
250
|
ve = e;
|
|
251
251
|
}
|
|
252
|
-
|
|
252
|
+
le.setExtraStackFrame = function(e) {
|
|
253
253
|
ve = e;
|
|
254
|
-
},
|
|
254
|
+
}, le.getCurrentStack = null, le.getStackAddendum = function() {
|
|
255
255
|
var e = "";
|
|
256
256
|
ve && (e += ve);
|
|
257
|
-
var r =
|
|
257
|
+
var r = le.getCurrentStack;
|
|
258
258
|
return r && (e += r() || ""), e;
|
|
259
259
|
};
|
|
260
|
-
var Se = !1, Be = !1, Te = !1,
|
|
260
|
+
var Se = !1, Be = !1, Te = !1, H = !1, Q = !1, Y = {
|
|
261
261
|
ReactCurrentDispatcher: ge,
|
|
262
262
|
ReactCurrentBatchConfig: ue,
|
|
263
263
|
ReactCurrentOwner: G
|
|
264
264
|
};
|
|
265
|
-
Y.ReactDebugCurrentFrame =
|
|
265
|
+
Y.ReactDebugCurrentFrame = le, Y.ReactCurrentActQueue = M;
|
|
266
266
|
function se(e) {
|
|
267
267
|
{
|
|
268
268
|
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
269
269
|
a[o - 1] = arguments[o];
|
|
270
|
-
|
|
270
|
+
fe("warn", e, a);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function f(e) {
|
|
274
274
|
{
|
|
275
275
|
for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
276
276
|
a[o - 1] = arguments[o];
|
|
277
|
-
|
|
277
|
+
fe("error", e, a);
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
|
-
function
|
|
280
|
+
function fe(e, r, a) {
|
|
281
281
|
{
|
|
282
282
|
var o = Y.ReactDebugCurrentFrame, c = o.getStackAddendum();
|
|
283
283
|
c !== "" && (r += "%s", a = a.concat([c]));
|
|
284
|
-
var p = a.map(function(
|
|
285
|
-
return String(
|
|
284
|
+
var p = a.map(function(l) {
|
|
285
|
+
return String(l);
|
|
286
286
|
});
|
|
287
287
|
p.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, p);
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
|
-
var
|
|
291
|
-
function
|
|
290
|
+
var ke = {};
|
|
291
|
+
function he(e, r) {
|
|
292
292
|
{
|
|
293
293
|
var a = e.constructor, o = a && (a.displayName || a.name) || "ReactClass", c = o + "." + r;
|
|
294
|
-
if (
|
|
294
|
+
if (ke[c])
|
|
295
295
|
return;
|
|
296
|
-
|
|
296
|
+
f("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, o), ke[c] = !0;
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
var n = {
|
|
@@ -323,7 +323,7 @@ function Yt() {
|
|
|
323
323
|
* @internal
|
|
324
324
|
*/
|
|
325
325
|
enqueueForceUpdate: function(e, r, a) {
|
|
326
|
-
|
|
326
|
+
he(e, "forceUpdate");
|
|
327
327
|
},
|
|
328
328
|
/**
|
|
329
329
|
* Replaces all of the state. Always use this or `setState` to mutate state.
|
|
@@ -339,7 +339,7 @@ function Yt() {
|
|
|
339
339
|
* @internal
|
|
340
340
|
*/
|
|
341
341
|
enqueueReplaceState: function(e, r, a, o) {
|
|
342
|
-
|
|
342
|
+
he(e, "replaceState");
|
|
343
343
|
},
|
|
344
344
|
/**
|
|
345
345
|
* Sets a subset of the state. This only exists because _pendingState is
|
|
@@ -354,18 +354,18 @@ function Yt() {
|
|
|
354
354
|
* @internal
|
|
355
355
|
*/
|
|
356
356
|
enqueueSetState: function(e, r, a, o) {
|
|
357
|
-
|
|
357
|
+
he(e, "setState");
|
|
358
358
|
}
|
|
359
359
|
}, u = Object.assign, g = {};
|
|
360
360
|
Object.freeze(g);
|
|
361
|
-
function
|
|
361
|
+
function _(e, r, a) {
|
|
362
362
|
this.props = e, this.context = r, this.refs = g, this.updater = a || n;
|
|
363
363
|
}
|
|
364
|
-
|
|
364
|
+
_.prototype.isReactComponent = {}, _.prototype.setState = function(e, r) {
|
|
365
365
|
if (typeof e != "object" && typeof e != "function" && e != null)
|
|
366
366
|
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
367
367
|
this.updater.enqueueSetState(this, e, r, "setState");
|
|
368
|
-
},
|
|
368
|
+
}, _.prototype.forceUpdate = function(e) {
|
|
369
369
|
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
|
370
370
|
};
|
|
371
371
|
{
|
|
@@ -373,24 +373,24 @@ function Yt() {
|
|
|
373
373
|
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
|
374
374
|
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
|
375
375
|
}, P = function(e, r) {
|
|
376
|
-
Object.defineProperty(
|
|
376
|
+
Object.defineProperty(_.prototype, e, {
|
|
377
377
|
get: function() {
|
|
378
378
|
se("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
|
|
379
379
|
}
|
|
380
380
|
});
|
|
381
381
|
};
|
|
382
|
-
for (var
|
|
383
|
-
E.hasOwnProperty(
|
|
382
|
+
for (var k in E)
|
|
383
|
+
E.hasOwnProperty(k) && P(k, E[k]);
|
|
384
384
|
}
|
|
385
385
|
function T() {
|
|
386
386
|
}
|
|
387
|
-
T.prototype =
|
|
387
|
+
T.prototype = _.prototype;
|
|
388
388
|
function C(e, r, a) {
|
|
389
389
|
this.props = e, this.context = r, this.refs = g, this.updater = a || n;
|
|
390
390
|
}
|
|
391
|
-
var
|
|
392
|
-
|
|
393
|
-
function
|
|
391
|
+
var U = C.prototype = new T();
|
|
392
|
+
U.constructor = C, u(U, _.prototype), U.isPureReactComponent = !0;
|
|
393
|
+
function _r() {
|
|
394
394
|
var e = {
|
|
395
395
|
current: null
|
|
396
396
|
};
|
|
@@ -406,19 +406,19 @@ function Yt() {
|
|
|
406
406
|
return a;
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function Me(e) {
|
|
410
410
|
try {
|
|
411
|
-
return
|
|
411
|
+
return be(e), !1;
|
|
412
412
|
} catch {
|
|
413
413
|
return !0;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function be(e) {
|
|
417
417
|
return "" + e;
|
|
418
418
|
}
|
|
419
|
-
function
|
|
420
|
-
if (
|
|
421
|
-
return
|
|
419
|
+
function Oe(e) {
|
|
420
|
+
if (Me(e))
|
|
421
|
+
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rr(e)), be(e);
|
|
422
422
|
}
|
|
423
423
|
function er(e, r, a) {
|
|
424
424
|
var o = e.displayName;
|
|
@@ -433,7 +433,7 @@ function Yt() {
|
|
|
433
433
|
function de(e) {
|
|
434
434
|
if (e == null)
|
|
435
435
|
return null;
|
|
436
|
-
if (typeof e.tag == "number" &&
|
|
436
|
+
if (typeof e.tag == "number" && f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
437
437
|
return e.displayName || e.name || null;
|
|
438
438
|
if (typeof e == "string")
|
|
439
439
|
return e;
|
|
@@ -446,7 +446,7 @@ function Yt() {
|
|
|
446
446
|
return "Profiler";
|
|
447
447
|
case ae:
|
|
448
448
|
return "StrictMode";
|
|
449
|
-
case
|
|
449
|
+
case N:
|
|
450
450
|
return "Suspense";
|
|
451
451
|
case te:
|
|
452
452
|
return "SuspenseList";
|
|
@@ -465,9 +465,9 @@ function Yt() {
|
|
|
465
465
|
var o = e.displayName || null;
|
|
466
466
|
return o !== null ? o : de(e.type) || "Memo";
|
|
467
467
|
case ce: {
|
|
468
|
-
var c = e, p = c._payload,
|
|
468
|
+
var c = e, p = c._payload, l = c._init;
|
|
469
469
|
try {
|
|
470
|
-
return de(
|
|
470
|
+
return de(l(p));
|
|
471
471
|
} catch {
|
|
472
472
|
return null;
|
|
473
473
|
}
|
|
@@ -475,13 +475,13 @@ function Yt() {
|
|
|
475
475
|
}
|
|
476
476
|
return null;
|
|
477
477
|
}
|
|
478
|
-
var je = Object.prototype.hasOwnProperty,
|
|
478
|
+
var je = Object.prototype.hasOwnProperty, Ue = {
|
|
479
479
|
key: !0,
|
|
480
480
|
ref: !0,
|
|
481
481
|
__self: !0,
|
|
482
482
|
__source: !0
|
|
483
|
-
}, rr, tr,
|
|
484
|
-
|
|
483
|
+
}, rr, tr, Ve;
|
|
484
|
+
Ve = {};
|
|
485
485
|
function ze(e) {
|
|
486
486
|
if (je.call(e, "ref")) {
|
|
487
487
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
@@ -490,7 +490,7 @@ function Yt() {
|
|
|
490
490
|
}
|
|
491
491
|
return e.ref !== void 0;
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function _e(e) {
|
|
494
494
|
if (je.call(e, "key")) {
|
|
495
495
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
496
496
|
if (r && r.isReactWarning)
|
|
@@ -500,7 +500,7 @@ function Yt() {
|
|
|
500
500
|
}
|
|
501
501
|
function Er(e, r) {
|
|
502
502
|
var a = function() {
|
|
503
|
-
rr || (rr = !0,
|
|
503
|
+
rr || (rr = !0, f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
504
504
|
};
|
|
505
505
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
506
506
|
get: a,
|
|
@@ -509,7 +509,7 @@ function Yt() {
|
|
|
509
509
|
}
|
|
510
510
|
function nr(e, r) {
|
|
511
511
|
var a = function() {
|
|
512
|
-
tr || (tr = !0,
|
|
512
|
+
tr || (tr = !0, f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
513
513
|
};
|
|
514
514
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
515
515
|
get: a,
|
|
@@ -519,50 +519,50 @@ function Yt() {
|
|
|
519
519
|
function ar(e) {
|
|
520
520
|
if (typeof e.ref == "string" && G.current && e.__self && G.current.stateNode !== e.__self) {
|
|
521
521
|
var r = de(G.current.type);
|
|
522
|
-
|
|
522
|
+
Ve[r] || (f('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', r, e.ref), Ve[r] = !0);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
var xe = function(e, r, a, o, c, p,
|
|
526
|
-
var
|
|
525
|
+
var xe = function(e, r, a, o, c, p, l) {
|
|
526
|
+
var h = {
|
|
527
527
|
// This tag allows us to uniquely identify this as a React Element
|
|
528
|
-
$$typeof:
|
|
528
|
+
$$typeof: K,
|
|
529
529
|
// Built-in properties that belong on the element
|
|
530
530
|
type: e,
|
|
531
531
|
key: r,
|
|
532
532
|
ref: a,
|
|
533
|
-
props:
|
|
533
|
+
props: l,
|
|
534
534
|
// Record the component responsible for creating this element.
|
|
535
535
|
_owner: p
|
|
536
536
|
};
|
|
537
|
-
return
|
|
537
|
+
return h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
538
538
|
configurable: !1,
|
|
539
539
|
enumerable: !1,
|
|
540
540
|
writable: !0,
|
|
541
541
|
value: !1
|
|
542
|
-
}), Object.defineProperty(
|
|
542
|
+
}), Object.defineProperty(h, "_self", {
|
|
543
543
|
configurable: !1,
|
|
544
544
|
enumerable: !1,
|
|
545
545
|
writable: !1,
|
|
546
546
|
value: o
|
|
547
|
-
}), Object.defineProperty(
|
|
547
|
+
}), Object.defineProperty(h, "_source", {
|
|
548
548
|
configurable: !1,
|
|
549
549
|
enumerable: !1,
|
|
550
550
|
writable: !1,
|
|
551
551
|
value: c
|
|
552
|
-
}), Object.freeze && (Object.freeze(
|
|
552
|
+
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
553
553
|
};
|
|
554
554
|
function wr(e, r, a) {
|
|
555
|
-
var o, c = {}, p = null,
|
|
555
|
+
var o, c = {}, p = null, l = null, h = null, R = null;
|
|
556
556
|
if (r != null) {
|
|
557
|
-
ze(r) && (
|
|
557
|
+
ze(r) && (l = r.ref, ar(r)), _e(r) && (Oe(r.key), p = "" + r.key), h = r.__self === void 0 ? null : r.__self, R = r.__source === void 0 ? null : r.__source;
|
|
558
558
|
for (o in r)
|
|
559
|
-
je.call(r, o) && !
|
|
559
|
+
je.call(r, o) && !Ue.hasOwnProperty(o) && (c[o] = r[o]);
|
|
560
560
|
}
|
|
561
|
-
var
|
|
562
|
-
if (
|
|
561
|
+
var O = arguments.length - 2;
|
|
562
|
+
if (O === 1)
|
|
563
563
|
c.children = a;
|
|
564
|
-
else if (
|
|
565
|
-
for (var j = Array(
|
|
564
|
+
else if (O > 1) {
|
|
565
|
+
for (var j = Array(O), x = 0; x < O; x++)
|
|
566
566
|
j[x] = arguments[x + 2];
|
|
567
567
|
Object.freeze && Object.freeze(j), c.children = j;
|
|
568
568
|
}
|
|
@@ -571,11 +571,11 @@ function Yt() {
|
|
|
571
571
|
for (o in D)
|
|
572
572
|
c[o] === void 0 && (c[o] = D[o]);
|
|
573
573
|
}
|
|
574
|
-
if (p ||
|
|
575
|
-
var
|
|
576
|
-
p && Er(c,
|
|
574
|
+
if (p || l) {
|
|
575
|
+
var V = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
576
|
+
p && Er(c, V), l && nr(c, V);
|
|
577
577
|
}
|
|
578
|
-
return xe(e, p,
|
|
578
|
+
return xe(e, p, l, h, R, G.current, c);
|
|
579
579
|
}
|
|
580
580
|
function Cr(e, r) {
|
|
581
581
|
var a = xe(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
|
@@ -584,29 +584,29 @@ function Yt() {
|
|
|
584
584
|
function Sr(e, r, a) {
|
|
585
585
|
if (e == null)
|
|
586
586
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
|
587
|
-
var o, c = u({}, e.props), p = e.key,
|
|
587
|
+
var o, c = u({}, e.props), p = e.key, l = e.ref, h = e._self, R = e._source, O = e._owner;
|
|
588
588
|
if (r != null) {
|
|
589
|
-
ze(r) && (
|
|
589
|
+
ze(r) && (l = r.ref, O = G.current), _e(r) && (Oe(r.key), p = "" + r.key);
|
|
590
590
|
var j;
|
|
591
591
|
e.type && e.type.defaultProps && (j = e.type.defaultProps);
|
|
592
592
|
for (o in r)
|
|
593
|
-
je.call(r, o) && !
|
|
593
|
+
je.call(r, o) && !Ue.hasOwnProperty(o) && (r[o] === void 0 && j !== void 0 ? c[o] = j[o] : c[o] = r[o]);
|
|
594
594
|
}
|
|
595
595
|
var x = arguments.length - 2;
|
|
596
596
|
if (x === 1)
|
|
597
597
|
c.children = a;
|
|
598
598
|
else if (x > 1) {
|
|
599
|
-
for (var D = Array(x),
|
|
600
|
-
D[
|
|
599
|
+
for (var D = Array(x), V = 0; V < x; V++)
|
|
600
|
+
D[V] = arguments[V + 2];
|
|
601
601
|
c.children = D;
|
|
602
602
|
}
|
|
603
|
-
return xe(e.type, p,
|
|
603
|
+
return xe(e.type, p, l, h, R, O, c);
|
|
604
604
|
}
|
|
605
605
|
function Re(e) {
|
|
606
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
606
|
+
return typeof e == "object" && e !== null && e.$$typeof === K;
|
|
607
607
|
}
|
|
608
608
|
var or = ".", Tr = ":";
|
|
609
|
-
function
|
|
609
|
+
function kr(e) {
|
|
610
610
|
var r = /[=:]/g, a = {
|
|
611
611
|
"=": "=0",
|
|
612
612
|
":": "=2"
|
|
@@ -615,69 +615,69 @@ function Yt() {
|
|
|
615
615
|
});
|
|
616
616
|
return "$" + o;
|
|
617
617
|
}
|
|
618
|
-
var
|
|
619
|
-
function
|
|
618
|
+
var We = !1, ir = /\/+/g;
|
|
619
|
+
function ye(e) {
|
|
620
620
|
return e.replace(ir, "$&/");
|
|
621
621
|
}
|
|
622
622
|
function Ae(e, r) {
|
|
623
|
-
return typeof e == "object" && e !== null && e.key != null ? (
|
|
623
|
+
return typeof e == "object" && e !== null && e.key != null ? (Oe(e.key), kr("" + e.key)) : r.toString(36);
|
|
624
624
|
}
|
|
625
625
|
function Ee(e, r, a, o, c) {
|
|
626
626
|
var p = typeof e;
|
|
627
627
|
(p === "undefined" || p === "boolean") && (e = null);
|
|
628
|
-
var
|
|
628
|
+
var l = !1;
|
|
629
629
|
if (e === null)
|
|
630
|
-
|
|
630
|
+
l = !0;
|
|
631
631
|
else
|
|
632
632
|
switch (p) {
|
|
633
633
|
case "string":
|
|
634
634
|
case "number":
|
|
635
|
-
|
|
635
|
+
l = !0;
|
|
636
636
|
break;
|
|
637
637
|
case "object":
|
|
638
638
|
switch (e.$$typeof) {
|
|
639
|
-
case
|
|
639
|
+
case K:
|
|
640
640
|
case pe:
|
|
641
|
-
|
|
641
|
+
l = !0;
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
if (
|
|
645
|
-
var
|
|
644
|
+
if (l) {
|
|
645
|
+
var h = e, R = c(h), O = o === "" ? or + Ae(h, 0) : o;
|
|
646
646
|
if (Le(R)) {
|
|
647
647
|
var j = "";
|
|
648
|
-
|
|
649
|
-
return
|
|
648
|
+
O != null && (j = ye(O) + "/"), Ee(R, r, j, "", function(Wt) {
|
|
649
|
+
return Wt;
|
|
650
650
|
});
|
|
651
|
-
} else R != null && (Re(R) && (R.key && (!
|
|
651
|
+
} else R != null && (Re(R) && (R.key && (!h || h.key !== R.key) && Oe(R.key), R = Cr(
|
|
652
652
|
R,
|
|
653
653
|
// Keep both the (mapped) and old keys if they differ, just as
|
|
654
654
|
// traverseAllChildren used to do for objects as children
|
|
655
655
|
a + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
|
656
|
-
(R.key && (!
|
|
656
|
+
(R.key && (!h || h.key !== R.key) ? (
|
|
657
657
|
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
658
658
|
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
659
|
-
|
|
660
|
-
) : "") +
|
|
659
|
+
ye("" + R.key) + "/"
|
|
660
|
+
) : "") + O
|
|
661
661
|
)), r.push(R));
|
|
662
662
|
return 1;
|
|
663
663
|
}
|
|
664
|
-
var x, D,
|
|
664
|
+
var x, D, V = 0, z = o === "" ? or : o + Tr;
|
|
665
665
|
if (Le(e))
|
|
666
666
|
for (var gr = 0; gr < e.length; gr++)
|
|
667
|
-
x = e[gr], D = z + Ae(x, gr),
|
|
667
|
+
x = e[gr], D = z + Ae(x, gr), V += Ee(x, r, a, D, c);
|
|
668
668
|
else {
|
|
669
|
-
var
|
|
670
|
-
if (typeof
|
|
671
|
-
var
|
|
672
|
-
|
|
673
|
-
for (var
|
|
674
|
-
x = dt.value, D = z + Ae(x,
|
|
669
|
+
var Nr = A(e);
|
|
670
|
+
if (typeof Nr == "function") {
|
|
671
|
+
var ft = e;
|
|
672
|
+
Nr === ft.entries && (We || se("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), We = !0);
|
|
673
|
+
for (var Ut = Nr.call(ft), dt, Vt = 0; !(dt = Ut.next()).done; )
|
|
674
|
+
x = dt.value, D = z + Ae(x, Vt++), V += Ee(x, r, a, D, c);
|
|
675
675
|
} else if (p === "object") {
|
|
676
676
|
var pt = String(e);
|
|
677
677
|
throw new Error("Objects are not valid as a React child (found: " + (pt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : pt) + "). If you meant to render a collection of children, use an array instead.");
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
return
|
|
680
|
+
return V;
|
|
681
681
|
}
|
|
682
682
|
function Ie(e, r, a) {
|
|
683
683
|
if (e == null)
|
|
@@ -687,7 +687,7 @@ function Yt() {
|
|
|
687
687
|
return r.call(a, p, c++);
|
|
688
688
|
}), o;
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function Or(e) {
|
|
691
691
|
var r = 0;
|
|
692
692
|
return Ie(e, function() {
|
|
693
693
|
r++;
|
|
@@ -741,80 +741,80 @@ function Yt() {
|
|
|
741
741
|
Object.defineProperties(p, {
|
|
742
742
|
Provider: {
|
|
743
743
|
get: function() {
|
|
744
|
-
return o || (o = !0,
|
|
744
|
+
return o || (o = !0, f("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
|
|
745
745
|
},
|
|
746
|
-
set: function(
|
|
747
|
-
r.Provider =
|
|
746
|
+
set: function(l) {
|
|
747
|
+
r.Provider = l;
|
|
748
748
|
}
|
|
749
749
|
},
|
|
750
750
|
_currentValue: {
|
|
751
751
|
get: function() {
|
|
752
752
|
return r._currentValue;
|
|
753
753
|
},
|
|
754
|
-
set: function(
|
|
755
|
-
r._currentValue =
|
|
754
|
+
set: function(l) {
|
|
755
|
+
r._currentValue = l;
|
|
756
756
|
}
|
|
757
757
|
},
|
|
758
758
|
_currentValue2: {
|
|
759
759
|
get: function() {
|
|
760
760
|
return r._currentValue2;
|
|
761
761
|
},
|
|
762
|
-
set: function(
|
|
763
|
-
r._currentValue2 =
|
|
762
|
+
set: function(l) {
|
|
763
|
+
r._currentValue2 = l;
|
|
764
764
|
}
|
|
765
765
|
},
|
|
766
766
|
_threadCount: {
|
|
767
767
|
get: function() {
|
|
768
768
|
return r._threadCount;
|
|
769
769
|
},
|
|
770
|
-
set: function(
|
|
771
|
-
r._threadCount =
|
|
770
|
+
set: function(l) {
|
|
771
|
+
r._threadCount = l;
|
|
772
772
|
}
|
|
773
773
|
},
|
|
774
774
|
Consumer: {
|
|
775
775
|
get: function() {
|
|
776
|
-
return a || (a = !0,
|
|
776
|
+
return a || (a = !0, f("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
|
|
777
777
|
}
|
|
778
778
|
},
|
|
779
779
|
displayName: {
|
|
780
780
|
get: function() {
|
|
781
781
|
return r.displayName;
|
|
782
782
|
},
|
|
783
|
-
set: function(
|
|
784
|
-
c || (se("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",
|
|
783
|
+
set: function(l) {
|
|
784
|
+
c || (se("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", l), c = !0);
|
|
785
785
|
}
|
|
786
786
|
}
|
|
787
787
|
}), r.Consumer = p;
|
|
788
788
|
}
|
|
789
789
|
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
|
790
790
|
}
|
|
791
|
-
var De = -1,
|
|
791
|
+
var De = -1, He = 0, qe = 1, lr = 2;
|
|
792
792
|
function jr(e) {
|
|
793
793
|
if (e._status === De) {
|
|
794
794
|
var r = e._result, a = r();
|
|
795
795
|
if (a.then(function(p) {
|
|
796
|
-
if (e._status ===
|
|
797
|
-
var
|
|
798
|
-
|
|
796
|
+
if (e._status === He || e._status === De) {
|
|
797
|
+
var l = e;
|
|
798
|
+
l._status = qe, l._result = p;
|
|
799
799
|
}
|
|
800
800
|
}, function(p) {
|
|
801
|
-
if (e._status ===
|
|
802
|
-
var
|
|
803
|
-
|
|
801
|
+
if (e._status === He || e._status === De) {
|
|
802
|
+
var l = e;
|
|
803
|
+
l._status = lr, l._result = p;
|
|
804
804
|
}
|
|
805
805
|
}), e._status === De) {
|
|
806
806
|
var o = e;
|
|
807
|
-
o._status =
|
|
807
|
+
o._status = He, o._result = a;
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
|
-
if (e._status ===
|
|
810
|
+
if (e._status === qe) {
|
|
811
811
|
var c = e._result;
|
|
812
|
-
return c === void 0 &&
|
|
812
|
+
return c === void 0 && f(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
813
813
|
|
|
814
814
|
Your code should look like:
|
|
815
815
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
816
816
|
|
|
817
|
-
Did you accidentally put curly braces around the import?`, c), "default" in c ||
|
|
817
|
+
Did you accidentally put curly braces around the import?`, c), "default" in c || f(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
818
818
|
|
|
819
819
|
Your code should look like:
|
|
820
820
|
const MyComponent = lazy(() => import('./MyComponent'))`, c), c.default;
|
|
@@ -840,7 +840,7 @@ Your code should look like:
|
|
|
840
840
|
return o;
|
|
841
841
|
},
|
|
842
842
|
set: function(p) {
|
|
843
|
-
|
|
843
|
+
f("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), o = p, Object.defineProperty(a, "defaultProps", {
|
|
844
844
|
enumerable: !0
|
|
845
845
|
});
|
|
846
846
|
}
|
|
@@ -851,7 +851,7 @@ Your code should look like:
|
|
|
851
851
|
return c;
|
|
852
852
|
},
|
|
853
853
|
set: function(p) {
|
|
854
|
-
|
|
854
|
+
f("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), c = p, Object.defineProperty(a, "propTypes", {
|
|
855
855
|
enumerable: !0
|
|
856
856
|
});
|
|
857
857
|
}
|
|
@@ -861,7 +861,7 @@ Your code should look like:
|
|
|
861
861
|
return a;
|
|
862
862
|
}
|
|
863
863
|
function Ar(e) {
|
|
864
|
-
e != null && e.$$typeof === X ?
|
|
864
|
+
e != null && e.$$typeof === X ? f("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? f("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && f("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && f("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
|
|
865
865
|
var r = {
|
|
866
866
|
$$typeof: L,
|
|
867
867
|
render: e
|
|
@@ -881,17 +881,17 @@ Your code should look like:
|
|
|
881
881
|
}
|
|
882
882
|
return r;
|
|
883
883
|
}
|
|
884
|
-
var
|
|
885
|
-
|
|
884
|
+
var fr;
|
|
885
|
+
fr = Symbol.for("react.module.reference");
|
|
886
886
|
function t(e) {
|
|
887
|
-
return !!(typeof e == "string" || typeof e == "function" || e === ne || e === ee || Q || e === ae || e ===
|
|
887
|
+
return !!(typeof e == "string" || typeof e == "function" || e === ne || e === ee || Q || e === ae || e === N || e === te || H || e === $e || Se || Be || Te || typeof e == "object" && e !== null && (e.$$typeof === ce || e.$$typeof === X || e.$$typeof === $ || e.$$typeof === re || e.$$typeof === L || // This needs to include all possible module reference object
|
|
888
888
|
// types supported by any Flight configuration anywhere since
|
|
889
889
|
// we don't know which Flight build this will end up being used
|
|
890
890
|
// with.
|
|
891
|
-
e.$$typeof ===
|
|
891
|
+
e.$$typeof === fr || e.getModuleId !== void 0));
|
|
892
892
|
}
|
|
893
893
|
function i(e, r) {
|
|
894
|
-
t(e) ||
|
|
894
|
+
t(e) || f("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
|
895
895
|
var a = {
|
|
896
896
|
$$typeof: X,
|
|
897
897
|
type: e,
|
|
@@ -914,7 +914,7 @@ Your code should look like:
|
|
|
914
914
|
}
|
|
915
915
|
function s() {
|
|
916
916
|
var e = ge.current;
|
|
917
|
-
return e === null &&
|
|
917
|
+
return e === null && f(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
918
918
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
919
919
|
2. You might be breaking the Rules of Hooks
|
|
920
920
|
3. You might have more than one copy of React in the same app
|
|
@@ -924,7 +924,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
924
924
|
var r = s();
|
|
925
925
|
if (e._context !== void 0) {
|
|
926
926
|
var a = e._context;
|
|
927
|
-
a.Consumer === e ?
|
|
927
|
+
a.Consumer === e ? f("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : a.Provider === e && f("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
|
|
928
928
|
}
|
|
929
929
|
return r.useContext(e);
|
|
930
930
|
}
|
|
@@ -936,11 +936,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
936
936
|
var o = s();
|
|
937
937
|
return o.useReducer(e, r, a);
|
|
938
938
|
}
|
|
939
|
-
function
|
|
939
|
+
function b(e) {
|
|
940
940
|
var r = s();
|
|
941
941
|
return r.useRef(e);
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function y(e, r) {
|
|
944
944
|
var a = s();
|
|
945
945
|
return a.useEffect(e, r);
|
|
946
946
|
}
|
|
@@ -970,11 +970,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
970
970
|
return a.useDebugValue(e, r);
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
|
-
function
|
|
973
|
+
function q() {
|
|
974
974
|
var e = s();
|
|
975
975
|
return e.useTransition();
|
|
976
976
|
}
|
|
977
|
-
function
|
|
977
|
+
function Ke(e) {
|
|
978
978
|
var r = s();
|
|
979
979
|
return r.useDeferredValue(e);
|
|
980
980
|
}
|
|
@@ -986,14 +986,14 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
986
986
|
var o = s();
|
|
987
987
|
return o.useSyncExternalStore(e, r, a);
|
|
988
988
|
}
|
|
989
|
-
var Ge = 0, Br, zr, qr, Kr,
|
|
989
|
+
var Ge = 0, Br, zr, Hr, qr, Kr, Gr, Jr;
|
|
990
990
|
function Xr() {
|
|
991
991
|
}
|
|
992
992
|
Xr.__reactDisabledLog = !0;
|
|
993
993
|
function Rt() {
|
|
994
994
|
{
|
|
995
995
|
if (Ge === 0) {
|
|
996
|
-
Br = console.log, zr = console.info,
|
|
996
|
+
Br = console.log, zr = console.info, Hr = console.warn, qr = console.error, Kr = console.group, Gr = console.groupCollapsed, Jr = console.groupEnd;
|
|
997
997
|
var e = {
|
|
998
998
|
configurable: !0,
|
|
999
999
|
enumerable: !0,
|
|
@@ -1029,13 +1029,13 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1029
1029
|
value: zr
|
|
1030
1030
|
}),
|
|
1031
1031
|
warn: u({}, e, {
|
|
1032
|
-
value:
|
|
1032
|
+
value: Hr
|
|
1033
1033
|
}),
|
|
1034
1034
|
error: u({}, e, {
|
|
1035
|
-
value:
|
|
1035
|
+
value: qr
|
|
1036
1036
|
}),
|
|
1037
1037
|
group: u({}, e, {
|
|
1038
|
-
value:
|
|
1038
|
+
value: Kr
|
|
1039
1039
|
}),
|
|
1040
1040
|
groupCollapsed: u({}, e, {
|
|
1041
1041
|
value: Gr
|
|
@@ -1045,7 +1045,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1045
1045
|
})
|
|
1046
1046
|
});
|
|
1047
1047
|
}
|
|
1048
|
-
Ge < 0 &&
|
|
1048
|
+
Ge < 0 && f("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
var Fr = Y.ReactCurrentDispatcher, $r;
|
|
@@ -1083,27 +1083,27 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1083
1083
|
p = Fr.current, Fr.current = null, Rt();
|
|
1084
1084
|
try {
|
|
1085
1085
|
if (r) {
|
|
1086
|
-
var
|
|
1086
|
+
var l = function() {
|
|
1087
1087
|
throw Error();
|
|
1088
1088
|
};
|
|
1089
|
-
if (Object.defineProperty(
|
|
1089
|
+
if (Object.defineProperty(l.prototype, "props", {
|
|
1090
1090
|
set: function() {
|
|
1091
1091
|
throw Error();
|
|
1092
1092
|
}
|
|
1093
1093
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1094
1094
|
try {
|
|
1095
|
-
Reflect.construct(
|
|
1095
|
+
Reflect.construct(l, []);
|
|
1096
1096
|
} catch (z) {
|
|
1097
1097
|
o = z;
|
|
1098
1098
|
}
|
|
1099
|
-
Reflect.construct(e, [],
|
|
1099
|
+
Reflect.construct(e, [], l);
|
|
1100
1100
|
} else {
|
|
1101
1101
|
try {
|
|
1102
|
-
|
|
1102
|
+
l.call();
|
|
1103
1103
|
} catch (z) {
|
|
1104
1104
|
o = z;
|
|
1105
1105
|
}
|
|
1106
|
-
e.call(
|
|
1106
|
+
e.call(l.prototype);
|
|
1107
1107
|
}
|
|
1108
1108
|
} else {
|
|
1109
1109
|
try {
|
|
@@ -1115,28 +1115,28 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1115
1115
|
}
|
|
1116
1116
|
} catch (z) {
|
|
1117
1117
|
if (z && o && typeof z.stack == "string") {
|
|
1118
|
-
for (var
|
|
1118
|
+
for (var h = z.stack.split(`
|
|
1119
1119
|
`), R = o.stack.split(`
|
|
1120
|
-
`),
|
|
1120
|
+
`), O = h.length - 1, j = R.length - 1; O >= 1 && j >= 0 && h[O] !== R[j]; )
|
|
1121
1121
|
j--;
|
|
1122
|
-
for (;
|
|
1123
|
-
if (
|
|
1124
|
-
if (
|
|
1122
|
+
for (; O >= 1 && j >= 0; O--, j--)
|
|
1123
|
+
if (h[O] !== R[j]) {
|
|
1124
|
+
if (O !== 1 || j !== 1)
|
|
1125
1125
|
do
|
|
1126
|
-
if (
|
|
1126
|
+
if (O--, j--, j < 0 || h[O] !== R[j]) {
|
|
1127
1127
|
var x = `
|
|
1128
|
-
` +
|
|
1128
|
+
` + h[O].replace(" at new ", " at ");
|
|
1129
1129
|
return e.displayName && x.includes("<anonymous>") && (x = x.replace("<anonymous>", e.displayName)), typeof e == "function" && pr.set(e, x), x;
|
|
1130
1130
|
}
|
|
1131
|
-
while (
|
|
1131
|
+
while (O >= 1 && j >= 0);
|
|
1132
1132
|
break;
|
|
1133
1133
|
}
|
|
1134
1134
|
}
|
|
1135
1135
|
} finally {
|
|
1136
1136
|
Lr = !1, Fr.current = p, Et(), Error.prepareStackTrace = c;
|
|
1137
1137
|
}
|
|
1138
|
-
var D = e ? e.displayName || e.name : "",
|
|
1139
|
-
return typeof e == "function" && pr.set(e,
|
|
1138
|
+
var D = e ? e.displayName || e.name : "", V = D ? dr(D) : "";
|
|
1139
|
+
return typeof e == "function" && pr.set(e, V), V;
|
|
1140
1140
|
}
|
|
1141
1141
|
function Ct(e, r, a) {
|
|
1142
1142
|
return Qr(e, !1);
|
|
@@ -1153,7 +1153,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1153
1153
|
if (typeof e == "string")
|
|
1154
1154
|
return dr(e);
|
|
1155
1155
|
switch (e) {
|
|
1156
|
-
case
|
|
1156
|
+
case N:
|
|
1157
1157
|
return dr("Suspense");
|
|
1158
1158
|
case te:
|
|
1159
1159
|
return dr("SuspenseList");
|
|
@@ -1175,7 +1175,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1175
1175
|
return "";
|
|
1176
1176
|
}
|
|
1177
1177
|
var Zr = {}, et = Y.ReactDebugCurrentFrame;
|
|
1178
|
-
function
|
|
1178
|
+
function hr(e) {
|
|
1179
1179
|
if (e) {
|
|
1180
1180
|
var r = e._owner, a = vr(e.type, e._source, r ? r.type : null);
|
|
1181
1181
|
et.setExtraStackFrame(a);
|
|
@@ -1185,31 +1185,31 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
1185
1185
|
function Tt(e, r, a, o, c) {
|
|
1186
1186
|
{
|
|
1187
1187
|
var p = Function.call.bind(je);
|
|
1188
|
-
for (var
|
|
1189
|
-
if (p(e,
|
|
1190
|
-
var
|
|
1188
|
+
for (var l in e)
|
|
1189
|
+
if (p(e, l)) {
|
|
1190
|
+
var h = void 0;
|
|
1191
1191
|
try {
|
|
1192
|
-
if (typeof e[
|
|
1193
|
-
var R = Error((o || "React class") + ": " + a + " type `" +
|
|
1192
|
+
if (typeof e[l] != "function") {
|
|
1193
|
+
var R = Error((o || "React class") + ": " + a + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1194
1194
|
throw R.name = "Invariant Violation", R;
|
|
1195
1195
|
}
|
|
1196
|
-
|
|
1197
|
-
} catch (
|
|
1198
|
-
|
|
1196
|
+
h = e[l](r, l, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1197
|
+
} catch (O) {
|
|
1198
|
+
h = O;
|
|
1199
1199
|
}
|
|
1200
|
-
|
|
1200
|
+
h && !(h instanceof Error) && (hr(c), f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", a, l, typeof h), hr(null)), h instanceof Error && !(h.message in Zr) && (Zr[h.message] = !0, hr(c), f("Failed %s type: %s", a, h.message), hr(null));
|
|
1201
1201
|
}
|
|
1202
1202
|
}
|
|
1203
1203
|
}
|
|
1204
|
-
function
|
|
1204
|
+
function Ne(e) {
|
|
1205
1205
|
if (e) {
|
|
1206
1206
|
var r = e._owner, a = vr(e.type, e._source, r ? r.type : null);
|
|
1207
1207
|
Ce(a);
|
|
1208
1208
|
} else
|
|
1209
1209
|
Ce(null);
|
|
1210
1210
|
}
|
|
1211
|
-
var
|
|
1212
|
-
|
|
1211
|
+
var Mr;
|
|
1212
|
+
Mr = !1;
|
|
1213
1213
|
function rt() {
|
|
1214
1214
|
if (G.current) {
|
|
1215
1215
|
var e = de(G.current.type);
|
|
@@ -1220,7 +1220,7 @@ Check the render method of \`` + e + "`.";
|
|
|
1220
1220
|
}
|
|
1221
1221
|
return "";
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1223
|
+
function kt(e) {
|
|
1224
1224
|
if (e !== void 0) {
|
|
1225
1225
|
var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
|
|
1226
1226
|
return `
|
|
@@ -1229,8 +1229,8 @@ Check your code at ` + r + ":" + a + ".";
|
|
|
1229
1229
|
}
|
|
1230
1230
|
return "";
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1233
|
-
return e != null ?
|
|
1232
|
+
function Ot(e) {
|
|
1233
|
+
return e != null ? kt(e.__source) : "";
|
|
1234
1234
|
}
|
|
1235
1235
|
var tt = {};
|
|
1236
1236
|
function Pt(e) {
|
|
@@ -1250,7 +1250,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1250
1250
|
if (!tt[a]) {
|
|
1251
1251
|
tt[a] = !0;
|
|
1252
1252
|
var o = "";
|
|
1253
|
-
e && e._owner && e._owner !== G.current && (o = " It was passed a child from " + de(e._owner.type) + "."),
|
|
1253
|
+
e && e._owner && e._owner !== G.current && (o = " It was passed a child from " + de(e._owner.type) + "."), Ne(e), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, o), Ne(null);
|
|
1254
1254
|
}
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
@@ -1266,8 +1266,8 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1266
1266
|
else if (e) {
|
|
1267
1267
|
var c = A(e);
|
|
1268
1268
|
if (typeof c == "function" && c !== e.entries)
|
|
1269
|
-
for (var p = c.call(e),
|
|
1270
|
-
Re(
|
|
1269
|
+
for (var p = c.call(e), l; !(l = p.next()).done; )
|
|
1270
|
+
Re(l.value) && nt(l.value, r);
|
|
1271
1271
|
}
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
@@ -1288,12 +1288,12 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1288
1288
|
if (a) {
|
|
1289
1289
|
var o = de(r);
|
|
1290
1290
|
Tt(a, e.props, "prop", o, e);
|
|
1291
|
-
} else if (r.PropTypes !== void 0 && !
|
|
1292
|
-
|
|
1291
|
+
} else if (r.PropTypes !== void 0 && !Mr) {
|
|
1292
|
+
Mr = !0;
|
|
1293
1293
|
var c = de(r);
|
|
1294
|
-
|
|
1294
|
+
f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
|
|
1295
1295
|
}
|
|
1296
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
1296
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
function jt(e) {
|
|
@@ -1301,11 +1301,11 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1301
1301
|
for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
|
|
1302
1302
|
var o = r[a];
|
|
1303
1303
|
if (o !== "children" && o !== "key") {
|
|
1304
|
-
|
|
1304
|
+
Ne(e), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), Ne(null);
|
|
1305
1305
|
break;
|
|
1306
1306
|
}
|
|
1307
1307
|
}
|
|
1308
|
-
e.ref !== null && (
|
|
1308
|
+
e.ref !== null && (Ne(e), f("Invalid attribute `ref` supplied to `React.Fragment`."), Ne(null));
|
|
1309
1309
|
}
|
|
1310
1310
|
}
|
|
1311
1311
|
function it(e, r, a) {
|
|
@@ -1313,18 +1313,18 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1313
1313
|
if (!o) {
|
|
1314
1314
|
var c = "";
|
|
1315
1315
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
1316
|
-
var p =
|
|
1316
|
+
var p = Ot(r);
|
|
1317
1317
|
p ? c += p : c += rt();
|
|
1318
|
-
var
|
|
1319
|
-
e === null ?
|
|
1318
|
+
var l;
|
|
1319
|
+
e === null ? l = "null" : Le(e) ? l = "array" : e !== void 0 && e.$$typeof === K ? (l = "<" + (de(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : l = typeof e, f("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", l, c);
|
|
1320
1320
|
}
|
|
1321
|
-
var
|
|
1322
|
-
if (
|
|
1323
|
-
return
|
|
1321
|
+
var h = wr.apply(this, arguments);
|
|
1322
|
+
if (h == null)
|
|
1323
|
+
return h;
|
|
1324
1324
|
if (o)
|
|
1325
1325
|
for (var R = 2; R < arguments.length; R++)
|
|
1326
1326
|
at(arguments[R], e);
|
|
1327
|
-
return e === ne ? jt(
|
|
1327
|
+
return e === ne ? jt(h) : ot(h), h;
|
|
1328
1328
|
}
|
|
1329
1329
|
var ut = !1;
|
|
1330
1330
|
function xt(e) {
|
|
@@ -1357,65 +1357,65 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1357
1357
|
}
|
|
1358
1358
|
}
|
|
1359
1359
|
}
|
|
1360
|
-
var st = !1,
|
|
1360
|
+
var st = !1, yr = null;
|
|
1361
1361
|
function Dt(e) {
|
|
1362
|
-
if (
|
|
1362
|
+
if (yr === null)
|
|
1363
1363
|
try {
|
|
1364
|
-
var r = ("require" + Math.random()).slice(0, 7), a =
|
|
1365
|
-
|
|
1364
|
+
var r = ("require" + Math.random()).slice(0, 7), a = W && W[r];
|
|
1365
|
+
yr = a.call(W, "timers").setImmediate;
|
|
1366
1366
|
} catch {
|
|
1367
|
-
|
|
1368
|
-
st === !1 && (st = !0, typeof MessageChannel > "u" &&
|
|
1367
|
+
yr = function(c) {
|
|
1368
|
+
st === !1 && (st = !0, typeof MessageChannel > "u" && f("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
1369
1369
|
var p = new MessageChannel();
|
|
1370
1370
|
p.port1.onmessage = c, p.port2.postMessage(void 0);
|
|
1371
1371
|
};
|
|
1372
1372
|
}
|
|
1373
|
-
return
|
|
1373
|
+
return yr(e);
|
|
1374
1374
|
}
|
|
1375
1375
|
var Ye = 0, ct = !1;
|
|
1376
|
-
function
|
|
1376
|
+
function lt(e) {
|
|
1377
1377
|
{
|
|
1378
1378
|
var r = Ye;
|
|
1379
|
-
Ye++,
|
|
1380
|
-
var a =
|
|
1379
|
+
Ye++, M.current === null && (M.current = []);
|
|
1380
|
+
var a = M.isBatchingLegacy, o;
|
|
1381
1381
|
try {
|
|
1382
|
-
if (
|
|
1383
|
-
var c =
|
|
1384
|
-
c !== null && (
|
|
1382
|
+
if (M.isBatchingLegacy = !0, o = e(), !a && M.didScheduleLegacyUpdate) {
|
|
1383
|
+
var c = M.current;
|
|
1384
|
+
c !== null && (M.didScheduleLegacyUpdate = !1, Wr(c));
|
|
1385
1385
|
}
|
|
1386
1386
|
} catch (D) {
|
|
1387
1387
|
throw mr(r), D;
|
|
1388
1388
|
} finally {
|
|
1389
|
-
|
|
1389
|
+
M.isBatchingLegacy = a;
|
|
1390
1390
|
}
|
|
1391
1391
|
if (o !== null && typeof o == "object" && typeof o.then == "function") {
|
|
1392
|
-
var p = o,
|
|
1393
|
-
then: function(D,
|
|
1394
|
-
|
|
1395
|
-
mr(r), Ye === 0 ?
|
|
1392
|
+
var p = o, l = !1, h = {
|
|
1393
|
+
then: function(D, V) {
|
|
1394
|
+
l = !0, p.then(function(z) {
|
|
1395
|
+
mr(r), Ye === 0 ? Ur(z, D, V) : D(z);
|
|
1396
1396
|
}, function(z) {
|
|
1397
|
-
mr(r),
|
|
1397
|
+
mr(r), V(z);
|
|
1398
1398
|
});
|
|
1399
1399
|
}
|
|
1400
1400
|
};
|
|
1401
1401
|
return !ct && typeof Promise < "u" && Promise.resolve().then(function() {
|
|
1402
1402
|
}).then(function() {
|
|
1403
|
-
|
|
1404
|
-
}),
|
|
1403
|
+
l || (ct = !0, f("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
|
|
1404
|
+
}), h;
|
|
1405
1405
|
} else {
|
|
1406
1406
|
var R = o;
|
|
1407
1407
|
if (mr(r), Ye === 0) {
|
|
1408
|
-
var
|
|
1409
|
-
|
|
1408
|
+
var O = M.current;
|
|
1409
|
+
O !== null && (Wr(O), M.current = null);
|
|
1410
1410
|
var j = {
|
|
1411
|
-
then: function(D,
|
|
1412
|
-
|
|
1411
|
+
then: function(D, V) {
|
|
1412
|
+
M.current === null ? (M.current = [], Ur(R, D, V)) : D(R);
|
|
1413
1413
|
}
|
|
1414
1414
|
};
|
|
1415
1415
|
return j;
|
|
1416
1416
|
} else {
|
|
1417
1417
|
var x = {
|
|
1418
|
-
then: function(D,
|
|
1418
|
+
then: function(D, V) {
|
|
1419
1419
|
D(R);
|
|
1420
1420
|
}
|
|
1421
1421
|
};
|
|
@@ -1425,15 +1425,15 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1425
1425
|
}
|
|
1426
1426
|
}
|
|
1427
1427
|
function mr(e) {
|
|
1428
|
-
e !== Ye - 1 &&
|
|
1428
|
+
e !== Ye - 1 && f("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ye = e;
|
|
1429
1429
|
}
|
|
1430
|
-
function
|
|
1430
|
+
function Ur(e, r, a) {
|
|
1431
1431
|
{
|
|
1432
|
-
var o =
|
|
1432
|
+
var o = M.current;
|
|
1433
1433
|
if (o !== null)
|
|
1434
1434
|
try {
|
|
1435
|
-
|
|
1436
|
-
o.length === 0 ? (
|
|
1435
|
+
Wr(o), Dt(function() {
|
|
1436
|
+
o.length === 0 ? (M.current = null, r(e)) : Ur(e, r, a);
|
|
1437
1437
|
});
|
|
1438
1438
|
} catch (c) {
|
|
1439
1439
|
a(c);
|
|
@@ -1442,10 +1442,10 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1442
1442
|
r(e);
|
|
1443
1443
|
}
|
|
1444
1444
|
}
|
|
1445
|
-
var
|
|
1446
|
-
function
|
|
1447
|
-
if (!
|
|
1448
|
-
|
|
1445
|
+
var Vr = !1;
|
|
1446
|
+
function Wr(e) {
|
|
1447
|
+
if (!Vr) {
|
|
1448
|
+
Vr = !0;
|
|
1449
1449
|
var r = 0;
|
|
1450
1450
|
try {
|
|
1451
1451
|
for (; r < e.length; r++) {
|
|
@@ -1458,24 +1458,24 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1458
1458
|
} catch (o) {
|
|
1459
1459
|
throw e = e.slice(r + 1), o;
|
|
1460
1460
|
} finally {
|
|
1461
|
-
|
|
1461
|
+
Vr = !1;
|
|
1462
1462
|
}
|
|
1463
1463
|
}
|
|
1464
1464
|
}
|
|
1465
|
-
var Ft = it, $t = At, Lt = xt,
|
|
1465
|
+
var Ft = it, $t = At, Lt = xt, Mt = {
|
|
1466
1466
|
map: Ie,
|
|
1467
1467
|
forEach: ur,
|
|
1468
|
-
count:
|
|
1468
|
+
count: Or,
|
|
1469
1469
|
toArray: Pr,
|
|
1470
1470
|
only: sr
|
|
1471
1471
|
};
|
|
1472
|
-
d.Children =
|
|
1472
|
+
d.Children = Mt, d.Component = _, d.Fragment = ne, d.Profiler = ee, d.PureComponent = C, d.StrictMode = ae, d.Suspense = N, d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Y, d.act = lt, d.cloneElement = $t, d.createContext = cr, d.createElement = Ft, d.createFactory = Lt, d.createRef = _r, d.forwardRef = Ar, d.isValidElement = Re, d.lazy = xr, d.memo = i, d.startTransition = It, d.unstable_act = lt, d.useCallback = F, d.useContext = v, d.useDebugValue = me, d.useDeferredValue = Ke, d.useEffect = y, d.useId = Ir, d.useImperativeHandle = we, d.useInsertionEffect = B, d.useLayoutEffect = I, d.useMemo = Z, d.useReducer = S, d.useRef = b, d.useState = w, d.useSyncExternalStore = Dr, d.useTransition = q, d.version = J, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
1473
1473
|
}();
|
|
1474
1474
|
}(Qe, Qe.exports)), Qe.exports;
|
|
1475
1475
|
}
|
|
1476
|
-
var
|
|
1477
|
-
function
|
|
1478
|
-
return
|
|
1476
|
+
var yt;
|
|
1477
|
+
function bt() {
|
|
1478
|
+
return yt || (yt = 1, process.env.NODE_ENV === "production" ? br.exports = Nt() : br.exports = Yt()), br.exports;
|
|
1479
1479
|
}
|
|
1480
1480
|
/**
|
|
1481
1481
|
* @license React
|
|
@@ -1490,13 +1490,13 @@ var mt;
|
|
|
1490
1490
|
function Bt() {
|
|
1491
1491
|
if (mt) return Je;
|
|
1492
1492
|
mt = 1;
|
|
1493
|
-
var
|
|
1493
|
+
var W = bt(), d = Symbol.for("react.element"), J = Symbol.for("react.fragment"), K = Object.prototype.hasOwnProperty, pe = W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, ne = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
1494
1494
|
function ae(ee, $, re) {
|
|
1495
|
-
var L,
|
|
1495
|
+
var L, N = {}, te = null, X = null;
|
|
1496
1496
|
re !== void 0 && (te = "" + re), $.key !== void 0 && (te = "" + $.key), $.ref !== void 0 && (X = $.ref);
|
|
1497
|
-
for (L in $)
|
|
1498
|
-
if (ee && ee.defaultProps) for (L in $ = ee.defaultProps, $)
|
|
1499
|
-
return { $$typeof: d, type: ee, key: te, ref: X, props:
|
|
1497
|
+
for (L in $) K.call($, L) && !ne.hasOwnProperty(L) && (N[L] = $[L]);
|
|
1498
|
+
if (ee && ee.defaultProps) for (L in $ = ee.defaultProps, $) N[L] === void 0 && (N[L] = $[L]);
|
|
1499
|
+
return { $$typeof: d, type: ee, key: te, ref: X, props: N, _owner: pe.current };
|
|
1500
1500
|
}
|
|
1501
1501
|
return Je.Fragment = J, Je.jsx = ae, Je.jsxs = ae, Je;
|
|
1502
1502
|
}
|
|
@@ -1513,14 +1513,14 @@ var Xe = {};
|
|
|
1513
1513
|
var gt;
|
|
1514
1514
|
function zt() {
|
|
1515
1515
|
return gt || (gt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1516
|
-
var
|
|
1516
|
+
var W = bt(), d = Symbol.for("react.element"), J = Symbol.for("react.portal"), K = Symbol.for("react.fragment"), pe = Symbol.for("react.strict_mode"), ne = Symbol.for("react.profiler"), ae = Symbol.for("react.provider"), ee = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), re = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), te = Symbol.for("react.lazy"), X = Symbol.for("react.offscreen"), ce = Symbol.iterator, $e = "@@iterator";
|
|
1517
1517
|
function oe(t) {
|
|
1518
1518
|
if (t === null || typeof t != "object")
|
|
1519
1519
|
return null;
|
|
1520
1520
|
var i = ce && t[ce] || t[$e];
|
|
1521
1521
|
return typeof i == "function" ? i : null;
|
|
1522
1522
|
}
|
|
1523
|
-
var ie =
|
|
1523
|
+
var ie = W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
1524
1524
|
function A(t) {
|
|
1525
1525
|
{
|
|
1526
1526
|
for (var i = arguments.length, s = new Array(i > 1 ? i - 1 : 0), v = 1; v < i; v++)
|
|
@@ -1532,16 +1532,16 @@ function zt() {
|
|
|
1532
1532
|
{
|
|
1533
1533
|
var v = ie.ReactDebugCurrentFrame, w = v.getStackAddendum();
|
|
1534
1534
|
w !== "" && (i += "%s", s = s.concat([w]));
|
|
1535
|
-
var S = s.map(function(
|
|
1536
|
-
return String(
|
|
1535
|
+
var S = s.map(function(b) {
|
|
1536
|
+
return String(b);
|
|
1537
1537
|
});
|
|
1538
1538
|
S.unshift("Warning: " + i), Function.prototype.apply.call(console[t], console, S);
|
|
1539
1539
|
}
|
|
1540
1540
|
}
|
|
1541
|
-
var ue = !1,
|
|
1541
|
+
var ue = !1, M = !1, G = !1, le = !1, ve = !1, Ce;
|
|
1542
1542
|
Ce = Symbol.for("react.module.reference");
|
|
1543
1543
|
function Se(t) {
|
|
1544
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
1544
|
+
return !!(typeof t == "string" || typeof t == "function" || t === K || t === ne || ve || t === pe || t === re || t === L || le || t === X || ue || M || G || typeof t == "object" && t !== null && (t.$$typeof === te || t.$$typeof === N || t.$$typeof === ae || t.$$typeof === ee || t.$$typeof === $ || // This needs to include all possible module reference object
|
|
1545
1545
|
// types supported by any Flight configuration anywhere since
|
|
1546
1546
|
// we don't know which Flight build this will end up being used
|
|
1547
1547
|
// with.
|
|
@@ -1557,7 +1557,7 @@ function zt() {
|
|
|
1557
1557
|
function Te(t) {
|
|
1558
1558
|
return t.displayName || "Context";
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1560
|
+
function H(t) {
|
|
1561
1561
|
if (t == null)
|
|
1562
1562
|
return null;
|
|
1563
1563
|
if (typeof t.tag == "number" && A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
@@ -1565,7 +1565,7 @@ function zt() {
|
|
|
1565
1565
|
if (typeof t == "string")
|
|
1566
1566
|
return t;
|
|
1567
1567
|
switch (t) {
|
|
1568
|
-
case
|
|
1568
|
+
case K:
|
|
1569
1569
|
return "Fragment";
|
|
1570
1570
|
case J:
|
|
1571
1571
|
return "Portal";
|
|
@@ -1588,13 +1588,13 @@ function zt() {
|
|
|
1588
1588
|
return Te(s._context) + ".Provider";
|
|
1589
1589
|
case $:
|
|
1590
1590
|
return Be(t, t.render, "ForwardRef");
|
|
1591
|
-
case
|
|
1591
|
+
case N:
|
|
1592
1592
|
var v = t.displayName || null;
|
|
1593
|
-
return v !== null ? v :
|
|
1593
|
+
return v !== null ? v : H(t.type) || "Memo";
|
|
1594
1594
|
case te: {
|
|
1595
|
-
var w = t, S = w._payload,
|
|
1595
|
+
var w = t, S = w._payload, b = w._init;
|
|
1596
1596
|
try {
|
|
1597
|
-
return
|
|
1597
|
+
return H(b(S));
|
|
1598
1598
|
} catch {
|
|
1599
1599
|
return null;
|
|
1600
1600
|
}
|
|
@@ -1602,14 +1602,14 @@ function zt() {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
return null;
|
|
1604
1604
|
}
|
|
1605
|
-
var Q = Object.assign, Y = 0, se,
|
|
1605
|
+
var Q = Object.assign, Y = 0, se, f, fe, ke, he, n, u;
|
|
1606
1606
|
function g() {
|
|
1607
1607
|
}
|
|
1608
1608
|
g.__reactDisabledLog = !0;
|
|
1609
|
-
function
|
|
1609
|
+
function _() {
|
|
1610
1610
|
{
|
|
1611
1611
|
if (Y === 0) {
|
|
1612
|
-
se = console.log,
|
|
1612
|
+
se = console.log, f = console.info, fe = console.warn, ke = console.error, he = console.group, n = console.groupCollapsed, u = console.groupEnd;
|
|
1613
1613
|
var t = {
|
|
1614
1614
|
configurable: !0,
|
|
1615
1615
|
enumerable: !0,
|
|
@@ -1642,16 +1642,16 @@ function zt() {
|
|
|
1642
1642
|
value: se
|
|
1643
1643
|
}),
|
|
1644
1644
|
info: Q({}, t, {
|
|
1645
|
-
value:
|
|
1645
|
+
value: f
|
|
1646
1646
|
}),
|
|
1647
1647
|
warn: Q({}, t, {
|
|
1648
|
-
value:
|
|
1648
|
+
value: fe
|
|
1649
1649
|
}),
|
|
1650
1650
|
error: Q({}, t, {
|
|
1651
|
-
value:
|
|
1651
|
+
value: ke
|
|
1652
1652
|
}),
|
|
1653
1653
|
group: Q({}, t, {
|
|
1654
|
-
value:
|
|
1654
|
+
value: he
|
|
1655
1655
|
}),
|
|
1656
1656
|
groupCollapsed: Q({}, t, {
|
|
1657
1657
|
value: n
|
|
@@ -1664,30 +1664,30 @@ function zt() {
|
|
|
1664
1664
|
Y < 0 && A("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
1665
1665
|
}
|
|
1666
1666
|
}
|
|
1667
|
-
var P = ie.ReactCurrentDispatcher,
|
|
1667
|
+
var P = ie.ReactCurrentDispatcher, k;
|
|
1668
1668
|
function T(t, i, s) {
|
|
1669
1669
|
{
|
|
1670
|
-
if (
|
|
1670
|
+
if (k === void 0)
|
|
1671
1671
|
try {
|
|
1672
1672
|
throw Error();
|
|
1673
1673
|
} catch (w) {
|
|
1674
1674
|
var v = w.stack.trim().match(/\n( *(at )?)/);
|
|
1675
|
-
|
|
1675
|
+
k = v && v[1] || "";
|
|
1676
1676
|
}
|
|
1677
1677
|
return `
|
|
1678
|
-
` +
|
|
1678
|
+
` + k + t;
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
|
-
var C = !1,
|
|
1681
|
+
var C = !1, U;
|
|
1682
1682
|
{
|
|
1683
|
-
var
|
|
1684
|
-
|
|
1683
|
+
var _r = typeof WeakMap == "function" ? WeakMap : Map;
|
|
1684
|
+
U = new _r();
|
|
1685
1685
|
}
|
|
1686
1686
|
function Ze(t, i) {
|
|
1687
1687
|
if (!t || C)
|
|
1688
1688
|
return "";
|
|
1689
1689
|
{
|
|
1690
|
-
var s =
|
|
1690
|
+
var s = U.get(t);
|
|
1691
1691
|
if (s !== void 0)
|
|
1692
1692
|
return s;
|
|
1693
1693
|
}
|
|
@@ -1696,53 +1696,53 @@ function zt() {
|
|
|
1696
1696
|
var w = Error.prepareStackTrace;
|
|
1697
1697
|
Error.prepareStackTrace = void 0;
|
|
1698
1698
|
var S;
|
|
1699
|
-
S = P.current, P.current = null,
|
|
1699
|
+
S = P.current, P.current = null, _();
|
|
1700
1700
|
try {
|
|
1701
1701
|
if (i) {
|
|
1702
|
-
var
|
|
1702
|
+
var b = function() {
|
|
1703
1703
|
throw Error();
|
|
1704
1704
|
};
|
|
1705
|
-
if (Object.defineProperty(
|
|
1705
|
+
if (Object.defineProperty(b.prototype, "props", {
|
|
1706
1706
|
set: function() {
|
|
1707
1707
|
throw Error();
|
|
1708
1708
|
}
|
|
1709
1709
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1710
1710
|
try {
|
|
1711
|
-
Reflect.construct(
|
|
1712
|
-
} catch (
|
|
1713
|
-
v =
|
|
1711
|
+
Reflect.construct(b, []);
|
|
1712
|
+
} catch (q) {
|
|
1713
|
+
v = q;
|
|
1714
1714
|
}
|
|
1715
|
-
Reflect.construct(t, [],
|
|
1715
|
+
Reflect.construct(t, [], b);
|
|
1716
1716
|
} else {
|
|
1717
1717
|
try {
|
|
1718
|
-
|
|
1719
|
-
} catch (
|
|
1720
|
-
v =
|
|
1718
|
+
b.call();
|
|
1719
|
+
} catch (q) {
|
|
1720
|
+
v = q;
|
|
1721
1721
|
}
|
|
1722
|
-
t.call(
|
|
1722
|
+
t.call(b.prototype);
|
|
1723
1723
|
}
|
|
1724
1724
|
} else {
|
|
1725
1725
|
try {
|
|
1726
1726
|
throw Error();
|
|
1727
|
-
} catch (
|
|
1728
|
-
v =
|
|
1727
|
+
} catch (q) {
|
|
1728
|
+
v = q;
|
|
1729
1729
|
}
|
|
1730
1730
|
t();
|
|
1731
1731
|
}
|
|
1732
|
-
} catch (
|
|
1733
|
-
if (
|
|
1734
|
-
for (var
|
|
1732
|
+
} catch (q) {
|
|
1733
|
+
if (q && v && typeof q.stack == "string") {
|
|
1734
|
+
for (var y = q.stack.split(`
|
|
1735
1735
|
`), B = v.stack.split(`
|
|
1736
|
-
`), I =
|
|
1736
|
+
`), I = y.length - 1, F = B.length - 1; I >= 1 && F >= 0 && y[I] !== B[F]; )
|
|
1737
1737
|
F--;
|
|
1738
1738
|
for (; I >= 1 && F >= 0; I--, F--)
|
|
1739
|
-
if (
|
|
1739
|
+
if (y[I] !== B[F]) {
|
|
1740
1740
|
if (I !== 1 || F !== 1)
|
|
1741
1741
|
do
|
|
1742
|
-
if (I--, F--, F < 0 ||
|
|
1742
|
+
if (I--, F--, F < 0 || y[I] !== B[F]) {
|
|
1743
1743
|
var Z = `
|
|
1744
|
-
` +
|
|
1745
|
-
return t.displayName && Z.includes("<anonymous>") && (Z = Z.replace("<anonymous>", t.displayName)), typeof t == "function" &&
|
|
1744
|
+
` + y[I].replace(" at new ", " at ");
|
|
1745
|
+
return t.displayName && Z.includes("<anonymous>") && (Z = Z.replace("<anonymous>", t.displayName)), typeof t == "function" && U.set(t, Z), Z;
|
|
1746
1746
|
}
|
|
1747
1747
|
while (I >= 1 && F >= 0);
|
|
1748
1748
|
break;
|
|
@@ -1752,7 +1752,7 @@ function zt() {
|
|
|
1752
1752
|
C = !1, P.current = S, E(), Error.prepareStackTrace = w;
|
|
1753
1753
|
}
|
|
1754
1754
|
var we = t ? t.displayName || t.name : "", me = we ? T(we) : "";
|
|
1755
|
-
return typeof t == "function" &&
|
|
1755
|
+
return typeof t == "function" && U.set(t, me), me;
|
|
1756
1756
|
}
|
|
1757
1757
|
function Le(t, i, s) {
|
|
1758
1758
|
return Ze(t, !1);
|
|
@@ -1761,7 +1761,7 @@ function zt() {
|
|
|
1761
1761
|
var i = t.prototype;
|
|
1762
1762
|
return !!(i && i.isReactComponent);
|
|
1763
1763
|
}
|
|
1764
|
-
function
|
|
1764
|
+
function Me(t, i, s) {
|
|
1765
1765
|
if (t == null)
|
|
1766
1766
|
return "";
|
|
1767
1767
|
if (typeof t == "function")
|
|
@@ -1778,47 +1778,47 @@ function zt() {
|
|
|
1778
1778
|
switch (t.$$typeof) {
|
|
1779
1779
|
case $:
|
|
1780
1780
|
return Le(t.render);
|
|
1781
|
-
case
|
|
1782
|
-
return
|
|
1781
|
+
case N:
|
|
1782
|
+
return Me(t.type, i, s);
|
|
1783
1783
|
case te: {
|
|
1784
1784
|
var v = t, w = v._payload, S = v._init;
|
|
1785
1785
|
try {
|
|
1786
|
-
return
|
|
1786
|
+
return Me(S(w), i, s);
|
|
1787
1787
|
} catch {
|
|
1788
1788
|
}
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
1791
1791
|
return "";
|
|
1792
1792
|
}
|
|
1793
|
-
var
|
|
1793
|
+
var be = Object.prototype.hasOwnProperty, Oe = {}, er = ie.ReactDebugCurrentFrame;
|
|
1794
1794
|
function Pe(t) {
|
|
1795
1795
|
if (t) {
|
|
1796
|
-
var i = t._owner, s =
|
|
1796
|
+
var i = t._owner, s = Me(t.type, t._source, i ? i.type : null);
|
|
1797
1797
|
er.setExtraStackFrame(s);
|
|
1798
1798
|
} else
|
|
1799
1799
|
er.setExtraStackFrame(null);
|
|
1800
1800
|
}
|
|
1801
1801
|
function de(t, i, s, v, w) {
|
|
1802
1802
|
{
|
|
1803
|
-
var S = Function.call.bind(
|
|
1804
|
-
for (var
|
|
1805
|
-
if (S(t,
|
|
1806
|
-
var
|
|
1803
|
+
var S = Function.call.bind(be);
|
|
1804
|
+
for (var b in t)
|
|
1805
|
+
if (S(t, b)) {
|
|
1806
|
+
var y = void 0;
|
|
1807
1807
|
try {
|
|
1808
|
-
if (typeof t[
|
|
1809
|
-
var B = Error((v || "React class") + ": " + s + " type `" +
|
|
1808
|
+
if (typeof t[b] != "function") {
|
|
1809
|
+
var B = Error((v || "React class") + ": " + s + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
1810
1810
|
throw B.name = "Invariant Violation", B;
|
|
1811
1811
|
}
|
|
1812
|
-
|
|
1812
|
+
y = t[b](i, b, v, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
1813
1813
|
} catch (I) {
|
|
1814
|
-
|
|
1814
|
+
y = I;
|
|
1815
1815
|
}
|
|
1816
|
-
|
|
1816
|
+
y && !(y instanceof Error) && (Pe(w), A("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", s, b, typeof y), Pe(null)), y instanceof Error && !(y.message in Oe) && (Oe[y.message] = !0, Pe(w), A("Failed %s type: %s", s, y.message), Pe(null));
|
|
1817
1817
|
}
|
|
1818
1818
|
}
|
|
1819
1819
|
}
|
|
1820
1820
|
var je = Array.isArray;
|
|
1821
|
-
function
|
|
1821
|
+
function Ue(t) {
|
|
1822
1822
|
return je(t);
|
|
1823
1823
|
}
|
|
1824
1824
|
function rr(t) {
|
|
@@ -1829,19 +1829,19 @@ function zt() {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
function tr(t) {
|
|
1831
1831
|
try {
|
|
1832
|
-
return
|
|
1832
|
+
return Ve(t), !1;
|
|
1833
1833
|
} catch {
|
|
1834
1834
|
return !0;
|
|
1835
1835
|
}
|
|
1836
1836
|
}
|
|
1837
|
-
function
|
|
1837
|
+
function Ve(t) {
|
|
1838
1838
|
return "" + t;
|
|
1839
1839
|
}
|
|
1840
1840
|
function ze(t) {
|
|
1841
1841
|
if (tr(t))
|
|
1842
|
-
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(t)),
|
|
1842
|
+
return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(t)), Ve(t);
|
|
1843
1843
|
}
|
|
1844
|
-
var
|
|
1844
|
+
var _e = ie.ReactCurrentOwner, Er = {
|
|
1845
1845
|
key: !0,
|
|
1846
1846
|
ref: !0,
|
|
1847
1847
|
__self: !0,
|
|
@@ -1849,7 +1849,7 @@ function zt() {
|
|
|
1849
1849
|
}, nr, ar, xe;
|
|
1850
1850
|
xe = {};
|
|
1851
1851
|
function wr(t) {
|
|
1852
|
-
if (
|
|
1852
|
+
if (be.call(t, "ref")) {
|
|
1853
1853
|
var i = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
1854
1854
|
if (i && i.isReactWarning)
|
|
1855
1855
|
return !1;
|
|
@@ -1857,7 +1857,7 @@ function zt() {
|
|
|
1857
1857
|
return t.ref !== void 0;
|
|
1858
1858
|
}
|
|
1859
1859
|
function Cr(t) {
|
|
1860
|
-
if (
|
|
1860
|
+
if (be.call(t, "key")) {
|
|
1861
1861
|
var i = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
1862
1862
|
if (i && i.isReactWarning)
|
|
1863
1863
|
return !1;
|
|
@@ -1865,9 +1865,9 @@ function zt() {
|
|
|
1865
1865
|
return t.key !== void 0;
|
|
1866
1866
|
}
|
|
1867
1867
|
function Sr(t, i) {
|
|
1868
|
-
if (typeof t.ref == "string" &&
|
|
1869
|
-
var s =
|
|
1870
|
-
xe[s] || (A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',
|
|
1868
|
+
if (typeof t.ref == "string" && _e.current && i && _e.current.stateNode !== i) {
|
|
1869
|
+
var s = H(_e.current.type);
|
|
1870
|
+
xe[s] || (A('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', H(_e.current.type), t.ref), xe[s] = !0);
|
|
1871
1871
|
}
|
|
1872
1872
|
}
|
|
1873
1873
|
function Re(t, i) {
|
|
@@ -1892,57 +1892,57 @@ function zt() {
|
|
|
1892
1892
|
});
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
1895
|
-
var Tr = function(t, i, s, v, w, S,
|
|
1896
|
-
var
|
|
1895
|
+
var Tr = function(t, i, s, v, w, S, b) {
|
|
1896
|
+
var y = {
|
|
1897
1897
|
// This tag allows us to uniquely identify this as a React Element
|
|
1898
1898
|
$$typeof: d,
|
|
1899
1899
|
// Built-in properties that belong on the element
|
|
1900
1900
|
type: t,
|
|
1901
1901
|
key: i,
|
|
1902
1902
|
ref: s,
|
|
1903
|
-
props:
|
|
1903
|
+
props: b,
|
|
1904
1904
|
// Record the component responsible for creating this element.
|
|
1905
1905
|
_owner: S
|
|
1906
1906
|
};
|
|
1907
|
-
return
|
|
1907
|
+
return y._store = {}, Object.defineProperty(y._store, "validated", {
|
|
1908
1908
|
configurable: !1,
|
|
1909
1909
|
enumerable: !1,
|
|
1910
1910
|
writable: !0,
|
|
1911
1911
|
value: !1
|
|
1912
|
-
}), Object.defineProperty(
|
|
1912
|
+
}), Object.defineProperty(y, "_self", {
|
|
1913
1913
|
configurable: !1,
|
|
1914
1914
|
enumerable: !1,
|
|
1915
1915
|
writable: !1,
|
|
1916
1916
|
value: v
|
|
1917
|
-
}), Object.defineProperty(
|
|
1917
|
+
}), Object.defineProperty(y, "_source", {
|
|
1918
1918
|
configurable: !1,
|
|
1919
1919
|
enumerable: !1,
|
|
1920
1920
|
writable: !1,
|
|
1921
1921
|
value: w
|
|
1922
|
-
}), Object.freeze && (Object.freeze(
|
|
1922
|
+
}), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
|
|
1923
1923
|
};
|
|
1924
|
-
function
|
|
1924
|
+
function kr(t, i, s, v, w) {
|
|
1925
1925
|
{
|
|
1926
|
-
var S,
|
|
1927
|
-
s !== void 0 && (ze(s),
|
|
1926
|
+
var S, b = {}, y = null, B = null;
|
|
1927
|
+
s !== void 0 && (ze(s), y = "" + s), Cr(i) && (ze(i.key), y = "" + i.key), wr(i) && (B = i.ref, Sr(i, w));
|
|
1928
1928
|
for (S in i)
|
|
1929
|
-
|
|
1929
|
+
be.call(i, S) && !Er.hasOwnProperty(S) && (b[S] = i[S]);
|
|
1930
1930
|
if (t && t.defaultProps) {
|
|
1931
1931
|
var I = t.defaultProps;
|
|
1932
1932
|
for (S in I)
|
|
1933
|
-
|
|
1933
|
+
b[S] === void 0 && (b[S] = I[S]);
|
|
1934
1934
|
}
|
|
1935
|
-
if (
|
|
1935
|
+
if (y || B) {
|
|
1936
1936
|
var F = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
1937
|
-
|
|
1937
|
+
y && Re(b, F), B && or(b, F);
|
|
1938
1938
|
}
|
|
1939
|
-
return Tr(t,
|
|
1939
|
+
return Tr(t, y, B, w, v, _e.current, b);
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
1942
|
-
var
|
|
1943
|
-
function
|
|
1942
|
+
var We = ie.ReactCurrentOwner, ir = ie.ReactDebugCurrentFrame;
|
|
1943
|
+
function ye(t) {
|
|
1944
1944
|
if (t) {
|
|
1945
|
-
var i = t._owner, s =
|
|
1945
|
+
var i = t._owner, s = Me(t.type, t._source, i ? i.type : null);
|
|
1946
1946
|
ir.setExtraStackFrame(s);
|
|
1947
1947
|
} else
|
|
1948
1948
|
ir.setExtraStackFrame(null);
|
|
@@ -1954,8 +1954,8 @@ function zt() {
|
|
|
1954
1954
|
}
|
|
1955
1955
|
function Ie() {
|
|
1956
1956
|
{
|
|
1957
|
-
if (
|
|
1958
|
-
var t =
|
|
1957
|
+
if (We.current) {
|
|
1958
|
+
var t = H(We.current.type);
|
|
1959
1959
|
if (t)
|
|
1960
1960
|
return `
|
|
1961
1961
|
|
|
@@ -1964,7 +1964,7 @@ Check the render method of \`` + t + "`.";
|
|
|
1964
1964
|
return "";
|
|
1965
1965
|
}
|
|
1966
1966
|
}
|
|
1967
|
-
function
|
|
1967
|
+
function Or(t) {
|
|
1968
1968
|
return "";
|
|
1969
1969
|
}
|
|
1970
1970
|
var ur = {};
|
|
@@ -1990,14 +1990,14 @@ Check the top-level render call using <` + s + ">.");
|
|
|
1990
1990
|
return;
|
|
1991
1991
|
ur[s] = !0;
|
|
1992
1992
|
var v = "";
|
|
1993
|
-
t && t._owner && t._owner !==
|
|
1993
|
+
t && t._owner && t._owner !== We.current && (v = " It was passed a child from " + H(t._owner.type) + "."), ye(t), A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, v), ye(null);
|
|
1994
1994
|
}
|
|
1995
1995
|
}
|
|
1996
1996
|
function cr(t, i) {
|
|
1997
1997
|
{
|
|
1998
1998
|
if (typeof t != "object")
|
|
1999
1999
|
return;
|
|
2000
|
-
if (
|
|
2000
|
+
if (Ue(t))
|
|
2001
2001
|
for (var s = 0; s < t.length; s++) {
|
|
2002
2002
|
var v = t[s];
|
|
2003
2003
|
Ee(v) && sr(v, i);
|
|
@@ -2007,8 +2007,8 @@ Check the top-level render call using <` + s + ">.");
|
|
|
2007
2007
|
else if (t) {
|
|
2008
2008
|
var w = oe(t);
|
|
2009
2009
|
if (typeof w == "function" && w !== t.entries)
|
|
2010
|
-
for (var S = w.call(t),
|
|
2011
|
-
Ee(
|
|
2010
|
+
for (var S = w.call(t), b; !(b = S.next()).done; )
|
|
2011
|
+
Ee(b.value) && sr(b.value, i);
|
|
2012
2012
|
}
|
|
2013
2013
|
}
|
|
2014
2014
|
}
|
|
@@ -2022,53 +2022,53 @@ Check the top-level render call using <` + s + ">.");
|
|
|
2022
2022
|
s = i.propTypes;
|
|
2023
2023
|
else if (typeof i == "object" && (i.$$typeof === $ || // Note: Memo only checks outer props here.
|
|
2024
2024
|
// Inner props are checked in the reconciler.
|
|
2025
|
-
i.$$typeof ===
|
|
2025
|
+
i.$$typeof === N))
|
|
2026
2026
|
s = i.propTypes;
|
|
2027
2027
|
else
|
|
2028
2028
|
return;
|
|
2029
2029
|
if (s) {
|
|
2030
|
-
var v =
|
|
2030
|
+
var v = H(i);
|
|
2031
2031
|
de(s, t.props, "prop", v, t);
|
|
2032
2032
|
} else if (i.PropTypes !== void 0 && !Ae) {
|
|
2033
2033
|
Ae = !0;
|
|
2034
|
-
var w =
|
|
2034
|
+
var w = H(i);
|
|
2035
2035
|
A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
|
|
2036
2036
|
}
|
|
2037
2037
|
typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
2038
2038
|
}
|
|
2039
2039
|
}
|
|
2040
|
-
function
|
|
2040
|
+
function He(t) {
|
|
2041
2041
|
{
|
|
2042
2042
|
for (var i = Object.keys(t.props), s = 0; s < i.length; s++) {
|
|
2043
2043
|
var v = i[s];
|
|
2044
2044
|
if (v !== "children" && v !== "key") {
|
|
2045
|
-
|
|
2045
|
+
ye(t), A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), ye(null);
|
|
2046
2046
|
break;
|
|
2047
2047
|
}
|
|
2048
2048
|
}
|
|
2049
|
-
t.ref !== null && (
|
|
2049
|
+
t.ref !== null && (ye(t), A("Invalid attribute `ref` supplied to `React.Fragment`."), ye(null));
|
|
2050
2050
|
}
|
|
2051
2051
|
}
|
|
2052
|
-
var
|
|
2053
|
-
function
|
|
2052
|
+
var qe = {};
|
|
2053
|
+
function lr(t, i, s, v, w, S) {
|
|
2054
2054
|
{
|
|
2055
|
-
var
|
|
2056
|
-
if (!
|
|
2057
|
-
var
|
|
2058
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
2059
|
-
var B =
|
|
2060
|
-
B ?
|
|
2055
|
+
var b = Se(t);
|
|
2056
|
+
if (!b) {
|
|
2057
|
+
var y = "";
|
|
2058
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
2059
|
+
var B = Or();
|
|
2060
|
+
B ? y += B : y += Ie();
|
|
2061
2061
|
var I;
|
|
2062
|
-
t === null ? I = "null" :
|
|
2062
|
+
t === null ? I = "null" : Ue(t) ? I = "array" : t !== void 0 && t.$$typeof === d ? (I = "<" + (H(t.type) || "Unknown") + " />", y = " Did you accidentally export a JSX literal instead of a component?") : I = typeof t, A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", I, y);
|
|
2063
2063
|
}
|
|
2064
|
-
var F =
|
|
2064
|
+
var F = kr(t, i, s, w, S);
|
|
2065
2065
|
if (F == null)
|
|
2066
2066
|
return F;
|
|
2067
|
-
if (
|
|
2067
|
+
if (b) {
|
|
2068
2068
|
var Z = i.children;
|
|
2069
2069
|
if (Z !== void 0)
|
|
2070
2070
|
if (v)
|
|
2071
|
-
if (
|
|
2071
|
+
if (Ue(Z)) {
|
|
2072
2072
|
for (var we = 0; we < Z.length; we++)
|
|
2073
2073
|
cr(Z[we], t);
|
|
2074
2074
|
Object.freeze && Object.freeze(Z);
|
|
@@ -2077,49 +2077,49 @@ Check the top-level render call using <` + s + ">.");
|
|
|
2077
2077
|
else
|
|
2078
2078
|
cr(Z, t);
|
|
2079
2079
|
}
|
|
2080
|
-
if (
|
|
2081
|
-
var me =
|
|
2080
|
+
if (be.call(i, "key")) {
|
|
2081
|
+
var me = H(t), q = Object.keys(i).filter(function(Dr) {
|
|
2082
2082
|
return Dr !== "key";
|
|
2083
|
-
}),
|
|
2084
|
-
if (!
|
|
2085
|
-
var Ir =
|
|
2083
|
+
}), Ke = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
2084
|
+
if (!qe[me + Ke]) {
|
|
2085
|
+
var Ir = q.length > 0 ? "{" + q.join(": ..., ") + ": ...}" : "{}";
|
|
2086
2086
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
2087
2087
|
let props = %s;
|
|
2088
2088
|
<%s {...props} />
|
|
2089
2089
|
React keys must be passed directly to JSX without using spread:
|
|
2090
2090
|
let props = %s;
|
|
2091
|
-
<%s key={someKey} {...props} />`,
|
|
2091
|
+
<%s key={someKey} {...props} />`, Ke, me, Ir, me), qe[me + Ke] = !0;
|
|
2092
2092
|
}
|
|
2093
2093
|
}
|
|
2094
|
-
return t ===
|
|
2094
|
+
return t === K ? He(F) : De(F), F;
|
|
2095
2095
|
}
|
|
2096
2096
|
}
|
|
2097
2097
|
function jr(t, i, s) {
|
|
2098
|
-
return
|
|
2098
|
+
return lr(t, i, s, !0);
|
|
2099
2099
|
}
|
|
2100
2100
|
function xr(t, i, s) {
|
|
2101
|
-
return
|
|
2101
|
+
return lr(t, i, s, !1);
|
|
2102
2102
|
}
|
|
2103
|
-
var Ar = xr,
|
|
2104
|
-
Xe.Fragment =
|
|
2103
|
+
var Ar = xr, fr = jr;
|
|
2104
|
+
Xe.Fragment = K, Xe.jsx = Ar, Xe.jsxs = fr;
|
|
2105
2105
|
}()), Xe;
|
|
2106
2106
|
}
|
|
2107
2107
|
process.env.NODE_ENV === "production" ? Yr.exports = Bt() : Yr.exports = zt();
|
|
2108
2108
|
var Fe = Yr.exports;
|
|
2109
|
-
const
|
|
2110
|
-
if (
|
|
2109
|
+
const Ht = typeof window < "u" && typeof window.document < "u", _t = (W) => {
|
|
2110
|
+
if (Ht)
|
|
2111
2111
|
throw new Error(
|
|
2112
|
-
`[STIHL Design System] Partials can only be used during build time. You are using '${
|
|
2112
|
+
`[STIHL Design System] Partials can only be used during build time. You are using '${W}' at run time in a browser which defeats the effect of the partial.`
|
|
2113
2113
|
);
|
|
2114
2114
|
};
|
|
2115
|
-
function
|
|
2115
|
+
function qt(W) {
|
|
2116
2116
|
const { format: d } = {
|
|
2117
2117
|
format: "jsx",
|
|
2118
|
-
...
|
|
2118
|
+
...W
|
|
2119
2119
|
};
|
|
2120
|
-
|
|
2120
|
+
_t("getMetaIconLinks");
|
|
2121
2121
|
let J = ["<link rel=icon href=%PUBLIC_URL%/favicon.ico sizes=32x32>", "<link rel=icon href=%PUBLIC_URL%/icon.svg type=image/svg+xml>", "<link rel=apple-touch-icon href=%PUBLIC_URL%/apple-icon.png>", "<link rel=manifest href=%PUBLIC_URL%/manifest.webmanifest>"];
|
|
2122
|
-
switch (d === "html" && (J = J.map((
|
|
2122
|
+
switch (d === "html" && (J = J.map((K) => K.replace("%PUBLIC_URL%", ""))), d) {
|
|
2123
2123
|
case "html":
|
|
2124
2124
|
case "cra":
|
|
2125
2125
|
return J.join("");
|
|
@@ -2132,16 +2132,16 @@ function Kt(N) {
|
|
|
2132
2132
|
] });
|
|
2133
2133
|
}
|
|
2134
2134
|
}
|
|
2135
|
-
function
|
|
2135
|
+
function Kt(W) {
|
|
2136
2136
|
const { format: d } = {
|
|
2137
2137
|
format: "jsx",
|
|
2138
|
-
...
|
|
2138
|
+
...W
|
|
2139
2139
|
};
|
|
2140
|
-
|
|
2141
|
-
const J =
|
|
2142
|
-
return d === "html" ? `<style data-ds-css-reset-styles>${J}</style>` : /* @__PURE__ */ Fe.jsx("style", { "data-ds-css-reset-styles": !0,
|
|
2140
|
+
_t("getResetStyles");
|
|
2141
|
+
const J = `@layer ds-reset{*,*::before,*::after{box-sizing:border-box}:where(html){font-family:STIHL Contraface Digital Text Regular, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;font-style:normal;font-variant:normal;hyphens:manual;overflow-wrap:break-word;font-weight:normal;font-size:16px;line-height:1.5;-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}:where(body){hyphens:manual;line-height:1.5;margin:unset;min-height:100vh}:where(body,h1,h2,h3,h4,p,figure,blockquote,dl,dd){margin-block-end:0}:where(h1,h2,h3,h4,h5,h6){margin:0;padding:0;text-wrap:balance;hyphens:manual;overflow-wrap:break-word}:where(a:not([class])){display:inline;padding-inline-end:2px;padding-inline-start:2px;padding-block-start:0;padding-block-end:0;line-height:inherit;font-size:inherit;text-decoration-skip-ink:auto;text-decoration-line:underline;text-underline-offset:2px;text-decoration-thickness:1px;text-decoration-color:currentColor}:where(:where(a:not([class])))[href^="http://"]::after,:where(:where(a:not([class])))[href^="https://"]::after,:where(:where(a:not([class])))[href^="#"]::after{display:inline-block;margin-inline-start:.375em;width:.75em;height:.75em}:where(a:not([class])){color:#252525}:where(a:not([class])):link,:where(a:not([class])):visited{color:#252525}:where(a:not([class])):active{background-color:rgba(0,0,0,.1019607843);color:#252525}@media(hover: hover){:where(a:not([class])):hover{background-color:rgba(0,0,0,.1019607843);color:#252525}}:where(a:not([class]))[href^="http://"]::after,:where(a:not([class]))[href^="https://"]::after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23252525' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath fill-rule='evenodd' d='M9 2V0h7v7h-2V3.4L8.1 9.3 6.7 7.9 12.6 2H9Zm5 8h-2v4H2V4h4V2H0v14h14v-6Z' clip-rule='evenodd'/%3E%3C/svg%3E")}:where(a:not([class]))[href^="#"]::after{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23252525' viewBox='0 0 16 16' focusable='false' width='100%25' height='100%25'%3E%3Cpath d='M14.4 9.6 8 16 1.6 9.6 3 8.2l4 4V0h2v12.2l4-4 1.4 1.4Z'/%3E%3C/svg%3E")}:where(a:not([class])):focus{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){:where(a:not([class])):focus{forced-color-adjust:auto;outline-color:Highlight}}@supports selector(:focus-visible){:where(a:not([class])):focus{outline:revert;outline-offset:revert}:where(a:not([class])):focus-visible{outline:2px solid;outline-color:#252525;outline-offset:0}@media screen and (forced-colors: active){:where(a:not([class])):focus-visible{forced-color-adjust:auto;outline-color:Highlight}}}:where(a:not([class])){transition:background-color var(--ds-animation-duration, 100ms) linear,border-color var(--ds-animation-duration, 100ms) linear,color var(--ds-animation-duration, 100ms) linear}@media(prefers-reduced-motion: reduce){:where(a:not([class])){transition-duration:0ms}}:where(button,input,textarea,select){font:inherit}:target{scroll-margin-block:5ex}}`;
|
|
2142
|
+
return d === "html" ? `<style data-ds-css-reset-styles>${J}</style>` : /* @__PURE__ */ Fe.jsx("style", { "data-ds-css-reset-styles": !0, suppressHydrationWarning: !0, dangerouslySetInnerHTML: { __html: J } });
|
|
2143
2143
|
}
|
|
2144
2144
|
export {
|
|
2145
|
-
|
|
2146
|
-
|
|
2145
|
+
qt as getMetaIconLinks,
|
|
2146
|
+
Kt as getResetStyles
|
|
2147
2147
|
};
|