@blockend/widget 1.0.61-beta.1 → 1.0.61-beta.2
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/{AdvancedSettings-BSHVKOx8.js → AdvancedSettings-DMVTMB1Z.js} +17 -17
- package/dist/{AllRoutes-3rJ_6MZA.js → AllRoutes-DIWsY_7s.js} +201 -198
- package/dist/{Box-k1E75YNB.js → Box-CSkOh5pT.js} +1 -1
- package/dist/{EstGas-NmdlnuTV.js → EstGas-D0lMj040.js} +377 -370
- package/dist/{Grow-DHSmig3g.js → Grow-DArf5BOf.js} +196 -192
- package/dist/{InputComp-Q8pjLoPE.js → InputComp-BpwhlO5B.js} +3 -3
- package/dist/{LoadRoute-C2z-mW9G.js → LoadRoute-Dqk83p2o.js} +4 -4
- package/dist/{QuotesProgress-BD5CQpZ-.js → QuotesProgress-D-bhAdY6.js} +1 -1
- package/dist/{SwapAsset-Kx0ombNP.js → SwapAsset-CeJghqM4.js} +1 -1
- package/dist/{Tooltip-Dx9YIENU.js → Tooltip-Bo6E3Ppn.js} +9 -6
- package/dist/{TxnButton-CWOz7URH.js → TxnButton-06UcI8vZ.js} +65 -62
- package/dist/{add-D_aca-vE.js → add-CnnoTaOE.js} +1 -1
- package/dist/{all-wallets-D4BSWfpK.js → all-wallets-77I8A1dR.js} +1 -1
- package/dist/{app-store-ST0Ravfg.js → app-store-BHbNWU5O.js} +1 -1
- package/dist/{apple-DaFtNkdI.js → apple-BUqoJ3h4.js} +1 -1
- package/dist/{arrow-bottom-CuRXWFcr.js → arrow-bottom-BKIkvLUW.js} +1 -1
- package/dist/{arrow-bottom-circle-xfTEwf8w.js → arrow-bottom-circle-CmtY1Go0.js} +1 -1
- package/dist/{arrow-left-Z346mTvE.js → arrow-left-B1RmdyFf.js} +1 -1
- package/dist/{arrow-right-CUIO0t26.js → arrow-right-DAGdMwrS.js} +1 -1
- package/dist/{arrow-top-DmqPBsC5.js → arrow-top-DL8aloED.js} +1 -1
- package/dist/{bank-BO1ZejV3.js → bank-Cho2fj04.js} +1 -1
- package/dist/{basic-P5IuMVWt.js → basic-Hq9EE7JN.js} +4 -4
- package/dist/{browser-R_yTVBVl.js → browser-B1tFXGo3.js} +1 -1
- package/dist/{card-CmQJzq49.js → card-CAIekfsW.js} +1 -1
- package/dist/{ccip-Vdbs2YPx.js → ccip-CQW-OT50.js} +1 -1
- package/dist/{checkmark-BUj82mTz.js → checkmark-CMNFl8gr.js} +1 -1
- package/dist/{checkmark-bold-4sXAvyEi.js → checkmark-bold-jZ_-Wln9.js} +1 -1
- package/dist/{chevron-bottom-BHRgOLsC.js → chevron-bottom-BXlfv0v_.js} +1 -1
- package/dist/{chevron-left-eVq5zb9x.js → chevron-left-CR6Vk7-R.js} +1 -1
- package/dist/{chevron-right-BqbdhgX8.js → chevron-right-CK7kmFE0.js} +1 -1
- package/dist/{chevron-top-lFcz1Dk9.js → chevron-top-5bB353uT.js} +1 -1
- package/dist/{chrome-store-CJjs0q6Z.js → chrome-store-3zRMRPZ3.js} +1 -1
- package/dist/{clock-LxWBSJ_V.js → clock-C9VfcQU_.js} +1 -1
- package/dist/{close-CJEyeA8d.js → close-Dp60_0UW.js} +1 -1
- package/dist/{coinPlaceholder-A0px2L1V.js → coinPlaceholder-B9q-Q9nc.js} +1 -1
- package/dist/{compass-CKpEE3QF.js → compass-D1YdDLDZ.js} +1 -1
- package/dist/{copy-BGAVbyLK.js → copy-wpPbMuG7.js} +1 -1
- package/dist/{core-UMj0YuPY.js → core-f2H2Z9Sf.js} +390 -324
- package/dist/{cursor-CdRK37lV.js → cursor-BGD-Vp6U.js} +1 -1
- package/dist/{cursor-transparent-DCtZPn6M.js → cursor-transparent-Df_S-DGP.js} +1 -1
- package/dist/{desktop-BpmiexI7.js → desktop-xGzb89jl.js} +1 -1
- package/dist/{disconnect-CmRL6rxR.js → disconnect-C-l5x3f5.js} +1 -1
- package/dist/{discord-CgA8etyT.js → discord-BMihtS7L.js} +1 -1
- package/dist/{down-veMPztmj.js → down-IP3JFhRv.js} +4 -3
- package/dist/{etherscan-B0Iz4J9k.js → etherscan-BIDZ39Go.js} +1 -1
- package/dist/{exclamation-triangle-Box_8laE.js → exclamation-triangle-DtY9538O.js} +1 -1
- package/dist/{extension-CT5kynXr.js → extension-nyPuSGEb.js} +1 -1
- package/dist/{external-link-BmAqCUs9.js → external-link-CWQ6mRkJ.js} +1 -1
- package/dist/{facebook-CzlMPtlk.js → facebook-C9YV_9Ud.js} +1 -1
- package/dist/{farcaster-Z3KYAnFk.js → farcaster-Bk5tC5cR.js} +1 -1
- package/dist/{filters-CVtviD0v.js → filters-Boj-Safw.js} +1 -1
- package/dist/{getChainIds-DDKgS0TA.js → getChainIds-DVwNZAc5.js} +6 -4
- package/dist/{getCosmosAddress-D-BxI1sZ.js → getCosmosAddress-DGjk1iF-.js} +160 -158
- package/dist/{github-KjnPjzGN.js → github-CqlLNrtO.js} +1 -1
- package/dist/{google-CnyCazMS.js → google-DWRbHt_B.js} +1 -1
- package/dist/{hamburger-DkyOLKDt.js → hamburger-CCqMn9nd.js} +436 -427
- package/dist/{help-circle-BoN3xTWx.js → help-circle-Cv5722_F.js} +1 -1
- package/dist/{id-tq8aEw5U.js → id-BpuE8i1h.js} +1 -1
- package/dist/{image-DBC1q2_n.js → image-BLabe1u_.js} +1 -1
- package/dist/{index-BMJemt0T.js → index-3TDndzHy.js} +1 -1
- package/dist/{index-nbo2VFYc.js → index-B7xlfFYR.js} +4 -4
- package/dist/{index-37soHOzC.js → index-BMaOhhWB.js} +2 -2
- package/dist/{index-u8Ded5qw.js → index-Bf3Fkna6.js} +32 -18
- package/dist/{index-DTish3yr.js → index-Bl2UpALc.js} +3 -1
- package/dist/{index-B6Hd7MNh.js → index-BmPN76Lg.js} +5105 -5033
- package/dist/{index-DwgdKTri.js → index-C0l8Ijyj.js} +1 -1
- package/dist/{index-C57ebjbd.js → index-DIsRIvWS.js} +78 -78
- package/dist/{index-BnfXeC9U.js → index-DtPZUylH.js} +32 -21
- package/dist/{index-CrdvyxIs.js → index-X1wa5bpP.js} +19 -14
- package/dist/{index-BrUFU9w4.js → index-a8BP6V0o.js} +1151 -1134
- package/dist/{index-Dq-7CifU.js → index-lJKy2Bhi.js} +162 -161
- package/dist/{index.es-CXA8FwxC.js → index.es-BvE3zZVY.js} +978 -958
- package/dist/{index.es-CwOZPtUM.js → index.es-DLS0SSoV.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-B-ADkq2O.js → info-BROBzEn3.js} +1 -1
- package/dist/{info-circle-CzjFim13.js → info-circle-BhnTaYwQ.js} +1 -1
- package/dist/{lightbulb-BzGUazBJ.js → lightbulb-BMm8pAvQ.js} +1 -1
- package/dist/{mail-CEB7w3xW.js → mail-BBH0_xPX.js} +1 -1
- package/dist/{mobile-D2As9Lxy.js → mobile-BKmYB0js.js} +1 -1
- package/dist/{more-B3qgSPHK.js → more-BgKFZ5_N.js} +1 -1
- package/dist/{network-placeholder-D3v1VNVd.js → network-placeholder-Bx4Pd_VA.js} +1 -1
- package/dist/{nftPlaceholder-7uzR-QgE.js → nftPlaceholder-CjhjYlRs.js} +1 -1
- package/dist/{off-B5fhwDTB.js → off-CNWZ7rAK.js} +1 -1
- package/dist/{play-store-fmnI2qeP.js → play-store-CLp2fzCO.js} +1 -1
- package/dist/{plus-BPrwB2BV.js → plus-BUG6XdxV.js} +1 -1
- package/dist/{qr-code-DRh63vJj.js → qr-code-C-JVP33d.js} +1 -1
- package/dist/{recycle-horizontal-DGw86E5g.js → recycle-horizontal-C0QxOqzM.js} +1 -1
- package/dist/{refresh-Dg7iaYhB.js → refresh-CyabrC0p.js} +1 -1
- package/dist/{reown-logo-tiOXXURu.js → reown-logo-ULFpSpZD.js} +1 -1
- package/dist/{search-eG23Hr6c.js → search-CzhkDgzL.js} +1 -1
- package/dist/{send-BOwE6eLM.js → send-3zcoBLqV.js} +1 -1
- package/dist/{swapHorizontal-ywv205Wi.js → swapHorizontal-DkBtpUHQ.js} +1 -1
- package/dist/{swapHorizontalBold-CzmBehA5.js → swapHorizontalBold-CwigaZ5c.js} +1 -1
- package/dist/{swapHorizontalMedium-BLbLZusS.js → swapHorizontalMedium-CzzR3-0y.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-N_SHWa3r.js → swapHorizontalRoundedBold-C055Y8zs.js} +1 -1
- package/dist/{swapVertical-EAZRQhGp.js → swapVertical-d-A3bfm6.js} +1 -1
- package/dist/{telegram-n36fCk1z.js → telegram--pfczlkG.js} +1 -1
- package/dist/{three-dots-0tBgmH4A.js → three-dots-CIEdgWJT.js} +1 -1
- package/dist/{twitch-BhZ8ahtd.js → twitch-CbcHu1ns.js} +1 -1
- package/dist/{twitterIcon-DfNmxt1B.js → twitterIcon-DB90mhmN.js} +1 -1
- package/dist/{unsupportedProp-D3sAzZYG.js → unsupportedProp-BQSrS0LI.js} +1 -1
- package/dist/{useRegisterError-Bo2lp0sa.js → useRegisterError-NuUdpWyD.js} +41 -37
- package/dist/{verify-CWXFpftr.js → verify-C8Ud6dXo.js} +1 -1
- package/dist/{verify-filled-DP3y-Kx3.js → verify-filled-CAbxeIrk.js} +1 -1
- package/dist/{w3m-modal-CwwnoSKf.js → w3m-modal-7qD9ca_a.js} +2 -2
- package/dist/{wallet-pQYrlhSS.js → wallet-CALjCWYW.js} +1 -1
- package/dist/{wallet-placeholder-CFNKM5lP.js → wallet-placeholder-2GP-1vJb.js} +1 -1
- package/dist/{walletconnect-CAtjZJiV.js → walletconnect-BuMmu4SH.js} +1 -1
- package/dist/{warning-circle-BOE2EoE9.js → warning-circle-CNQ1oGvz.js} +1 -1
- package/dist/{x-BqcRzM19.js → x-Bg_5LCup.js} +1 -1
- package/package.json +1 -1
@@ -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-BmPN76Lg.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 ht, 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-NuUdpWyD.js";
|
6
6
|
let nt = 0;
|
7
7
|
function Kt(e) {
|
8
8
|
const [t, r] = D.useState(e), n = e || t;
|
@@ -29,16 +29,19 @@ 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
|
+
`));
|
32
34
|
}, [n, r, e]);
|
33
35
|
const {
|
34
|
-
current:
|
36
|
+
current: l
|
35
37
|
} = D.useRef(t);
|
36
38
|
D.useEffect(() => {
|
37
|
-
!o && Object.is(
|
39
|
+
!o && !Object.is(l, t) && console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
|
40
|
+
`));
|
38
41
|
}, [JSON.stringify(t)]);
|
39
42
|
}
|
40
|
-
const a = D.useCallback((
|
41
|
-
o || p(
|
43
|
+
const a = D.useCallback((l) => {
|
44
|
+
o || p(l);
|
42
45
|
}, []);
|
43
46
|
return [s, a];
|
44
47
|
}
|
@@ -58,8 +61,8 @@ function Qt() {
|
|
58
61
|
function r(p) {
|
59
62
|
if (typeof WeakMap != "function") return null;
|
60
63
|
var s = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap();
|
61
|
-
return (r = function(
|
62
|
-
return
|
64
|
+
return (r = function(l) {
|
65
|
+
return l ? a : s;
|
63
66
|
})(p);
|
64
67
|
}
|
65
68
|
function n(p, s) {
|
@@ -67,12 +70,12 @@ function Qt() {
|
|
67
70
|
if (p === null || typeof p != "object" && typeof p != "function") return { default: p };
|
68
71
|
var a = r(s);
|
69
72
|
if (a && a.has(p)) return a.get(p);
|
70
|
-
var
|
73
|
+
var l = { __proto__: null }, c = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
71
74
|
for (var d in p) if (d !== "default" && Object.prototype.hasOwnProperty.call(p, d)) {
|
72
|
-
var g =
|
73
|
-
g && (g.get || g.set) ? Object.defineProperty(
|
75
|
+
var g = c ? Object.getOwnPropertyDescriptor(p, d) : null;
|
76
|
+
g && (g.get || g.set) ? Object.defineProperty(l, d, g) : l[d] = p[d];
|
74
77
|
}
|
75
|
-
return
|
78
|
+
return l.default = p, a && a.set(p, l), l;
|
76
79
|
}
|
77
80
|
function o(p) {
|
78
81
|
return Object.keys(p).length === 0;
|
@@ -85,11 +88,11 @@ function Qt() {
|
|
85
88
|
}
|
86
89
|
var Zt = /* @__PURE__ */ Qt();
|
87
90
|
const er = /* @__PURE__ */ Bt(Zt);
|
88
|
-
var L = "top", I = "bottom", U = "right", N = "left", Ne = "auto",
|
91
|
+
var L = "top", I = "bottom", U = "right", N = "left", Ne = "auto", me = [L, I, U, N], ne = "start", ve = "end", tr = "clippingParents", mt = "viewport", ce = "popper", rr = "reference", at = /* @__PURE__ */ me.reduce(function(e, t) {
|
89
92
|
return e.concat([t + "-" + ne, t + "-" + ve]);
|
90
|
-
}, []), gt = /* @__PURE__ */ [].concat(
|
93
|
+
}, []), gt = /* @__PURE__ */ [].concat(me, [Ne]).reduce(function(e, t) {
|
91
94
|
return e.concat([t, t + "-" + ne, t + "-" + ve]);
|
92
|
-
}, []), nr = "beforeRead", or = "read", ir = "afterRead", ar = "beforeMain", sr = "main", fr = "afterMain", pr = "beforeWrite",
|
95
|
+
}, []), nr = "beforeRead", or = "read", ir = "afterRead", ar = "beforeMain", sr = "main", fr = "afterMain", pr = "beforeWrite", cr = "write", lr = "afterWrite", ur = [nr, or, ir, ar, sr, fr, pr, cr, lr];
|
93
96
|
function X(e) {
|
94
97
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
95
98
|
}
|
@@ -141,8 +144,8 @@ function vr(e) {
|
|
141
144
|
};
|
142
145
|
return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
|
143
146
|
Object.keys(t.elements).forEach(function(n) {
|
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,
|
145
|
-
return a[
|
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, l) {
|
148
|
+
return a[l] = "", a;
|
146
149
|
}, {});
|
147
150
|
!V(o) || !X(o) || (Object.assign(o.style, s), Object.keys(f).forEach(function(a) {
|
148
151
|
o.removeAttribute(a);
|
@@ -150,7 +153,7 @@ function vr(e) {
|
|
150
153
|
});
|
151
154
|
};
|
152
155
|
}
|
153
|
-
const
|
156
|
+
const hr = {
|
154
157
|
name: "applyStyles",
|
155
158
|
enabled: !0,
|
156
159
|
phase: "write",
|
@@ -175,16 +178,16 @@ function ie(e, t, r) {
|
|
175
178
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
176
179
|
var n = e.getBoundingClientRect(), o = 1, f = 1;
|
177
180
|
t && V(e) && (o = e.offsetWidth > 0 && oe(n.width) / e.offsetWidth || 1, f = e.offsetHeight > 0 && oe(n.height) / e.offsetHeight || 1);
|
178
|
-
var p = te(e) ? H(e) : window, s = p.visualViewport, a = !yt() && r,
|
181
|
+
var p = te(e) ? H(e) : window, s = p.visualViewport, a = !yt() && r, l = (n.left + (a && s ? s.offsetLeft : 0)) / o, c = (n.top + (a && s ? s.offsetTop : 0)) / f, d = n.width / o, g = n.height / f;
|
179
182
|
return {
|
180
183
|
width: d,
|
181
184
|
height: g,
|
182
|
-
top:
|
183
|
-
right:
|
184
|
-
bottom:
|
185
|
-
left:
|
186
|
-
x:
|
187
|
-
y:
|
185
|
+
top: c,
|
186
|
+
right: l + d,
|
187
|
+
bottom: c + g,
|
188
|
+
left: l,
|
189
|
+
x: l,
|
190
|
+
y: c
|
188
191
|
};
|
189
192
|
}
|
190
193
|
function Ve(e) {
|
@@ -213,7 +216,7 @@ function bt(e, t) {
|
|
213
216
|
function Y(e) {
|
214
217
|
return H(e).getComputedStyle(e);
|
215
218
|
}
|
216
|
-
function
|
219
|
+
function mr(e) {
|
217
220
|
return ["table", "td", "th"].indexOf(X(e)) >= 0;
|
218
221
|
}
|
219
222
|
function J(e) {
|
@@ -255,18 +258,18 @@ function gr(e) {
|
|
255
258
|
return null;
|
256
259
|
}
|
257
260
|
function ge(e) {
|
258
|
-
for (var t = H(e), r = st(e); r &&
|
261
|
+
for (var t = H(e), r = st(e); r && mr(r) && Y(r).position === "static"; )
|
259
262
|
r = st(r);
|
260
263
|
return r && (X(r) === "html" || X(r) === "body" && Y(r).position === "static") ? t : r || gr(e) || t;
|
261
264
|
}
|
262
265
|
function Ie(e) {
|
263
266
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
264
267
|
}
|
265
|
-
function
|
268
|
+
function le(e, t, r) {
|
266
269
|
return ee(e, Pe(t, r));
|
267
270
|
}
|
268
271
|
function yr(e, t, r) {
|
269
|
-
var n =
|
272
|
+
var n = le(e, t, r);
|
270
273
|
return n > r ? r : n;
|
271
274
|
}
|
272
275
|
function wt() {
|
@@ -288,12 +291,12 @@ function Ot(e, t) {
|
|
288
291
|
var br = function(t, r) {
|
289
292
|
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
290
293
|
placement: r.placement
|
291
|
-
})) : t, xt(typeof t != "number" ? t : Ot(t,
|
294
|
+
})) : t, xt(typeof t != "number" ? t : Ot(t, me));
|
292
295
|
};
|
293
296
|
function wr(e) {
|
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),
|
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), l = [N, U].indexOf(s) >= 0, c = l ? "height" : "width";
|
295
298
|
if (!(!f || !p)) {
|
296
|
-
var d = br(o.padding, r), g = Ve(f),
|
299
|
+
var d = br(o.padding, r), g = Ve(f), h = a === "y" ? L : N, O = a === "y" ? I : U, v = r.rects.reference[c] + r.rects.reference[a] - p[a] - r.rects.popper[c], 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[h], m = T - g[c] - d[O], b = T / 2 - g[c] / 2 + w, x = le(u, b, m), C = a;
|
297
300
|
r.modifiersData[n] = (t = {}, t[C] = x, t.centerOffset = x - b, t);
|
298
301
|
}
|
299
302
|
}
|
@@ -327,20 +330,20 @@ function Pr(e, t) {
|
|
327
330
|
};
|
328
331
|
}
|
329
332
|
function ft(e) {
|
330
|
-
var t, r = e.popper, n = e.popperRect, o = e.placement, f = e.variation, p = e.offsets, s = e.position, a = e.gpuAcceleration,
|
331
|
-
x:
|
333
|
+
var t, r = e.popper, n = e.popperRect, o = e.placement, f = e.variation, p = e.offsets, s = e.position, a = e.gpuAcceleration, l = e.adaptive, c = e.roundOffsets, d = e.isFixed, g = p.x, h = g === void 0 ? 0 : g, O = p.y, v = O === void 0 ? 0 : O, y = typeof c == "function" ? c({
|
334
|
+
x: h,
|
332
335
|
y: v
|
333
336
|
}) : {
|
334
|
-
x:
|
337
|
+
x: h,
|
335
338
|
y: v
|
336
339
|
};
|
337
|
-
|
338
|
-
var E = p.hasOwnProperty("x"), T = p.hasOwnProperty("y"), w = N, u = L,
|
339
|
-
if (
|
340
|
+
h = y.x, v = y.y;
|
341
|
+
var E = p.hasOwnProperty("x"), T = p.hasOwnProperty("y"), w = N, u = L, m = window;
|
342
|
+
if (l) {
|
340
343
|
var b = ge(r), x = "clientHeight", C = "clientWidth";
|
341
344
|
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) {
|
342
345
|
u = I;
|
343
|
-
var P = d && b ===
|
346
|
+
var P = d && b === m && m.visualViewport ? m.visualViewport.height : (
|
344
347
|
// $FlowFixMe[prop-missing]
|
345
348
|
b[x]
|
346
349
|
);
|
@@ -348,30 +351,30 @@ function ft(e) {
|
|
348
351
|
}
|
349
352
|
if (o === N || (o === L || o === I) && f === ve) {
|
350
353
|
w = U;
|
351
|
-
var A = d && b ===
|
354
|
+
var A = d && b === m && m.visualViewport ? m.visualViewport.width : (
|
352
355
|
// $FlowFixMe[prop-missing]
|
353
356
|
b[C]
|
354
357
|
);
|
355
|
-
|
358
|
+
h -= A - n.width, h *= a ? 1 : -1;
|
356
359
|
}
|
357
360
|
}
|
358
361
|
var M = Object.assign({
|
359
362
|
position: s
|
360
|
-
},
|
361
|
-
x:
|
363
|
+
}, l && Er), W = c === !0 ? Pr({
|
364
|
+
x: h,
|
362
365
|
y: v
|
363
366
|
}, H(r)) : {
|
364
|
-
x:
|
367
|
+
x: h,
|
365
368
|
y: v
|
366
369
|
};
|
367
|
-
if (
|
370
|
+
if (h = W.x, v = W.y, a) {
|
368
371
|
var k;
|
369
|
-
return Object.assign({}, M, (k = {}, k[u] = T ? "0" : "", k[w] = E ? "0" : "", k.transform = (
|
372
|
+
return Object.assign({}, M, (k = {}, k[u] = T ? "0" : "", k[w] = E ? "0" : "", k.transform = (m.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + v + "px)" : "translate3d(" + h + "px, " + v + "px, 0)", k));
|
370
373
|
}
|
371
|
-
return Object.assign({}, M, (t = {}, t[u] = T ? v + "px" : "", t[w] = E ?
|
374
|
+
return Object.assign({}, M, (t = {}, t[u] = T ? v + "px" : "", t[w] = E ? h + "px" : "", t.transform = "", t));
|
372
375
|
}
|
373
376
|
function Rr(e) {
|
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,
|
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, l = {
|
375
378
|
placement: _(t.placement),
|
376
379
|
variation: ae(t.placement),
|
377
380
|
popper: t.elements.popper,
|
@@ -379,12 +382,12 @@ function Rr(e) {
|
|
379
382
|
gpuAcceleration: o,
|
380
383
|
isFixed: t.options.strategy === "fixed"
|
381
384
|
};
|
382
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, ft(Object.assign({},
|
385
|
+
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, ft(Object.assign({}, l, {
|
383
386
|
offsets: t.modifiersData.popperOffsets,
|
384
387
|
position: t.options.strategy,
|
385
388
|
adaptive: p,
|
386
389
|
roundOffsets: a
|
387
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, ft(Object.assign({},
|
390
|
+
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, ft(Object.assign({}, l, {
|
388
391
|
offsets: t.modifiersData.arrow,
|
389
392
|
position: "absolute",
|
390
393
|
adaptive: !1,
|
@@ -404,12 +407,12 @@ var xe = {
|
|
404
407
|
passive: !0
|
405
408
|
};
|
406
409
|
function jr(e) {
|
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),
|
408
|
-
return f &&
|
409
|
-
|
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), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
411
|
+
return f && l.forEach(function(c) {
|
412
|
+
c.addEventListener("scroll", r.update, xe);
|
410
413
|
}), s && a.addEventListener("resize", r.update, xe), function() {
|
411
|
-
f &&
|
412
|
-
|
414
|
+
f && l.forEach(function(c) {
|
415
|
+
c.removeEventListener("scroll", r.update, xe);
|
413
416
|
}), s && a.removeEventListener("resize", r.update, xe);
|
414
417
|
};
|
415
418
|
}
|
@@ -456,8 +459,8 @@ function $r(e, t) {
|
|
456
459
|
var r = H(e), n = J(e), o = r.visualViewport, f = n.clientWidth, p = n.clientHeight, s = 0, a = 0;
|
457
460
|
if (o) {
|
458
461
|
f = o.width, p = o.height;
|
459
|
-
var
|
460
|
-
(
|
462
|
+
var l = yt();
|
463
|
+
(l || !l && t === "fixed") && (s = o.offsetLeft, a = o.offsetTop);
|
461
464
|
}
|
462
465
|
return {
|
463
466
|
width: f,
|
@@ -503,8 +506,8 @@ function kr(e, t) {
|
|
503
506
|
var r = ie(e, !1, t === "fixed");
|
504
507
|
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;
|
505
508
|
}
|
506
|
-
function
|
507
|
-
return t ===
|
509
|
+
function ct(e, t, r) {
|
510
|
+
return t === mt ? We($r(e, r)) : te(t) ? kr(t, r) : We(Mr(J(e)));
|
508
511
|
}
|
509
512
|
function Sr(e) {
|
510
513
|
var t = ue(je(e)), r = ["absolute", "fixed"].indexOf(Y(e).position) >= 0, n = r && V(e) ? ge(e) : e;
|
@@ -513,10 +516,10 @@ function Sr(e) {
|
|
513
516
|
}) : [];
|
514
517
|
}
|
515
518
|
function Br(e, t, r, n) {
|
516
|
-
var o = t === "clippingParents" ? Sr(e) : [].concat(t), f = [].concat(o, [r]), p = f[0], s = f.reduce(function(a,
|
517
|
-
var
|
518
|
-
return a.top = ee(
|
519
|
-
},
|
519
|
+
var o = t === "clippingParents" ? Sr(e) : [].concat(t), f = [].concat(o, [r]), p = f[0], s = f.reduce(function(a, l) {
|
520
|
+
var c = ct(e, l, n);
|
521
|
+
return a.top = ee(c.top, a.top), a.right = Pe(c.right, a.right), a.bottom = Pe(c.bottom, a.bottom), a.left = ee(c.left, a.left), a;
|
522
|
+
}, ct(e, p, n));
|
520
523
|
return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
|
521
524
|
}
|
522
525
|
function Pt(e) {
|
@@ -552,33 +555,33 @@ function Pt(e) {
|
|
552
555
|
y: t.y
|
553
556
|
};
|
554
557
|
}
|
555
|
-
var
|
556
|
-
if (
|
557
|
-
var
|
558
|
+
var l = o ? Ie(o) : null;
|
559
|
+
if (l != null) {
|
560
|
+
var c = l === "y" ? "height" : "width";
|
558
561
|
switch (f) {
|
559
562
|
case ne:
|
560
|
-
a[
|
563
|
+
a[l] = a[l] - (t[c] / 2 - r[c] / 2);
|
561
564
|
break;
|
562
565
|
case ve:
|
563
|
-
a[
|
566
|
+
a[l] = a[l] + (t[c] / 2 - r[c] / 2);
|
564
567
|
break;
|
565
568
|
}
|
566
569
|
}
|
567
570
|
return a;
|
568
571
|
}
|
569
|
-
function
|
572
|
+
function he(e, t) {
|
570
573
|
t === void 0 && (t = {});
|
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,
|
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, l = r.rootBoundary, c = l === void 0 ? mt : l, d = r.elementContext, g = d === void 0 ? ce : d, h = r.altBoundary, O = h === void 0 ? !1 : h, v = r.padding, y = v === void 0 ? 0 : v, E = xt(typeof y != "number" ? y : Ot(y, me)), T = g === ce ? rr : ce, w = e.rects.popper, u = e.elements[O ? T : g], m = Br(te(u) ? u : u.contextElement || J(e.elements.popper), a, c, p), b = ie(e.elements.reference), x = Pt({
|
572
575
|
reference: b,
|
573
576
|
element: w,
|
574
577
|
placement: o
|
575
|
-
}), C = We(Object.assign({}, w, x)), P = g ===
|
576
|
-
top:
|
577
|
-
bottom: P.bottom -
|
578
|
-
left:
|
579
|
-
right: P.right -
|
578
|
+
}), C = We(Object.assign({}, w, x)), P = g === ce ? C : b, A = {
|
579
|
+
top: m.top - P.top + E.top,
|
580
|
+
bottom: P.bottom - m.bottom + E.bottom,
|
581
|
+
left: m.left - P.left + E.left,
|
582
|
+
right: P.right - m.right + E.right
|
580
583
|
}, M = e.modifiersData.offset;
|
581
|
-
if (g ===
|
584
|
+
if (g === ce && M) {
|
582
585
|
var W = M[o];
|
583
586
|
Object.keys(A).forEach(function(k) {
|
584
587
|
var F = [U, I].indexOf(k) >= 0 ? 1 : -1, R = [L, I].indexOf(k) >= 0 ? "y" : "x";
|
@@ -589,22 +592,22 @@ function me(e, t) {
|
|
589
592
|
}
|
590
593
|
function Wr(e, t) {
|
591
594
|
t === void 0 && (t = {});
|
592
|
-
var r = t, n = r.placement, o = r.boundary, f = r.rootBoundary, p = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements,
|
593
|
-
return ae(O) ===
|
594
|
-
}) :
|
595
|
-
return
|
595
|
+
var r = t, n = r.placement, o = r.boundary, f = r.rootBoundary, p = r.padding, s = r.flipVariations, a = r.allowedAutoPlacements, l = a === void 0 ? gt : a, c = ae(n), d = c ? s ? at : at.filter(function(O) {
|
596
|
+
return ae(O) === c;
|
597
|
+
}) : me, g = d.filter(function(O) {
|
598
|
+
return l.indexOf(O) >= 0;
|
596
599
|
});
|
597
600
|
g.length === 0 && (g = d);
|
598
|
-
var
|
599
|
-
return O[v] =
|
601
|
+
var h = g.reduce(function(O, v) {
|
602
|
+
return O[v] = he(e, {
|
600
603
|
placement: v,
|
601
604
|
boundary: o,
|
602
605
|
rootBoundary: f,
|
603
606
|
padding: p
|
604
607
|
})[_(v)], O;
|
605
608
|
}, {});
|
606
|
-
return Object.keys(
|
607
|
-
return
|
609
|
+
return Object.keys(h).sort(function(O, v) {
|
610
|
+
return h[O] - h[v];
|
608
611
|
});
|
609
612
|
}
|
610
613
|
function Lr(e) {
|
@@ -616,24 +619,24 @@ function Lr(e) {
|
|
616
619
|
function Nr(e) {
|
617
620
|
var t = e.state, r = e.options, n = e.name;
|
618
621
|
if (!t.modifiersData[n]._skip) {
|
619
|
-
for (var o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !0 : p, a = r.fallbackPlacements,
|
622
|
+
for (var o = r.mainAxis, f = o === void 0 ? !0 : o, p = r.altAxis, s = p === void 0 ? !0 : p, a = r.fallbackPlacements, l = r.padding, c = r.boundary, d = r.rootBoundary, g = r.altBoundary, h = r.flipVariations, O = h === void 0 ? !0 : h, 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) {
|
620
623
|
return re.concat(_(G) === Ne ? Wr(t, {
|
621
624
|
placement: G,
|
622
|
-
boundary:
|
625
|
+
boundary: c,
|
623
626
|
rootBoundary: d,
|
624
|
-
padding:
|
627
|
+
padding: l,
|
625
628
|
flipVariations: O,
|
626
629
|
allowedAutoPlacements: v
|
627
630
|
}) : G);
|
628
|
-
}, []),
|
629
|
-
var M = u[A], W = _(M), k = ae(M) === ne, F = [L, I].indexOf(W) >= 0, R = F ? "width" : "height", j =
|
631
|
+
}, []), m = t.rects.reference, b = t.rects.popper, x = /* @__PURE__ */ new Map(), C = !0, P = u[0], A = 0; A < u.length; A++) {
|
632
|
+
var M = u[A], W = _(M), k = ae(M) === ne, F = [L, I].indexOf(W) >= 0, R = F ? "width" : "height", j = he(t, {
|
630
633
|
placement: M,
|
631
|
-
boundary:
|
634
|
+
boundary: c,
|
632
635
|
rootBoundary: d,
|
633
636
|
altBoundary: g,
|
634
|
-
padding:
|
637
|
+
padding: l
|
635
638
|
}), $ = F ? k ? U : N : k ? I : L;
|
636
|
-
|
639
|
+
m[R] > b[R] && ($ = Oe($));
|
637
640
|
var S = Oe($), B = [];
|
638
641
|
if (f && B.push(j[W] <= 0), s && B.push(j[$] <= 0, j[S] <= 0), B.every(function(re) {
|
639
642
|
return re;
|
@@ -671,7 +674,7 @@ const Hr = {
|
|
671
674
|
_skip: !1
|
672
675
|
}
|
673
676
|
};
|
674
|
-
function
|
677
|
+
function lt(e, t, r) {
|
675
678
|
return r === void 0 && (r = {
|
676
679
|
x: 0,
|
677
680
|
y: 0
|
@@ -688,18 +691,18 @@ function ut(e) {
|
|
688
691
|
});
|
689
692
|
}
|
690
693
|
function Vr(e) {
|
691
|
-
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, f = t.modifiersData.preventOverflow, p =
|
694
|
+
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, f = t.modifiersData.preventOverflow, p = he(t, {
|
692
695
|
elementContext: "reference"
|
693
|
-
}), s =
|
696
|
+
}), s = he(t, {
|
694
697
|
altBoundary: !0
|
695
|
-
}), a =
|
698
|
+
}), a = lt(p, n), l = lt(s, o, f), c = ut(a), d = ut(l);
|
696
699
|
t.modifiersData[r] = {
|
697
700
|
referenceClippingOffsets: a,
|
698
|
-
popperEscapeOffsets:
|
699
|
-
isReferenceHidden:
|
701
|
+
popperEscapeOffsets: l,
|
702
|
+
isReferenceHidden: c,
|
700
703
|
hasPopperEscaped: d
|
701
704
|
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
702
|
-
"data-popper-reference-hidden":
|
705
|
+
"data-popper-reference-hidden": c,
|
703
706
|
"data-popper-escaped": d
|
704
707
|
});
|
705
708
|
}
|
@@ -723,10 +726,10 @@ function Ur(e, t, r) {
|
|
723
726
|
};
|
724
727
|
}
|
725
728
|
function qr(e) {
|
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(
|
727
|
-
return
|
728
|
-
}, {}), s = p[t.placement], a = s.x,
|
729
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y +=
|
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(c, d) {
|
730
|
+
return c[d] = Ur(d, t.rects, f), c;
|
731
|
+
}, {}), s = p[t.placement], a = s.x, l = s.y;
|
732
|
+
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += a, t.modifiersData.popperOffsets.y += l), t.modifiersData[n] = p;
|
730
733
|
}
|
731
734
|
const Fr = {
|
732
735
|
name: "offset",
|
@@ -754,12 +757,12 @@ function zr(e) {
|
|
754
757
|
return e === "x" ? "y" : "x";
|
755
758
|
}
|
756
759
|
function Yr(e) {
|
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,
|
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, l = r.rootBoundary, c = r.altBoundary, d = r.padding, g = r.tether, h = g === void 0 ? !0 : g, O = r.tetherOffset, v = O === void 0 ? 0 : O, y = he(t, {
|
758
761
|
boundary: a,
|
759
|
-
rootBoundary:
|
762
|
+
rootBoundary: l,
|
760
763
|
padding: d,
|
761
|
-
altBoundary:
|
762
|
-
}), E = _(t.placement), T = ae(t.placement), w = !T, u = Ie(E),
|
764
|
+
altBoundary: c
|
765
|
+
}), E = _(t.placement), T = ae(t.placement), w = !T, u = Ie(E), m = zr(u), b = t.modifiersData.popperOffsets, x = t.rects.reference, C = t.rects.popper, P = typeof v == "function" ? v(Object.assign({}, t.rects, {
|
763
766
|
placement: t.placement
|
764
767
|
})) : v, A = typeof P == "number" ? {
|
765
768
|
mainAxis: P,
|
@@ -773,15 +776,15 @@ function Yr(e) {
|
|
773
776
|
};
|
774
777
|
if (b) {
|
775
778
|
if (f) {
|
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 =
|
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 = h ? -C[j] / 2 : 0, De = T === ne ? x[j] : C[j], se = T === ne ? -C[j] : -x[j], ye = t.elements.arrow, re = h && ye ? Ve(ye) : {
|
777
780
|
width: 0,
|
778
781
|
height: 0
|
779
|
-
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wt(), fe = G[F], be = G[R], Q =
|
782
|
+
}, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wt(), fe = G[F], be = G[R], Q = le(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 = le(h ? Pe(S, Dt) : S, $, h ? ee(B, Ct) : B);
|
780
783
|
b[u] = Xe, W[u] = Xe - $;
|
781
784
|
}
|
782
785
|
if (s) {
|
783
|
-
var ze, $t = u === "x" ? L : N, Mt = u === "x" ? I : U, Z = b[
|
784
|
-
b[
|
786
|
+
var ze, $t = u === "x" ? L : N, Mt = u === "x" ? I : U, Z = b[m], we = m === "y" ? "height" : "width", Ye = Z + y[$t], Ge = Z - y[Mt], Me = [L, N].indexOf(E) !== -1, Ke = (ze = M == null ? void 0 : M[m]) != 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 = h && Me ? yr(Je, Z, Qe) : le(h ? Je : Ye, Z, h ? Qe : Ge);
|
787
|
+
b[m] = Ze, W[m] = Ze - Z;
|
785
788
|
}
|
786
789
|
t.modifiersData[n] = W;
|
787
790
|
}
|
@@ -887,9 +890,9 @@ function vt() {
|
|
887
890
|
function on(e) {
|
888
891
|
e === void 0 && (e = {});
|
889
892
|
var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, f = o === void 0 ? dt : o;
|
890
|
-
return function(s, a,
|
891
|
-
|
892
|
-
var
|
893
|
+
return function(s, a, l) {
|
894
|
+
l === void 0 && (l = f);
|
895
|
+
var c = {
|
893
896
|
placement: "bottom",
|
894
897
|
orderedModifiers: [],
|
895
898
|
options: Object.assign({}, dt, f),
|
@@ -900,18 +903,18 @@ function on(e) {
|
|
900
903
|
},
|
901
904
|
attributes: {},
|
902
905
|
styles: {}
|
903
|
-
}, d = [], g = !1,
|
904
|
-
state:
|
906
|
+
}, d = [], g = !1, h = {
|
907
|
+
state: c,
|
905
908
|
setOptions: function(E) {
|
906
|
-
var T = typeof E == "function" ? E(
|
907
|
-
v(),
|
909
|
+
var T = typeof E == "function" ? E(c.options) : E;
|
910
|
+
v(), c.options = Object.assign({}, f, c.options, T), c.scrollParents = {
|
908
911
|
reference: te(s) ? ue(s) : s.contextElement ? ue(s.contextElement) : [],
|
909
912
|
popper: ue(a)
|
910
913
|
};
|
911
|
-
var w = tn(nn([].concat(n,
|
912
|
-
return
|
914
|
+
var w = tn(nn([].concat(n, c.options.modifiers)));
|
915
|
+
return c.orderedModifiers = w.filter(function(u) {
|
913
916
|
return u.enabled;
|
914
|
-
}), O(),
|
917
|
+
}), O(), h.update();
|
915
918
|
},
|
916
919
|
// Sync update – it will always be executed, even if not necessary. This
|
917
920
|
// is useful for low frequency updates where sync behavior simplifies the
|
@@ -920,26 +923,26 @@ function on(e) {
|
|
920
923
|
// prefer the async Popper#update method
|
921
924
|
forceUpdate: function() {
|
922
925
|
if (!g) {
|
923
|
-
var E =
|
926
|
+
var E = c.elements, T = E.reference, w = E.popper;
|
924
927
|
if (vt(T, w)) {
|
925
|
-
|
926
|
-
reference: Zr(T, ge(w),
|
928
|
+
c.rects = {
|
929
|
+
reference: Zr(T, ge(w), c.options.strategy === "fixed"),
|
927
930
|
popper: Ve(w)
|
928
|
-
},
|
929
|
-
return
|
931
|
+
}, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(A) {
|
932
|
+
return c.modifiersData[A.name] = Object.assign({}, A.data);
|
930
933
|
});
|
931
|
-
for (var u = 0; u <
|
932
|
-
if (
|
933
|
-
|
934
|
+
for (var u = 0; u < c.orderedModifiers.length; u++) {
|
935
|
+
if (c.reset === !0) {
|
936
|
+
c.reset = !1, u = -1;
|
934
937
|
continue;
|
935
938
|
}
|
936
|
-
var
|
937
|
-
typeof b == "function" && (
|
938
|
-
state:
|
939
|
+
var m = c.orderedModifiers[u], b = m.fn, x = m.options, C = x === void 0 ? {} : x, P = m.name;
|
940
|
+
typeof b == "function" && (c = b({
|
941
|
+
state: c,
|
939
942
|
options: C,
|
940
943
|
name: P,
|
941
|
-
instance:
|
942
|
-
}) ||
|
944
|
+
instance: h
|
945
|
+
}) || c);
|
943
946
|
}
|
944
947
|
}
|
945
948
|
}
|
@@ -948,7 +951,7 @@ function on(e) {
|
|
948
951
|
// not necessary (debounced to run at most once-per-tick)
|
949
952
|
update: rn(function() {
|
950
953
|
return new Promise(function(y) {
|
951
|
-
|
954
|
+
h.forceUpdate(), y(c);
|
952
955
|
});
|
953
956
|
}),
|
954
957
|
destroy: function() {
|
@@ -956,22 +959,22 @@ function on(e) {
|
|
956
959
|
}
|
957
960
|
};
|
958
961
|
if (!vt(s, a))
|
959
|
-
return
|
960
|
-
|
961
|
-
!g &&
|
962
|
+
return h;
|
963
|
+
h.setOptions(l).then(function(y) {
|
964
|
+
!g && l.onFirstUpdate && l.onFirstUpdate(y);
|
962
965
|
});
|
963
966
|
function O() {
|
964
|
-
|
967
|
+
c.orderedModifiers.forEach(function(y) {
|
965
968
|
var E = y.name, T = y.options, w = T === void 0 ? {} : T, u = y.effect;
|
966
969
|
if (typeof u == "function") {
|
967
|
-
var
|
968
|
-
state:
|
970
|
+
var m = u({
|
971
|
+
state: c,
|
969
972
|
name: E,
|
970
|
-
instance:
|
973
|
+
instance: h,
|
971
974
|
options: w
|
972
975
|
}), b = function() {
|
973
976
|
};
|
974
|
-
d.push(
|
977
|
+
d.push(m || b);
|
975
978
|
}
|
976
979
|
});
|
977
980
|
}
|
@@ -980,18 +983,18 @@ function on(e) {
|
|
980
983
|
return y();
|
981
984
|
}), d = [];
|
982
985
|
}
|
983
|
-
return
|
986
|
+
return h;
|
984
987
|
};
|
985
988
|
}
|
986
|
-
var an = [Ar, Xr, Tr,
|
989
|
+
var an = [Ar, Xr, Tr, hr, Fr, Hr, Gr, Or, Ir], sn = /* @__PURE__ */ on({
|
987
990
|
defaultModifiers: an
|
988
991
|
});
|
989
992
|
function fn(e) {
|
990
993
|
return Wt("MuiPopper", e);
|
991
994
|
}
|
992
995
|
Lt("MuiPopper", ["root"]);
|
993
|
-
const pn = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
|
994
|
-
function
|
996
|
+
const pn = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"], cn = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
997
|
+
function ln(e, t) {
|
995
998
|
if (t === "ltr")
|
996
999
|
return e;
|
997
1000
|
switch (e) {
|
@@ -1023,7 +1026,7 @@ const dn = (e) => {
|
|
1023
1026
|
return Nt({
|
1024
1027
|
root: ["root"]
|
1025
1028
|
}, fn, t);
|
1026
|
-
}, vn = {},
|
1029
|
+
}, vn = {}, hn = /* @__PURE__ */ D.forwardRef(function(t, r) {
|
1027
1030
|
var n;
|
1028
1031
|
const {
|
1029
1032
|
anchorEl: o,
|
@@ -1031,33 +1034,34 @@ const dn = (e) => {
|
|
1031
1034
|
direction: p,
|
1032
1035
|
disablePortal: s,
|
1033
1036
|
modifiers: a,
|
1034
|
-
open:
|
1035
|
-
placement:
|
1037
|
+
open: l,
|
1038
|
+
placement: c,
|
1036
1039
|
popperOptions: d,
|
1037
1040
|
popperRef: g,
|
1038
|
-
slotProps:
|
1041
|
+
slotProps: h = {},
|
1039
1042
|
slots: O = {},
|
1040
1043
|
TransitionProps: v
|
1041
1044
|
// @ts-ignore internal logic
|
1042
1045
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
1043
|
-
} = t, y = Te(t, pn), E = D.useRef(null), T = Se(E, r), w = D.useRef(null), u = Se(w, g),
|
1046
|
+
} = t, y = Te(t, pn), E = D.useRef(null), T = Se(E, r), w = D.useRef(null), u = Se(w, g), m = D.useRef(u);
|
1044
1047
|
tt(() => {
|
1045
|
-
|
1048
|
+
m.current = u;
|
1046
1049
|
}, [u]), D.useImperativeHandle(g, () => w.current, []);
|
1047
|
-
const b =
|
1050
|
+
const b = ln(c, p), [x, C] = D.useState(b), [P, A] = D.useState(Re(o));
|
1048
1051
|
D.useEffect(() => {
|
1049
1052
|
w.current && w.current.forceUpdate();
|
1050
1053
|
}), D.useEffect(() => {
|
1051
1054
|
o && A(Re(o));
|
1052
1055
|
}, [o]), tt(() => {
|
1053
|
-
if (!P || !
|
1056
|
+
if (!P || !l)
|
1054
1057
|
return;
|
1055
1058
|
const R = (S) => {
|
1056
1059
|
C(S.placement);
|
1057
1060
|
};
|
1058
1061
|
if (K.env.NODE_ENV !== "production" && P && Ae(P) && P.nodeType === 1) {
|
1059
1062
|
const S = P.getBoundingClientRect();
|
1060
|
-
K.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom
|
1063
|
+
K.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
1064
|
+
`));
|
1061
1065
|
}
|
1062
1066
|
let j = [{
|
1063
1067
|
name: "preventOverflow",
|
@@ -1085,17 +1089,17 @@ const dn = (e) => {
|
|
1085
1089
|
}, d, {
|
1086
1090
|
modifiers: j
|
1087
1091
|
}));
|
1088
|
-
return
|
1089
|
-
$.destroy(),
|
1092
|
+
return m.current($), () => {
|
1093
|
+
$.destroy(), m.current(null);
|
1090
1094
|
};
|
1091
|
-
}, [P, s, a,
|
1095
|
+
}, [P, s, a, l, d, b]);
|
1092
1096
|
const M = {
|
1093
1097
|
placement: x
|
1094
1098
|
};
|
1095
1099
|
v !== null && (M.TransitionProps = v);
|
1096
1100
|
const W = dn(t), k = (n = O.root) != null ? n : "div", F = Ut({
|
1097
1101
|
elementType: k,
|
1098
|
-
externalSlotProps:
|
1102
|
+
externalSlotProps: h.root,
|
1099
1103
|
externalForwardedProps: y,
|
1100
1104
|
additionalProps: {
|
1101
1105
|
role: "tooltip",
|
@@ -1115,21 +1119,21 @@ const dn = (e) => {
|
|
1115
1119
|
direction: p = "ltr",
|
1116
1120
|
disablePortal: s = !1,
|
1117
1121
|
keepMounted: a = !1,
|
1118
|
-
modifiers:
|
1119
|
-
open:
|
1122
|
+
modifiers: l,
|
1123
|
+
open: c,
|
1120
1124
|
placement: d = "bottom",
|
1121
1125
|
popperOptions: g = vn,
|
1122
|
-
popperRef:
|
1126
|
+
popperRef: h,
|
1123
1127
|
style: O,
|
1124
1128
|
transition: v = !1,
|
1125
1129
|
slotProps: y = {},
|
1126
1130
|
slots: E = {}
|
1127
|
-
} = t, T = Te(t,
|
1131
|
+
} = t, T = Te(t, cn), [w, u] = D.useState(!0), m = () => {
|
1128
1132
|
u(!1);
|
1129
1133
|
}, b = () => {
|
1130
1134
|
u(!0);
|
1131
1135
|
};
|
1132
|
-
if (!a && !
|
1136
|
+
if (!a && !c && (!v || w))
|
1133
1137
|
return null;
|
1134
1138
|
let x;
|
1135
1139
|
if (f)
|
@@ -1138,24 +1142,24 @@ const dn = (e) => {
|
|
1138
1142
|
const A = Re(n);
|
1139
1143
|
x = A && Ae(A) ? et(A).body : et(null).body;
|
1140
1144
|
}
|
1141
|
-
const C = !
|
1142
|
-
in:
|
1143
|
-
onEnter:
|
1145
|
+
const C = !c && a && (!v || w) ? "none" : void 0, P = v ? {
|
1146
|
+
in: c,
|
1147
|
+
onEnter: m,
|
1144
1148
|
onExited: b
|
1145
1149
|
} : void 0;
|
1146
1150
|
return /* @__PURE__ */ de(It, {
|
1147
1151
|
disablePortal: s,
|
1148
1152
|
container: x,
|
1149
|
-
children: /* @__PURE__ */ de(
|
1153
|
+
children: /* @__PURE__ */ de(hn, z({
|
1150
1154
|
anchorEl: n,
|
1151
1155
|
direction: p,
|
1152
1156
|
disablePortal: s,
|
1153
|
-
modifiers:
|
1157
|
+
modifiers: l,
|
1154
1158
|
ref: r,
|
1155
|
-
open: v ? !w :
|
1159
|
+
open: v ? !w : c,
|
1156
1160
|
placement: d,
|
1157
1161
|
popperOptions: g,
|
1158
|
-
popperRef:
|
1162
|
+
popperRef: h,
|
1159
1163
|
slotProps: y,
|
1160
1164
|
slots: E
|
1161
1165
|
}, T, {
|
@@ -1271,7 +1275,7 @@ K.env.NODE_ENV !== "production" && (Rt.propTypes = {
|
|
1271
1275
|
/**
|
1272
1276
|
* A ref that points to the used popper instance.
|
1273
1277
|
*/
|
1274
|
-
popperRef:
|
1278
|
+
popperRef: ht,
|
1275
1279
|
/**
|
1276
1280
|
* The props used for each slot inside the Popper.
|
1277
1281
|
* @default {}
|
@@ -1293,7 +1297,7 @@ K.env.NODE_ENV !== "production" && (Rt.propTypes = {
|
|
1293
1297
|
*/
|
1294
1298
|
transition: i.bool
|
1295
1299
|
});
|
1296
|
-
const
|
1300
|
+
const mn = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"], gn = Vt(Rt, {
|
1297
1301
|
name: "MuiPopper",
|
1298
1302
|
slot: "Root",
|
1299
1303
|
overridesResolver: (e, t) => t.root
|
@@ -1306,11 +1310,11 @@ const hn = ["anchorEl", "component", "components", "componentsProps", "container
|
|
1306
1310
|
anchorEl: p,
|
1307
1311
|
component: s,
|
1308
1312
|
components: a,
|
1309
|
-
componentsProps:
|
1310
|
-
container:
|
1313
|
+
componentsProps: l,
|
1314
|
+
container: c,
|
1311
1315
|
disablePortal: d,
|
1312
1316
|
keepMounted: g,
|
1313
|
-
modifiers:
|
1317
|
+
modifiers: h,
|
1314
1318
|
open: O,
|
1315
1319
|
placement: v,
|
1316
1320
|
popperOptions: y,
|
@@ -1318,25 +1322,25 @@ const hn = ["anchorEl", "component", "components", "componentsProps", "container
|
|
1318
1322
|
transition: T,
|
1319
1323
|
slots: w,
|
1320
1324
|
slotProps: u
|
1321
|
-
} = f,
|
1325
|
+
} = f, m = Te(f, mn), b = (n = w == null ? void 0 : w.root) != null ? n : a == null ? void 0 : a.Root, x = z({
|
1322
1326
|
anchorEl: p,
|
1323
|
-
container:
|
1327
|
+
container: c,
|
1324
1328
|
disablePortal: d,
|
1325
1329
|
keepMounted: g,
|
1326
|
-
modifiers:
|
1330
|
+
modifiers: h,
|
1327
1331
|
open: O,
|
1328
1332
|
placement: v,
|
1329
1333
|
popperOptions: y,
|
1330
1334
|
popperRef: E,
|
1331
1335
|
transition: T
|
1332
|
-
},
|
1336
|
+
}, m);
|
1333
1337
|
return /* @__PURE__ */ de(gn, z({
|
1334
1338
|
as: s,
|
1335
1339
|
direction: o == null ? void 0 : o.direction,
|
1336
1340
|
slots: {
|
1337
1341
|
root: b
|
1338
1342
|
},
|
1339
|
-
slotProps: u ??
|
1343
|
+
slotProps: u ?? l
|
1340
1344
|
}, x, {
|
1341
1345
|
ref: r
|
1342
1346
|
}));
|
@@ -1442,7 +1446,7 @@ K.env.NODE_ENV !== "production" && (yn.propTypes = {
|
|
1442
1446
|
/**
|
1443
1447
|
* A ref that points to the used popper instance.
|
1444
1448
|
*/
|
1445
|
-
popperRef:
|
1449
|
+
popperRef: ht,
|
1446
1450
|
/**
|
1447
1451
|
* The props used for each slot inside the Popper.
|
1448
1452
|
* @default {}
|
@@ -1489,21 +1493,21 @@ const wn = {
|
|
1489
1493
|
easing: p,
|
1490
1494
|
in: s,
|
1491
1495
|
onEnter: a,
|
1492
|
-
onEntered:
|
1493
|
-
onEntering:
|
1496
|
+
onEntered: l,
|
1497
|
+
onEntering: c,
|
1494
1498
|
onExit: d,
|
1495
1499
|
onExited: g,
|
1496
|
-
onExiting:
|
1500
|
+
onExiting: h,
|
1497
1501
|
style: O,
|
1498
1502
|
timeout: v = "auto",
|
1499
1503
|
// eslint-disable-next-line react/prop-types
|
1500
1504
|
TransitionComponent: y = Ft
|
1501
|
-
} = t, E = Te(t, bn), T = _t(), w = D.useRef(), u = Xt(),
|
1505
|
+
} = t, E = Te(t, bn), T = _t(), w = D.useRef(), u = Xt(), m = D.useRef(null), b = Se(m, zt(f), r), x = (R) => (j) => {
|
1502
1506
|
if (R) {
|
1503
|
-
const $ =
|
1507
|
+
const $ = m.current;
|
1504
1508
|
j === void 0 ? R($) : R($, j);
|
1505
1509
|
}
|
1506
|
-
}, C = x(
|
1510
|
+
}, C = x(c), P = x((R, j) => {
|
1507
1511
|
Yt(R);
|
1508
1512
|
const {
|
1509
1513
|
duration: $,
|
@@ -1525,7 +1529,7 @@ const wn = {
|
|
1525
1529
|
delay: S,
|
1526
1530
|
easing: B
|
1527
1531
|
})].join(","), a && a(R, j);
|
1528
|
-
}), A = x(
|
1532
|
+
}), A = x(l), M = x(h), W = x((R) => {
|
1529
1533
|
const {
|
1530
1534
|
duration: j,
|
1531
1535
|
delay: $,
|
@@ -1550,7 +1554,7 @@ const wn = {
|
|
1550
1554
|
return /* @__PURE__ */ de(y, z({
|
1551
1555
|
appear: o,
|
1552
1556
|
in: s,
|
1553
|
-
nodeRef:
|
1557
|
+
nodeRef: m,
|
1554
1558
|
onEnter: P,
|
1555
1559
|
onEntered: A,
|
1556
1560
|
onEntering: C,
|
@@ -1558,7 +1562,7 @@ const wn = {
|
|
1558
1562
|
onExited: k,
|
1559
1563
|
onExiting: M,
|
1560
1564
|
addEndListener: (R) => {
|
1561
|
-
v === "auto" && T.start(w.current || 0, R), n && n(
|
1565
|
+
v === "auto" && T.start(w.current || 0, R), n && n(m.current, R);
|
1562
1566
|
},
|
1563
1567
|
timeout: v === "auto" ? null : v
|
1564
1568
|
}, E, {
|