@notificationapi/react 1.4.1 → 1.5.0

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.
Files changed (44) hide show
  1. package/dist/assets/Badge.js +1 -1
  2. package/dist/assets/Box.js +13 -13
  3. package/dist/assets/Button.js +781 -0
  4. package/dist/assets/ButtonBase.js +409 -622
  5. package/dist/assets/DefaultPropsProvider.js +220 -215
  6. package/dist/assets/Divider.js +105 -154
  7. package/dist/assets/Grow.js +201 -0
  8. package/dist/assets/IconButton.js +1 -1
  9. package/dist/assets/List.js +142 -0
  10. package/dist/assets/Modal.js +1094 -0
  11. package/dist/assets/Notification.js +71 -71
  12. package/dist/assets/Paper.js +1 -1
  13. package/dist/assets/Popover.js +8 -6
  14. package/dist/assets/Portal.js +2 -2
  15. package/dist/assets/Stack.js +216 -0
  16. package/dist/assets/Typography.js +193 -117
  17. package/dist/assets/WebPushOptInMessage.js +40 -814
  18. package/dist/assets/createSvgIcon.js +5 -5
  19. package/dist/assets/dividerClasses.js +56 -0
  20. package/dist/assets/index.js +151 -0
  21. package/dist/assets/useTheme2.js +253 -11
  22. package/dist/assets/utils.js +4 -4
  23. package/dist/components/Notifications/Inbox.js +2927 -9
  24. package/dist/components/Notifications/InboxHeader.js +2146 -7
  25. package/dist/components/Notifications/NotificationFeed.js +13 -13
  26. package/dist/components/Notifications/NotificationLauncher.js +2 -2
  27. package/dist/components/Notifications/NotificationPopup.js +7 -7
  28. package/dist/components/Preferences/NotificationPreferencesPopup.js +608 -7
  29. package/dist/components/Preferences/PreferenceInput.js +1451 -6
  30. package/dist/components/Preferences/Preferences.js +368 -515
  31. package/dist/components/Preferences/index.js +1 -1
  32. package/dist/components/Provider/index.js +226 -202
  33. package/dist/components/Slack/SlackConnect.d.ts +12 -0
  34. package/dist/components/Slack/SlackConnect.js +4826 -0
  35. package/dist/components/Slack/index.d.ts +1 -0
  36. package/dist/components/Slack/index.js +4 -0
  37. package/dist/components/WebPush/WebPushOptInMessage.js +3 -2
  38. package/dist/main.d.ts +1 -0
  39. package/dist/main.js +5 -3
  40. package/package.json +4 -4
  41. package/dist/assets/Inbox.js +0 -3061
  42. package/dist/assets/InboxHeader.js +0 -2338
  43. package/dist/assets/NotificationPreferencesPopup.js +0 -1694
  44. package/dist/assets/PreferenceInput.js +0 -1657
