@blockend/widget 1.0.61-beta.6 → 1.0.62
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/{AllRoutes-Cxr3Nkrq.js → AllRoutes-pT_GYhLz.js} +198 -201
- package/dist/{Box-PCm99lPs.js → Box-CMXImt80.js} +1 -1
- package/dist/{EstGas-DAqnmtXg.js → EstGas-BEwQc47B.js} +802 -922
- package/dist/{Grow-PUq8zLdG.js → Grow-CYJk-72r.js} +192 -196
- package/dist/{InputComp-Cpbiu4nw.js → InputComp-B0QgFbsj.js} +3 -3
- package/dist/{LoadRoute-DMvruPxQ.js → LoadRoute-I--KmXYZ.js} +4 -4
- package/dist/{QuotesProgress-B8gCi4mg.js → QuotesProgress-Ct53CRUU.js} +1 -1
- package/dist/{SwapAsset-LXjTHOyg.js → SwapAsset-X7gAsFxL.js} +1 -1
- package/dist/{Tooltip-BBzQ_Niy.js → Tooltip-CsxhxDbM.js} +6 -9
- package/dist/{TxnButton-CzynEgC-.js → TxnButton-BZf2lfxu.js} +62 -65
- package/dist/{add-Dy5-Nff0.js → add-fqHpy_n_.js} +1 -1
- package/dist/{all-wallets-jwMVTU0s.js → all-wallets-BEiHad26.js} +1 -1
- package/dist/{app-store-DEcg75wd.js → app-store-BUrtll4M.js} +1 -1
- package/dist/{apple-C3gcxaZN.js → apple-DeP0r4ax.js} +1 -1
- package/dist/{arrow-bottom-Dz-dufK1.js → arrow-bottom-DOUsYrpS.js} +1 -1
- package/dist/{arrow-bottom-circle-CbmTfpof.js → arrow-bottom-circle-3zt0oM9l.js} +1 -1
- package/dist/{arrow-left-MSV3EbO3.js → arrow-left-CZi8gizN.js} +1 -1
- package/dist/{arrow-right-BIh4_fkF.js → arrow-right-Bp2k-sRU.js} +1 -1
- package/dist/{arrow-top-BKC3U-ao.js → arrow-top-Bdu-g3eb.js} +1 -1
- package/dist/{bank-DBtyASC7.js → bank-UM_6-xYg.js} +1 -1
- package/dist/{basic-BgV8RQ-A.js → basic-CfaJcj31.js} +4 -4
- package/dist/{browser-DC9IClot.js → browser-DE4dHUIn.js} +1 -1
- package/dist/{card-BT6koHhk.js → card-CpV_uFyN.js} +1 -1
- package/dist/{ccip-3LoUUUH-.js → ccip-CA2a9SDo.js} +1 -1
- package/dist/{checkmark-DSeqDz_Y.js → checkmark-CK8NZa3x.js} +1 -1
- package/dist/{checkmark-bold-BIkQqCzJ.js → checkmark-bold-DgI_WWpK.js} +1 -1
- package/dist/{chevron-bottom-CBXmsDV5.js → chevron-bottom-C_3_Lg-x.js} +1 -1
- package/dist/{chevron-left-DhVqX1hi.js → chevron-left-Dn-8RUKj.js} +1 -1
- package/dist/{chevron-right-B3rsG14_.js → chevron-right-BrzGCKbe.js} +1 -1
- package/dist/{chevron-top-BEjzOADe.js → chevron-top-DH4uxqMd.js} +1 -1
- package/dist/{chrome-store-DRLnmUBT.js → chrome-store-C6ftVKRM.js} +1 -1
- package/dist/{clock-eV75Aej3.js → clock-BMAqcMX9.js} +1 -1
- package/dist/{close-zdZMwNem.js → close-B99wQvJ_.js} +1 -1
- package/dist/{coinPlaceholder-CDI_BOjw.js → coinPlaceholder-DmuYNsmb.js} +1 -1
- package/dist/{compass-VmDWLUk0.js → compass-C4wdl146.js} +1 -1
- package/dist/{copy-BPf4wDQR.js → copy-DMJQyfJj.js} +1 -1
- package/dist/{core-FKJijvR4.js → core-v6ho39ji.js} +324 -390
- package/dist/{cursor-DyqcSARn.js → cursor-C-0knOkC.js} +1 -1
- package/dist/{cursor-transparent-BYUs3PjC.js → cursor-transparent-BLuqOo6k.js} +1 -1
- package/dist/{desktop-ajSWZf14.js → desktop-DpJrO84H.js} +1 -1
- package/dist/{disconnect-CesQDkW7.js → disconnect-k6w6zlk-.js} +1 -1
- package/dist/{discord-DRpBdD6a.js → discord-DLgkGibC.js} +1 -1
- package/dist/{down-BvpSLqv4.js → down-C4N-wh2D.js} +3 -4
- package/dist/{etherscan-T2x0uGqy.js → etherscan-DJTxjIAP.js} +1 -1
- package/dist/{exclamation-triangle-jiEvqZCt.js → exclamation-triangle-B1YdY5CX.js} +1 -1
- package/dist/{extension-VNmHHnl3.js → extension-CnhByDAh.js} +1 -1
- package/dist/{external-link-C1cNXEY_.js → external-link-CZmI3Q92.js} +1 -1
- package/dist/{facebook-BMo02i5k.js → facebook-CRHPGcBq.js} +1 -1
- package/dist/{farcaster-DGe5MIGO.js → farcaster-BYs6AvgJ.js} +1 -1
- package/dist/{filters-CUJYlRnZ.js → filters-BqJFiFCl.js} +1 -1
- package/dist/{getChainIds-D11guRHs.js → getChainIds-CPQkM2Fw.js} +4 -6
- package/dist/{getCosmosAddress-DgfHG7Hd.js → getCosmosAddress-CrzIqoe8.js} +2304 -2370
- package/dist/{github-Cs2pYb7C.js → github-WI_fsQyX.js} +1 -1
- package/dist/{google-DHT6lJFv.js → google-PDPeuX25.js} +1 -1
- package/dist/{hamburger-Yws20Vz4.js → hamburger-JHCSR4wq.js} +427 -436
- package/dist/{help-circle-DgP-m-Uz.js → help-circle-CC1LutMp.js} +1 -1
- package/dist/{id-B_EdR-1o.js → id-Dg4qm85K.js} +1 -1
- package/dist/{image-Cj7amYSJ.js → image-DvH3pCRi.js} +1 -1
- package/dist/{index-HFb_3Q0W.js → index-4DGqOb0b.js} +1 -1
- package/dist/{index-CWhe50Ec.js → index-BAjx9Sij.js} +451 -451
- package/dist/{index-D2IU_xeZ.js → index-BII8gr4h.js} +1134 -1151
- package/dist/{index-SFtx8RRR.js → index-Bl06WOfD.js} +14 -19
- package/dist/{index-BxH9oOBu.js → index-BrgwPS_u.js} +21 -32
- package/dist/{index-BXD_AzIx.js → index-ByNEeX9y.js} +1 -1
- package/dist/{index-BMBfrbLJ.js → index-CBMjkxpP.js} +5034 -5110
- package/dist/{index-BLrg6aM7.js → index-D8oYLVSL.js} +2 -2
- package/dist/{index-Bl2UpALc.js → index-DTish3yr.js} +1 -3
- package/dist/{index-mhA4TOGx.js → index-DbOqrlxW.js} +4 -4
- package/dist/{index-tEVjSKpt.js → index-Mqg8CWuX.js} +18 -32
- package/dist/{index-_c95MH6R.js → index-qIeZpXcg.js} +78 -78
- package/dist/{index.es-Cf2P8B_E.js → index.es-DV8y1ve_.js} +958 -978
- package/dist/{index.es-svtwMaZq.js → index.es-DkTmjrB8.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-Cp9JCjqN.js → info-Cjmzqm5P.js} +1 -1
- package/dist/{info-circle-DRaVj-ap.js → info-circle-Dimf4UPG.js} +1 -1
- package/dist/{lightbulb-CsW2vktv.js → lightbulb-BsZjMPbK.js} +1 -1
- package/dist/{mail-CWnCoK8z.js → mail-KNgNgUMG.js} +1 -1
- package/dist/{mobile-CA14tPHx.js → mobile-hJMru58F.js} +1 -1
- package/dist/{more-QAxcbEKq.js → more-B1Hz9ISJ.js} +1 -1
- package/dist/{network-placeholder-TIBJyj_I.js → network-placeholder-Ba37-PVe.js} +1 -1
- package/dist/{nftPlaceholder-CjKZ96cX.js → nftPlaceholder-Br6ZCUyX.js} +1 -1
- package/dist/{off-pDtmSFmO.js → off-DZv0f5qk.js} +1 -1
- package/dist/{play-store-CSc6NscT.js → play-store-PVT99oFp.js} +1 -1
- package/dist/{plus-C_Utdahs.js → plus-0JhMk1yC.js} +1 -1
- package/dist/{qr-code-DyK3HPLw.js → qr-code-CYMnN7H6.js} +1 -1
- package/dist/{recycle-horizontal-B2PCZE0j.js → recycle-horizontal-BODX35XL.js} +1 -1
- package/dist/{refresh-DCyPlTQE.js → refresh-KT2nzf4V.js} +1 -1
- package/dist/{reown-logo-BZtSC222.js → reown-logo-x-a1ehju.js} +1 -1
- package/dist/{search-zmw8hnGf.js → search-floOYVWE.js} +1 -1
- package/dist/{send-qpVD_BnX.js → send-rBEZNvkT.js} +1 -1
- package/dist/{swapHorizontal-DeiTZysc.js → swapHorizontal-FpW50anF.js} +1 -1
- package/dist/{swapHorizontalBold-DxXPoYvj.js → swapHorizontalBold-DJo2s6QM.js} +1 -1
- package/dist/{swapHorizontalMedium-Bk5t746S.js → swapHorizontalMedium-AdMIxAQ-.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-BKNTjAMS.js → swapHorizontalRoundedBold-DB7VaS-l.js} +1 -1
- package/dist/{swapVertical-BgErJn7M.js → swapVertical-CStjk8mq.js} +1 -1
- package/dist/{telegram-DLZsj0GL.js → telegram-B7o9hZwP.js} +1 -1
- package/dist/{three-dots-C639cevE.js → three-dots-DogTUFsH.js} +1 -1
- package/dist/{twitch-BjX2MWAc.js → twitch-B_TRhhNU.js} +1 -1
- package/dist/{twitterIcon-_EGscQMD.js → twitterIcon-ujuPKvRN.js} +1 -1
- package/dist/{unsupportedProp-qsTU86qU.js → unsupportedProp-BC6azYXA.js} +1 -1
- package/dist/useRegisterError-DMILz6N1.js +8918 -0
- package/dist/{verify-B9nCXXUk.js → verify-BRWSwLhn.js} +1 -1
- package/dist/{verify-filled-Cfe5su-B.js → verify-filled-z7UoRJXn.js} +1 -1
- package/dist/{w3m-modal-pIdI-nLd.js → w3m-modal-CuXPdser.js} +2 -2
- package/dist/{wallet-BLNq3D4p.js → wallet-BMFvv3DF.js} +1 -1
- package/dist/{wallet-placeholder-DNL9SHUB.js → wallet-placeholder-DFg6CZXP.js} +1 -1
- package/dist/{walletconnect-B8OExIGD.js → walletconnect-WSdSSZfM.js} +1 -1
- package/dist/{warning-circle-CbRvsp3p.js → warning-circle-BDW9xnhM.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-Booefzx8.js → x-DUDktTjC.js} +1 -1
- package/package.json +1 -1
- package/dist/AdvancedSettings-D7odvw7r.js +0 -47
- package/dist/useRegisterError-B1CjkI-p.js +0 -8923
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as D from "react";
|
2
2
|
import kt from "react";
|
3
|
-
import { p as K, P as i, aK as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-
|
3
|
+
import { p as K, P as i, aK as St, n as Bt, g as Wt, b as Lt, _ as Te, d as z, h as Nt, i as Ht, s as Vt } from "./index-CBMjkxpP.js";
|
4
4
|
import { jsx as de } from "react/jsx-runtime";
|
5
|
-
import { o as et, P as It, b as Se, a as tt, m as Ut, r as
|
5
|
+
import { o as et, P as It, b as Se, a as tt, m as Ut, r as mt, h as qt, H as Ee, T as Ft, q as _t, j as Xt, n as zt, t as rt, v as Yt, w as Gt } from "./useRegisterError-DMILz6N1.js";
|
6
6
|
let nt = 0;
|
7
7
|
function Kt(e) {
|
8
8
|
const [t, r] = D.useState(e), n = e || t;
|
@@ -29,19 +29,16 @@ function Tn({
|
|
29
29
|
} = D.useRef(e !== void 0), [f, p] = D.useState(t), s = o ? e : f;
|
30
30
|
if (K.env.NODE_ENV !== "production") {
|
31
31
|
D.useEffect(() => {
|
32
|
-
o !== (e !== void 0) && console.error([`MUI: A component is changing the ${o ? "" : "un"}controlled ${n} state of ${r} to be ${o ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
|
33
|
-
`));
|
34
32
|
}, [n, r, e]);
|
35
33
|
const {
|
36
|
-
current:
|
34
|
+
current: c
|
37
35
|
} = D.useRef(t);
|
38
36
|
D.useEffect(() => {
|
39
|
-
!o &&
|
40
|
-
`));
|
37
|
+
!o && Object.is(c, t);
|
41
38
|
}, [JSON.stringify(t)]);
|
42
39
|
}
|
43
|
-
const a = D.useCallback((
|
44
|
-
o || p(
|
40
|
+
const a = D.useCallback((c) => {
|
41
|
+
o || p(c);
|
45
42
|
}, []);
|
46
43
|
return [s, a];
|
47
44
|
}
|
@@ -61,8 +58,8 @@ function Qt() {
|
|
61
58
|
function r(p) {
|
62
59
|
if (typeof WeakMap != "function") return null;
|
63
60
|
var s = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap();
|
64
|
-
return (r = function(
|
65
|
-
return
|
61
|
+
return (r = function(c) {
|
62
|
+
return c ? a : s;
|
66
63
|
})(p);
|
67
64
|
}
|
68
65
|
function n(p, s) {
|
@@ -70,12 +67,12 @@ function Qt() {
|
|
70
67
|
if (p === null || typeof p != "object" && typeof p != "function") return { default: p };
|
71
68
|
var a = r(s);
|
72
69
|
if (a && a.has(p)) return a.get(p);
|
73
|
-
var
|
70
|
+
var c = { __proto__: null }, l = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
74
71
|
for (var d in p) if (d !== "default" && Object.prototype.hasOwnProperty.call(p, d)) {
|
75
|
-
var g =
|
76
|
-
g && (g.get || g.set) ? Object.defineProperty(
|
72
|
+
var g = l ? Object.getOwnPropertyDescriptor(p, d) : null;
|
73
|
+
g && (g.get || g.set) ? Object.defineProperty(c, d, g) : c[d] = p[d];
|
77
74
|
}
|
78
|
-
return
|
75
|
+
return c.default = p, a && a.set(p, c), c;
|
79
76
|
}
|
80
77
|
function o(p) {
|
81
78
|
return Object.keys(p).length === 0;
|
@@ -88,11 +85,11 @@ function Qt() {
|
|
88
85
|
}
|
89
86
|
var Zt = /* @__PURE__ */ Qt();
|
90
87
|
const er = /* @__PURE__ */ Bt(Zt);
|
91
|
-
var L = "top", I = "bottom", U = "right", N = "left", Ne = "auto",
|
88
|
+
var L = "top", I = "bottom", U = "right", N = "left", Ne = "auto", he = [L, I, U, N], ne = "start", ve = "end", tr = "clippingParents", ht = "viewport", le = "popper", rr = "reference", at = /* @__PURE__ */ he.reduce(function(e, t) {
|
92
89
|
return e.concat([t + "-" + ne, t + "-" + ve]);
|
93
|
-
}, []), gt = /* @__PURE__ */ [].concat(
|
90
|
+
}, []), gt = /* @__PURE__ */ [].concat(he, [Ne]).reduce(function(e, t) {
|
94
91
|
return e.concat([t, t + "-" + ne, t + "-" + ve]);
|
95
|
-
}, []), nr = "beforeRead", or = "read", ir = "afterRead", ar = "beforeMain", sr = "main", fr = "afterMain", pr = "beforeWrite",
|
92
|
+
}, []), nr = "beforeRead", or = "read", ir = "afterRead", ar = "beforeMain", sr = "main", fr = "afterMain", pr = "beforeWrite", lr = "write", cr = "afterWrite", ur = [nr, or, ir, ar, sr, fr, pr, lr, cr];
|
96
93
|
function X(e) {
|
97
94
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
98
95
|
}
|
@@ -144,8 +141,8 @@ function vr(e) {
|
|
144
141
|
};
|
145
142
|
return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
|
146
143
|
Object.keys(t.elements).forEach(function(n) {
|
147
|
-
var o = t.elements[n], f = t.attributes[n] || {}, p = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), s = p.reduce(function(a,
|
148
|
-
return a[
|
144
|
+
var o = t.elements[n], f = t.attributes[n] || {}, p = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), s = p.reduce(function(a, c) {
|
145
|
+
return a[c] = "", a;
|
149
146
|
}, {});
|
150
147
|
!V(o) || !X(o) || (Object.assign(o.style, s), Object.keys(f).forEach(function(a) {
|
151
148
|
o.removeAttribute(a);
|
@@ -153,7 +150,7 @@ function vr(e) {
|
|
153
150
|
});
|
154
151
|
};
|
155
152
|
}
|
156
|
-
const
|
153
|
+
const mr = {
|
157
154
|
name: "applyStyles",
|
158
155
|
enabled: !0,
|
159
156
|
phase: "write",
|
@@ -178,16 +175,16 @@ function ie(e, t, r) {
|
|
178
175
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
179
176
|
var n = e.getBoundingClientRect(), o = 1, f = 1;
|
180
177
|
t && V(e) && (o = e.offsetWidth > 0 && oe(n.width) / e.offsetWidth || 1, f = e.offsetHeight > 0 && oe(n.height) / e.offsetHeight || 1);
|
181
|
-
var p = te(e) ? H(e) : window, s = p.visualViewport, a = !yt() && r,
|
178
|
+
var p = te(e) ? H(e) : window, s = p.visualViewport, a = !yt() && r, c = (n.left + (a && s ? s.offsetLeft : 0)) / o, l = (n.top + (a && s ? s.offsetTop : 0)) / f, d = n.width / o, g = n.height / f;
|
182
179
|
return {
|
183
180
|
width: d,
|
184
181
|
height: g,
|
185
|
-
top:
|
186
|
-
right:
|
187
|
-
bottom:
|
188
|
-
left:
|
189
|
-
x:
|
190
|
-
y:
|
182
|
+
top: l,
|
183
|
+
right: c + d,
|
184
|
+
bottom: l + g,
|
185
|
+
left: c,
|
186
|
+
x: c,
|
187
|
+
y: l
|
191
188
|
};
|
192
189
|
}
|
193
190
|
function Ve(e) {
|
@@ -216,7 +213,7 @@ function bt(e, t) {
|
|
216
213
|
function Y(e) {
|
217
214
|
return H(e).getComputedStyle(e);
|
218
215
|
}
|
219
|
-
function
|
216
|
+
function hr(e) {
|
220
217
|
return ["table", "td", "th"].indexOf(X(e)) >= 0;
|
221
218
|
}
|
222
219
|
function J(e) {
|
@@ -258,18 +255,18 @@ function gr(e) {
|
|
258
255
|
return null;
|
259
256
|
}
|
260
257
|
function ge(e) {
|
261
|
-
for (var t = H(e), r = st(e); r &&
|
258
|
+
for (var t = H(e), r = st(e); r && hr(r) && Y(r).position === "static"; )
|
262
259
|
r = st(r);
|
263
260
|
return r && (X(r) === "html" || X(r) === "body" && Y(r).position === "static") ? t : r || gr(e) || t;
|
264
261
|
}
|
265
262
|
function Ie(e) {
|
266
263
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
267
264
|
}
|
268
|
-
function
|
265
|
+
function ce(e, t, r) {
|
269
266
|
return ee(e, Pe(t, r));
|
270
267
|
}
|
271
268
|
function yr(e, t, r) {
|
272
|
-
var n =
|
269
|
+
var n = ce(e, t, r);
|
273
270
|
return n > r ? r : n;
|
274
271
|
}
|
275
272
|
function wt() {
|
@@ -291,12 +288,12 @@ function Ot(e, t) {
|
|
291
288
|
var br = function(t, r) {
|
292
289
|
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
293
290
|
placement: r.placement
|
294
|
-
})) : t, xt(typeof t != "number" ? t : Ot(t,
|
291
|
+
})) : t, xt(typeof t != "number" ? t : Ot(t, he));
|
295
292
|
};
|
296
293
|
function wr(e) {
|
297
|
-
var t, r = e.state, n = e.name, o = e.options, f = r.elements.arrow, p = r.modifiersData.popperOffsets, s = _(r.placement), a = Ie(s),
|
294
|
+
var t, r = e.state, n = e.name, o = e.options, f = r.elements.arrow, p = r.modifiersData.popperOffsets, s = _(r.placement), a = Ie(s), c = [N, U].indexOf(s) >= 0, l = c ? "height" : "width";
|
298
295
|
if (!(!f || !p)) {
|
299
|
-
var d = br(o.padding, r), g = Ve(f),
|
296
|
+
var d = br(o.padding, r), g = Ve(f), m = a === "y" ? L : N, O = a === "y" ? I : U, v = r.rects.reference[l] + r.rects.reference[a] - p[a] - r.rects.popper[l], y = p[a] - r.rects.reference[a], E = ge(f), T = E ? a === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, w = v / 2 - y / 2, u = d[m], h = T - g[l] - d[O], b = T / 2 - g[l] / 2 + w, x = ce(u, b, h), C = a;
|
300
297
|
r.modifiersData[n] = (t = {}, t[C] = x, t.centerOffset = x - b, t);
|
301
298
|
}
|
302
299
|
}
|
@@ -330,20 +327,20 @@ function Pr(e, t) {
|
|
330
327
|
};
|
331
328
|
}
|
332
329
|
function ft(e) {
|
333
|
-
var t, r = e.popper, n = e.popperRect, o = e.placement, f = e.variation, p = e.offsets, s = e.position, a = e.gpuAcceleration,
|
334
|
-
x:
|
330
|
+
var t, r = e.popper, n = e.popperRect, o = e.placement, f = e.variation, p = e.offsets, s = e.position, a = e.gpuAcceleration, c = e.adaptive, l = e.roundOffsets, d = e.isFixed, g = p.x, m = g === void 0 ? 0 : g, O = p.y, v = O === void 0 ? 0 : O, y = typeof l == "function" ? l({
|
331
|
+
x: m,
|
335
332
|
y: v
|
336
333
|
}) : {
|
337
|
-
x:
|
334
|
+
x: m,
|
338
335
|
y: v
|
339
336
|
};
|
340
|
-
|
341
|
-
var E = p.hasOwnProperty("x"), T = p.hasOwnProperty("y"), w = N, u = L,
|
342
|
-
if (
|
337
|
+
m = y.x, v = y.y;
|
338
|
+
var E = p.hasOwnProperty("x"), T = p.hasOwnProperty("y"), w = N, u = L, h = window;
|
339
|
+
if (c) {
|
343
340
|
var b = ge(r), x = "clientHeight", C = "clientWidth";
|
344
341
|
if (b === H(r) && (b = J(r), Y(b).position !== "static" && s === "absolute" && (x = "scrollHeight", C = "scrollWidth")), b = b, o === L || (o === N || o === U) && f === ve) {
|
345
342
|
u = I;
|
346
|
-
var P = d && b ===
|
343
|
+
var P = d && b === h && h.visualViewport ? h.visualViewport.height : (
|
347
344
|
// $FlowFixMe[prop-missing]
|
348
345
|
b[x]
|
349
346
|
);
|
@@ -351,30 +348,30 @@ function ft(e) {
|
|
351
348
|
}
|
352
349
|
if (o === N || (o === L || o === I) && f === ve) {
|
353
350
|
w = U;
|
354
|
-
var A = d && b ===
|
351
|
+
var A = d && b === h && h.visualViewport ? h.visualViewport.width : (
|
355
352
|
// $FlowFixMe[prop-missing]
|
356
353
|
b[C]
|
357
354
|
);
|
358
|
-
|
355
|
+
m -= A - n.width, m *= a ? 1 : -1;
|
359
356
|
}
|
360
357
|
}
|
361
358
|
var M = Object.assign({
|
362
359
|
position: s
|
363
|
-
},
|
364
|
-
x:
|
360
|
+
}, c && Er), W = l === !0 ? Pr({
|
361
|
+
x: m,
|
365
362
|
y: v
|
366
363
|
}, H(r)) : {
|
367
|
-
x:
|
364
|
+
x: m,
|
368
365
|
y: v
|
369
366
|
};
|
370
|
-
if (
|
367
|
+
if (m = W.x, v = W.y, a) {
|
371
368
|
var k;
|
372
|
-
return Object.assign({}, M, (k = {}, k[u] = T ? "0" : "", k[w] = E ? "0" : "", k.transform = (
|
369
|
+
return Object.assign({}, M, (k = {}, k[u] = T ? "0" : "", k[w] = E ? "0" : "", k.transform = (h.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", k));
|
373
370
|
}
|
374
|
-
return Object.assign({}, M, (t = {}, t[u] = T ? v + "px" : "", t[w] = E ?
|
371
|
+
return Object.assign({}, M, (t = {}, t[u] = T ? v + "px" : "", t[w] = E ? m + "px" : "", t.transform = "", t));
|
375
372
|
}
|
376
373
|
function Rr(e) {
|
377
|
-
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, f = r.adaptive, p = f === void 0 ? !0 : f, s = r.roundOffsets, a = s === void 0 ? !0 : s,
|
374
|
+
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, f = r.adaptive, p = f === void 0 ? !0 : f, s = r.roundOffsets, a = s === void 0 ? !0 : s, c = {
|
378
375
|
placement: _(t.placement),
|
379
376
|
variation: ae(t.placement),
|
380
377
|
popper: t.elements.popper,
|
@@ -382,12 +379,12 @@ function Rr(e) {
|
|
382
379
|
gpuAcceleration: o,
|
383
380
|
isFixed: t.options.strategy === "fixed"
|
384
381
|
};
|
385
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, ft(Object.assign({},
|
382
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, ft(Object.assign({}, c, {
|
386
383
|
offsets: t.modifiersData.popperOffsets,
|
387
384
|
position: t.options.strategy,
|
388
385
|
adaptive: p,
|
389
386
|
roundOffsets: a
|
390
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, ft(Object.assign({},
|
387
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, ft(Object.assign({}, c, {
|
391
388
|
offsets: t.modifiersData.arrow,
|
392
389
|
position: "absolute",
|
393
390
|
adaptive: !1,
|
@@ -407,12 +404,12 @@ var xe = {
|
|
407
404
|
passive: !0
|
408
405
|
};
|
409
406
|
function jr(e) {
|
410
|
-
var t = e.state, r = e.instance, n = e.options, o = n.scroll, f = o === void 0 ? !0 : o, p = n.resize, s = p === void 0 ? !0 : p, a = H(t.elements.popper),
|
411
|
-
return f &&
|
412
|
-
|
407
|
+
var t = e.state, r = e.instance, n = e.options, o = n.scroll, f = o === void 0 ? !0 : o, p = n.resize, s = p === void 0 ? !0 : p, a = H(t.elements.popper), c = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
408
|
+
return f && c.forEach(function(l) {
|
409
|
+
l.addEventListener("scroll", r.update, xe);
|
413
410
|
}), s && a.addEventListener("resize", r.update, xe), function() {
|
414
|
-
f &&
|
415
|
-
|
411
|
+
f && c.forEach(function(l) {
|
412
|
+
l.removeEventListener("scroll", r.update, xe);
|
416
413
|
}), s && a.removeEventListener("resize", r.update, xe);
|
417
414
|
};
|
418
415
|
}
|
@@ -459,8 +456,8 @@ function $r(e, t) {
|
|
459
456
|
var r = H(e), n = J(e), o = r.visualViewport, f = n.clientWidth, p = n.clientHeight, s = 0, a = 0;
|
460
457
|
if (o) {
|
461
458
|
f = o.width, p = o.height;
|
462
|
-
var
|
463
|
-
(
|
459
|
+
var c = yt();
|
460
|
+
(c || !c && t === "fixed") && (s = o.offsetLeft, a = o.offsetTop);
|
464
461
|
}
|
465
462
|
return {
|
466
463
|
width: f,
|
@@ -506,8 +503,8 @@ function kr(e, t) {
|
|
506
503
|
var r = ie(e, !1, t === "fixed");
|
507
504
|
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
508
505
|
}
|
509
|
-
function
|
510
|
-
return t ===
|
506
|
+
function lt(e, t, r) {
|
507
|
+
return t === ht ? We($r(e, r)) : te(t) ? kr(t, r) : We(Mr(J(e)));
|
511
508
|
}
|
512
509
|
function Sr(e) {
|
513
510
|
var t = ue(je(e)), r = ["absolute", "fixed"].indexOf(Y(e).position) >= 0, n = r && V(e) ? ge(e) : e;
|
@@ -516,10 +513,10 @@ function Sr(e) {
|
|
516
513
|
}) : [];
|
517
514
|
}
|
518
515
|
function Br(e, t, r, n) {
|
519
|
-
var o = t === "clippingParents" ? Sr(e) : [].concat(t), f = [].concat(o, [r]), p = f[0], s = f.reduce(function(a,
|
520
|
-
var
|
521
|
-
return a.top = ee(
|
522
|
-
},
|
516
|
+
var o = t === "clippingParents" ? Sr(e) : [].concat(t), f = [].concat(o, [r]), p = f[0], s = f.reduce(function(a, c) {
|
517
|
+
var l = lt(e, c, n);
|
518
|
+
return a.top = ee(l.top, a.top), a.right = Pe(l.right, a.right), a.bottom = Pe(l.bottom, a.bottom), a.left = ee(l.left, a.left), a;
|
519
|
+
}, lt(e, p, n));
|
523
520
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
524
521
|
}
|
525
522
|
function Pt(e) {
|
@@ -555,33 +552,33 @@ function Pt(e) {
|
|
555
552
|
y: t.y
|
556
553
|
};
|
557
554
|
}
|
558
|
-
var
|
559
|
-
if (
|
560
|
-
var
|
555
|
+
var c = o ? Ie(o) : null;
|
556
|
+
if (c != null) {
|
557
|
+
var l = c === "y" ? "height" : "width";
|
561
558
|
switch (f) {
|
562
559
|
case ne:
|
563
|
-
a[
|
560
|
+
a[c] = a[c] - (t[l] / 2 - r[l] / 2);
|
564
561
|
break;
|
565
562
|
case ve:
|
566
|
-
a[
|
563
|
+
a[c] = a[c] + (t[l] / 2 - r[l] / 2);
|
567
564
|
break;
|
568
565
|
}
|
569
566
|
}
|
570
567
|
return a;
|
571
568
|
}
|
572
|
-
function
|
569
|
+
function me(e, t) {
|
573
570
|
t === void 0 && (t = {});
|
574
|
-
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, f = r.strategy, p = f === void 0 ? e.strategy : f, s = r.boundary, a = s === void 0 ? tr : s,
|
571
|
+
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, f = r.strategy, p = f === void 0 ? e.strategy : f, s = r.boundary, a = s === void 0 ? tr : s, c = r.rootBoundary, l = c === void 0 ? ht : c, d = r.elementContext, g = d === void 0 ? le : d, m = r.altBoundary, O = m === void 0 ? !1 : m, v = r.padding, y = v === void 0 ? 0 : v, E = xt(typeof y != "number" ? y : Ot(y, he)), T = g === le ? rr : le, w = e.rects.popper, u = e.elements[O ? T : g], h = Br(te(u) ? u : u.contextElement || J(e.elements.popper), a, l, p), b = ie(e.elements.reference), x = Pt({
|
575
572
|
reference: b,
|
576
573
|
element: w,
|
577
574
|
placement: o
|
578
|
-
}), C = We(Object.assign({}, w, x)), P = g ===
|
579
|
-
top:
|
580
|
-
bottom: P.bottom -
|
581
|
-
left:
|
582
|
-
right: P.right -
|
575
|
+
}), C = We(Object.assign({}, w, x)), P = g === le ? C : b, A = {
|
576
|
+
top: h.top - P.top + E.top,
|
577
|
+
bottom: P.bottom - h.bottom + E.bottom,
|
578
|
+
left: h.left - P.left + E.left,
|
579
|
+
right: P.right - h.right + E.right
|
583
580
|
}, M = e.modifiersData.offset;
|
584
|
-
if (g ===
|
581
|
+
if (g === le && M) {
|
585
582
|
var W = M[o];
|
586
583
|
Object.keys(A).forEach(function(k) {
|
587
584
|
var F = [U, I].indexOf(k) >= 0 ? 1 : -1, R = [L, I].indexOf(k) >= 0 ? "y" : "x";
|
@@ -592,22 +589,22 @@ function he(e, t) {
|
|
592
589
|
}
|
593
590
|
function Wr(e, t) {
|
594
591
|
t === void 0 && (t = {});
|
595
|
-
var r = t, n = r.placement, o = r.boundary, f = r.rootBoundary, p = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements,
|
596
|
-
return ae(O) ===
|
597
|
-
}) :
|
598
|
-
return
|
592
|
+
var r = t, n = r.placement, o = r.boundary, f = r.rootBoundary, p = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements, c = a === void 0 ? gt : a, l = ae(n), d = l ? s ? at : at.filter(function(O) {
|
593
|
+
return ae(O) === l;
|
594
|
+
}) : he, g = d.filter(function(O) {
|
595
|
+
return c.indexOf(O) >= 0;
|
599
596
|
});
|
600
597
|
g.length === 0 && (g = d);
|
601
|
-
var
|
602
|
-
return O[v] =
|
598
|
+
var m = g.reduce(function(O, v) {
|
599
|
+
return O[v] = me(e, {
|
603
600
|
placement: v,
|
604
601
|
boundary: o,
|
605
602
|
rootBoundary: f,
|
606
603
|
padding: p
|
607
604
|
})[_(v)], O;
|
608
605
|
}, {});
|
609
|
-
return Object.keys(
|
610
|
-
return
|
606
|
+
return Object.keys(m).sort(function(O, v) {
|
607
|
+
return m[O] - m[v];
|
611
608
|
});
|
612
609
|
}
|
613
610
|
function Lr(e) {
|
@@ -619,24 +616,24 @@ function Lr(e) {
|
|
619
616
|
function Nr(e) {
|
620
617
|
var t = e.state, r = e.options, n = e.name;
|
621
618
|
if (!t.modifiersData[n]._skip) {
|
622
|
-
for (var o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !0 : p, a = r.fallbackPlacements,
|
619
|
+
for (var o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !0 : p, a = r.fallbackPlacements, c = r.padding, l = r.boundary, d = r.rootBoundary, g = r.altBoundary, m = r.flipVariations, O = m === void 0 ? !0 : m, v = r.allowedAutoPlacements, y = t.options.placement, E = _(y), T = E === y, w = a || (T || !O ? [Oe(y)] : Lr(y)), u = [y].concat(w).reduce(function(re, G) {
|
623
620
|
return re.concat(_(G) === Ne ? Wr(t, {
|
624
621
|
placement: G,
|
625
|
-
boundary:
|
622
|
+
boundary: l,
|
626
623
|
rootBoundary: d,
|
627
|
-
padding:
|
624
|
+
padding: c,
|
628
625
|
flipVariations: O,
|
629
626
|
allowedAutoPlacements: v
|
630
627
|
}) : G);
|
631
|
-
}, []),
|
632
|
-
var M = u[A], W = _(M), k = ae(M) === ne, F = [L, I].indexOf(W) >= 0, R = F ? "width" : "height", j =
|
628
|
+
}, []), h = t.rects.reference, b = t.rects.popper, x = /* @__PURE__ */ new Map(), C = !0, P = u[0], A = 0; A < u.length; A++) {
|
629
|
+
var M = u[A], W = _(M), k = ae(M) === ne, F = [L, I].indexOf(W) >= 0, R = F ? "width" : "height", j = me(t, {
|
633
630
|
placement: M,
|
634
|
-
boundary:
|
631
|
+
boundary: l,
|
635
632
|
rootBoundary: d,
|
636
633
|
altBoundary: g,
|
637
|
-
padding:
|
634
|
+
padding: c
|
638
635
|
}), $ = F ? k ? U : N : k ? I : L;
|
639
|
-
|
636
|
+
h[R] > b[R] && ($ = Oe($));
|
640
637
|
var S = Oe($), B = [];
|
641
638
|
if (f && B.push(j[W] <= 0), s && B.push(j[$] <= 0, j[S] <= 0), B.every(function(re) {
|
642
639
|
return re;
|
@@ -674,7 +671,7 @@ const Hr = {
|
|
674
671
|
_skip: !1
|
675
672
|
}
|
676
673
|
};
|
677
|
-
function
|
674
|
+
function ct(e, t, r) {
|
678
675
|
return r === void 0 && (r = {
|
679
676
|
x: 0,
|
680
677
|
y: 0
|
@@ -691,18 +688,18 @@ function ut(e) {
|
|
691
688
|
});
|
692
689
|
}
|
693
690
|
function Vr(e) {
|
694
|
-
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, f = t.modifiersData.preventOverflow, p =
|
691
|
+
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, f = t.modifiersData.preventOverflow, p = me(t, {
|
695
692
|
elementContext: "reference"
|
696
|
-
}), s =
|
693
|
+
}), s = me(t, {
|
697
694
|
altBoundary: !0
|
698
|
-
}), a =
|
695
|
+
}), a = ct(p, n), c = ct(s, o, f), l = ut(a), d = ut(c);
|
699
696
|
t.modifiersData[r] = {
|
700
697
|
referenceClippingOffsets: a,
|
701
|
-
popperEscapeOffsets:
|
702
|
-
isReferenceHidden:
|
698
|
+
popperEscapeOffsets: c,
|
699
|
+
isReferenceHidden: l,
|
703
700
|
hasPopperEscaped: d
|
704
701
|
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
705
|
-
"data-popper-reference-hidden":
|
702
|
+
"data-popper-reference-hidden": l,
|
706
703
|
"data-popper-escaped": d
|
707
704
|
});
|
708
705
|
}
|
@@ -726,10 +723,10 @@ function Ur(e, t, r) {
|
|
726
723
|
};
|
727
724
|
}
|
728
725
|
function qr(e) {
|
729
|
-
var t = e.state, r = e.options, n = e.name, o = r.offset, f = o === void 0 ? [0, 0] : o, p = gt.reduce(function(
|
730
|
-
return
|
731
|
-
}, {}), s = p[t.placement], a = s.x,
|
732
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y +=
|
726
|
+
var t = e.state, r = e.options, n = e.name, o = r.offset, f = o === void 0 ? [0, 0] : o, p = gt.reduce(function(l, d) {
|
727
|
+
return l[d] = Ur(d, t.rects, f), l;
|
728
|
+
}, {}), s = p[t.placement], a = s.x, c = s.y;
|
729
|
+
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += c), t.modifiersData[n] = p;
|
733
730
|
}
|
734
731
|
const Fr = {
|
735
732
|
name: "offset",
|
@@ -757,12 +754,12 @@ function zr(e) {
|
|
757
754
|
return e === "x" ? "y" : "x";
|
758
755
|
}
|
759
756
|
function Yr(e) {
|
760
|
-
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !1 : p, a = r.boundary,
|
757
|
+
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !1 : p, a = r.boundary, c = r.rootBoundary, l = r.altBoundary, d = r.padding, g = r.tether, m = g === void 0 ? !0 : g, O = r.tetherOffset, v = O === void 0 ? 0 : O, y = me(t, {
|
761
758
|
boundary: a,
|
762
|
-
rootBoundary:
|
759
|
+
rootBoundary: c,
|
763
760
|
padding: d,
|
764
|
-
altBoundary:
|
765
|
-
}), E = _(t.placement), T = ae(t.placement), w = !T, u = Ie(E),
|
761
|
+
altBoundary: l
|
762
|
+
}), E = _(t.placement), T = ae(t.placement), w = !T, u = Ie(E), h = zr(u), b = t.modifiersData.popperOffsets, x = t.rects.reference, C = t.rects.popper, P = typeof v == "function" ? v(Object.assign({}, t.rects, {
|
766
763
|
placement: t.placement
|
767
764
|
})) : v, A = typeof P == "number" ? {
|
768
765
|
mainAxis: P,
|
@@ -776,15 +773,15 @@ function Yr(e) {
|
|
776
773
|
};
|
777
774
|
if (b) {
|
778
775
|
if (f) {
|
779
|
-
var k, F = u === "y" ? L : N, R = u === "y" ? I : U, j = u === "y" ? "height" : "width", $ = b[u], S = $ + y[F], B = $ - y[R], q =
|
776
|
+
var k, F = u === "y" ? L : N, R = u === "y" ? I : U, j = u === "y" ? "height" : "width", $ = b[u], S = $ + y[F], B = $ - y[R], q = m ? -C[j] / 2 : 0, De = T === ne ? x[j] : C[j], se = T === ne ? -C[j] : -x[j], ye = t.elements.arrow, re = m && ye ? Ve(ye) : {
|
780
777
|
width: 0,
|
781
778
|
height: 0
|
782
|
-
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wt(), fe = G[F], be = G[R], Q =
|
779
|
+
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wt(), fe = G[F], be = G[R], Q = ce(0, x[j], re[j]), Ce = w ? x[j] / 2 - q - Q - fe - A.mainAxis : De - Q - fe - A.mainAxis, jt = w ? -x[j] / 2 + q + Q + be + A.mainAxis : se + Q + be + A.mainAxis, $e = t.elements.arrow && ge(t.elements.arrow), At = $e ? u === "y" ? $e.clientTop || 0 : $e.clientLeft || 0 : 0, _e = (k = M == null ? void 0 : M[u]) != null ? k : 0, Dt = $ + Ce - _e - At, Ct = $ + jt - _e, Xe = ce(m ? Pe(S, Dt) : S, $, m ? ee(B, Ct) : B);
|
783
780
|
b[u] = Xe, W[u] = Xe - $;
|
784
781
|
}
|
785
782
|
if (s) {
|
786
|
-
var ze, $t = u === "x" ? L : N, Mt = u === "x" ? I : U, Z = b[
|
787
|
-
b[
|
783
|
+
var ze, $t = u === "x" ? L : N, Mt = u === "x" ? I : U, Z = b[h], we = h === "y" ? "height" : "width", Ye = Z + y[$t], Ge = Z - y[Mt], Me = [L, N].indexOf(E) !== -1, Ke = (ze = M == null ? void 0 : M[h]) != null ? ze : 0, Je = Me ? Ye : Z - x[we] - C[we] - Ke + A.altAxis, Qe = Me ? Z + x[we] + C[we] - Ke - A.altAxis : Ge, Ze = m && Me ? yr(Je, Z, Qe) : ce(m ? Je : Ye, Z, m ? Qe : Ge);
|
784
|
+
b[h] = Ze, W[h] = Ze - Z;
|
788
785
|
}
|
789
786
|
t.modifiersData[n] = W;
|
790
787
|
}
|
@@ -890,9 +887,9 @@ function vt() {
|
|
890
887
|
function on(e) {
|
891
888
|
e === void 0 && (e = {});
|
892
889
|
var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, f = o === void 0 ? dt : o;
|
893
|
-
return function(s, a,
|
894
|
-
|
895
|
-
var
|
890
|
+
return function(s, a, c) {
|
891
|
+
c === void 0 && (c = f);
|
892
|
+
var l = {
|
896
893
|
placement: "bottom",
|
897
894
|
orderedModifiers: [],
|
898
895
|
options: Object.assign({}, dt, f),
|
@@ -903,18 +900,18 @@ function on(e) {
|
|
903
900
|
},
|
904
901
|
attributes: {},
|
905
902
|
styles: {}
|
906
|
-
}, d = [], g = !1,
|
907
|
-
state:
|
903
|
+
}, d = [], g = !1, m = {
|
904
|
+
state: l,
|
908
905
|
setOptions: function(E) {
|
909
|
-
var T = typeof E == "function" ? E(
|
910
|
-
v(),
|
906
|
+
var T = typeof E == "function" ? E(l.options) : E;
|
907
|
+
v(), l.options = Object.assign({}, f, l.options, T), l.scrollParents = {
|
911
908
|
reference: te(s) ? ue(s) : s.contextElement ? ue(s.contextElement) : [],
|
912
909
|
popper: ue(a)
|
913
910
|
};
|
914
|
-
var w = tn(nn([].concat(n,
|
915
|
-
return
|
911
|
+
var w = tn(nn([].concat(n, l.options.modifiers)));
|
912
|
+
return l.orderedModifiers = w.filter(function(u) {
|
916
913
|
return u.enabled;
|
917
|
-
}), O(),
|
914
|
+
}), O(), m.update();
|
918
915
|
},
|
919
916
|
// Sync update – it will always be executed, even if not necessary. This
|
920
917
|
// is useful for low frequency updates where sync behavior simplifies the
|
@@ -923,26 +920,26 @@ function on(e) {
|
|
923
920
|
// prefer the async Popper#update method
|
924
921
|
forceUpdate: function() {
|
925
922
|
if (!g) {
|
926
|
-
var E =
|
923
|
+
var E = l.elements, T = E.reference, w = E.popper;
|
927
924
|
if (vt(T, w)) {
|
928
|
-
|
929
|
-
reference: Zr(T, ge(w),
|
925
|
+
l.rects = {
|
926
|
+
reference: Zr(T, ge(w), l.options.strategy === "fixed"),
|
930
927
|
popper: Ve(w)
|
931
|
-
},
|
932
|
-
return
|
928
|
+
}, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(A) {
|
929
|
+
return l.modifiersData[A.name] = Object.assign({}, A.data);
|
933
930
|
});
|
934
|
-
for (var u = 0; u <
|
935
|
-
if (
|
936
|
-
|
931
|
+
for (var u = 0; u < l.orderedModifiers.length; u++) {
|
932
|
+
if (l.reset === !0) {
|
933
|
+
l.reset = !1, u = -1;
|
937
934
|
continue;
|
938
935
|
}
|
939
|
-
var
|
940
|
-
typeof b == "function" && (
|
941
|
-
state:
|
936
|
+
var h = l.orderedModifiers[u], b = h.fn, x = h.options, C = x === void 0 ? {} : x, P = h.name;
|
937
|
+
typeof b == "function" && (l = b({
|
938
|
+
state: l,
|
942
939
|
options: C,
|
943
940
|
name: P,
|
944
|
-
instance:
|
945
|
-
}) ||
|
941
|
+
instance: m
|
942
|
+
}) || l);
|
946
943
|
}
|
947
944
|
}
|
948
945
|
}
|
@@ -951,7 +948,7 @@ function on(e) {
|
|
951
948
|
// not necessary (debounced to run at most once-per-tick)
|
952
949
|
update: rn(function() {
|
953
950
|
return new Promise(function(y) {
|
954
|
-
|
951
|
+
m.forceUpdate(), y(l);
|
955
952
|
});
|
956
953
|
}),
|
957
954
|
destroy: function() {
|
@@ -959,22 +956,22 @@ function on(e) {
|
|
959
956
|
}
|
960
957
|
};
|
961
958
|
if (!vt(s, a))
|
962
|
-
return
|
963
|
-
|
964
|
-
!g &&
|
959
|
+
return m;
|
960
|
+
m.setOptions(c).then(function(y) {
|
961
|
+
!g && c.onFirstUpdate && c.onFirstUpdate(y);
|
965
962
|
});
|
966
963
|
function O() {
|
967
|
-
|
964
|
+
l.orderedModifiers.forEach(function(y) {
|
968
965
|
var E = y.name, T = y.options, w = T === void 0 ? {} : T, u = y.effect;
|
969
966
|
if (typeof u == "function") {
|
970
|
-
var
|
971
|
-
state:
|
967
|
+
var h = u({
|
968
|
+
state: l,
|
972
969
|
name: E,
|
973
|
-
instance:
|
970
|
+
instance: m,
|
974
971
|
options: w
|
975
972
|
}), b = function() {
|
976
973
|
};
|
977
|
-
d.push(
|
974
|
+
d.push(h || b);
|
978
975
|
}
|
979
976
|
});
|
980
977
|
}
|
@@ -983,18 +980,18 @@ function on(e) {
|
|
983
980
|
return y();
|
984
981
|
}), d = [];
|
985
982
|
}
|
986
|
-
return
|
983
|
+
return m;
|
987
984
|
};
|
988
985
|
}
|
989
|
-
var an = [Ar, Xr, Tr,
|
986
|
+
var an = [Ar, Xr, Tr, mr, Fr, Hr, Gr, Or, Ir], sn = /* @__PURE__ */ on({
|
990
987
|
defaultModifiers: an
|
991
988
|
});
|
992
989
|
function fn(e) {
|
993
990
|
return Wt("MuiPopper", e);
|
994
991
|
}
|
995
992
|
Lt("MuiPopper", ["root"]);
|
996
|
-
const pn = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
|
997
|
-
function
|
993
|
+
const pn = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], ln = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
994
|
+
function cn(e, t) {
|
998
995
|
if (t === "ltr")
|
999
996
|
return e;
|
1000
997
|
switch (e) {
|
@@ -1026,7 +1023,7 @@ const dn = (e) => {
|
|
1026
1023
|
return Nt({
|
1027
1024
|
root: ["root"]
|
1028
1025
|
}, fn, t);
|
1029
|
-
}, vn = {},
|
1026
|
+
}, vn = {}, mn = /* @__PURE__ */ D.forwardRef(function(t, r) {
|
1030
1027
|
var n;
|
1031
1028
|
const {
|
1032
1029
|
anchorEl: o,
|
@@ -1034,34 +1031,33 @@ const dn = (e) => {
|
|
1034
1031
|
direction: p,
|
1035
1032
|
disablePortal: s,
|
1036
1033
|
modifiers: a,
|
1037
|
-
open:
|
1038
|
-
placement:
|
1034
|
+
open: c,
|
1035
|
+
placement: l,
|
1039
1036
|
popperOptions: d,
|
1040
1037
|
popperRef: g,
|
1041
|
-
slotProps:
|
1038
|
+
slotProps: m = {},
|
1042
1039
|
slots: O = {},
|
1043
1040
|
TransitionProps: v
|
1044
1041
|
// @ts-ignore internal logic
|
1045
1042
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
1046
|
-
} = t, y = Te(t, pn), E = D.useRef(null), T = Se(E, r), w = D.useRef(null), u = Se(w, g),
|
1043
|
+
} = t, y = Te(t, pn), E = D.useRef(null), T = Se(E, r), w = D.useRef(null), u = Se(w, g), h = D.useRef(u);
|
1047
1044
|
tt(() => {
|
1048
|
-
|
1045
|
+
h.current = u;
|
1049
1046
|
}, [u]), D.useImperativeHandle(g, () => w.current, []);
|
1050
|
-
const b =
|
1047
|
+
const b = cn(l, p), [x, C] = D.useState(b), [P, A] = D.useState(Re(o));
|
1051
1048
|
D.useEffect(() => {
|
1052
1049
|
w.current && w.current.forceUpdate();
|
1053
1050
|
}), D.useEffect(() => {
|
1054
1051
|
o && A(Re(o));
|
1055
1052
|
}, [o]), tt(() => {
|
1056
|
-
if (!P || !
|
1053
|
+
if (!P || !c)
|
1057
1054
|
return;
|
1058
1055
|
const R = (S) => {
|
1059
1056
|
C(S.placement);
|
1060
1057
|
};
|
1061
1058
|
if (K.env.NODE_ENV !== "production" && P && Ae(P) && P.nodeType === 1) {
|
1062
1059
|
const S = P.getBoundingClientRect();
|
1063
|
-
K.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom
|
1064
|
-
`));
|
1060
|
+
K.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom;
|
1065
1061
|
}
|
1066
1062
|
let j = [{
|
1067
1063
|
name: "preventOverflow",
|
@@ -1089,17 +1085,17 @@ const dn = (e) => {
|
|
1089
1085
|
}, d, {
|
1090
1086
|
modifiers: j
|
1091
1087
|
}));
|
1092
|
-
return
|
1093
|
-
$.destroy(),
|
1088
|
+
return h.current($), () => {
|
1089
|
+
$.destroy(), h.current(null);
|
1094
1090
|
};
|
1095
|
-
}, [P, s, a,
|
1091
|
+
}, [P, s, a, c, d, b]);
|
1096
1092
|
const M = {
|
1097
1093
|
placement: x
|
1098
1094
|
};
|
1099
1095
|
v !== null && (M.TransitionProps = v);
|
1100
1096
|
const W = dn(t), k = (n = O.root) != null ? n : "div", F = Ut({
|
1101
1097
|
elementType: k,
|
1102
|
-
externalSlotProps:
|
1098
|
+
externalSlotProps: m.root,
|
1103
1099
|
externalForwardedProps: y,
|
1104
1100
|
additionalProps: {
|
1105
1101
|
role: "tooltip",
|
@@ -1119,21 +1115,21 @@ const dn = (e) => {
|
|
1119
1115
|
direction: p = "ltr",
|
1120
1116
|
disablePortal: s = !1,
|
1121
1117
|
keepMounted: a = !1,
|
1122
|
-
modifiers:
|
1123
|
-
open:
|
1118
|
+
modifiers: c,
|
1119
|
+
open: l,
|
1124
1120
|
placement: d = "bottom",
|
1125
1121
|
popperOptions: g = vn,
|
1126
|
-
popperRef:
|
1122
|
+
popperRef: m,
|
1127
1123
|
style: O,
|
1128
1124
|
transition: v = !1,
|
1129
1125
|
slotProps: y = {},
|
1130
1126
|
slots: E = {}
|
1131
|
-
} = t, T = Te(t,
|
1127
|
+
} = t, T = Te(t, ln), [w, u] = D.useState(!0), h = () => {
|
1132
1128
|
u(!1);
|
1133
1129
|
}, b = () => {
|
1134
1130
|
u(!0);
|
1135
1131
|
};
|
1136
|
-
if (!a && !
|
1132
|
+
if (!a && !l && (!v || w))
|
1137
1133
|
return null;
|
1138
1134
|
let x;
|
1139
1135
|
if (f)
|
@@ -1142,24 +1138,24 @@ const dn = (e) => {
|
|
1142
1138
|
const A = Re(n);
|
1143
1139
|
x = A && Ae(A) ? et(A).body : et(null).body;
|
1144
1140
|
}
|
1145
|
-
const C = !
|
1146
|
-
in:
|
1147
|
-
onEnter:
|
1141
|
+
const C = !l && a && (!v || w) ? "none" : void 0, P = v ? {
|
1142
|
+
in: l,
|
1143
|
+
onEnter: h,
|
1148
1144
|
onExited: b
|
1149
1145
|
} : void 0;
|
1150
1146
|
return /* @__PURE__ */ de(It, {
|
1151
1147
|
disablePortal: s,
|
1152
1148
|
container: x,
|
1153
|
-
children: /* @__PURE__ */ de(
|
1149
|
+
children: /* @__PURE__ */ de(mn, z({
|
1154
1150
|
anchorEl: n,
|
1155
1151
|
direction: p,
|
1156
1152
|
disablePortal: s,
|
1157
|
-
modifiers:
|
1153
|
+
modifiers: c,
|
1158
1154
|
ref: r,
|
1159
|
-
open: v ? !w :
|
1155
|
+
open: v ? !w : l,
|
1160
1156
|
placement: d,
|
1161
1157
|
popperOptions: g,
|
1162
|
-
popperRef:
|
1158
|
+
popperRef: m,
|
1163
1159
|
slotProps: y,
|
1164
1160
|
slots: E
|
1165
1161
|
}, T, {
|
@@ -1275,7 +1271,7 @@ K.env.NODE_ENV !== "production" && (Rt.propTypes = {
|
|
1275
1271
|
/**
|
1276
1272
|
* A ref that points to the used popper instance.
|
1277
1273
|
*/
|
1278
|
-
popperRef:
|
1274
|
+
popperRef: mt,
|
1279
1275
|
/**
|
1280
1276
|
* The props used for each slot inside the Popper.
|
1281
1277
|
* @default {}
|
@@ -1297,7 +1293,7 @@ K.env.NODE_ENV !== "production" && (Rt.propTypes = {
|
|
1297
1293
|
*/
|
1298
1294
|
transition: i.bool
|
1299
1295
|
});
|
1300
|
-
const
|
1296
|
+
const hn = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"], gn = Vt(Rt, {
|
1301
1297
|
name: "MuiPopper",
|
1302
1298
|
slot: "Root",
|
1303
1299
|
overridesResolver: (e, t) => t.root
|
@@ -1310,11 +1306,11 @@ const mn = ["anchorEl", "component", "components", "componentsProps", "container
|
|
1310
1306
|
anchorEl: p,
|
1311
1307
|
component: s,
|
1312
1308
|
components: a,
|
1313
|
-
componentsProps:
|
1314
|
-
container:
|
1309
|
+
componentsProps: c,
|
1310
|
+
container: l,
|
1315
1311
|
disablePortal: d,
|
1316
1312
|
keepMounted: g,
|
1317
|
-
modifiers:
|
1313
|
+
modifiers: m,
|
1318
1314
|
open: O,
|
1319
1315
|
placement: v,
|
1320
1316
|
popperOptions: y,
|
@@ -1322,25 +1318,25 @@ const mn = ["anchorEl", "component", "components", "componentsProps", "container
|
|
1322
1318
|
transition: T,
|
1323
1319
|
slots: w,
|
1324
1320
|
slotProps: u
|
1325
|
-
} = f,
|
1321
|
+
} = f, h = Te(f, hn), b = (n = w == null ? void 0 : w.root) != null ? n : a == null ? void 0 : a.Root, x = z({
|
1326
1322
|
anchorEl: p,
|
1327
|
-
container:
|
1323
|
+
container: l,
|
1328
1324
|
disablePortal: d,
|
1329
1325
|
keepMounted: g,
|
1330
|
-
modifiers:
|
1326
|
+
modifiers: m,
|
1331
1327
|
open: O,
|
1332
1328
|
placement: v,
|
1333
1329
|
popperOptions: y,
|
1334
1330
|
popperRef: E,
|
1335
1331
|
transition: T
|
1336
|
-
},
|
1332
|
+
}, h);
|
1337
1333
|
return /* @__PURE__ */ de(gn, z({
|
1338
1334
|
as: s,
|
1339
1335
|
direction: o == null ? void 0 : o.direction,
|
1340
1336
|
slots: {
|
1341
1337
|
root: b
|
1342
1338
|
},
|
1343
|
-
slotProps: u ??
|
1339
|
+
slotProps: u ?? c
|
1344
1340
|
}, x, {
|
1345
1341
|
ref: r
|
1346
1342
|
}));
|
@@ -1446,7 +1442,7 @@ K.env.NODE_ENV !== "production" && (yn.propTypes = {
|
|
1446
1442
|
/**
|
1447
1443
|
* A ref that points to the used popper instance.
|
1448
1444
|
*/
|
1449
|
-
popperRef:
|
1445
|
+
popperRef: mt,
|
1450
1446
|
/**
|
1451
1447
|
* The props used for each slot inside the Popper.
|
1452
1448
|
* @default {}
|
@@ -1493,21 +1489,21 @@ const wn = {
|
|
1493
1489
|
easing: p,
|
1494
1490
|
in: s,
|
1495
1491
|
onEnter: a,
|
1496
|
-
onEntered:
|
1497
|
-
onEntering:
|
1492
|
+
onEntered: c,
|
1493
|
+
onEntering: l,
|
1498
1494
|
onExit: d,
|
1499
1495
|
onExited: g,
|
1500
|
-
onExiting:
|
1496
|
+
onExiting: m,
|
1501
1497
|
style: O,
|
1502
1498
|
timeout: v = "auto",
|
1503
1499
|
// eslint-disable-next-line react/prop-types
|
1504
1500
|
TransitionComponent: y = Ft
|
1505
|
-
} = t, E = Te(t, bn), T = _t(), w = D.useRef(), u = Xt(),
|
1501
|
+
} = t, E = Te(t, bn), T = _t(), w = D.useRef(), u = Xt(), h = D.useRef(null), b = Se(h, zt(f), r), x = (R) => (j) => {
|
1506
1502
|
if (R) {
|
1507
|
-
const $ =
|
1503
|
+
const $ = h.current;
|
1508
1504
|
j === void 0 ? R($) : R($, j);
|
1509
1505
|
}
|
1510
|
-
}, C = x(
|
1506
|
+
}, C = x(l), P = x((R, j) => {
|
1511
1507
|
Yt(R);
|
1512
1508
|
const {
|
1513
1509
|
duration: $,
|
@@ -1529,7 +1525,7 @@ const wn = {
|
|
1529
1525
|
delay: S,
|
1530
1526
|
easing: B
|
1531
1527
|
})].join(","), a && a(R, j);
|
1532
|
-
}), A = x(
|
1528
|
+
}), A = x(c), M = x(m), W = x((R) => {
|
1533
1529
|
const {
|
1534
1530
|
duration: j,
|
1535
1531
|
delay: $,
|
@@ -1554,7 +1550,7 @@ const wn = {
|
|
1554
1550
|
return /* @__PURE__ */ de(y, z({
|
1555
1551
|
appear: o,
|
1556
1552
|
in: s,
|
1557
|
-
nodeRef:
|
1553
|
+
nodeRef: h,
|
1558
1554
|
onEnter: P,
|
1559
1555
|
onEntered: A,
|
1560
1556
|
onEntering: C,
|
@@ -1562,7 +1558,7 @@ const wn = {
|
|
1562
1558
|
onExited: k,
|
1563
1559
|
onExiting: M,
|
1564
1560
|
addEndListener: (R) => {
|
1565
|
-
v === "auto" && T.start(w.current || 0, R), n && n(
|
1561
|
+
v === "auto" && T.start(w.current || 0, R), n && n(h.current, R);
|
1566
1562
|
},
|
1567
1563
|
timeout: v === "auto" ? null : v
|
1568
1564
|
}, E, {
|