jcicl 0.0.225 → 0.0.229

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/.chunks/Portal.js CHANGED
@@ -1,32 +1,21 @@
1
1
  import * as p from "react";
2
2
  import w from "react";
3
- import { r as lt, m as pt, a as ft } from "./index.js";
4
- import { u as H, _ as dt, e as Et, f as B, a as mt, c as F, s as U } from "./TransitionGroupContext.js";
5
- import { h as ht, P as e, T as xt, i as gt } from "./DefaultPropsProvider.js";
6
- import { T as vt } from "./emotion-styled.browser.esm.js";
3
+ import { r as ct, m as pt, a as ft } from "./resolveComponentProps.js";
4
+ import { u as H, _ as dt, e as Et, f as B, a as mt, c as U, s as j } from "./TransitionGroupContext.js";
5
+ import { P as e } from "./DefaultPropsProvider.js";
6
+ import { u as ht } from "./useTheme.js";
7
7
  import { jsx as $ } from "react/jsx-runtime";
8
8
  import { c as K } from "./chainPropTypes.js";
9
- import * as Tt from "react-dom";
9
+ import * as xt from "react-dom";
10
10
  import I from "react-dom";
11
- function yt(n) {
12
- return Object.keys(n).length === 0;
13
- }
14
- function bt(n = null) {
15
- const s = p.useContext(vt);
16
- return !s || yt(s) ? n : s;
17
- }
18
- const Nt = ht();
19
- function Dt(n = Nt) {
20
- return bt(n);
21
- }
22
- function Rt(n) {
11
+ function gt(r) {
23
12
  const {
24
13
  prototype: s = {}
25
- } = n;
14
+ } = r;
26
15
  return !!s.isReactComponent;
27
16
  }
28
- function J(n, s, a, r, o) {
29
- const t = n[s], i = o || s;
17
+ function J(r, s, a, o, n) {
18
+ const t = r[s], i = n || s;
30
19
  if (t == null || // When server-side rendering React doesn't warn either.
31
20
  // This is not an accurate check for SSR.
32
21
  // This is only in place for Emotion compat.
@@ -34,79 +23,75 @@ function J(n, s, a, r, o) {
34
23
  typeof window > "u")
35
24
  return null;
36
25
  let u;
37
- const c = t.type;
38
- return typeof c == "function" && !Rt(c) && (u = "Did you accidentally use a plain function component for an element instead?"), u !== void 0 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
26
+ const l = t.type;
27
+ return typeof l == "function" && !gt(l) && (u = "Did you accidentally use a plain function component for an element instead?"), u !== void 0 ? new Error(`Invalid ${o} \`${i}\` supplied to \`${a}\`. Expected an element that can hold a ref. ${u} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
39
28
  }
40
29
  const Q = K(e.element, J);
41
30
  Q.isRequired = K(e.element.isRequired, J);
42
- const Ot = "exact-prop: ​";
43
- function St(n) {
44
- return process.env.NODE_ENV === "production" ? n : {
45
- ...n,
46
- [Ot]: (s) => {
47
- const a = Object.keys(s).filter((r) => !n.hasOwnProperty(r));
48
- return a.length > 0 ? new Error(`The following props are not supported: ${a.map((r) => `\`${r}\``).join(", ")}. Please remove them.`) : null;
31
+ const vt = "exact-prop: ​";
32
+ function yt(r) {
33
+ return process.env.NODE_ENV === "production" ? r : {
34
+ ...r,
35
+ [vt]: (s) => {
36
+ const a = Object.keys(s).filter((o) => !r.hasOwnProperty(o));
37
+ return a.length > 0 ? new Error(`The following props are not supported: ${a.map((o) => `\`${o}\``).join(", ")}. Please remove them.`) : null;
49
38
  }
50
39
  };
51
40
  }
52
- function Pt(n, s, a, r, o) {
41
+ function bt(r, s, a, o, n) {
53
42
  if (process.env.NODE_ENV === "production")
54
43
  return null;
55
- const t = n[s], i = o || s;
56
- return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${r} \`${i}\` supplied to \`${a}\`. Expected an HTMLElement.`) : null;
44
+ const t = r[s], i = n || s;
45
+ return t == null ? null : t && t.nodeType !== 1 ? new Error(`Invalid ${o} \`${i}\` supplied to \`${a}\`. Expected an HTMLElement.`) : null;
57
46
  }
58
- function Xt(n) {
59
- return n && n.ownerDocument || document;
47
+ function Vt(r) {
48
+ return r && r.ownerDocument || document;
60
49
  }
61
50
  let q = 0;
62
- function Ct(n) {
63
- const [s, a] = p.useState(n), r = n || s;
51
+ function Tt(r) {
52
+ const [s, a] = p.useState(r), o = r || s;
64
53
  return p.useEffect(() => {
65
54
  s == null && (q += 1, a(`mui-${q}`));
66
- }, [s]), r;
55
+ }, [s]), o;
67
56
  }
68
- const wt = {
57
+ const Nt = {
69
58
  ...p
70
- }, W = wt.useId;
71
- function zt(n) {
59
+ }, W = Nt.useId;
60
+ function Gt(r) {
72
61
  if (W !== void 0) {
73
62
  const s = W();
74
- return n ?? s;
63
+ return r ?? s;
75
64
  }
76
- return Ct(n);
65
+ return Tt(r);
77
66
  }
78
- function Bt(n) {
67
+ function Ft(r) {
79
68
  var h;
80
69
  const {
81
70
  elementType: s,
82
71
  externalSlotProps: a,
83
- ownerState: r,
84
- skipResolvingSlotProps: o = !1,
72
+ ownerState: o,
73
+ skipResolvingSlotProps: n = !1,
85
74
  ...t
86
- } = n, i = o ? {} : lt(a, r), {
75
+ } = r, i = n ? {} : ct(a, o), {
87
76
  props: u,
88
- internalRef: c
77
+ internalRef: l
89
78
  } = pt({
90
79
  ...t,
91
80
  externalSlotProps: i
92
- }), f = H(c, i == null ? void 0 : i.ref, (h = n.additionalProps) == null ? void 0 : h.ref);
81
+ }), f = H(l, i == null ? void 0 : i.ref, (h = r.additionalProps) == null ? void 0 : h.ref);
93
82
  return ft(s, {
94
83
  ...u,
95
84
  ref: f
96
- }, r);
85
+ }, o);
97
86
  }
