@applica-software-guru/react-admin 1.1.99 → 1.1.100
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/dist/react-admin.cjs.js +10 -10
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +190 -190
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +1 -1
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ra-forms/Create.tsx +4 -4
package/dist/react-admin.es.js
CHANGED
|
@@ -10019,7 +10019,7 @@ class X8 extends Do {
|
|
|
10019
10019
|
}
|
|
10020
10020
|
}
|
|
10021
10021
|
let Z8 = 0;
|
|
10022
|
-
class
|
|
10022
|
+
class e6 extends Do {
|
|
10023
10023
|
constructor() {
|
|
10024
10024
|
super(...arguments), this.id = Z8++;
|
|
10025
10025
|
}
|
|
@@ -10039,15 +10039,15 @@ class ek extends Do {
|
|
|
10039
10039
|
unmount() {
|
|
10040
10040
|
}
|
|
10041
10041
|
}
|
|
10042
|
-
const
|
|
10042
|
+
const t6 = {
|
|
10043
10043
|
animation: {
|
|
10044
10044
|
Feature: X8
|
|
10045
10045
|
},
|
|
10046
10046
|
exit: {
|
|
10047
|
-
Feature:
|
|
10047
|
+
Feature: e6
|
|
10048
10048
|
}
|
|
10049
10049
|
}, rm = (e, t) => Math.abs(e - t);
|
|
10050
|
-
function
|
|
10050
|
+
function n6(e, t) {
|
|
10051
10051
|
const n = rm(e.x, t.x), r = rm(e.y, t.y);
|
|
10052
10052
|
return Math.sqrt(n ** 2 + r ** 2);
|
|
10053
10053
|
}
|
|
@@ -10056,7 +10056,7 @@ class Qv {
|
|
|
10056
10056
|
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.updatePoint = () => {
|
|
10057
10057
|
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
10058
10058
|
return;
|
|
10059
|
-
const f = Td(this.lastMoveEventInfo, this.history), g = this.startEvent !== null, h =
|
|
10059
|
+
const f = Td(this.lastMoveEventInfo, this.history), g = this.startEvent !== null, h = n6(f.offset, { x: 0, y: 0 }) >= 3;
|
|
10060
10060
|
if (!g && !h)
|
|
10061
10061
|
return;
|
|
10062
10062
|
const { point: p } = f, { timestamp: m } = qt;
|
|
@@ -10095,17 +10095,17 @@ function Td({ point: e }, t) {
|
|
|
10095
10095
|
return {
|
|
10096
10096
|
point: e,
|
|
10097
10097
|
delta: om(e, bv(t)),
|
|
10098
|
-
offset: om(e,
|
|
10099
|
-
velocity:
|
|
10098
|
+
offset: om(e, r6(t)),
|
|
10099
|
+
velocity: o6(t, 0.1)
|
|
10100
10100
|
};
|
|
10101
10101
|
}
|
|
10102
|
-
function
|
|
10102
|
+
function r6(e) {
|
|
10103
10103
|
return e[0];
|
|
10104
10104
|
}
|
|
10105
10105
|
function bv(e) {
|
|
10106
10106
|
return e[e.length - 1];
|
|
10107
10107
|
}
|
|
10108
|
-
function
|
|
10108
|
+
function o6(e, t) {
|
|
10109
10109
|
if (e.length < 2)
|
|
10110
10110
|
return { x: 0, y: 0 };
|
|
10111
10111
|
let n = e.length - 1, r = null;
|
|
@@ -10138,7 +10138,7 @@ function As(e, t, n, r) {
|
|
|
10138
10138
|
function am(e, t, n) {
|
|
10139
10139
|
e.min = n.min + t.min, e.max = e.min + Ln(t);
|
|
10140
10140
|
}
|
|
10141
|
-
function
|
|
10141
|
+
function i6(e, t, n) {
|
|
10142
10142
|
am(e.x, t.x, n.x), am(e.y, t.y, n.y);
|
|
10143
10143
|
}
|
|
10144
10144
|
function sm(e, t, n) {
|
|
@@ -10147,7 +10147,7 @@ function sm(e, t, n) {
|
|
|
10147
10147
|
function ds(e, t, n) {
|
|
10148
10148
|
sm(e.x, t.x, n.x), sm(e.y, t.y, n.y);
|
|
10149
10149
|
}
|
|
10150
|
-
function
|
|
10150
|
+
function a6(e, { min: t, max: n }, r) {
|
|
10151
10151
|
return t !== void 0 && e < t ? e = r ? Rt(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? Rt(n, e, r.max) : Math.min(e, n)), e;
|
|
10152
10152
|
}
|
|
10153
10153
|
function lm(e, t, n) {
|
|
@@ -10156,7 +10156,7 @@ function lm(e, t, n) {
|
|
|
10156
10156
|
max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
|
|
10157
10157
|
};
|
|
10158
10158
|
}
|
|
10159
|
-
function
|
|
10159
|
+
function s6(e, { top: t, left: n, bottom: r, right: i }) {
|
|
10160
10160
|
return {
|
|
10161
10161
|
x: lm(e.x, n, i),
|
|
10162
10162
|
y: lm(e.y, t, r)
|
|
@@ -10166,23 +10166,23 @@ function cm(e, t) {
|
|
|
10166
10166
|
let n = t.min - e.min, r = t.max - e.max;
|
|
10167
10167
|
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), { min: n, max: r };
|
|
10168
10168
|
}
|
|
10169
|
-
function
|
|
10169
|
+
function l6(e, t) {
|
|
10170
10170
|
return {
|
|
10171
10171
|
x: cm(e.x, t.x),
|
|
10172
10172
|
y: cm(e.y, t.y)
|
|
10173
10173
|
};
|
|
10174
10174
|
}
|
|
10175
|
-
function
|
|
10175
|
+
function c6(e, t) {
|
|
10176
10176
|
let n = 0.5;
|
|
10177
10177
|
const r = Ln(e), i = Ln(t);
|
|
10178
10178
|
return i > r ? n = bs(t.min, t.max - r, e.min) : r > i && (n = bs(e.min, e.max - i, t.min)), To(0, 1, n);
|
|
10179
10179
|
}
|
|
10180
|
-
function
|
|
10180
|
+
function u6(e, t) {
|
|
10181
10181
|
const n = {};
|
|
10182
10182
|
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
|
|
10183
10183
|
}
|
|
10184
10184
|
const pf = 0.35;
|
|
10185
|
-
function
|
|
10185
|
+
function A6(e = pf) {
|
|
10186
10186
|
return e === !1 ? e = 0 : e === !0 && (e = pf), {
|
|
10187
10187
|
x: um(e, "left", "right"),
|
|
10188
10188
|
y: um(e, "top", "bottom")
|
|
@@ -10218,10 +10218,10 @@ function xv({ top: e, left: t, right: n, bottom: r }) {
|
|
|
10218
10218
|
y: { min: e, max: r }
|
|
10219
10219
|
};
|
|
10220
10220
|
}
|
|
10221
|
-
function
|
|
10221
|
+
function d6({ x: e, y: t }) {
|
|
10222
10222
|
return { top: t.min, right: e.max, bottom: t.max, left: e.min };
|
|
10223
10223
|
}
|
|
10224
|
-
function
|
|
10224
|
+
function f6(e, t) {
|
|
10225
10225
|
if (!t)
|
|
10226
10226
|
return e;
|
|
10227
10227
|
const n = t({ x: e.left, y: e.top }), r = t({ x: e.right, y: e.bottom });
|
|
@@ -10260,7 +10260,7 @@ function Cf(e, t = 0, n = 1, r, i) {
|
|
|
10260
10260
|
function Tv(e, { x: t, y: n }) {
|
|
10261
10261
|
Cf(e.x, t.translate, t.scale, t.originPoint), Cf(e.y, n.translate, n.scale, n.originPoint);
|
|
10262
10262
|
}
|
|
10263
|
-
function
|
|
10263
|
+
function g6(e, t, n, r = !1) {
|
|
10264
10264
|
const i = n.length;
|
|
10265
10265
|
if (!i)
|
|
10266
10266
|
return;
|
|
@@ -10286,19 +10286,19 @@ function Cm(e, t, [n, r, i]) {
|
|
|
10286
10286
|
const s = t[i] !== void 0 ? t[i] : 0.5, l = Rt(e.min, e.max, s);
|
|
10287
10287
|
Cf(e, t[n], t[r], l, t.scale);
|
|
10288
10288
|
}
|
|
10289
|
-
const
|
|
10289
|
+
const p6 = ["x", "scaleX", "originX"], h6 = ["y", "scaleY", "originY"];
|
|
10290
10290
|
function _i(e, t) {
|
|
10291
|
-
Cm(e.x, t,
|
|
10291
|
+
Cm(e.x, t, p6), Cm(e.y, t, h6);
|
|
10292
10292
|
}
|
|
10293
10293
|
function Pv(e, t) {
|
|
10294
|
-
return xv(
|
|
10294
|
+
return xv(f6(e.getBoundingClientRect(), t));
|
|
10295
10295
|
}
|
|
10296
|
-
function
|
|
10296
|
+
function C6(e, t, n) {
|
|
10297
10297
|
const r = Pv(e, n), { scroll: i } = t;
|
|
10298
10298
|
return i && (Bo(r.x, i.offset.x), Bo(r.y, i.offset.y)), r;
|
|
10299
10299
|
}
|
|
10300
|
-
const
|
|
10301
|
-
class
|
|
10300
|
+
const E6 = /* @__PURE__ */ new WeakMap();
|
|
10301
|
+
class m6 {
|
|
10302
10302
|
constructor(t) {
|
|
10303
10303
|
this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Ht(), this.visualElement = t;
|
|
10304
10304
|
}
|
|
@@ -10331,7 +10331,7 @@ class mk {
|
|
|
10331
10331
|
return;
|
|
10332
10332
|
const { offset: I } = f;
|
|
10333
10333
|
if (h && this.currentDirection === null) {
|
|
10334
|
-
this.currentDirection =
|
|
10334
|
+
this.currentDirection = I6(I), this.currentDirection !== null && p && p(this.currentDirection);
|
|
10335
10335
|
return;
|
|
10336
10336
|
}
|
|
10337
10337
|
this.updateAxis("x", f.point, I), this.updateAxis("y", f.point, I), this.visualElement.render(), m && m(A, f);
|
|
@@ -10365,12 +10365,12 @@ class mk {
|
|
|
10365
10365
|
return;
|
|
10366
10366
|
const s = this.getAxisMotionValue(t);
|
|
10367
10367
|
let l = this.originPoint[t] + r[t];
|
|
10368
|
-
this.constraints && this.constraints[t] && (l =
|
|
10368
|
+
this.constraints && this.constraints[t] && (l = a6(l, this.constraints[t], this.elastic[t])), s.set(l);
|
|
10369
10369
|
}
|
|
10370
10370
|
resolveConstraints() {
|
|
10371
10371
|
const { dragConstraints: t, dragElastic: n } = this.getProps(), { layout: r } = this.visualElement.projection || {}, i = this.constraints;
|
|
10372
|
-
t && Yi(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && r ? this.constraints =
|
|
10373
|
-
this.getAxisMotionValue(s) && (this.constraints[s] =
|
|
10372
|
+
t && Yi(t) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : t && r ? this.constraints = s6(r.layoutBox, t) : this.constraints = !1, this.elastic = A6(n), i !== this.constraints && r && this.constraints && !this.hasMutatedConstraints && xr((s) => {
|
|
10373
|
+
this.getAxisMotionValue(s) && (this.constraints[s] = u6(r.layoutBox[s], this.constraints[s]));
|
|
10374
10374
|
});
|
|
10375
10375
|
}
|
|
10376
10376
|
resolveRefConstraints() {
|
|
@@ -10382,10 +10382,10 @@ class mk {
|
|
|
10382
10382
|
const { projection: i } = this.visualElement;
|
|
10383
10383
|
if (!i || !i.layout)
|
|
10384
10384
|
return !1;
|
|
10385
|
-
const s =
|
|
10386
|
-
let l =
|
|
10385
|
+
const s = C6(r, i.root, this.visualElement.getTransformPagePoint());
|
|
10386
|
+
let l = l6(i.layout.layoutBox, s);
|
|
10387
10387
|
if (n) {
|
|
10388
|
-
const u = n(
|
|
10388
|
+
const u = n(d6(l));
|
|
10389
10389
|
this.hasMutatedConstraints = !!u, u && (l = xv(u));
|
|
10390
10390
|
}
|
|
10391
10391
|
return l;
|
|
@@ -10457,7 +10457,7 @@ class mk {
|
|
|
10457
10457
|
const u = this.getAxisMotionValue(l);
|
|
10458
10458
|
if (u) {
|
|
10459
10459
|
const A = u.get();
|
|
10460
|
-
i[l] =
|
|
10460
|
+
i[l] = c6({ min: A, max: A }, this.constraints[l]);
|
|
10461
10461
|
}
|
|
10462
10462
|
});
|
|
10463
10463
|
const { transformTemplate: s } = this.visualElement.getProps();
|
|
@@ -10471,7 +10471,7 @@ class mk {
|
|
|
10471
10471
|
addListeners() {
|
|
10472
10472
|
if (!this.visualElement.current)
|
|
10473
10473
|
return;
|
|
10474
|
-
|
|
10474
|
+
E6.set(this.visualElement, this);
|
|
10475
10475
|
const t = this.visualElement.current, n = qr(t, "pointerdown", (A) => {
|
|
10476
10476
|
const { drag: f, dragListener: g = !0 } = this.getProps();
|
|
10477
10477
|
f && g && this.start(A);
|
|
@@ -10506,13 +10506,13 @@ class mk {
|
|
|
10506
10506
|
function oc(e, t, n) {
|
|
10507
10507
|
return (t === !0 || t === e) && (n === null || n === e);
|
|
10508
10508
|
}
|
|
10509
|
-
function
|
|
10509
|
+
function I6(e, t = 10) {
|
|
10510
10510
|
let n = null;
|
|
10511
10511
|
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
|
|
10512
10512
|
}
|
|
10513
|
-
class
|
|
10513
|
+
class B6 extends Do {
|
|
10514
10514
|
constructor(t) {
|
|
10515
|
-
super(t), this.removeGroupControls = kt, this.removeListeners = kt, this.controls = new
|
|
10515
|
+
super(t), this.removeGroupControls = kt, this.removeListeners = kt, this.controls = new m6(t);
|
|
10516
10516
|
}
|
|
10517
10517
|
mount() {
|
|
10518
10518
|
const { dragControls: t } = this.node.getProps();
|
|
@@ -10525,7 +10525,7 @@ class Bk extends Do {
|
|
|
10525
10525
|
const Em = (e) => (t, n) => {
|
|
10526
10526
|
e && vt.update(() => e(t, n));
|
|
10527
10527
|
};
|
|
10528
|
-
class
|
|
10528
|
+
class v6 extends Do {
|
|
10529
10529
|
constructor() {
|
|
10530
10530
|
super(...arguments), this.removePointerDownListener = kt;
|
|
10531
10531
|
}
|
|
@@ -10553,7 +10553,7 @@ class vk extends Do {
|
|
|
10553
10553
|
this.removePointerDownListener(), this.session && this.session.end();
|
|
10554
10554
|
}
|
|
10555
10555
|
}
|
|
10556
|
-
function
|
|
10556
|
+
function y6() {
|
|
10557
10557
|
const e = Yt(yg);
|
|
10558
10558
|
if (e === null)
|
|
10559
10559
|
return [!0, null];
|
|
@@ -10587,7 +10587,7 @@ const _a = {
|
|
|
10587
10587
|
const n = mm(e, t.target.x), r = mm(e, t.target.y);
|
|
10588
10588
|
return `${n}% ${r}%`;
|
|
10589
10589
|
}
|
|
10590
|
-
},
|
|
10590
|
+
}, Q6 = {
|
|
10591
10591
|
correct: (e, { treeScale: t, projectionDelta: n }) => {
|
|
10592
10592
|
const r = e, i = Po.parse(e);
|
|
10593
10593
|
if (i.length > 5)
|
|
@@ -10598,7 +10598,7 @@ const _a = {
|
|
|
10598
10598
|
return typeof i[2 + l] == "number" && (i[2 + l] /= f), typeof i[3 + l] == "number" && (i[3 + l] /= f), s(i);
|
|
10599
10599
|
}
|
|
10600
10600
|
};
|
|
10601
|
-
class
|
|
10601
|
+
class b6 extends we.Component {
|
|
10602
10602
|
/**
|
|
10603
10603
|
* This only mounts projection nodes for components that
|
|
10604
10604
|
* need measuring, we might want to do it for all components
|
|
@@ -10606,7 +10606,7 @@ class bk extends we.Component {
|
|
|
10606
10606
|
*/
|
|
10607
10607
|
componentDidMount() {
|
|
10608
10608
|
const { visualElement: t, layoutGroup: n, switchLayoutGroup: r, layoutId: i } = this.props, { projection: s } = t;
|
|
10609
|
-
DM(
|
|
10609
|
+
DM(x6), s && (n.group && n.group.add(s), r && r.register && i && r.register(s), s.root.didUpdate(), s.addEventListener("animationComplete", () => {
|
|
10610
10610
|
this.safeToRemove();
|
|
10611
10611
|
}), s.setOptions({
|
|
10612
10612
|
...s.options,
|
|
@@ -10639,10 +10639,10 @@ class bk extends we.Component {
|
|
|
10639
10639
|
}
|
|
10640
10640
|
}
|
|
10641
10641
|
function Rv(e) {
|
|
10642
|
-
const [t, n] =
|
|
10643
|
-
return we.createElement(
|
|
10642
|
+
const [t, n] = y6(), r = Yt(bB);
|
|
10643
|
+
return we.createElement(b6, { ...e, layoutGroup: r, switchLayoutGroup: Yt(xB), isPresent: t, safeToRemove: n });
|
|
10644
10644
|
}
|
|
10645
|
-
const
|
|
10645
|
+
const x6 = {
|
|
10646
10646
|
borderRadius: {
|
|
10647
10647
|
..._a,
|
|
10648
10648
|
applyTo: [
|
|
@@ -10656,16 +10656,16 @@ const xk = {
|
|
|
10656
10656
|
borderTopRightRadius: _a,
|
|
10657
10657
|
borderBottomLeftRadius: _a,
|
|
10658
10658
|
borderBottomRightRadius: _a,
|
|
10659
|
-
boxShadow:
|
|
10660
|
-
}, Sv = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"],
|
|
10661
|
-
function
|
|
10659
|
+
boxShadow: Q6
|
|
10660
|
+
}, Sv = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], w6 = Sv.length, Im = (e) => typeof e == "string" ? parseFloat(e) : e, Bm = (e) => typeof e == "number" || De.test(e);
|
|
10661
|
+
function T6(e, t, n, r, i, s) {
|
|
10662
10662
|
i ? (e.opacity = Rt(
|
|
10663
10663
|
0,
|
|
10664
10664
|
// TODO Reinstate this if only child
|
|
10665
10665
|
n.opacity !== void 0 ? n.opacity : 1,
|
|
10666
|
-
|
|
10667
|
-
), e.opacityExit = Rt(t.opacity !== void 0 ? t.opacity : 1, 0,
|
|
10668
|
-
for (let l = 0; l <
|
|
10666
|
+
P6(r)
|
|
10667
|
+
), e.opacityExit = Rt(t.opacity !== void 0 ? t.opacity : 1, 0, R6(r))) : s && (e.opacity = Rt(t.opacity !== void 0 ? t.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
|
|
10668
|
+
for (let l = 0; l < w6; l++) {
|
|
10669
10669
|
const u = `border${Sv[l]}Radius`;
|
|
10670
10670
|
let A = vm(t, u), f = vm(n, u);
|
|
10671
10671
|
if (A === void 0 && f === void 0)
|
|
@@ -10677,7 +10677,7 @@ function Tk(e, t, n, r, i, s) {
|
|
|
10677
10677
|
function vm(e, t) {
|
|
10678
10678
|
return e[t] !== void 0 ? e[t] : e.borderRadius;
|
|
10679
10679
|
}
|
|
10680
|
-
const
|
|
10680
|
+
const P6 = Ov(0, 0.5, Mg), R6 = Ov(0.5, 0.95, kt);
|
|
10681
10681
|
function Ov(e, t, n) {
|
|
10682
10682
|
return (r) => r < e ? 0 : r > t ? 1 : n(bs(e, t, r));
|
|
10683
10683
|
}
|
|
@@ -10690,18 +10690,18 @@ function qn(e, t) {
|
|
|
10690
10690
|
function Qm(e, t, n, r, i) {
|
|
10691
10691
|
return e -= t, e = zc(e, 1 / n, r), i !== void 0 && (e = zc(e, 1 / i, r)), e;
|
|
10692
10692
|
}
|
|
10693
|
-
function
|
|
10693
|
+
function S6(e, t = 0, n = 1, r = 0.5, i, s = e, l = e) {
|
|
10694
10694
|
if (Pr.test(t) && (t = parseFloat(t), t = Rt(l.min, l.max, t / 100) - l.min), typeof t != "number")
|
|
10695
10695
|
return;
|
|
10696
10696
|
let u = Rt(s.min, s.max, r);
|
|
10697
10697
|
e === s && (u -= t), e.min = Qm(e.min, t, n, u, i), e.max = Qm(e.max, t, n, u, i);
|
|
10698
10698
|
}
|
|
10699
10699
|
function bm(e, t, [n, r, i], s, l) {
|
|
10700
|
-
|
|
10700
|
+
S6(e, t[n], t[r], t[i], t.scale, s, l);
|
|
10701
10701
|
}
|
|
10702
|
-
const
|
|
10702
|
+
const O6 = ["x", "scaleX", "originX"], D6 = ["y", "scaleY", "originY"];
|
|
10703
10703
|
function xm(e, t, n, r) {
|
|
10704
|
-
bm(e.x, t,
|
|
10704
|
+
bm(e.x, t, O6, n ? n.x : void 0, r ? r.x : void 0), bm(e.y, t, D6, n ? n.y : void 0, r ? r.y : void 0);
|
|
10705
10705
|
}
|
|
10706
10706
|
function wm(e) {
|
|
10707
10707
|
return e.translate === 0 && e.scale === 1;
|
|
@@ -10709,7 +10709,7 @@ function wm(e) {
|
|
|
10709
10709
|
function Dv(e) {
|
|
10710
10710
|
return wm(e.x) && wm(e.y);
|
|
10711
10711
|
}
|
|
10712
|
-
function
|
|
10712
|
+
function M6(e, t) {
|
|
10713
10713
|
return e.x.min === t.x.min && e.x.max === t.x.max && e.y.min === t.y.min && e.y.max === t.y.max;
|
|
10714
10714
|
}
|
|
10715
10715
|
function Mv(e, t) {
|
|
@@ -10718,7 +10718,7 @@ function Mv(e, t) {
|
|
|
10718
10718
|
function Tm(e) {
|
|
10719
10719
|
return Ln(e.x) / Ln(e.y);
|
|
10720
10720
|
}
|
|
10721
|
-
class
|
|
10721
|
+
class k6 {
|
|
10722
10722
|
constructor() {
|
|
10723
10723
|
this.members = [];
|
|
10724
10724
|
}
|
|
@@ -10782,8 +10782,8 @@ function Pm(e, t, n) {
|
|
|
10782
10782
|
const l = e.x.scale * t.x, u = e.y.scale * t.y;
|
|
10783
10783
|
return (l !== 1 || u !== 1) && (r += `scale(${l}, ${u})`), r || "none";
|
|
10784
10784
|
}
|
|
10785
|
-
const
|
|
10786
|
-
class
|
|
10785
|
+
const F6 = (e, t) => e.depth - t.depth;
|
|
10786
|
+
class L6 {
|
|
10787
10787
|
constructor() {
|
|
10788
10788
|
this.children = [], this.isDirty = !1;
|
|
10789
10789
|
}
|
|
@@ -10794,28 +10794,28 @@ class Lk {
|
|
|
10794
10794
|
Vg(this.children, t), this.isDirty = !0;
|
|
10795
10795
|
}
|
|
10796
10796
|
forEach(t) {
|
|
10797
|
-
this.isDirty && this.children.sort(
|
|
10797
|
+
this.isDirty && this.children.sort(F6), this.isDirty = !1, this.children.forEach(t);
|
|
10798
10798
|
}
|
|
10799
10799
|
}
|
|
10800
|
-
function
|
|
10800
|
+
function N6(e, t) {
|
|
10801
10801
|
const n = performance.now(), r = ({ timestamp: i }) => {
|
|
10802
10802
|
const s = i - n;
|
|
10803
10803
|
s >= t && (Zr(r), e(s - t));
|
|
10804
10804
|
};
|
|
10805
10805
|
return vt.read(r, !0), () => Zr(r);
|
|
10806
10806
|
}
|
|
10807
|
-
function
|
|
10807
|
+
function j6(e) {
|
|
10808
10808
|
window.MotionDebug && window.MotionDebug.record(e);
|
|
10809
10809
|
}
|
|
10810
|
-
function
|
|
10810
|
+
function V6(e) {
|
|
10811
10811
|
return e instanceof SVGElement && e.tagName !== "svg";
|
|
10812
10812
|
}
|
|
10813
|
-
function
|
|
10813
|
+
function H6(e, t, n) {
|
|
10814
10814
|
const r = yn(e) ? e : oa(e);
|
|
10815
10815
|
return r.start(Ng("", r, t, n)), r.animation;
|
|
10816
10816
|
}
|
|
10817
10817
|
const Rm = ["", "X", "Y", "Z"], Sm = 1e3;
|
|
10818
|
-
let
|
|
10818
|
+
let z6 = 0;
|
|
10819
10819
|
const ni = {
|
|
10820
10820
|
type: "projectionFrame",
|
|
10821
10821
|
totalNodes: 0,
|
|
@@ -10825,14 +10825,14 @@ const ni = {
|
|
|
10825
10825
|
function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
|
|
10826
10826
|
return class {
|
|
10827
10827
|
constructor(l = {}, u = t == null ? void 0 : t()) {
|
|
10828
|
-
this.id =
|
|
10828
|
+
this.id = z6++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.checkUpdateFailed = () => {
|
|
10829
10829
|
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
|
|
10830
10830
|
}, this.updateProjection = () => {
|
|
10831
|
-
ni.totalNodes = ni.resolvedTargetDeltas = ni.recalculatedProjection = 0, this.nodes.forEach(
|
|
10831
|
+
ni.totalNodes = ni.resolvedTargetDeltas = ni.recalculatedProjection = 0, this.nodes.forEach(Y6), this.nodes.forEach(J6), this.nodes.forEach($6), this.nodes.forEach(G6), j6(ni);
|
|
10832
10832
|
}, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = l, this.root = u ? u.root || u : this, this.path = u ? [...u.path, u] : [], this.parent = u, this.depth = u ? u.depth + 1 : 0;
|
|
10833
10833
|
for (let A = 0; A < this.path.length; A++)
|
|
10834
10834
|
this.path[A].shouldResetTransform = !0;
|
|
10835
|
-
this.root === this && (this.nodes = new
|
|
10835
|
+
this.root === this && (this.nodes = new L6());
|
|
10836
10836
|
}
|
|
10837
10837
|
addEventListener(l, u) {
|
|
10838
10838
|
return this.eventHandlers.has(l) || this.eventHandlers.set(l, new Hg()), this.eventHandlers.get(l).add(u);
|
|
@@ -10850,13 +10850,13 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
10850
10850
|
mount(l, u = this.root.hasTreeAnimated) {
|
|
10851
10851
|
if (this.instance)
|
|
10852
10852
|
return;
|
|
10853
|
-
this.isSVG =
|
|
10853
|
+
this.isSVG = V6(l), this.instance = l;
|
|
10854
10854
|
const { layoutId: A, layout: f, visualElement: g } = this.options;
|
|
10855
10855
|
if (g && !g.current && g.mount(l), this.root.nodes.add(this), this.parent && this.parent.children.add(this), u && (f || A) && (this.isLayoutDirty = !0), e) {
|
|
10856
10856
|
let h;
|
|
10857
10857
|
const p = () => this.root.updateBlockedByResize = !1;
|
|
10858
10858
|
e(l, () => {
|
|
10859
|
-
this.root.updateBlockedByResize = !0, h && h(), h =
|
|
10859
|
+
this.root.updateBlockedByResize = !0, h && h(), h = N6(p, 250), Ic.hasAnimatedSinceResize && (Ic.hasAnimatedSinceResize = !1, this.nodes.forEach(Dm));
|
|
10860
10860
|
});
|
|
10861
10861
|
}
|
|
10862
10862
|
A && this.root.registerSharedNode(A, this), this.options.animate !== !1 && g && (A || f) && this.addEventListener("didUpdate", ({ delta: h, hasLayoutChanged: p, hasRelativeTargetChanged: m, layout: I }) => {
|
|
@@ -10864,7 +10864,7 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
10864
10864
|
this.target = void 0, this.relativeTarget = void 0;
|
|
10865
10865
|
return;
|
|
10866
10866
|
}
|
|
10867
|
-
const B = this.options.transition || g.getDefaultTransition() ||
|
|
10867
|
+
const B = this.options.transition || g.getDefaultTransition() || nk, { onLayoutAnimationStart: y, onLayoutAnimationComplete: P } = g.getProps(), S = !this.targetLayout || !Mv(this.targetLayout, I) || m, b = !p && m;
|
|
10868
10868
|
if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || b || p && (S || !this.currentAnimation)) {
|
|
10869
10869
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(h, b);
|
|
10870
10870
|
const w = {
|
|
@@ -10898,7 +10898,7 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
10898
10898
|
}
|
|
10899
10899
|
// Note: currently only running on root node
|
|
10900
10900
|
startUpdate() {
|
|
10901
|
-
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(
|
|
10901
|
+
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(X6), this.animationId++);
|
|
10902
10902
|
}
|
|
10903
10903
|
getTransformTemplate() {
|
|
10904
10904
|
const { visualElement: l } = this.options;
|
|
@@ -10927,7 +10927,7 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
10927
10927
|
this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Om);
|
|
10928
10928
|
return;
|
|
10929
10929
|
}
|
|
10930
|
-
this.isUpdating || this.nodes.forEach(
|
|
10930
|
+
this.isUpdating || this.nodes.forEach(_6), this.isUpdating = !1, this.nodes.forEach(q6), this.nodes.forEach(W6), this.nodes.forEach(U6), this.clearAllSnapshots();
|
|
10931
10931
|
const u = performance.now();
|
|
10932
10932
|
qt.delta = To(0, 1e3 / 60, u - qt.timestamp), qt.timestamp = u, qt.isProcessing = !0, md.update.process(qt), md.preRender.process(qt), md.render.process(qt), qt.isProcessing = !1;
|
|
10933
10933
|
}
|
|
@@ -10935,7 +10935,7 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
10935
10935
|
this.updateScheduled || (this.updateScheduled = !0, queueMicrotask(() => this.update()));
|
|
10936
10936
|
}
|
|
10937
10937
|
clearAllSnapshots() {
|
|
10938
|
-
this.nodes.forEach(
|
|
10938
|
+
this.nodes.forEach(K6), this.sharedNodes.forEach(Z6);
|
|
10939
10939
|
}
|
|
10940
10940
|
scheduleUpdateProjection() {
|
|
10941
10941
|
vt.preRender(this.updateProjection, !1, !0);
|
|
@@ -10980,7 +10980,7 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
10980
10980
|
measure(l = !0) {
|
|
10981
10981
|
const u = this.measurePageBox();
|
|
10982
10982
|
let A = this.removeElementScroll(u);
|
|
10983
|
-
return l && (A = this.removeTransform(A)),
|
|
10983
|
+
return l && (A = this.removeTransform(A)), rk(A), {
|
|
10984
10984
|
animationId: this.root.animationId,
|
|
10985
10985
|
measuredBox: u,
|
|
10986
10986
|
layoutBox: A,
|
|
@@ -11066,7 +11066,7 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
11066
11066
|
m && m.layout && this.animationProgress !== 1 ? (this.relativeParent = m, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Ht(), this.relativeTargetOrigin = Ht(), ds(this.relativeTargetOrigin, this.layout.layoutBox, m.layout.layoutBox), qn(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
11067
11067
|
}
|
|
11068
11068
|
if (!(!this.relativeTarget && !this.targetDelta)) {
|
|
11069
|
-
if (this.target || (this.target = Ht(), this.targetWithTransforms = Ht()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(),
|
|
11069
|
+
if (this.target || (this.target = Ht(), this.targetWithTransforms = Ht()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), i6(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : qn(this.target, this.layout.layoutBox), Tv(this.target, this.targetDelta)) : qn(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
|
|
11070
11070
|
this.attemptToResolveRelativeTarget = !1;
|
|
11071
11071
|
const m = this.getClosestProjectingParent();
|
|
11072
11072
|
m && !!m.resumingFrom == !!this.resumingFrom && !m.options.layoutScroll && m.target && this.animationProgress !== 1 ? (this.relativeParent = m, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Ht(), this.relativeTargetOrigin = Ht(), ds(this.relativeTargetOrigin, this.target, m.target), qn(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
@@ -11093,7 +11093,7 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
11093
11093
|
return;
|
|
11094
11094
|
qn(this.layoutCorrected, this.layout.layoutBox);
|
|
11095
11095
|
const p = this.treeScale.x, m = this.treeScale.y;
|
|
11096
|
-
|
|
11096
|
+
g6(this.layoutCorrected, this.treeScale, this.path, A), u.layout && !u.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (u.target = u.layout.layoutBox);
|
|
11097
11097
|
const { target: I } = u;
|
|
11098
11098
|
if (!I) {
|
|
11099
11099
|
this.projectionTransform && (this.projectionDelta = Ki(), this.projectionTransform = "none", this.scheduleRender());
|
|
@@ -11119,17 +11119,17 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
11119
11119
|
setAnimationOrigin(l, u = !1) {
|
|
11120
11120
|
const A = this.snapshot, f = A ? A.latestValues : {}, g = { ...this.latestValues }, h = Ki();
|
|
11121
11121
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !u;
|
|
11122
|
-
const p = Ht(), m = A ? A.source : void 0, I = this.layout ? this.layout.source : void 0, B = m !== I, y = this.getStack(), P = !y || y.members.length <= 1, S = !!(B && !P && this.options.crossfade === !0 && !this.path.some(
|
|
11122
|
+
const p = Ht(), m = A ? A.source : void 0, I = this.layout ? this.layout.source : void 0, B = m !== I, y = this.getStack(), P = !y || y.members.length <= 1, S = !!(B && !P && this.options.crossfade === !0 && !this.path.some(tk));
|
|
11123
11123
|
this.animationProgress = 0;
|
|
11124
11124
|
let b;
|
|
11125
11125
|
this.mixTargetDelta = (w) => {
|
|
11126
11126
|
const T = w / 1e3;
|
|
11127
|
-
Mm(h.x, l.x, T), Mm(h.y, l.y, T), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ds(p, this.layout.layoutBox, this.relativeParent.layout.layoutBox),
|
|
11127
|
+
Mm(h.x, l.x, T), Mm(h.y, l.y, T), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ds(p, this.layout.layoutBox, this.relativeParent.layout.layoutBox), ek(this.relativeTarget, this.relativeTargetOrigin, p, T), b && M6(this.relativeTarget, b) && (this.isProjectionDirty = !1), b || (b = Ht()), qn(b, this.relativeTarget)), B && (this.animationValues = g, T6(g, f, this.latestValues, T, S, P)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = T;
|
|
11128
11128
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
11129
11129
|
}
|
|
11130
11130
|
startAnimation(l) {
|
|
11131
11131
|
this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (Zr(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = vt.update(() => {
|
|
11132
|
-
Ic.hasAnimatedSinceResize = !0, this.currentAnimation =
|
|
11132
|
+
Ic.hasAnimatedSinceResize = !0, this.currentAnimation = H6(0, Sm, {
|
|
11133
11133
|
...l,
|
|
11134
11134
|
onUpdate: (u) => {
|
|
11135
11135
|
this.mixTargetDelta(u), l.onUpdate && l.onUpdate(u);
|
|
@@ -11163,7 +11163,7 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
11163
11163
|
}
|
|
11164
11164
|
}
|
|
11165
11165
|
registerSharedNode(l, u) {
|
|
11166
|
-
this.sharedNodes.has(l) || this.sharedNodes.set(l, new
|
|
11166
|
+
this.sharedNodes.has(l) || this.sharedNodes.set(l, new k6()), this.sharedNodes.get(l).add(u);
|
|
11167
11167
|
const f = u.options.initialPromotionConfig;
|
|
11168
11168
|
u.promote({
|
|
11169
11169
|
transition: f ? f.transition : void 0,
|
|
@@ -11261,10 +11261,10 @@ function kv({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
11261
11261
|
}
|
|
11262
11262
|
};
|
|
11263
11263
|
}
|
|
11264
|
-
function
|
|
11264
|
+
function W6(e) {
|
|
11265
11265
|
e.updateLayout();
|
|
11266
11266
|
}
|
|
11267
|
-
function
|
|
11267
|
+
function U6(e) {
|
|
11268
11268
|
var t;
|
|
11269
11269
|
const n = ((t = e.resumeFrom) === null || t === void 0 ? void 0 : t.snapshot) || e.snapshot;
|
|
11270
11270
|
if (e.isLead() && e.layout && n && e.hasListeners("didUpdate")) {
|
|
@@ -11308,38 +11308,38 @@ function Uk(e) {
|
|
|
11308
11308
|
}
|
|
11309
11309
|
e.options.transition = void 0;
|
|
11310
11310
|
}
|
|
11311
|
-
function
|
|
11311
|
+
function Y6(e) {
|
|
11312
11312
|
ni.totalNodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty || (e.isSharedProjectionDirty = !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty)), e.isTransformDirty || (e.isTransformDirty = e.parent.isTransformDirty));
|
|
11313
11313
|
}
|
|
11314
|
-
function
|
|
11314
|
+
function G6(e) {
|
|
11315
11315
|
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
|
|
11316
11316
|
}
|
|
11317
|
-
function
|
|
11317
|
+
function K6(e) {
|
|
11318
11318
|
e.clearSnapshot();
|
|
11319
11319
|
}
|
|
11320
11320
|
function Om(e) {
|
|
11321
11321
|
e.clearMeasurements();
|
|
11322
11322
|
}
|
|
11323
|
-
function
|
|
11323
|
+
function _6(e) {
|
|
11324
11324
|
e.isLayoutDirty = !1;
|
|
11325
11325
|
}
|
|
11326
|
-
function
|
|
11326
|
+
function q6(e) {
|
|
11327
11327
|
const { visualElement: t } = e.options;
|
|
11328
11328
|
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
|
|
11329
11329
|
}
|
|
11330
11330
|
function Dm(e) {
|
|
11331
11331
|
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
|
|
11332
11332
|
}
|
|
11333
|
-
function
|
|
11333
|
+
function J6(e) {
|
|
11334
11334
|
e.resolveTargetDelta();
|
|
11335
11335
|
}
|
|
11336
|
-
function $
|
|
11336
|
+
function $6(e) {
|
|
11337
11337
|
e.calcProjection();
|
|
11338
11338
|
}
|
|
11339
|
-
function
|
|
11339
|
+
function X6(e) {
|
|
11340
11340
|
e.resetRotation();
|
|
11341
11341
|
}
|
|
11342
|
-
function
|
|
11342
|
+
function Z6(e) {
|
|
11343
11343
|
e.removeLeadSnapshot();
|
|
11344
11344
|
}
|
|
11345
11345
|
function Mm(e, t, n) {
|
|
@@ -11348,26 +11348,26 @@ function Mm(e, t, n) {
|
|
|
11348
11348
|
function km(e, t, n, r) {
|
|
11349
11349
|
e.min = Rt(t.min, n.min, r), e.max = Rt(t.max, n.max, r);
|
|
11350
11350
|
}
|
|
11351
|
-
function
|
|
11351
|
+
function ek(e, t, n, r) {
|
|
11352
11352
|
km(e.x, t.x, n.x, r), km(e.y, t.y, n.y, r);
|
|
11353
11353
|
}
|
|
11354
|
-
function
|
|
11354
|
+
function tk(e) {
|
|
11355
11355
|
return e.animationValues && e.animationValues.opacityExit !== void 0;
|
|
11356
11356
|
}
|
|
11357
|
-
const
|
|
11357
|
+
const nk = {
|
|
11358
11358
|
duration: 0.45,
|
|
11359
11359
|
ease: [0.4, 0, 0.1, 1]
|
|
11360
11360
|
}, Fm = (e) => typeof navigator < "u" && navigator.userAgent.toLowerCase().includes(e), Lm = Fm("applewebkit/") && !Fm("chrome/") ? Math.round : kt;
|
|
11361
11361
|
function Nm(e) {
|
|
11362
11362
|
e.min = Lm(e.min), e.max = Lm(e.max);
|
|
11363
11363
|
}
|
|
11364
|
-
function
|
|
11364
|
+
function rk(e) {
|
|
11365
11365
|
Nm(e.x), Nm(e.y);
|
|
11366
11366
|
}
|
|
11367
11367
|
function Fv(e, t, n) {
|
|
11368
11368
|
return e === "position" || e === "preserve-aspect" && !gf(Tm(t), Tm(n), 0.2);
|
|
11369
11369
|
}
|
|
11370
|
-
const
|
|
11370
|
+
const ok = kv({
|
|
11371
11371
|
attachResizeListener: (e, t) => _r(e, "resize", t),
|
|
11372
11372
|
measureScroll: () => ({
|
|
11373
11373
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
@@ -11383,7 +11383,7 @@ const o6 = kv({
|
|
|
11383
11383
|
}),
|
|
11384
11384
|
defaultParent: () => {
|
|
11385
11385
|
if (!Rd.current) {
|
|
11386
|
-
const e = new
|
|
11386
|
+
const e = new ok({});
|
|
11387
11387
|
e.mount(window), e.setOptions({ layoutScroll: !0 }), Rd.current = e;
|
|
11388
11388
|
}
|
|
11389
11389
|
return Rd.current;
|
|
@@ -11392,27 +11392,27 @@ const o6 = kv({
|
|
|
11392
11392
|
e.style.transform = t !== void 0 ? t : "none";
|
|
11393
11393
|
},
|
|
11394
11394
|
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
|
|
11395
|
-
}),
|
|
11395
|
+
}), ik = {
|
|
11396
11396
|
pan: {
|
|
11397
|
-
Feature:
|
|
11397
|
+
Feature: v6
|
|
11398
11398
|
},
|
|
11399
11399
|
drag: {
|
|
11400
|
-
Feature:
|
|
11400
|
+
Feature: B6,
|
|
11401
11401
|
ProjectionNode: Lv,
|
|
11402
11402
|
MeasureLayout: Rv
|
|
11403
11403
|
}
|
|
11404
|
-
},
|
|
11405
|
-
function
|
|
11406
|
-
const t =
|
|
11404
|
+
}, ak = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
|
|
11405
|
+
function sk(e) {
|
|
11406
|
+
const t = ak.exec(e);
|
|
11407
11407
|
if (!t)
|
|
11408
11408
|
return [,];
|
|
11409
11409
|
const [, n, r] = t;
|
|
11410
11410
|
return [n, r];
|
|
11411
11411
|
}
|
|
11412
|
-
const
|
|
11412
|
+
const lk = 4;
|
|
11413
11413
|
function Ef(e, t, n = 1) {
|
|
11414
|
-
Or(n <=
|
|
11415
|
-
const [r, i] =
|
|
11414
|
+
Or(n <= lk, `Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);
|
|
11415
|
+
const [r, i] = sk(e);
|
|
11416
11416
|
if (!r)
|
|
11417
11417
|
return;
|
|
11418
11418
|
const s = window.getComputedStyle(t).getPropertyValue(r);
|
|
@@ -11422,7 +11422,7 @@ function Ef(e, t, n = 1) {
|
|
|
11422
11422
|
} else
|
|
11423
11423
|
return sf(i) ? Ef(i, t, n + 1) : i;
|
|
11424
11424
|
}
|
|
11425
|
-
function
|
|
11425
|
+
function ck(e, { ...t }, n) {
|
|
11426
11426
|
const r = e.current;
|
|
11427
11427
|
if (!(r instanceof Element))
|
|
11428
11428
|
return { target: t, transitionEnd: n };
|
|
@@ -11442,7 +11442,7 @@ function c6(e, { ...t }, n) {
|
|
|
11442
11442
|
}
|
|
11443
11443
|
return { target: t, transitionEnd: n };
|
|
11444
11444
|
}
|
|
11445
|
-
const
|
|
11445
|
+
const uk = /* @__PURE__ */ new Set([
|
|
11446
11446
|
"width",
|
|
11447
11447
|
"height",
|
|
11448
11448
|
"top",
|
|
@@ -11453,7 +11453,7 @@ const u6 = /* @__PURE__ */ new Set([
|
|
|
11453
11453
|
"y",
|
|
11454
11454
|
"translateX",
|
|
11455
11455
|
"translateY"
|
|
11456
|
-
]), Nv = (e) =>
|
|
11456
|
+
]), Nv = (e) => uk.has(e), Ak = (e) => Object.keys(e).some(Nv), ic = (e) => e === hi || e === De, jm = (e, t) => parseFloat(e.split(", ")[t]), Vm = (e, t) => (n, { transform: r }) => {
|
|
11457
11457
|
if (r === "none" || !r)
|
|
11458
11458
|
return 0;
|
|
11459
11459
|
const i = r.match(/^matrix3d\((.+)\)$/);
|
|
@@ -11463,10 +11463,10 @@ const u6 = /* @__PURE__ */ new Set([
|
|
|
11463
11463
|
const s = r.match(/^matrix\((.+)\)$/);
|
|
11464
11464
|
return s ? jm(s[1], e) : 0;
|
|
11465
11465
|
}
|
|
11466
|
-
},
|
|
11467
|
-
function
|
|
11466
|
+
}, dk = /* @__PURE__ */ new Set(["x", "y", "z"]), fk = Hs.filter((e) => !dk.has(e));
|
|
11467
|
+
function gk(e) {
|
|
11468
11468
|
const t = [];
|
|
11469
|
-
return
|
|
11469
|
+
return fk.forEach((n) => {
|
|
11470
11470
|
const r = e.getValue(n);
|
|
11471
11471
|
r !== void 0 && (t.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0));
|
|
11472
11472
|
}), t.length && e.render(), t;
|
|
@@ -11485,7 +11485,7 @@ const ia = {
|
|
|
11485
11485
|
};
|
|
11486
11486
|
ia.translateX = ia.x;
|
|
11487
11487
|
ia.translateY = ia.y;
|
|
11488
|
-
const
|
|
11488
|
+
const pk = (e, t, n) => {
|
|
11489
11489
|
const r = t.measureViewportBox(), i = t.current, s = getComputedStyle(i), { display: l } = s, u = {};
|
|
11490
11490
|
l === "none" && t.setStaticValue("display", e.display || "block"), n.forEach((f) => {
|
|
11491
11491
|
u[f] = ia[f](r, s);
|
|
@@ -11495,7 +11495,7 @@ const p6 = (e, t, n) => {
|
|
|
11495
11495
|
const g = t.getValue(f);
|
|
11496
11496
|
g && g.jump(u[f]), e[f] = ia[f](A, s);
|
|
11497
11497
|
}), e;
|
|
11498
|
-
},
|
|
11498
|
+
}, hk = (e, t, n = {}, r = {}) => {
|
|
11499
11499
|
t = { ...t }, r = { ...r };
|
|
11500
11500
|
const i = Object.keys(t).filter(Nv);
|
|
11501
11501
|
let s = [], l = !1;
|
|
@@ -11519,23 +11519,23 @@ const p6 = (e, t, n) => {
|
|
|
11519
11519
|
const I = f.get();
|
|
11520
11520
|
typeof I == "string" && f.set(parseFloat(I)), typeof p == "string" ? t[A] = parseFloat(p) : Array.isArray(p) && m === De && (t[A] = p.map(parseFloat));
|
|
11521
11521
|
} else
|
|
11522
|
-
h != null && h.transform && (m != null && m.transform) && (g === 0 || p === 0) ? g === 0 ? f.set(m.transform(g)) : t[A] = h.transform(p) : (l || (s =
|
|
11522
|
+
h != null && h.transform && (m != null && m.transform) && (g === 0 || p === 0) ? g === 0 ? f.set(m.transform(g)) : t[A] = h.transform(p) : (l || (s = gk(e), l = !0), u.push(A), r[A] = r[A] !== void 0 ? r[A] : t[A], f.jump(p));
|
|
11523
11523
|
}), u.length) {
|
|
11524
|
-
const A = u.indexOf("height") >= 0 ? window.pageYOffset : null, f =
|
|
11524
|
+
const A = u.indexOf("height") >= 0 ? window.pageYOffset : null, f = pk(t, e, u);
|
|
11525
11525
|
return s.length && s.forEach(([g, h]) => {
|
|
11526
11526
|
e.getValue(g).set(h);
|
|
11527
11527
|
}), e.render(), vu && A !== null && window.scrollTo({ top: A }), { target: f, transitionEnd: r };
|
|
11528
11528
|
} else
|
|
11529
11529
|
return { target: t, transitionEnd: r };
|
|
11530
11530
|
};
|
|
11531
|
-
function
|
|
11532
|
-
return
|
|
11531
|
+
function Ck(e, t, n, r) {
|
|
11532
|
+
return Ak(t) ? hk(e, t, n, r) : { target: t, transitionEnd: r };
|
|
11533
11533
|
}
|
|
11534
|
-
const
|
|
11535
|
-
const i =
|
|
11536
|
-
return t = i.target, r = i.transitionEnd,
|
|
11534
|
+
const Ek = (e, t, n, r) => {
|
|
11535
|
+
const i = ck(e, t, r);
|
|
11536
|
+
return t = i.target, r = i.transitionEnd, Ck(e, t, n, r);
|
|
11537
11537
|
}, mf = { current: null }, jv = { current: !1 };
|
|
11538
|
-
function
|
|
11538
|
+
function mk() {
|
|
11539
11539
|
if (jv.current = !0, !!vu)
|
|
11540
11540
|
if (window.matchMedia) {
|
|
11541
11541
|
const e = window.matchMedia("(prefers-reduced-motion)"), t = () => mf.current = e.matches;
|
|
@@ -11543,7 +11543,7 @@ function m6() {
|
|
|
11543
11543
|
} else
|
|
11544
11544
|
mf.current = !1;
|
|
11545
11545
|
}
|
|
11546
|
-
function
|
|
11546
|
+
function Ik(e, t, n) {
|
|
11547
11547
|
const { willChange: r } = t;
|
|
11548
11548
|
for (const i in t) {
|
|
11549
11549
|
const s = t[i], l = n[i];
|
|
@@ -11564,7 +11564,7 @@ function I6(e, t, n) {
|
|
|
11564
11564
|
t[i] === void 0 && e.removeValue(i);
|
|
11565
11565
|
return t;
|
|
11566
11566
|
}
|
|
11567
|
-
const Hm = /* @__PURE__ */ new WeakMap(), Vv = Object.keys(Qs),
|
|
11567
|
+
const Hm = /* @__PURE__ */ new WeakMap(), Vv = Object.keys(Qs), Bk = Vv.length, zm = [
|
|
11568
11568
|
"AnimationStart",
|
|
11569
11569
|
"AnimationComplete",
|
|
11570
11570
|
"Update",
|
|
@@ -11572,8 +11572,8 @@ const Hm = /* @__PURE__ */ new WeakMap(), Vv = Object.keys(Qs), B6 = Vv.length,
|
|
|
11572
11572
|
"LayoutMeasure",
|
|
11573
11573
|
"LayoutAnimationStart",
|
|
11574
11574
|
"LayoutAnimationComplete"
|
|
11575
|
-
],
|
|
11576
|
-
class
|
|
11575
|
+
], vk = bg.length;
|
|
11576
|
+
class yk {
|
|
11577
11577
|
constructor({ parent: t, props: n, presenceContext: r, reducedMotionConfig: i, visualState: s }, l = {}) {
|
|
11578
11578
|
this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
|
|
11579
11579
|
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
|
|
@@ -11597,7 +11597,7 @@ class y6 {
|
|
|
11597
11597
|
return {};
|
|
11598
11598
|
}
|
|
11599
11599
|
mount(t) {
|
|
11600
|
-
this.current = t, Hm.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), jv.current ||
|
|
11600
|
+
this.current = t, Hm.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), jv.current || mk(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : mf.current, process.env.NODE_ENV !== "production" && zg(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
|
|
11601
11601
|
}
|
|
11602
11602
|
unmount() {
|
|
11603
11603
|
Hm.delete(this.current), this.projection && this.projection.unmount(), Zr(this.notifyUpdate), Zr(this.render), this.valueSubscriptions.forEach((t) => t()), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
|
|
@@ -11624,7 +11624,7 @@ class y6 {
|
|
|
11624
11624
|
const A = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
|
|
11625
11625
|
n.ignoreStrict ? Us(!1, A) : Or(!1, A);
|
|
11626
11626
|
}
|
|
11627
|
-
for (let A = 0; A <
|
|
11627
|
+
for (let A = 0; A < Bk; A++) {
|
|
11628
11628
|
const f = Vv[A], { isEnabled: g, Feature: h, ProjectionNode: p, MeasureLayout: m } = Qs[f];
|
|
11629
11629
|
p && (l = p), g(n) && (!this.features[f] && h && (this.features[f] = new h(this)), m && (u = m));
|
|
11630
11630
|
}
|
|
@@ -11697,7 +11697,7 @@ class y6 {
|
|
|
11697
11697
|
const s = t["on" + i];
|
|
11698
11698
|
s && (this.propEventSubscriptions[i] = this.on(i, s));
|
|
11699
11699
|
}
|
|
11700
|
-
this.prevMotionValues =
|
|
11700
|
+
this.prevMotionValues = Ik(this, this.scrapeMotionValuesFromProps(t, this.prevProps), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
|
|
11701
11701
|
}
|
|
11702
11702
|
getProps() {
|
|
11703
11703
|
return this.props;
|
|
@@ -11728,7 +11728,7 @@ class y6 {
|
|
|
11728
11728
|
return this.props.initial !== void 0 && (r.initial = this.props.initial), r;
|
|
11729
11729
|
}
|
|
11730
11730
|
const n = {};
|
|
11731
|
-
for (let r = 0; r <
|
|
11731
|
+
for (let r = 0; r < vk; r++) {
|
|
11732
11732
|
const i = bg[r], s = this.props[i];
|
|
11733
11733
|
(ys(s) || s === !1) && (n[i] = s);
|
|
11734
11734
|
}
|
|
@@ -11803,7 +11803,7 @@ class y6 {
|
|
|
11803
11803
|
this.events[t] && this.events[t].notify(...n);
|
|
11804
11804
|
}
|
|
11805
11805
|
}
|
|
11806
|
-
class Hv extends
|
|
11806
|
+
class Hv extends yk {
|
|
11807
11807
|
sortInstanceNodePosition(t, n) {
|
|
11808
11808
|
return t.compareDocumentPosition(n) & 2 ? 1 : -1;
|
|
11809
11809
|
}
|
|
@@ -11817,7 +11817,7 @@ class Hv extends y6 {
|
|
|
11817
11817
|
let l = H8(r, t || {}, this);
|
|
11818
11818
|
if (i && (n && (n = i(n)), r && (r = i(r)), l && (l = i(l))), s) {
|
|
11819
11819
|
j8(this, r, l);
|
|
11820
|
-
const u =
|
|
11820
|
+
const u = Ek(this, r, l, n);
|
|
11821
11821
|
n = u.transitionEnd, r = u.target;
|
|
11822
11822
|
}
|
|
11823
11823
|
return {
|
|
@@ -11827,16 +11827,16 @@ class Hv extends y6 {
|
|
|
11827
11827
|
};
|
|
11828
11828
|
}
|
|
11829
11829
|
}
|
|
11830
|
-
function
|
|
11830
|
+
function Qk(e) {
|
|
11831
11831
|
return window.getComputedStyle(e);
|
|
11832
11832
|
}
|
|
11833
|
-
class
|
|
11833
|
+
class bk extends Hv {
|
|
11834
11834
|
readValueFromInstance(t, n) {
|
|
11835
11835
|
if (pi.has(n)) {
|
|
11836
11836
|
const r = Lg(n);
|
|
11837
11837
|
return r && r.default || 0;
|
|
11838
11838
|
} else {
|
|
11839
|
-
const r =
|
|
11839
|
+
const r = Qk(t), i = (PB(n) ? r.getPropertyValue(n) : r[n]) || 0;
|
|
11840
11840
|
return typeof i == "string" ? i.trim() : i;
|
|
11841
11841
|
}
|
|
11842
11842
|
}
|
|
@@ -11860,7 +11860,7 @@ class b6 extends Hv {
|
|
|
11860
11860
|
kB(t, n, r, i);
|
|
11861
11861
|
}
|
|
11862
11862
|
}
|
|
11863
|
-
class
|
|
11863
|
+
class xk extends Hv {
|
|
11864
11864
|
constructor() {
|
|
11865
11865
|
super(...arguments), this.isSVGTag = !1;
|
|
11866
11866
|
}
|
|
@@ -11890,24 +11890,24 @@ class x6 extends Hv {
|
|
|
11890
11890
|
this.isSVGTag = Rg(t.tagName), super.mount(t);
|
|
11891
11891
|
}
|
|
11892
11892
|
}
|
|
11893
|
-
const
|
|
11893
|
+
const wk = (e, t) => xg(e) ? new xk(t, { enableHardwareAcceleration: !1 }) : new bk(t, { enableHardwareAcceleration: !0 }), Tk = {
|
|
11894
11894
|
layout: {
|
|
11895
11895
|
ProjectionNode: Lv,
|
|
11896
11896
|
MeasureLayout: Rv
|
|
11897
11897
|
}
|
|
11898
|
-
},
|
|
11899
|
-
...
|
|
11898
|
+
}, Pk = {
|
|
11899
|
+
...t6,
|
|
11900
11900
|
...y5,
|
|
11901
|
-
...
|
|
11902
|
-
...
|
|
11903
|
-
}, ac = /* @__PURE__ */ SM((e, t) => u5(e, t,
|
|
11901
|
+
...ik,
|
|
11902
|
+
...Tk
|
|
11903
|
+
}, ac = /* @__PURE__ */ SM((e, t) => u5(e, t, Pk, wk)), Rk = (e, t, n) => {
|
|
11904
11904
|
const r = t - e;
|
|
11905
11905
|
return ((n - e) % r + r) % r + e;
|
|
11906
11906
|
};
|
|
11907
11907
|
function Wm(...e) {
|
|
11908
11908
|
const t = $r(0), [n, r] = Ze(e[t.current]), i = qe(
|
|
11909
11909
|
(s) => {
|
|
11910
|
-
t.current = typeof s != "number" ?
|
|
11910
|
+
t.current = typeof s != "number" ? Rk(0, e.length, t.current + 1) : s, r(e[t.current]);
|
|
11911
11911
|
},
|
|
11912
11912
|
// The array will change on each call, but by putting items.length at
|
|
11913
11913
|
// the front of this array, we guarantee the dependency comparison will match up
|
|
@@ -11916,7 +11916,7 @@ function Wm(...e) {
|
|
|
11916
11916
|
);
|
|
11917
11917
|
return [n, i];
|
|
11918
11918
|
}
|
|
11919
|
-
function
|
|
11919
|
+
function Sk({
|
|
11920
11920
|
children: e,
|
|
11921
11921
|
type: t = "scale",
|
|
11922
11922
|
direction: n = "right",
|
|
@@ -11964,18 +11964,18 @@ function S6({
|
|
|
11964
11964
|
}), /* @__PURE__ */ C(ac.div, { whileHover: { scale: i == null ? void 0 : i.hover }, whileTap: { scale: i == null ? void 0 : i.tap }, children: e });
|
|
11965
11965
|
}
|
|
11966
11966
|
}
|
|
11967
|
-
|
|
11967
|
+
Sk.propTypes = {
|
|
11968
11968
|
children: c.node,
|
|
11969
11969
|
offset: c.number,
|
|
11970
11970
|
type: c.oneOf(["slide", "scale", "rotate"]),
|
|
11971
11971
|
direction: c.oneOf(["up", "down", "left", "right"]),
|
|
11972
11972
|
scale: c.oneOfType([c.number, c.object])
|
|
11973
11973
|
};
|
|
11974
|
-
function
|
|
11974
|
+
function Ok(e) {
|
|
11975
11975
|
return Gt("MuiSvgIcon", e);
|
|
11976
11976
|
}
|
|
11977
11977
|
Zt("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
11978
|
-
const
|
|
11978
|
+
const Dk = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], Mk = (e) => {
|
|
11979
11979
|
const {
|
|
11980
11980
|
color: t,
|
|
11981
11981
|
fontSize: n,
|
|
@@ -11983,8 +11983,8 @@ const D6 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
11983
11983
|
} = e, i = {
|
|
11984
11984
|
root: ["root", t !== "inherit" && `color${Te(t)}`, `fontSize${Te(n)}`]
|
|
11985
11985
|
};
|
|
11986
|
-
return bn(i,
|
|
11987
|
-
},
|
|
11986
|
+
return bn(i, Ok, r);
|
|
11987
|
+
}, kk = se("svg", {
|
|
11988
11988
|
name: "MuiSvgIcon",
|
|
11989
11989
|
slot: "Root",
|
|
11990
11990
|
overridesResolver: (e, t) => {
|
|
@@ -12037,7 +12037,7 @@ const D6 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
12037
12037
|
inheritViewBox: g = !1,
|
|
12038
12038
|
titleAccess: h,
|
|
12039
12039
|
viewBox: p = "0 0 24 24"
|
|
12040
|
-
} = r, m = Ke(r,
|
|
12040
|
+
} = r, m = Ke(r, Dk), I = /* @__PURE__ */ F.isValidElement(i) && i.type === "svg", B = V({}, r, {
|
|
12041
12041
|
color: l,
|
|
12042
12042
|
component: u,
|
|
12043
12043
|
fontSize: A,
|
|
@@ -12047,8 +12047,8 @@ const D6 = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
12047
12047
|
hasSvgAsChild: I
|
|
12048
12048
|
}), y = {};
|
|
12049
12049
|
g || (y.viewBox = p);
|
|
12050
|
-
const P =
|
|
12051
|
-
return /* @__PURE__ */ Z(
|
|
12050
|
+
const P = Mk(B);
|
|
12051
|
+
return /* @__PURE__ */ Z(kk, V({
|
|
12052
12052
|
as: u,
|
|
12053
12053
|
className: Xe(P.root, s),
|
|
12054
12054
|
focusable: "false",
|
|
@@ -12148,14 +12148,14 @@ function Ug(e, t) {
|
|
|
12148
12148
|
}
|
|
12149
12149
|
return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = Um.muiName, /* @__PURE__ */ F.memo(/* @__PURE__ */ F.forwardRef(n));
|
|
12150
12150
|
}
|
|
12151
|
-
const
|
|
12151
|
+
const Fk = Ug(/* @__PURE__ */ C("path", {
|
|
12152
12152
|
d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
|
|
12153
12153
|
}), "Person");
|
|
12154
|
-
function
|
|
12154
|
+
function Lk(e) {
|
|
12155
12155
|
return Gt("MuiAvatar", e);
|
|
12156
12156
|
}
|
|
12157
12157
|
Zt("MuiAvatar", ["root", "colorDefault", "circular", "rounded", "square", "img", "fallback"]);
|
|
12158
|
-
const
|
|
12158
|
+
const Nk = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"], jk = (e) => {
|
|
12159
12159
|
const {
|
|
12160
12160
|
classes: t,
|
|
12161
12161
|
variant: n,
|
|
@@ -12165,8 +12165,8 @@ const N6 = ["alt", "children", "className", "component", "imgProps", "sizes", "s
|
|
|
12165
12165
|
root: ["root", n, r && "colorDefault"],
|
|
12166
12166
|
img: ["img"],
|
|
12167
12167
|
fallback: ["fallback"]
|
|
12168
|
-
},
|
|
12169
|
-
},
|
|
12168
|
+
}, Lk, t);
|
|
12169
|
+
}, Vk = se("div", {
|
|
12170
12170
|
name: "MuiAvatar",
|
|
12171
12171
|
slot: "Root",
|
|
12172
12172
|
overridesResolver: (e, t) => {
|
|
@@ -12202,7 +12202,7 @@ const N6 = ["alt", "children", "className", "component", "imgProps", "sizes", "s
|
|
|
12202
12202
|
backgroundColor: e.vars.palette.Avatar.defaultBg
|
|
12203
12203
|
} : {
|
|
12204
12204
|
backgroundColor: e.palette.mode === "light" ? e.palette.grey[400] : e.palette.grey[600]
|
|
12205
|
-
}))),
|
|
12205
|
+
}))), Hk = se("img", {
|
|
12206
12206
|
name: "MuiAvatar",
|
|
12207
12207
|
slot: "Img",
|
|
12208
12208
|
overridesResolver: (e, t) => t.img
|
|
@@ -12216,7 +12216,7 @@ const N6 = ["alt", "children", "className", "component", "imgProps", "sizes", "s
|
|
|
12216
12216
|
color: "transparent",
|
|
12217
12217
|
// Hide the image broken icon, only works on Chrome.
|
|
12218
12218
|
textIndent: 1e4
|
|
12219
|
-
}),
|
|
12219
|
+
}), zk = se(Fk, {
|
|
12220
12220
|
name: "MuiAvatar",
|
|
12221
12221
|
slot: "Fallback",
|
|
12222
12222
|
overridesResolver: (e, t) => t.fallback
|
|
@@ -12224,7 +12224,7 @@ const N6 = ["alt", "children", "className", "component", "imgProps", "sizes", "s
|
|
|
12224
12224
|
width: "75%",
|
|
12225
12225
|
height: "75%"
|
|
12226
12226
|
});
|
|
12227
|
-
function
|
|
12227
|
+
function Wk({
|
|
12228
12228
|
crossOrigin: e,
|
|
12229
12229
|
referrerPolicy: t,
|
|
12230
12230
|
src: n,
|
|
@@ -12260,27 +12260,27 @@ const zv = /* @__PURE__ */ F.forwardRef(function(t, n) {
|
|
|
12260
12260
|
src: g,
|
|
12261
12261
|
srcSet: h,
|
|
12262
12262
|
variant: p = "circular"
|
|
12263
|
-
} = r, m = Ke(r,
|
|
12263
|
+
} = r, m = Ke(r, Nk);
|
|
12264
12264
|
let I = null;
|
|
12265
|
-
const B =
|
|
12265
|
+
const B = Wk(V({}, A, {
|
|
12266
12266
|
src: g,
|
|
12267
12267
|
srcSet: h
|
|
12268
12268
|
})), y = g || h, P = y && B !== "error", S = V({}, r, {
|
|
12269
12269
|
colorDefault: !P,
|
|
12270
12270
|
component: u,
|
|
12271
12271
|
variant: p
|
|
12272
|
-
}), b =
|
|
12273
|
-
return P ? I = /* @__PURE__ */ C(
|
|
12272
|
+
}), b = jk(S);
|
|
12273
|
+
return P ? I = /* @__PURE__ */ C(Hk, V({
|
|
12274
12274
|
alt: i,
|
|
12275
12275
|
srcSet: h,
|
|
12276
12276
|
src: g,
|
|
12277
12277
|
sizes: f,
|
|
12278
12278
|
ownerState: S,
|
|
12279
12279
|
className: b.img
|
|
12280
|
-
}, A)) : s != null ? I = s : y && i ? I = i[0] : I = /* @__PURE__ */ C(
|
|
12280
|
+
}, A)) : s != null ? I = s : y && i ? I = i[0] : I = /* @__PURE__ */ C(zk, {
|
|
12281
12281
|
ownerState: S,
|
|
12282
12282
|
className: b.fallback
|
|
12283
|
-
}), /* @__PURE__ */ C(
|
|
12283
|
+
}), /* @__PURE__ */ C(Vk, V({
|
|
12284
12284
|
as: u,
|
|
12285
12285
|
ownerState: S,
|
|
12286
12286
|
className: Xe(b.root, l),
|
|
@@ -12345,7 +12345,7 @@ process.env.NODE_ENV !== "production" && (zv.propTypes = {
|
|
|
12345
12345
|
*/
|
|
12346
12346
|
variant: c.oneOfType([c.oneOf(["circular", "rounded", "square"]), c.string])
|
|
12347
12347
|
});
|
|
12348
|
-
const
|
|
12348
|
+
const Uk = zv, ln = (e, t) => {
|
|
12349
12349
|
switch (t) {
|
|
12350
12350
|
case "secondary":
|
|
12351
12351
|
return e.palette.secondary;
|
|
@@ -12361,7 +12361,7 @@ const U6 = zv, ln = (e, t) => {
|
|
|
12361
12361
|
return e.palette.primary;
|
|
12362
12362
|
}
|
|
12363
12363
|
};
|
|
12364
|
-
function
|
|
12364
|
+
function Yk({ theme: e, color: t, type: n }) {
|
|
12365
12365
|
const r = ln(e, t), { lighter: i, light: s, main: l, contrastText: u } = r;
|
|
12366
12366
|
switch (n) {
|
|
12367
12367
|
case "filled":
|
|
@@ -12390,7 +12390,7 @@ function Y6({ theme: e, color: t, type: n }) {
|
|
|
12390
12390
|
};
|
|
12391
12391
|
}
|
|
12392
12392
|
}
|
|
12393
|
-
function
|
|
12393
|
+
function Gk(e) {
|
|
12394
12394
|
switch (e) {
|
|
12395
12395
|
case "badge":
|
|
12396
12396
|
return {
|
|
@@ -12432,18 +12432,18 @@ function G6(e) {
|
|
|
12432
12432
|
};
|
|
12433
12433
|
}
|
|
12434
12434
|
}
|
|
12435
|
-
const
|
|
12435
|
+
const Kk = se(Uk, {
|
|
12436
12436
|
shouldForwardProp: (e) => e !== "color" && e !== "type" && e !== "size"
|
|
12437
12437
|
})(({ theme: e, variant: t, color: n, type: r, size: i }) => ({
|
|
12438
|
-
...
|
|
12439
|
-
...
|
|
12438
|
+
...Gk(i),
|
|
12439
|
+
...Yk({ variant: t, theme: e, color: n, type: r }),
|
|
12440
12440
|
...i === "badge" && {
|
|
12441
12441
|
borderColor: e.palette.background.default
|
|
12442
12442
|
}
|
|
12443
12443
|
}));
|
|
12444
12444
|
function If({ variant: e = "circular", children: t, color: n = "primary", type: r, size: i = "md", ...s }) {
|
|
12445
12445
|
const l = St();
|
|
12446
|
-
return /* @__PURE__ */ C(
|
|
12446
|
+
return /* @__PURE__ */ C(Kk, { variant: e, theme: l, color: n, type: r, size: i, ...s, children: t });
|
|
12447
12447
|
}
|
|
12448
12448
|
If.propTypes = {
|
|
12449
12449
|
children: c.node,
|
|
@@ -12545,11 +12545,11 @@ hr.propTypes = {
|
|
|
12545
12545
|
modal: c.bool,
|
|
12546
12546
|
color: c.oneOf(["default", "primary", "secondary"])
|
|
12547
12547
|
};
|
|
12548
|
-
function
|
|
12548
|
+
function _k(e) {
|
|
12549
12549
|
return Gt("MuiTypography", e);
|
|
12550
12550
|
}
|
|
12551
12551
|
Zt("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
|
|
12552
|
-
const
|
|
12552
|
+
const qk = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"], Jk = (e) => {
|
|
12553
12553
|
const {
|
|
12554
12554
|
align: t,
|
|
12555
12555
|
gutterBottom: n,
|
|
@@ -12560,8 +12560,8 @@ const q6 = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
12560
12560
|
} = e, u = {
|
|
12561
12561
|
root: ["root", s, e.align !== "inherit" && `align${Te(t)}`, n && "gutterBottom", r && "noWrap", i && "paragraph"]
|
|
12562
12562
|
};
|
|
12563
|
-
return bn(u,
|
|
12564
|
-
}, $
|
|
12563
|
+
return bn(u, _k, l);
|
|
12564
|
+
}, $k = se("span", {
|
|
12565
12565
|
name: "MuiTypography",
|
|
12566
12566
|
slot: "Root",
|
|
12567
12567
|
overridesResolver: (e, t) => {
|
|
@@ -12600,17 +12600,17 @@ const q6 = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
12600
12600
|
body1: "p",
|
|
12601
12601
|
body2: "p",
|
|
12602
12602
|
inherit: "p"
|
|
12603
|
-
},
|
|
12603
|
+
}, Xk = {
|
|
12604
12604
|
primary: "primary.main",
|
|
12605
12605
|
textPrimary: "text.primary",
|
|
12606
12606
|
secondary: "secondary.main",
|
|
12607
12607
|
textSecondary: "text.secondary",
|
|
12608
12608
|
error: "error.main"
|
|
12609
|
-
},
|
|
12609
|
+
}, Zk = (e) => Xk[e] || e, Wv = /* @__PURE__ */ F.forwardRef(function(t, n) {
|
|
12610
12610
|
const r = en({
|
|
12611
12611
|
props: t,
|
|
12612
12612
|
name: "MuiTypography"
|
|
12613
|
-
}), i =
|
|
12613
|
+
}), i = Zk(r.color), s = X3(V({}, r, {
|
|
12614
12614
|
color: i
|
|
12615
12615
|
})), {
|
|
12616
12616
|
align: l = "inherit",
|
|
@@ -12621,7 +12621,7 @@ const q6 = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
12621
12621
|
paragraph: h = !1,
|
|
12622
12622
|
variant: p = "body1",
|
|
12623
12623
|
variantMapping: m = Gm
|
|
12624
|
-
} = s, I = Ke(s,
|
|
12624
|
+
} = s, I = Ke(s, qk), B = V({}, s, {
|
|
12625
12625
|
align: l,
|
|
12626
12626
|
color: i,
|
|
12627
12627
|
className: u,
|
|
@@ -12631,8 +12631,8 @@ const q6 = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
12631
12631
|
paragraph: h,
|
|
12632
12632
|
variant: p,
|
|
12633
12633
|
variantMapping: m
|
|
12634
|
-
}), y = A || (h ? "p" : m[p] || Gm[p]) || "span", P =
|
|
12635
|
-
return /* @__PURE__ */ C($
|
|
12634
|
+
}), y = A || (h ? "p" : m[p] || Gm[p]) || "span", P = Jk(B);
|
|
12635
|
+
return /* @__PURE__ */ C($k, V({
|
|
12636
12636
|
as: y,
|
|
12637
12637
|
ref: n,
|
|
12638
12638
|
ownerState: B,
|
|
@@ -17415,10 +17415,10 @@ const ky = ({ onSuccess: e, firstAccess: t }) => {
|
|
|
17415
17415
|
slot: "root"
|
|
17416
17416
|
})(({ theme: e }) => ({
|
|
17417
17417
|
"& .RaCreate-card, & > div > div > form": {
|
|
17418
|
-
backgroundColor: e.palette.background.default
|
|
17419
|
-
|
|
17420
|
-
|
|
17421
|
-
}
|
|
17418
|
+
backgroundColor: e.palette.background.default
|
|
17419
|
+
// '& .RaToolbar-mobileToolbar': {
|
|
17420
|
+
// backgroundColor: 'yellow'
|
|
17421
|
+
// }
|
|
17422
17422
|
},
|
|
17423
17423
|
"& .RaCreate-main>.MuiPaper-root:first-of-type": {
|
|
17424
17424
|
overflow: "visible"
|
|
@@ -29674,7 +29674,7 @@ export {
|
|
|
29674
29674
|
js as ActionsMenu,
|
|
29675
29675
|
_Y as ActivatePage,
|
|
29676
29676
|
Zs as Admin,
|
|
29677
|
-
|
|
29677
|
+
Sk as AnimateButton,
|
|
29678
29678
|
sB as AppConfigContext,
|
|
29679
29679
|
lB as AppConfigProvider,
|
|
29680
29680
|
Zb as ApplicaAdmin,
|