@@ -1,9 +1,2148 @@
1
- import "react/jsx-runtime";
2
- import "../../assets/Typography.js";
3
- import "../../assets/Box.js";
4
- import { I as a } from "../../assets/InboxHeader.js";
5
- import "../../assets/IconButton.js";
6
- import "../../assets/Divider.js";
1
+ import { jsx as k, jsxs as Be, Fragment as mo } from "react/jsx-runtime";
2
+ import { T as vo } from "../../assets/Typography.js";
3
+ import { B as ho } from "../../assets/Box.js";
4
+ import * as M from "react";
5
+ import { g as Wt, e as It, P as r, b as Ht, s as ot, u as Vt, m as ut, h as Ft, a as Ut, c as xt } from "../../assets/DefaultPropsProvider.js";
6
+ import { u as zt, G as go } from "../../assets/Grow.js";
7
+ import { u as yo } from "../../assets/useTheme.js";
8
+ import { c as bo, r as qt, b as Tt, u as Xe, d as Pt, a as Ge, g as wo, i as Et } from "../../assets/ButtonBase.js";
9
+ import { o as Rt, P as Oo, H as _e, g as xo, e as To } from "../../assets/Portal.js";
10
+ import { u as pt } from "../../assets/resolveComponentProps.js";
11
+ import { u as Po } from "../../assets/useSlotProps.js";
12
+ import { a as Eo, u as Ro } from "../../assets/dividerClasses.js";
13
+ import { I as At } from "../../assets/IconButton.js";
14
+ import { c as Yt } from "../../assets/createSvgIcon.js";
15
+ import { D as Ao } from "../../assets/Divider.js";
16
+ var I = "top", Y = "bottom", X = "right", H = "left", dt = "auto", Ve = [I, Y, X, H], Te = "start", Ie = "end", Co = "clippingParents", Xt = "viewport", Le = "popper", Mo = "reference", Ct = /* @__PURE__ */ Ve.reduce(function(t, e) {
17
+ return t.concat([e + "-" + Te, e + "-" + Ie]);
18
+ }, []), Gt = /* @__PURE__ */ [].concat(Ve, [dt]).reduce(function(t, e) {
19
+ return t.concat([e, e + "-" + Te, e + "-" + Ie]);
20
+ }, []), jo = "beforeRead", Do = "read", So = "afterRead", $o = "beforeMain", Lo = "main", ko = "afterMain", Bo = "beforeWrite", No = "write", Wo = "afterWrite", Io = [jo, Do, So, $o, Lo, ko, Bo, No, Wo];
21
+ function oe(t) {
22
+ return t ? (t.nodeName || "").toLowerCase() : null;
23
+ }
24
+ function V(t) {
25
+ if (t == null)
26
+ return window;
27
+ if (t.toString() !== "[object Window]") {
28
+ var e = t.ownerDocument;
29
+ return e && e.defaultView || window;
30
+ }
31
+ return t;
32
+ }
33
+ function me(t) {
34
+ var e = V(t).Element;
35
+ return t instanceof e || t instanceof Element;
36
+ }
37
+ function q(t) {
38
+ var e = V(t).HTMLElement;
39
+ return t instanceof e || t instanceof HTMLElement;
40
+ }
41
+ function mt(t) {
42
+ if (typeof ShadowRoot > "u")
43
+ return !1;
44
+ var e = V(t).ShadowRoot;
45
+ return t instanceof e || t instanceof ShadowRoot;
46
+ }
47
+ function Ho(t) {
48
+ var e = t.state;
49
+ Object.keys(e.elements).forEach(function(o) {
50
+ var n = e.styles[o] || {}, a = e.attributes[o] || {}, s = e.elements[o];
51
+ !q(s) || !oe(s) || (Object.assign(s.style, n), Object.keys(a).forEach(function(c) {
52
+ var i = a[c];
53
+ i === !1 ? s.removeAttribute(c) : s.setAttribute(c, i === !0 ? "" : i);
54
+ }));
55
+ });
56
+ }
57
+ function Vo(t) {
58
+ var e = t.state, o = {
59
+ popper: {
60
+ position: e.options.strategy,
61
+ left: "0",
62
+ top: "0",
63
+ margin: "0"
64
+ },
65
+ arrow: {
66
+ position: "absolute"
67
+ },
68
+ reference: {}
69
+ };
70
+ return Object.assign(e.elements.popper.style, o.popper), e.styles = o, e.elements.arrow && Object.assign(e.elements.arrow.style, o.arrow), function() {
71
+ Object.keys(e.elements).forEach(function(n) {
72
+ var a = e.elements[n], s = e.attributes[n] || {}, c = Object.keys(e.styles.hasOwnProperty(n) ? e.styles[n] : o[n]), i = c.reduce(function(p, f) {
73
+ return p[f] = "", p;
74
+ }, {});
75
+ !q(a) || !oe(a) || (Object.assign(a.style, i), Object.keys(s).forEach(function(p) {
76
+ a.removeAttribute(p);
77
+ }));
78
+ });
79
+ };
80
+ }
81
+ const Fo = {
82
+ name: "applyStyles",
83
+ enabled: !0,
84
+ phase: "write",
85
+ fn: Ho,
86
+ effect: Vo,
87
+ requires: ["computeStyles"]
88
+ };
89
+ function te(t) {
90
+ return t.split("-")[0];
91
+ }
92
+ var de = Math.max, et = Math.min, Pe = Math.round;
93
+ function lt() {
94
+ var t = navigator.userAgentData;
95
+ return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
96
+ return e.brand + "/" + e.version;
97
+ }).join(" ") : navigator.userAgent;
98
+ }
99
+ function Kt() {
100
+ return !/^((?!chrome|android).)*safari/i.test(lt());
101
+ }
102
+ function Ee(t, e, o) {
103
+ e === void 0 && (e = !1), o === void 0 && (o = !1);
104
+ var n = t.getBoundingClientRect(), a = 1, s = 1;
105
+ e && q(t) && (a = t.offsetWidth > 0 && Pe(n.width) / t.offsetWidth || 1, s = t.offsetHeight > 0 && Pe(n.height) / t.offsetHeight || 1);
106
+ var c = me(t) ? V(t) : window, i = c.visualViewport, p = !Kt() && o, f = (n.left + (p && i ? i.offsetLeft : 0)) / a, l = (n.top + (p && i ? i.offsetTop : 0)) / s, g = n.width / a, x = n.height / s;
107
+ return {
108
+ width: g,
109
+ height: x,
110
+ top: l,
111
+ right: f + g,
112
+ bottom: l + x,
113
+ left: f,
114
+ x: f,
115
+ y: l
116
+ };
117
+ }
118
+ function vt(t) {
119
+ var e = Ee(t), o = t.offsetWidth, n = t.offsetHeight;
120
+ return Math.abs(e.width - o) <= 1 && (o = e.width), Math.abs(e.height - n) <= 1 && (n = e.height), {
121
+ x: t.offsetLeft,
122
+ y: t.offsetTop,
123
+ width: o,
124
+ height: n
125
+ };
126
+ }
127
+ function Jt(t, e) {
128
+ var o = e.getRootNode && e.getRootNode();
129
+ if (t.contains(e))
130
+ return !0;
131
+ if (o && mt(o)) {
132
+ var n = e;
133
+ do {
134
+ if (n && t.isSameNode(n))
135
+ return !0;
136
+ n = n.parentNode || n.host;
137
+ } while (n);
138
+ }
139
+ return !1;
140
+ }
141
+ function ae(t) {
142
+ return V(t).getComputedStyle(t);
143
+ }
144
+ function Uo(t) {
145
+ return ["table", "td", "th"].indexOf(oe(t)) >= 0;
146
+ }
147
+ function pe(t) {
148
+ return ((me(t) ? t.ownerDocument : (
149
+ // $FlowFixMe[prop-missing]
150
+ t.document
151
+ )) || window.document).documentElement;
152
+ }
153
+ function rt(t) {
154
+ return oe(t) === "html" ? t : (
155
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
156
+ // $FlowFixMe[incompatible-return]
157
+ // $FlowFixMe[prop-missing]
158
+ t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
159
+ t.parentNode || // DOM Element detected
160
+ (mt(t) ? t.host : null) || // ShadowRoot detected
161
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
162
+ pe(t)
163
+ );
164
+ }
165
+ function Mt(t) {
166
+ return !q(t) || // https://github.com/popperjs/popper-core/issues/837
167
+ ae(t).position === "fixed" ? null : t.offsetParent;
168
+ }
169
+ function zo(t) {
170
+ var e = /firefox/i.test(lt()), o = /Trident/i.test(lt());
171
+ if (o && q(t)) {
172
+ var n = ae(t);
173
+ if (n.position === "fixed")
174
+ return null;
175
+ }
176
+ var a = rt(t);
177
+ for (mt(a) && (a = a.host); q(a) && ["html", "body"].indexOf(oe(a)) < 0; ) {
178
+ var s = ae(a);
179
+ if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none")
180
+ return a;
181
+ a = a.parentNode;
182
+ }
183
+ return null;
184
+ }
185
+ function Fe(t) {
186
+ for (var e = V(t), o = Mt(t); o && Uo(o) && ae(o).position === "static"; )
187
+ o = Mt(o);
188
+ return o && (oe(o) === "html" || oe(o) === "body" && ae(o).position === "static") ? e : o || zo(t) || e;
189
+ }
190
+ function ht(t) {
191
+ return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
192
+ }
193
+ function Ne(t, e, o) {
194
+ return de(t, et(e, o));
195
+ }
196
+ function qo(t, e, o) {
197
+ var n = Ne(t, e, o);
198
+ return n > o ? o : n;
199
+ }
200
+ function Qt() {
201
+ return {
202
+ top: 0,
203
+ right: 0,
204
+ bottom: 0,
205
+ left: 0
206
+ };
207
+ }
208
+ function Zt(t) {
209
+ return Object.assign({}, Qt(), t);
210
+ }
211
+ function _t(t, e) {
212
+ return e.reduce(function(o, n) {
213
+ return o[n] = t, o;
214
+ }, {});
215
+ }
216
+ var Yo = function(e, o) {
217
+ return e = typeof e == "function" ? e(Object.assign({}, o.rects, {
218
+ placement: o.placement
219
+ })) : e, Zt(typeof e != "number" ? e : _t(e, Ve));
220
+ };
221
+ function Xo(t) {
222
+ var e, o = t.state, n = t.name, a = t.options, s = o.elements.arrow, c = o.modifiersData.popperOffsets, i = te(o.placement), p = ht(i), f = [H, X].indexOf(i) >= 0, l = f ? "height" : "width";
223
+ if (!(!s || !c)) {
224
+ var g = Yo(a.padding, o), x = vt(s), u = p === "y" ? I : H, T = p === "y" ? Y : X, m = o.rects.reference[l] + o.rects.reference[p] - c[p] - o.rects.popper[l], h = c[p] - o.rects.reference[p], w = Fe(s), E = w ? p === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, O = m / 2 - h / 2, d = g[u], y = E - x[l] - g[T], b = E / 2 - x[l] / 2 + O, R = Ne(d, b, y), S = p;
225
+ o.modifiersData[n] = (e = {}, e[S] = R, e.centerOffset = R - b, e);
226
+ }
227
+ }
228
+ function Go(t) {
229
+ var e = t.state, o = t.options, n = o.element, a = n === void 0 ? "[data-popper-arrow]" : n;
230
+ a != null && (typeof a == "string" && (a = e.elements.popper.querySelector(a), !a) || Jt(e.elements.popper, a) && (e.elements.arrow = a));
231
+ }
232
+ const Ko = {
233
+ name: "arrow",
234
+ enabled: !0,
235
+ phase: "main",
236
+ fn: Xo,
237
+ effect: Go,
238
+ requires: ["popperOffsets"],
239
+ requiresIfExists: ["preventOverflow"]
240
+ };
241
+ function Re(t) {
242
+ return t.split("-")[1];
243
+ }
244
+ var Jo = {
245
+ top: "auto",
246
+ right: "auto",
247
+ bottom: "auto",
248
+ left: "auto"
249
+ };
250
+ function Qo(t, e) {
251
+ var o = t.x, n = t.y, a = e.devicePixelRatio || 1;
252
+ return {
253
+ x: Pe(o * a) / a || 0,
254
+ y: Pe(n * a) / a || 0
255
+ };
256
+ }
257
+ function jt(t) {
258
+ var e, o = t.popper, n = t.popperRect, a = t.placement, s = t.variation, c = t.offsets, i = t.position, p = t.gpuAcceleration, f = t.adaptive, l = t.roundOffsets, g = t.isFixed, x = c.x, u = x === void 0 ? 0 : x, T = c.y, m = T === void 0 ? 0 : T, h = typeof l == "function" ? l({
259
+ x: u,
260
+ y: m
261
+ }) : {
262
+ x: u,
263
+ y: m
264
+ };
265
+ u = h.x, m = h.y;
266
+ var w = c.hasOwnProperty("x"), E = c.hasOwnProperty("y"), O = H, d = I, y = window;
267
+ if (f) {
268
+ var b = Fe(o), R = "clientHeight", S = "clientWidth";
269
+ if (b === V(o) && (b = pe(o), ae(b).position !== "static" && i === "absolute" && (R = "scrollHeight", S = "scrollWidth")), b = b, a === I || (a === H || a === X) && s === Ie) {
270
+ d = Y;
271
+ var A = g && b === y && y.visualViewport ? y.visualViewport.height : (
272
+ // $FlowFixMe[prop-missing]
273
+ b[R]
274
+ );
275
+ m -= A - n.height, m *= p ? 1 : -1;
276
+ }
277
+ if (a === H || (a === I || a === Y) && s === Ie) {
278
+ O = X;
279
+ var P = g && b === y && y.visualViewport ? y.visualViewport.width : (
280
+ // $FlowFixMe[prop-missing]
281
+ b[S]
282
+ );
283
+ u -= P - n.width, u *= p ? 1 : -1;
284
+ }
285
+ }
286
+ var C = Object.assign({
287
+ position: i
288
+ }, f && Jo), W = l === !0 ? Qo({
289
+ x: u,
290
+ y: m
291
+ }, V(o)) : {
292
+ x: u,
293
+ y: m
294
+ };
295
+ if (u = W.x, m = W.y, p) {
296
+ var j;
297
+ return Object.assign({}, C, (j = {}, j[d] = E ? "0" : "", j[O] = w ? "0" : "", j.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + u + "px, " + m + "px)" : "translate3d(" + u + "px, " + m + "px, 0)", j));
298
+ }
299
+ return Object.assign({}, C, (e = {}, e[d] = E ? m + "px" : "", e[O] = w ? u + "px" : "", e.transform = "", e));
300
+ }
301
+ function Zo(t) {
302
+ var e = t.state, o = t.options, n = o.gpuAcceleration, a = n === void 0 ? !0 : n, s = o.adaptive, c = s === void 0 ? !0 : s, i = o.roundOffsets, p = i === void 0 ? !0 : i, f = {
303
+ placement: te(e.placement),
304
+ variation: Re(e.placement),
305
+ popper: e.elements.popper,
306
+ popperRect: e.rects.popper,
307
+ gpuAcceleration: a,
308
+ isFixed: e.options.strategy === "fixed"
309
+ };
310
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, jt(Object.assign({}, f, {
311
+ offsets: e.modifiersData.popperOffsets,
312
+ position: e.options.strategy,
313
+ adaptive: c,
314
+ roundOffsets: p
315
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, jt(Object.assign({}, f, {
316
+ offsets: e.modifiersData.arrow,
317
+ position: "absolute",
318
+ adaptive: !1,
319
+ roundOffsets: p
320
+ })))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
321
+ "data-popper-placement": e.placement
322
+ });
323
+ }
324
+ const _o = {
325
+ name: "computeStyles",
326
+ enabled: !0,
327
+ phase: "beforeWrite",
328
+ fn: Zo,
329
+ data: {}
330
+ };
331
+ var Ke = {
332
+ passive: !0
333
+ };
334
+ function er(t) {
335
+ var e = t.state, o = t.instance, n = t.options, a = n.scroll, s = a === void 0 ? !0 : a, c = n.resize, i = c === void 0 ? !0 : c, p = V(e.elements.popper), f = [].concat(e.scrollParents.reference, e.scrollParents.popper);
336
+ return s && f.forEach(function(l) {
337
+ l.addEventListener("scroll", o.update, Ke);
338
+ }), i && p.addEventListener("resize", o.update, Ke), function() {
339
+ s && f.forEach(function(l) {
340
+ l.removeEventListener("scroll", o.update, Ke);
341
+ }), i && p.removeEventListener("resize", o.update, Ke);
342
+ };
343
+ }
344
+ const tr = {
345
+ name: "eventListeners",
346
+ enabled: !0,
347
+ phase: "write",
348
+ fn: function() {
349
+ },
350
+ effect: er,
351
+ data: {}
352
+ };
353
+ var or = {
354
+ left: "right",
355
+ right: "left",
356
+ bottom: "top",
357
+ top: "bottom"
358
+ };
359
+ function Ze(t) {
360
+ return t.replace(/left|right|bottom|top/g, function(e) {
361
+ return or[e];
362
+ });
363
+ }
364
+ var rr = {
365
+ start: "end",
366
+ end: "start"
367
+ };
368
+ function Dt(t) {
369
+ return t.replace(/start|end/g, function(e) {
370
+ return rr[e];
371
+ });
372
+ }
373
+ function gt(t) {
374
+ var e = V(t), o = e.pageXOffset, n = e.pageYOffset;
375
+ return {
376
+ scrollLeft: o,
377
+ scrollTop: n
378
+ };
379
+ }
380
+ function yt(t) {
381
+ return Ee(pe(t)).left + gt(t).scrollLeft;
382
+ }
383
+ function nr(t, e) {
384
+ var o = V(t), n = pe(t), a = o.visualViewport, s = n.clientWidth, c = n.clientHeight, i = 0, p = 0;
385
+ if (a) {
386
+ s = a.width, c = a.height;
387
+ var f = Kt();
388
+ (f || !f && e === "fixed") && (i = a.offsetLeft, p = a.offsetTop);
389
+ }
390
+ return {
391
+ width: s,
392
+ height: c,
393
+ x: i + yt(t),
394
+ y: p
395
+ };
396
+ }
397
+ function ar(t) {
398
+ var e, o = pe(t), n = gt(t), a = (e = t.ownerDocument) == null ? void 0 : e.body, s = de(o.scrollWidth, o.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), c = de(o.scrollHeight, o.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), i = -n.scrollLeft + yt(t), p = -n.scrollTop;
399
+ return ae(a || o).direction === "rtl" && (i += de(o.clientWidth, a ? a.clientWidth : 0) - s), {
400
+ width: s,
401
+ height: c,
402
+ x: i,
403
+ y: p
404
+ };
405
+ }
406
+ function bt(t) {
407
+ var e = ae(t), o = e.overflow, n = e.overflowX, a = e.overflowY;
408
+ return /auto|scroll|overlay|hidden/.test(o + a + n);
409
+ }
410
+ function eo(t) {
411
+ return ["html", "body", "#document"].indexOf(oe(t)) >= 0 ? t.ownerDocument.body : q(t) && bt(t) ? t : eo(rt(t));
412
+ }
413
+ function We(t, e) {
414
+ var o;
415
+ e === void 0 && (e = []);
416
+ var n = eo(t), a = n === ((o = t.ownerDocument) == null ? void 0 : o.body), s = V(n), c = a ? [s].concat(s.visualViewport || [], bt(n) ? n : []) : n, i = e.concat(c);
417
+ return a ? i : (
418
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
419
+ i.concat(We(rt(c)))
420
+ );
421
+ }
422
+ function ct(t) {
423
+ return Object.assign({}, t, {
424
+ left: t.x,
425
+ top: t.y,
426
+ right: t.x + t.width,
427
+ bottom: t.y + t.height
428
+ });
429
+ }
430
+ function ir(t, e) {
431
+ var o = Ee(t, !1, e === "fixed");
432
+ return o.top = o.top + t.clientTop, o.left = o.left + t.clientLeft, o.bottom = o.top + t.clientHeight, o.right = o.left + t.clientWidth, o.width = t.clientWidth, o.height = t.clientHeight, o.x = o.left, o.y = o.top, o;
433
+ }
434
+ function St(t, e, o) {
435
+ return e === Xt ? ct(nr(t, o)) : me(e) ? ir(e, o) : ct(ar(pe(t)));
436
+ }
437
+ function sr(t) {
438
+ var e = We(rt(t)), o = ["absolute", "fixed"].indexOf(ae(t).position) >= 0, n = o && q(t) ? Fe(t) : t;
439
+ return me(n) ? e.filter(function(a) {
440
+ return me(a) && Jt(a, n) && oe(a) !== "body";
441
+ }) : [];
442
+ }
443
+ function pr(t, e, o, n) {
444
+ var a = e === "clippingParents" ? sr(t) : [].concat(e), s = [].concat(a, [o]), c = s[0], i = s.reduce(function(p, f) {
445
+ var l = St(t, f, n);
446
+ return p.top = de(l.top, p.top), p.right = et(l.right, p.right), p.bottom = et(l.bottom, p.bottom), p.left = de(l.left, p.left), p;
447
+ }, St(t, c, n));
448
+ return i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
449
+ }
450
+ function to(t) {
451
+ var e = t.reference, o = t.element, n = t.placement, a = n ? te(n) : null, s = n ? Re(n) : null, c = e.x + e.width / 2 - o.width / 2, i = e.y + e.height / 2 - o.height / 2, p;
452
+ switch (a) {
453
+ case I:
454
+ p = {
455
+ x: c,
456
+ y: e.y - o.height
457
+ };
458
+ break;
459
+ case Y:
460
+ p = {
461
+ x: c,
462
+ y: e.y + e.height
463
+ };
464
+ break;
465
+ case X:
466
+ p = {
467
+ x: e.x + e.width,
468
+ y: i
469
+ };
470
+ break;
471
+ case H:
472
+ p = {
473
+ x: e.x - o.width,
474
+ y: i
475
+ };
476
+ break;
477
+ default:
478
+ p = {
479
+ x: e.x,
480
+ y: e.y
481
+ };
482
+ }
483
+ var f = a ? ht(a) : null;
484
+ if (f != null) {
485
+ var l = f === "y" ? "height" : "width";
486
+ switch (s) {
487
+ case Te:
488
+ p[f] = p[f] - (e[l] / 2 - o[l] / 2);
489
+ break;
490
+ case Ie:
491
+ p[f] = p[f] + (e[l] / 2 - o[l] / 2);
492
+ break;
493
+ }
494
+ }
495
+ return p;
496
+ }
497
+ function He(t, e) {
498
+ e === void 0 && (e = {});
499
+ var o = e, n = o.placement, a = n === void 0 ? t.placement : n, s = o.strategy, c = s === void 0 ? t.strategy : s, i = o.boundary, p = i === void 0 ? Co : i, f = o.rootBoundary, l = f === void 0 ? Xt : f, g = o.elementContext, x = g === void 0 ? Le : g, u = o.altBoundary, T = u === void 0 ? !1 : u, m = o.padding, h = m === void 0 ? 0 : m, w = Zt(typeof h != "number" ? h : _t(h, Ve)), E = x === Le ? Mo : Le, O = t.rects.popper, d = t.elements[T ? E : x], y = pr(me(d) ? d : d.contextElement || pe(t.elements.popper), p, l, c), b = Ee(t.elements.reference), R = to({
500
+ reference: b,
501
+ element: O,
502
+ strategy: "absolute",
503
+ placement: a
504
+ }), S = ct(Object.assign({}, O, R)), A = x === Le ? S : b, P = {
505
+ top: y.top - A.top + w.top,
506
+ bottom: A.bottom - y.bottom + w.bottom,
507
+ left: y.left - A.left + w.left,
508
+ right: A.right - y.right + w.right
509
+ }, C = t.modifiersData.offset;
510
+ if (x === Le && C) {
511
+ var W = C[a];
512
+ Object.keys(P).forEach(function(j) {
513
+ var G = [X, Y].indexOf(j) >= 0 ? 1 : -1, K = [I, Y].indexOf(j) >= 0 ? "y" : "x";
514
+ P[j] += W[K] * G;
515
+ });
516
+ }
517
+ return P;
518
+ }
519
+ function lr(t, e) {
520
+ e === void 0 && (e = {});
521
+ var o = e, n = o.placement, a = o.boundary, s = o.rootBoundary, c = o.padding, i = o.flipVariations, p = o.allowedAutoPlacements, f = p === void 0 ? Gt : p, l = Re(n), g = l ? i ? Ct : Ct.filter(function(T) {
522
+ return Re(T) === l;
523
+ }) : Ve, x = g.filter(function(T) {
524
+ return f.indexOf(T) >= 0;
525
+ });
526
+ x.length === 0 && (x = g);
527
+ var u = x.reduce(function(T, m) {
528
+ return T[m] = He(t, {
529
+ placement: m,
530
+ boundary: a,
531
+ rootBoundary: s,
532
+ padding: c
533
+ })[te(m)], T;
534
+ }, {});
535
+ return Object.keys(u).sort(function(T, m) {
536
+ return u[T] - u[m];
537
+ });
538
+ }
539
+ function cr(t) {
540
+ if (te(t) === dt)
541
+ return [];
542
+ var e = Ze(t);
543
+ return [Dt(t), e, Dt(e)];
544
+ }
545
+ function fr(t) {
546
+ var e = t.state, o = t.options, n = t.name;
547
+ if (!e.modifiersData[n]._skip) {
548
+ for (var a = o.mainAxis, s = a === void 0 ? !0 : a, c = o.altAxis, i = c === void 0 ? !0 : c, p = o.fallbackPlacements, f = o.padding, l = o.boundary, g = o.rootBoundary, x = o.altBoundary, u = o.flipVariations, T = u === void 0 ? !0 : u, m = o.allowedAutoPlacements, h = e.options.placement, w = te(h), E = w === h, O = p || (E || !T ? [Ze(h)] : cr(h)), d = [h].concat(O).reduce(function(J, F) {
549
+ return J.concat(te(F) === dt ? lr(e, {
550
+ placement: F,
551
+ boundary: l,
552
+ rootBoundary: g,
553
+ padding: f,
554
+ flipVariations: T,
555
+ allowedAutoPlacements: m
556
+ }) : F);
557
+ }, []), y = e.rects.reference, b = e.rects.popper, R = /* @__PURE__ */ new Map(), S = !0, A = d[0], P = 0; P < d.length; P++) {
558
+ var C = d[P], W = te(C), j = Re(C) === Te, G = [I, Y].indexOf(W) >= 0, K = G ? "width" : "height", $ = He(e, {
559
+ placement: C,
560
+ boundary: l,
561
+ rootBoundary: g,
562
+ altBoundary: x,
563
+ padding: f
564
+ }), D = G ? j ? X : H : j ? Y : I;
565
+ y[K] > b[K] && (D = Ze(D));
566
+ var N = Ze(D), re = [];
567
+ if (s && re.push($[W] <= 0), i && re.push($[D] <= 0, $[N] <= 0), re.every(function(J) {
568
+ return J;
569
+ })) {
570
+ A = C, S = !1;
571
+ break;
572
+ }
573
+ R.set(C, re);
574
+ }
575
+ if (S)
576
+ for (var B = T ? 3 : 1, ve = function(F) {
577
+ var ie = d.find(function(se) {
578
+ var U = R.get(se);
579
+ if (U)
580
+ return U.slice(0, F).every(function(ge) {
581
+ return ge;
582
+ });
583
+ });
584
+ if (ie)
585
+ return A = ie, "break";
586
+ }, ne = B; ne > 0; ne--) {
587
+ var he = ve(ne);
588
+ if (he === "break") break;
589
+ }
590
+ e.placement !== A && (e.modifiersData[n]._skip = !0, e.placement = A, e.reset = !0);
591
+ }
592
+ }
593
+ const ur = {
594
+ name: "flip",
595
+ enabled: !0,
596
+ phase: "main",
597
+ fn: fr,
598
+ requiresIfExists: ["offset"],
599
+ data: {
600
+ _skip: !1
601
+ }
602
+ };
603
+ function $t(t, e, o) {
604
+ return o === void 0 && (o = {
605
+ x: 0,
606
+ y: 0
607
+ }), {
608
+ top: t.top - e.height - o.y,
609
+ right: t.right - e.width + o.x,
610
+ bottom: t.bottom - e.height + o.y,
611
+ left: t.left - e.width - o.x
612
+ };
613
+ }
614
+ function Lt(t) {
615
+ return [I, X, Y, H].some(function(e) {
616
+ return t[e] >= 0;
617
+ });
618
+ }
619
+ function dr(t) {
620
+ var e = t.state, o = t.name, n = e.rects.reference, a = e.rects.popper, s = e.modifiersData.preventOverflow, c = He(e, {
621
+ elementContext: "reference"
622
+ }), i = He(e, {
623
+ altBoundary: !0
624
+ }), p = $t(c, n), f = $t(i, a, s), l = Lt(p), g = Lt(f);
625
+ e.modifiersData[o] = {
626
+ referenceClippingOffsets: p,
627
+ popperEscapeOffsets: f,
628
+ isReferenceHidden: l,
629
+ hasPopperEscaped: g
630
+ }, e.attributes.popper = Object.assign({}, e.attributes.popper, {
631
+ "data-popper-reference-hidden": l,
632
+ "data-popper-escaped": g
633
+ });
634
+ }
635
+ const mr = {
636
+ name: "hide",
637
+ enabled: !0,
638
+ phase: "main",
639
+ requiresIfExists: ["preventOverflow"],
640
+ fn: dr
641
+ };
642
+ function vr(t, e, o) {
643
+ var n = te(t), a = [H, I].indexOf(n) >= 0 ? -1 : 1, s = typeof o == "function" ? o(Object.assign({}, e, {
644
+ placement: t
645
+ })) : o, c = s[0], i = s[1];
646
+ return c = c || 0, i = (i || 0) * a, [H, X].indexOf(n) >= 0 ? {
647
+ x: i,
648
+ y: c
649
+ } : {
650
+ x: c,
651
+ y: i
652
+ };
653
+ }
654
+ function hr(t) {
655
+ var e = t.state, o = t.options, n = t.name, a = o.offset, s = a === void 0 ? [0, 0] : a, c = Gt.reduce(function(l, g) {
656
+ return l[g] = vr(g, e.rects, s), l;
657
+ }, {}), i = c[e.placement], p = i.x, f = i.y;
658
+ e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += p, e.modifiersData.popperOffsets.y += f), e.modifiersData[n] = c;
659
+ }
660
+ const gr = {
661
+ name: "offset",
662
+ enabled: !0,
663
+ phase: "main",
664
+ requires: ["popperOffsets"],
665
+ fn: hr
666
+ };
667
+ function yr(t) {
668
+ var e = t.state, o = t.name;
669
+ e.modifiersData[o] = to({
670
+ reference: e.rects.reference,
671
+ element: e.rects.popper,
672
+ strategy: "absolute",
673
+ placement: e.placement
674
+ });
675
+ }
676
+ const br = {
677
+ name: "popperOffsets",
678
+ enabled: !0,
679
+ phase: "read",
680
+ fn: yr,
681
+ data: {}
682
+ };
683
+ function wr(t) {
684
+ return t === "x" ? "y" : "x";
685
+ }
686
+ function Or(t) {
687
+ var e = t.state, o = t.options, n = t.name, a = o.mainAxis, s = a === void 0 ? !0 : a, c = o.altAxis, i = c === void 0 ? !1 : c, p = o.boundary, f = o.rootBoundary, l = o.altBoundary, g = o.padding, x = o.tether, u = x === void 0 ? !0 : x, T = o.tetherOffset, m = T === void 0 ? 0 : T, h = He(e, {
688
+ boundary: p,
689
+ rootBoundary: f,
690
+ padding: g,
691
+ altBoundary: l
692
+ }), w = te(e.placement), E = Re(e.placement), O = !E, d = ht(w), y = wr(d), b = e.modifiersData.popperOffsets, R = e.rects.reference, S = e.rects.popper, A = typeof m == "function" ? m(Object.assign({}, e.rects, {
693
+ placement: e.placement
694
+ })) : m, P = typeof A == "number" ? {
695
+ mainAxis: A,
696
+ altAxis: A
697
+ } : Object.assign({
698
+ mainAxis: 0,
699
+ altAxis: 0
700
+ }, A), C = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, W = {
701
+ x: 0,
702
+ y: 0
703
+ };
704
+ if (b) {
705
+ if (s) {
706
+ var j, G = d === "y" ? I : H, K = d === "y" ? Y : X, $ = d === "y" ? "height" : "width", D = b[d], N = D + h[G], re = D - h[K], B = u ? -S[$] / 2 : 0, ve = E === Te ? R[$] : S[$], ne = E === Te ? -S[$] : -R[$], he = e.elements.arrow, J = u && he ? vt(he) : {
707
+ width: 0,
708
+ height: 0
709
+ }, F = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Qt(), ie = F[G], se = F[K], U = Ne(0, R[$], J[$]), ge = O ? R[$] / 2 - B - U - ie - P.mainAxis : ve - U - ie - P.mainAxis, at = O ? -R[$] / 2 + B + U + se + P.mainAxis : ne + U + se + P.mainAxis, ye = e.elements.arrow && Fe(e.elements.arrow), Q = ye ? d === "y" ? ye.clientTop || 0 : ye.clientLeft || 0 : 0, be = (j = C == null ? void 0 : C[d]) != null ? j : 0, le = D + ge - be - Q, we = D + at - be, Ae = Ne(u ? et(N, le) : N, D, u ? de(re, we) : re);
710
+ b[d] = Ae, W[d] = Ae - D;
711
+ }
712
+ if (i) {
713
+ var ce, Oe = d === "x" ? I : H, Ce = d === "x" ? Y : X, ee = b[y], fe = y === "y" ? "height" : "width", Me = ee + h[Oe], je = ee - h[Ce], De = [I, H].indexOf(w) !== -1, Ue = (ce = C == null ? void 0 : C[y]) != null ? ce : 0, ze = De ? Me : ee - R[fe] - S[fe] - Ue + P.altAxis, xe = De ? ee + R[fe] + S[fe] - Ue - P.altAxis : je, qe = u && De ? qo(ze, ee, xe) : Ne(u ? ze : Me, ee, u ? xe : je);
714
+ b[y] = qe, W[y] = qe - ee;
715
+ }
716
+ e.modifiersData[n] = W;
717
+ }
718
+ }
719
+ const xr = {
720
+ name: "preventOverflow",
721
+ enabled: !0,
722
+ phase: "main",
723
+ fn: Or,
724
+ requiresIfExists: ["offset"]
725
+ };
726
+ function Tr(t) {
727
+ return {
728
+ scrollLeft: t.scrollLeft,
729
+ scrollTop: t.scrollTop
730
+ };
731
+ }
732
+ function Pr(t) {
733
+ return t === V(t) || !q(t) ? gt(t) : Tr(t);
734
+ }
735
+ function Er(t) {
736
+ var e = t.getBoundingClientRect(), o = Pe(e.width) / t.offsetWidth || 1, n = Pe(e.height) / t.offsetHeight || 1;
737
+ return o !== 1 || n !== 1;
738
+ }
739
+ function Rr(t, e, o) {
740
+ o === void 0 && (o = !1);
741
+ var n = q(e), a = q(e) && Er(e), s = pe(e), c = Ee(t, a, o), i = {
742
+ scrollLeft: 0,
743
+ scrollTop: 0
744
+ }, p = {
745
+ x: 0,
746
+ y: 0
747
+ };
748
+ return (n || !n && !o) && ((oe(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
749
+ bt(s)) && (i = Pr(e)), q(e) ? (p = Ee(e, !0), p.x += e.clientLeft, p.y += e.clientTop) : s && (p.x = yt(s))), {
750
+ x: c.left + i.scrollLeft - p.x,
751
+ y: c.top + i.scrollTop - p.y,
752
+ width: c.width,
753
+ height: c.height
754
+ };
755
+ }
756
+ function Ar(t) {
757
+ var e = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), n = [];
758
+ t.forEach(function(s) {
759
+ e.set(s.name, s);
760
+ });
761
+ function a(s) {
762
+ o.add(s.name);
763
+ var c = [].concat(s.requires || [], s.requiresIfExists || []);
764
+ c.forEach(function(i) {
765
+ if (!o.has(i)) {
766
+ var p = e.get(i);
767
+ p && a(p);
768
+ }
769
+ }), n.push(s);
770
+ }
771
+ return t.forEach(function(s) {
772
+ o.has(s.name) || a(s);
773
+ }), n;
774
+ }
775
+ function Cr(t) {
776
+ var e = Ar(t);
777
+ return Io.reduce(function(o, n) {
778
+ return o.concat(e.filter(function(a) {
779
+ return a.phase === n;
780
+ }));
781
+ }, []);
782
+ }
783
+ function Mr(t) {
784
+ var e;
785
+ return function() {
786
+ return e || (e = new Promise(function(o) {
787
+ Promise.resolve().then(function() {
788
+ e = void 0, o(t());
789
+ });
790
+ })), e;
791
+ };
792
+ }
793
+ function jr(t) {
794
+ var e = t.reduce(function(o, n) {
795
+ var a = o[n.name];
796
+ return o[n.name] = a ? Object.assign({}, a, n, {
797
+ options: Object.assign({}, a.options, n.options),
798
+ data: Object.assign({}, a.data, n.data)
799
+ }) : n, o;
800
+ }, {});
801
+ return Object.keys(e).map(function(o) {
802
+ return e[o];
803
+ });
804
+ }
805
+ var kt = {
806
+ placement: "bottom",
807
+ modifiers: [],
808
+ strategy: "absolute"
809
+ };
810
+ function Bt() {
811
+ for (var t = arguments.length, e = new Array(t), o = 0; o < t; o++)
812
+ e[o] = arguments[o];
813
+ return !e.some(function(n) {
814
+ return !(n && typeof n.getBoundingClientRect == "function");
815
+ });
816
+ }
817
+ function Dr(t) {
818
+ t === void 0 && (t = {});
819
+ var e = t, o = e.defaultModifiers, n = o === void 0 ? [] : o, a = e.defaultOptions, s = a === void 0 ? kt : a;
820
+ return function(i, p, f) {
821
+ f === void 0 && (f = s);
822
+ var l = {
823
+ placement: "bottom",
824
+ orderedModifiers: [],
825
+ options: Object.assign({}, kt, s),
826
+ modifiersData: {},
827
+ elements: {
828
+ reference: i,
829
+ popper: p
830
+ },
831
+ attributes: {},
832
+ styles: {}
833
+ }, g = [], x = !1, u = {
834
+ state: l,
835
+ setOptions: function(w) {
836
+ var E = typeof w == "function" ? w(l.options) : w;
837
+ m(), l.options = Object.assign({}, s, l.options, E), l.scrollParents = {
838
+ reference: me(i) ? We(i) : i.contextElement ? We(i.contextElement) : [],
839
+ popper: We(p)
840
+ };
841
+ var O = Cr(jr([].concat(n, l.options.modifiers)));
842
+ return l.orderedModifiers = O.filter(function(d) {
843
+ return d.enabled;
844
+ }), T(), u.update();
845
+ },
846
+ // Sync update – it will always be executed, even if not necessary. This
847
+ // is useful for low frequency updates where sync behavior simplifies the
848
+ // logic.
849
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
850
+ // prefer the async Popper#update method
851
+ forceUpdate: function() {
852
+ if (!x) {
853
+ var w = l.elements, E = w.reference, O = w.popper;
854
+ if (Bt(E, O)) {
855
+ l.rects = {
856
+ reference: Rr(E, Fe(O), l.options.strategy === "fixed"),
857
+ popper: vt(O)
858
+ }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(P) {
859
+ return l.modifiersData[P.name] = Object.assign({}, P.data);
860
+ });
861
+ for (var d = 0; d < l.orderedModifiers.length; d++) {
862
+ if (l.reset === !0) {
863
+ l.reset = !1, d = -1;
864
+ continue;
865
+ }
866
+ var y = l.orderedModifiers[d], b = y.fn, R = y.options, S = R === void 0 ? {} : R, A = y.name;
867
+ typeof b == "function" && (l = b({
868
+ state: l,
869
+ options: S,
870
+ name: A,
871
+ instance: u
872
+ }) || l);
873
+ }
874
+ }
875
+ }
876
+ },
877
+ // Async and optimistically optimized update – it will not be executed if
878
+ // not necessary (debounced to run at most once-per-tick)
879
+ update: Mr(function() {
880
+ return new Promise(function(h) {
881
+ u.forceUpdate(), h(l);
882
+ });
883
+ }),
884
+ destroy: function() {
885
+ m(), x = !0;
886
+ }
887
+ };
888
+ if (!Bt(i, p))
889
+ return u;
890
+ u.setOptions(f).then(function(h) {
891
+ !x && f.onFirstUpdate && f.onFirstUpdate(h);
892
+ });
893
+ function T() {
894
+ l.orderedModifiers.forEach(function(h) {
895
+ var w = h.name, E = h.options, O = E === void 0 ? {} : E, d = h.effect;
896
+ if (typeof d == "function") {
897
+ var y = d({
898
+ state: l,
899
+ name: w,
900
+ instance: u,
901
+ options: O
902
+ }), b = function() {
903
+ };
904
+ g.push(y || b);
905
+ }
906
+ });
907
+ }
908
+ function m() {
909
+ g.forEach(function(h) {
910
+ return h();
911
+ }), g = [];
912
+ }
913
+ return u;
914
+ };
915
+ }
916
+ var Sr = [tr, br, _o, Fo, gr, ur, xr, Ko, mr], $r = /* @__PURE__ */ Dr({
917
+ defaultModifiers: Sr
918
+ });
919
+ function Lr(t) {
920
+ return It("MuiPopper", t);
921
+ }
922
+ Wt("MuiPopper", ["root"]);
923
+ function kr(t, e) {
924
+ if (e === "ltr")
925
+ return t;
926
+ switch (t) {
927
+ case "bottom-end":
928
+ return "bottom-start";
929
+ case "bottom-start":
930
+ return "bottom-end";
931
+ case "top-end":
932
+ return "top-start";
933
+ case "top-start":
934
+ return "top-end";
935
+ default:
936
+ return t;
937
+ }
938
+ }
939
+ function tt(t) {
940
+ return typeof t == "function" ? t() : t;
941
+ }
942
+ function nt(t) {
943
+ return t.nodeType !== void 0;
944
+ }
945
+ function Br(t) {
946
+ return !nt(t);
947
+ }
948
+ const Nr = (t) => {
949
+ const {
950
+ classes: e
951
+ } = t;
952
+ return Ht({
953
+ root: ["root"]
954
+ }, Lr, e);
955
+ }, Wr = {}, Ir = /* @__PURE__ */ M.forwardRef(function(e, o) {
956
+ const {
957
+ anchorEl: n,
958
+ children: a,
959
+ direction: s,
960
+ disablePortal: c,
961
+ modifiers: i,
962
+ open: p,
963
+ placement: f,
964
+ popperOptions: l,
965
+ popperRef: g,
966
+ slotProps: x = {},
967
+ slots: u = {},
968
+ TransitionProps: T,
969
+ // @ts-ignore internal logic
970
+ ownerState: m,
971
+ // prevent from spreading to DOM, it can come from the parent component e.g. Select.
972
+ ...h
973
+ } = e, w = M.useRef(null), E = pt(w, o), O = M.useRef(null), d = pt(O, g), y = M.useRef(d);
974
+ Tt(() => {
975
+ y.current = d;
976
+ }, [d]), M.useImperativeHandle(g, () => O.current, []);
977
+ const b = kr(f, s), [R, S] = M.useState(b), [A, P] = M.useState(tt(n));
978
+ M.useEffect(() => {
979
+ O.current && O.current.forceUpdate();
980
+ }), M.useEffect(() => {
981
+ n && P(tt(n));
982
+ }, [n]), Tt(() => {
983
+ if (!A || !p)
984
+ return;
985
+ const K = (N) => {
986
+ S(N.placement);
987
+ };
988
+ if (process.env.NODE_ENV !== "production" && A && nt(A) && A.nodeType === 1) {
989
+ const N = A.getBoundingClientRect();
990
+ process.env.NODE_ENV !== "test" && N.top === 0 && N.left === 0 && N.right === 0 && N.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(`
991
+ `));
992
+ }
993
+ let $ = [{
994
+ name: "preventOverflow",
995
+ options: {
996
+ altBoundary: c
997
+ }
998
+ }, {
999
+ name: "flip",
1000
+ options: {
1001
+ altBoundary: c
1002
+ }
1003
+ }, {
1004
+ name: "onUpdate",
1005
+ enabled: !0,
1006
+ phase: "afterWrite",
1007
+ fn: ({
1008
+ state: N
1009
+ }) => {
1010
+ K(N);
1011
+ }
1012
+ }];
1013
+ i != null && ($ = $.concat(i)), l && l.modifiers != null && ($ = $.concat(l.modifiers));
1014
+ const D = $r(A, w.current, {
1015
+ placement: b,
1016
+ ...l,
1017
+ modifiers: $
1018
+ });
1019
+ return y.current(D), () => {
1020
+ D.destroy(), y.current(null);
1021
+ };
1022
+ }, [A, c, i, p, l, b]);
1023
+ const C = {
1024
+ placement: R
1025
+ };
1026
+ T !== null && (C.TransitionProps = T);
1027
+ const W = Nr(e), j = u.root ?? "div", G = Po({
1028
+ elementType: j,
1029
+ externalSlotProps: x.root,
1030
+ externalForwardedProps: h,
1031
+ additionalProps: {
1032
+ role: "tooltip",
1033
+ ref: E
1034
+ },
1035
+ ownerState: e,
1036
+ className: W.root
1037
+ });
1038
+ return /* @__PURE__ */ k(j, {
1039
+ ...G,
1040
+ children: typeof a == "function" ? a(C) : a
1041
+ });
1042
+ }), oo = /* @__PURE__ */ M.forwardRef(function(e, o) {
1043
+ const {
1044
+ anchorEl: n,
1045
+ children: a,
1046
+ container: s,
1047
+ direction: c = "ltr",
1048
+ disablePortal: i = !1,
1049
+ keepMounted: p = !1,
1050
+ modifiers: f,
1051
+ open: l,
1052
+ placement: g = "bottom",
1053
+ popperOptions: x = Wr,
1054
+ popperRef: u,
1055
+ style: T,
1056
+ transition: m = !1,
1057
+ slotProps: h = {},
1058
+ slots: w = {},
1059
+ ...E
1060
+ } = e, [O, d] = M.useState(!0), y = () => {
1061
+ d(!1);
1062
+ }, b = () => {
1063
+ d(!0);
1064
+ };
1065
+ if (!p && !l && (!m || O))
1066
+ return null;
1067
+ let R;
1068
+ if (s)
1069
+ R = s;
1070
+ else if (n) {
1071
+ const P = tt(n);
1072
+ R = P && nt(P) ? Rt(P).body : Rt(null).body;
1073
+ }
1074
+ const S = !l && p && (!m || O) ? "none" : void 0, A = m ? {
1075
+ in: l,
1076
+ onEnter: y,
1077
+ onExited: b
1078
+ } : void 0;
1079
+ return /* @__PURE__ */ k(Oo, {
1080
+ disablePortal: i,
1081
+ container: R,
1082
+ children: /* @__PURE__ */ k(Ir, {
1083
+ anchorEl: n,
1084
+ direction: c,
1085
+ disablePortal: i,
1086
+ modifiers: f,
1087
+ ref: o,
1088
+ open: m ? !O : l,
1089
+ placement: g,
1090
+ popperOptions: x,
1091
+ popperRef: u,
1092
+ slotProps: h,
1093
+ slots: w,
1094
+ ...E,
1095
+ style: {
1096
+ // Prevents scroll issue, waiting for Popper.js to add this style once initiated.
1097
+ position: "fixed",
1098
+ // Fix Popper.js display issue
1099
+ top: 0,
1100
+ left: 0,
1101
+ display: S,
1102
+ ...T
1103
+ },
1104
+ TransitionProps: A,
1105
+ children: a
1106
+ })
1107
+ });
1108
+ });
1109
+ process.env.NODE_ENV !== "production" && (oo.propTypes = {
1110
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1111
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1112
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1113
+ // └─────────────────────────────────────────────────────────────────────┘
1114
+ /**
1115
+ * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1116
+ * or a function that returns either.
1117
+ * It's used to set the position of the popper.
1118
+ * The return value will passed as the reference object of the Popper instance.
1119
+ */
1120
+ anchorEl: bo(r.oneOfType([_e, r.object, r.func]), (t) => {
1121
+ if (t.open) {
1122
+ const e = tt(t.anchorEl);
1123
+ if (e && nt(e) && e.nodeType === 1) {
1124
+ const o = e.getBoundingClientRect();
1125
+ if (process.env.NODE_ENV !== "test" && o.top === 0 && o.left === 0 && o.right === 0 && o.bottom === 0)
1126
+ return new Error(["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(`
1127
+ `));
1128
+ } else if (!e || typeof e.getBoundingClientRect != "function" || Br(e) && e.contextElement != null && e.contextElement.nodeType !== 1)
1129
+ return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.", "It should be an HTML element instance or a virtualElement ", "(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
1130
+ `));
1131
+ }
1132
+ return null;
1133
+ }),
1134
+ /**
1135
+ * Popper render function or node.
1136
+ */
1137
+ children: r.oneOfType([r.node, r.func]),
1138
+ /**
1139
+ * An HTML element or function that returns one.
1140
+ * The `container` will have the portal children appended to it.
1141
+ *
1142
+ * You can also provide a callback, which is called in a React layout effect.
1143
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
1144
+ *
1145
+ * By default, it uses the body of the top-level document object,
1146
+ * so it's simply `document.body` most of the time.
1147
+ */
1148
+ container: r.oneOfType([_e, r.func]),
1149
+ /**
1150
+ * Direction of the text.
1151
+ * @default 'ltr'
1152
+ */
1153
+ direction: r.oneOf(["ltr", "rtl"]),
1154
+ /**
1155
+ * The `children` will be under the DOM hierarchy of the parent component.
1156
+ * @default false
1157
+ */
1158
+ disablePortal: r.bool,
1159
+ /**
1160
+ * Always keep the children in the DOM.
1161
+ * This prop can be useful in SEO situation or
1162
+ * when you want to maximize the responsiveness of the Popper.
1163
+ * @default false
1164
+ */
1165
+ keepMounted: r.bool,
1166
+ /**
1167
+ * Popper.js is based on a "plugin-like" architecture,
1168
+ * most of its features are fully encapsulated "modifiers".
1169
+ *
1170
+ * A modifier is a function that is called each time Popper.js needs to
1171
+ * compute the position of the popper.
1172
+ * For this reason, modifiers should be very performant to avoid bottlenecks.
1173
+ * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1174
+ */
1175
+ modifiers: r.arrayOf(r.shape({
1176
+ data: r.object,
1177
+ effect: r.func,
1178
+ enabled: r.bool,
1179
+ fn: r.func,
1180
+ name: r.any,
1181
+ options: r.object,
1182
+ phase: r.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1183
+ requires: r.arrayOf(r.string),
1184
+ requiresIfExists: r.arrayOf(r.string)
1185
+ })),
1186
+ /**
1187
+ * If `true`, the component is shown.
1188
+ */
1189
+ open: r.bool.isRequired,
1190
+ /**
1191
+ * Popper placement.
1192
+ * @default 'bottom'
1193
+ */
1194
+ placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1195
+ /**
1196
+ * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1197
+ * @default {}
1198
+ */
1199
+ popperOptions: r.shape({
1200
+ modifiers: r.array,
1201
+ onFirstUpdate: r.func,
1202
+ placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1203
+ strategy: r.oneOf(["absolute", "fixed"])
1204
+ }),
1205
+ /**
1206
+ * A ref that points to the used popper instance.
1207
+ */
1208
+ popperRef: qt,
1209
+ /**
1210
+ * The props used for each slot inside the Popper.
1211
+ * @default {}
1212
+ */
1213
+ slotProps: r.shape({
1214
+ root: r.oneOfType([r.func, r.object])
1215
+ }),
1216
+ /**
1217
+ * The components used for each slot inside the Popper.
1218
+ * Either a string to use a HTML element or a component.
1219
+ * @default {}
1220
+ */
1221
+ slots: r.shape({
1222
+ root: r.elementType
1223
+ }),
1224
+ /**
1225
+ * Help supporting a react-transition-group/Transition component.
1226
+ * @default false
1227
+ */
1228
+ transition: r.bool
1229
+ });
1230
+ const Hr = ot(oo, {
1231
+ name: "MuiPopper",
1232
+ slot: "Root",
1233
+ overridesResolver: (t, e) => e.root
1234
+ })({}), wt = /* @__PURE__ */ M.forwardRef(function(e, o) {
1235
+ const n = zt(), a = Vt({
1236
+ props: e,
1237
+ name: "MuiPopper"
1238
+ }), {
1239
+ anchorEl: s,
1240
+ component: c,
1241
+ components: i,
1242
+ componentsProps: p,
1243
+ container: f,
1244
+ disablePortal: l,
1245
+ keepMounted: g,
1246
+ modifiers: x,
1247
+ open: u,
1248
+ placement: T,
1249
+ popperOptions: m,
1250
+ popperRef: h,
1251
+ transition: w,
1252
+ slots: E,
1253
+ slotProps: O,
1254
+ ...d
1255
+ } = a, y = (E == null ? void 0 : E.root) ?? (i == null ? void 0 : i.Root), b = {
1256
+ anchorEl: s,
1257
+ container: f,
1258
+ disablePortal: l,
1259
+ keepMounted: g,
1260
+ modifiers: x,
1261
+ open: u,
1262
+ placement: T,
1263
+ popperOptions: m,
1264
+ popperRef: h,
1265
+ transition: w,
1266
+ ...d
1267
+ };
1268
+ return /* @__PURE__ */ k(Hr, {
1269
+ as: c,
1270
+ direction: n ? "rtl" : "ltr",
1271
+ slots: {
1272
+ root: y
1273
+ },
1274
+ slotProps: O ?? p,
1275
+ ...b,
1276
+ ref: o
1277
+ });
1278
+ });
1279
+ process.env.NODE_ENV !== "production" && (wt.propTypes = {
1280
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1281
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1282
+ // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
1283
+ // └─────────────────────────────────────────────────────────────────────┘
1284
+ /**
1285
+ * An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
1286
+ * or a function that returns either.
1287
+ * It's used to set the position of the popper.
1288
+ * The return value will passed as the reference object of the Popper instance.
1289
+ */
1290
+ anchorEl: r.oneOfType([_e, r.object, r.func]),
1291
+ /**
1292
+ * Popper render function or node.
1293
+ */
1294
+ children: r.oneOfType([r.node, r.func]),
1295
+ /**
1296
+ * The component used for the root node.
1297
+ * Either a string to use a HTML element or a component.
1298
+ */
1299
+ component: r.elementType,
1300
+ /**
1301
+ * The components used for each slot inside the Popper.
1302
+ * Either a string to use a HTML element or a component.
1303
+ *
1304
+ * @deprecated use the `slots` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1305
+ * @default {}
1306
+ */
1307
+ components: r.shape({
1308
+ Root: r.elementType
1309
+ }),
1310
+ /**
1311
+ * The props used for each slot inside the Popper.
1312
+ *
1313
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
1314
+ * @default {}
1315
+ */
1316
+ componentsProps: r.shape({
1317
+ root: r.oneOfType([r.func, r.object])
1318
+ }),
1319
+ /**
1320
+ * An HTML element or function that returns one.
1321
+ * The `container` will have the portal children appended to it.
1322
+ *
1323
+ * You can also provide a callback, which is called in a React layout effect.
1324
+ * This lets you set the container from a ref, and also makes server-side rendering possible.
1325
+ *
1326
+ * By default, it uses the body of the top-level document object,
1327
+ * so it's simply `document.body` most of the time.
1328
+ */
1329
+ container: r.oneOfType([_e, r.func]),
1330
+ /**
1331
+ * The `children` will be under the DOM hierarchy of the parent component.
1332
+ * @default false
1333
+ */
1334
+ disablePortal: r.bool,
1335
+ /**
1336
+ * Always keep the children in the DOM.
1337
+ * This prop can be useful in SEO situation or
1338
+ * when you want to maximize the responsiveness of the Popper.
1339
+ * @default false
1340
+ */
1341
+ keepMounted: r.bool,
1342
+ /**
1343
+ * Popper.js is based on a "plugin-like" architecture,
1344
+ * most of its features are fully encapsulated "modifiers".
1345
+ *
1346
+ * A modifier is a function that is called each time Popper.js needs to
1347
+ * compute the position of the popper.
1348
+ * For this reason, modifiers should be very performant to avoid bottlenecks.
1349
+ * To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
1350
+ */
1351
+ modifiers: r.arrayOf(r.shape({
1352
+ data: r.object,
1353
+ effect: r.func,
1354
+ enabled: r.bool,
1355
+ fn: r.func,
1356
+ name: r.any,
1357
+ options: r.object,
1358
+ phase: r.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
1359
+ requires: r.arrayOf(r.string),
1360
+ requiresIfExists: r.arrayOf(r.string)
1361
+ })),
1362
+ /**
1363
+ * If `true`, the component is shown.
1364
+ */
1365
+ open: r.bool.isRequired,
1366
+ /**
1367
+ * Popper placement.
1368
+ * @default 'bottom'
1369
+ */
1370
+ placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1371
+ /**
1372
+ * Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
1373
+ * @default {}
1374
+ */
1375
+ popperOptions: r.shape({
1376
+ modifiers: r.array,
1377
+ onFirstUpdate: r.func,
1378
+ placement: r.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
1379
+ strategy: r.oneOf(["absolute", "fixed"])
1380
+ }),
1381
+ /**
1382
+ * A ref that points to the used popper instance.
1383
+ */
1384
+ popperRef: qt,
1385
+ /**
1386
+ * The props used for each slot inside the Popper.
1387
+ * @default {}
1388
+ */
1389
+ slotProps: r.shape({
1390
+ root: r.oneOfType([r.func, r.object])
1391
+ }),
1392
+ /**
1393
+ * The components used for each slot inside the Popper.
1394
+ * Either a string to use a HTML element or a component.
1395
+ * @default {}
1396
+ */
1397
+ slots: r.shape({
1398
+ root: r.elementType
1399
+ }),
1400
+ /**
1401
+ * The system prop that allows defining system overrides as well as additional CSS styles.
1402
+ */
1403
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
1404
+ /**
1405
+ * Help supporting a react-transition-group/Transition component.
1406
+ * @default false
1407
+ */
1408
+ transition: r.bool
1409
+ });
1410
+ function Vr(t) {
1411
+ return It("MuiTooltip", t);
1412
+ }
1413
+ const L = Wt("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]);
1414
+ function Fr(t) {
1415
+ return Math.round(t * 1e5) / 1e5;
1416
+ }
1417
+ const Ur = (t) => {
1418
+ const {
1419
+ classes: e,
1420
+ disableInteractive: o,
1421
+ arrow: n,
1422
+ touch: a,
1423
+ placement: s
1424
+ } = t, c = {
1425
+ popper: ["popper", !o && "popperInteractive", n && "popperArrow"],
1426
+ tooltip: ["tooltip", n && "tooltipArrow", a && "touch", `tooltipPlacement${Ft(s.split("-")[0])}`],
1427
+ arrow: ["arrow"]
1428
+ };
1429
+ return Ht(c, Vr, e);
1430
+ }, zr = ot(wt, {
1431
+ name: "MuiTooltip",
1432
+ slot: "Popper",
1433
+ overridesResolver: (t, e) => {
1434
+ const {
1435
+ ownerState: o
1436
+ } = t;
1437
+ return [e.popper, !o.disableInteractive && e.popperInteractive, o.arrow && e.popperArrow, !o.open && e.popperClose];
1438
+ }
1439
+ })(ut(({
1440
+ theme: t
1441
+ }) => ({
1442
+ zIndex: (t.vars || t).zIndex.tooltip,
1443
+ pointerEvents: "none",
1444
+ variants: [{
1445
+ props: ({
1446
+ ownerState: e
1447
+ }) => !e.disableInteractive,
1448
+ style: {
1449
+ pointerEvents: "auto"
1450
+ }
1451
+ }, {
1452
+ props: ({
1453
+ open: e
1454
+ }) => !e,
1455
+ style: {
1456
+ pointerEvents: "none"
1457
+ }
1458
+ }, {
1459
+ props: ({
1460
+ ownerState: e
1461
+ }) => e.arrow,
1462
+ style: {
1463
+ [`&[data-popper-placement*="bottom"] .${L.arrow}`]: {
1464
+ top: 0,
1465
+ marginTop: "-0.71em",
1466
+ "&::before": {
1467
+ transformOrigin: "0 100%"
1468
+ }
1469
+ },
1470
+ [`&[data-popper-placement*="top"] .${L.arrow}`]: {
1471
+ bottom: 0,
1472
+ marginBottom: "-0.71em",
1473
+ "&::before": {
1474
+ transformOrigin: "100% 0"
1475
+ }
1476
+ },
1477
+ [`&[data-popper-placement*="right"] .${L.arrow}`]: {
1478
+ height: "1em",
1479
+ width: "0.71em",
1480
+ "&::before": {
1481
+ transformOrigin: "100% 100%"
1482
+ }
1483
+ },
1484
+ [`&[data-popper-placement*="left"] .${L.arrow}`]: {
1485
+ height: "1em",
1486
+ width: "0.71em",
1487
+ "&::before": {
1488
+ transformOrigin: "0 0"
1489
+ }
1490
+ }
1491
+ }
1492
+ }, {
1493
+ props: ({
1494
+ ownerState: e
1495
+ }) => e.arrow && !e.isRtl,
1496
+ style: {
1497
+ [`&[data-popper-placement*="right"] .${L.arrow}`]: {
1498
+ left: 0,
1499
+ marginLeft: "-0.71em"
1500
+ }
1501
+ }
1502
+ }, {
1503
+ props: ({
1504
+ ownerState: e
1505
+ }) => e.arrow && !!e.isRtl,
1506
+ style: {
1507
+ [`&[data-popper-placement*="right"] .${L.arrow}`]: {
1508
+ right: 0,
1509
+ marginRight: "-0.71em"
1510
+ }
1511
+ }
1512
+ }, {
1513
+ props: ({
1514
+ ownerState: e
1515
+ }) => e.arrow && !e.isRtl,
1516
+ style: {
1517
+ [`&[data-popper-placement*="left"] .${L.arrow}`]: {
1518
+ right: 0,
1519
+ marginRight: "-0.71em"
1520
+ }
1521
+ }
1522
+ }, {
1523
+ props: ({
1524
+ ownerState: e
1525
+ }) => e.arrow && !!e.isRtl,
1526
+ style: {
1527
+ [`&[data-popper-placement*="left"] .${L.arrow}`]: {
1528
+ left: 0,
1529
+ marginLeft: "-0.71em"
1530
+ }
1531
+ }
1532
+ }]
1533
+ }))), qr = ot("div", {
1534
+ name: "MuiTooltip",
1535
+ slot: "Tooltip",
1536
+ overridesResolver: (t, e) => {
1537
+ const {
1538
+ ownerState: o
1539
+ } = t;
1540
+ return [e.tooltip, o.touch && e.touch, o.arrow && e.tooltipArrow, e[`tooltipPlacement${Ft(o.placement.split("-")[0])}`]];
1541
+ }
1542
+ })(ut(({
1543
+ theme: t
1544
+ }) => ({
1545
+ backgroundColor: t.vars ? t.vars.palette.Tooltip.bg : Ut(t.palette.grey[700], 0.92),
1546
+ borderRadius: (t.vars || t).shape.borderRadius,
1547
+ color: (t.vars || t).palette.common.white,
1548
+ fontFamily: t.typography.fontFamily,
1549
+ padding: "4px 8px",
1550
+ fontSize: t.typography.pxToRem(11),
1551
+ maxWidth: 300,
1552
+ margin: 2,
1553
+ wordWrap: "break-word",
1554
+ fontWeight: t.typography.fontWeightMedium,
1555
+ [`.${L.popper}[data-popper-placement*="left"] &`]: {
1556
+ transformOrigin: "right center"
1557
+ },
1558
+ [`.${L.popper}[data-popper-placement*="right"] &`]: {
1559
+ transformOrigin: "left center"
1560
+ },
1561
+ [`.${L.popper}[data-popper-placement*="top"] &`]: {
1562
+ transformOrigin: "center bottom",
1563
+ marginBottom: "14px"
1564
+ },
1565
+ [`.${L.popper}[data-popper-placement*="bottom"] &`]: {
1566
+ transformOrigin: "center top",
1567
+ marginTop: "14px"
1568
+ },
1569
+ variants: [{
1570
+ props: ({
1571
+ ownerState: e
1572
+ }) => e.arrow,
1573
+ style: {
1574
+ position: "relative",
1575
+ margin: 0
1576
+ }
1577
+ }, {
1578
+ props: ({
1579
+ ownerState: e
1580
+ }) => e.touch,
1581
+ style: {
1582
+ padding: "8px 16px",
1583
+ fontSize: t.typography.pxToRem(14),
1584
+ lineHeight: `${Fr(16 / 14)}em`,
1585
+ fontWeight: t.typography.fontWeightRegular
1586
+ }
1587
+ }, {
1588
+ props: ({
1589
+ ownerState: e
1590
+ }) => !e.isRtl,
1591
+ style: {
1592
+ [`.${L.popper}[data-popper-placement*="left"] &`]: {
1593
+ marginRight: "14px"
1594
+ },
1595
+ [`.${L.popper}[data-popper-placement*="right"] &`]: {
1596
+ marginLeft: "14px"
1597
+ }
1598
+ }
1599
+ }, {
1600
+ props: ({
1601
+ ownerState: e
1602
+ }) => !e.isRtl && e.touch,
1603
+ style: {
1604
+ [`.${L.popper}[data-popper-placement*="left"] &`]: {
1605
+ marginRight: "24px"
1606
+ },
1607
+ [`.${L.popper}[data-popper-placement*="right"] &`]: {
1608
+ marginLeft: "24px"
1609
+ }
1610
+ }
1611
+ }, {
1612
+ props: ({
1613
+ ownerState: e
1614
+ }) => !!e.isRtl,
1615
+ style: {
1616
+ [`.${L.popper}[data-popper-placement*="left"] &`]: {
1617
+ marginLeft: "14px"
1618
+ },
1619
+ [`.${L.popper}[data-popper-placement*="right"] &`]: {
1620
+ marginRight: "14px"
1621
+ }
1622
+ }
1623
+ }, {
1624
+ props: ({
1625
+ ownerState: e
1626
+ }) => !!e.isRtl && e.touch,
1627
+ style: {
1628
+ [`.${L.popper}[data-popper-placement*="left"] &`]: {
1629
+ marginLeft: "24px"
1630
+ },
1631
+ [`.${L.popper}[data-popper-placement*="right"] &`]: {
1632
+ marginRight: "24px"
1633
+ }
1634
+ }
1635
+ }, {
1636
+ props: ({
1637
+ ownerState: e
1638
+ }) => e.touch,
1639
+ style: {
1640
+ [`.${L.popper}[data-popper-placement*="top"] &`]: {
1641
+ marginBottom: "24px"
1642
+ }
1643
+ }
1644
+ }, {
1645
+ props: ({
1646
+ ownerState: e
1647
+ }) => e.touch,
1648
+ style: {
1649
+ [`.${L.popper}[data-popper-placement*="bottom"] &`]: {
1650
+ marginTop: "24px"
1651
+ }
1652
+ }
1653
+ }]
1654
+ }))), Yr = ot("span", {
1655
+ name: "MuiTooltip",
1656
+ slot: "Arrow",
1657
+ overridesResolver: (t, e) => e.arrow
1658
+ })(ut(({
1659
+ theme: t
1660
+ }) => ({
1661
+ overflow: "hidden",
1662
+ position: "absolute",
1663
+ width: "1em",
1664
+ height: "0.71em",
1665
+ boxSizing: "border-box",
1666
+ color: t.vars ? t.vars.palette.Tooltip.bg : Ut(t.palette.grey[700], 0.9),
1667
+ "&::before": {
1668
+ content: '""',
1669
+ margin: "auto",
1670
+ display: "block",
1671
+ width: "100%",
1672
+ height: "100%",
1673
+ backgroundColor: "currentColor",
1674
+ transform: "rotate(45deg)"
1675
+ }
1676
+ })));
1677
+ let Je = !1;
1678
+ const Nt = new wo();
1679
+ let ke = {
1680
+ x: 0,
1681
+ y: 0
1682
+ };
1683
+ function Qe(t, e) {
1684
+ return (o, ...n) => {
1685
+ e && e(o, ...n), t(o, ...n);
1686
+ };
1687
+ }
1688
+ const ft = /* @__PURE__ */ M.forwardRef(function(e, o) {
1689
+ const n = Vt({
1690
+ props: e,
1691
+ name: "MuiTooltip"
1692
+ }), {
1693
+ arrow: a = !1,
1694
+ children: s,
1695
+ classes: c,
1696
+ components: i = {},
1697
+ componentsProps: p = {},
1698
+ describeChild: f = !1,
1699
+ disableFocusListener: l = !1,
1700
+ disableHoverListener: g = !1,
1701
+ disableInteractive: x = !1,
1702
+ disableTouchListener: u = !1,
1703
+ enterDelay: T = 100,
1704
+ enterNextDelay: m = 0,
1705
+ enterTouchDelay: h = 700,
1706
+ followCursor: w = !1,
1707
+ id: E,
1708
+ leaveDelay: O = 0,
1709
+ leaveTouchDelay: d = 1500,
1710
+ onClose: y,
1711
+ onOpen: b,
1712
+ open: R,
1713
+ placement: S = "bottom",
1714
+ PopperComponent: A,
1715
+ PopperProps: P = {},
1716
+ slotProps: C = {},
1717
+ slots: W = {},
1718
+ title: j,
1719
+ TransitionComponent: G,
1720
+ TransitionProps: K,
1721
+ ...$
1722
+ } = n, D = /* @__PURE__ */ M.isValidElement(s) ? s : /* @__PURE__ */ k("span", {
1723
+ children: s
1724
+ }), N = yo(), re = zt(), [B, ve] = M.useState(), [ne, he] = M.useState(null), J = M.useRef(!1), F = x || w, ie = Xe(), se = Xe(), U = Xe(), ge = Xe(), [at, ye] = Eo({
1725
+ controlled: R,
1726
+ default: !1,
1727
+ name: "Tooltip",
1728
+ state: "open"
1729
+ });
1730
+ let Q = at;
1731
+ if (process.env.NODE_ENV !== "production") {
1732
+ const {
1733
+ current: v
1734
+ } = M.useRef(R !== void 0);
1735
+ M.useEffect(() => {
1736
+ B && B.disabled && !v && j !== "" && B.tagName.toLowerCase() === "button" && console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
1737
+ `));
1738
+ }, [j, B, v]);
1739
+ }
1740
+ const be = Ro(E), le = M.useRef(), we = Pt(() => {
1741
+ le.current !== void 0 && (document.body.style.WebkitUserSelect = le.current, le.current = void 0), ge.clear();
1742
+ });
1743
+ M.useEffect(() => we, [we]);
1744
+ const Ae = (v) => {
1745
+ Nt.clear(), Je = !0, ye(!0), b && !Q && b(v);
1746
+ }, ce = Pt(
1747
+ /**
1748
+ * @param {React.SyntheticEvent | Event} event
1749
+ */
1750
+ (v) => {
1751
+ Nt.start(800 + O, () => {
1752
+ Je = !1;
1753
+ }), ye(!1), y && Q && y(v), ie.start(N.transitions.duration.shortest, () => {
1754
+ J.current = !1;
1755
+ });
1756
+ }
1757
+ ), Oe = (v) => {
1758
+ J.current && v.type !== "touchstart" || (B && B.removeAttribute("title"), se.clear(), U.clear(), T || Je && m ? se.start(Je ? m : T, () => {
1759
+ Ae(v);
1760
+ }) : Ae(v));
1761
+ }, Ce = (v) => {
1762
+ se.clear(), U.start(O, () => {
1763
+ ce(v);
1764
+ });
1765
+ }, [, ee] = M.useState(!1), fe = (v) => {
1766
+ Et(v.target) || (ee(!1), Ce(v));
1767
+ }, Me = (v) => {
1768
+ B || ve(v.currentTarget), Et(v.target) && (ee(!0), Oe(v));
1769
+ }, je = (v) => {
1770
+ J.current = !0;
1771
+ const _ = D.props;
1772
+ _.onTouchStart && _.onTouchStart(v);
1773
+ }, De = (v) => {
1774
+ je(v), U.clear(), ie.clear(), we(), le.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", ge.start(h, () => {
1775
+ document.body.style.WebkitUserSelect = le.current, Oe(v);
1776
+ });
1777
+ }, Ue = (v) => {
1778
+ D.props.onTouchEnd && D.props.onTouchEnd(v), we(), U.start(d, () => {
1779
+ ce(v);
1780
+ });
1781
+ };
1782
+ M.useEffect(() => {
1783
+ if (!Q)
1784
+ return;
1785
+ function v(_) {
1786
+ _.key === "Escape" && ce(_);
1787
+ }
1788
+ return document.addEventListener("keydown", v), () => {
1789
+ document.removeEventListener("keydown", v);
1790
+ };
1791
+ }, [ce, Q]);
1792
+ const ze = pt(xo(D), ve, o);
1793
+ !j && j !== 0 && (Q = !1);
1794
+ const xe = M.useRef(), qe = (v) => {
1795
+ const _ = D.props;
1796
+ _.onMouseMove && _.onMouseMove(v), ke = {
1797
+ x: v.clientX,
1798
+ y: v.clientY
1799
+ }, xe.current && xe.current.update();
1800
+ }, Se = {}, it = typeof j == "string";
1801
+ f ? (Se.title = !Q && it && !g ? j : null, Se["aria-describedby"] = Q ? be : null) : (Se["aria-label"] = it ? j : null, Se["aria-labelledby"] = Q && !it ? be : null);
1802
+ const z = {
1803
+ ...Se,
1804
+ ...$,
1805
+ ...D.props,
1806
+ className: xt($.className, D.props.className),
1807
+ onTouchStart: je,
1808
+ ref: ze,
1809
+ ...w ? {
1810
+ onMouseMove: qe
1811
+ } : {}
1812
+ };
1813
+ process.env.NODE_ENV !== "production" && (z["data-mui-internal-clone-element"] = !0, M.useEffect(() => {
1814
+ B && !B.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
1815
+ `));
1816
+ }, [B]));
1817
+ const $e = {};
1818
+ u || (z.onTouchStart = De, z.onTouchEnd = Ue), g || (z.onMouseOver = Qe(Oe, z.onMouseOver), z.onMouseLeave = Qe(Ce, z.onMouseLeave), F || ($e.onMouseOver = Oe, $e.onMouseLeave = Ce)), l || (z.onFocus = Qe(Me, z.onFocus), z.onBlur = Qe(fe, z.onBlur), F || ($e.onFocus = Me, $e.onBlur = fe)), process.env.NODE_ENV !== "production" && D.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${D.props.title}\` or the Tooltip component.`].join(`
1819
+ `));
1820
+ const ue = {
1821
+ ...n,
1822
+ isRtl: re,
1823
+ arrow: a,
1824
+ disableInteractive: F,
1825
+ placement: S,
1826
+ PopperComponentProp: A,
1827
+ touch: J.current
1828
+ }, Z = typeof C.popper == "function" ? C.popper(ue) : C.popper, ro = M.useMemo(() => {
1829
+ var _, Ot;
1830
+ let v = [{
1831
+ name: "arrow",
1832
+ enabled: !!ne,
1833
+ options: {
1834
+ element: ne,
1835
+ padding: 4
1836
+ }
1837
+ }];
1838
+ return (_ = P.popperOptions) != null && _.modifiers && (v = v.concat(P.popperOptions.modifiers)), (Ot = Z == null ? void 0 : Z.popperOptions) != null && Ot.modifiers && (v = v.concat(Z.popperOptions.modifiers)), {
1839
+ ...P.popperOptions,
1840
+ ...Z == null ? void 0 : Z.popperOptions,
1841
+ modifiers: v
1842
+ };
1843
+ }, [ne, P.popperOptions, Z == null ? void 0 : Z.popperOptions]), st = Ur(ue), no = typeof C.transition == "function" ? C.transition(ue) : C.transition, Ye = {
1844
+ slots: {
1845
+ popper: i.Popper,
1846
+ transition: i.Transition ?? G,
1847
+ tooltip: i.Tooltip,
1848
+ arrow: i.Arrow,
1849
+ ...W
1850
+ },
1851
+ slotProps: {
1852
+ arrow: C.arrow ?? p.arrow,
1853
+ popper: {
1854
+ ...P,
1855
+ ...Z ?? p.popper
1856
+ },
1857
+ // resolvedPopperProps can be spread because it's already an object
1858
+ tooltip: C.tooltip ?? p.tooltip,
1859
+ transition: {
1860
+ ...K,
1861
+ ...no ?? p.transition
1862
+ }
1863
+ }
1864
+ }, [ao, io] = Ge("popper", {
1865
+ elementType: zr,
1866
+ externalForwardedProps: Ye,
1867
+ ownerState: ue,
1868
+ className: xt(st.popper, P == null ? void 0 : P.className)
1869
+ }), [so, po] = Ge("transition", {
1870
+ elementType: go,
1871
+ externalForwardedProps: Ye,
1872
+ ownerState: ue
1873
+ }), [lo, co] = Ge("tooltip", {
1874
+ elementType: qr,
1875
+ className: st.tooltip,
1876
+ externalForwardedProps: Ye,
1877
+ ownerState: ue
1878
+ }), [fo, uo] = Ge("arrow", {
1879
+ elementType: Yr,
1880
+ className: st.arrow,
1881
+ externalForwardedProps: Ye,
1882
+ ownerState: ue,
1883
+ ref: he
1884
+ });
1885
+ return /* @__PURE__ */ Be(M.Fragment, {
1886
+ children: [/* @__PURE__ */ M.cloneElement(D, z), /* @__PURE__ */ k(ao, {
1887
+ as: A ?? wt,
1888
+ placement: S,
1889
+ anchorEl: w ? {
1890
+ getBoundingClientRect: () => ({
1891
+ top: ke.y,
1892
+ left: ke.x,
1893
+ right: ke.x,
1894
+ bottom: ke.y,
1895
+ width: 0,
1896
+ height: 0
1897
+ })
1898
+ } : B,
1899
+ popperRef: xe,
1900
+ open: B ? Q : !1,
1901
+ id: be,
1902
+ transition: !0,
1903
+ ...$e,
1904
+ ...io,
1905
+ popperOptions: ro,
1906
+ children: ({
1907
+ TransitionProps: v
1908
+ }) => /* @__PURE__ */ k(so, {
1909
+ timeout: N.transitions.duration.shorter,
1910
+ ...v,
1911
+ ...po,
1912
+ children: /* @__PURE__ */ Be(lo, {
1913
+ ...co,
1914
+ children: [j, a ? /* @__PURE__ */ k(fo, {
1915
+ ...uo
1916
+ }) : null]
1917
+ })
1918
+ })
1919
+ })]
1920
+ });
1921
+ });
1922
+ process.env.NODE_ENV !== "production" && (ft.propTypes = {
1923
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
1924
+ // │ These PropTypes are generated from the TypeScript type definitions. │
1925
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
1926
+ // └─────────────────────────────────────────────────────────────────────┘
1927
+ /**
1928
+ * If `true`, adds an arrow to the tooltip.
1929
+ * @default false
1930
+ */
1931
+ arrow: r.bool,
1932
+ /**
1933
+ * Tooltip reference element.
1934
+ */
1935
+ children: To.isRequired,
1936
+ /**
1937
+ * Override or extend the styles applied to the component.
1938
+ */
1939
+ classes: r.object,
1940
+ /**
1941
+ * @ignore
1942
+ */
1943
+ className: r.string,
1944
+ /**
1945
+ * The components used for each slot inside.
1946
+ *
1947
+ * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1948
+ *
1949
+ * @default {}
1950
+ */
1951
+ components: r.shape({
1952
+ Arrow: r.elementType,
1953
+ Popper: r.elementType,
1954
+ Tooltip: r.elementType,
1955
+ Transition: r.elementType
1956
+ }),
1957
+ /**
1958
+ * The extra props for the slot components.
1959
+ * You can override the existing props or add new ones.
1960
+ *
1961
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1962
+ *
1963
+ * @default {}
1964
+ */
1965
+ componentsProps: r.shape({
1966
+ arrow: r.object,
1967
+ popper: r.object,
1968
+ tooltip: r.object,
1969
+ transition: r.object
1970
+ }),
1971
+ /**
1972
+ * Set to `true` if the `title` acts as an accessible description.
1973
+ * By default the `title` acts as an accessible label for the child.
1974
+ * @default false
1975
+ */
1976
+ describeChild: r.bool,
1977
+ /**
1978
+ * Do not respond to focus-visible events.
1979
+ * @default false
1980
+ */
1981
+ disableFocusListener: r.bool,
1982
+ /**
1983
+ * Do not respond to hover events.
1984
+ * @default false
1985
+ */
1986
+ disableHoverListener: r.bool,
1987
+ /**
1988
+ * Makes a tooltip not interactive, i.e. it will close when the user
1989
+ * hovers over the tooltip before the `leaveDelay` is expired.
1990
+ * @default false
1991
+ */
1992
+ disableInteractive: r.bool,
1993
+ /**
1994
+ * Do not respond to long press touch events.
1995
+ * @default false
1996
+ */
1997
+ disableTouchListener: r.bool,
1998
+ /**
1999
+ * The number of milliseconds to wait before showing the tooltip.
2000
+ * This prop won't impact the enter touch delay (`enterTouchDelay`).
2001
+ * @default 100
2002
+ */
2003
+ enterDelay: r.number,
2004
+ /**
2005
+ * The number of milliseconds to wait before showing the tooltip when one was already recently opened.
2006
+ * @default 0
2007
+ */
2008
+ enterNextDelay: r.number,
2009
+ /**
2010
+ * The number of milliseconds a user must touch the element before showing the tooltip.
2011
+ * @default 700
2012
+ */
2013
+ enterTouchDelay: r.number,
2014
+ /**
2015
+ * If `true`, the tooltip follow the cursor over the wrapped element.
2016
+ * @default false
2017
+ */
2018
+ followCursor: r.bool,
2019
+ /**
2020
+ * This prop is used to help implement the accessibility logic.
2021
+ * If you don't provide this prop. It falls back to a randomly generated id.
2022
+ */
2023
+ id: r.string,
2024
+ /**
2025
+ * The number of milliseconds to wait before hiding the tooltip.
2026
+ * This prop won't impact the leave touch delay (`leaveTouchDelay`).
2027
+ * @default 0
2028
+ */
2029
+ leaveDelay: r.number,
2030
+ /**
2031
+ * The number of milliseconds after the user stops touching an element before hiding the tooltip.
2032
+ * @default 1500
2033
+ */
2034
+ leaveTouchDelay: r.number,
2035
+ /**
2036
+ * Callback fired when the component requests to be closed.
2037
+ *
2038
+ * @param {React.SyntheticEvent} event The event source of the callback.
2039
+ */
2040
+ onClose: r.func,
2041
+ /**
2042
+ * Callback fired when the component requests to be open.
2043
+ *
2044
+ * @param {React.SyntheticEvent} event The event source of the callback.
2045
+ */
2046
+ onOpen: r.func,
2047
+ /**
2048
+ * If `true`, the component is shown.
2049
+ */
2050
+ open: r.bool,
2051
+ /**
2052
+ * Tooltip placement.
2053
+ * @default 'bottom'
2054
+ */
2055
+ placement: r.oneOf(["bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
2056
+ /**
2057
+ * The component used for the popper.
2058
+ * @deprecated use the `slots.popper` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2059
+ */
2060
+ PopperComponent: r.elementType,
2061
+ /**
2062
+ * Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
2063
+ * @deprecated use the `slotProps.popper` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2064
+ * @default {}
2065
+ */
2066
+ PopperProps: r.object,
2067
+ /**
2068
+ * The props used for each slot inside.
2069
+ * @default {}
2070
+ */
2071
+ slotProps: r.shape({
2072
+ arrow: r.oneOfType([r.func, r.object]),
2073
+ popper: r.oneOfType([r.func, r.object]),
2074
+ tooltip: r.oneOfType([r.func, r.object]),
2075
+ transition: r.oneOfType([r.func, r.object])
2076
+ }),
2077
+ /**
2078
+ * The components used for each slot inside.
2079
+ * @default {}
2080
+ */
2081
+ slots: r.shape({
2082
+ arrow: r.elementType,
2083
+ popper: r.elementType,
2084
+ tooltip: r.elementType,
2085
+ transition: r.elementType
2086
+ }),
2087
+ /**
2088
+ * The system prop that allows defining system overrides as well as additional CSS styles.
2089
+ */
2090
+ sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object]),
2091
+ /**
2092
+ * Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
2093
+ */
2094
+ title: r.node,
2095
+ /**
2096
+ * The component used for the transition.
2097
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
2098
+ * @deprecated use the `slots.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2099
+ */
2100
+ TransitionComponent: r.elementType,
2101
+ /**
2102
+ * Props applied to the transition element.
2103
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
2104
+ * @deprecated use the `slotProps.transition` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
2105
+ * @default {}
2106
+ */
2107
+ TransitionProps: r.object
2108
+ });
2109
+ const Xr = Yt(/* @__PURE__ */ k("path", {
2110
+ d: "m18 7-1.41-1.41-6.34 6.34 1.41 1.41zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12zM.41 13.41 6 19l1.41-1.41L1.83 12z"
2111
+ }), "DoneAll"), Gr = Yt(/* @__PURE__ */ k("path", {
2112
+ d: "M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"
2113
+ }), "Settings"), cn = (t) => {
2114
+ const e = t.title ?? /* @__PURE__ */ k(vo, { variant: "body1", children: "Notifications" });
2115
+ return /* @__PURE__ */ Be(mo, { children: [
2116
+ /* @__PURE__ */ Be(
2117
+ "div",
2118
+ {
2119
+ style: {
2120
+ display: "flex",
2121
+ justifyContent: "space-between",
2122
+ alignItems: "center",
2123
+ padding: "16px 0 12px 0"
2124
+ },
2125
+ children: [
2126
+ e,
2127
+ /* @__PURE__ */ Be(ho, { children: [
2128
+ /* @__PURE__ */ k(ft, { title: "Resolve all", children: /* @__PURE__ */ k(
2129
+ At,
2130
+ {
2131
+ size: "small",
2132
+ onClick: () => {
2133
+ t.button1ClickHandler && t.button1ClickHandler("ALL");
2134
+ },
2135
+ children: /* @__PURE__ */ k(Xr, { fontSize: "small" })
2136
+ }
2137
+ ) }),
2138
+ /* @__PURE__ */ k(ft, { title: "Notification Preferences", children: /* @__PURE__ */ k(At, { size: "small", onClick: t.button2ClickHandler, children: /* @__PURE__ */ k(Gr, { fontSize: "small" }) }) })
2139
+ ] })
2140
+ ]
2141
+ }
2142
+ ),
2143
+ /* @__PURE__ */ k(Ao, {})
2144
+ ] });
2145
+ };
7
2146
  export {
8
- a as InboxHeader
2147
+ cn as InboxHeader
9
2148
  };