@caseparts-org/caseblocks 0.0.85 → 0.0.87

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.
@@ -1,10 +1,1715 @@
1
- import { jsx as he } from "react/jsx-runtime";
2
- import T, { forwardRef as Xe, useState as Fe, useRef as N, useLayoutEffect as Ve, useEffect as x, useImperativeHandle as Ge } from "react";
3
- import { c as Oe } from "../../clsx-OuTLNxxd.js";
4
- import '../../assets/Tooltip.css';function qe(s) {
5
- return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
1
+ import { jsx as jt } from "react/jsx-runtime";
2
+ import Ve, { forwardRef as Ir, cloneElement as sr, useState as dt, useLayoutEffect as Vr, useEffect as Hr, useRef as Ur } from "react";
3
+ import { c as kt } from "../../clsx-OuTLNxxd.js";
4
+ import '../../assets/Tooltip.css';var q = "top", J = "bottom", Q = "right", z = "left", St = "auto", qe = [q, J, Q, z], Ae = "start", He = "end", Wr = "clippingParents", cr = "viewport", ke = "popper", Fr = "reference", $t = /* @__PURE__ */ qe.reduce(function(e, t) {
5
+ return e.concat([t + "-" + Ae, t + "-" + He]);
6
+ }, []), ur = /* @__PURE__ */ [].concat(qe, [St]).reduce(function(e, t) {
7
+ return e.concat([t, t + "-" + Ae, t + "-" + He]);
8
+ }, []), qr = "beforeRead", zr = "read", Yr = "afterRead", Gr = "beforeMain", Xr = "main", Kr = "afterMain", Jr = "beforeWrite", Qr = "write", Zr = "afterWrite", en = [qr, zr, Yr, Gr, Xr, Kr, Jr, Qr, Zr];
9
+ function ne(e) {
10
+ return e ? (e.nodeName || "").toLowerCase() : null;
6
11
  }
7
- var K = { exports: {} }, O = {};
12
+ function G(e) {
13
+ if (e == null)
14
+ return window;
15
+ if (e.toString() !== "[object Window]") {
16
+ var t = e.ownerDocument;
17
+ return t && t.defaultView || window;
18
+ }
19
+ return e;
20
+ }
21
+ function be(e) {
22
+ var t = G(e).Element;
23
+ return e instanceof t || e instanceof Element;
24
+ }
25
+ function K(e) {
26
+ var t = G(e).HTMLElement;
27
+ return e instanceof t || e instanceof HTMLElement;
28
+ }
29
+ function At(e) {
30
+ if (typeof ShadowRoot > "u")
31
+ return !1;
32
+ var t = G(e).ShadowRoot;
33
+ return e instanceof t || e instanceof ShadowRoot;
34
+ }
35
+ function tn(e) {
36
+ var t = e.state;
37
+ Object.keys(t.elements).forEach(function(r) {
38
+ var n = t.styles[r] || {}, a = t.attributes[r] || {}, u = t.elements[r];
39
+ !K(u) || !ne(u) || (Object.assign(u.style, n), Object.keys(a).forEach(function(f) {
40
+ var v = a[f];
41
+ v === !1 ? u.removeAttribute(f) : u.setAttribute(f, v === !0 ? "" : v);
42
+ }));
43
+ });
44
+ }
45
+ function rn(e) {
46
+ var t = e.state, r = {
47
+ popper: {
48
+ position: t.options.strategy,
49
+ left: "0",
50
+ top: "0",
51
+ margin: "0"
52
+ },
53
+ arrow: {
54
+ position: "absolute"
55
+ },
56
+ reference: {}
57
+ };
58
+ return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
59
+ Object.keys(t.elements).forEach(function(n) {
60
+ var a = t.elements[n], u = t.attributes[n] || {}, f = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), v = f.reduce(function(o, c) {
61
+ return o[c] = "", o;
62
+ }, {});
63
+ !K(a) || !ne(a) || (Object.assign(a.style, v), Object.keys(u).forEach(function(o) {
64
+ a.removeAttribute(o);
65
+ }));
66
+ });
67
+ };
68
+ }
69
+ const fr = {
70
+ name: "applyStyles",
71
+ enabled: !0,
72
+ phase: "write",
73
+ fn: tn,
74
+ effect: rn,
75
+ requires: ["computeStyles"]
76
+ };
77
+ function re(e) {
78
+ return e.split("-")[0];
79
+ }
80
+ var he = Math.max, ct = Math.min, _e = Math.round;
81
+ function bt() {
82
+ var e = navigator.userAgentData;
83
+ return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
84
+ return t.brand + "/" + t.version;
85
+ }).join(" ") : navigator.userAgent;
86
+ }
87
+ function pr() {
88
+ return !/^((?!chrome|android).)*safari/i.test(bt());
89
+ }
90
+ function Re(e, t, r) {
91
+ t === void 0 && (t = !1), r === void 0 && (r = !1);
92
+ var n = e.getBoundingClientRect(), a = 1, u = 1;
93
+ t && K(e) && (a = e.offsetWidth > 0 && _e(n.width) / e.offsetWidth || 1, u = e.offsetHeight > 0 && _e(n.height) / e.offsetHeight || 1);
94
+ var f = be(e) ? G(e) : window, v = f.visualViewport, o = !pr() && r, c = (n.left + (o && v ? v.offsetLeft : 0)) / a, l = (n.top + (o && v ? v.offsetTop : 0)) / u, d = n.width / a, s = n.height / u;
95
+ return {
96
+ width: d,
97
+ height: s,
98
+ top: l,
99
+ right: c + d,
100
+ bottom: l + s,
101
+ left: c,
102
+ x: c,
103
+ y: l
104
+ };
105
+ }
106
+ function _t(e) {
107
+ var t = Re(e), r = e.offsetWidth, n = e.offsetHeight;
108
+ return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
109
+ x: e.offsetLeft,
110
+ y: e.offsetTop,
111
+ width: r,
112
+ height: n
113
+ };
114
+ }
115
+ function lr(e, t) {
116
+ var r = t.getRootNode && t.getRootNode();
117
+ if (e.contains(t))
118
+ return !0;
119
+ if (r && At(r)) {
120
+ var n = t;
121
+ do {
122
+ if (n && e.isSameNode(n))
123
+ return !0;
124
+ n = n.parentNode || n.host;
125
+ } while (n);
126
+ }
127
+ return !1;
128
+ }
129
+ function ue(e) {
130
+ return G(e).getComputedStyle(e);
131
+ }
132
+ function nn(e) {
133
+ return ["table", "td", "th"].indexOf(ne(e)) >= 0;
134
+ }
135
+ function le(e) {
136
+ return ((be(e) ? e.ownerDocument : (
137
+ // $FlowFixMe[prop-missing]
138
+ e.document
139
+ )) || window.document).documentElement;
140
+ }
141
+ function ft(e) {
142
+ return ne(e) === "html" ? e : (
143
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
144
+ // $FlowFixMe[incompatible-return]
145
+ // $FlowFixMe[prop-missing]
146
+ e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
147
+ e.parentNode || // DOM Element detected
148
+ (At(e) ? e.host : null) || // ShadowRoot detected
149
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
150
+ le(e)
151
+ );
152
+ }
153
+ function Bt(e) {
154
+ return !K(e) || // https://github.com/popperjs/popper-core/issues/837
155
+ ue(e).position === "fixed" ? null : e.offsetParent;
156
+ }
157
+ function on(e) {
158
+ var t = /firefox/i.test(bt()), r = /Trident/i.test(bt());
159
+ if (r && K(e)) {
160
+ var n = ue(e);
161
+ if (n.position === "fixed")
162
+ return null;
163
+ }
164
+ var a = ft(e);
165
+ for (At(a) && (a = a.host); K(a) && ["html", "body"].indexOf(ne(a)) < 0; ) {
166
+ var u = ue(a);
167
+ if (u.transform !== "none" || u.perspective !== "none" || u.contain === "paint" || ["transform", "perspective"].indexOf(u.willChange) !== -1 || t && u.willChange === "filter" || t && u.filter && u.filter !== "none")
168
+ return a;
169
+ a = a.parentNode;
170
+ }
171
+ return null;
172
+ }
173
+ function ze(e) {
174
+ for (var t = G(e), r = Bt(e); r && nn(r) && ue(r).position === "static"; )
175
+ r = Bt(r);
176
+ return r && (ne(r) === "html" || ne(r) === "body" && ue(r).position === "static") ? t : r || on(e) || t;
177
+ }
178
+ function Rt(e) {
179
+ return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
180
+ }
181
+ function $e(e, t, r) {
182
+ return he(e, ct(t, r));
183
+ }
184
+ function an(e, t, r) {
185
+ var n = $e(e, t, r);
186
+ return n > r ? r : n;
187
+ }
188
+ function dr() {
189
+ return {
190
+ top: 0,
191
+ right: 0,
192
+ bottom: 0,
193
+ left: 0
194
+ };
195
+ }
196
+ function vr(e) {
197
+ return Object.assign({}, dr(), e);
198
+ }
199
+ function gr(e, t) {
200
+ return t.reduce(function(r, n) {
201
+ return r[n] = e, r;
202
+ }, {});
203
+ }
204
+ var sn = function(t, r) {
205
+ return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
206
+ placement: r.placement
207
+ })) : t, vr(typeof t != "number" ? t : gr(t, qe));
208
+ };
209
+ function cn(e) {
210
+ var t, r = e.state, n = e.name, a = e.options, u = r.elements.arrow, f = r.modifiersData.popperOffsets, v = re(r.placement), o = Rt(v), c = [z, Q].indexOf(v) >= 0, l = c ? "height" : "width";
211
+ if (!(!u || !f)) {
212
+ var d = sn(a.padding, r), s = _t(u), g = o === "y" ? q : z, h = o === "y" ? J : Q, b = r.rects.reference[l] + r.rects.reference[o] - f[o] - r.rects.popper[l], w = f[o] - r.rects.reference[o], S = ze(u), R = S ? o === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0, N = b / 2 - w / 2, i = d[g], T = R - s[l] - d[h], m = R / 2 - s[l] / 2 + N, L = $e(i, m, T), k = o;
213
+ r.modifiersData[n] = (t = {}, t[k] = L, t.centerOffset = L - m, t);
214
+ }
215
+ }
216
+ function un(e) {
217
+ var t = e.state, r = e.options, n = r.element, a = n === void 0 ? "[data-popper-arrow]" : n;
218
+ a != null && (typeof a == "string" && (a = t.elements.popper.querySelector(a), !a) || lr(t.elements.popper, a) && (t.elements.arrow = a));
219
+ }
220
+ const fn = {
221
+ name: "arrow",
222
+ enabled: !0,
223
+ phase: "main",
224
+ fn: cn,
225
+ effect: un,
226
+ requires: ["popperOffsets"],
227
+ requiresIfExists: ["preventOverflow"]
228
+ };
229
+ function Ce(e) {
230
+ return e.split("-")[1];
231
+ }
232
+ var pn = {
233
+ top: "auto",
234
+ right: "auto",
235
+ bottom: "auto",
236
+ left: "auto"
237
+ };
238
+ function ln(e, t) {
239
+ var r = e.x, n = e.y, a = t.devicePixelRatio || 1;
240
+ return {
241
+ x: _e(r * a) / a || 0,
242
+ y: _e(n * a) / a || 0
243
+ };
244
+ }
245
+ function It(e) {
246
+ var t, r = e.popper, n = e.popperRect, a = e.placement, u = e.variation, f = e.offsets, v = e.position, o = e.gpuAcceleration, c = e.adaptive, l = e.roundOffsets, d = e.isFixed, s = f.x, g = s === void 0 ? 0 : s, h = f.y, b = h === void 0 ? 0 : h, w = typeof l == "function" ? l({
247
+ x: g,
248
+ y: b
249
+ }) : {
250
+ x: g,
251
+ y: b
252
+ };
253
+ g = w.x, b = w.y;
254
+ var S = f.hasOwnProperty("x"), R = f.hasOwnProperty("y"), N = z, i = q, T = window;
255
+ if (c) {
256
+ var m = ze(r), L = "clientHeight", k = "clientWidth";
257
+ if (m === G(r) && (m = le(r), ue(m).position !== "static" && v === "absolute" && (L = "scrollHeight", k = "scrollWidth")), m = m, a === q || (a === z || a === Q) && u === He) {
258
+ i = J;
259
+ var x = d && m === T && T.visualViewport ? T.visualViewport.height : (
260
+ // $FlowFixMe[prop-missing]
261
+ m[L]
262
+ );
263
+ b -= x - n.height, b *= o ? 1 : -1;
264
+ }
265
+ if (a === z || (a === q || a === J) && u === He) {
266
+ N = Q;
267
+ var A = d && m === T && T.visualViewport ? T.visualViewport.width : (
268
+ // $FlowFixMe[prop-missing]
269
+ m[k]
270
+ );
271
+ g -= A - n.width, g *= o ? 1 : -1;
272
+ }
273
+ }
274
+ var P = Object.assign({
275
+ position: v
276
+ }, c && pn), j = l === !0 ? ln({
277
+ x: g,
278
+ y: b
279
+ }, G(r)) : {
280
+ x: g,
281
+ y: b
282
+ };
283
+ if (g = j.x, b = j.y, o) {
284
+ var M;
285
+ return Object.assign({}, P, (M = {}, M[i] = R ? "0" : "", M[N] = S ? "0" : "", M.transform = (T.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + b + "px)" : "translate3d(" + g + "px, " + b + "px, 0)", M));
286
+ }
287
+ return Object.assign({}, P, (t = {}, t[i] = R ? b + "px" : "", t[N] = S ? g + "px" : "", t.transform = "", t));
288
+ }
289
+ function dn(e) {
290
+ var t = e.state, r = e.options, n = r.gpuAcceleration, a = n === void 0 ? !0 : n, u = r.adaptive, f = u === void 0 ? !0 : u, v = r.roundOffsets, o = v === void 0 ? !0 : v, c = {
291
+ placement: re(t.placement),
292
+ variation: Ce(t.placement),
293
+ popper: t.elements.popper,
294
+ popperRect: t.rects.popper,
295
+ gpuAcceleration: a,
296
+ isFixed: t.options.strategy === "fixed"
297
+ };
298
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, It(Object.assign({}, c, {
299
+ offsets: t.modifiersData.popperOffsets,
300
+ position: t.options.strategy,
301
+ adaptive: f,
302
+ roundOffsets: o
303
+ })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, It(Object.assign({}, c, {
304
+ offsets: t.modifiersData.arrow,
305
+ position: "absolute",
306
+ adaptive: !1,
307
+ roundOffsets: o
308
+ })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
309
+ "data-popper-placement": t.placement
310
+ });
311
+ }
312
+ const vn = {
313
+ name: "computeStyles",
314
+ enabled: !0,
315
+ phase: "beforeWrite",
316
+ fn: dn,
317
+ data: {}
318
+ };
319
+ var ot = {
320
+ passive: !0
321
+ };
322
+ function gn(e) {
323
+ var t = e.state, r = e.instance, n = e.options, a = n.scroll, u = a === void 0 ? !0 : a, f = n.resize, v = f === void 0 ? !0 : f, o = G(t.elements.popper), c = [].concat(t.scrollParents.reference, t.scrollParents.popper);
324
+ return u && c.forEach(function(l) {
325
+ l.addEventListener("scroll", r.update, ot);
326
+ }), v && o.addEventListener("resize", r.update, ot), function() {
327
+ u && c.forEach(function(l) {
328
+ l.removeEventListener("scroll", r.update, ot);
329
+ }), v && o.removeEventListener("resize", r.update, ot);
330
+ };
331
+ }
332
+ const mn = {
333
+ name: "eventListeners",
334
+ enabled: !0,
335
+ phase: "write",
336
+ fn: function() {
337
+ },
338
+ effect: gn,
339
+ data: {}
340
+ };
341
+ var yn = {
342
+ left: "right",
343
+ right: "left",
344
+ bottom: "top",
345
+ top: "bottom"
346
+ };
347
+ function st(e) {
348
+ return e.replace(/left|right|bottom|top/g, function(t) {
349
+ return yn[t];
350
+ });
351
+ }
352
+ var hn = {
353
+ start: "end",
354
+ end: "start"
355
+ };
356
+ function Vt(e) {
357
+ return e.replace(/start|end/g, function(t) {
358
+ return hn[t];
359
+ });
360
+ }
361
+ function Ct(e) {
362
+ var t = G(e), r = t.pageXOffset, n = t.pageYOffset;
363
+ return {
364
+ scrollLeft: r,
365
+ scrollTop: n
366
+ };
367
+ }
368
+ function Lt(e) {
369
+ return Re(le(e)).left + Ct(e).scrollLeft;
370
+ }
371
+ function bn(e, t) {
372
+ var r = G(e), n = le(e), a = r.visualViewport, u = n.clientWidth, f = n.clientHeight, v = 0, o = 0;
373
+ if (a) {
374
+ u = a.width, f = a.height;
375
+ var c = pr();
376
+ (c || !c && t === "fixed") && (v = a.offsetLeft, o = a.offsetTop);
377
+ }
378
+ return {
379
+ width: u,
380
+ height: f,
381
+ x: v + Lt(e),
382
+ y: o
383
+ };
384
+ }
385
+ function On(e) {
386
+ var t, r = le(e), n = Ct(e), a = (t = e.ownerDocument) == null ? void 0 : t.body, u = he(r.scrollWidth, r.clientWidth, a ? a.scrollWidth : 0, a ? a.clientWidth : 0), f = he(r.scrollHeight, r.clientHeight, a ? a.scrollHeight : 0, a ? a.clientHeight : 0), v = -n.scrollLeft + Lt(e), o = -n.scrollTop;
387
+ return ue(a || r).direction === "rtl" && (v += he(r.clientWidth, a ? a.clientWidth : 0) - u), {
388
+ width: u,
389
+ height: f,
390
+ x: v,
391
+ y: o
392
+ };
393
+ }
394
+ function Nt(e) {
395
+ var t = ue(e), r = t.overflow, n = t.overflowX, a = t.overflowY;
396
+ return /auto|scroll|overlay|hidden/.test(r + a + n);
397
+ }
398
+ function mr(e) {
399
+ return ["html", "body", "#document"].indexOf(ne(e)) >= 0 ? e.ownerDocument.body : K(e) && Nt(e) ? e : mr(ft(e));
400
+ }
401
+ function Be(e, t) {
402
+ var r;
403
+ t === void 0 && (t = []);
404
+ var n = mr(e), a = n === ((r = e.ownerDocument) == null ? void 0 : r.body), u = G(n), f = a ? [u].concat(u.visualViewport || [], Nt(n) ? n : []) : n, v = t.concat(f);
405
+ return a ? v : (
406
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
407
+ v.concat(Be(ft(f)))
408
+ );
409
+ }
410
+ function Ot(e) {
411
+ return Object.assign({}, e, {
412
+ left: e.x,
413
+ top: e.y,
414
+ right: e.x + e.width,
415
+ bottom: e.y + e.height
416
+ });
417
+ }
418
+ function wn(e, t) {
419
+ var r = Re(e, !1, t === "fixed");
420
+ 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;
421
+ }
422
+ function Ht(e, t, r) {
423
+ return t === cr ? Ot(bn(e, r)) : be(t) ? wn(t, r) : Ot(On(le(e)));
424
+ }
425
+ function En(e) {
426
+ var t = Be(ft(e)), r = ["absolute", "fixed"].indexOf(ue(e).position) >= 0, n = r && K(e) ? ze(e) : e;
427
+ return be(n) ? t.filter(function(a) {
428
+ return be(a) && lr(a, n) && ne(a) !== "body";
429
+ }) : [];
430
+ }
431
+ function Tn(e, t, r, n) {
432
+ var a = t === "clippingParents" ? En(e) : [].concat(t), u = [].concat(a, [r]), f = u[0], v = u.reduce(function(o, c) {
433
+ var l = Ht(e, c, n);
434
+ return o.top = he(l.top, o.top), o.right = ct(l.right, o.right), o.bottom = ct(l.bottom, o.bottom), o.left = he(l.left, o.left), o;
435
+ }, Ht(e, f, n));
436
+ return v.width = v.right - v.left, v.height = v.bottom - v.top, v.x = v.left, v.y = v.top, v;
437
+ }
438
+ function yr(e) {
439
+ var t = e.reference, r = e.element, n = e.placement, a = n ? re(n) : null, u = n ? Ce(n) : null, f = t.x + t.width / 2 - r.width / 2, v = t.y + t.height / 2 - r.height / 2, o;
440
+ switch (a) {
441
+ case q:
442
+ o = {
443
+ x: f,
444
+ y: t.y - r.height
445
+ };
446
+ break;
447
+ case J:
448
+ o = {
449
+ x: f,
450
+ y: t.y + t.height
451
+ };
452
+ break;
453
+ case Q:
454
+ o = {
455
+ x: t.x + t.width,
456
+ y: v
457
+ };
458
+ break;
459
+ case z:
460
+ o = {
461
+ x: t.x - r.width,
462
+ y: v
463
+ };
464
+ break;
465
+ default:
466
+ o = {
467
+ x: t.x,
468
+ y: t.y
469
+ };
470
+ }
471
+ var c = a ? Rt(a) : null;
472
+ if (c != null) {
473
+ var l = c === "y" ? "height" : "width";
474
+ switch (u) {
475
+ case Ae:
476
+ o[c] = o[c] - (t[l] / 2 - r[l] / 2);
477
+ break;
478
+ case He:
479
+ o[c] = o[c] + (t[l] / 2 - r[l] / 2);
480
+ break;
481
+ }
482
+ }
483
+ return o;
484
+ }
485
+ function Ue(e, t) {
486
+ t === void 0 && (t = {});
487
+ var r = t, n = r.placement, a = n === void 0 ? e.placement : n, u = r.strategy, f = u === void 0 ? e.strategy : u, v = r.boundary, o = v === void 0 ? Wr : v, c = r.rootBoundary, l = c === void 0 ? cr : c, d = r.elementContext, s = d === void 0 ? ke : d, g = r.altBoundary, h = g === void 0 ? !1 : g, b = r.padding, w = b === void 0 ? 0 : b, S = vr(typeof w != "number" ? w : gr(w, qe)), R = s === ke ? Fr : ke, N = e.rects.popper, i = e.elements[h ? R : s], T = Tn(be(i) ? i : i.contextElement || le(e.elements.popper), o, l, f), m = Re(e.elements.reference), L = yr({
488
+ reference: m,
489
+ element: N,
490
+ placement: a
491
+ }), k = Ot(Object.assign({}, N, L)), x = s === ke ? k : m, A = {
492
+ top: T.top - x.top + S.top,
493
+ bottom: x.bottom - T.bottom + S.bottom,
494
+ left: T.left - x.left + S.left,
495
+ right: x.right - T.right + S.right
496
+ }, P = e.modifiersData.offset;
497
+ if (s === ke && P) {
498
+ var j = P[a];
499
+ Object.keys(A).forEach(function(M) {
500
+ var C = [Q, J].indexOf(M) >= 0 ? 1 : -1, E = [q, J].indexOf(M) >= 0 ? "y" : "x";
501
+ A[M] += j[E] * C;
502
+ });
503
+ }
504
+ return A;
505
+ }
506
+ function Dn(e, t) {
507
+ t === void 0 && (t = {});
508
+ var r = t, n = r.placement, a = r.boundary, u = r.rootBoundary, f = r.padding, v = r.flipVariations, o = r.allowedAutoPlacements, c = o === void 0 ? ur : o, l = Ce(n), d = l ? v ? $t : $t.filter(function(h) {
509
+ return Ce(h) === l;
510
+ }) : qe, s = d.filter(function(h) {
511
+ return c.indexOf(h) >= 0;
512
+ });
513
+ s.length === 0 && (s = d);
514
+ var g = s.reduce(function(h, b) {
515
+ return h[b] = Ue(e, {
516
+ placement: b,
517
+ boundary: a,
518
+ rootBoundary: u,
519
+ padding: f
520
+ })[re(b)], h;
521
+ }, {});
522
+ return Object.keys(g).sort(function(h, b) {
523
+ return g[h] - g[b];
524
+ });
525
+ }
526
+ function xn(e) {
527
+ if (re(e) === St)
528
+ return [];
529
+ var t = st(e);
530
+ return [Vt(e), t, Vt(t)];
531
+ }
532
+ function Sn(e) {
533
+ var t = e.state, r = e.options, n = e.name;
534
+ if (!t.modifiersData[n]._skip) {
535
+ for (var a = r.mainAxis, u = a === void 0 ? !0 : a, f = r.altAxis, v = f === void 0 ? !0 : f, o = r.fallbackPlacements, c = r.padding, l = r.boundary, d = r.rootBoundary, s = r.altBoundary, g = r.flipVariations, h = g === void 0 ? !0 : g, b = r.allowedAutoPlacements, w = t.options.placement, S = re(w), R = S === w, N = o || (R || !h ? [st(w)] : xn(w)), i = [w].concat(N).reduce(function(ie, Z) {
536
+ return ie.concat(re(Z) === St ? Dn(t, {
537
+ placement: Z,
538
+ boundary: l,
539
+ rootBoundary: d,
540
+ padding: c,
541
+ flipVariations: h,
542
+ allowedAutoPlacements: b
543
+ }) : Z);
544
+ }, []), T = t.rects.reference, m = t.rects.popper, L = /* @__PURE__ */ new Map(), k = !0, x = i[0], A = 0; A < i.length; A++) {
545
+ var P = i[A], j = re(P), M = Ce(P) === Ae, C = [q, J].indexOf(j) >= 0, E = C ? "width" : "height", I = Ue(t, {
546
+ placement: P,
547
+ boundary: l,
548
+ rootBoundary: d,
549
+ altBoundary: s,
550
+ padding: c
551
+ }), B = C ? M ? Q : z : M ? J : q;
552
+ T[E] > m[E] && (B = st(B));
553
+ var $ = st(B), H = [];
554
+ if (u && H.push(I[j] <= 0), v && H.push(I[B] <= 0, I[$] <= 0), H.every(function(ie) {
555
+ return ie;
556
+ })) {
557
+ x = P, k = !1;
558
+ break;
559
+ }
560
+ L.set(P, H);
561
+ }
562
+ if (k)
563
+ for (var V = h ? 3 : 1, de = function(Z) {
564
+ var oe = i.find(function(Oe) {
565
+ var ae = L.get(Oe);
566
+ if (ae)
567
+ return ae.slice(0, Z).every(function(we) {
568
+ return we;
569
+ });
570
+ });
571
+ if (oe)
572
+ return x = oe, "break";
573
+ }, ee = V; ee > 0; ee--) {
574
+ var ve = de(ee);
575
+ if (ve === "break") break;
576
+ }
577
+ t.placement !== x && (t.modifiersData[n]._skip = !0, t.placement = x, t.reset = !0);
578
+ }
579
+ }
580
+ const An = {
581
+ name: "flip",
582
+ enabled: !0,
583
+ phase: "main",
584
+ fn: Sn,
585
+ requiresIfExists: ["offset"],
586
+ data: {
587
+ _skip: !1
588
+ }
589
+ };
590
+ function Ut(e, t, r) {
591
+ return r === void 0 && (r = {
592
+ x: 0,
593
+ y: 0
594
+ }), {
595
+ top: e.top - t.height - r.y,
596
+ right: e.right - t.width + r.x,
597
+ bottom: e.bottom - t.height + r.y,
598
+ left: e.left - t.width - r.x
599
+ };
600
+ }
601
+ function Wt(e) {
602
+ return [q, Q, J, z].some(function(t) {
603
+ return e[t] >= 0;
604
+ });
605
+ }
606
+ function _n(e) {
607
+ var t = e.state, r = e.name, n = t.rects.reference, a = t.rects.popper, u = t.modifiersData.preventOverflow, f = Ue(t, {
608
+ elementContext: "reference"
609
+ }), v = Ue(t, {
610
+ altBoundary: !0
611
+ }), o = Ut(f, n), c = Ut(v, a, u), l = Wt(o), d = Wt(c);
612
+ t.modifiersData[r] = {
613
+ referenceClippingOffsets: o,
614
+ popperEscapeOffsets: c,
615
+ isReferenceHidden: l,
616
+ hasPopperEscaped: d
617
+ }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
618
+ "data-popper-reference-hidden": l,
619
+ "data-popper-escaped": d
620
+ });
621
+ }
622
+ const Rn = {
623
+ name: "hide",
624
+ enabled: !0,
625
+ phase: "main",
626
+ requiresIfExists: ["preventOverflow"],
627
+ fn: _n
628
+ };
629
+ function Cn(e, t, r) {
630
+ var n = re(e), a = [z, q].indexOf(n) >= 0 ? -1 : 1, u = typeof r == "function" ? r(Object.assign({}, t, {
631
+ placement: e
632
+ })) : r, f = u[0], v = u[1];
633
+ return f = f || 0, v = (v || 0) * a, [z, Q].indexOf(n) >= 0 ? {
634
+ x: v,
635
+ y: f
636
+ } : {
637
+ x: f,
638
+ y: v
639
+ };
640
+ }
641
+ function Ln(e) {
642
+ var t = e.state, r = e.options, n = e.name, a = r.offset, u = a === void 0 ? [0, 0] : a, f = ur.reduce(function(l, d) {
643
+ return l[d] = Cn(d, t.rects, u), l;
644
+ }, {}), v = f[t.placement], o = v.x, c = v.y;
645
+ t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += o, t.modifiersData.popperOffsets.y += c), t.modifiersData[n] = f;
646
+ }
647
+ const Nn = {
648
+ name: "offset",
649
+ enabled: !0,
650
+ phase: "main",
651
+ requires: ["popperOffsets"],
652
+ fn: Ln
653
+ };
654
+ function Mn(e) {
655
+ var t = e.state, r = e.name;
656
+ t.modifiersData[r] = yr({
657
+ reference: t.rects.reference,
658
+ element: t.rects.popper,
659
+ placement: t.placement
660
+ });
661
+ }
662
+ const Pn = {
663
+ name: "popperOffsets",
664
+ enabled: !0,
665
+ phase: "read",
666
+ fn: Mn,
667
+ data: {}
668
+ };
669
+ function jn(e) {
670
+ return e === "x" ? "y" : "x";
671
+ }
672
+ function kn(e) {
673
+ var t = e.state, r = e.options, n = e.name, a = r.mainAxis, u = a === void 0 ? !0 : a, f = r.altAxis, v = f === void 0 ? !1 : f, o = r.boundary, c = r.rootBoundary, l = r.altBoundary, d = r.padding, s = r.tether, g = s === void 0 ? !0 : s, h = r.tetherOffset, b = h === void 0 ? 0 : h, w = Ue(t, {
674
+ boundary: o,
675
+ rootBoundary: c,
676
+ padding: d,
677
+ altBoundary: l
678
+ }), S = re(t.placement), R = Ce(t.placement), N = !R, i = Rt(S), T = jn(i), m = t.modifiersData.popperOffsets, L = t.rects.reference, k = t.rects.popper, x = typeof b == "function" ? b(Object.assign({}, t.rects, {
679
+ placement: t.placement
680
+ })) : b, A = typeof x == "number" ? {
681
+ mainAxis: x,
682
+ altAxis: x
683
+ } : Object.assign({
684
+ mainAxis: 0,
685
+ altAxis: 0
686
+ }, x), P = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, j = {
687
+ x: 0,
688
+ y: 0
689
+ };
690
+ if (m) {
691
+ if (u) {
692
+ var M, C = i === "y" ? q : z, E = i === "y" ? J : Q, I = i === "y" ? "height" : "width", B = m[i], $ = B + w[C], H = B - w[E], V = g ? -k[I] / 2 : 0, de = R === Ae ? L[I] : k[I], ee = R === Ae ? -k[I] : -L[I], ve = t.elements.arrow, ie = g && ve ? _t(ve) : {
693
+ width: 0,
694
+ height: 0
695
+ }, Z = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : dr(), oe = Z[C], Oe = Z[E], ae = $e(0, L[I], ie[I]), we = N ? L[I] / 2 - V - ae - oe - A.mainAxis : de - ae - oe - A.mainAxis, fe = N ? -L[I] / 2 + V + ae + Oe + A.mainAxis : ee + ae + Oe + A.mainAxis, Ee = t.elements.arrow && ze(t.elements.arrow), Ge = Ee ? i === "y" ? Ee.clientTop || 0 : Ee.clientLeft || 0 : 0, Le = (M = P == null ? void 0 : P[i]) != null ? M : 0, Xe = B + we - Le - Ge, Ke = B + fe - Le, Ne = $e(g ? ct($, Xe) : $, B, g ? he(H, Ke) : H);
696
+ m[i] = Ne, j[i] = Ne - B;
697
+ }
698
+ if (v) {
699
+ var Me, Je = i === "x" ? q : z, Qe = i === "x" ? J : Q, se = m[T], pe = T === "y" ? "height" : "width", Pe = se + w[Je], ge = se - w[Qe], je = [q, z].indexOf(S) !== -1, Ze = (Me = P == null ? void 0 : P[T]) != null ? Me : 0, et = je ? Pe : se - L[pe] - k[pe] - Ze + A.altAxis, tt = je ? se + L[pe] + k[pe] - Ze - A.altAxis : ge, rt = g && je ? an(et, se, tt) : $e(g ? et : Pe, se, g ? tt : ge);
700
+ m[T] = rt, j[T] = rt - se;
701
+ }
702
+ t.modifiersData[n] = j;
703
+ }
704
+ }
705
+ const $n = {
706
+ name: "preventOverflow",
707
+ enabled: !0,
708
+ phase: "main",
709
+ fn: kn,
710
+ requiresIfExists: ["offset"]
711
+ };
712
+ function Bn(e) {
713
+ return {
714
+ scrollLeft: e.scrollLeft,
715
+ scrollTop: e.scrollTop
716
+ };
717
+ }
718
+ function In(e) {
719
+ return e === G(e) || !K(e) ? Ct(e) : Bn(e);
720
+ }
721
+ function Vn(e) {
722
+ var t = e.getBoundingClientRect(), r = _e(t.width) / e.offsetWidth || 1, n = _e(t.height) / e.offsetHeight || 1;
723
+ return r !== 1 || n !== 1;
724
+ }
725
+ function Hn(e, t, r) {
726
+ r === void 0 && (r = !1);
727
+ var n = K(t), a = K(t) && Vn(t), u = le(t), f = Re(e, a, r), v = {
728
+ scrollLeft: 0,
729
+ scrollTop: 0
730
+ }, o = {
731
+ x: 0,
732
+ y: 0
733
+ };
734
+ return (n || !n && !r) && ((ne(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
735
+ Nt(u)) && (v = In(t)), K(t) ? (o = Re(t, !0), o.x += t.clientLeft, o.y += t.clientTop) : u && (o.x = Lt(u))), {
736
+ x: f.left + v.scrollLeft - o.x,
737
+ y: f.top + v.scrollTop - o.y,
738
+ width: f.width,
739
+ height: f.height
740
+ };
741
+ }
742
+ function Un(e) {
743
+ var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
744
+ e.forEach(function(u) {
745
+ t.set(u.name, u);
746
+ });
747
+ function a(u) {
748
+ r.add(u.name);
749
+ var f = [].concat(u.requires || [], u.requiresIfExists || []);
750
+ f.forEach(function(v) {
751
+ if (!r.has(v)) {
752
+ var o = t.get(v);
753
+ o && a(o);
754
+ }
755
+ }), n.push(u);
756
+ }
757
+ return e.forEach(function(u) {
758
+ r.has(u.name) || a(u);
759
+ }), n;
760
+ }
761
+ function Wn(e) {
762
+ var t = Un(e);
763
+ return en.reduce(function(r, n) {
764
+ return r.concat(t.filter(function(a) {
765
+ return a.phase === n;
766
+ }));
767
+ }, []);
768
+ }
769
+ function Fn(e) {
770
+ var t;
771
+ return function() {
772
+ return t || (t = new Promise(function(r) {
773
+ Promise.resolve().then(function() {
774
+ t = void 0, r(e());
775
+ });
776
+ })), t;
777
+ };
778
+ }
779
+ function qn(e) {
780
+ var t = e.reduce(function(r, n) {
781
+ var a = r[n.name];
782
+ return r[n.name] = a ? Object.assign({}, a, n, {
783
+ options: Object.assign({}, a.options, n.options),
784
+ data: Object.assign({}, a.data, n.data)
785
+ }) : n, r;
786
+ }, {});
787
+ return Object.keys(t).map(function(r) {
788
+ return t[r];
789
+ });
790
+ }
791
+ var Ft = {
792
+ placement: "bottom",
793
+ modifiers: [],
794
+ strategy: "absolute"
795
+ };
796
+ function qt() {
797
+ for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
798
+ t[r] = arguments[r];
799
+ return !t.some(function(n) {
800
+ return !(n && typeof n.getBoundingClientRect == "function");
801
+ });
802
+ }
803
+ function zn(e) {
804
+ e === void 0 && (e = {});
805
+ var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, a = t.defaultOptions, u = a === void 0 ? Ft : a;
806
+ return function(v, o, c) {
807
+ c === void 0 && (c = u);
808
+ var l = {
809
+ placement: "bottom",
810
+ orderedModifiers: [],
811
+ options: Object.assign({}, Ft, u),
812
+ modifiersData: {},
813
+ elements: {
814
+ reference: v,
815
+ popper: o
816
+ },
817
+ attributes: {},
818
+ styles: {}
819
+ }, d = [], s = !1, g = {
820
+ state: l,
821
+ setOptions: function(S) {
822
+ var R = typeof S == "function" ? S(l.options) : S;
823
+ b(), l.options = Object.assign({}, u, l.options, R), l.scrollParents = {
824
+ reference: be(v) ? Be(v) : v.contextElement ? Be(v.contextElement) : [],
825
+ popper: Be(o)
826
+ };
827
+ var N = Wn(qn([].concat(n, l.options.modifiers)));
828
+ return l.orderedModifiers = N.filter(function(i) {
829
+ return i.enabled;
830
+ }), h(), g.update();
831
+ },
832
+ // Sync update – it will always be executed, even if not necessary. This
833
+ // is useful for low frequency updates where sync behavior simplifies the
834
+ // logic.
835
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
836
+ // prefer the async Popper#update method
837
+ forceUpdate: function() {
838
+ if (!s) {
839
+ var S = l.elements, R = S.reference, N = S.popper;
840
+ if (qt(R, N)) {
841
+ l.rects = {
842
+ reference: Hn(R, ze(N), l.options.strategy === "fixed"),
843
+ popper: _t(N)
844
+ }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(A) {
845
+ return l.modifiersData[A.name] = Object.assign({}, A.data);
846
+ });
847
+ for (var i = 0; i < l.orderedModifiers.length; i++) {
848
+ if (l.reset === !0) {
849
+ l.reset = !1, i = -1;
850
+ continue;
851
+ }
852
+ var T = l.orderedModifiers[i], m = T.fn, L = T.options, k = L === void 0 ? {} : L, x = T.name;
853
+ typeof m == "function" && (l = m({
854
+ state: l,
855
+ options: k,
856
+ name: x,
857
+ instance: g
858
+ }) || l);
859
+ }
860
+ }
861
+ }
862
+ },
863
+ // Async and optimistically optimized update – it will not be executed if
864
+ // not necessary (debounced to run at most once-per-tick)
865
+ update: Fn(function() {
866
+ return new Promise(function(w) {
867
+ g.forceUpdate(), w(l);
868
+ });
869
+ }),
870
+ destroy: function() {
871
+ b(), s = !0;
872
+ }
873
+ };
874
+ if (!qt(v, o))
875
+ return g;
876
+ g.setOptions(c).then(function(w) {
877
+ !s && c.onFirstUpdate && c.onFirstUpdate(w);
878
+ });
879
+ function h() {
880
+ l.orderedModifiers.forEach(function(w) {
881
+ var S = w.name, R = w.options, N = R === void 0 ? {} : R, i = w.effect;
882
+ if (typeof i == "function") {
883
+ var T = i({
884
+ state: l,
885
+ name: S,
886
+ instance: g,
887
+ options: N
888
+ }), m = function() {
889
+ };
890
+ d.push(T || m);
891
+ }
892
+ });
893
+ }
894
+ function b() {
895
+ d.forEach(function(w) {
896
+ return w();
897
+ }), d = [];
898
+ }
899
+ return g;
900
+ };
901
+ }
902
+ var Yn = [mn, Pn, vn, fr, Nn, An, $n, fn, Rn], Gn = /* @__PURE__ */ zn({
903
+ defaultModifiers: Yn
904
+ }), Xn = "tippy-box", hr = "tippy-content", Kn = "tippy-backdrop", br = "tippy-arrow", Or = "tippy-svg-arrow", ye = {
905
+ passive: !0,
906
+ capture: !0
907
+ }, wr = function() {
908
+ return document.body;
909
+ };
910
+ function Jn(e, t) {
911
+ return {}.hasOwnProperty.call(e, t);
912
+ }
913
+ function vt(e, t, r) {
914
+ if (Array.isArray(e)) {
915
+ var n = e[t];
916
+ return n ?? (Array.isArray(r) ? r[t] : r);
917
+ }
918
+ return e;
919
+ }
920
+ function Mt(e, t) {
921
+ var r = {}.toString.call(e);
922
+ return r.indexOf("[object") === 0 && r.indexOf(t + "]") > -1;
923
+ }
924
+ function Er(e, t) {
925
+ return typeof e == "function" ? e.apply(void 0, t) : e;
926
+ }
927
+ function zt(e, t) {
928
+ if (t === 0)
929
+ return e;
930
+ var r;
931
+ return function(n) {
932
+ clearTimeout(r), r = setTimeout(function() {
933
+ e(n);
934
+ }, t);
935
+ };
936
+ }
937
+ function Qn(e, t) {
938
+ var r = Object.assign({}, e);
939
+ return t.forEach(function(n) {
940
+ delete r[n];
941
+ }), r;
942
+ }
943
+ function Zn(e) {
944
+ return e.split(/\s+/).filter(Boolean);
945
+ }
946
+ function Se(e) {
947
+ return [].concat(e);
948
+ }
949
+ function Yt(e, t) {
950
+ e.indexOf(t) === -1 && e.push(t);
951
+ }
952
+ function ei(e) {
953
+ return e.filter(function(t, r) {
954
+ return e.indexOf(t) === r;
955
+ });
956
+ }
957
+ function ti(e) {
958
+ return e.split("-")[0];
959
+ }
960
+ function ut(e) {
961
+ return [].slice.call(e);
962
+ }
963
+ function Gt(e) {
964
+ return Object.keys(e).reduce(function(t, r) {
965
+ return e[r] !== void 0 && (t[r] = e[r]), t;
966
+ }, {});
967
+ }
968
+ function Ie() {
969
+ return document.createElement("div");
970
+ }
971
+ function We(e) {
972
+ return ["Element", "Fragment"].some(function(t) {
973
+ return Mt(e, t);
974
+ });
975
+ }
976
+ function ri(e) {
977
+ return Mt(e, "NodeList");
978
+ }
979
+ function ni(e) {
980
+ return Mt(e, "MouseEvent");
981
+ }
982
+ function ii(e) {
983
+ return !!(e && e._tippy && e._tippy.reference === e);
984
+ }
985
+ function oi(e) {
986
+ return We(e) ? [e] : ri(e) ? ut(e) : Array.isArray(e) ? e : ut(document.querySelectorAll(e));
987
+ }
988
+ function gt(e, t) {
989
+ e.forEach(function(r) {
990
+ r && (r.style.transitionDuration = t + "ms");
991
+ });
992
+ }
993
+ function Xt(e, t) {
994
+ e.forEach(function(r) {
995
+ r && r.setAttribute("data-state", t);
996
+ });
997
+ }
998
+ function ai(e) {
999
+ var t, r = Se(e), n = r[0];
1000
+ return n != null && (t = n.ownerDocument) != null && t.body ? n.ownerDocument : document;
1001
+ }
1002
+ function si(e, t) {
1003
+ var r = t.clientX, n = t.clientY;
1004
+ return e.every(function(a) {
1005
+ var u = a.popperRect, f = a.popperState, v = a.props, o = v.interactiveBorder, c = ti(f.placement), l = f.modifiersData.offset;
1006
+ if (!l)
1007
+ return !0;
1008
+ var d = c === "bottom" ? l.top.y : 0, s = c === "top" ? l.bottom.y : 0, g = c === "right" ? l.left.x : 0, h = c === "left" ? l.right.x : 0, b = u.top - n + d > o, w = n - u.bottom - s > o, S = u.left - r + g > o, R = r - u.right - h > o;
1009
+ return b || w || S || R;
1010
+ });
1011
+ }
1012
+ function mt(e, t, r) {
1013
+ var n = t + "EventListener";
1014
+ ["transitionend", "webkitTransitionEnd"].forEach(function(a) {
1015
+ e[n](a, r);
1016
+ });
1017
+ }
1018
+ function Kt(e, t) {
1019
+ for (var r = t; r; ) {
1020
+ var n;
1021
+ if (e.contains(r))
1022
+ return !0;
1023
+ r = r.getRootNode == null || (n = r.getRootNode()) == null ? void 0 : n.host;
1024
+ }
1025
+ return !1;
1026
+ }
1027
+ var te = {
1028
+ isTouch: !1
1029
+ }, Jt = 0;
1030
+ function ci() {
1031
+ te.isTouch || (te.isTouch = !0, window.performance && document.addEventListener("mousemove", Tr));
1032
+ }
1033
+ function Tr() {
1034
+ var e = performance.now();
1035
+ e - Jt < 20 && (te.isTouch = !1, document.removeEventListener("mousemove", Tr)), Jt = e;
1036
+ }
1037
+ function ui() {
1038
+ var e = document.activeElement;
1039
+ if (ii(e)) {
1040
+ var t = e._tippy;
1041
+ e.blur && !t.state.isVisible && e.blur();
1042
+ }
1043
+ }
1044
+ function fi() {
1045
+ document.addEventListener("touchstart", ci, ye), window.addEventListener("blur", ui);
1046
+ }
1047
+ var pi = typeof window < "u" && typeof document < "u", li = pi ? (
1048
+ // @ts-ignore
1049
+ !!window.msCrypto
1050
+ ) : !1;
1051
+ function xe(e) {
1052
+ var t = e === "destroy" ? "n already-" : " ";
1053
+ return [e + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
1054
+ }
1055
+ function Qt(e) {
1056
+ var t = /[ \t]{2,}/g, r = /^[ \t]*/gm;
1057
+ return e.replace(t, " ").replace(r, "").trim();
1058
+ }
1059
+ function di(e) {
1060
+ return Qt(`
1061
+ %ctippy.js
1062
+
1063
+ %c` + Qt(e) + `
1064
+
1065
+ %c👷‍ This is a development-only message. It will be removed in production.
1066
+ `);
1067
+ }
1068
+ function Dr(e) {
1069
+ return [
1070
+ di(e),
1071
+ // title
1072
+ "color: #00C584; font-size: 1.3em; font-weight: bold;",
1073
+ // message
1074
+ "line-height: 1.5",
1075
+ // footer
1076
+ "color: #a6a095;"
1077
+ ];
1078
+ }
1079
+ var Fe;
1080
+ process.env.NODE_ENV !== "production" && vi();
1081
+ function vi() {
1082
+ Fe = /* @__PURE__ */ new Set();
1083
+ }
1084
+ function ce(e, t) {
1085
+ if (e && !Fe.has(t)) {
1086
+ var r;
1087
+ Fe.add(t), (r = console).warn.apply(r, Dr(t));
1088
+ }
1089
+ }
1090
+ function wt(e, t) {
1091
+ if (e && !Fe.has(t)) {
1092
+ var r;
1093
+ Fe.add(t), (r = console).error.apply(r, Dr(t));
1094
+ }
1095
+ }
1096
+ function gi(e) {
1097
+ var t = !e, r = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
1098
+ wt(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), wt(r, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
1099
+ }
1100
+ var xr = {
1101
+ animateFill: !1,
1102
+ followCursor: !1,
1103
+ inlinePositioning: !1,
1104
+ sticky: !1
1105
+ }, mi = {
1106
+ allowHTML: !1,
1107
+ animation: "fade",
1108
+ arrow: !0,
1109
+ content: "",
1110
+ inertia: !1,
1111
+ maxWidth: 350,
1112
+ role: "tooltip",
1113
+ theme: "",
1114
+ zIndex: 9999
1115
+ }, Y = Object.assign({
1116
+ appendTo: wr,
1117
+ aria: {
1118
+ content: "auto",
1119
+ expanded: "auto"
1120
+ },
1121
+ delay: 0,
1122
+ duration: [300, 250],
1123
+ getReferenceClientRect: null,
1124
+ hideOnClick: !0,
1125
+ ignoreAttributes: !1,
1126
+ interactive: !1,
1127
+ interactiveBorder: 2,
1128
+ interactiveDebounce: 0,
1129
+ moveTransition: "",
1130
+ offset: [0, 10],
1131
+ onAfterUpdate: function() {
1132
+ },
1133
+ onBeforeUpdate: function() {
1134
+ },
1135
+ onCreate: function() {
1136
+ },
1137
+ onDestroy: function() {
1138
+ },
1139
+ onHidden: function() {
1140
+ },
1141
+ onHide: function() {
1142
+ },
1143
+ onMount: function() {
1144
+ },
1145
+ onShow: function() {
1146
+ },
1147
+ onShown: function() {
1148
+ },
1149
+ onTrigger: function() {
1150
+ },
1151
+ onUntrigger: function() {
1152
+ },
1153
+ onClickOutside: function() {
1154
+ },
1155
+ placement: "top",
1156
+ plugins: [],
1157
+ popperOptions: {},
1158
+ render: null,
1159
+ showOnCreate: !1,
1160
+ touch: !0,
1161
+ trigger: "mouseenter focus",
1162
+ triggerTarget: null
1163
+ }, xr, mi), yi = Object.keys(Y), hi = function(t) {
1164
+ process.env.NODE_ENV !== "production" && Ar(t, []);
1165
+ var r = Object.keys(t);
1166
+ r.forEach(function(n) {
1167
+ Y[n] = t[n];
1168
+ });
1169
+ };
1170
+ function Sr(e) {
1171
+ var t = e.plugins || [], r = t.reduce(function(n, a) {
1172
+ var u = a.name, f = a.defaultValue;
1173
+ if (u) {
1174
+ var v;
1175
+ n[u] = e[u] !== void 0 ? e[u] : (v = Y[u]) != null ? v : f;
1176
+ }
1177
+ return n;
1178
+ }, {});
1179
+ return Object.assign({}, e, r);
1180
+ }
1181
+ function bi(e, t) {
1182
+ var r = t ? Object.keys(Sr(Object.assign({}, Y, {
1183
+ plugins: t
1184
+ }))) : yi, n = r.reduce(function(a, u) {
1185
+ var f = (e.getAttribute("data-tippy-" + u) || "").trim();
1186
+ if (!f)
1187
+ return a;
1188
+ if (u === "content")
1189
+ a[u] = f;
1190
+ else
1191
+ try {
1192
+ a[u] = JSON.parse(f);
1193
+ } catch {
1194
+ a[u] = f;
1195
+ }
1196
+ return a;
1197
+ }, {});
1198
+ return n;
1199
+ }
1200
+ function Zt(e, t) {
1201
+ var r = Object.assign({}, t, {
1202
+ content: Er(t.content, [e])
1203
+ }, t.ignoreAttributes ? {} : bi(e, t.plugins));
1204
+ return r.aria = Object.assign({}, Y.aria, r.aria), r.aria = {
1205
+ expanded: r.aria.expanded === "auto" ? t.interactive : r.aria.expanded,
1206
+ content: r.aria.content === "auto" ? t.interactive ? null : "describedby" : r.aria.content
1207
+ }, r;
1208
+ }
1209
+ function Ar(e, t) {
1210
+ e === void 0 && (e = {}), t === void 0 && (t = []);
1211
+ var r = Object.keys(e);
1212
+ r.forEach(function(n) {
1213
+ var a = Qn(Y, Object.keys(xr)), u = !Jn(a, n);
1214
+ u && (u = t.filter(function(f) {
1215
+ return f.name === n;
1216
+ }).length === 0), ce(u, ["`" + n + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
1217
+
1218
+ `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
1219
+ `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
1220
+ });
1221
+ }
1222
+ var Oi = function() {
1223
+ return "innerHTML";
1224
+ };
1225
+ function Et(e, t) {
1226
+ e[Oi()] = t;
1227
+ }
1228
+ function er(e) {
1229
+ var t = Ie();
1230
+ return e === !0 ? t.className = br : (t.className = Or, We(e) ? t.appendChild(e) : Et(t, e)), t;
1231
+ }
1232
+ function tr(e, t) {
1233
+ We(t.content) ? (Et(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? Et(e, t.content) : e.textContent = t.content);
1234
+ }
1235
+ function Tt(e) {
1236
+ var t = e.firstElementChild, r = ut(t.children);
1237
+ return {
1238
+ box: t,
1239
+ content: r.find(function(n) {
1240
+ return n.classList.contains(hr);
1241
+ }),
1242
+ arrow: r.find(function(n) {
1243
+ return n.classList.contains(br) || n.classList.contains(Or);
1244
+ }),
1245
+ backdrop: r.find(function(n) {
1246
+ return n.classList.contains(Kn);
1247
+ })
1248
+ };
1249
+ }
1250
+ function _r(e) {
1251
+ var t = Ie(), r = Ie();
1252
+ r.className = Xn, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
1253
+ var n = Ie();
1254
+ n.className = hr, n.setAttribute("data-state", "hidden"), tr(n, e.props), t.appendChild(r), r.appendChild(n), a(e.props, e.props);
1255
+ function a(u, f) {
1256
+ var v = Tt(t), o = v.box, c = v.content, l = v.arrow;
1257
+ f.theme ? o.setAttribute("data-theme", f.theme) : o.removeAttribute("data-theme"), typeof f.animation == "string" ? o.setAttribute("data-animation", f.animation) : o.removeAttribute("data-animation"), f.inertia ? o.setAttribute("data-inertia", "") : o.removeAttribute("data-inertia"), o.style.maxWidth = typeof f.maxWidth == "number" ? f.maxWidth + "px" : f.maxWidth, f.role ? o.setAttribute("role", f.role) : o.removeAttribute("role"), (u.content !== f.content || u.allowHTML !== f.allowHTML) && tr(c, e.props), f.arrow ? l ? u.arrow !== f.arrow && (o.removeChild(l), o.appendChild(er(f.arrow))) : o.appendChild(er(f.arrow)) : l && o.removeChild(l);
1258
+ }
1259
+ return {
1260
+ popper: t,
1261
+ onUpdate: a
1262
+ };
1263
+ }
1264
+ _r.$$tippy = !0;
1265
+ var wi = 1, at = [], yt = [];
1266
+ function Ei(e, t) {
1267
+ var r = Zt(e, Object.assign({}, Y, Sr(Gt(t)))), n, a, u, f = !1, v = !1, o = !1, c = !1, l, d, s, g = [], h = zt(Xe, r.interactiveDebounce), b, w = wi++, S = null, R = ei(r.plugins), N = {
1268
+ // Is the instance currently enabled?
1269
+ isEnabled: !0,
1270
+ // Is the tippy currently showing and not transitioning out?
1271
+ isVisible: !1,
1272
+ // Has the instance been destroyed?
1273
+ isDestroyed: !1,
1274
+ // Is the tippy currently mounted to the DOM?
1275
+ isMounted: !1,
1276
+ // Has the tippy finished transitioning in?
1277
+ isShown: !1
1278
+ }, i = {
1279
+ // properties
1280
+ id: w,
1281
+ reference: e,
1282
+ popper: Ie(),
1283
+ popperInstance: S,
1284
+ props: r,
1285
+ state: N,
1286
+ plugins: R,
1287
+ // methods
1288
+ clearDelayTimeouts: et,
1289
+ setProps: tt,
1290
+ setContent: rt,
1291
+ show: Mr,
1292
+ hide: Pr,
1293
+ hideWithInteractivity: jr,
1294
+ enable: je,
1295
+ disable: Ze,
1296
+ unmount: kr,
1297
+ destroy: $r
1298
+ };
1299
+ if (!r.render)
1300
+ return process.env.NODE_ENV !== "production" && wt(!0, "render() function has not been supplied."), i;
1301
+ var T = r.render(i), m = T.popper, L = T.onUpdate;
1302
+ m.setAttribute("data-tippy-root", ""), m.id = "tippy-" + i.id, i.popper = m, e._tippy = i, m._tippy = i;
1303
+ var k = R.map(function(p) {
1304
+ return p.fn(i);
1305
+ }), x = e.hasAttribute("aria-expanded");
1306
+ return Ee(), V(), B(), $("onCreate", [i]), r.showOnCreate && Pe(), m.addEventListener("mouseenter", function() {
1307
+ i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1308
+ }), m.addEventListener("mouseleave", function() {
1309
+ i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && C().addEventListener("mousemove", h);
1310
+ }), i;
1311
+ function A() {
1312
+ var p = i.props.touch;
1313
+ return Array.isArray(p) ? p : [p, 0];
1314
+ }
1315
+ function P() {
1316
+ return A()[0] === "hold";
1317
+ }
1318
+ function j() {
1319
+ var p;
1320
+ return !!((p = i.props.render) != null && p.$$tippy);
1321
+ }
1322
+ function M() {
1323
+ return b || e;
1324
+ }
1325
+ function C() {
1326
+ var p = M().parentNode;
1327
+ return p ? ai(p) : document;
1328
+ }
1329
+ function E() {
1330
+ return Tt(m);
1331
+ }
1332
+ function I(p) {
1333
+ return i.state.isMounted && !i.state.isVisible || te.isTouch || l && l.type === "focus" ? 0 : vt(i.props.delay, p ? 0 : 1, Y.delay);
1334
+ }
1335
+ function B(p) {
1336
+ p === void 0 && (p = !1), m.style.pointerEvents = i.props.interactive && !p ? "" : "none", m.style.zIndex = "" + i.props.zIndex;
1337
+ }
1338
+ function $(p, y, O) {
1339
+ if (O === void 0 && (O = !0), k.forEach(function(D) {
1340
+ D[p] && D[p].apply(D, y);
1341
+ }), O) {
1342
+ var _;
1343
+ (_ = i.props)[p].apply(_, y);
1344
+ }
1345
+ }
1346
+ function H() {
1347
+ var p = i.props.aria;
1348
+ if (p.content) {
1349
+ var y = "aria-" + p.content, O = m.id, _ = Se(i.props.triggerTarget || e);
1350
+ _.forEach(function(D) {
1351
+ var F = D.getAttribute(y);
1352
+ if (i.state.isVisible)
1353
+ D.setAttribute(y, F ? F + " " + O : O);
1354
+ else {
1355
+ var X = F && F.replace(O, "").trim();
1356
+ X ? D.setAttribute(y, X) : D.removeAttribute(y);
1357
+ }
1358
+ });
1359
+ }
1360
+ }
1361
+ function V() {
1362
+ if (!(x || !i.props.aria.expanded)) {
1363
+ var p = Se(i.props.triggerTarget || e);
1364
+ p.forEach(function(y) {
1365
+ i.props.interactive ? y.setAttribute("aria-expanded", i.state.isVisible && y === M() ? "true" : "false") : y.removeAttribute("aria-expanded");
1366
+ });
1367
+ }
1368
+ }
1369
+ function de() {
1370
+ C().removeEventListener("mousemove", h), at = at.filter(function(p) {
1371
+ return p !== h;
1372
+ });
1373
+ }
1374
+ function ee(p) {
1375
+ if (!(te.isTouch && (o || p.type === "mousedown"))) {
1376
+ var y = p.composedPath && p.composedPath()[0] || p.target;
1377
+ if (!(i.props.interactive && Kt(m, y))) {
1378
+ if (Se(i.props.triggerTarget || e).some(function(O) {
1379
+ return Kt(O, y);
1380
+ })) {
1381
+ if (te.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1382
+ return;
1383
+ } else
1384
+ $("onClickOutside", [i, p]);
1385
+ i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), v = !0, setTimeout(function() {
1386
+ v = !1;
1387
+ }), i.state.isMounted || oe());
1388
+ }
1389
+ }
1390
+ }
1391
+ function ve() {
1392
+ o = !0;
1393
+ }
1394
+ function ie() {
1395
+ o = !1;
1396
+ }
1397
+ function Z() {
1398
+ var p = C();
1399
+ p.addEventListener("mousedown", ee, !0), p.addEventListener("touchend", ee, ye), p.addEventListener("touchstart", ie, ye), p.addEventListener("touchmove", ve, ye);
1400
+ }
1401
+ function oe() {
1402
+ var p = C();
1403
+ p.removeEventListener("mousedown", ee, !0), p.removeEventListener("touchend", ee, ye), p.removeEventListener("touchstart", ie, ye), p.removeEventListener("touchmove", ve, ye);
1404
+ }
1405
+ function Oe(p, y) {
1406
+ we(p, function() {
1407
+ !i.state.isVisible && m.parentNode && m.parentNode.contains(m) && y();
1408
+ });
1409
+ }
1410
+ function ae(p, y) {
1411
+ we(p, y);
1412
+ }
1413
+ function we(p, y) {
1414
+ var O = E().box;
1415
+ function _(D) {
1416
+ D.target === O && (mt(O, "remove", _), y());
1417
+ }
1418
+ if (p === 0)
1419
+ return y();
1420
+ mt(O, "remove", d), mt(O, "add", _), d = _;
1421
+ }
1422
+ function fe(p, y, O) {
1423
+ O === void 0 && (O = !1);
1424
+ var _ = Se(i.props.triggerTarget || e);
1425
+ _.forEach(function(D) {
1426
+ D.addEventListener(p, y, O), g.push({
1427
+ node: D,
1428
+ eventType: p,
1429
+ handler: y,
1430
+ options: O
1431
+ });
1432
+ });
1433
+ }
1434
+ function Ee() {
1435
+ P() && (fe("touchstart", Le, {
1436
+ passive: !0
1437
+ }), fe("touchend", Ke, {
1438
+ passive: !0
1439
+ })), Zn(i.props.trigger).forEach(function(p) {
1440
+ if (p !== "manual")
1441
+ switch (fe(p, Le), p) {
1442
+ case "mouseenter":
1443
+ fe("mouseleave", Ke);
1444
+ break;
1445
+ case "focus":
1446
+ fe(li ? "focusout" : "blur", Ne);
1447
+ break;
1448
+ case "focusin":
1449
+ fe("focusout", Ne);
1450
+ break;
1451
+ }
1452
+ });
1453
+ }
1454
+ function Ge() {
1455
+ g.forEach(function(p) {
1456
+ var y = p.node, O = p.eventType, _ = p.handler, D = p.options;
1457
+ y.removeEventListener(O, _, D);
1458
+ }), g = [];
1459
+ }
1460
+ function Le(p) {
1461
+ var y, O = !1;
1462
+ if (!(!i.state.isEnabled || Me(p) || v)) {
1463
+ var _ = ((y = l) == null ? void 0 : y.type) === "focus";
1464
+ l = p, b = p.currentTarget, V(), !i.state.isVisible && ni(p) && at.forEach(function(D) {
1465
+ return D(p);
1466
+ }), p.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || f) && i.props.hideOnClick !== !1 && i.state.isVisible ? O = !0 : Pe(p), p.type === "click" && (f = !O), O && !_ && ge(p);
1467
+ }
1468
+ }
1469
+ function Xe(p) {
1470
+ var y = p.target, O = M().contains(y) || m.contains(y);
1471
+ if (!(p.type === "mousemove" && O)) {
1472
+ var _ = pe().concat(m).map(function(D) {
1473
+ var F, X = D._tippy, Te = (F = X.popperInstance) == null ? void 0 : F.state;
1474
+ return Te ? {
1475
+ popperRect: D.getBoundingClientRect(),
1476
+ popperState: Te,
1477
+ props: r
1478
+ } : null;
1479
+ }).filter(Boolean);
1480
+ si(_, p) && (de(), ge(p));
1481
+ }
1482
+ }
1483
+ function Ke(p) {
1484
+ var y = Me(p) || i.props.trigger.indexOf("click") >= 0 && f;
1485
+ if (!y) {
1486
+ if (i.props.interactive) {
1487
+ i.hideWithInteractivity(p);
1488
+ return;
1489
+ }
1490
+ ge(p);
1491
+ }
1492
+ }
1493
+ function Ne(p) {
1494
+ i.props.trigger.indexOf("focusin") < 0 && p.target !== M() || i.props.interactive && p.relatedTarget && m.contains(p.relatedTarget) || ge(p);
1495
+ }
1496
+ function Me(p) {
1497
+ return te.isTouch ? P() !== p.type.indexOf("touch") >= 0 : !1;
1498
+ }
1499
+ function Je() {
1500
+ Qe();
1501
+ var p = i.props, y = p.popperOptions, O = p.placement, _ = p.offset, D = p.getReferenceClientRect, F = p.moveTransition, X = j() ? Tt(m).arrow : null, Te = D ? {
1502
+ getBoundingClientRect: D,
1503
+ contextElement: D.contextElement || M()
1504
+ } : e, Pt = {
1505
+ name: "$$tippy",
1506
+ enabled: !0,
1507
+ phase: "beforeWrite",
1508
+ requires: ["computeStyles"],
1509
+ fn: function(nt) {
1510
+ var De = nt.state;
1511
+ if (j()) {
1512
+ var Br = E(), lt = Br.box;
1513
+ ["placement", "reference-hidden", "escaped"].forEach(function(it) {
1514
+ it === "placement" ? lt.setAttribute("data-placement", De.placement) : De.attributes.popper["data-popper-" + it] ? lt.setAttribute("data-" + it, "") : lt.removeAttribute("data-" + it);
1515
+ }), De.attributes.popper = {};
1516
+ }
1517
+ }
1518
+ }, me = [{
1519
+ name: "offset",
1520
+ options: {
1521
+ offset: _
1522
+ }
1523
+ }, {
1524
+ name: "preventOverflow",
1525
+ options: {
1526
+ padding: {
1527
+ top: 2,
1528
+ bottom: 2,
1529
+ left: 5,
1530
+ right: 5
1531
+ }
1532
+ }
1533
+ }, {
1534
+ name: "flip",
1535
+ options: {
1536
+ padding: 5
1537
+ }
1538
+ }, {
1539
+ name: "computeStyles",
1540
+ options: {
1541
+ adaptive: !F
1542
+ }
1543
+ }, Pt];
1544
+ j() && X && me.push({
1545
+ name: "arrow",
1546
+ options: {
1547
+ element: X,
1548
+ padding: 3
1549
+ }
1550
+ }), me.push.apply(me, (y == null ? void 0 : y.modifiers) || []), i.popperInstance = Gn(Te, m, Object.assign({}, y, {
1551
+ placement: O,
1552
+ onFirstUpdate: s,
1553
+ modifiers: me
1554
+ }));
1555
+ }
1556
+ function Qe() {
1557
+ i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
1558
+ }
1559
+ function se() {
1560
+ var p = i.props.appendTo, y, O = M();
1561
+ i.props.interactive && p === wr || p === "parent" ? y = O.parentNode : y = Er(p, [O]), y.contains(m) || y.appendChild(m), i.state.isMounted = !0, Je(), process.env.NODE_ENV !== "production" && ce(i.props.interactive && p === Y.appendTo && O.nextElementSibling !== m, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
1562
+
1563
+ `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
1564
+
1565
+ `, "Specifying `appendTo: document.body` silences this warning, but it", "assumes you are using a focus management solution to handle", "keyboard navigation.", `
1566
+
1567
+ `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
1568
+ }
1569
+ function pe() {
1570
+ return ut(m.querySelectorAll("[data-tippy-root]"));
1571
+ }
1572
+ function Pe(p) {
1573
+ i.clearDelayTimeouts(), p && $("onTrigger", [i, p]), Z();
1574
+ var y = I(!0), O = A(), _ = O[0], D = O[1];
1575
+ te.isTouch && _ === "hold" && D && (y = D), y ? n = setTimeout(function() {
1576
+ i.show();
1577
+ }, y) : i.show();
1578
+ }
1579
+ function ge(p) {
1580
+ if (i.clearDelayTimeouts(), $("onUntrigger", [i, p]), !i.state.isVisible) {
1581
+ oe();
1582
+ return;
1583
+ }
1584
+ if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(p.type) >= 0 && f)) {
1585
+ var y = I(!1);
1586
+ y ? a = setTimeout(function() {
1587
+ i.state.isVisible && i.hide();
1588
+ }, y) : u = requestAnimationFrame(function() {
1589
+ i.hide();
1590
+ });
1591
+ }
1592
+ }
1593
+ function je() {
1594
+ i.state.isEnabled = !0;
1595
+ }
1596
+ function Ze() {
1597
+ i.hide(), i.state.isEnabled = !1;
1598
+ }
1599
+ function et() {
1600
+ clearTimeout(n), clearTimeout(a), cancelAnimationFrame(u);
1601
+ }
1602
+ function tt(p) {
1603
+ if (process.env.NODE_ENV !== "production" && ce(i.state.isDestroyed, xe("setProps")), !i.state.isDestroyed) {
1604
+ $("onBeforeUpdate", [i, p]), Ge();
1605
+ var y = i.props, O = Zt(e, Object.assign({}, y, Gt(p), {
1606
+ ignoreAttributes: !0
1607
+ }));
1608
+ i.props = O, Ee(), y.interactiveDebounce !== O.interactiveDebounce && (de(), h = zt(Xe, O.interactiveDebounce)), y.triggerTarget && !O.triggerTarget ? Se(y.triggerTarget).forEach(function(_) {
1609
+ _.removeAttribute("aria-expanded");
1610
+ }) : O.triggerTarget && e.removeAttribute("aria-expanded"), V(), B(), L && L(y, O), i.popperInstance && (Je(), pe().forEach(function(_) {
1611
+ requestAnimationFrame(_._tippy.popperInstance.forceUpdate);
1612
+ })), $("onAfterUpdate", [i, p]);
1613
+ }
1614
+ }
1615
+ function rt(p) {
1616
+ i.setProps({
1617
+ content: p
1618
+ });
1619
+ }
1620
+ function Mr() {
1621
+ process.env.NODE_ENV !== "production" && ce(i.state.isDestroyed, xe("show"));
1622
+ var p = i.state.isVisible, y = i.state.isDestroyed, O = !i.state.isEnabled, _ = te.isTouch && !i.props.touch, D = vt(i.props.duration, 0, Y.duration);
1623
+ if (!(p || y || O || _) && !M().hasAttribute("disabled") && ($("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1624
+ if (i.state.isVisible = !0, j() && (m.style.visibility = "visible"), B(), Z(), i.state.isMounted || (m.style.transition = "none"), j()) {
1625
+ var F = E(), X = F.box, Te = F.content;
1626
+ gt([X, Te], 0);
1627
+ }
1628
+ s = function() {
1629
+ var me;
1630
+ if (!(!i.state.isVisible || c)) {
1631
+ if (c = !0, m.offsetHeight, m.style.transition = i.props.moveTransition, j() && i.props.animation) {
1632
+ var pt = E(), nt = pt.box, De = pt.content;
1633
+ gt([nt, De], D), Xt([nt, De], "visible");
1634
+ }
1635
+ H(), V(), Yt(yt, i), (me = i.popperInstance) == null || me.forceUpdate(), $("onMount", [i]), i.props.animation && j() && ae(D, function() {
1636
+ i.state.isShown = !0, $("onShown", [i]);
1637
+ });
1638
+ }
1639
+ }, se();
1640
+ }
1641
+ }
1642
+ function Pr() {
1643
+ process.env.NODE_ENV !== "production" && ce(i.state.isDestroyed, xe("hide"));
1644
+ var p = !i.state.isVisible, y = i.state.isDestroyed, O = !i.state.isEnabled, _ = vt(i.props.duration, 1, Y.duration);
1645
+ if (!(p || y || O) && ($("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1646
+ if (i.state.isVisible = !1, i.state.isShown = !1, c = !1, f = !1, j() && (m.style.visibility = "hidden"), de(), oe(), B(!0), j()) {
1647
+ var D = E(), F = D.box, X = D.content;
1648
+ i.props.animation && (gt([F, X], _), Xt([F, X], "hidden"));
1649
+ }
1650
+ H(), V(), i.props.animation ? j() && Oe(_, i.unmount) : i.unmount();
1651
+ }
1652
+ }
1653
+ function jr(p) {
1654
+ process.env.NODE_ENV !== "production" && ce(i.state.isDestroyed, xe("hideWithInteractivity")), C().addEventListener("mousemove", h), Yt(at, h), h(p);
1655
+ }
1656
+ function kr() {
1657
+ process.env.NODE_ENV !== "production" && ce(i.state.isDestroyed, xe("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Qe(), pe().forEach(function(p) {
1658
+ p._tippy.unmount();
1659
+ }), m.parentNode && m.parentNode.removeChild(m), yt = yt.filter(function(p) {
1660
+ return p !== i;
1661
+ }), i.state.isMounted = !1, $("onHidden", [i]));
1662
+ }
1663
+ function $r() {
1664
+ process.env.NODE_ENV !== "production" && ce(i.state.isDestroyed, xe("destroy")), !i.state.isDestroyed && (i.clearDelayTimeouts(), i.unmount(), Ge(), delete e._tippy, i.state.isDestroyed = !0, $("onDestroy", [i]));
1665
+ }
1666
+ }
1667
+ function Ye(e, t) {
1668
+ t === void 0 && (t = {});
1669
+ var r = Y.plugins.concat(t.plugins || []);
1670
+ process.env.NODE_ENV !== "production" && (gi(e), Ar(t, r)), fi();
1671
+ var n = Object.assign({}, t, {
1672
+ plugins: r
1673
+ }), a = oi(e);
1674
+ if (process.env.NODE_ENV !== "production") {
1675
+ var u = We(n.content), f = a.length > 1;
1676
+ ce(u && f, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
1677
+
1678
+ `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
1679
+
1680
+ `, `1) content: element.innerHTML
1681
+ `, "2) content: () => element.cloneNode(true)"].join(" "));
1682
+ }
1683
+ var v = a.reduce(function(o, c) {
1684
+ var l = c && Ei(c, n);
1685
+ return l && o.push(l), o;
1686
+ }, []);
1687
+ return We(e) ? v[0] : v;
1688
+ }
1689
+ Ye.defaultProps = Y;
1690
+ Ye.setDefaultProps = hi;
1691
+ Ye.currentInput = te;
1692
+ Object.assign({}, fr, {
1693
+ effect: function(t) {
1694
+ var r = t.state, n = {
1695
+ popper: {
1696
+ position: r.options.strategy,
1697
+ left: "0",
1698
+ top: "0",
1699
+ margin: "0"
1700
+ },
1701
+ arrow: {
1702
+ position: "absolute"
1703
+ },
1704
+ reference: {}
1705
+ };
1706
+ Object.assign(r.elements.popper.style, n.popper), r.styles = n, r.elements.arrow && Object.assign(r.elements.arrow.style, n.arrow);
1707
+ }
1708
+ });
1709
+ Ye.setDefaultProps({
1710
+ render: _r
1711
+ });
1712
+ var Dt = { exports: {} }, U = {};
8
1713
  /**
9
1714
  * @license React
10
1715
  * react-dom.production.js
@@ -14,140 +1719,140 @@ var K = { exports: {} }, O = {};
14
1719
  * This source code is licensed under the MIT license found in the
15
1720
  * LICENSE file in the root directory of this source tree.
16
1721
  */
17
- var Ee;
18
- function Ke() {
19
- if (Ee) return O;
20
- Ee = 1;
21
- var s = T;
22
- function a(n) {
23
- var t = "https://react.dev/errors/" + n;
1722
+ var rr;
1723
+ function Ti() {
1724
+ if (rr) return U;
1725
+ rr = 1;
1726
+ var e = Ve;
1727
+ function t(o) {
1728
+ var c = "https://react.dev/errors/" + o;
24
1729
  if (1 < arguments.length) {
25
- t += "?args[]=" + encodeURIComponent(arguments[1]);
1730
+ c += "?args[]=" + encodeURIComponent(arguments[1]);
26
1731
  for (var l = 2; l < arguments.length; l++)
27
- t += "&args[]=" + encodeURIComponent(arguments[l]);
1732
+ c += "&args[]=" + encodeURIComponent(arguments[l]);
28
1733
  }
29
- return "Minified React error #" + n + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
1734
+ return "Minified React error #" + o + "; visit " + c + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
30
1735
  }
31
- function c() {
1736
+ function r() {
32
1737
  }
33
- var o = {
1738
+ var n = {
34
1739
  d: {
35
- f: c,
1740
+ f: r,
36
1741
  r: function() {
37
- throw Error(a(522));
1742
+ throw Error(t(522));
38
1743
  },
39
- D: c,
40
- C: c,
41
- L: c,
42
- m: c,
43
- X: c,
44
- S: c,
45
- M: c
1744
+ D: r,
1745
+ C: r,
1746
+ L: r,
1747
+ m: r,
1748
+ X: r,
1749
+ S: r,
1750
+ M: r
46
1751
  },
47
1752
  p: 0,
48
1753
  findDOMNode: null
49
- }, f = Symbol.for("react.portal");
50
- function d(n, t, l) {
51
- var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
1754
+ }, a = Symbol.for("react.portal");
1755
+ function u(o, c, l) {
1756
+ var d = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
52
1757
  return {
53
- $$typeof: f,
54
- key: r == null ? null : "" + r,
55
- children: n,
56
- containerInfo: t,
1758
+ $$typeof: a,
1759
+ key: d == null ? null : "" + d,
1760
+ children: o,
1761
+ containerInfo: c,
57
1762
  implementation: l
58
1763
  };
59
1764
  }
60
- var p = s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
61
- function m(n, t) {
62
- if (n === "font") return "";
63
- if (typeof t == "string")
64
- return t === "use-credentials" ? t : "";
1765
+ var f = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
1766
+ function v(o, c) {
1767
+ if (o === "font") return "";
1768
+ if (typeof c == "string")
1769
+ return c === "use-credentials" ? c : "";
65
1770
  }
66
- return O.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, O.createPortal = function(n, t) {
1771
+ return U.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, U.createPortal = function(o, c) {
67
1772
  var l = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
68
- if (!t || t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11)
69
- throw Error(a(299));
70
- return d(n, t, null, l);
71
- }, O.flushSync = function(n) {
72
- var t = p.T, l = o.p;
1773
+ if (!c || c.nodeType !== 1 && c.nodeType !== 9 && c.nodeType !== 11)
1774
+ throw Error(t(299));
1775
+ return u(o, c, null, l);
1776
+ }, U.flushSync = function(o) {
1777
+ var c = f.T, l = n.p;
73
1778
  try {
74
- if (p.T = null, o.p = 2, n) return n();
1779
+ if (f.T = null, n.p = 2, o) return o();
75
1780
  } finally {
76
- p.T = t, o.p = l, o.d.f();
77
- }
78
- }, O.preconnect = function(n, t) {
79
- typeof n == "string" && (t ? (t = t.crossOrigin, t = typeof t == "string" ? t === "use-credentials" ? t : "" : void 0) : t = null, o.d.C(n, t));
80
- }, O.prefetchDNS = function(n) {
81
- typeof n == "string" && o.d.D(n);
82
- }, O.preinit = function(n, t) {
83
- if (typeof n == "string" && t && typeof t.as == "string") {
84
- var l = t.as, r = m(l, t.crossOrigin), e = typeof t.integrity == "string" ? t.integrity : void 0, i = typeof t.fetchPriority == "string" ? t.fetchPriority : void 0;
85
- l === "style" ? o.d.S(
86
- n,
87
- typeof t.precedence == "string" ? t.precedence : void 0,
1781
+ f.T = c, n.p = l, n.d.f();
1782
+ }
1783
+ }, U.preconnect = function(o, c) {
1784
+ typeof o == "string" && (c ? (c = c.crossOrigin, c = typeof c == "string" ? c === "use-credentials" ? c : "" : void 0) : c = null, n.d.C(o, c));
1785
+ }, U.prefetchDNS = function(o) {
1786
+ typeof o == "string" && n.d.D(o);
1787
+ }, U.preinit = function(o, c) {
1788
+ if (typeof o == "string" && c && typeof c.as == "string") {
1789
+ var l = c.as, d = v(l, c.crossOrigin), s = typeof c.integrity == "string" ? c.integrity : void 0, g = typeof c.fetchPriority == "string" ? c.fetchPriority : void 0;
1790
+ l === "style" ? n.d.S(
1791
+ o,
1792
+ typeof c.precedence == "string" ? c.precedence : void 0,
88
1793
  {
89
- crossOrigin: r,
90
- integrity: e,
91
- fetchPriority: i
1794
+ crossOrigin: d,
1795
+ integrity: s,
1796
+ fetchPriority: g
92
1797
  }
93
- ) : l === "script" && o.d.X(n, {
94
- crossOrigin: r,
95
- integrity: e,
96
- fetchPriority: i,
97
- nonce: typeof t.nonce == "string" ? t.nonce : void 0
1798
+ ) : l === "script" && n.d.X(o, {
1799
+ crossOrigin: d,
1800
+ integrity: s,
1801
+ fetchPriority: g,
1802
+ nonce: typeof c.nonce == "string" ? c.nonce : void 0
98
1803
  });
99
1804
  }
100
- }, O.preinitModule = function(n, t) {
101
- if (typeof n == "string")
102
- if (typeof t == "object" && t !== null) {
103
- if (t.as == null || t.as === "script") {
104
- var l = m(
105
- t.as,
106
- t.crossOrigin
1805
+ }, U.preinitModule = function(o, c) {
1806
+ if (typeof o == "string")
1807
+ if (typeof c == "object" && c !== null) {
1808
+ if (c.as == null || c.as === "script") {
1809
+ var l = v(
1810
+ c.as,
1811
+ c.crossOrigin
107
1812
  );
108
- o.d.M(n, {
1813
+ n.d.M(o, {
109
1814
  crossOrigin: l,
110
- integrity: typeof t.integrity == "string" ? t.integrity : void 0,
111
- nonce: typeof t.nonce == "string" ? t.nonce : void 0
1815
+ integrity: typeof c.integrity == "string" ? c.integrity : void 0,
1816
+ nonce: typeof c.nonce == "string" ? c.nonce : void 0
112
1817
  });
113
1818
  }
114
- } else t == null && o.d.M(n);
115
- }, O.preload = function(n, t) {
116
- if (typeof n == "string" && typeof t == "object" && t !== null && typeof t.as == "string") {
117
- var l = t.as, r = m(l, t.crossOrigin);
118
- o.d.L(n, l, {
119
- crossOrigin: r,
120
- integrity: typeof t.integrity == "string" ? t.integrity : void 0,
121
- nonce: typeof t.nonce == "string" ? t.nonce : void 0,
122
- type: typeof t.type == "string" ? t.type : void 0,
123
- fetchPriority: typeof t.fetchPriority == "string" ? t.fetchPriority : void 0,
124
- referrerPolicy: typeof t.referrerPolicy == "string" ? t.referrerPolicy : void 0,
125
- imageSrcSet: typeof t.imageSrcSet == "string" ? t.imageSrcSet : void 0,
126
- imageSizes: typeof t.imageSizes == "string" ? t.imageSizes : void 0,
127
- media: typeof t.media == "string" ? t.media : void 0
1819
+ } else c == null && n.d.M(o);
1820
+ }, U.preload = function(o, c) {
1821
+ if (typeof o == "string" && typeof c == "object" && c !== null && typeof c.as == "string") {
1822
+ var l = c.as, d = v(l, c.crossOrigin);
1823
+ n.d.L(o, l, {
1824
+ crossOrigin: d,
1825
+ integrity: typeof c.integrity == "string" ? c.integrity : void 0,
1826
+ nonce: typeof c.nonce == "string" ? c.nonce : void 0,
1827
+ type: typeof c.type == "string" ? c.type : void 0,
1828
+ fetchPriority: typeof c.fetchPriority == "string" ? c.fetchPriority : void 0,
1829
+ referrerPolicy: typeof c.referrerPolicy == "string" ? c.referrerPolicy : void 0,
1830
+ imageSrcSet: typeof c.imageSrcSet == "string" ? c.imageSrcSet : void 0,
1831
+ imageSizes: typeof c.imageSizes == "string" ? c.imageSizes : void 0,
1832
+ media: typeof c.media == "string" ? c.media : void 0
128
1833
  });
129
1834
  }
130
- }, O.preloadModule = function(n, t) {
131
- if (typeof n == "string")
132
- if (t) {
133
- var l = m(t.as, t.crossOrigin);
134
- o.d.m(n, {
135
- as: typeof t.as == "string" && t.as !== "script" ? t.as : void 0,
1835
+ }, U.preloadModule = function(o, c) {
1836
+ if (typeof o == "string")
1837
+ if (c) {
1838
+ var l = v(c.as, c.crossOrigin);
1839
+ n.d.m(o, {
1840
+ as: typeof c.as == "string" && c.as !== "script" ? c.as : void 0,
136
1841
  crossOrigin: l,
137
- integrity: typeof t.integrity == "string" ? t.integrity : void 0
1842
+ integrity: typeof c.integrity == "string" ? c.integrity : void 0
138
1843
  });
139
- } else o.d.m(n);
140
- }, O.requestFormReset = function(n) {
141
- o.d.r(n);
142
- }, O.unstable_batchedUpdates = function(n, t) {
143
- return n(t);
144
- }, O.useFormState = function(n, t, l) {
145
- return p.H.useFormState(n, t, l);
146
- }, O.useFormStatus = function() {
147
- return p.H.useHostTransitionStatus();
148
- }, O.version = "19.1.1", O;
149
- }
150
- var E = {};
1844
+ } else n.d.m(o);
1845
+ }, U.requestFormReset = function(o) {
1846
+ n.d.r(o);
1847
+ }, U.unstable_batchedUpdates = function(o, c) {
1848
+ return o(c);
1849
+ }, U.useFormState = function(o, c, l) {
1850
+ return f.H.useFormState(o, c, l);
1851
+ }, U.useFormStatus = function() {
1852
+ return f.H.useHostTransitionStatus();
1853
+ }, U.version = "19.1.1", U;
1854
+ }
1855
+ var W = {};
151
1856
  /**
152
1857
  * @license React
153
1858
  * react-dom.development.js
@@ -157,580 +1862,460 @@ var E = {};
157
1862
  * This source code is licensed under the MIT license found in the
158
1863
  * LICENSE file in the root directory of this source tree.
159
1864
  */
160
- var _e;
161
- function We() {
162
- return _e || (_e = 1, process.env.NODE_ENV !== "production" && function() {
163
- function s() {
1865
+ var nr;
1866
+ function Di() {
1867
+ return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
1868
+ function e() {
164
1869
  }
165
- function a(r) {
166
- return "" + r;
1870
+ function t(d) {
1871
+ return "" + d;
167
1872
  }
168
- function c(r, e, i) {
169
- var y = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
1873
+ function r(d, s, g) {
1874
+ var h = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
170
1875
  try {
171
- a(y);
172
- var v = !1;
1876
+ t(h);
1877
+ var b = !1;
173
1878
  } catch {
174
- v = !0;
1879
+ b = !0;
175
1880
  }
176
- return v && (console.error(
1881
+ return b && (console.error(
177
1882
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
178
- typeof Symbol == "function" && Symbol.toStringTag && y[Symbol.toStringTag] || y.constructor.name || "Object"
179
- ), a(y)), {
180
- $$typeof: t,
181
- key: y == null ? null : "" + y,
182
- children: r,
183
- containerInfo: e,
184
- implementation: i
1883
+ typeof Symbol == "function" && Symbol.toStringTag && h[Symbol.toStringTag] || h.constructor.name || "Object"
1884
+ ), t(h)), {
1885
+ $$typeof: c,
1886
+ key: h == null ? null : "" + h,
1887
+ children: d,
1888
+ containerInfo: s,
1889
+ implementation: g
185
1890
  };
186
1891
  }
187
- function o(r, e) {
188
- if (r === "font") return "";
189
- if (typeof e == "string")
190
- return e === "use-credentials" ? e : "";
1892
+ function n(d, s) {
1893
+ if (d === "font") return "";
1894
+ if (typeof s == "string")
1895
+ return s === "use-credentials" ? s : "";
191
1896
  }
192
- function f(r) {
193
- return r === null ? "`null`" : r === void 0 ? "`undefined`" : r === "" ? "an empty string" : 'something with type "' + typeof r + '"';
1897
+ function a(d) {
1898
+ return d === null ? "`null`" : d === void 0 ? "`undefined`" : d === "" ? "an empty string" : 'something with type "' + typeof d + '"';
194
1899
  }
195
- function d(r) {
196
- return r === null ? "`null`" : r === void 0 ? "`undefined`" : r === "" ? "an empty string" : typeof r == "string" ? JSON.stringify(r) : typeof r == "number" ? "`" + r + "`" : 'something with type "' + typeof r + '"';
1900
+ function u(d) {
1901
+ return d === null ? "`null`" : d === void 0 ? "`undefined`" : d === "" ? "an empty string" : typeof d == "string" ? JSON.stringify(d) : typeof d == "number" ? "`" + d + "`" : 'something with type "' + typeof d + '"';
197
1902
  }
198
- function p() {
199
- var r = l.H;
200
- return r === null && console.error(
1903
+ function f() {
1904
+ var d = l.H;
1905
+ return d === null && console.error(
201
1906
  `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
202
1907
  1. You might have mismatching versions of React and the renderer (such as React DOM)
203
1908
  2. You might be breaking the Rules of Hooks
204
1909
  3. You might have more than one copy of React in the same app
205
1910
  See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
206
- ), r;
1911
+ ), d;
207
1912
  }
208
1913
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
209
- var m = T, n = {
1914
+ var v = Ve, o = {
210
1915
  d: {
211
- f: s,
1916
+ f: e,
212
1917
  r: function() {
213
1918
  throw Error(
214
1919
  "Invalid form element. requestFormReset must be passed a form that was rendered by React."
215
1920
  );
216
1921
  },
217
- D: s,
218
- C: s,
219
- L: s,
220
- m: s,
221
- X: s,
222
- S: s,
223
- M: s
1922
+ D: e,
1923
+ C: e,
1924
+ L: e,
1925
+ m: e,
1926
+ X: e,
1927
+ S: e,
1928
+ M: e
224
1929
  },
225
1930
  p: 0,
226
1931
  findDOMNode: null
227
- }, t = Symbol.for("react.portal"), l = m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
1932
+ }, c = Symbol.for("react.portal"), l = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
228
1933
  typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
229
1934
  "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
230
- ), E.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = n, E.createPortal = function(r, e) {
231
- var i = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
232
- if (!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
1935
+ ), W.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = o, W.createPortal = function(d, s) {
1936
+ var g = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
1937
+ if (!s || s.nodeType !== 1 && s.nodeType !== 9 && s.nodeType !== 11)
233
1938
  throw Error("Target container is not a DOM element.");
234
- return c(r, e, null, i);
235
- }, E.flushSync = function(r) {
236
- var e = l.T, i = n.p;
1939
+ return r(d, s, null, g);
1940
+ }, W.flushSync = function(d) {
1941
+ var s = l.T, g = o.p;
237
1942
  try {
238
- if (l.T = null, n.p = 2, r)
239
- return r();
1943
+ if (l.T = null, o.p = 2, d)
1944
+ return d();
240
1945
  } finally {
241
- l.T = e, n.p = i, n.d.f() && console.error(
1946
+ l.T = s, o.p = g, o.d.f() && console.error(
242
1947
  "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
243
1948
  );
244
1949
  }
245
- }, E.preconnect = function(r, e) {
246
- typeof r == "string" && r ? e != null && typeof e != "object" ? console.error(
1950
+ }, W.preconnect = function(d, s) {
1951
+ typeof d == "string" && d ? s != null && typeof s != "object" ? console.error(
247
1952
  "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
248
- d(e)
249
- ) : e != null && typeof e.crossOrigin != "string" && console.error(
1953
+ u(s)
1954
+ ) : s != null && typeof s.crossOrigin != "string" && console.error(
250
1955
  "ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
251
- f(e.crossOrigin)
1956
+ a(s.crossOrigin)
252
1957
  ) : console.error(
253
1958
  "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
254
- f(r)
255
- ), typeof r == "string" && (e ? (e = e.crossOrigin, e = typeof e == "string" ? e === "use-credentials" ? e : "" : void 0) : e = null, n.d.C(r, e));
256
- }, E.prefetchDNS = function(r) {
257
- if (typeof r != "string" || !r)
1959
+ a(d)
1960
+ ), typeof d == "string" && (s ? (s = s.crossOrigin, s = typeof s == "string" ? s === "use-credentials" ? s : "" : void 0) : s = null, o.d.C(d, s));
1961
+ }, W.prefetchDNS = function(d) {
1962
+ if (typeof d != "string" || !d)
258
1963
  console.error(
259
1964
  "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
260
- f(r)
1965
+ a(d)
261
1966
  );
262
1967
  else if (1 < arguments.length) {
263
- var e = arguments[1];
264
- typeof e == "object" && e.hasOwnProperty("crossOrigin") ? console.error(
1968
+ var s = arguments[1];
1969
+ typeof s == "object" && s.hasOwnProperty("crossOrigin") ? console.error(
265
1970
  "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
266
- d(e)
1971
+ u(s)
267
1972
  ) : console.error(
268
1973
  "ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
269
- d(e)
1974
+ u(s)
270
1975
  );
271
1976
  }
272
- typeof r == "string" && n.d.D(r);
273
- }, E.preinit = function(r, e) {
274
- if (typeof r == "string" && r ? e == null || typeof e != "object" ? console.error(
1977
+ typeof d == "string" && o.d.D(d);
1978
+ }, W.preinit = function(d, s) {
1979
+ if (typeof d == "string" && d ? s == null || typeof s != "object" ? console.error(
275
1980
  "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
276
- d(e)
277
- ) : e.as !== "style" && e.as !== "script" && console.error(
1981
+ u(s)
1982
+ ) : s.as !== "style" && s.as !== "script" && console.error(
278
1983
  'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
279
- d(e.as)
1984
+ u(s.as)
280
1985
  ) : console.error(
281
1986
  "ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
282
- f(r)
283
- ), typeof r == "string" && e && typeof e.as == "string") {
284
- var i = e.as, y = o(i, e.crossOrigin), v = typeof e.integrity == "string" ? e.integrity : void 0, w = typeof e.fetchPriority == "string" ? e.fetchPriority : void 0;
285
- i === "style" ? n.d.S(
286
- r,
287
- typeof e.precedence == "string" ? e.precedence : void 0,
1987
+ a(d)
1988
+ ), typeof d == "string" && s && typeof s.as == "string") {
1989
+ var g = s.as, h = n(g, s.crossOrigin), b = typeof s.integrity == "string" ? s.integrity : void 0, w = typeof s.fetchPriority == "string" ? s.fetchPriority : void 0;
1990
+ g === "style" ? o.d.S(
1991
+ d,
1992
+ typeof s.precedence == "string" ? s.precedence : void 0,
288
1993
  {
289
- crossOrigin: y,
290
- integrity: v,
1994
+ crossOrigin: h,
1995
+ integrity: b,
291
1996
  fetchPriority: w
292
1997
  }
293
- ) : i === "script" && n.d.X(r, {
294
- crossOrigin: y,
295
- integrity: v,
1998
+ ) : g === "script" && o.d.X(d, {
1999
+ crossOrigin: h,
2000
+ integrity: b,
296
2001
  fetchPriority: w,
297
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
2002
+ nonce: typeof s.nonce == "string" ? s.nonce : void 0
298
2003
  });
299
2004
  }
300
- }, E.preinitModule = function(r, e) {
301
- var i = "";
302
- if (typeof r == "string" && r || (i += " The `href` argument encountered was " + f(r) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + f(e) + "." : e && "as" in e && e.as !== "script" && (i += " The `as` option encountered was " + d(e.as) + "."), i)
2005
+ }, W.preinitModule = function(d, s) {
2006
+ var g = "";
2007
+ if (typeof d == "string" && d || (g += " The `href` argument encountered was " + a(d) + "."), s !== void 0 && typeof s != "object" ? g += " The `options` argument encountered was " + a(s) + "." : s && "as" in s && s.as !== "script" && (g += " The `as` option encountered was " + u(s.as) + "."), g)
303
2008
  console.error(
304
2009
  "ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
305
- i
2010
+ g
306
2011
  );
307
2012
  else
308
- switch (i = e && typeof e.as == "string" ? e.as : "script", i) {
2013
+ switch (g = s && typeof s.as == "string" ? s.as : "script", g) {
309
2014
  case "script":
310
2015
  break;
311
2016
  default:
312
- i = d(i), console.error(
2017
+ g = u(g), console.error(
313
2018
  'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
314
- i,
315
- r
2019
+ g,
2020
+ d
316
2021
  );
317
2022
  }
318
- typeof r == "string" && (typeof e == "object" && e !== null ? (e.as == null || e.as === "script") && (i = o(
319
- e.as,
320
- e.crossOrigin
321
- ), n.d.M(r, {
322
- crossOrigin: i,
323
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
324
- nonce: typeof e.nonce == "string" ? e.nonce : void 0
325
- })) : e == null && n.d.M(r));
326
- }, E.preload = function(r, e) {
327
- var i = "";
328
- if (typeof r == "string" && r || (i += " The `href` argument encountered was " + f(r) + "."), e == null || typeof e != "object" ? i += " The `options` argument encountered was " + f(e) + "." : typeof e.as == "string" && e.as || (i += " The `as` option encountered was " + f(e.as) + "."), i && console.error(
2023
+ typeof d == "string" && (typeof s == "object" && s !== null ? (s.as == null || s.as === "script") && (g = n(
2024
+ s.as,
2025
+ s.crossOrigin
2026
+ ), o.d.M(d, {
2027
+ crossOrigin: g,
2028
+ integrity: typeof s.integrity == "string" ? s.integrity : void 0,
2029
+ nonce: typeof s.nonce == "string" ? s.nonce : void 0
2030
+ })) : s == null && o.d.M(d));
2031
+ }, W.preload = function(d, s) {
2032
+ var g = "";
2033
+ if (typeof d == "string" && d || (g += " The `href` argument encountered was " + a(d) + "."), s == null || typeof s != "object" ? g += " The `options` argument encountered was " + a(s) + "." : typeof s.as == "string" && s.as || (g += " The `as` option encountered was " + a(s.as) + "."), g && console.error(
329
2034
  'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
330
- i
331
- ), typeof r == "string" && typeof e == "object" && e !== null && typeof e.as == "string") {
332
- i = e.as;
333
- var y = o(
334
- i,
335
- e.crossOrigin
2035
+ g
2036
+ ), typeof d == "string" && typeof s == "object" && s !== null && typeof s.as == "string") {
2037
+ g = s.as;
2038
+ var h = n(
2039
+ g,
2040
+ s.crossOrigin
336
2041
  );
337
- n.d.L(r, i, {
338
- crossOrigin: y,
339
- integrity: typeof e.integrity == "string" ? e.integrity : void 0,
340
- nonce: typeof e.nonce == "string" ? e.nonce : void 0,
341
- type: typeof e.type == "string" ? e.type : void 0,
342
- fetchPriority: typeof e.fetchPriority == "string" ? e.fetchPriority : void 0,
343
- referrerPolicy: typeof e.referrerPolicy == "string" ? e.referrerPolicy : void 0,
344
- imageSrcSet: typeof e.imageSrcSet == "string" ? e.imageSrcSet : void 0,
345
- imageSizes: typeof e.imageSizes == "string" ? e.imageSizes : void 0,
346
- media: typeof e.media == "string" ? e.media : void 0
2042
+ o.d.L(d, g, {
2043
+ crossOrigin: h,
2044
+ integrity: typeof s.integrity == "string" ? s.integrity : void 0,
2045
+ nonce: typeof s.nonce == "string" ? s.nonce : void 0,
2046
+ type: typeof s.type == "string" ? s.type : void 0,
2047
+ fetchPriority: typeof s.fetchPriority == "string" ? s.fetchPriority : void 0,
2048
+ referrerPolicy: typeof s.referrerPolicy == "string" ? s.referrerPolicy : void 0,
2049
+ imageSrcSet: typeof s.imageSrcSet == "string" ? s.imageSrcSet : void 0,
2050
+ imageSizes: typeof s.imageSizes == "string" ? s.imageSizes : void 0,
2051
+ media: typeof s.media == "string" ? s.media : void 0
347
2052
  });
348
2053
  }
349
- }, E.preloadModule = function(r, e) {
350
- var i = "";
351
- typeof r == "string" && r || (i += " The `href` argument encountered was " + f(r) + "."), e !== void 0 && typeof e != "object" ? i += " The `options` argument encountered was " + f(e) + "." : e && "as" in e && typeof e.as != "string" && (i += " The `as` option encountered was " + f(e.as) + "."), i && console.error(
2054
+ }, W.preloadModule = function(d, s) {
2055
+ var g = "";
2056
+ typeof d == "string" && d || (g += " The `href` argument encountered was " + a(d) + "."), s !== void 0 && typeof s != "object" ? g += " The `options` argument encountered was " + a(s) + "." : s && "as" in s && typeof s.as != "string" && (g += " The `as` option encountered was " + a(s.as) + "."), g && console.error(
352
2057
  'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
353
- i
354
- ), typeof r == "string" && (e ? (i = o(
355
- e.as,
356
- e.crossOrigin
357
- ), n.d.m(r, {
358
- as: typeof e.as == "string" && e.as !== "script" ? e.as : void 0,
359
- crossOrigin: i,
360
- integrity: typeof e.integrity == "string" ? e.integrity : void 0
361
- })) : n.d.m(r));
362
- }, E.requestFormReset = function(r) {
363
- n.d.r(r);
364
- }, E.unstable_batchedUpdates = function(r, e) {
365
- return r(e);
366
- }, E.useFormState = function(r, e, i) {
367
- return p().useFormState(r, e, i);
368
- }, E.useFormStatus = function() {
369
- return p().useHostTransitionStatus();
370
- }, E.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
371
- }()), E;
372
- }
373
- function Se() {
2058
+ g
2059
+ ), typeof d == "string" && (s ? (g = n(
2060
+ s.as,
2061
+ s.crossOrigin
2062
+ ), o.d.m(d, {
2063
+ as: typeof s.as == "string" && s.as !== "script" ? s.as : void 0,
2064
+ crossOrigin: g,
2065
+ integrity: typeof s.integrity == "string" ? s.integrity : void 0
2066
+ })) : o.d.m(d));
2067
+ }, W.requestFormReset = function(d) {
2068
+ o.d.r(d);
2069
+ }, W.unstable_batchedUpdates = function(d, s) {
2070
+ return d(s);
2071
+ }, W.useFormState = function(d, s, g) {
2072
+ return f().useFormState(d, s, g);
2073
+ }, W.useFormStatus = function() {
2074
+ return f().useHostTransitionStatus();
2075
+ }, W.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
2076
+ }()), W;
2077
+ }
2078
+ function Rr() {
374
2079
  if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
375
2080
  if (process.env.NODE_ENV !== "production")
376
2081
  throw new Error("^_^");
377
2082
  try {
378
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Se);
379
- } catch (s) {
380
- console.error(s);
381
- }
382
- }
383
- }
384
- process.env.NODE_ENV === "production" ? (Se(), K.exports = Ke()) : K.exports = We();
385
- var Je = K.exports;
386
- const Qe = /* @__PURE__ */ qe(Je);
387
- function Y() {
388
- return Y = Object.assign || function(s) {
389
- for (var a = 1; a < arguments.length; a++) {
390
- var c = arguments[a];
391
- for (var o in c)
392
- Object.prototype.hasOwnProperty.call(c, o) && (s[o] = c[o]);
393
- }
394
- return s;
395
- }, Y.apply(this, arguments);
396
- }
397
- var Ze = function(a, c) {
398
- c === void 0 && (c = !0), x(function() {
399
- if (c) {
400
- var o = function(d) {
401
- d.key === "Escape" && a(d);
402
- };
403
- return document.addEventListener("keyup", o), function() {
404
- c && document.removeEventListener("keyup", o);
405
- };
406
- }
407
- }, [a, c]);
408
- }, Be = function(a, c) {
409
- c === void 0 && (c = !0), x(function() {
410
- if (c) {
411
- var o = function() {
412
- a();
413
- };
414
- return window.addEventListener("resize", o), function() {
415
- c && window.removeEventListener("resize", o);
416
- };
417
- }
418
- }, [a, c]);
419
- }, et = function(a, c, o) {
420
- o === void 0 && (o = !0), x(function() {
421
- if (o) {
422
- var f = function(p) {
423
- var m = Array.isArray(a) ? a : [a], n = !1;
424
- m.forEach(function(t) {
425
- if (!t.current || t.current.contains(p.target)) {
426
- n = !0;
427
- return;
428
- }
429
- }), p.stopPropagation(), n || c(p);
430
- };
431
- return document.addEventListener("mousedown", f), document.addEventListener("touchstart", f), function() {
432
- o && (document.removeEventListener("mousedown", f), document.removeEventListener("touchstart", f));
433
- };
434
- }
435
- }, [a, c, o]);
436
- }, tt = function(a, c) {
437
- c === void 0 && (c = !0), x(function() {
438
- if (c) {
439
- var o = function(d) {
440
- if (d.keyCode === 9) {
441
- var p, m = a == null || (p = a.current) === null || p === void 0 ? void 0 : p.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'), n = Array.prototype.slice.call(m);
442
- if (n.length === 1) {
443
- d.preventDefault();
444
- return;
445
- }
446
- var t = n[0], l = n[n.length - 1];
447
- d.shiftKey && document.activeElement === t ? (d.preventDefault(), l.focus()) : document.activeElement === l && (d.preventDefault(), t.focus());
448
- }
449
- };
450
- return document.addEventListener("keydown", o), function() {
451
- c && document.removeEventListener("keydown", o);
452
- };
453
- }
454
- }, [a, c]);
455
- }, rt = typeof window < "u" ? Ve : x, H = {
456
- popupContent: {
457
- tooltip: {
458
- position: "absolute",
459
- zIndex: 999
460
- },
461
- modal: {
462
- position: "relative",
463
- margin: "auto"
464
- }
465
- },
466
- popupArrow: {
467
- height: "8px",
468
- width: "16px",
469
- position: "absolute",
470
- background: "transparent",
471
- color: "#FFF",
472
- zIndex: -1
473
- },
474
- overlay: {
475
- tooltip: {
476
- position: "fixed",
477
- top: "0",
478
- bottom: "0",
479
- left: "0",
480
- right: "0",
481
- zIndex: 999
482
- },
483
- modal: {
484
- position: "fixed",
485
- top: "0",
486
- bottom: "0",
487
- left: "0",
488
- right: "0",
489
- display: "flex",
490
- zIndex: 999
2083
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Rr);
2084
+ } catch (e) {
2085
+ console.error(e);
491
2086
  }
492
2087
  }
493
- }, nt = ["top left", "top center", "top right", "right top", "right center", "right bottom", "bottom left", "bottom center", "bottom right", "left top", "left center", "left bottom"], ot = function(a, c, o, f, d) {
494
- var p = d.offsetX, m = d.offsetY, n = f ? 8 : 0, t = o.split(" "), l = a.top + a.height / 2, r = a.left + a.width / 2, e = c.height, i = c.width, y = l - e / 2, v = r - i / 2, w = "", R = "0%", k = "0%";
495
- switch (t[0]) {
496
- case "top":
497
- y -= e / 2 + a.height / 2 + n, w = "rotate(180deg) translateX(50%)", R = "100%", k = "50%";
498
- break;
499
- case "bottom":
500
- y += e / 2 + a.height / 2 + n, w = "rotate(0deg) translateY(-100%) translateX(-50%)", k = "50%";
501
- break;
502
- case "left":
503
- v -= i / 2 + a.width / 2 + n, w = " rotate(90deg) translateY(50%) translateX(-25%)", k = "100%", R = "50%";
504
- break;
505
- case "right":
506
- v += i / 2 + a.width / 2 + n, w = "rotate(-90deg) translateY(-150%) translateX(25%)", R = "50%";
507
- break;
508
- }
509
- switch (t[1]) {
510
- case "top":
511
- y = a.top, R = a.height / 2 + "px";
512
- break;
513
- case "bottom":
514
- y = a.top - e + a.height, R = e - a.height / 2 + "px";
515
- break;
516
- case "left":
517
- v = a.left, k = a.width / 2 + "px";
518
- break;
519
- case "right":
520
- v = a.left - i + a.width, k = i - a.width / 2 + "px";
521
- break;
522
- }
523
- return y = t[0] === "top" ? y - m : y + m, v = t[0] === "left" ? v - p : v + p, {
524
- top: y,
525
- left: v,
526
- transform: w,
527
- arrowLeft: k,
528
- arrowTop: R
529
- };
530
- }, it = function(a) {
531
- var c = {
532
- top: 0,
533
- left: 0,
534
- /* eslint-disable-next-line no-undef */
535
- width: window.innerWidth,
536
- /* eslint-disable-next-line no-undef */
537
- height: window.innerHeight
2088
+ }
2089
+ process.env.NODE_ENV === "production" ? (Rr(), Dt.exports = Ti()) : Dt.exports = Di();
2090
+ var xi = Dt.exports;
2091
+ function Cr(e, t) {
2092
+ if (e == null) return {};
2093
+ var r = {}, n = Object.keys(e), a, u;
2094
+ for (u = 0; u < n.length; u++)
2095
+ a = n[u], !(t.indexOf(a) >= 0) && (r[a] = e[a]);
2096
+ return r;
2097
+ }
2098
+ var Lr = typeof window < "u" && typeof document < "u";
2099
+ function xt(e, t) {
2100
+ e && (typeof e == "function" && e(t), {}.hasOwnProperty.call(e, "current") && (e.current = t));
2101
+ }
2102
+ function ir() {
2103
+ return Lr && document.createElement("div");
2104
+ }
2105
+ function Si(e) {
2106
+ var t = {
2107
+ "data-placement": e.placement
538
2108
  };
539
- if (typeof a == "string") {
540
- var o = document.querySelector(a);
541
- if (process.env.NODE_ENV !== "production" && o === null)
542
- throw new Error(a + " selector does not exist : keepTooltipInside must be a valid html selector 'class' or 'Id' or a boolean value");
543
- o !== null && (c = o.getBoundingClientRect());
544
- }
545
- return c;
546
- }, at = function(a, c, o, f, d, p) {
547
- var m = d.offsetX, n = d.offsetY, t = {
548
- arrowLeft: "0%",
549
- arrowTop: "0%",
550
- left: 0,
551
- top: 0,
552
- transform: "rotate(135deg)"
553
- }, l = 0, r = it(p), e = Array.isArray(o) ? o : [o];
554
- for ((p || Array.isArray(o)) && (e = [].concat(e, nt)); l < e.length; ) {
555
- t = ot(a, c, e[l], f, {
556
- offsetX: m,
557
- offsetY: n
558
- });
559
- var i = {
560
- top: t.top,
561
- left: t.left,
562
- width: c.width,
563
- height: c.height
564
- };
565
- if (i.top <= r.top || i.left <= r.left || i.top + i.height >= r.top + r.height || i.left + i.width >= r.left + r.width)
566
- l++;
567
- else
568
- break;
569
- }
570
- return t;
571
- }, st = 0, ct = function() {
572
- var a = document.getElementById("popup-root");
573
- return a === null && (a = document.createElement("div"), a.setAttribute("id", "popup-root"), document.body.appendChild(a)), a;
574
- }, lt = /* @__PURE__ */ Xe(function(s, a) {
575
- var c = s.trigger, o = c === void 0 ? null : c, f = s.onOpen, d = f === void 0 ? function() {
576
- } : f, p = s.onClose, m = p === void 0 ? function() {
577
- } : p, n = s.defaultOpen, t = n === void 0 ? !1 : n, l = s.open, r = l === void 0 ? void 0 : l, e = s.disabled, i = e === void 0 ? !1 : e, y = s.nested, v = y === void 0 ? !1 : y, w = s.closeOnDocumentClick, R = w === void 0 ? !0 : w, k = s.repositionOnResize, we = k === void 0 ? !0 : k, W = s.closeOnEscape, Te = W === void 0 ? !0 : W, J = s.on, I = J === void 0 ? ["click"] : J, Q = s.contentStyle, Re = Q === void 0 ? {} : Q, Z = s.arrowStyle, X = Z === void 0 ? {} : Z, B = s.overlayStyle, De = B === void 0 ? {} : B, ee = s.className, P = ee === void 0 ? "" : ee, te = s.position, ke = te === void 0 ? "bottom center" : te, re = s.modal, ne = re === void 0 ? !1 : re, oe = s.lockScroll, ie = oe === void 0 ? !1 : oe, ae = s.arrow, F = ae === void 0 ? !0 : ae, se = s.offsetX, Ce = se === void 0 ? 0 : se, ce = s.offsetY, Le = ce === void 0 ? 0 : ce, le = s.mouseEnterDelay, Me = le === void 0 ? 100 : le, ue = s.mouseLeaveDelay, Ae = ue === void 0 ? 100 : ue, fe = s.keepTooltipInside, Pe = fe === void 0 ? !1 : fe, z = s.children, de = Fe(r || t), D = de[0], pe = de[1], C = N(null), b = N(null), M = N(null), ye = N(null), ve = N("popup-" + ++st), S = ne ? !0 : !o, j = N(0);
578
- rt(function() {
579
- return D ? (ye.current = document.activeElement, ge(), je(), xe()) : Ie(), function() {
580
- clearTimeout(j.current);
2109
+ return e.referenceHidden && (t["data-reference-hidden"] = ""), e.escaped && (t["data-escaped"] = ""), t;
2110
+ }
2111
+ function Nr(e, t) {
2112
+ if (e === t)
2113
+ return !0;
2114
+ if (typeof e == "object" && e != null && typeof t == "object" && t != null) {
2115
+ if (Object.keys(e).length !== Object.keys(t).length)
2116
+ return !1;
2117
+ for (var r in e)
2118
+ if (t.hasOwnProperty(r)) {
2119
+ if (!Nr(e[r], t[r]))
2120
+ return !1;
2121
+ } else
2122
+ return !1;
2123
+ return !0;
2124
+ } else
2125
+ return !1;
2126
+ }
2127
+ function Ai(e) {
2128
+ var t = [];
2129
+ return e.forEach(function(r) {
2130
+ t.find(function(n) {
2131
+ return Nr(r, n);
2132
+ }) || t.push(r);
2133
+ }), t;
2134
+ }
2135
+ function _i(e, t) {
2136
+ var r, n;
2137
+ return Object.assign({}, t, {
2138
+ popperOptions: Object.assign({}, e.popperOptions, t.popperOptions, {
2139
+ modifiers: Ai([].concat(((r = e.popperOptions) == null ? void 0 : r.modifiers) || [], ((n = t.popperOptions) == null ? void 0 : n.modifiers) || []))
2140
+ })
2141
+ });
2142
+ }
2143
+ var ht = Lr ? Vr : Hr;
2144
+ function Ri(e) {
2145
+ var t = Ur();
2146
+ return t.current || (t.current = typeof e == "function" ? e() : e), t.current;
2147
+ }
2148
+ function or(e, t, r) {
2149
+ r.split(/\s+/).forEach(function(n) {
2150
+ n && e.classList[t](n);
2151
+ });
2152
+ }
2153
+ var Ci = {
2154
+ name: "className",
2155
+ defaultValue: "",
2156
+ fn: function(t) {
2157
+ var r = t.popper.firstElementChild, n = function() {
2158
+ var v;
2159
+ return !!((v = t.props.render) != null && v.$$tippy);
581
2160
  };
582
- }, [D]), x(function() {
583
- typeof r == "boolean" && (r ? U() : L());
584
- }, [r, i]);
585
- var U = function(u) {
586
- D || i || (pe(!0), setTimeout(function() {
587
- return d(u);
588
- }, 0));
589
- }, L = function(u) {
590
- var _;
591
- !D || i || (pe(!1), S && ((_ = ye.current) === null || _ === void 0 || _.focus()), setTimeout(function() {
592
- return m(u);
593
- }, 0));
594
- }, V = function(u) {
595
- u == null || u.stopPropagation(), D ? L(u) : U(u);
596
- }, G = function(u) {
597
- clearTimeout(j.current), j.current = setTimeout(function() {
598
- return U(u);
599
- }, Me);
600
- }, Ne = function(u) {
601
- u == null || u.preventDefault(), V();
602
- }, q = function(u) {
603
- clearTimeout(j.current), j.current = setTimeout(function() {
604
- return L(u);
605
- }, Ae);
606
- }, xe = function() {
607
- S && ie && (document.getElementsByTagName("body")[0].style.overflow = "hidden");
608
- }, Ie = function() {
609
- S && ie && (document.getElementsByTagName("body")[0].style.overflow = "auto");
610
- }, je = function() {
611
- var u, _ = b == null || (u = b.current) === null || u === void 0 ? void 0 : u.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex="0"]'), g = Array.prototype.slice.call(_)[0];
612
- g == null || g.focus();
613
- };
614
- Ge(a, function() {
615
- return {
616
- open: function() {
617
- U();
618
- },
619
- close: function() {
620
- L();
621
- },
622
- toggle: function() {
623
- V();
2161
+ function a() {
2162
+ if (t.props.className && !n()) {
2163
+ process.env.NODE_ENV !== "production" && console.warn(["@tippyjs/react: Cannot use `className` prop in conjunction with", "`render` prop. Place the className on the element you are", "rendering."].join(" "));
2164
+ return;
624
2165
  }
2166
+ or(r, "add", t.props.className);
2167
+ }
2168
+ function u() {
2169
+ n() && or(r, "remove", t.props.className);
2170
+ }
2171
+ return {
2172
+ onCreate: a,
2173
+ onBeforeUpdate: u,
2174
+ onAfterUpdate: a
625
2175
  };
626
- });
627
- var ge = function() {
628
- if (!(S || !D) && !(!(C != null && C.current) || !(C != null && C.current) || !(b != null && b.current))) {
629
- var u = C.current.getBoundingClientRect(), _ = b.current.getBoundingClientRect(), g = at(u, _, ke, F, {
630
- offsetX: Ce,
631
- offsetY: Le
632
- }, Pe);
633
- if (b.current.style.top = g.top + window.scrollY + "px", b.current.style.left = g.left + window.scrollX + "px", F && M.current) {
634
- var A, $;
635
- M.current.style.transform = g.transform, M.current.style.setProperty("-ms-transform", g.transform), M.current.style.setProperty("-webkit-transform", g.transform), M.current.style.top = ((A = X.top) === null || A === void 0 ? void 0 : A.toString()) || g.arrowTop, M.current.style.left = (($ = X.left) === null || $ === void 0 ? void 0 : $.toString()) || g.arrowLeft;
2176
+ }
2177
+ };
2178
+ function Li(e) {
2179
+ function t(r) {
2180
+ var n = r.children, a = r.content, u = r.visible, f = r.singleton, v = r.render, o = r.reference, c = r.disabled, l = c === void 0 ? !1 : c, d = r.ignoreAttributes, s = d === void 0 ? !0 : d;
2181
+ r.__source, r.__self;
2182
+ var g = Cr(r, ["children", "content", "visible", "singleton", "render", "reference", "disabled", "ignoreAttributes", "__source", "__self"]), h = u !== void 0, b = f !== void 0, w = dt(!1), S = w[0], R = w[1], N = dt({}), i = N[0], T = N[1], m = dt(), L = m[0], k = m[1], x = Ri(function() {
2183
+ return {
2184
+ container: ir(),
2185
+ renders: 1
2186
+ };
2187
+ }), A = Object.assign({
2188
+ ignoreAttributes: s
2189
+ }, g, {
2190
+ content: x.container
2191
+ });
2192
+ h && (process.env.NODE_ENV !== "production" && ["trigger", "hideOnClick", "showOnCreate"].forEach(function(C) {
2193
+ A[C] !== void 0 && console.warn(["@tippyjs/react: Cannot specify `" + C + "` prop in", "controlled mode (`visible` prop)"].join(" "));
2194
+ }), A.trigger = "manual", A.hideOnClick = !1), b && (l = !0);
2195
+ var P = A, j = A.plugins || [];
2196
+ v && (P = Object.assign({}, A, {
2197
+ plugins: b && f.data != null ? [].concat(j, [{
2198
+ fn: function() {
2199
+ return {
2200
+ onTrigger: function(I, B) {
2201
+ var $ = f.data.children.find(function(H) {
2202
+ var V = H.instance;
2203
+ return V.reference === B.currentTarget;
2204
+ });
2205
+ I.state.$$activeSingletonInstance = $.instance, k($.content);
2206
+ }
2207
+ };
2208
+ }
2209
+ }]) : j,
2210
+ render: function() {
2211
+ return {
2212
+ popper: x.container
2213
+ };
636
2214
  }
637
- }
638
- };
639
- Ze(L, Te), tt(b, D && S), Be(ge, we), et(o ? [b, C] : [b], L, R && !v);
640
- var $e = function() {
641
- for (var u = {
642
- key: "T",
643
- ref: C,
644
- "aria-describedby": ve.current
645
- }, _ = Array.isArray(I) ? I : [I], g = 0, A = _.length; g < A; g++)
646
- switch (_[g]) {
647
- case "click":
648
- u.onClick = V;
649
- break;
650
- case "right-click":
651
- u.onContextMenu = Ne;
652
- break;
653
- case "hover":
654
- u.onMouseEnter = G, u.onMouseLeave = q;
655
- break;
656
- case "focus":
657
- u.onFocus = G, u.onBlur = q;
658
- break;
2215
+ }));
2216
+ var M = [o].concat(n ? [n.type] : []);
2217
+ return ht(function() {
2218
+ var C = o;
2219
+ o && o.hasOwnProperty("current") && (C = o.current);
2220
+ var E = e(C || x.ref || ir(), Object.assign({}, P, {
2221
+ plugins: [Ci].concat(A.plugins || [])
2222
+ }));
2223
+ return x.instance = E, l && E.disable(), u && E.show(), b && f.hook({
2224
+ instance: E,
2225
+ content: a,
2226
+ props: P,
2227
+ setSingletonContent: k
2228
+ }), R(!0), function() {
2229
+ E.destroy(), f == null || f.cleanup(E);
2230
+ };
2231
+ }, M), ht(function() {
2232
+ var C;
2233
+ if (x.renders === 1) {
2234
+ x.renders++;
2235
+ return;
659
2236
  }
660
- if (typeof o == "function") {
661
- var $ = o(D);
662
- return !!o && T.cloneElement($, u);
663
- }
664
- return !!o && T.cloneElement(o, u);
665
- }, He = function() {
666
- var u = S ? H.popupContent.modal : H.popupContent.tooltip, _ = {
667
- className: "popup-content " + (P !== "" ? P.split(" ").map(function(g) {
668
- return g + "-content";
669
- }).join(" ") : ""),
670
- style: Y({}, u, Re, {
671
- pointerEvents: "auto"
672
- }),
673
- ref: b,
674
- onClick: function(A) {
675
- A.stopPropagation();
2237
+ var E = x.instance;
2238
+ E.setProps(_i(E.props, P)), (C = E.popperInstance) == null || C.forceUpdate(), l ? E.disable() : E.enable(), h && (u ? E.show() : E.hide()), b && f.hook({
2239
+ instance: E,
2240
+ content: a,
2241
+ props: P,
2242
+ setSingletonContent: k
2243
+ });
2244
+ }), ht(function() {
2245
+ var C;
2246
+ if (v) {
2247
+ var E = x.instance;
2248
+ E.setProps({
2249
+ popperOptions: Object.assign({}, E.props.popperOptions, {
2250
+ modifiers: [].concat((((C = E.props.popperOptions) == null ? void 0 : C.modifiers) || []).filter(function(I) {
2251
+ var B = I.name;
2252
+ return B !== "$$tippyReact";
2253
+ }), [{
2254
+ name: "$$tippyReact",
2255
+ enabled: !0,
2256
+ phase: "beforeWrite",
2257
+ requires: ["computeStyles"],
2258
+ fn: function(B) {
2259
+ var $, H = B.state, V = ($ = H.modifiersData) == null ? void 0 : $.hide;
2260
+ (i.placement !== H.placement || i.referenceHidden !== (V == null ? void 0 : V.isReferenceHidden) || i.escaped !== (V == null ? void 0 : V.hasPopperEscaped)) && T({
2261
+ placement: H.placement,
2262
+ referenceHidden: V == null ? void 0 : V.isReferenceHidden,
2263
+ escaped: V == null ? void 0 : V.hasPopperEscaped
2264
+ }), H.attributes.popper = {};
2265
+ }
2266
+ }])
2267
+ })
2268
+ });
676
2269
  }
677
- };
678
- return !ne && I.indexOf("hover") >= 0 && (_.onMouseEnter = G, _.onMouseLeave = q), _;
679
- }, me = function() {
680
- return T.createElement("div", Object.assign({}, He(), {
681
- key: "C",
682
- role: S ? "dialog" : "tooltip",
683
- id: ve.current
684
- }), F && !S && T.createElement("div", {
685
- ref: M,
686
- style: H.popupArrow
687
- }, T.createElement("svg", {
688
- "data-testid": "arrow",
689
- className: "popup-arrow " + (P !== "" ? P.split(" ").map(function(u) {
690
- return u + "-arrow";
691
- }).join(" ") : ""),
692
- viewBox: "0 0 32 16",
693
- style: Y({
694
- position: "absolute"
695
- }, X)
696
- }, T.createElement("path", {
697
- d: "M16 0l16 16H0z",
698
- fill: "currentcolor"
699
- }))), z && typeof z == "function" ? z(L, D) : z);
700
- }, Ye = !(I.indexOf("hover") >= 0), ze = S ? H.overlay.modal : H.overlay.tooltip, Ue = [Ye && T.createElement("div", {
701
- key: "O",
702
- "data-testid": "overlay",
703
- "data-popup": S ? "modal" : "tooltip",
704
- className: "popup-overlay " + (P !== "" ? P.split(" ").map(function(h) {
705
- return h + "-overlay";
706
- }).join(" ") : ""),
707
- style: Y({}, ze, De, {
708
- pointerEvents: R && v || S ? "auto" : "none"
709
- }),
710
- onClick: R && v ? L : void 0,
711
- tabIndex: -1
712
- }, S && me()), !S && me()];
713
- return T.createElement(T.Fragment, null, $e(), D && Qe.createPortal(Ue, ct()));
714
- });
715
- const ut = "_content_1wx0f_2", be = {
716
- content: ut
717
- }, yt = ({
718
- tooltipClassName: s,
719
- contentClassName: a,
720
- children: c,
721
- ...o
722
- }) => /* @__PURE__ */ he(
723
- lt,
724
- {
725
- ...o,
726
- arrow: o.arrow ?? !0,
727
- on: o.on ?? "hover",
728
- repositionOnResize: o.repositionOnResize ?? !0,
729
- keepTooltipInside: o.keepTooltipInside ?? !0,
730
- className: Oe(be.tooltip, s),
731
- children: /* @__PURE__ */ he("div", { className: Oe(be.content, a), children: c })
732
- }
733
- );
2270
+ }, [i.placement, i.referenceHidden, i.escaped].concat(M)), /* @__PURE__ */ Ve.createElement(Ve.Fragment, null, n ? /* @__PURE__ */ sr(n, {
2271
+ ref: function(E) {
2272
+ x.ref = E, xt(n.ref, E);
2273
+ }
2274
+ }) : null, S && /* @__PURE__ */ xi.createPortal(v ? v(Si(i), L, x.instance) : a, x.container));
2275
+ }
2276
+ return t;
2277
+ }
2278
+ var Ni = function(e, t) {
2279
+ return /* @__PURE__ */ Ir(function(n, a) {
2280
+ var u = n.children, f = Cr(n, ["children"]);
2281
+ return (
2282
+ // If I spread them separately here, Babel adds the _extends ponyfill for
2283
+ // some reason
2284
+ /* @__PURE__ */ Ve.createElement(e, Object.assign({}, t, f), u ? /* @__PURE__ */ sr(u, {
2285
+ ref: function(o) {
2286
+ xt(a, o), xt(u.ref, o);
2287
+ }
2288
+ }) : null)
2289
+ );
2290
+ });
2291
+ }, Mi = /* @__PURE__ */ Ni(/* @__PURE__ */ Li(Ye));
2292
+ const Pi = "_content_1ao8d_2", ar = {
2293
+ content: Pi
2294
+ };
2295
+ function Bi({
2296
+ tooltipClassName: e,
2297
+ contentClassName: t,
2298
+ trigger: r,
2299
+ children: n,
2300
+ on: a = "mouseenter focus",
2301
+ mouseEnterDelay: u,
2302
+ mouseLeaveDelay: f,
2303
+ ...v
2304
+ }) {
2305
+ const o = v.delay ?? (u !== void 0 || f !== void 0 ? [u ?? 0, f ?? 0] : void 0);
2306
+ return /* @__PURE__ */ jt(
2307
+ Mi,
2308
+ {
2309
+ ...v,
2310
+ trigger: a,
2311
+ delay: o,
2312
+ arrow: v.arrow ?? !0,
2313
+ className: kt(ar.tooltip, e, v.className),
2314
+ content: /* @__PURE__ */ jt("div", { className: kt(ar.content, t), children: n }),
2315
+ children: r
2316
+ }
2317
+ );
2318
+ }
734
2319
  export {
735
- yt as Tooltip
2320
+ Bi as Tooltip
736
2321
  };