98
- function Y(n) {
87
+ function Y(r) {
99
88
  var s;
100
- return parseInt(p.version, 10) >= 19 ? ((s = n == null ? void 0 : n.props) == null ? void 0 : s.ref) || null : (n == null ? void 0 : n.ref) || null;
101
- }
102
- function It() {
103
- const n = Dt(gt);
104
- return process.env.NODE_ENV !== "production" && p.useDebugValue(n), n[xt] || n;
89
+ return parseInt(p.version, 10) >= 19 ? ((s = r == null ? void 0 : r.props) == null ? void 0 : s.ref) || null : (r == null ? void 0 : r.ref) || null;
105
90
  }
106
91
  const X = {
107
92
  disabled: !1
108
93
  };
109
- var _t = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
94
+ var Rt = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
110
95
  enter: e.number,
111
96
  exit: e.number,
112
97
  appear: e.number
@@ -123,124 +108,124 @@ process.env.NODE_ENV !== "production" && e.oneOfType([e.string, e.shape({
123
108
  exitDone: e.string,
124
109
  exitActive: e.string
125
110
  })]);
126
- var kt = function(s) {
111
+ var Dt = function(s) {
127
112
  return s.scrollTop;
128
- }, S = "unmounted", T = "exited", y = "entering", O = "entered", V = "exiting", E = /* @__PURE__ */ function(n) {
129
- dt(s, n);
130
- function s(r, o) {
113
+ }, O = "unmounted", y = "exited", b = "entering", S = "entered", A = "exiting", E = /* @__PURE__ */ function(r) {
114
+ dt(s, r);
115
+ function s(o, n) {
131
116
  var t;
132
- t = n.call(this, r, o) || this;
133
- var i = o, u = i && !i.isMounting ? r.enter : r.appear, c;
134
- return t.appearStatus = null, r.in ? u ? (c = T, t.appearStatus = y) : c = O : r.unmountOnExit || r.mountOnEnter ? c = S : c = T, t.state = {
135
- status: c
117
+ t = r.call(this, o, n) || this;
118
+ var i = n, u = i && !i.isMounting ? o.enter : o.appear, l;
119
+ return t.appearStatus = null, o.in ? u ? (l = y, t.appearStatus = b) : l = S : o.unmountOnExit || o.mountOnEnter ? l = O : l = y, t.state = {
120
+ status: l
136
121
  }, t.nextCallback = null, t;
137
122
  }
138
- s.getDerivedStateFromProps = function(o, t) {
139
- var i = o.in;
140
- return i && t.status === S ? {
141
- status: T
123
+ s.getDerivedStateFromProps = function(n, t) {
124
+ var i = n.in;
125
+ return i && t.status === O ? {
126
+ status: y
142
127
  } : null;
143
128
  };
144
129
  var a = s.prototype;
145
130
  return a.componentDidMount = function() {
146
131
  this.updateStatus(!0, this.appearStatus);
147
- }, a.componentDidUpdate = function(o) {
132
+ }, a.componentDidUpdate = function(n) {
148
133
  var t = null;
149
- if (o !== this.props) {
134
+ if (n !== this.props) {
150
135
  var i = this.state.status;
151
- this.props.in ? i !== y && i !== O && (t = y) : (i === y || i === O) && (t = V);
136
+ this.props.in ? i !== b && i !== S && (t = b) : (i === b || i === S) && (t = A);
152
137
  }
153
138
  this.updateStatus(!1, t);
154
139
  }, a.componentWillUnmount = function() {
155
140
  this.cancelNextCallback();
156
141
  }, a.getTimeouts = function() {
157
- var o = this.props.timeout, t, i, u;
158
- return t = i = u = o, o != null && typeof o != "number" && (t = o.exit, i = o.enter, u = o.appear !== void 0 ? o.appear : i), {
142
+ var n = this.props.timeout, t, i, u;
143
+ return t = i = u = n, n != null && typeof n != "number" && (t = n.exit, i = n.enter, u = n.appear !== void 0 ? n.appear : i), {
159
144
  exit: t,
160
145
  enter: i,
161
146
  appear: u
162
147
  };
163
- }, a.updateStatus = function(o, t) {
164
- if (o === void 0 && (o = !1), t !== null)
165
- if (this.cancelNextCallback(), t === y) {
148
+ }, a.updateStatus = function(n, t) {
149
+ if (n === void 0 && (n = !1), t !== null)
150
+ if (this.cancelNextCallback(), t === b) {
166
151
  if (this.props.unmountOnExit || this.props.mountOnEnter) {
167
152
  var i = this.props.nodeRef ? this.props.nodeRef.current : I.findDOMNode(this);
168
- i && kt(i);
153
+ i && Dt(i);
169
154
  }
170
- this.performEnter(o);
155
+ this.performEnter(n);
171
156
  } else
172
157
  this.performExit();
173
- else this.props.unmountOnExit && this.state.status === T && this.setState({
174
- status: S
158
+ else this.props.unmountOnExit && this.state.status === y && this.setState({
159
+ status: O
175
160
  });
176
- }, a.performEnter = function(o) {
177
- var t = this, i = this.props.enter, u = this.context ? this.context.isMounting : o, c = this.props.nodeRef ? [u] : [I.findDOMNode(this), u], f = c[0], m = c[1], h = this.getTimeouts(), _ = u ? h.appear : h.enter;
178
- if (!o && !i || X.disabled) {
161
+ }, a.performEnter = function(n) {
162
+ var t = this, i = this.props.enter, u = this.context ? this.context.isMounting : n, l = this.props.nodeRef ? [u] : [I.findDOMNode(this), u], f = l[0], m = l[1], h = this.getTimeouts(), L = u ? h.appear : h.enter;
163
+ if (!n && !i || X.disabled) {
179
164
  this.safeSetState({
180
- status: O
165
+ status: S
181
166
  }, function() {
182
167
  t.props.onEntered(f);
183
168
  });
184
169
  return;
185
170
  }
186
171
  this.props.onEnter(f, m), this.safeSetState({
187
- status: y
172
+ status: b
188
173
  }, function() {
189
- t.props.onEntering(f, m), t.onTransitionEnd(_, function() {
174
+ t.props.onEntering(f, m), t.onTransitionEnd(L, function() {
190
175
  t.safeSetState({
191
- status: O
176
+ status: S
192
177
  }, function() {
193
178
  t.props.onEntered(f, m);
194
179
  });
195
180
  });
196
181
  });
197
182
  }, a.performExit = function() {
198
- var o = this, t = this.props.exit, i = this.getTimeouts(), u = this.props.nodeRef ? void 0 : I.findDOMNode(this);
183
+ var n = this, t = this.props.exit, i = this.getTimeouts(), u = this.props.nodeRef ? void 0 : I.findDOMNode(this);
199
184
  if (!t || X.disabled) {
200
185
  this.safeSetState({
201
- status: T
186
+ status: y
202
187
  }, function() {
203
- o.props.onExited(u);
188
+ n.props.onExited(u);
204
189
  });
205
190
  return;
206
191
  }
207
192
  this.props.onExit(u), this.safeSetState({
208
- status: V
193
+ status: A
209
194
  }, function() {
210
- o.props.onExiting(u), o.onTransitionEnd(i.exit, function() {
211
- o.safeSetState({
212
- status: T
195
+ n.props.onExiting(u), n.onTransitionEnd(i.exit, function() {
196
+ n.safeSetState({
197
+ status: y
213
198
  }, function() {
214
- o.props.onExited(u);
199
+ n.props.onExited(u);
215
200
  });
216
201
  });
217
202
  });
218
203
  }, a.cancelNextCallback = function() {
219
204
  this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
220
- }, a.safeSetState = function(o, t) {
221
- t = this.setNextCallback(t), this.setState(o, t);
222
- }, a.setNextCallback = function(o) {
205
+ }, a.safeSetState = function(n, t) {
206
+ t = this.setNextCallback(t), this.setState(n, t);
207
+ }, a.setNextCallback = function(n) {
223
208
  var t = this, i = !0;
224
209
  return this.nextCallback = function(u) {
225
- i && (i = !1, t.nextCallback = null, o(u));
210
+ i && (i = !1, t.nextCallback = null, n(u));
226
211
  }, this.nextCallback.cancel = function() {
227
212
  i = !1;
228
213
  }, this.nextCallback;
229
- }, a.onTransitionEnd = function(o, t) {
214
+ }, a.onTransitionEnd = function(n, t) {
230
215
  this.setNextCallback(t);
231
- var i = this.props.nodeRef ? this.props.nodeRef.current : I.findDOMNode(this), u = o == null && !this.props.addEndListener;
216
+ var i = this.props.nodeRef ? this.props.nodeRef.current : I.findDOMNode(this), u = n == null && !this.props.addEndListener;
232
217
  if (!i || u) {
233
218
  setTimeout(this.nextCallback, 0);
234
219
  return;
235
220
  }
236
221
  if (this.props.addEndListener) {
237
- var c = this.props.nodeRef ? [this.nextCallback] : [i, this.nextCallback], f = c[0], m = c[1];
222
+ var l = this.props.nodeRef ? [this.nextCallback] : [i, this.nextCallback], f = l[0], m = l[1];
238
223
  this.props.addEndListener(f, m);
239
224
  }
240
- o != null && setTimeout(this.nextCallback, o);
225
+ n != null && setTimeout(this.nextCallback, n);
241
226
  }, a.render = function() {
242
- var o = this.state.status;
243
- if (o === S)
227
+ var n = this.state.status;
228
+ if (n === O)
244
229
  return null;
245
230
  var t = this.props, i = t.children;
246
231
  t.in, t.mountOnEnter, t.unmountOnExit, t.appear, t.enter, t.exit, t.timeout, t.addEndListener, t.onEnter, t.onEntering, t.onEntered, t.onExit, t.onExiting, t.onExited, t.nodeRef;
@@ -249,7 +234,7 @@ var kt = function(s) {
249
234
  // allows for nested Transitions
250
235
  /* @__PURE__ */ w.createElement(B.Provider, {
251
236
  value: null
252
- }, typeof i == "function" ? i(o, u) : w.cloneElement(w.Children.only(i), u))
237
+ }, typeof i == "function" ? i(n, u) : w.cloneElement(w.Children.only(i), u))
253
238
  );
254
239
  }, s;
255
240
  }(w.Component);
@@ -267,9 +252,9 @@ E.propTypes = process.env.NODE_ENV !== "production" ? {
267
252
  * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
268
253
  */
269
254
  nodeRef: e.shape({
270
- current: typeof Element > "u" ? e.any : function(n, s, a, r, o, t) {
271
- var i = n[s];
272
- return e.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(n, s, a, r, o, t);
255
+ current: typeof Element > "u" ? e.any : function(r, s, a, o, n, t) {
256
+ var i = r[s];
257
+ return e.instanceOf(i && "ownerDocument" in i ? i.ownerDocument.defaultView.Element : Element)(r, s, a, o, n, t);
273
258
  }
274
259
  }),
275
260
  /**
@@ -350,11 +335,11 @@ E.propTypes = process.env.NODE_ENV !== "production" ? {
350
335
  * @type {number | { enter?: number, exit?: number, appear?: number }}
351
336
  */
352
337
  timeout: function(s) {
353
- var a = _t;
338
+ var a = Rt;
354
339
  s.addEndListener || (a = a.isRequired);
355
- for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), t = 1; t < r; t++)
356
- o[t - 1] = arguments[t];
357
- return a.apply(void 0, [s].concat(o));
340
+ for (var o = arguments.length, n = new Array(o > 1 ? o - 1 : 0), t = 1; t < o; t++)
341
+ n[t - 1] = arguments[t];
342
+ return a.apply(void 0, [s].concat(n));
358
343
  },
359
344
  /**
360
345
  * Add a custom transition end trigger. Called with the transitioning
@@ -423,7 +408,7 @@ E.propTypes = process.env.NODE_ENV !== "production" ? {
423
408
  */
424
409
  onExited: e.func
425
410
  } : {};
426
- function R() {
411
+ function D() {
427
412
  }
428
413
  E.defaultProps = {
429
414
  in: !1,
@@ -432,68 +417,68 @@ E.defaultProps = {
432
417
  appear: !1,
433
418
  enter: !0,
434
419
  exit: !0,
435
- onEnter: R,
436
- onEntering: R,
437
- onEntered: R,
438
- onExit: R,
439
- onExiting: R,
440
- onExited: R
420
+ onEnter: D,
421
+ onEntering: D,
422
+ onEntered: D,
423
+ onExit: D,
424
+ onExiting: D,
425
+ onExited: D
441
426
  };
442
- E.UNMOUNTED = S;
443
- E.EXITED = T;
444
- E.ENTERING = y;
445
- E.ENTERED = O;
446
- E.EXITING = V;
447
- const Lt = (n) => n.scrollTop;
448
- function z(n, s) {
427
+ E.UNMOUNTED = O;
428
+ E.EXITED = y;
429
+ E.ENTERING = b;
430
+ E.ENTERED = S;
431
+ E.EXITING = A;
432
+ const St = (r) => r.scrollTop;
433
+ function z(r, s) {
449
434
  const {
450
435
  timeout: a,
451
- easing: r,
452
- style: o = {}
453
- } = n;
436
+ easing: o,
437
+ style: n = {}
438
+ } = r;
454
439
  return {
455
- duration: o.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
456
- easing: o.transitionTimingFunction ?? (typeof r == "object" ? r[s.mode] : r),
457
- delay: o.transitionDelay
440
+ duration: n.transitionDuration ?? (typeof a == "number" ? a : a[s.mode] || 0),
441
+ easing: n.transitionTimingFunction ?? (typeof o == "object" ? o[s.mode] : o),
442
+ delay: n.transitionDelay
458
443
  };
459
444
  }
460
- function A(n) {
461
- return `scale(${n}, ${n ** 2})`;
445
+ function V(r) {
446
+ return `scale(${r}, ${r ** 2})`;
462
447
  }
463
- const Mt = {
448
+ const Ot = {
464
449
  entering: {
465
450
  opacity: 1,
466
- transform: A(1)
451
+ transform: V(1)
467
452
  },
468
453
  entered: {
469
454
  opacity: 1,
470
455
  transform: "none"
471
456
  }
472
- }, M = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), j = /* @__PURE__ */ p.forwardRef(function(s, a) {
457
+ }, M = typeof navigator < "u" && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\/)15(.|_)4/i.test(navigator.userAgent), G = /* @__PURE__ */ p.forwardRef(function(s, a) {
473
458
  const {
474
- addEndListener: r,
475
- appear: o = !0,
459
+ addEndListener: o,
460
+ appear: n = !0,
476
461
  children: t,
477
462
  easing: i,
478
463
  in: u,
479
- onEnter: c,
464
+ onEnter: l,
480
465
  onEntered: f,
481
466
  onEntering: m,
482
467
  onExit: h,
483
- onExited: _,
468
+ onExited: L,
484
469
  onExiting: Z,
485
470
  style: k,
486
471
  timeout: v = "auto",
487
472
  // eslint-disable-next-line react/prop-types
488
473
  TransitionComponent: tt = E,
489
474
  ...et
490
- } = s, nt = mt(), L = p.useRef(), b = It(), P = p.useRef(null), ot = H(P, Y(t), a), N = (l) => (x) => {
491
- if (l) {
475
+ } = s, nt = mt(), _ = p.useRef(), T = ht(), P = p.useRef(null), it = H(P, Y(t), a), N = (c) => (x) => {
476
+ if (c) {
492
477
  const g = P.current;
493
- x === void 0 ? l(g) : l(g, x);
478
+ x === void 0 ? c(g) : c(g, x);
494
479
  }
495
- }, it = N(m), rt = N((l, x) => {
496
- Lt(l);
480
+ }, ot = N(m), rt = N((c, x) => {
481
+ St(c);
497
482
  const {
498
483
  duration: g,
499
484
  delay: C,
@@ -505,16 +490,16 @@ const Mt = {
505
490
  }, {
506
491
  mode: "enter"
507
492
  });
508
- let D;
509
- v === "auto" ? (D = b.transitions.getAutoHeightDuration(l.clientHeight), L.current = D) : D = g, l.style.transition = [b.transitions.create("opacity", {
510
- duration: D,
493
+ let R;
494
+ v === "auto" ? (R = T.transitions.getAutoHeightDuration(c.clientHeight), _.current = R) : R = g, c.style.transition = [T.transitions.create("opacity", {
495
+ duration: R,
511
496
  delay: C
512
- }), b.transitions.create("transform", {
513
- duration: M ? D : D * 0.666,
497
+ }), T.transitions.create("transform", {
498
+ duration: M ? R : R * 0.666,
514
499
  delay: C,
515
500
  easing: d
516
- })].join(","), c && c(l, x);
517
- }), st = N(f), at = N(Z), ut = N((l) => {
501
+ })].join(","), l && l(c, x);
502
+ }), st = N(f), at = N(Z), ut = N((c) => {
518
503
  const {
519
504
  duration: x,
520
505
  delay: g,
@@ -527,45 +512,45 @@ const Mt = {
527
512
  mode: "exit"
528
513
  });
529
514
  let d;
530
- v === "auto" ? (d = b.transitions.getAutoHeightDuration(l.clientHeight), L.current = d) : d = x, l.style.transition = [b.transitions.create("opacity", {
515
+ v === "auto" ? (d = T.transitions.getAutoHeightDuration(c.clientHeight), _.current = d) : d = x, c.style.transition = [T.transitions.create("opacity", {
531
516
  duration: d,
532
517
  delay: g
533
- }), b.transitions.create("transform", {
518
+ }), T.transitions.create("transform", {
534
519
  duration: M ? d : d * 0.666,
535
520
  delay: M ? g : g || d * 0.333,
536
521
  easing: C
537
- })].join(","), l.style.opacity = 0, l.style.transform = A(0.75), h && h(l);
538
- }), ct = N(_);
522
+ })].join(","), c.style.opacity = 0, c.style.transform = V(0.75), h && h(c);
523
+ }), lt = N(L);
539
524
  return /* @__PURE__ */ $(tt, {
540
- appear: o,
525
+ appear: n,
541
526
  in: u,
542
527
  nodeRef: P,
543
528
  onEnter: rt,
544
529
  onEntered: st,
545
- onEntering: it,
530
+ onEntering: ot,
546
531
  onExit: ut,
547
- onExited: ct,
532
+ onExited: lt,
548
533
  onExiting: at,
549
- addEndListener: (l) => {
550
- v === "auto" && nt.start(L.current || 0, l), r && r(P.current, l);
534
+ addEndListener: (c) => {
535
+ v === "auto" && nt.start(_.current || 0, c), o && o(P.current, c);
551
536
  },
552
537
  timeout: v === "auto" ? null : v,
553
538
  ...et,
554
- children: (l, x) => /* @__PURE__ */ p.cloneElement(t, {
539
+ children: (c, x) => /* @__PURE__ */ p.cloneElement(t, {
555
540
  style: {
556
541
  opacity: 0,
557
- transform: A(0.75),
558
- visibility: l === "exited" && !u ? "hidden" : void 0,
559
- ...Mt[l],
542
+ transform: V(0.75),
543
+ visibility: c === "exited" && !u ? "hidden" : void 0,
544
+ ...Ot[c],
560
545
  ...k,
561
546
  ...t.props.style
562
547
  },
563
- ref: ot,
548
+ ref: it,
564
549
  ...x
565
550
  })
566
551
  });
567
552
  });
568
- process.env.NODE_ENV !== "production" && (j.propTypes = {
553
+ process.env.NODE_ENV !== "production" && (G.propTypes = {
569
554
  // ┌────────────────────────────── Warning ──────────────────────────────┐
570
555
  // │ These PropTypes are generated from the TypeScript type definitions. │
571
556
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -639,39 +624,39 @@ process.env.NODE_ENV !== "production" && (j.propTypes = {
639
624
  exit: e.number
640
625
  })])
641
626
  });
642
- j && (j.muiSupportAuto = !0);
643
- function $t(n) {
644
- return typeof n == "function" ? n() : n;
627
+ G && (G.muiSupportAuto = !0);
628
+ function Pt(r) {
629
+ return typeof r == "function" ? r() : r;
645
630
  }
646
- const G = /* @__PURE__ */ p.forwardRef(function(s, a) {
631
+ const F = /* @__PURE__ */ p.forwardRef(function(s, a) {
647
632
  const {
648
- children: r,
649
- container: o,
633
+ children: o,
634
+ container: n,
650
635
  disablePortal: t = !1
651
- } = s, [i, u] = p.useState(null), c = H(/* @__PURE__ */ p.isValidElement(r) ? Y(r) : null, a);
652
- if (F(() => {
653
- t || u($t(o) || document.body);
654
- }, [o, t]), F(() => {
636
+ } = s, [i, u] = p.useState(null), l = H(/* @__PURE__ */ p.isValidElement(o) ? Y(o) : null, a);
637
+ if (U(() => {
638
+ t || u(Pt(n) || document.body);
639
+ }, [n, t]), U(() => {
655
640
  if (i && !t)
656
- return U(a, i), () => {
657
- U(a, null);
641
+ return j(a, i), () => {
642
+ j(a, null);
658
643
  };
659
644
  }, [a, i, t]), t) {
660
- if (/* @__PURE__ */ p.isValidElement(r)) {
645
+ if (/* @__PURE__ */ p.isValidElement(o)) {
661
646
  const f = {
662
- ref: c
647
+ ref: l
663
648
  };
664
- return /* @__PURE__ */ p.cloneElement(r, f);
649
+ return /* @__PURE__ */ p.cloneElement(o, f);
665
650
  }
666
651
  return /* @__PURE__ */ $(p.Fragment, {
667
- children: r
652
+ children: o
668
653
  });
669
654
  }
670
655
  return /* @__PURE__ */ $(p.Fragment, {
671
- children: i && /* @__PURE__ */ Tt.createPortal(r, i)
656
+ children: i && /* @__PURE__ */ xt.createPortal(o, i)
672
657
  });
673
658
  });
674
- process.env.NODE_ENV !== "production" && (G.propTypes = {
659
+ process.env.NODE_ENV !== "production" && (F.propTypes = {
675
660
  // ┌────────────────────────────── Warning ──────────────────────────────┐
676
661
  // │ These PropTypes are generated from the TypeScript type definitions. │
677
662
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -690,28 +675,25 @@ process.env.NODE_ENV !== "production" && (G.propTypes = {
690
675
  * By default, it uses the body of the top-level document object,
691
676
  * so it's simply `document.body` most of the time.
692
677
  */
693
- container: e.oneOfType([Pt, e.func]),
678
+ container: e.oneOfType([bt, e.func]),
694
679
  /**
695
680
  * The `children` will be under the DOM hierarchy of the parent component.
696
681
  * @default false
697
682
  */
698
683
  disablePortal: e.bool
699
684
  });
700
- process.env.NODE_ENV !== "production" && (G.propTypes = St(G.propTypes));
685
+ process.env.NODE_ENV !== "production" && (F.propTypes = yt(F.propTypes));
701
686
  export {
702
- j as G,
703
- Pt as H,
704
- G as P,
687
+ G,
688
+ bt as H,
689
+ F as P,
705
690
  E as T,
706
- zt as a,
707
- bt as b,
708
- z as c,
709
- Bt as d,
691
+ z as a,
692
+ yt as b,
693
+ Ft as c,
710
694
  Q as e,
711
- Dt as f,
712
695
  Y as g,
713
- St as h,
714
- Xt as o,
715
- Lt as r,
716
- It as u
696
+ Vt as o,
697
+ St as r,
698
+ Gt as u
717
699
  };