@texonom/nreact 1.5.9 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/_commonjsHelpers-ByYUsBRP.js +34 -0
- package/build/_commonjsHelpers-ByYUsBRP.js.map +1 -0
- package/build/asset-wrapper-BbigBRET.js +1154 -0
- package/build/asset-wrapper-BbigBRET.js.map +1 -0
- package/build/index.js +3 -3
- package/build/third-party/code.js +2 -2
- package/build/third-party/collection.js +940 -857
- package/build/third-party/collection.js.map +1 -1
- package/build/third-party/equation.js +1 -1
- package/build/third-party/modal.js +1617 -2
- package/build/third-party/modal.js.map +1 -1
- package/package.json +3 -3
- package/build/_commonjsHelpers-bAxELxBV.js +0 -9
- package/build/_commonjsHelpers-bAxELxBV.js.map +0 -1
- package/build/asset-wrapper-CaHInqoM.js +0 -922
- package/build/asset-wrapper-CaHInqoM.js.map +0 -1
|
@@ -1,5 +1,1620 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as nt, g as rt } from "../_commonjsHelpers-ByYUsBRP.js";
|
|
2
|
+
import Ve from "react";
|
|
3
|
+
import ot from "react-dom";
|
|
4
|
+
var ie = { exports: {} }, te = {}, se = { exports: {} }, ue = { exports: {} }, U = {};
|
|
5
|
+
var Ce;
|
|
6
|
+
function at() {
|
|
7
|
+
if (Ce) return U;
|
|
8
|
+
Ce = 1;
|
|
9
|
+
var r = typeof Symbol == "function" && Symbol.for, f = r ? Symbol.for("react.element") : 60103, h = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, l = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, g = r ? Symbol.for("react.provider") : 60109, e = r ? Symbol.for("react.context") : 60110, O = r ? Symbol.for("react.async_mode") : 60111, v = r ? Symbol.for("react.concurrent_mode") : 60111, i = r ? Symbol.for("react.forward_ref") : 60112, o = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, c = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116, C = r ? Symbol.for("react.block") : 60121, M = r ? Symbol.for("react.fundamental") : 60117, F = r ? Symbol.for("react.responder") : 60118, B = r ? Symbol.for("react.scope") : 60119;
|
|
10
|
+
function H(m) {
|
|
11
|
+
if (typeof m == "object" && m !== null) {
|
|
12
|
+
var Y = m.$$typeof;
|
|
13
|
+
switch (Y) {
|
|
14
|
+
case f:
|
|
15
|
+
switch (m = m.type, m) {
|
|
16
|
+
case O:
|
|
17
|
+
case v:
|
|
18
|
+
case a:
|
|
19
|
+
case s:
|
|
20
|
+
case l:
|
|
21
|
+
case o:
|
|
22
|
+
return m;
|
|
23
|
+
default:
|
|
24
|
+
switch (m = m && m.$$typeof, m) {
|
|
25
|
+
case e:
|
|
26
|
+
case i:
|
|
27
|
+
case E:
|
|
28
|
+
case c:
|
|
29
|
+
case g:
|
|
30
|
+
return m;
|
|
31
|
+
default:
|
|
32
|
+
return Y;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
case h:
|
|
36
|
+
return Y;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function $(m) {
|
|
41
|
+
return H(m) === v;
|
|
42
|
+
}
|
|
43
|
+
return U.AsyncMode = O, U.ConcurrentMode = v, U.ContextConsumer = e, U.ContextProvider = g, U.Element = f, U.ForwardRef = i, U.Fragment = a, U.Lazy = E, U.Memo = c, U.Portal = h, U.Profiler = s, U.StrictMode = l, U.Suspense = o, U.isAsyncMode = function(m) {
|
|
44
|
+
return $(m) || H(m) === O;
|
|
45
|
+
}, U.isConcurrentMode = $, U.isContextConsumer = function(m) {
|
|
46
|
+
return H(m) === e;
|
|
47
|
+
}, U.isContextProvider = function(m) {
|
|
48
|
+
return H(m) === g;
|
|
49
|
+
}, U.isElement = function(m) {
|
|
50
|
+
return typeof m == "object" && m !== null && m.$$typeof === f;
|
|
51
|
+
}, U.isForwardRef = function(m) {
|
|
52
|
+
return H(m) === i;
|
|
53
|
+
}, U.isFragment = function(m) {
|
|
54
|
+
return H(m) === a;
|
|
55
|
+
}, U.isLazy = function(m) {
|
|
56
|
+
return H(m) === E;
|
|
57
|
+
}, U.isMemo = function(m) {
|
|
58
|
+
return H(m) === c;
|
|
59
|
+
}, U.isPortal = function(m) {
|
|
60
|
+
return H(m) === h;
|
|
61
|
+
}, U.isProfiler = function(m) {
|
|
62
|
+
return H(m) === s;
|
|
63
|
+
}, U.isStrictMode = function(m) {
|
|
64
|
+
return H(m) === l;
|
|
65
|
+
}, U.isSuspense = function(m) {
|
|
66
|
+
return H(m) === o;
|
|
67
|
+
}, U.isValidElementType = function(m) {
|
|
68
|
+
return typeof m == "string" || typeof m == "function" || m === a || m === v || m === s || m === l || m === o || m === d || typeof m == "object" && m !== null && (m.$$typeof === E || m.$$typeof === c || m.$$typeof === g || m.$$typeof === e || m.$$typeof === i || m.$$typeof === M || m.$$typeof === F || m.$$typeof === B || m.$$typeof === C);
|
|
69
|
+
}, U.typeOf = H, U;
|
|
70
|
+
}
|
|
71
|
+
var W = {};
|
|
72
|
+
var Se;
|
|
73
|
+
function it() {
|
|
74
|
+
return Se || (Se = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
75
|
+
var r = typeof Symbol == "function" && Symbol.for, f = r ? Symbol.for("react.element") : 60103, h = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107, l = r ? Symbol.for("react.strict_mode") : 60108, s = r ? Symbol.for("react.profiler") : 60114, g = r ? Symbol.for("react.provider") : 60109, e = r ? Symbol.for("react.context") : 60110, O = r ? Symbol.for("react.async_mode") : 60111, v = r ? Symbol.for("react.concurrent_mode") : 60111, i = r ? Symbol.for("react.forward_ref") : 60112, o = r ? Symbol.for("react.suspense") : 60113, d = r ? Symbol.for("react.suspense_list") : 60120, c = r ? Symbol.for("react.memo") : 60115, E = r ? Symbol.for("react.lazy") : 60116, C = r ? Symbol.for("react.block") : 60121, M = r ? Symbol.for("react.fundamental") : 60117, F = r ? Symbol.for("react.responder") : 60118, B = r ? Symbol.for("react.scope") : 60119;
|
|
76
|
+
function H(b) {
|
|
77
|
+
return typeof b == "string" || typeof b == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
78
|
+
b === a || b === v || b === s || b === l || b === o || b === d || typeof b == "object" && b !== null && (b.$$typeof === E || b.$$typeof === c || b.$$typeof === g || b.$$typeof === e || b.$$typeof === i || b.$$typeof === M || b.$$typeof === F || b.$$typeof === B || b.$$typeof === C);
|
|
79
|
+
}
|
|
80
|
+
function $(b) {
|
|
81
|
+
if (typeof b == "object" && b !== null) {
|
|
82
|
+
var G = b.$$typeof;
|
|
83
|
+
switch (G) {
|
|
84
|
+
case f:
|
|
85
|
+
var ae = b.type;
|
|
86
|
+
switch (ae) {
|
|
87
|
+
case O:
|
|
88
|
+
case v:
|
|
89
|
+
case a:
|
|
90
|
+
case s:
|
|
91
|
+
case l:
|
|
92
|
+
case o:
|
|
93
|
+
return ae;
|
|
94
|
+
default:
|
|
95
|
+
var _e = ae && ae.$$typeof;
|
|
96
|
+
switch (_e) {
|
|
97
|
+
case e:
|
|
98
|
+
case i:
|
|
99
|
+
case E:
|
|
100
|
+
case c:
|
|
101
|
+
case g:
|
|
102
|
+
return _e;
|
|
103
|
+
default:
|
|
104
|
+
return G;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
case h:
|
|
108
|
+
return G;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
var m = O, Y = v, Q = e, ee = g, z = f, K = i, T = a, S = E, D = c, p = h, y = s, A = l, t = o, _ = !1;
|
|
113
|
+
function j(b) {
|
|
114
|
+
return _ || (_ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), n(b) || $(b) === O;
|
|
115
|
+
}
|
|
116
|
+
function n(b) {
|
|
117
|
+
return $(b) === v;
|
|
118
|
+
}
|
|
119
|
+
function u(b) {
|
|
120
|
+
return $(b) === e;
|
|
121
|
+
}
|
|
122
|
+
function w(b) {
|
|
123
|
+
return $(b) === g;
|
|
124
|
+
}
|
|
125
|
+
function P(b) {
|
|
126
|
+
return typeof b == "object" && b !== null && b.$$typeof === f;
|
|
127
|
+
}
|
|
128
|
+
function R(b) {
|
|
129
|
+
return $(b) === i;
|
|
130
|
+
}
|
|
131
|
+
function q(b) {
|
|
132
|
+
return $(b) === a;
|
|
133
|
+
}
|
|
134
|
+
function x(b) {
|
|
135
|
+
return $(b) === E;
|
|
136
|
+
}
|
|
137
|
+
function N(b) {
|
|
138
|
+
return $(b) === c;
|
|
139
|
+
}
|
|
140
|
+
function L(b) {
|
|
141
|
+
return $(b) === h;
|
|
142
|
+
}
|
|
143
|
+
function k(b) {
|
|
144
|
+
return $(b) === s;
|
|
145
|
+
}
|
|
146
|
+
function I(b) {
|
|
147
|
+
return $(b) === l;
|
|
148
|
+
}
|
|
149
|
+
function V(b) {
|
|
150
|
+
return $(b) === o;
|
|
151
|
+
}
|
|
152
|
+
W.AsyncMode = m, W.ConcurrentMode = Y, W.ContextConsumer = Q, W.ContextProvider = ee, W.Element = z, W.ForwardRef = K, W.Fragment = T, W.Lazy = S, W.Memo = D, W.Portal = p, W.Profiler = y, W.StrictMode = A, W.Suspense = t, W.isAsyncMode = j, W.isConcurrentMode = n, W.isContextConsumer = u, W.isContextProvider = w, W.isElement = P, W.isForwardRef = R, W.isFragment = q, W.isLazy = x, W.isMemo = N, W.isPortal = L, W.isProfiler = k, W.isStrictMode = I, W.isSuspense = V, W.isValidElementType = H, W.typeOf = $;
|
|
153
|
+
})()), W;
|
|
154
|
+
}
|
|
155
|
+
var Te;
|
|
156
|
+
function ze() {
|
|
157
|
+
return Te || (Te = 1, process.env.NODE_ENV === "production" ? ue.exports = at() : ue.exports = it()), ue.exports;
|
|
158
|
+
}
|
|
159
|
+
var de, we;
|
|
160
|
+
function st() {
|
|
161
|
+
if (we) return de;
|
|
162
|
+
we = 1;
|
|
163
|
+
var r = Object.getOwnPropertySymbols, f = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable;
|
|
164
|
+
function a(s) {
|
|
165
|
+
if (s == null)
|
|
166
|
+
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
167
|
+
return Object(s);
|
|
168
|
+
}
|
|
169
|
+
function l() {
|
|
170
|
+
try {
|
|
171
|
+
if (!Object.assign)
|
|
172
|
+
return !1;
|
|
173
|
+
var s = new String("abc");
|
|
174
|
+
if (s[5] = "de", Object.getOwnPropertyNames(s)[0] === "5")
|
|
175
|
+
return !1;
|
|
176
|
+
for (var g = {}, e = 0; e < 10; e++)
|
|
177
|
+
g["_" + String.fromCharCode(e)] = e;
|
|
178
|
+
var O = Object.getOwnPropertyNames(g).map(function(i) {
|
|
179
|
+
return g[i];
|
|
180
|
+
});
|
|
181
|
+
if (O.join("") !== "0123456789")
|
|
182
|
+
return !1;
|
|
183
|
+
var v = {};
|
|
184
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(i) {
|
|
185
|
+
v[i] = i;
|
|
186
|
+
}), Object.keys(Object.assign({}, v)).join("") === "abcdefghijklmnopqrst";
|
|
187
|
+
} catch (i) {
|
|
188
|
+
return !1;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
return de = l() ? Object.assign : function(s, g) {
|
|
192
|
+
for (var e, O = a(s), v, i = 1; i < arguments.length; i++) {
|
|
193
|
+
e = Object(arguments[i]);
|
|
194
|
+
for (var o in e)
|
|
195
|
+
f.call(e, o) && (O[o] = e[o]);
|
|
196
|
+
if (r) {
|
|
197
|
+
v = r(e);
|
|
198
|
+
for (var d = 0; d < v.length; d++)
|
|
199
|
+
h.call(e, v[d]) && (O[v[d]] = e[v[d]]);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return O;
|
|
203
|
+
}, de;
|
|
204
|
+
}
|
|
205
|
+
var pe, Re;
|
|
206
|
+
function Oe() {
|
|
207
|
+
if (Re) return pe;
|
|
208
|
+
Re = 1;
|
|
209
|
+
var r = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
210
|
+
return pe = r, pe;
|
|
211
|
+
}
|
|
212
|
+
var ve, Pe;
|
|
213
|
+
function Ke() {
|
|
214
|
+
return Pe || (Pe = 1, ve = Function.call.bind(Object.prototype.hasOwnProperty)), ve;
|
|
215
|
+
}
|
|
216
|
+
var ye, Me;
|
|
217
|
+
function ut() {
|
|
218
|
+
if (Me) return ye;
|
|
219
|
+
Me = 1;
|
|
220
|
+
var r = function() {
|
|
221
|
+
};
|
|
222
|
+
if (process.env.NODE_ENV !== "production") {
|
|
223
|
+
var f = /* @__PURE__ */ Oe(), h = {}, a = /* @__PURE__ */ Ke();
|
|
224
|
+
r = function(s) {
|
|
225
|
+
var g = "Warning: " + s;
|
|
226
|
+
typeof console != "undefined" && console.error(g);
|
|
227
|
+
try {
|
|
228
|
+
throw new Error(g);
|
|
229
|
+
} catch (e) {
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
function l(s, g, e, O, v) {
|
|
234
|
+
if (process.env.NODE_ENV !== "production") {
|
|
235
|
+
for (var i in s)
|
|
236
|
+
if (a(s, i)) {
|
|
237
|
+
var o;
|
|
238
|
+
try {
|
|
239
|
+
if (typeof s[i] != "function") {
|
|
240
|
+
var d = Error(
|
|
241
|
+
(O || "React class") + ": " + e + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
242
|
+
);
|
|
243
|
+
throw d.name = "Invariant Violation", d;
|
|
244
|
+
}
|
|
245
|
+
o = s[i](g, i, O, e, null, f);
|
|
246
|
+
} catch (E) {
|
|
247
|
+
o = E;
|
|
248
|
+
}
|
|
249
|
+
if (o && !(o instanceof Error) && r(
|
|
250
|
+
(O || "React class") + ": type specification of " + e + " `" + i + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof o + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
251
|
+
), o instanceof Error && !(o.message in h)) {
|
|
252
|
+
h[o.message] = !0;
|
|
253
|
+
var c = v ? v() : "";
|
|
254
|
+
r(
|
|
255
|
+
"Failed " + e + " type: " + o.message + (c != null ? c : "")
|
|
256
|
+
);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return l.resetWarningCache = function() {
|
|
262
|
+
process.env.NODE_ENV !== "production" && (h = {});
|
|
263
|
+
}, ye = l, ye;
|
|
264
|
+
}
|
|
265
|
+
var me, Ae;
|
|
266
|
+
function lt() {
|
|
267
|
+
if (Ae) return me;
|
|
268
|
+
Ae = 1;
|
|
269
|
+
var r = ze(), f = st(), h = /* @__PURE__ */ Oe(), a = /* @__PURE__ */ Ke(), l = /* @__PURE__ */ ut(), s = function() {
|
|
270
|
+
};
|
|
271
|
+
process.env.NODE_ENV !== "production" && (s = function(e) {
|
|
272
|
+
var O = "Warning: " + e;
|
|
273
|
+
typeof console != "undefined" && console.error(O);
|
|
274
|
+
try {
|
|
275
|
+
throw new Error(O);
|
|
276
|
+
} catch (v) {
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
function g() {
|
|
280
|
+
return null;
|
|
281
|
+
}
|
|
282
|
+
return me = function(e, O) {
|
|
283
|
+
var v = typeof Symbol == "function" && Symbol.iterator, i = "@@iterator";
|
|
284
|
+
function o(n) {
|
|
285
|
+
var u = n && (v && n[v] || n[i]);
|
|
286
|
+
if (typeof u == "function")
|
|
287
|
+
return u;
|
|
288
|
+
}
|
|
289
|
+
var d = "<<anonymous>>", c = {
|
|
290
|
+
array: F("array"),
|
|
291
|
+
bigint: F("bigint"),
|
|
292
|
+
bool: F("boolean"),
|
|
293
|
+
func: F("function"),
|
|
294
|
+
number: F("number"),
|
|
295
|
+
object: F("object"),
|
|
296
|
+
string: F("string"),
|
|
297
|
+
symbol: F("symbol"),
|
|
298
|
+
any: B(),
|
|
299
|
+
arrayOf: H,
|
|
300
|
+
element: $(),
|
|
301
|
+
elementType: m(),
|
|
302
|
+
instanceOf: Y,
|
|
303
|
+
node: K(),
|
|
304
|
+
objectOf: ee,
|
|
305
|
+
oneOf: Q,
|
|
306
|
+
oneOfType: z,
|
|
307
|
+
shape: S,
|
|
308
|
+
exact: D
|
|
309
|
+
};
|
|
310
|
+
function E(n, u) {
|
|
311
|
+
return n === u ? n !== 0 || 1 / n === 1 / u : n !== n && u !== u;
|
|
312
|
+
}
|
|
313
|
+
function C(n, u) {
|
|
314
|
+
this.message = n, this.data = u && typeof u == "object" ? u : {}, this.stack = "";
|
|
315
|
+
}
|
|
316
|
+
C.prototype = Error.prototype;
|
|
317
|
+
function M(n) {
|
|
318
|
+
if (process.env.NODE_ENV !== "production")
|
|
319
|
+
var u = {}, w = 0;
|
|
320
|
+
function P(q, x, N, L, k, I, V) {
|
|
321
|
+
if (L = L || d, I = I || N, V !== h) {
|
|
322
|
+
if (O) {
|
|
323
|
+
var b = new Error(
|
|
324
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
325
|
+
);
|
|
326
|
+
throw b.name = "Invariant Violation", b;
|
|
327
|
+
} else if (process.env.NODE_ENV !== "production" && typeof console != "undefined") {
|
|
328
|
+
var G = L + ":" + N;
|
|
329
|
+
!u[G] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
330
|
+
w < 3 && (s(
|
|
331
|
+
"You are manually calling a React.PropTypes validation function for the `" + I + "` prop on `" + L + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
332
|
+
), u[G] = !0, w++);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
return x[N] == null ? q ? x[N] === null ? new C("The " + k + " `" + I + "` is marked as required " + ("in `" + L + "`, but its value is `null`.")) : new C("The " + k + " `" + I + "` is marked as required in " + ("`" + L + "`, but its value is `undefined`.")) : null : n(x, N, L, k, I);
|
|
336
|
+
}
|
|
337
|
+
var R = P.bind(null, !1);
|
|
338
|
+
return R.isRequired = P.bind(null, !0), R;
|
|
339
|
+
}
|
|
340
|
+
function F(n) {
|
|
341
|
+
function u(w, P, R, q, x, N) {
|
|
342
|
+
var L = w[P], k = A(L);
|
|
343
|
+
if (k !== n) {
|
|
344
|
+
var I = t(L);
|
|
345
|
+
return new C(
|
|
346
|
+
"Invalid " + q + " `" + x + "` of type " + ("`" + I + "` supplied to `" + R + "`, expected ") + ("`" + n + "`."),
|
|
347
|
+
{ expectedType: n }
|
|
348
|
+
);
|
|
349
|
+
}
|
|
350
|
+
return null;
|
|
351
|
+
}
|
|
352
|
+
return M(u);
|
|
353
|
+
}
|
|
354
|
+
function B() {
|
|
355
|
+
return M(g);
|
|
356
|
+
}
|
|
357
|
+
function H(n) {
|
|
358
|
+
function u(w, P, R, q, x) {
|
|
359
|
+
if (typeof n != "function")
|
|
360
|
+
return new C("Property `" + x + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
|
|
361
|
+
var N = w[P];
|
|
362
|
+
if (!Array.isArray(N)) {
|
|
363
|
+
var L = A(N);
|
|
364
|
+
return new C("Invalid " + q + " `" + x + "` of type " + ("`" + L + "` supplied to `" + R + "`, expected an array."));
|
|
365
|
+
}
|
|
366
|
+
for (var k = 0; k < N.length; k++) {
|
|
367
|
+
var I = n(N, k, R, q, x + "[" + k + "]", h);
|
|
368
|
+
if (I instanceof Error)
|
|
369
|
+
return I;
|
|
370
|
+
}
|
|
371
|
+
return null;
|
|
372
|
+
}
|
|
373
|
+
return M(u);
|
|
374
|
+
}
|
|
375
|
+
function $() {
|
|
376
|
+
function n(u, w, P, R, q) {
|
|
377
|
+
var x = u[w];
|
|
378
|
+
if (!e(x)) {
|
|
379
|
+
var N = A(x);
|
|
380
|
+
return new C("Invalid " + R + " `" + q + "` of type " + ("`" + N + "` supplied to `" + P + "`, expected a single ReactElement."));
|
|
381
|
+
}
|
|
382
|
+
return null;
|
|
383
|
+
}
|
|
384
|
+
return M(n);
|
|
385
|
+
}
|
|
386
|
+
function m() {
|
|
387
|
+
function n(u, w, P, R, q) {
|
|
388
|
+
var x = u[w];
|
|
389
|
+
if (!r.isValidElementType(x)) {
|
|
390
|
+
var N = A(x);
|
|
391
|
+
return new C("Invalid " + R + " `" + q + "` of type " + ("`" + N + "` supplied to `" + P + "`, expected a single ReactElement type."));
|
|
392
|
+
}
|
|
393
|
+
return null;
|
|
394
|
+
}
|
|
395
|
+
return M(n);
|
|
396
|
+
}
|
|
397
|
+
function Y(n) {
|
|
398
|
+
function u(w, P, R, q, x) {
|
|
399
|
+
if (!(w[P] instanceof n)) {
|
|
400
|
+
var N = n.name || d, L = j(w[P]);
|
|
401
|
+
return new C("Invalid " + q + " `" + x + "` of type " + ("`" + L + "` supplied to `" + R + "`, expected ") + ("instance of `" + N + "`."));
|
|
402
|
+
}
|
|
403
|
+
return null;
|
|
404
|
+
}
|
|
405
|
+
return M(u);
|
|
406
|
+
}
|
|
407
|
+
function Q(n) {
|
|
408
|
+
if (!Array.isArray(n))
|
|
409
|
+
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
|
|
410
|
+
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
411
|
+
) : s("Invalid argument supplied to oneOf, expected an array.")), g;
|
|
412
|
+
function u(w, P, R, q, x) {
|
|
413
|
+
for (var N = w[P], L = 0; L < n.length; L++)
|
|
414
|
+
if (E(N, n[L]))
|
|
415
|
+
return null;
|
|
416
|
+
var k = JSON.stringify(n, function(V, b) {
|
|
417
|
+
var G = t(b);
|
|
418
|
+
return G === "symbol" ? String(b) : b;
|
|
419
|
+
});
|
|
420
|
+
return new C("Invalid " + q + " `" + x + "` of value `" + String(N) + "` " + ("supplied to `" + R + "`, expected one of " + k + "."));
|
|
421
|
+
}
|
|
422
|
+
return M(u);
|
|
423
|
+
}
|
|
424
|
+
function ee(n) {
|
|
425
|
+
function u(w, P, R, q, x) {
|
|
426
|
+
if (typeof n != "function")
|
|
427
|
+
return new C("Property `" + x + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
|
|
428
|
+
var N = w[P], L = A(N);
|
|
429
|
+
if (L !== "object")
|
|
430
|
+
return new C("Invalid " + q + " `" + x + "` of type " + ("`" + L + "` supplied to `" + R + "`, expected an object."));
|
|
431
|
+
for (var k in N)
|
|
432
|
+
if (a(N, k)) {
|
|
433
|
+
var I = n(N, k, R, q, x + "." + k, h);
|
|
434
|
+
if (I instanceof Error)
|
|
435
|
+
return I;
|
|
436
|
+
}
|
|
437
|
+
return null;
|
|
438
|
+
}
|
|
439
|
+
return M(u);
|
|
440
|
+
}
|
|
441
|
+
function z(n) {
|
|
442
|
+
if (!Array.isArray(n))
|
|
443
|
+
return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), g;
|
|
444
|
+
for (var u = 0; u < n.length; u++) {
|
|
445
|
+
var w = n[u];
|
|
446
|
+
if (typeof w != "function")
|
|
447
|
+
return s(
|
|
448
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + _(w) + " at index " + u + "."
|
|
449
|
+
), g;
|
|
450
|
+
}
|
|
451
|
+
function P(R, q, x, N, L) {
|
|
452
|
+
for (var k = [], I = 0; I < n.length; I++) {
|
|
453
|
+
var V = n[I], b = V(R, q, x, N, L, h);
|
|
454
|
+
if (b == null)
|
|
455
|
+
return null;
|
|
456
|
+
b.data && a(b.data, "expectedType") && k.push(b.data.expectedType);
|
|
457
|
+
}
|
|
458
|
+
var G = k.length > 0 ? ", expected one of type [" + k.join(", ") + "]" : "";
|
|
459
|
+
return new C("Invalid " + N + " `" + L + "` supplied to " + ("`" + x + "`" + G + "."));
|
|
460
|
+
}
|
|
461
|
+
return M(P);
|
|
462
|
+
}
|
|
463
|
+
function K() {
|
|
464
|
+
function n(u, w, P, R, q) {
|
|
465
|
+
return p(u[w]) ? null : new C("Invalid " + R + " `" + q + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
|
466
|
+
}
|
|
467
|
+
return M(n);
|
|
468
|
+
}
|
|
469
|
+
function T(n, u, w, P, R) {
|
|
470
|
+
return new C(
|
|
471
|
+
(n || "React class") + ": " + u + " type `" + w + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + R + "`."
|
|
472
|
+
);
|
|
473
|
+
}
|
|
474
|
+
function S(n) {
|
|
475
|
+
function u(w, P, R, q, x) {
|
|
476
|
+
var N = w[P], L = A(N);
|
|
477
|
+
if (L !== "object")
|
|
478
|
+
return new C("Invalid " + q + " `" + x + "` of type `" + L + "` " + ("supplied to `" + R + "`, expected `object`."));
|
|
479
|
+
for (var k in n) {
|
|
480
|
+
var I = n[k];
|
|
481
|
+
if (typeof I != "function")
|
|
482
|
+
return T(R, q, x, k, t(I));
|
|
483
|
+
var V = I(N, k, R, q, x + "." + k, h);
|
|
484
|
+
if (V)
|
|
485
|
+
return V;
|
|
486
|
+
}
|
|
487
|
+
return null;
|
|
488
|
+
}
|
|
489
|
+
return M(u);
|
|
490
|
+
}
|
|
491
|
+
function D(n) {
|
|
492
|
+
function u(w, P, R, q, x) {
|
|
493
|
+
var N = w[P], L = A(N);
|
|
494
|
+
if (L !== "object")
|
|
495
|
+
return new C("Invalid " + q + " `" + x + "` of type `" + L + "` " + ("supplied to `" + R + "`, expected `object`."));
|
|
496
|
+
var k = f({}, w[P], n);
|
|
497
|
+
for (var I in k) {
|
|
498
|
+
var V = n[I];
|
|
499
|
+
if (a(n, I) && typeof V != "function")
|
|
500
|
+
return T(R, q, x, I, t(V));
|
|
501
|
+
if (!V)
|
|
502
|
+
return new C(
|
|
503
|
+
"Invalid " + q + " `" + x + "` key `" + I + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify(w[P], null, " ") + `
|
|
504
|
+
Valid keys: ` + JSON.stringify(Object.keys(n), null, " ")
|
|
505
|
+
);
|
|
506
|
+
var b = V(N, I, R, q, x + "." + I, h);
|
|
507
|
+
if (b)
|
|
508
|
+
return b;
|
|
509
|
+
}
|
|
510
|
+
return null;
|
|
511
|
+
}
|
|
512
|
+
return M(u);
|
|
513
|
+
}
|
|
514
|
+
function p(n) {
|
|
515
|
+
switch (typeof n) {
|
|
516
|
+
case "number":
|
|
517
|
+
case "string":
|
|
518
|
+
case "undefined":
|
|
519
|
+
return !0;
|
|
520
|
+
case "boolean":
|
|
521
|
+
return !n;
|
|
522
|
+
case "object":
|
|
523
|
+
if (Array.isArray(n))
|
|
524
|
+
return n.every(p);
|
|
525
|
+
if (n === null || e(n))
|
|
526
|
+
return !0;
|
|
527
|
+
var u = o(n);
|
|
528
|
+
if (u) {
|
|
529
|
+
var w = u.call(n), P;
|
|
530
|
+
if (u !== n.entries) {
|
|
531
|
+
for (; !(P = w.next()).done; )
|
|
532
|
+
if (!p(P.value))
|
|
533
|
+
return !1;
|
|
534
|
+
} else
|
|
535
|
+
for (; !(P = w.next()).done; ) {
|
|
536
|
+
var R = P.value;
|
|
537
|
+
if (R && !p(R[1]))
|
|
538
|
+
return !1;
|
|
539
|
+
}
|
|
540
|
+
} else
|
|
541
|
+
return !1;
|
|
542
|
+
return !0;
|
|
543
|
+
default:
|
|
544
|
+
return !1;
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
function y(n, u) {
|
|
548
|
+
return n === "symbol" ? !0 : u ? u["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && u instanceof Symbol : !1;
|
|
549
|
+
}
|
|
550
|
+
function A(n) {
|
|
551
|
+
var u = typeof n;
|
|
552
|
+
return Array.isArray(n) ? "array" : n instanceof RegExp ? "object" : y(u, n) ? "symbol" : u;
|
|
553
|
+
}
|
|
554
|
+
function t(n) {
|
|
555
|
+
if (typeof n == "undefined" || n === null)
|
|
556
|
+
return "" + n;
|
|
557
|
+
var u = A(n);
|
|
558
|
+
if (u === "object") {
|
|
559
|
+
if (n instanceof Date)
|
|
560
|
+
return "date";
|
|
561
|
+
if (n instanceof RegExp)
|
|
562
|
+
return "regexp";
|
|
563
|
+
}
|
|
564
|
+
return u;
|
|
565
|
+
}
|
|
566
|
+
function _(n) {
|
|
567
|
+
var u = t(n);
|
|
568
|
+
switch (u) {
|
|
569
|
+
case "array":
|
|
570
|
+
case "object":
|
|
571
|
+
return "an " + u;
|
|
572
|
+
case "boolean":
|
|
573
|
+
case "date":
|
|
574
|
+
case "regexp":
|
|
575
|
+
return "a " + u;
|
|
576
|
+
default:
|
|
577
|
+
return u;
|
|
578
|
+
}
|
|
579
|
+
}
|
|
580
|
+
function j(n) {
|
|
581
|
+
return !n.constructor || !n.constructor.name ? d : n.constructor.name;
|
|
582
|
+
}
|
|
583
|
+
return c.checkPropTypes = l, c.resetWarningCache = l.resetWarningCache, c.PropTypes = c, c;
|
|
584
|
+
}, me;
|
|
585
|
+
}
|
|
586
|
+
var he, xe;
|
|
587
|
+
function ft() {
|
|
588
|
+
if (xe) return he;
|
|
589
|
+
xe = 1;
|
|
590
|
+
var r = /* @__PURE__ */ Oe();
|
|
591
|
+
function f() {
|
|
592
|
+
}
|
|
593
|
+
function h() {
|
|
594
|
+
}
|
|
595
|
+
return h.resetWarningCache = f, he = function() {
|
|
596
|
+
function a(g, e, O, v, i, o) {
|
|
597
|
+
if (o !== r) {
|
|
598
|
+
var d = new Error(
|
|
599
|
+
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
600
|
+
);
|
|
601
|
+
throw d.name = "Invariant Violation", d;
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
a.isRequired = a;
|
|
605
|
+
function l() {
|
|
606
|
+
return a;
|
|
607
|
+
}
|
|
608
|
+
var s = {
|
|
609
|
+
array: a,
|
|
610
|
+
bigint: a,
|
|
611
|
+
bool: a,
|
|
612
|
+
func: a,
|
|
613
|
+
number: a,
|
|
614
|
+
object: a,
|
|
615
|
+
string: a,
|
|
616
|
+
symbol: a,
|
|
617
|
+
any: a,
|
|
618
|
+
arrayOf: l,
|
|
619
|
+
element: a,
|
|
620
|
+
elementType: a,
|
|
621
|
+
instanceOf: l,
|
|
622
|
+
node: a,
|
|
623
|
+
objectOf: l,
|
|
624
|
+
oneOf: l,
|
|
625
|
+
oneOfType: l,
|
|
626
|
+
shape: l,
|
|
627
|
+
exact: l,
|
|
628
|
+
checkPropTypes: h,
|
|
629
|
+
resetWarningCache: f
|
|
630
|
+
};
|
|
631
|
+
return s.PropTypes = s, s;
|
|
632
|
+
}, he;
|
|
633
|
+
}
|
|
634
|
+
var Ne;
|
|
635
|
+
function Je() {
|
|
636
|
+
if (Ne) return se.exports;
|
|
637
|
+
if (Ne = 1, process.env.NODE_ENV !== "production") {
|
|
638
|
+
var r = ze(), f = !0;
|
|
639
|
+
se.exports = /* @__PURE__ */ lt()(r.isElement, f);
|
|
640
|
+
} else
|
|
641
|
+
se.exports = /* @__PURE__ */ ft()();
|
|
642
|
+
return se.exports;
|
|
643
|
+
}
|
|
644
|
+
var le = { exports: {} }, J = {}, fe = { exports: {} }, De;
|
|
645
|
+
function Xe() {
|
|
646
|
+
return De || (De = 1, (function(r, f) {
|
|
647
|
+
Object.defineProperty(f, "__esModule", {
|
|
648
|
+
value: !0
|
|
649
|
+
}), f.default = i;
|
|
650
|
+
var h = "none", a = "contents", l = /^(input|select|textarea|button|object|iframe)$/;
|
|
651
|
+
function s(o, d) {
|
|
652
|
+
return d.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow
|
|
653
|
+
o.scrollWidth <= 0 && o.scrollHeight <= 0;
|
|
654
|
+
}
|
|
655
|
+
function g(o) {
|
|
656
|
+
var d = o.offsetWidth <= 0 && o.offsetHeight <= 0;
|
|
657
|
+
if (d && !o.innerHTML) return !0;
|
|
658
|
+
try {
|
|
659
|
+
var c = window.getComputedStyle(o), E = c.getPropertyValue("display");
|
|
660
|
+
return d ? E !== a && s(o, c) : E === h;
|
|
661
|
+
} catch (C) {
|
|
662
|
+
return console.warn("Failed to inspect element style"), !1;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
function e(o) {
|
|
666
|
+
for (var d = o, c = o.getRootNode && o.getRootNode(); d && d !== document.body; ) {
|
|
667
|
+
if (c && d === c && (d = c.host.parentNode), g(d)) return !1;
|
|
668
|
+
d = d.parentNode;
|
|
669
|
+
}
|
|
670
|
+
return !0;
|
|
671
|
+
}
|
|
672
|
+
function O(o, d) {
|
|
673
|
+
var c = o.nodeName.toLowerCase(), E = l.test(c) && !o.disabled || c === "a" && o.href || d;
|
|
674
|
+
return E && e(o);
|
|
675
|
+
}
|
|
676
|
+
function v(o) {
|
|
677
|
+
var d = o.getAttribute("tabindex");
|
|
678
|
+
d === null && (d = void 0);
|
|
679
|
+
var c = isNaN(d);
|
|
680
|
+
return (c || d >= 0) && O(o, !c);
|
|
681
|
+
}
|
|
682
|
+
function i(o) {
|
|
683
|
+
var d = [].slice.call(o.querySelectorAll("*"), 0).reduce(function(c, E) {
|
|
684
|
+
return c.concat(E.shadowRoot ? i(E.shadowRoot) : [E]);
|
|
685
|
+
}, []);
|
|
686
|
+
return d.filter(v);
|
|
687
|
+
}
|
|
688
|
+
r.exports = f.default;
|
|
689
|
+
})(fe, fe.exports)), fe.exports;
|
|
690
|
+
}
|
|
691
|
+
var qe;
|
|
692
|
+
function ct() {
|
|
693
|
+
if (qe) return J;
|
|
694
|
+
qe = 1, Object.defineProperty(J, "__esModule", {
|
|
695
|
+
value: !0
|
|
696
|
+
}), J.resetState = g, J.log = e, J.handleBlur = O, J.handleFocus = v, J.markForFocusLater = i, J.returnFocus = o, J.popWithoutFocus = d, J.setupScopedFocus = c, J.teardownScopedFocus = E;
|
|
697
|
+
var r = Xe(), f = h(r);
|
|
698
|
+
function h(C) {
|
|
699
|
+
return C && C.__esModule ? C : { default: C };
|
|
700
|
+
}
|
|
701
|
+
var a = [], l = null, s = !1;
|
|
702
|
+
function g() {
|
|
703
|
+
a = [];
|
|
704
|
+
}
|
|
705
|
+
function e() {
|
|
706
|
+
process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), a.forEach(function(C) {
|
|
707
|
+
var M = C || {};
|
|
708
|
+
console.log(M.nodeName, M.className, M.id);
|
|
709
|
+
}), console.log("end focusManager ----------"));
|
|
710
|
+
}
|
|
711
|
+
function O() {
|
|
712
|
+
s = !0;
|
|
713
|
+
}
|
|
714
|
+
function v() {
|
|
715
|
+
if (s) {
|
|
716
|
+
if (s = !1, !l)
|
|
717
|
+
return;
|
|
718
|
+
setTimeout(function() {
|
|
719
|
+
if (!l.contains(document.activeElement)) {
|
|
720
|
+
var C = (0, f.default)(l)[0] || l;
|
|
721
|
+
C.focus();
|
|
722
|
+
}
|
|
723
|
+
}, 0);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
function i() {
|
|
727
|
+
a.push(document.activeElement);
|
|
728
|
+
}
|
|
729
|
+
function o() {
|
|
730
|
+
var C = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, M = null;
|
|
731
|
+
try {
|
|
732
|
+
a.length !== 0 && (M = a.pop(), M.focus({ preventScroll: C }));
|
|
733
|
+
return;
|
|
734
|
+
} catch (F) {
|
|
735
|
+
console.warn(["You tried to return focus to", M, "but it is not in the DOM anymore"].join(" "));
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
function d() {
|
|
739
|
+
a.length > 0 && a.pop();
|
|
740
|
+
}
|
|
741
|
+
function c(C) {
|
|
742
|
+
l = C, window.addEventListener ? (window.addEventListener("blur", O, !1), document.addEventListener("focus", v, !0)) : (window.attachEvent("onBlur", O), document.attachEvent("onFocus", v));
|
|
743
|
+
}
|
|
744
|
+
function E() {
|
|
745
|
+
l = null, window.addEventListener ? (window.removeEventListener("blur", O), document.removeEventListener("focus", v)) : (window.detachEvent("onBlur", O), document.detachEvent("onFocus", v));
|
|
746
|
+
}
|
|
747
|
+
return J;
|
|
748
|
+
}
|
|
749
|
+
var ce = { exports: {} }, Le;
|
|
750
|
+
function dt() {
|
|
751
|
+
return Le || (Le = 1, (function(r, f) {
|
|
752
|
+
Object.defineProperty(f, "__esModule", {
|
|
753
|
+
value: !0
|
|
754
|
+
}), f.default = g;
|
|
755
|
+
var h = Xe(), a = l(h);
|
|
756
|
+
function l(e) {
|
|
757
|
+
return e && e.__esModule ? e : { default: e };
|
|
758
|
+
}
|
|
759
|
+
function s() {
|
|
760
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
|
|
761
|
+
return e.activeElement.shadowRoot ? s(e.activeElement.shadowRoot) : e.activeElement;
|
|
762
|
+
}
|
|
763
|
+
function g(e, O) {
|
|
764
|
+
var v = (0, a.default)(e);
|
|
765
|
+
if (!v.length) {
|
|
766
|
+
O.preventDefault();
|
|
767
|
+
return;
|
|
768
|
+
}
|
|
769
|
+
var i = void 0, o = O.shiftKey, d = v[0], c = v[v.length - 1], E = s();
|
|
770
|
+
if (e === E) {
|
|
771
|
+
if (!o) return;
|
|
772
|
+
i = c;
|
|
773
|
+
}
|
|
774
|
+
if (c === E && !o && (i = d), d === E && o && (i = c), i) {
|
|
775
|
+
O.preventDefault(), i.focus();
|
|
776
|
+
return;
|
|
777
|
+
}
|
|
778
|
+
var C = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), M = C != null && C[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
779
|
+
if (M) {
|
|
780
|
+
var F = v.indexOf(E);
|
|
781
|
+
if (F > -1 && (F += o ? -1 : 1), i = v[F], typeof i == "undefined") {
|
|
782
|
+
O.preventDefault(), i = o ? c : d, i.focus();
|
|
783
|
+
return;
|
|
784
|
+
}
|
|
785
|
+
O.preventDefault(), i.focus();
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
r.exports = f.default;
|
|
789
|
+
})(ce, ce.exports)), ce.exports;
|
|
790
|
+
}
|
|
791
|
+
var X = {}, be, Ie;
|
|
792
|
+
function pt() {
|
|
793
|
+
if (Ie) return be;
|
|
794
|
+
Ie = 1;
|
|
795
|
+
var r = process.env.NODE_ENV !== "production", f = function() {
|
|
796
|
+
};
|
|
797
|
+
if (r) {
|
|
798
|
+
var h = function(l, s) {
|
|
799
|
+
var g = arguments.length;
|
|
800
|
+
s = new Array(g > 1 ? g - 1 : 0);
|
|
801
|
+
for (var e = 1; e < g; e++)
|
|
802
|
+
s[e - 1] = arguments[e];
|
|
803
|
+
var O = 0, v = "Warning: " + l.replace(/%s/g, function() {
|
|
804
|
+
return s[O++];
|
|
805
|
+
});
|
|
806
|
+
typeof console != "undefined" && console.error(v);
|
|
807
|
+
try {
|
|
808
|
+
throw new Error(v);
|
|
809
|
+
} catch (i) {
|
|
810
|
+
}
|
|
811
|
+
};
|
|
812
|
+
f = function(a, l, s) {
|
|
813
|
+
var g = arguments.length;
|
|
814
|
+
s = new Array(g > 2 ? g - 2 : 0);
|
|
815
|
+
for (var e = 2; e < g; e++)
|
|
816
|
+
s[e - 2] = arguments[e];
|
|
817
|
+
if (l === void 0)
|
|
818
|
+
throw new Error(
|
|
819
|
+
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
820
|
+
);
|
|
821
|
+
a || h.apply(null, [l].concat(s));
|
|
822
|
+
};
|
|
823
|
+
}
|
|
824
|
+
return be = f, be;
|
|
825
|
+
}
|
|
826
|
+
var Z = {}, ge = { exports: {} };
|
|
827
|
+
var Fe;
|
|
828
|
+
function vt() {
|
|
829
|
+
return Fe || (Fe = 1, (function(r) {
|
|
830
|
+
(function() {
|
|
831
|
+
var f = !!(typeof window != "undefined" && window.document && window.document.createElement), h = {
|
|
832
|
+
canUseDOM: f,
|
|
833
|
+
canUseWorkers: typeof Worker != "undefined",
|
|
834
|
+
canUseEventListeners: f && !!(window.addEventListener || window.attachEvent),
|
|
835
|
+
canUseViewport: f && !!window.screen
|
|
836
|
+
};
|
|
837
|
+
r.exports ? r.exports = h : window.ExecutionEnvironment = h;
|
|
838
|
+
})();
|
|
839
|
+
})(ge)), ge.exports;
|
|
840
|
+
}
|
|
841
|
+
var Ue;
|
|
842
|
+
function Ee() {
|
|
843
|
+
if (Ue) return Z;
|
|
844
|
+
Ue = 1, Object.defineProperty(Z, "__esModule", {
|
|
845
|
+
value: !0
|
|
846
|
+
}), Z.canUseDOM = Z.SafeNodeList = Z.SafeHTMLCollection = void 0;
|
|
847
|
+
var r = vt(), f = h(r);
|
|
848
|
+
function h(s) {
|
|
849
|
+
return s && s.__esModule ? s : { default: s };
|
|
850
|
+
}
|
|
851
|
+
var a = f.default, l = a.canUseDOM ? window.HTMLElement : {};
|
|
852
|
+
return Z.SafeHTMLCollection = a.canUseDOM ? window.HTMLCollection : {}, Z.SafeNodeList = a.canUseDOM ? window.NodeList : {}, Z.canUseDOM = a.canUseDOM, Z.default = l, Z;
|
|
853
|
+
}
|
|
854
|
+
var We;
|
|
855
|
+
function Ge() {
|
|
856
|
+
if (We) return X;
|
|
857
|
+
We = 1, Object.defineProperty(X, "__esModule", {
|
|
858
|
+
value: !0
|
|
859
|
+
}), X.resetState = s, X.log = g, X.assertNodeList = e, X.setElement = O, X.validateElement = v, X.hide = i, X.show = o, X.documentNotReadyOrSSRTesting = d;
|
|
860
|
+
var r = pt(), f = a(r), h = Ee();
|
|
861
|
+
function a(c) {
|
|
862
|
+
return c && c.__esModule ? c : { default: c };
|
|
863
|
+
}
|
|
864
|
+
var l = null;
|
|
865
|
+
function s() {
|
|
866
|
+
l && (l.removeAttribute ? l.removeAttribute("aria-hidden") : l.length != null ? l.forEach(function(c) {
|
|
867
|
+
return c.removeAttribute("aria-hidden");
|
|
868
|
+
}) : document.querySelectorAll(l).forEach(function(c) {
|
|
869
|
+
return c.removeAttribute("aria-hidden");
|
|
870
|
+
})), l = null;
|
|
871
|
+
}
|
|
872
|
+
function g() {
|
|
873
|
+
if (process.env.NODE_ENV !== "production") {
|
|
874
|
+
var c = l || {};
|
|
875
|
+
console.log("ariaAppHider ----------"), console.log(c.nodeName, c.className, c.id), console.log("end ariaAppHider ----------");
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
function e(c, E) {
|
|
879
|
+
if (!c || !c.length)
|
|
880
|
+
throw new Error("react-modal: No elements were found for selector " + E + ".");
|
|
881
|
+
}
|
|
882
|
+
function O(c) {
|
|
883
|
+
var E = c;
|
|
884
|
+
if (typeof E == "string" && h.canUseDOM) {
|
|
885
|
+
var C = document.querySelectorAll(E);
|
|
886
|
+
e(C, E), E = C;
|
|
887
|
+
}
|
|
888
|
+
return l = E || l, l;
|
|
889
|
+
}
|
|
890
|
+
function v(c) {
|
|
891
|
+
var E = c || l;
|
|
892
|
+
return E ? Array.isArray(E) || E instanceof HTMLCollection || E instanceof NodeList ? E : [E] : ((0, f.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
|
|
893
|
+
}
|
|
894
|
+
function i(c) {
|
|
895
|
+
var E = !0, C = !1, M = void 0;
|
|
896
|
+
try {
|
|
897
|
+
for (var F = v(c)[Symbol.iterator](), B; !(E = (B = F.next()).done); E = !0) {
|
|
898
|
+
var H = B.value;
|
|
899
|
+
H.setAttribute("aria-hidden", "true");
|
|
900
|
+
}
|
|
901
|
+
} catch ($) {
|
|
902
|
+
C = !0, M = $;
|
|
903
|
+
} finally {
|
|
904
|
+
try {
|
|
905
|
+
!E && F.return && F.return();
|
|
906
|
+
} finally {
|
|
907
|
+
if (C)
|
|
908
|
+
throw M;
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
}
|
|
912
|
+
function o(c) {
|
|
913
|
+
var E = !0, C = !1, M = void 0;
|
|
914
|
+
try {
|
|
915
|
+
for (var F = v(c)[Symbol.iterator](), B; !(E = (B = F.next()).done); E = !0) {
|
|
916
|
+
var H = B.value;
|
|
917
|
+
H.removeAttribute("aria-hidden");
|
|
918
|
+
}
|
|
919
|
+
} catch ($) {
|
|
920
|
+
C = !0, M = $;
|
|
921
|
+
} finally {
|
|
922
|
+
try {
|
|
923
|
+
!E && F.return && F.return();
|
|
924
|
+
} finally {
|
|
925
|
+
if (C)
|
|
926
|
+
throw M;
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
function d() {
|
|
931
|
+
l = null;
|
|
932
|
+
}
|
|
933
|
+
return X;
|
|
934
|
+
}
|
|
935
|
+
var ne = {}, ke;
|
|
936
|
+
function yt() {
|
|
937
|
+
if (ke) return ne;
|
|
938
|
+
ke = 1, Object.defineProperty(ne, "__esModule", {
|
|
939
|
+
value: !0
|
|
940
|
+
}), ne.resetState = a, ne.log = l;
|
|
941
|
+
var r = {}, f = {};
|
|
942
|
+
function h(v, i) {
|
|
943
|
+
v.classList.remove(i);
|
|
944
|
+
}
|
|
945
|
+
function a() {
|
|
946
|
+
var v = document.getElementsByTagName("html")[0];
|
|
947
|
+
for (var i in r)
|
|
948
|
+
h(v, r[i]);
|
|
949
|
+
var o = document.body;
|
|
950
|
+
for (var d in f)
|
|
951
|
+
h(o, f[d]);
|
|
952
|
+
r = {}, f = {};
|
|
953
|
+
}
|
|
954
|
+
function l() {
|
|
955
|
+
if (process.env.NODE_ENV !== "production") {
|
|
956
|
+
var v = document.getElementsByTagName("html")[0].className, i = `Show tracked classes:
|
|
957
|
+
|
|
958
|
+
`;
|
|
959
|
+
i += "<html /> (" + v + `):
|
|
960
|
+
`;
|
|
961
|
+
for (var o in r)
|
|
962
|
+
i += " " + o + " " + r[o] + `
|
|
963
|
+
`;
|
|
964
|
+
v = document.body.className, i += `
|
|
965
|
+
|
|
966
|
+
doc.body (` + v + `):
|
|
967
|
+
`;
|
|
968
|
+
for (var d in f)
|
|
969
|
+
i += " " + d + " " + f[d] + `
|
|
970
|
+
`;
|
|
971
|
+
i += `
|
|
972
|
+
`, console.log(i);
|
|
973
|
+
}
|
|
974
|
+
}
|
|
975
|
+
var s = function(i, o) {
|
|
976
|
+
return i[o] || (i[o] = 0), i[o] += 1, o;
|
|
977
|
+
}, g = function(i, o) {
|
|
978
|
+
return i[o] && (i[o] -= 1), o;
|
|
979
|
+
}, e = function(i, o, d) {
|
|
980
|
+
d.forEach(function(c) {
|
|
981
|
+
s(o, c), i.add(c);
|
|
982
|
+
});
|
|
983
|
+
}, O = function(i, o, d) {
|
|
984
|
+
d.forEach(function(c) {
|
|
985
|
+
g(o, c), o[c] === 0 && i.remove(c);
|
|
986
|
+
});
|
|
987
|
+
};
|
|
988
|
+
return ne.add = function(i, o) {
|
|
989
|
+
return e(i.classList, i.nodeName.toLowerCase() == "html" ? r : f, o.split(" "));
|
|
990
|
+
}, ne.remove = function(i, o) {
|
|
991
|
+
return O(i.classList, i.nodeName.toLowerCase() == "html" ? r : f, o.split(" "));
|
|
992
|
+
}, ne;
|
|
993
|
+
}
|
|
994
|
+
var re = {}, $e;
|
|
995
|
+
function Ze() {
|
|
996
|
+
if ($e) return re;
|
|
997
|
+
$e = 1, Object.defineProperty(re, "__esModule", {
|
|
998
|
+
value: !0
|
|
999
|
+
}), re.log = a, re.resetState = l;
|
|
1000
|
+
function r(s, g) {
|
|
1001
|
+
if (!(s instanceof g))
|
|
1002
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1003
|
+
}
|
|
1004
|
+
var f = function s() {
|
|
1005
|
+
var g = this;
|
|
1006
|
+
r(this, s), this.register = function(e) {
|
|
1007
|
+
if (g.openInstances.indexOf(e) !== -1) {
|
|
1008
|
+
process.env.NODE_ENV !== "production" && console.warn("React-Modal: Cannot register modal instance that's already open");
|
|
1009
|
+
return;
|
|
1010
|
+
}
|
|
1011
|
+
g.openInstances.push(e), g.emit("register");
|
|
1012
|
+
}, this.deregister = function(e) {
|
|
1013
|
+
var O = g.openInstances.indexOf(e);
|
|
1014
|
+
if (O === -1) {
|
|
1015
|
+
process.env.NODE_ENV !== "production" && console.warn("React-Modal: Unable to deregister " + e + " as it was never registered");
|
|
1016
|
+
return;
|
|
1017
|
+
}
|
|
1018
|
+
g.openInstances.splice(O, 1), g.emit("deregister");
|
|
1019
|
+
}, this.subscribe = function(e) {
|
|
1020
|
+
g.subscribers.push(e);
|
|
1021
|
+
}, this.emit = function(e) {
|
|
1022
|
+
g.subscribers.forEach(function(O) {
|
|
1023
|
+
return O(
|
|
1024
|
+
e,
|
|
1025
|
+
// shallow copy to avoid accidental mutation
|
|
1026
|
+
g.openInstances.slice()
|
|
1027
|
+
);
|
|
1028
|
+
});
|
|
1029
|
+
}, this.openInstances = [], this.subscribers = [];
|
|
1030
|
+
}, h = new f();
|
|
1031
|
+
function a() {
|
|
1032
|
+
console.log("portalOpenInstances ----------"), console.log(h.openInstances.length), h.openInstances.forEach(function(s) {
|
|
1033
|
+
return console.log(s);
|
|
1034
|
+
}), console.log("end portalOpenInstances ----------");
|
|
1035
|
+
}
|
|
1036
|
+
function l() {
|
|
1037
|
+
h = new f();
|
|
1038
|
+
}
|
|
1039
|
+
return re.default = h, re;
|
|
1040
|
+
}
|
|
1041
|
+
var oe = {}, je;
|
|
1042
|
+
function mt() {
|
|
1043
|
+
if (je) return oe;
|
|
1044
|
+
je = 1, Object.defineProperty(oe, "__esModule", {
|
|
1045
|
+
value: !0
|
|
1046
|
+
}), oe.resetState = g, oe.log = e;
|
|
1047
|
+
var r = Ze(), f = h(r);
|
|
1048
|
+
function h(i) {
|
|
1049
|
+
return i && i.__esModule ? i : { default: i };
|
|
1050
|
+
}
|
|
1051
|
+
var a = void 0, l = void 0, s = [];
|
|
1052
|
+
function g() {
|
|
1053
|
+
for (var i = [a, l], o = 0; o < i.length; o++) {
|
|
1054
|
+
var d = i[o];
|
|
1055
|
+
d && d.parentNode && d.parentNode.removeChild(d);
|
|
1056
|
+
}
|
|
1057
|
+
a = l = null, s = [];
|
|
1058
|
+
}
|
|
1059
|
+
function e() {
|
|
1060
|
+
console.log("bodyTrap ----------"), console.log(s.length);
|
|
1061
|
+
for (var i = [a, l], o = 0; o < i.length; o++) {
|
|
1062
|
+
var d = i[o], c = d || {};
|
|
1063
|
+
console.log(c.nodeName, c.className, c.id);
|
|
1064
|
+
}
|
|
1065
|
+
console.log("edn bodyTrap ----------");
|
|
1066
|
+
}
|
|
1067
|
+
function O() {
|
|
1068
|
+
if (s.length === 0) {
|
|
1069
|
+
process.env.NODE_ENV !== "production" && console.warn("React-Modal: Open instances > 0 expected");
|
|
1070
|
+
return;
|
|
1071
|
+
}
|
|
1072
|
+
s[s.length - 1].focusContent();
|
|
1073
|
+
}
|
|
1074
|
+
function v(i, o) {
|
|
1075
|
+
!a && !l && (a = document.createElement("div"), a.setAttribute("data-react-modal-body-trap", ""), a.style.position = "absolute", a.style.opacity = "0", a.setAttribute("tabindex", "0"), a.addEventListener("focus", O), l = a.cloneNode(), l.addEventListener("focus", O)), s = o, s.length > 0 ? (document.body.firstChild !== a && document.body.insertBefore(a, document.body.firstChild), document.body.lastChild !== l && document.body.appendChild(l)) : (a.parentElement && a.parentElement.removeChild(a), l.parentElement && l.parentElement.removeChild(l));
|
|
1076
|
+
}
|
|
1077
|
+
return f.default.subscribe(v), oe;
|
|
1078
|
+
}
|
|
1079
|
+
var He;
|
|
1080
|
+
function ht() {
|
|
1081
|
+
return He || (He = 1, (function(r, f) {
|
|
1082
|
+
Object.defineProperty(f, "__esModule", {
|
|
1083
|
+
value: !0
|
|
1084
|
+
});
|
|
1085
|
+
var h = Object.assign || function(p) {
|
|
1086
|
+
for (var y = 1; y < arguments.length; y++) {
|
|
1087
|
+
var A = arguments[y];
|
|
1088
|
+
for (var t in A)
|
|
1089
|
+
Object.prototype.hasOwnProperty.call(A, t) && (p[t] = A[t]);
|
|
1090
|
+
}
|
|
1091
|
+
return p;
|
|
1092
|
+
}, a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(p) {
|
|
1093
|
+
return typeof p;
|
|
1094
|
+
} : function(p) {
|
|
1095
|
+
return p && typeof Symbol == "function" && p.constructor === Symbol && p !== Symbol.prototype ? "symbol" : typeof p;
|
|
1096
|
+
}, l = /* @__PURE__ */ (function() {
|
|
1097
|
+
function p(y, A) {
|
|
1098
|
+
for (var t = 0; t < A.length; t++) {
|
|
1099
|
+
var _ = A[t];
|
|
1100
|
+
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(y, _.key, _);
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
return function(y, A, t) {
|
|
1104
|
+
return A && p(y.prototype, A), t && p(y, t), y;
|
|
1105
|
+
};
|
|
1106
|
+
})(), s = Ve, g = /* @__PURE__ */ Je(), e = m(g), O = ct(), v = $(O), i = dt(), o = m(i), d = Ge(), c = $(d), E = yt(), C = $(E), M = Ee(), F = m(M), B = Ze(), H = m(B);
|
|
1107
|
+
mt();
|
|
1108
|
+
function $(p) {
|
|
1109
|
+
if (p && p.__esModule)
|
|
1110
|
+
return p;
|
|
1111
|
+
var y = {};
|
|
1112
|
+
if (p != null)
|
|
1113
|
+
for (var A in p)
|
|
1114
|
+
Object.prototype.hasOwnProperty.call(p, A) && (y[A] = p[A]);
|
|
1115
|
+
return y.default = p, y;
|
|
1116
|
+
}
|
|
1117
|
+
function m(p) {
|
|
1118
|
+
return p && p.__esModule ? p : { default: p };
|
|
1119
|
+
}
|
|
1120
|
+
function Y(p, y) {
|
|
1121
|
+
if (!(p instanceof y))
|
|
1122
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1123
|
+
}
|
|
1124
|
+
function Q(p, y) {
|
|
1125
|
+
if (!p)
|
|
1126
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1127
|
+
return y && (typeof y == "object" || typeof y == "function") ? y : p;
|
|
1128
|
+
}
|
|
1129
|
+
function ee(p, y) {
|
|
1130
|
+
if (typeof y != "function" && y !== null)
|
|
1131
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof y);
|
|
1132
|
+
p.prototype = Object.create(y && y.prototype, { constructor: { value: p, enumerable: !1, writable: !0, configurable: !0 } }), y && (Object.setPrototypeOf ? Object.setPrototypeOf(p, y) : p.__proto__ = y);
|
|
1133
|
+
}
|
|
1134
|
+
var z = {
|
|
1135
|
+
overlay: "ReactModal__Overlay",
|
|
1136
|
+
content: "ReactModal__Content"
|
|
1137
|
+
}, K = function(y) {
|
|
1138
|
+
return y.code === "Tab" || y.keyCode === 9;
|
|
1139
|
+
}, T = function(y) {
|
|
1140
|
+
return y.code === "Escape" || y.keyCode === 27;
|
|
1141
|
+
}, S = 0, D = (function(p) {
|
|
1142
|
+
ee(y, p);
|
|
1143
|
+
function y(A) {
|
|
1144
|
+
Y(this, y);
|
|
1145
|
+
var t = Q(this, (y.__proto__ || Object.getPrototypeOf(y)).call(this, A));
|
|
1146
|
+
return t.setOverlayRef = function(_) {
|
|
1147
|
+
t.overlay = _, t.props.overlayRef && t.props.overlayRef(_);
|
|
1148
|
+
}, t.setContentRef = function(_) {
|
|
1149
|
+
t.content = _, t.props.contentRef && t.props.contentRef(_);
|
|
1150
|
+
}, t.afterClose = function() {
|
|
1151
|
+
var _ = t.props, j = _.appElement, n = _.ariaHideApp, u = _.htmlOpenClassName, w = _.bodyOpenClassName, P = _.parentSelector, R = P && P().ownerDocument || document;
|
|
1152
|
+
w && C.remove(R.body, w), u && C.remove(R.getElementsByTagName("html")[0], u), n && S > 0 && (S -= 1, S === 0 && c.show(j)), t.props.shouldFocusAfterRender && (t.props.shouldReturnFocusAfterClose ? (v.returnFocus(t.props.preventScroll), v.teardownScopedFocus()) : v.popWithoutFocus()), t.props.onAfterClose && t.props.onAfterClose(), H.default.deregister(t);
|
|
1153
|
+
}, t.open = function() {
|
|
1154
|
+
t.beforeOpen(), t.state.afterOpen && t.state.beforeClose ? (clearTimeout(t.closeTimer), t.setState({ beforeClose: !1 })) : (t.props.shouldFocusAfterRender && (v.setupScopedFocus(t.node), v.markForFocusLater()), t.setState({ isOpen: !0 }, function() {
|
|
1155
|
+
t.openAnimationFrame = requestAnimationFrame(function() {
|
|
1156
|
+
t.setState({ afterOpen: !0 }), t.props.isOpen && t.props.onAfterOpen && t.props.onAfterOpen({
|
|
1157
|
+
overlayEl: t.overlay,
|
|
1158
|
+
contentEl: t.content
|
|
1159
|
+
});
|
|
1160
|
+
});
|
|
1161
|
+
}));
|
|
1162
|
+
}, t.close = function() {
|
|
1163
|
+
t.props.closeTimeoutMS > 0 ? t.closeWithTimeout() : t.closeWithoutTimeout();
|
|
1164
|
+
}, t.focusContent = function() {
|
|
1165
|
+
return t.content && !t.contentHasFocus() && t.content.focus({ preventScroll: !0 });
|
|
1166
|
+
}, t.closeWithTimeout = function() {
|
|
1167
|
+
var _ = Date.now() + t.props.closeTimeoutMS;
|
|
1168
|
+
t.setState({ beforeClose: !0, closesAt: _ }, function() {
|
|
1169
|
+
t.closeTimer = setTimeout(t.closeWithoutTimeout, t.state.closesAt - Date.now());
|
|
1170
|
+
});
|
|
1171
|
+
}, t.closeWithoutTimeout = function() {
|
|
1172
|
+
t.setState({
|
|
1173
|
+
beforeClose: !1,
|
|
1174
|
+
isOpen: !1,
|
|
1175
|
+
afterOpen: !1,
|
|
1176
|
+
closesAt: null
|
|
1177
|
+
}, t.afterClose);
|
|
1178
|
+
}, t.handleKeyDown = function(_) {
|
|
1179
|
+
K(_) && (0, o.default)(t.content, _), t.props.shouldCloseOnEsc && T(_) && (_.stopPropagation(), t.requestClose(_));
|
|
1180
|
+
}, t.handleOverlayOnClick = function(_) {
|
|
1181
|
+
t.shouldClose === null && (t.shouldClose = !0), t.shouldClose && t.props.shouldCloseOnOverlayClick && (t.ownerHandlesClose() ? t.requestClose(_) : t.focusContent()), t.shouldClose = null;
|
|
1182
|
+
}, t.handleContentOnMouseUp = function() {
|
|
1183
|
+
t.shouldClose = !1;
|
|
1184
|
+
}, t.handleOverlayOnMouseDown = function(_) {
|
|
1185
|
+
!t.props.shouldCloseOnOverlayClick && _.target == t.overlay && _.preventDefault();
|
|
1186
|
+
}, t.handleContentOnClick = function() {
|
|
1187
|
+
t.shouldClose = !1;
|
|
1188
|
+
}, t.handleContentOnMouseDown = function() {
|
|
1189
|
+
t.shouldClose = !1;
|
|
1190
|
+
}, t.requestClose = function(_) {
|
|
1191
|
+
return t.ownerHandlesClose() && t.props.onRequestClose(_);
|
|
1192
|
+
}, t.ownerHandlesClose = function() {
|
|
1193
|
+
return t.props.onRequestClose;
|
|
1194
|
+
}, t.shouldBeClosed = function() {
|
|
1195
|
+
return !t.state.isOpen && !t.state.beforeClose;
|
|
1196
|
+
}, t.contentHasFocus = function() {
|
|
1197
|
+
return document.activeElement === t.content || t.content.contains(document.activeElement);
|
|
1198
|
+
}, t.buildClassName = function(_, j) {
|
|
1199
|
+
var n = (typeof j == "undefined" ? "undefined" : a(j)) === "object" ? j : {
|
|
1200
|
+
base: z[_],
|
|
1201
|
+
afterOpen: z[_] + "--after-open",
|
|
1202
|
+
beforeClose: z[_] + "--before-close"
|
|
1203
|
+
}, u = n.base;
|
|
1204
|
+
return t.state.afterOpen && (u = u + " " + n.afterOpen), t.state.beforeClose && (u = u + " " + n.beforeClose), typeof j == "string" && j ? u + " " + j : u;
|
|
1205
|
+
}, t.attributesFromObject = function(_, j) {
|
|
1206
|
+
return Object.keys(j).reduce(function(n, u) {
|
|
1207
|
+
return n[_ + "-" + u] = j[u], n;
|
|
1208
|
+
}, {});
|
|
1209
|
+
}, t.state = {
|
|
1210
|
+
afterOpen: !1,
|
|
1211
|
+
beforeClose: !1
|
|
1212
|
+
}, t.shouldClose = null, t.moveFromContentToOverlay = null, t;
|
|
1213
|
+
}
|
|
1214
|
+
return l(y, [{
|
|
1215
|
+
key: "componentDidMount",
|
|
1216
|
+
value: function() {
|
|
1217
|
+
this.props.isOpen && this.open();
|
|
1218
|
+
}
|
|
1219
|
+
}, {
|
|
1220
|
+
key: "componentDidUpdate",
|
|
1221
|
+
value: function(t, _) {
|
|
1222
|
+
process.env.NODE_ENV !== "production" && (t.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), t.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !t.isOpen ? this.open() : !this.props.isOpen && t.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !_.isOpen && this.focusContent();
|
|
1223
|
+
}
|
|
1224
|
+
}, {
|
|
1225
|
+
key: "componentWillUnmount",
|
|
1226
|
+
value: function() {
|
|
1227
|
+
this.state.isOpen && this.afterClose(), clearTimeout(this.closeTimer), cancelAnimationFrame(this.openAnimationFrame);
|
|
1228
|
+
}
|
|
1229
|
+
}, {
|
|
1230
|
+
key: "beforeOpen",
|
|
1231
|
+
value: function() {
|
|
1232
|
+
var t = this.props, _ = t.appElement, j = t.ariaHideApp, n = t.htmlOpenClassName, u = t.bodyOpenClassName, w = t.parentSelector, P = w && w().ownerDocument || document;
|
|
1233
|
+
u && C.add(P.body, u), n && C.add(P.getElementsByTagName("html")[0], n), j && (S += 1, c.hide(_)), H.default.register(this);
|
|
1234
|
+
}
|
|
1235
|
+
// Don't steal focus from inner elements
|
|
1236
|
+
}, {
|
|
1237
|
+
key: "render",
|
|
1238
|
+
value: function() {
|
|
1239
|
+
var t = this.props, _ = t.id, j = t.className, n = t.overlayClassName, u = t.defaultStyles, w = t.children, P = j ? {} : u.content, R = n ? {} : u.overlay;
|
|
1240
|
+
if (this.shouldBeClosed())
|
|
1241
|
+
return null;
|
|
1242
|
+
var q = {
|
|
1243
|
+
ref: this.setOverlayRef,
|
|
1244
|
+
className: this.buildClassName("overlay", n),
|
|
1245
|
+
style: h({}, R, this.props.style.overlay),
|
|
1246
|
+
onClick: this.handleOverlayOnClick,
|
|
1247
|
+
onMouseDown: this.handleOverlayOnMouseDown
|
|
1248
|
+
}, x = h({
|
|
1249
|
+
id: _,
|
|
1250
|
+
ref: this.setContentRef,
|
|
1251
|
+
style: h({}, P, this.props.style.content),
|
|
1252
|
+
className: this.buildClassName("content", j),
|
|
1253
|
+
tabIndex: "-1",
|
|
1254
|
+
onKeyDown: this.handleKeyDown,
|
|
1255
|
+
onMouseDown: this.handleContentOnMouseDown,
|
|
1256
|
+
onMouseUp: this.handleContentOnMouseUp,
|
|
1257
|
+
onClick: this.handleContentOnClick,
|
|
1258
|
+
role: this.props.role,
|
|
1259
|
+
"aria-label": this.props.contentLabel
|
|
1260
|
+
}, this.attributesFromObject("aria", h({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
1261
|
+
"data-testid": this.props.testId
|
|
1262
|
+
}), N = this.props.contentElement(x, w);
|
|
1263
|
+
return this.props.overlayElement(q, N);
|
|
1264
|
+
}
|
|
1265
|
+
}]), y;
|
|
1266
|
+
})(s.Component);
|
|
1267
|
+
D.defaultProps = {
|
|
1268
|
+
style: {
|
|
1269
|
+
overlay: {},
|
|
1270
|
+
content: {}
|
|
1271
|
+
},
|
|
1272
|
+
defaultStyles: {}
|
|
1273
|
+
}, D.propTypes = {
|
|
1274
|
+
isOpen: e.default.bool.isRequired,
|
|
1275
|
+
defaultStyles: e.default.shape({
|
|
1276
|
+
content: e.default.object,
|
|
1277
|
+
overlay: e.default.object
|
|
1278
|
+
}),
|
|
1279
|
+
style: e.default.shape({
|
|
1280
|
+
content: e.default.object,
|
|
1281
|
+
overlay: e.default.object
|
|
1282
|
+
}),
|
|
1283
|
+
className: e.default.oneOfType([e.default.string, e.default.object]),
|
|
1284
|
+
overlayClassName: e.default.oneOfType([e.default.string, e.default.object]),
|
|
1285
|
+
parentSelector: e.default.func,
|
|
1286
|
+
bodyOpenClassName: e.default.string,
|
|
1287
|
+
htmlOpenClassName: e.default.string,
|
|
1288
|
+
ariaHideApp: e.default.bool,
|
|
1289
|
+
appElement: e.default.oneOfType([e.default.instanceOf(F.default), e.default.instanceOf(M.SafeHTMLCollection), e.default.instanceOf(M.SafeNodeList), e.default.arrayOf(e.default.instanceOf(F.default))]),
|
|
1290
|
+
onAfterOpen: e.default.func,
|
|
1291
|
+
onAfterClose: e.default.func,
|
|
1292
|
+
onRequestClose: e.default.func,
|
|
1293
|
+
closeTimeoutMS: e.default.number,
|
|
1294
|
+
shouldFocusAfterRender: e.default.bool,
|
|
1295
|
+
shouldCloseOnOverlayClick: e.default.bool,
|
|
1296
|
+
shouldReturnFocusAfterClose: e.default.bool,
|
|
1297
|
+
preventScroll: e.default.bool,
|
|
1298
|
+
role: e.default.string,
|
|
1299
|
+
contentLabel: e.default.string,
|
|
1300
|
+
aria: e.default.object,
|
|
1301
|
+
data: e.default.object,
|
|
1302
|
+
children: e.default.node,
|
|
1303
|
+
shouldCloseOnEsc: e.default.bool,
|
|
1304
|
+
overlayRef: e.default.func,
|
|
1305
|
+
contentRef: e.default.func,
|
|
1306
|
+
id: e.default.string,
|
|
1307
|
+
overlayElement: e.default.func,
|
|
1308
|
+
contentElement: e.default.func,
|
|
1309
|
+
testId: e.default.string
|
|
1310
|
+
}, f.default = D, r.exports = f.default;
|
|
1311
|
+
})(le, le.exports)), le.exports;
|
|
1312
|
+
}
|
|
1313
|
+
function Qe() {
|
|
1314
|
+
var r = this.constructor.getDerivedStateFromProps(this.props, this.state);
|
|
1315
|
+
r != null && this.setState(r);
|
|
1316
|
+
}
|
|
1317
|
+
function et(r) {
|
|
1318
|
+
function f(h) {
|
|
1319
|
+
var a = this.constructor.getDerivedStateFromProps(r, h);
|
|
1320
|
+
return a != null ? a : null;
|
|
1321
|
+
}
|
|
1322
|
+
this.setState(f.bind(this));
|
|
1323
|
+
}
|
|
1324
|
+
function tt(r, f) {
|
|
1325
|
+
try {
|
|
1326
|
+
var h = this.props, a = this.state;
|
|
1327
|
+
this.props = r, this.state = f, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(
|
|
1328
|
+
h,
|
|
1329
|
+
a
|
|
1330
|
+
);
|
|
1331
|
+
} finally {
|
|
1332
|
+
this.props = h, this.state = a;
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
Qe.__suppressDeprecationWarning = !0;
|
|
1336
|
+
et.__suppressDeprecationWarning = !0;
|
|
1337
|
+
tt.__suppressDeprecationWarning = !0;
|
|
1338
|
+
function bt(r) {
|
|
1339
|
+
var f = r.prototype;
|
|
1340
|
+
if (!f || !f.isReactComponent)
|
|
1341
|
+
throw new Error("Can only polyfill class components");
|
|
1342
|
+
if (typeof r.getDerivedStateFromProps != "function" && typeof f.getSnapshotBeforeUpdate != "function")
|
|
1343
|
+
return r;
|
|
1344
|
+
var h = null, a = null, l = null;
|
|
1345
|
+
if (typeof f.componentWillMount == "function" ? h = "componentWillMount" : typeof f.UNSAFE_componentWillMount == "function" && (h = "UNSAFE_componentWillMount"), typeof f.componentWillReceiveProps == "function" ? a = "componentWillReceiveProps" : typeof f.UNSAFE_componentWillReceiveProps == "function" && (a = "UNSAFE_componentWillReceiveProps"), typeof f.componentWillUpdate == "function" ? l = "componentWillUpdate" : typeof f.UNSAFE_componentWillUpdate == "function" && (l = "UNSAFE_componentWillUpdate"), h !== null || a !== null || l !== null) {
|
|
1346
|
+
var s = r.displayName || r.name, g = typeof r.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
|
|
1347
|
+
throw Error(
|
|
1348
|
+
`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
1349
|
+
|
|
1350
|
+
` + s + " uses " + g + " but also contains the following legacy lifecycles:" + (h !== null ? `
|
|
1351
|
+
` + h : "") + (a !== null ? `
|
|
1352
|
+
` + a : "") + (l !== null ? `
|
|
1353
|
+
` + l : "") + `
|
|
1354
|
+
|
|
1355
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
1356
|
+
https://fb.me/react-async-component-lifecycle-hooks`
|
|
1357
|
+
);
|
|
1358
|
+
}
|
|
1359
|
+
if (typeof r.getDerivedStateFromProps == "function" && (f.componentWillMount = Qe, f.componentWillReceiveProps = et), typeof f.getSnapshotBeforeUpdate == "function") {
|
|
1360
|
+
if (typeof f.componentDidUpdate != "function")
|
|
1361
|
+
throw new Error(
|
|
1362
|
+
"Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype"
|
|
1363
|
+
);
|
|
1364
|
+
f.componentWillUpdate = tt;
|
|
1365
|
+
var e = f.componentDidUpdate;
|
|
1366
|
+
f.componentDidUpdate = function(v, i, o) {
|
|
1367
|
+
var d = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : o;
|
|
1368
|
+
e.call(this, v, i, d);
|
|
1369
|
+
};
|
|
1370
|
+
}
|
|
1371
|
+
return r;
|
|
1372
|
+
}
|
|
1373
|
+
const gt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1374
|
+
__proto__: null,
|
|
1375
|
+
polyfill: bt
|
|
1376
|
+
}, Symbol.toStringTag, { value: "Module" })), Ot = /* @__PURE__ */ nt(gt);
|
|
1377
|
+
var Ye;
|
|
1378
|
+
function Et() {
|
|
1379
|
+
if (Ye) return te;
|
|
1380
|
+
Ye = 1, Object.defineProperty(te, "__esModule", {
|
|
1381
|
+
value: !0
|
|
1382
|
+
}), te.bodyOpenClassName = te.portalClassName = void 0;
|
|
1383
|
+
var r = Object.assign || function(T) {
|
|
1384
|
+
for (var S = 1; S < arguments.length; S++) {
|
|
1385
|
+
var D = arguments[S];
|
|
1386
|
+
for (var p in D)
|
|
1387
|
+
Object.prototype.hasOwnProperty.call(D, p) && (T[p] = D[p]);
|
|
1388
|
+
}
|
|
1389
|
+
return T;
|
|
1390
|
+
}, f = /* @__PURE__ */ (function() {
|
|
1391
|
+
function T(S, D) {
|
|
1392
|
+
for (var p = 0; p < D.length; p++) {
|
|
1393
|
+
var y = D[p];
|
|
1394
|
+
y.enumerable = y.enumerable || !1, y.configurable = !0, "value" in y && (y.writable = !0), Object.defineProperty(S, y.key, y);
|
|
1395
|
+
}
|
|
1396
|
+
}
|
|
1397
|
+
return function(S, D, p) {
|
|
1398
|
+
return D && T(S.prototype, D), p && T(S, p), S;
|
|
1399
|
+
};
|
|
1400
|
+
})(), h = Ve, a = M(h), l = ot, s = M(l), g = /* @__PURE__ */ Je(), e = M(g), O = ht(), v = M(O), i = Ge(), o = C(i), d = Ee(), c = M(d), E = Ot;
|
|
1401
|
+
function C(T) {
|
|
1402
|
+
if (T && T.__esModule)
|
|
1403
|
+
return T;
|
|
1404
|
+
var S = {};
|
|
1405
|
+
if (T != null)
|
|
1406
|
+
for (var D in T)
|
|
1407
|
+
Object.prototype.hasOwnProperty.call(T, D) && (S[D] = T[D]);
|
|
1408
|
+
return S.default = T, S;
|
|
1409
|
+
}
|
|
1410
|
+
function M(T) {
|
|
1411
|
+
return T && T.__esModule ? T : { default: T };
|
|
1412
|
+
}
|
|
1413
|
+
function F(T, S) {
|
|
1414
|
+
if (!(T instanceof S))
|
|
1415
|
+
throw new TypeError("Cannot call a class as a function");
|
|
1416
|
+
}
|
|
1417
|
+
function B(T, S) {
|
|
1418
|
+
if (!T)
|
|
1419
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
1420
|
+
return S && (typeof S == "object" || typeof S == "function") ? S : T;
|
|
1421
|
+
}
|
|
1422
|
+
function H(T, S) {
|
|
1423
|
+
if (typeof S != "function" && S !== null)
|
|
1424
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof S);
|
|
1425
|
+
T.prototype = Object.create(S && S.prototype, { constructor: { value: T, enumerable: !1, writable: !0, configurable: !0 } }), S && (Object.setPrototypeOf ? Object.setPrototypeOf(T, S) : T.__proto__ = S);
|
|
1426
|
+
}
|
|
1427
|
+
var $ = te.portalClassName = "ReactModalPortal", m = te.bodyOpenClassName = "ReactModal__Body--open", Y = d.canUseDOM && s.default.createPortal !== void 0, Q = function(S) {
|
|
1428
|
+
return document.createElement(S);
|
|
1429
|
+
}, ee = function() {
|
|
1430
|
+
return Y ? s.default.createPortal : s.default.unstable_renderSubtreeIntoContainer;
|
|
1431
|
+
};
|
|
1432
|
+
function z(T) {
|
|
1433
|
+
return T();
|
|
1434
|
+
}
|
|
1435
|
+
var K = (function(T) {
|
|
1436
|
+
H(S, T);
|
|
1437
|
+
function S() {
|
|
1438
|
+
var D, p, y, A;
|
|
1439
|
+
F(this, S);
|
|
1440
|
+
for (var t = arguments.length, _ = Array(t), j = 0; j < t; j++)
|
|
1441
|
+
_[j] = arguments[j];
|
|
1442
|
+
return A = (p = (y = B(this, (D = S.__proto__ || Object.getPrototypeOf(S)).call.apply(D, [this].concat(_))), y), y.removePortal = function() {
|
|
1443
|
+
!Y && s.default.unmountComponentAtNode(y.node);
|
|
1444
|
+
var n = z(y.props.parentSelector);
|
|
1445
|
+
n && n.contains(y.node) ? n.removeChild(y.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.');
|
|
1446
|
+
}, y.portalRef = function(n) {
|
|
1447
|
+
y.portal = n;
|
|
1448
|
+
}, y.renderPortal = function(n) {
|
|
1449
|
+
var u = ee(), w = u(y, a.default.createElement(v.default, r({ defaultStyles: S.defaultStyles }, n)), y.node);
|
|
1450
|
+
y.portalRef(w);
|
|
1451
|
+
}, p), B(y, A);
|
|
1452
|
+
}
|
|
1453
|
+
return f(S, [{
|
|
1454
|
+
key: "componentDidMount",
|
|
1455
|
+
value: function() {
|
|
1456
|
+
if (d.canUseDOM) {
|
|
1457
|
+
Y || (this.node = Q("div")), this.node.className = this.props.portalClassName;
|
|
1458
|
+
var p = z(this.props.parentSelector);
|
|
1459
|
+
p.appendChild(this.node), !Y && this.renderPortal(this.props);
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
}, {
|
|
1463
|
+
key: "getSnapshotBeforeUpdate",
|
|
1464
|
+
value: function(p) {
|
|
1465
|
+
var y = z(p.parentSelector), A = z(this.props.parentSelector);
|
|
1466
|
+
return { prevParent: y, nextParent: A };
|
|
1467
|
+
}
|
|
1468
|
+
}, {
|
|
1469
|
+
key: "componentDidUpdate",
|
|
1470
|
+
value: function(p, y, A) {
|
|
1471
|
+
if (d.canUseDOM) {
|
|
1472
|
+
var t = this.props, _ = t.isOpen, j = t.portalClassName;
|
|
1473
|
+
p.portalClassName !== j && (this.node.className = j);
|
|
1474
|
+
var n = A.prevParent, u = A.nextParent;
|
|
1475
|
+
u !== n && (n.removeChild(this.node), u.appendChild(this.node)), !(!p.isOpen && !_) && !Y && this.renderPortal(this.props);
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
}, {
|
|
1479
|
+
key: "componentWillUnmount",
|
|
1480
|
+
value: function() {
|
|
1481
|
+
if (!(!d.canUseDOM || !this.node || !this.portal)) {
|
|
1482
|
+
var p = this.portal.state, y = Date.now(), A = p.isOpen && this.props.closeTimeoutMS && (p.closesAt || y + this.props.closeTimeoutMS);
|
|
1483
|
+
A ? (p.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, A - y)) : this.removePortal();
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
}, {
|
|
1487
|
+
key: "render",
|
|
1488
|
+
value: function() {
|
|
1489
|
+
if (!d.canUseDOM || !Y)
|
|
1490
|
+
return null;
|
|
1491
|
+
!this.node && Y && (this.node = Q("div"));
|
|
1492
|
+
var p = ee();
|
|
1493
|
+
return p(a.default.createElement(v.default, r({
|
|
1494
|
+
ref: this.portalRef,
|
|
1495
|
+
defaultStyles: S.defaultStyles
|
|
1496
|
+
}, this.props)), this.node);
|
|
1497
|
+
}
|
|
1498
|
+
}], [{
|
|
1499
|
+
key: "setAppElement",
|
|
1500
|
+
value: function(p) {
|
|
1501
|
+
o.setElement(p);
|
|
1502
|
+
}
|
|
1503
|
+
/* eslint-disable react/no-unused-prop-types */
|
|
1504
|
+
/* eslint-enable react/no-unused-prop-types */
|
|
1505
|
+
}]), S;
|
|
1506
|
+
})(h.Component);
|
|
1507
|
+
return K.propTypes = {
|
|
1508
|
+
isOpen: e.default.bool.isRequired,
|
|
1509
|
+
style: e.default.shape({
|
|
1510
|
+
content: e.default.object,
|
|
1511
|
+
overlay: e.default.object
|
|
1512
|
+
}),
|
|
1513
|
+
portalClassName: e.default.string,
|
|
1514
|
+
bodyOpenClassName: e.default.string,
|
|
1515
|
+
htmlOpenClassName: e.default.string,
|
|
1516
|
+
className: e.default.oneOfType([e.default.string, e.default.shape({
|
|
1517
|
+
base: e.default.string.isRequired,
|
|
1518
|
+
afterOpen: e.default.string.isRequired,
|
|
1519
|
+
beforeClose: e.default.string.isRequired
|
|
1520
|
+
})]),
|
|
1521
|
+
overlayClassName: e.default.oneOfType([e.default.string, e.default.shape({
|
|
1522
|
+
base: e.default.string.isRequired,
|
|
1523
|
+
afterOpen: e.default.string.isRequired,
|
|
1524
|
+
beforeClose: e.default.string.isRequired
|
|
1525
|
+
})]),
|
|
1526
|
+
appElement: e.default.oneOfType([e.default.instanceOf(c.default), e.default.instanceOf(d.SafeHTMLCollection), e.default.instanceOf(d.SafeNodeList), e.default.arrayOf(e.default.instanceOf(c.default))]),
|
|
1527
|
+
onAfterOpen: e.default.func,
|
|
1528
|
+
onRequestClose: e.default.func,
|
|
1529
|
+
closeTimeoutMS: e.default.number,
|
|
1530
|
+
ariaHideApp: e.default.bool,
|
|
1531
|
+
shouldFocusAfterRender: e.default.bool,
|
|
1532
|
+
shouldCloseOnOverlayClick: e.default.bool,
|
|
1533
|
+
shouldReturnFocusAfterClose: e.default.bool,
|
|
1534
|
+
preventScroll: e.default.bool,
|
|
1535
|
+
parentSelector: e.default.func,
|
|
1536
|
+
aria: e.default.object,
|
|
1537
|
+
data: e.default.object,
|
|
1538
|
+
role: e.default.string,
|
|
1539
|
+
contentLabel: e.default.string,
|
|
1540
|
+
shouldCloseOnEsc: e.default.bool,
|
|
1541
|
+
overlayRef: e.default.func,
|
|
1542
|
+
contentRef: e.default.func,
|
|
1543
|
+
id: e.default.string,
|
|
1544
|
+
overlayElement: e.default.func,
|
|
1545
|
+
contentElement: e.default.func
|
|
1546
|
+
}, K.defaultProps = {
|
|
1547
|
+
isOpen: !1,
|
|
1548
|
+
portalClassName: $,
|
|
1549
|
+
bodyOpenClassName: m,
|
|
1550
|
+
role: "dialog",
|
|
1551
|
+
ariaHideApp: !0,
|
|
1552
|
+
closeTimeoutMS: 0,
|
|
1553
|
+
shouldFocusAfterRender: !0,
|
|
1554
|
+
shouldCloseOnEsc: !0,
|
|
1555
|
+
shouldCloseOnOverlayClick: !0,
|
|
1556
|
+
shouldReturnFocusAfterClose: !0,
|
|
1557
|
+
preventScroll: !1,
|
|
1558
|
+
parentSelector: function() {
|
|
1559
|
+
return document.body;
|
|
1560
|
+
},
|
|
1561
|
+
overlayElement: function(S, D) {
|
|
1562
|
+
return a.default.createElement(
|
|
1563
|
+
"div",
|
|
1564
|
+
S,
|
|
1565
|
+
D
|
|
1566
|
+
);
|
|
1567
|
+
},
|
|
1568
|
+
contentElement: function(S, D) {
|
|
1569
|
+
return a.default.createElement(
|
|
1570
|
+
"div",
|
|
1571
|
+
S,
|
|
1572
|
+
D
|
|
1573
|
+
);
|
|
1574
|
+
}
|
|
1575
|
+
}, K.defaultStyles = {
|
|
1576
|
+
overlay: {
|
|
1577
|
+
position: "fixed",
|
|
1578
|
+
top: 0,
|
|
1579
|
+
left: 0,
|
|
1580
|
+
right: 0,
|
|
1581
|
+
bottom: 0,
|
|
1582
|
+
backgroundColor: "rgba(255, 255, 255, 0.75)"
|
|
1583
|
+
},
|
|
1584
|
+
content: {
|
|
1585
|
+
position: "absolute",
|
|
1586
|
+
top: "40px",
|
|
1587
|
+
left: "40px",
|
|
1588
|
+
right: "40px",
|
|
1589
|
+
bottom: "40px",
|
|
1590
|
+
border: "1px solid #ccc",
|
|
1591
|
+
background: "#fff",
|
|
1592
|
+
overflow: "auto",
|
|
1593
|
+
WebkitOverflowScrolling: "touch",
|
|
1594
|
+
borderRadius: "4px",
|
|
1595
|
+
outline: "none",
|
|
1596
|
+
padding: "20px"
|
|
1597
|
+
}
|
|
1598
|
+
}, (0, E.polyfill)(K), process.env.NODE_ENV !== "production" && (K.setCreateHTMLElement = function(T) {
|
|
1599
|
+
return Q = T;
|
|
1600
|
+
}), te.default = K, te;
|
|
1601
|
+
}
|
|
1602
|
+
var Be;
|
|
1603
|
+
function _t() {
|
|
1604
|
+
return Be || (Be = 1, (function(r, f) {
|
|
1605
|
+
Object.defineProperty(f, "__esModule", {
|
|
1606
|
+
value: !0
|
|
1607
|
+
});
|
|
1608
|
+
var h = Et(), a = l(h);
|
|
1609
|
+
function l(s) {
|
|
1610
|
+
return s && s.__esModule ? s : { default: s };
|
|
1611
|
+
}
|
|
1612
|
+
f.default = a.default, r.exports = f.default;
|
|
1613
|
+
})(ie, ie.exports)), ie.exports;
|
|
1614
|
+
}
|
|
1615
|
+
var Ct = _t();
|
|
1616
|
+
const Rt = /* @__PURE__ */ rt(Ct);
|
|
2
1617
|
export {
|
|
3
|
-
|
|
1618
|
+
Rt as Modal
|
|
4
1619
|
};
|
|
5
1620
|
//# sourceMappingURL=modal.js.map
|