@texonom/nreact 1.6.5 → 1.6.7

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.
@@ -1,6 +1,12 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../rolldown-runtime-CEFd7nDs.js";
2
- //#region ../../node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js
3
- var o = /* @__PURE__ */ a(((e) => {
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "../objectSpread2-DfFXoz5f.js";
2
+ import * as s from "react";
3
+ import * as c from "react-dom";
4
+ //#region builtin:esm-external-require-react
5
+ var l = /* @__PURE__ */ i(((e, t) => {
6
+ n(), t.exports = Object.prototype.hasOwnProperty.call(s, "module.exports") ? s["module.exports"] : o({}, s);
7
+ })), u = /* @__PURE__ */ i(((e, t) => {
8
+ n(), t.exports = Object.prototype.hasOwnProperty.call(c, "module.exports") ? c["module.exports"] : o({}, c);
9
+ })), d = /* @__PURE__ */ i(((e) => {
4
10
  var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
5
11
  function b(e) {
6
12
  if (typeof e == "object" && e) {
@@ -56,7 +62,7 @@ var o = /* @__PURE__ */ a(((e) => {
56
62
  }, e.isValidElementType = function(e) {
57
63
  return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
58
64
  }, e.typeOf = b;
59
- })), s = /* @__PURE__ */ a(((e) => {
65
+ })), f = /* @__PURE__ */ i(((e) => {
60
66
  process.env.NODE_ENV !== "production" && (function() {
61
67
  var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
62
68
  function b(e) {
@@ -132,9 +138,9 @@ var o = /* @__PURE__ */ a(((e) => {
132
138
  }
133
139
  e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = I, e.isConcurrentMode = L, e.isContextConsumer = R, e.isContextProvider = z, e.isElement = B, e.isForwardRef = V, e.isFragment = H, e.isLazy = U, e.isMemo = W, e.isPortal = G, e.isProfiler = K, e.isStrictMode = q, e.isSuspense = J, e.isValidElementType = b, e.typeOf = x;
134
140
  })();
135
- })), c = /* @__PURE__ */ a(((e, t) => {
136
- t.exports = process.env.NODE_ENV === "production" ? o() : s();
137
- })), l = /* @__PURE__ */ a(((e, t) => {
141
+ })), p = /* @__PURE__ */ i(((e, t) => {
142
+ t.exports = process.env.NODE_ENV === "production" ? d() : f();
143
+ })), m = /* @__PURE__ */ i(((e, t) => {
138
144
  var n = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
139
145
  function a(e) {
140
146
  if (e == null) throw TypeError("Object.assign cannot be called with null or undefined");
@@ -167,14 +173,14 @@ var o = /* @__PURE__ */ a(((e) => {
167
173
  }
168
174
  return s;
169
175
  };
170
- })), u = /* @__PURE__ */ a(((e, t) => {
176
+ })), h = /* @__PURE__ */ i(((e, t) => {
171
177
  t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
172
- })), d = /* @__PURE__ */ a(((e, t) => {
178
+ })), g = /* @__PURE__ */ i(((e, t) => {
173
179
  t.exports = Function.call.bind(Object.prototype.hasOwnProperty);
174
- })), f = /* @__PURE__ */ a(((e, t) => {
180
+ })), _ = /* @__PURE__ */ i(((e, t) => {
175
181
  var n = function() {};
176
182
  if (process.env.NODE_ENV !== "production") {
177
- var r = u(), i = {}, a = d();
183
+ var r = h(), i = {}, a = g();
178
184
  n = function(e) {
179
185
  var t = "Warning: " + e;
180
186
  typeof console < "u" && console.error(t);
@@ -207,8 +213,8 @@ var o = /* @__PURE__ */ a(((e) => {
207
213
  o.resetWarningCache = function() {
208
214
  process.env.NODE_ENV !== "production" && (i = {});
209
215
  }, t.exports = o;
210
- })), p = /* @__PURE__ */ a(((e, t) => {
211
- var n = c(), r = l(), i = u(), a = d(), o = f(), s = function() {};
216
+ })), v = /* @__PURE__ */ i(((e, t) => {
217
+ var n = p(), r = m(), i = h(), a = g(), o = _(), s = function() {};
212
218
  process.env.NODE_ENV !== "production" && (s = function(e) {
213
219
  var t = "Warning: " + e;
214
220
  typeof console < "u" && console.error(t);
@@ -216,16 +222,16 @@ var o = /* @__PURE__ */ a(((e) => {
216
222
  throw Error(t);
217
223
  } catch (e) {}
218
224
  });
219
- function p() {
225
+ function c() {
220
226
  return null;
221
227
  }
222
228
  t.exports = function(e, t) {
223
- var c = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
224
- function u(e) {
225
- var t = e && (c && e[c] || e[l]);
229
+ var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
230
+ function d(e) {
231
+ var t = e && (l && e[l] || e[u]);
226
232
  if (typeof t == "function") return t;
227
233
  }
228
- var d = "<<anonymous>>", f = {
234
+ var f = "<<anonymous>>", p = {
229
235
  array: _("array"),
230
236
  bigint: _("bigint"),
231
237
  bool: _("boolean"),
@@ -255,18 +261,18 @@ var o = /* @__PURE__ */ a(((e) => {
255
261
  h.prototype = Error.prototype;
256
262
  function g(e) {
257
263
  if (process.env.NODE_ENV !== "production") var n = {}, r = 0;
258
- function a(a, o, c, l, u, f, p) {
259
- if (l = l || d, f = f || c, p !== i) {
264
+ function a(a, o, c, l, u, d, p) {
265
+ if (l = l || f, d = d || c, p !== i) {
260
266
  if (t) {
261
267
  var m = /* @__PURE__ */ Error("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");
262
268
  throw m.name = "Invariant Violation", m;
263
269
  }
264
270
  if (process.env.NODE_ENV !== "production" && typeof console < "u") {
265
271
  var g = l + ":" + c;
266
- !n[g] && r < 3 && (s("You are manually calling a React.PropTypes validation function for the `" + f + "` 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."), n[g] = !0, r++);
272
+ !n[g] && r < 3 && (s("You are manually calling a React.PropTypes validation function for the `" + d + "` 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."), n[g] = !0, r++);
267
273
  }
268
274
  }
269
- return o[c] == null ? a ? o[c] === null ? new h("The " + u + " `" + f + "` is marked as required " + ("in `" + l + "`, but its value is `null`.")) : new h("The " + u + " `" + f + "` is marked as required in " + ("`" + l + "`, but its value is `undefined`.")) : null : e(o, c, l, u, f);
275
+ return o[c] == null ? a ? o[c] === null ? new h("The " + u + " `" + d + "` is marked as required " + ("in `" + l + "`, but its value is `null`.")) : new h("The " + u + " `" + d + "` is marked as required in " + ("`" + l + "`, but its value is `undefined`.")) : null : e(o, c, l, u, d);
270
276
  }
271
277
  var o = a.bind(null, !1);
272
278
  return o.isRequired = a.bind(null, !0), o;
@@ -283,7 +289,7 @@ var o = /* @__PURE__ */ a(((e) => {
283
289
  return g(t);
284
290
  }
285
291
  function v() {
286
- return g(p);
292
+ return g(c);
287
293
  }
288
294
  function y(e) {
289
295
  function t(t, n, r, a, o) {
@@ -326,7 +332,7 @@ var o = /* @__PURE__ */ a(((e) => {
326
332
  function S(e) {
327
333
  function t(t, n, r, i, a) {
328
334
  if (!(t[n] instanceof e)) {
329
- var o = e.name || d, s = F(t[n]);
335
+ var o = e.name || f, s = F(t[n]);
330
336
  return new h("Invalid " + i + " `" + a + "` of type " + ("`" + s + "` supplied to `" + r + "`, expected ") + ("instance of `" + o + "`."));
331
337
  }
332
338
  return null;
@@ -334,7 +340,7 @@ var o = /* @__PURE__ */ a(((e) => {
334
340
  return g(t);
335
341
  }
336
342
  function C(e) {
337
- if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s("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]).") : s("Invalid argument supplied to oneOf, expected an array.")), p;
343
+ if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s("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]).") : s("Invalid argument supplied to oneOf, expected an array.")), c;
338
344
  function t(t, n, r, i, a) {
339
345
  for (var o = t[n], s = 0; s < e.length; s++) if (m(o, e[s])) return null;
340
346
  var c = JSON.stringify(e, function(e, t) {
@@ -358,10 +364,10 @@ var o = /* @__PURE__ */ a(((e) => {
358
364
  return g(t);
359
365
  }
360
366
  function T(e) {
361
- if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), p;
367
+ if (!Array.isArray(e)) return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), c;
362
368
  for (var t = 0; t < e.length; t++) {
363
369
  var n = e[t];
364
- if (typeof n != "function") return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + P(n) + " at index " + t + "."), p;
370
+ if (typeof n != "function") return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + P(n) + " at index " + t + "."), c;
365
371
  }
366
372
  function r(t, n, r, o, s) {
367
373
  for (var c = [], l = 0; l < e.length; l++) {
@@ -421,7 +427,7 @@ var o = /* @__PURE__ */ a(((e) => {
421
427
  case "object":
422
428
  if (Array.isArray(t)) return t.every(A);
423
429
  if (t === null || e(t)) return !0;
424
- var n = u(t);
430
+ var n = d(t);
425
431
  if (n) {
426
432
  var r = n.call(t), i;
427
433
  if (n !== t.entries) {
@@ -463,12 +469,12 @@ var o = /* @__PURE__ */ a(((e) => {
463
469
  }
464
470
  }
465
471
  function F(e) {
466
- return !e.constructor || !e.constructor.name ? d : e.constructor.name;
472
+ return !e.constructor || !e.constructor.name ? f : e.constructor.name;
467
473
  }
468
- return f.checkPropTypes = o, f.resetWarningCache = o.resetWarningCache, f.PropTypes = f, f;
474
+ return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
469
475
  };
470
- })), m = /* @__PURE__ */ a(((e, t) => {
471
- var n = u();
476
+ })), y = /* @__PURE__ */ i(((e, t) => {
477
+ var n = h();
472
478
  function r() {}
473
479
  function i() {}
474
480
  i.resetWarningCache = r, t.exports = function() {
@@ -507,12 +513,12 @@ var o = /* @__PURE__ */ a(((e) => {
507
513
  };
508
514
  return a.PropTypes = a, a;
509
515
  };
510
- })), h = /* @__PURE__ */ a(((e, t) => {
516
+ })), b = /* @__PURE__ */ i(((e, t) => {
511
517
  if (process.env.NODE_ENV !== "production") {
512
- var n = c();
513
- t.exports = p()(n.isElement, !0);
514
- } else t.exports = m()();
515
- })), g = /* @__PURE__ */ a(((e, t) => {
518
+ var n = p();
519
+ t.exports = v()(n.isElement, !0);
520
+ } else t.exports = y()();
521
+ })), x = /* @__PURE__ */ i(((e, t) => {
516
522
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = u;
517
523
  var n = "none", r = "contents", i = /^(input|select|textarea|button|object|iframe)$/;
518
524
  function a(e, t) {
@@ -551,9 +557,9 @@ var o = /* @__PURE__ */ a(((e) => {
551
557
  }, []).filter(l);
552
558
  }
553
559
  t.exports = e.default;
554
- })), _ = /* @__PURE__ */ a(((e) => {
560
+ })), S = /* @__PURE__ */ i(((e) => {
555
561
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetState = o, e.log = s, e.handleBlur = c, e.handleFocus = l, e.markForFocusLater = u, e.returnFocus = d, e.popWithoutFocus = f, e.setupScopedFocus = p, e.teardownScopedFocus = m;
556
- var t = n(g());
562
+ var t = n(x());
557
563
  function n(e) {
558
564
  return e && e.__esModule ? e : { default: e };
559
565
  }
@@ -605,9 +611,9 @@ var o = /* @__PURE__ */ a(((e) => {
605
611
  function m() {
606
612
  i = null, window.addEventListener ? (window.removeEventListener("blur", c), document.removeEventListener("focus", l)) : (window.detachEvent("onBlur", c), document.detachEvent("onFocus", l));
607
613
  }
608
- })), v = /* @__PURE__ */ a(((e, t) => {
614
+ })), C = /* @__PURE__ */ i(((e, t) => {
609
615
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = a;
610
- var n = r(g());
616
+ var n = r(x());
611
617
  function r(e) {
612
618
  return e && e.__esModule ? e : { default: e };
613
619
  }
@@ -635,7 +641,7 @@ var o = /* @__PURE__ */ a(((e) => {
635
641
  }
636
642
  }
637
643
  t.exports = e.default;
638
- })), y = /* @__PURE__ */ a(((e, t) => {
644
+ })), w = /* @__PURE__ */ i(((e, t) => {
639
645
  var n = process.env.NODE_ENV !== "production", r = function() {};
640
646
  if (n) {
641
647
  var i = function(e, t) {
@@ -659,7 +665,7 @@ var o = /* @__PURE__ */ a(((e) => {
659
665
  };
660
666
  }
661
667
  t.exports = r;
662
- })), b = /* @__PURE__ */ a(((e, t) => {
668
+ })), T = /* @__PURE__ */ i(((e, t) => {
663
669
  (function() {
664
670
  var e = !!(typeof window < "u" && window.document && window.document.createElement), n = {
665
671
  canUseDOM: e,
@@ -671,17 +677,17 @@ var o = /* @__PURE__ */ a(((e) => {
671
677
  return n;
672
678
  }) : t !== void 0 && t.exports ? t.exports = n : window.ExecutionEnvironment = n;
673
679
  })();
674
- })), x = /* @__PURE__ */ a(((e) => {
680
+ })), E = /* @__PURE__ */ i(((e) => {
675
681
  Object.defineProperty(e, "__esModule", { value: !0 }), e.canUseDOM = e.SafeNodeList = e.SafeHTMLCollection = void 0;
676
- var t = n(b());
682
+ var t = n(T());
677
683
  function n(e) {
678
684
  return e && e.__esModule ? e : { default: e };
679
685
  }
680
686
  var r = t.default, i = r.canUseDOM ? window.HTMLElement : {};
681
687
  e.SafeHTMLCollection = r.canUseDOM ? window.HTMLCollection : {}, e.SafeNodeList = r.canUseDOM ? window.NodeList : {}, e.canUseDOM = r.canUseDOM, e.default = i;
682
- })), S = /* @__PURE__ */ a(((e) => {
688
+ })), D = /* @__PURE__ */ i(((e) => {
683
689
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetState = a, e.log = o, e.assertNodeList = s, e.setElement = c, e.validateElement = l, e.hide = u, e.show = d, e.documentNotReadyOrSSRTesting = f;
684
- var t = r(y()), n = x();
690
+ var t = r(w()), n = E();
685
691
  function r(e) {
686
692
  return e && e.__esModule ? e : { default: e };
687
693
  }
@@ -753,7 +759,7 @@ var o = /* @__PURE__ */ a(((e) => {
753
759
  function f() {
754
760
  i = null;
755
761
  }
756
- })), C = /* @__PURE__ */ a(((e) => {
762
+ })), O = /* @__PURE__ */ i(((e) => {
757
763
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetState = i, e.log = a;
758
764
  var t = {}, n = {};
759
765
  /* istanbul ignore next */
@@ -795,7 +801,7 @@ var o = /* @__PURE__ */ a(((e) => {
795
801
  }, e.remove = function(e, r) {
796
802
  return l(e.classList, e.nodeName.toLowerCase() == "html" ? t : n, r.split(" "));
797
803
  };
798
- })), w = /* @__PURE__ */ a(((e) => {
804
+ })), k = /* @__PURE__ */ i(((e) => {
799
805
  Object.defineProperty(e, "__esModule", { value: !0 }), e.log = i, e.resetState = a;
800
806
  function t(e, t) {
801
807
  if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
@@ -826,9 +832,9 @@ var o = /* @__PURE__ */ a(((e) => {
826
832
  r = new n();
827
833
  }
828
834
  e.default = r;
829
- })), T = /* @__PURE__ */ a(((e) => {
835
+ })), A = /* @__PURE__ */ i(((e) => {
830
836
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetState = o, e.log = s;
831
- var t = n(w());
837
+ var t = n(k());
832
838
  function n(e) {
833
839
  return e && e.__esModule ? e : { default: e };
834
840
  }
@@ -857,19 +863,19 @@ var o = /* @__PURE__ */ a(((e) => {
857
863
  !r && !i && (r = document.createElement("div"), r.setAttribute("data-react-modal-body-trap", ""), r.style.position = "absolute", r.style.opacity = "0", r.setAttribute("tabindex", "0"), r.addEventListener("focus", c), i = r.cloneNode(), i.addEventListener("focus", c)), a = t, a.length > 0 ? (document.body.firstChild !== r && document.body.insertBefore(r, document.body.firstChild), document.body.lastChild !== i && document.body.appendChild(i)) : (r.parentElement && r.parentElement.removeChild(r), i.parentElement && i.parentElement.removeChild(i));
858
864
  }
859
865
  t.default.subscribe(l);
860
- })), E = /* @__PURE__ */ a(((e, n) => {
866
+ })), j = /* @__PURE__ */ i(((e, t) => {
861
867
  Object.defineProperty(e, "__esModule", { value: !0 });
862
- var r = Object.assign || function(e) {
868
+ var n = Object.assign || function(e) {
863
869
  for (var t = 1; t < arguments.length; t++) {
864
870
  var n = arguments[t];
865
871
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
866
872
  }
867
873
  return e;
868
- }, i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
874
+ }, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
869
875
  return typeof e;
870
876
  } : function(e) {
871
877
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
872
- }, a = function() {
878
+ }, i = function() {
873
879
  function e(e, t) {
874
880
  for (var n = 0; n < t.length; n++) {
875
881
  var r = t[n];
@@ -879,25 +885,25 @@ var o = /* @__PURE__ */ a(((e) => {
879
885
  return function(t, n, r) {
880
886
  return n && e(t.prototype, n), r && e(t, r), t;
881
887
  };
882
- }(), o = t("react"), s = y(h()), c = g(_()), l = y(v()), u = g(S()), d = g(C()), f = x(), p = y(f), m = y(w());
883
- T();
884
- function g(e) {
888
+ }(), a = l(), o = g(b()), s = h(S()), c = g(C()), u = h(D()), d = h(O()), f = E(), p = g(f), m = g(k());
889
+ A();
890
+ function h(e) {
885
891
  if (e && e.__esModule) return e;
886
892
  var t = {};
887
893
  if (e != null) for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
888
894
  return t.default = e, t;
889
895
  }
890
- function y(e) {
896
+ function g(e) {
891
897
  return e && e.__esModule ? e : { default: e };
892
898
  }
893
- function b(e, t) {
899
+ function _(e, t) {
894
900
  if (!(e instanceof t)) throw TypeError("Cannot call a class as a function");
895
901
  }
896
- function E(e, t) {
902
+ function v(e, t) {
897
903
  if (!e) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
898
904
  return t && (typeof t == "object" || typeof t == "function") ? t : e;
899
905
  }
900
- function D(e, t) {
906
+ function y(e, t) {
901
907
  if (typeof t != "function" && t !== null) throw TypeError("Super expression must either be null or a function, not " + typeof t);
902
908
  e.prototype = Object.create(t && t.prototype, { constructor: {
903
909
  value: e,
@@ -906,27 +912,27 @@ var o = /* @__PURE__ */ a(((e) => {
906
912
  configurable: !0
907
913
  } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
908
914
  }
909
- var O = {
915
+ var x = {
910
916
  overlay: "ReactModal__Overlay",
911
917
  content: "ReactModal__Content"
912
- }, k = function(e) {
918
+ }, w = function(e) {
913
919
  return e.code === "Tab" || e.keyCode === 9;
914
- }, A = function(e) {
920
+ }, T = function(e) {
915
921
  return e.code === "Escape" || e.keyCode === 27;
916
922
  }, j = 0, M = function(e) {
917
- D(t, e);
923
+ y(t, e);
918
924
  function t(e) {
919
- b(this, t);
920
- var n = E(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));
925
+ _(this, t);
926
+ var n = v(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));
921
927
  return n.setOverlayRef = function(e) {
922
928
  n.overlay = e, n.props.overlayRef && n.props.overlayRef(e);
923
929
  }, n.setContentRef = function(e) {
924
930
  n.content = e, n.props.contentRef && n.props.contentRef(e);
925
931
  }, n.afterClose = function() {
926
- var e = n.props, t = e.appElement, r = e.ariaHideApp, i = e.htmlOpenClassName, a = e.bodyOpenClassName, o = e.parentSelector, s = o && o().ownerDocument || document;
927
- a && d.remove(s.body, a), i && d.remove(s.getElementsByTagName("html")[0], i), r && j > 0 && (--j, j === 0 && u.show(t)), n.props.shouldFocusAfterRender && (n.props.shouldReturnFocusAfterClose ? (c.returnFocus(n.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), n.props.onAfterClose && n.props.onAfterClose(), m.default.deregister(n);
932
+ var e = n.props, t = e.appElement, r = e.ariaHideApp, i = e.htmlOpenClassName, a = e.bodyOpenClassName, o = e.parentSelector, c = o && o().ownerDocument || document;
933
+ a && d.remove(c.body, a), i && d.remove(c.getElementsByTagName("html")[0], i), r && j > 0 && (--j, j === 0 && u.show(t)), n.props.shouldFocusAfterRender && (n.props.shouldReturnFocusAfterClose ? (s.returnFocus(n.props.preventScroll), s.teardownScopedFocus()) : s.popWithoutFocus()), n.props.onAfterClose && n.props.onAfterClose(), m.default.deregister(n);
928
934
  }, n.open = function() {
929
- n.beforeOpen(), n.state.afterOpen && n.state.beforeClose ? (clearTimeout(n.closeTimer), n.setState({ beforeClose: !1 })) : (n.props.shouldFocusAfterRender && (c.setupScopedFocus(n.node), c.markForFocusLater()), n.setState({ isOpen: !0 }, function() {
935
+ n.beforeOpen(), n.state.afterOpen && n.state.beforeClose ? (clearTimeout(n.closeTimer), n.setState({ beforeClose: !1 })) : (n.props.shouldFocusAfterRender && (s.setupScopedFocus(n.node), s.markForFocusLater()), n.setState({ isOpen: !0 }, function() {
930
936
  n.openAnimationFrame = requestAnimationFrame(function() {
931
937
  n.setState({ afterOpen: !0 }), n.props.isOpen && n.props.onAfterOpen && n.props.onAfterOpen({
932
938
  overlayEl: n.overlay,
@@ -954,7 +960,7 @@ var o = /* @__PURE__ */ a(((e) => {
954
960
  closesAt: null
955
961
  }, n.afterClose);
956
962
  }, n.handleKeyDown = function(e) {
957
- k(e) && (0, l.default)(n.content, e), n.props.shouldCloseOnEsc && A(e) && (e.stopPropagation(), n.requestClose(e));
963
+ w(e) && (0, c.default)(n.content, e), n.props.shouldCloseOnEsc && T(e) && (e.stopPropagation(), n.requestClose(e));
958
964
  }, n.handleOverlayOnClick = function(e) {
959
965
  n.shouldClose === null && (n.shouldClose = !0), n.shouldClose && n.props.shouldCloseOnOverlayClick && (n.ownerHandlesClose() ? n.requestClose(e) : n.focusContent()), n.shouldClose = null;
960
966
  }, n.handleContentOnMouseUp = function() {
@@ -974,12 +980,12 @@ var o = /* @__PURE__ */ a(((e) => {
974
980
  }, n.contentHasFocus = function() {
975
981
  return document.activeElement === n.content || n.content.contains(document.activeElement);
976
982
  }, n.buildClassName = function(e, t) {
977
- var r = (t === void 0 ? "undefined" : i(t)) === "object" ? t : {
978
- base: O[e],
979
- afterOpen: O[e] + "--after-open",
980
- beforeClose: O[e] + "--before-close"
981
- }, a = r.base;
982
- return n.state.afterOpen && (a = a + " " + r.afterOpen), n.state.beforeClose && (a = a + " " + r.beforeClose), typeof t == "string" && t ? a + " " + t : a;
983
+ var i = (t === void 0 ? "undefined" : r(t)) === "object" ? t : {
984
+ base: x[e],
985
+ afterOpen: x[e] + "--after-open",
986
+ beforeClose: x[e] + "--before-close"
987
+ }, a = i.base;
988
+ return n.state.afterOpen && (a = a + " " + i.afterOpen), n.state.beforeClose && (a = a + " " + i.beforeClose), typeof t == "string" && t ? a + " " + t : a;
983
989
  }, n.attributesFromObject = function(e, t) {
984
990
  return Object.keys(t).reduce(function(n, r) {
985
991
  return n[e + "-" + r] = t[r], n;
@@ -989,7 +995,7 @@ var o = /* @__PURE__ */ a(((e) => {
989
995
  beforeClose: !1
990
996
  }, n.shouldClose = null, n.moveFromContentToOverlay = null, n;
991
997
  }
992
- return a(t, [
998
+ return i(t, [
993
999
  {
994
1000
  key: "componentDidMount",
995
1001
  value: function() {
@@ -1018,19 +1024,19 @@ var o = /* @__PURE__ */ a(((e) => {
1018
1024
  {
1019
1025
  key: "render",
1020
1026
  value: function() {
1021
- var e = this.props, t = e.id, n = e.className, i = e.overlayClassName, a = e.defaultStyles, o = e.children, s = n ? {} : a.content, c = i ? {} : a.overlay;
1027
+ var e = this.props, t = e.id, r = e.className, i = e.overlayClassName, a = e.defaultStyles, o = e.children, s = r ? {} : a.content, c = i ? {} : a.overlay;
1022
1028
  if (this.shouldBeClosed()) return null;
1023
1029
  var l = {
1024
1030
  ref: this.setOverlayRef,
1025
1031
  className: this.buildClassName("overlay", i),
1026
- style: r({}, c, this.props.style.overlay),
1032
+ style: n({}, c, this.props.style.overlay),
1027
1033
  onClick: this.handleOverlayOnClick,
1028
1034
  onMouseDown: this.handleOverlayOnMouseDown
1029
- }, u = r({
1035
+ }, u = n({
1030
1036
  id: t,
1031
1037
  ref: this.setContentRef,
1032
- style: r({}, s, this.props.style.content),
1033
- className: this.buildClassName("content", n),
1038
+ style: n({}, s, this.props.style.content),
1039
+ className: this.buildClassName("content", r),
1034
1040
  tabIndex: "-1",
1035
1041
  onKeyDown: this.handleKeyDown,
1036
1042
  onMouseDown: this.handleContentOnMouseDown,
@@ -1038,12 +1044,12 @@ var o = /* @__PURE__ */ a(((e) => {
1038
1044
  onClick: this.handleContentOnClick,
1039
1045
  role: this.props.role,
1040
1046
  "aria-label": this.props.contentLabel
1041
- }, this.attributesFromObject("aria", r({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), { "data-testid": this.props.testId }), d = this.props.contentElement(u, o);
1047
+ }, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), { "data-testid": this.props.testId }), d = this.props.contentElement(u, o);
1042
1048
  return this.props.overlayElement(l, d);
1043
1049
  }
1044
1050
  }
1045
1051
  ]), t;
1046
- }(o.Component);
1052
+ }(a.Component);
1047
1053
  M.defaultProps = {
1048
1054
  style: {
1049
1055
  overlay: {},
@@ -1051,61 +1057,61 @@ var o = /* @__PURE__ */ a(((e) => {
1051
1057
  },
1052
1058
  defaultStyles: {}
1053
1059
  }, M.propTypes = {
1054
- isOpen: s.default.bool.isRequired,
1055
- defaultStyles: s.default.shape({
1056
- content: s.default.object,
1057
- overlay: s.default.object
1060
+ isOpen: o.default.bool.isRequired,
1061
+ defaultStyles: o.default.shape({
1062
+ content: o.default.object,
1063
+ overlay: o.default.object
1058
1064
  }),
1059
- style: s.default.shape({
1060
- content: s.default.object,
1061
- overlay: s.default.object
1065
+ style: o.default.shape({
1066
+ content: o.default.object,
1067
+ overlay: o.default.object
1062
1068
  }),
1063
- className: s.default.oneOfType([s.default.string, s.default.object]),
1064
- overlayClassName: s.default.oneOfType([s.default.string, s.default.object]),
1065
- parentSelector: s.default.func,
1066
- bodyOpenClassName: s.default.string,
1067
- htmlOpenClassName: s.default.string,
1068
- ariaHideApp: s.default.bool,
1069
- appElement: s.default.oneOfType([
1070
- s.default.instanceOf(p.default),
1071
- s.default.instanceOf(f.SafeHTMLCollection),
1072
- s.default.instanceOf(f.SafeNodeList),
1073
- s.default.arrayOf(s.default.instanceOf(p.default))
1069
+ className: o.default.oneOfType([o.default.string, o.default.object]),
1070
+ overlayClassName: o.default.oneOfType([o.default.string, o.default.object]),
1071
+ parentSelector: o.default.func,
1072
+ bodyOpenClassName: o.default.string,
1073
+ htmlOpenClassName: o.default.string,
1074
+ ariaHideApp: o.default.bool,
1075
+ appElement: o.default.oneOfType([
1076
+ o.default.instanceOf(p.default),
1077
+ o.default.instanceOf(f.SafeHTMLCollection),
1078
+ o.default.instanceOf(f.SafeNodeList),
1079
+ o.default.arrayOf(o.default.instanceOf(p.default))
1074
1080
  ]),
1075
- onAfterOpen: s.default.func,
1076
- onAfterClose: s.default.func,
1077
- onRequestClose: s.default.func,
1078
- closeTimeoutMS: s.default.number,
1079
- shouldFocusAfterRender: s.default.bool,
1080
- shouldCloseOnOverlayClick: s.default.bool,
1081
- shouldReturnFocusAfterClose: s.default.bool,
1082
- preventScroll: s.default.bool,
1083
- role: s.default.string,
1084
- contentLabel: s.default.string,
1085
- aria: s.default.object,
1086
- data: s.default.object,
1087
- children: s.default.node,
1088
- shouldCloseOnEsc: s.default.bool,
1089
- overlayRef: s.default.func,
1090
- contentRef: s.default.func,
1091
- id: s.default.string,
1092
- overlayElement: s.default.func,
1093
- contentElement: s.default.func,
1094
- testId: s.default.string
1095
- }, e.default = M, n.exports = e.default;
1096
- })), D = /* @__PURE__ */ i({ polyfill: () => j });
1097
- function O() {
1081
+ onAfterOpen: o.default.func,
1082
+ onAfterClose: o.default.func,
1083
+ onRequestClose: o.default.func,
1084
+ closeTimeoutMS: o.default.number,
1085
+ shouldFocusAfterRender: o.default.bool,
1086
+ shouldCloseOnOverlayClick: o.default.bool,
1087
+ shouldReturnFocusAfterClose: o.default.bool,
1088
+ preventScroll: o.default.bool,
1089
+ role: o.default.string,
1090
+ contentLabel: o.default.string,
1091
+ aria: o.default.object,
1092
+ data: o.default.object,
1093
+ children: o.default.node,
1094
+ shouldCloseOnEsc: o.default.bool,
1095
+ overlayRef: o.default.func,
1096
+ contentRef: o.default.func,
1097
+ id: o.default.string,
1098
+ overlayElement: o.default.func,
1099
+ contentElement: o.default.func,
1100
+ testId: o.default.string
1101
+ }, e.default = M, t.exports = e.default;
1102
+ })), M = /* @__PURE__ */ e({ polyfill: () => I });
1103
+ function N() {
1098
1104
  var e = this.constructor.getDerivedStateFromProps(this.props, this.state);
1099
1105
  e != null && this.setState(e);
1100
1106
  }
1101
- function k(e) {
1107
+ function P(e) {
1102
1108
  function t(t) {
1103
1109
  var n = this.constructor.getDerivedStateFromProps(e, t);
1104
1110
  return n == null ? null : n;
1105
1111
  }
1106
1112
  this.setState(t.bind(this));
1107
1113
  }
1108
- function A(e, t) {
1114
+ function F(e, t) {
1109
1115
  try {
1110
1116
  var n = this.props, r = this.state;
1111
1117
  this.props = e, this.state = t, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(n, r);
@@ -1113,7 +1119,7 @@ function A(e, t) {
1113
1119
  this.props = n, this.state = r;
1114
1120
  }
1115
1121
  }
1116
- function j(e) {
1122
+ function I(e) {
1117
1123
  var t = e.prototype;
1118
1124
  if (!t || !t.isReactComponent) throw Error("Can only polyfill class components");
1119
1125
  if (typeof e.getDerivedStateFromProps != "function" && typeof t.getSnapshotBeforeUpdate != "function") return e;
@@ -1122,9 +1128,9 @@ function j(e) {
1122
1128
  var a = e.displayName || e.name, o = typeof e.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
1123
1129
  throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n" + a + " uses " + o + " but also contains the following legacy lifecycles:" + (n === null ? "" : "\n " + n) + (r === null ? "" : "\n " + r) + (i === null ? "" : "\n " + i) + "\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");
1124
1130
  }
1125
- if (typeof e.getDerivedStateFromProps == "function" && (t.componentWillMount = O, t.componentWillReceiveProps = k), typeof t.getSnapshotBeforeUpdate == "function") {
1131
+ if (typeof e.getDerivedStateFromProps == "function" && (t.componentWillMount = N, t.componentWillReceiveProps = P), typeof t.getSnapshotBeforeUpdate == "function") {
1126
1132
  if (typeof t.componentDidUpdate != "function") throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");
1127
- t.componentWillUpdate = A;
1133
+ t.componentWillUpdate = F;
1128
1134
  var s = t.componentDidUpdate;
1129
1135
  t.componentDidUpdate = function(e, t, n) {
1130
1136
  var r = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : n;
@@ -1133,17 +1139,17 @@ function j(e) {
1133
1139
  }
1134
1140
  return e;
1135
1141
  }
1136
- var M = n((() => {
1137
- O.__suppressDeprecationWarning = !0, k.__suppressDeprecationWarning = !0, A.__suppressDeprecationWarning = !0;
1138
- })), N = /* @__PURE__ */ a(((n) => {
1139
- Object.defineProperty(n, "__esModule", { value: !0 }), n.bodyOpenClassName = n.portalClassName = void 0;
1140
- var r = Object.assign || function(e) {
1142
+ var L = t((() => {
1143
+ N.__suppressDeprecationWarning = !0, P.__suppressDeprecationWarning = !0, F.__suppressDeprecationWarning = !0;
1144
+ })), R = /* @__PURE__ */ i(((e) => {
1145
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.bodyOpenClassName = e.portalClassName = void 0;
1146
+ var t = Object.assign || function(e) {
1141
1147
  for (var t = 1; t < arguments.length; t++) {
1142
1148
  var n = arguments[t];
1143
1149
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
1144
1150
  }
1145
1151
  return e;
1146
- }, i = function() {
1152
+ }, n = function() {
1147
1153
  function e(e, t) {
1148
1154
  for (var n = 0; n < t.length; n++) {
1149
1155
  var r = t[n];
@@ -1153,8 +1159,8 @@ var M = n((() => {
1153
1159
  return function(t, n, r) {
1154
1160
  return n && e(t.prototype, n), r && e(t, r), t;
1155
1161
  };
1156
- }(), a = t("react"), o = g(a), s = g(t("react-dom")), c = g(h()), l = g(E()), u = m(S()), d = x(), f = g(d), p = (M(), e(D));
1157
- function m(e) {
1162
+ }(), i = l(), a = g(i), o = g(u()), s = g(b()), c = g(j()), d = h(D()), f = E(), p = g(f), m = (L(), r(M));
1163
+ function h(e) {
1158
1164
  if (e && e.__esModule) return e;
1159
1165
  var t = {};
1160
1166
  if (e != null) for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
@@ -1179,62 +1185,62 @@ var M = n((() => {
1179
1185
  configurable: !0
1180
1186
  } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
1181
1187
  }
1182
- var b = n.portalClassName = "ReactModalPortal", C = n.bodyOpenClassName = "ReactModal__Body--open", w = d.canUseDOM && s.default.createPortal !== void 0, T = function(e) {
1188
+ var x = e.portalClassName = "ReactModalPortal", S = e.bodyOpenClassName = "ReactModal__Body--open", C = f.canUseDOM && o.default.createPortal !== void 0, w = function(e) {
1183
1189
  return document.createElement(e);
1184
- }, O = function() {
1185
- return w ? s.default.createPortal : s.default.unstable_renderSubtreeIntoContainer;
1190
+ }, T = function() {
1191
+ return C ? o.default.createPortal : o.default.unstable_renderSubtreeIntoContainer;
1186
1192
  };
1187
- function k(e) {
1193
+ function O(e) {
1188
1194
  return e();
1189
1195
  }
1190
- var A = function(e) {
1191
- y(t, e);
1192
- function t() {
1193
- var e, n, i, a;
1194
- _(this, t);
1195
- var c = [...arguments];
1196
- return a = (n = (i = v(this, (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(e, [this].concat(c))), i), i.removePortal = function() {
1197
- !w && s.default.unmountComponentAtNode(i.node);
1198
- var e = k(i.props.parentSelector);
1196
+ var k = function(e) {
1197
+ y(r, e);
1198
+ function r() {
1199
+ var e, n, i, s;
1200
+ _(this, r);
1201
+ var l = [...arguments];
1202
+ return s = (n = (i = v(this, (e = r.__proto__ || Object.getPrototypeOf(r)).call.apply(e, [this].concat(l))), i), i.removePortal = function() {
1203
+ !C && o.default.unmountComponentAtNode(i.node);
1204
+ var e = O(i.props.parentSelector);
1199
1205
  e && e.contains(i.node) ? e.removeChild(i.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.");
1200
1206
  }, i.portalRef = function(e) {
1201
1207
  i.portal = e;
1202
1208
  }, i.renderPortal = function(e) {
1203
- var n = O()(i, o.default.createElement(l.default, r({ defaultStyles: t.defaultStyles }, e)), i.node);
1209
+ var n = T()(i, a.default.createElement(c.default, t({ defaultStyles: r.defaultStyles }, e)), i.node);
1204
1210
  i.portalRef(n);
1205
- }, n), v(i, a);
1211
+ }, n), v(i, s);
1206
1212
  }
1207
- return i(t, [
1213
+ return n(r, [
1208
1214
  {
1209
1215
  key: "componentDidMount",
1210
1216
  value: function() {
1211
- d.canUseDOM && (w || (this.node = T("div")), this.node.className = this.props.portalClassName, k(this.props.parentSelector).appendChild(this.node), !w && this.renderPortal(this.props));
1217
+ f.canUseDOM && (C || (this.node = w("div")), this.node.className = this.props.portalClassName, O(this.props.parentSelector).appendChild(this.node), !C && this.renderPortal(this.props));
1212
1218
  }
1213
1219
  },
1214
1220
  {
1215
1221
  key: "getSnapshotBeforeUpdate",
1216
1222
  value: function(e) {
1217
1223
  return {
1218
- prevParent: k(e.parentSelector),
1219
- nextParent: k(this.props.parentSelector)
1224
+ prevParent: O(e.parentSelector),
1225
+ nextParent: O(this.props.parentSelector)
1220
1226
  };
1221
1227
  }
1222
1228
  },
1223
1229
  {
1224
1230
  key: "componentDidUpdate",
1225
1231
  value: function(e, t, n) {
1226
- if (d.canUseDOM) {
1232
+ if (f.canUseDOM) {
1227
1233
  var r = this.props, i = r.isOpen, a = r.portalClassName;
1228
1234
  e.portalClassName !== a && (this.node.className = a);
1229
1235
  var o = n.prevParent, s = n.nextParent;
1230
- s !== o && (o.removeChild(this.node), s.appendChild(this.node)), (e.isOpen || i) && !w && this.renderPortal(this.props);
1236
+ s !== o && (o.removeChild(this.node), s.appendChild(this.node)), (e.isOpen || i) && !C && this.renderPortal(this.props);
1231
1237
  }
1232
1238
  }
1233
1239
  },
1234
1240
  {
1235
1241
  key: "componentWillUnmount",
1236
1242
  value: function() {
1237
- if (d.canUseDOM && this.node && this.portal) {
1243
+ if (f.canUseDOM && this.node && this.portal) {
1238
1244
  var e = this.portal.state, t = Date.now(), n = e.isOpen && this.props.closeTimeoutMS && (e.closesAt || t + this.props.closeTimeoutMS);
1239
1245
  n ? (e.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, n - t)) : this.removePortal();
1240
1246
  }
@@ -1243,67 +1249,67 @@ var M = n((() => {
1243
1249
  {
1244
1250
  key: "render",
1245
1251
  value: function() {
1246
- return !d.canUseDOM || !w ? null : (!this.node && w && (this.node = T("div")), O()(o.default.createElement(l.default, r({
1252
+ return !f.canUseDOM || !C ? null : (!this.node && C && (this.node = w("div")), T()(a.default.createElement(c.default, t({
1247
1253
  ref: this.portalRef,
1248
- defaultStyles: t.defaultStyles
1254
+ defaultStyles: r.defaultStyles
1249
1255
  }, this.props)), this.node));
1250
1256
  }
1251
1257
  }
1252
1258
  ], [{
1253
1259
  key: "setAppElement",
1254
1260
  value: function(e) {
1255
- u.setElement(e);
1261
+ d.setElement(e);
1256
1262
  }
1257
- }]), t;
1258
- }(a.Component);
1259
- A.propTypes = {
1260
- isOpen: c.default.bool.isRequired,
1261
- style: c.default.shape({
1262
- content: c.default.object,
1263
- overlay: c.default.object
1263
+ }]), r;
1264
+ }(i.Component);
1265
+ k.propTypes = {
1266
+ isOpen: s.default.bool.isRequired,
1267
+ style: s.default.shape({
1268
+ content: s.default.object,
1269
+ overlay: s.default.object
1264
1270
  }),
1265
- portalClassName: c.default.string,
1266
- bodyOpenClassName: c.default.string,
1267
- htmlOpenClassName: c.default.string,
1268
- className: c.default.oneOfType([c.default.string, c.default.shape({
1269
- base: c.default.string.isRequired,
1270
- afterOpen: c.default.string.isRequired,
1271
- beforeClose: c.default.string.isRequired
1271
+ portalClassName: s.default.string,
1272
+ bodyOpenClassName: s.default.string,
1273
+ htmlOpenClassName: s.default.string,
1274
+ className: s.default.oneOfType([s.default.string, s.default.shape({
1275
+ base: s.default.string.isRequired,
1276
+ afterOpen: s.default.string.isRequired,
1277
+ beforeClose: s.default.string.isRequired
1272
1278
  })]),
1273
- overlayClassName: c.default.oneOfType([c.default.string, c.default.shape({
1274
- base: c.default.string.isRequired,
1275
- afterOpen: c.default.string.isRequired,
1276
- beforeClose: c.default.string.isRequired
1279
+ overlayClassName: s.default.oneOfType([s.default.string, s.default.shape({
1280
+ base: s.default.string.isRequired,
1281
+ afterOpen: s.default.string.isRequired,
1282
+ beforeClose: s.default.string.isRequired
1277
1283
  })]),
1278
- appElement: c.default.oneOfType([
1279
- c.default.instanceOf(f.default),
1280
- c.default.instanceOf(d.SafeHTMLCollection),
1281
- c.default.instanceOf(d.SafeNodeList),
1282
- c.default.arrayOf(c.default.instanceOf(f.default))
1284
+ appElement: s.default.oneOfType([
1285
+ s.default.instanceOf(p.default),
1286
+ s.default.instanceOf(f.SafeHTMLCollection),
1287
+ s.default.instanceOf(f.SafeNodeList),
1288
+ s.default.arrayOf(s.default.instanceOf(p.default))
1283
1289
  ]),
1284
- onAfterOpen: c.default.func,
1285
- onRequestClose: c.default.func,
1286
- closeTimeoutMS: c.default.number,
1287
- ariaHideApp: c.default.bool,
1288
- shouldFocusAfterRender: c.default.bool,
1289
- shouldCloseOnOverlayClick: c.default.bool,
1290
- shouldReturnFocusAfterClose: c.default.bool,
1291
- preventScroll: c.default.bool,
1292
- parentSelector: c.default.func,
1293
- aria: c.default.object,
1294
- data: c.default.object,
1295
- role: c.default.string,
1296
- contentLabel: c.default.string,
1297
- shouldCloseOnEsc: c.default.bool,
1298
- overlayRef: c.default.func,
1299
- contentRef: c.default.func,
1300
- id: c.default.string,
1301
- overlayElement: c.default.func,
1302
- contentElement: c.default.func
1303
- }, A.defaultProps = {
1290
+ onAfterOpen: s.default.func,
1291
+ onRequestClose: s.default.func,
1292
+ closeTimeoutMS: s.default.number,
1293
+ ariaHideApp: s.default.bool,
1294
+ shouldFocusAfterRender: s.default.bool,
1295
+ shouldCloseOnOverlayClick: s.default.bool,
1296
+ shouldReturnFocusAfterClose: s.default.bool,
1297
+ preventScroll: s.default.bool,
1298
+ parentSelector: s.default.func,
1299
+ aria: s.default.object,
1300
+ data: s.default.object,
1301
+ role: s.default.string,
1302
+ contentLabel: s.default.string,
1303
+ shouldCloseOnEsc: s.default.bool,
1304
+ overlayRef: s.default.func,
1305
+ contentRef: s.default.func,
1306
+ id: s.default.string,
1307
+ overlayElement: s.default.func,
1308
+ contentElement: s.default.func
1309
+ }, k.defaultProps = {
1304
1310
  isOpen: !1,
1305
- portalClassName: b,
1306
- bodyOpenClassName: C,
1311
+ portalClassName: x,
1312
+ bodyOpenClassName: S,
1307
1313
  role: "dialog",
1308
1314
  ariaHideApp: !0,
1309
1315
  closeTimeoutMS: 0,
@@ -1316,12 +1322,12 @@ var M = n((() => {
1316
1322
  return document.body;
1317
1323
  },
1318
1324
  overlayElement: function(e, t) {
1319
- return o.default.createElement("div", e, t);
1325
+ return a.default.createElement("div", e, t);
1320
1326
  },
1321
1327
  contentElement: function(e, t) {
1322
- return o.default.createElement("div", e, t);
1328
+ return a.default.createElement("div", e, t);
1323
1329
  }
1324
- }, A.defaultStyles = {
1330
+ }, k.defaultStyles = {
1325
1331
  overlay: {
1326
1332
  position: "fixed",
1327
1333
  top: 0,
@@ -1344,17 +1350,17 @@ var M = n((() => {
1344
1350
  outline: "none",
1345
1351
  padding: "20px"
1346
1352
  }
1347
- }, (0, p.polyfill)(A), process.env.NODE_ENV !== "production" && (A.setCreateHTMLElement = function(e) {
1348
- return T = e;
1349
- }), n.default = A;
1350
- })), P = (/* @__PURE__ */ r((/* @__PURE__ */ a(((e, t) => {
1353
+ }, (0, m.polyfill)(k), process.env.NODE_ENV !== "production" && (k.setCreateHTMLElement = function(e) {
1354
+ return w = e;
1355
+ }), e.default = k;
1356
+ })), z = (/* @__PURE__ */ a((/* @__PURE__ */ i(((e, t) => {
1351
1357
  Object.defineProperty(e, "__esModule", { value: !0 });
1352
- var n = r(N());
1358
+ var n = r(R());
1353
1359
  function r(e) {
1354
1360
  return e && e.__esModule ? e : { default: e };
1355
1361
  }
1356
1362
  e.default = n.default, t.exports = e.default;
1357
1363
  })))(), 1)).default;
1358
- export { P as Modal };
1364
+ export { z as Modal };
1359
1365
 
1360
1366
  //# sourceMappingURL=modal.js.map