@rotki/ui-library 1.12.1 → 1.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +1 -1
  2. package/dist/components/accordions/accordion/RuiAccordion.vue.d.ts +409 -14
  3. package/dist/components/alerts/RuiAlert.vue.d.ts +478 -11
  4. package/dist/components/buttons/button/RuiButton.vue.d.ts +5 -7
  5. package/dist/components/buttons/button-group/RuiButtonGroup.vue.d.ts +2 -4
  6. package/dist/components/cards/RuiCard.vue.d.ts +452 -15
  7. package/dist/components/cards/RuiCardHeader.vue.d.ts +396 -11
  8. package/dist/components/chips/RuiChip.vue.d.ts +484 -11
  9. package/dist/components/forms/auto-complete/RuiAutoComplete.vue.d.ts +39 -43
  10. package/dist/components/forms/checkbox/RuiCheckbox.vue.d.ts +468 -11
  11. package/dist/components/forms/radio-button/radio/RuiRadio.vue.d.ts +6 -8
  12. package/dist/components/forms/radio-button/radio-group/RuiRadioGroup.vue.d.ts +5 -7
  13. package/dist/components/forms/revealable-text-field/RuiRevealableTextField.vue.d.ts +48 -19
  14. package/dist/components/forms/select/RuiMenuSelect.vue.d.ts +19 -21
  15. package/dist/components/forms/switch/RuiSwitch.vue.d.ts +514 -9
  16. package/dist/components/forms/text-area/RuiTextArea.vue.d.ts +843 -20
  17. package/dist/components/forms/text-field/RuiTextField.vue.d.ts +676 -21
  18. package/dist/components/icons/RuiIcon.vue.d.ts +2 -2
  19. package/dist/components/index.d.ts +30 -30
  20. package/dist/components/index.es.js +5463 -5454
  21. package/dist/components/loaders/RuiSkeletonBase.vue.d.ts +1 -1
  22. package/dist/components/logos/RuiLogo.vue.d.ts +1 -1
  23. package/dist/components/overlays/badge/RuiBadge.vue.d.ts +472 -13
  24. package/dist/components/overlays/bottom-sheet/RuiBottomSheet.vue.d.ts +14 -9
  25. package/dist/components/overlays/dialog/RuiDialog.vue.d.ts +476 -23
  26. package/dist/components/overlays/menu/RuiMenu.vue.d.ts +505 -31
  27. package/dist/components/overlays/navigation-drawer/RuiNavigationDrawer.vue.d.ts +466 -25
  28. package/dist/components/overlays/notification/RuiNotification.vue.d.ts +24 -11
  29. package/dist/components/overlays/tooltip/RuiTooltip.vue.d.ts +429 -18
  30. package/dist/components/progress/RuiProgress.vue.d.ts +2 -2
  31. package/dist/components/steppers/RuiFooterStepper.vue.d.ts +1 -1
  32. package/dist/components/steppers/RuiStepper.vue.d.ts +461 -15
  33. package/dist/components/steppers/RuiStepperCustomIcon.vue.d.ts +1 -1
  34. package/dist/components/steppers/RuiStepperIcon.vue.d.ts +1 -1
  35. package/dist/components/tables/RuiDataTable.vue.d.ts +4 -36
  36. package/dist/components/tables/RuiExpandButton.vue.d.ts +377 -9
  37. package/dist/components/tables/RuiTableHead.vue.d.ts +17 -14
  38. package/dist/components/tables/RuiTablePagination.vue.d.ts +1 -1
  39. package/dist/components/tabs/tab/RuiTab.vue.d.ts +9 -19
  40. package/dist/components/tabs/tab-item/RuiTabItem.vue.d.ts +378 -11
  41. package/dist/components/tabs/tab-items/RuiTabItems.vue.d.ts +3 -5
  42. package/dist/components/tabs/tabs/RuiTabs.vue.d.ts +1 -1
  43. package/dist/composables/defaults/table.d.ts +1 -1
  44. package/dist/composables/{index-BWYjmHnW.js → index-DKotjeCA.js} +94 -95
  45. package/dist/composables/index.d.ts +1 -1
  46. package/dist/composables/index.es.js +1 -1
  47. package/dist/composables/popper.d.ts +2 -2
  48. package/dist/consts/forms/auto-complete/index.d.ts +1 -1
  49. package/dist/index.d.ts +6 -6
  50. package/dist/index.es.js +52 -52
  51. package/dist/style.css +1 -1
  52. package/dist/types/{index-DSBIGM2a.js → index-CN6Ip1GL.js} +1 -2
  53. package/dist/types/theme.d.ts +1 -1
  54. package/dist/utils/{index-Cps3W0wA.js → index-Bi6PqW7j.js} +38 -38
  55. package/dist/{vendor-BRFX1hnB.js → vendor-ClNuDbHx.js} +1385 -1387
  56. package/dist/web-types.json +91 -91
  57. package/package.json +45 -45
@@ -42,688 +42,889 @@ function Te(t, e) {
42
42
  function ea(t, e) {
43
43
  return Pe(Te(t || ""));
44
44
  }
45
- function D(t) {
46
- if (t == null)
47
- return window;
48
- if (t.toString() !== "[object Window]") {
49
- var e = t.ownerDocument;
50
- return e && e.defaultView || window;
51
- }
52
- return t;
53
- }
54
- function et(t) {
55
- var e = D(t).Element;
56
- return t instanceof e || t instanceof Element;
57
- }
58
- function j(t) {
59
- var e = D(t).HTMLElement;
60
- return t instanceof e || t instanceof HTMLElement;
61
- }
62
- function Bt(t) {
63
- if (typeof ShadowRoot > "u")
64
- return !1;
65
- var e = D(t).ShadowRoot;
66
- return t instanceof e || t instanceof ShadowRoot;
45
+ function _t(t) {
46
+ "@babel/helpers - typeof";
47
+ return _t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
48
+ return typeof e;
49
+ } : function(e) {
50
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
51
+ }, _t(t);
67
52
  }
68
- var tt = Math.max, _t = Math.min, at = Math.round;
69
- function Ct() {
70
- var t = navigator.userAgentData;
71
- return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
72
- return e.brand + "/" + e.version;
73
- }).join(" ") : navigator.userAgent;
53
+ var Be = /^\s+/, De = /\s+$/;
54
+ function c(t, e) {
55
+ if (t = t || "", e = e || {}, t instanceof c)
56
+ return t;
57
+ if (!(this instanceof c))
58
+ return new c(t, e);
59
+ var r = je(t);
60
+ this._originalInput = t, this._r = r.r, this._g = r.g, this._b = r.b, this._a = r.a, this._roundA = Math.round(100 * this._a) / 100, this._format = e.format || r.format, this._gradientType = e.gradientType, this._r < 1 && (this._r = Math.round(this._r)), this._g < 1 && (this._g = Math.round(this._g)), this._b < 1 && (this._b = Math.round(this._b)), this._ok = r.ok;
74
61
  }
75
- function le() {
76
- return !/^((?!chrome|android).)*safari/i.test(Ct());
62
+ c.prototype = {
63
+ isDark: function() {
64
+ return this.getBrightness() < 128;
65
+ },
66
+ isLight: function() {
67
+ return !this.isDark();
68
+ },
69
+ isValid: function() {
70
+ return this._ok;
71
+ },
72
+ getOriginalInput: function() {
73
+ return this._originalInput;
74
+ },
75
+ getFormat: function() {
76
+ return this._format;
77
+ },
78
+ getAlpha: function() {
79
+ return this._a;
80
+ },
81
+ getBrightness: function() {
82
+ var e = this.toRgb();
83
+ return (e.r * 299 + e.g * 587 + e.b * 114) / 1e3;
84
+ },
85
+ getLuminance: function() {
86
+ var e = this.toRgb(), r, a, n, i, f, o;
87
+ return r = e.r / 255, a = e.g / 255, n = e.b / 255, r <= 0.03928 ? i = r / 12.92 : i = Math.pow((r + 0.055) / 1.055, 2.4), a <= 0.03928 ? f = a / 12.92 : f = Math.pow((a + 0.055) / 1.055, 2.4), n <= 0.03928 ? o = n / 12.92 : o = Math.pow((n + 0.055) / 1.055, 2.4), 0.2126 * i + 0.7152 * f + 0.0722 * o;
88
+ },
89
+ setAlpha: function(e) {
90
+ return this._a = le(e), this._roundA = Math.round(100 * this._a) / 100, this;
91
+ },
92
+ toHsv: function() {
93
+ var e = Kt(this._r, this._g, this._b);
94
+ return {
95
+ h: e.h * 360,
96
+ s: e.s,
97
+ v: e.v,
98
+ a: this._a
99
+ };
100
+ },
101
+ toHsvString: function() {
102
+ var e = Kt(this._r, this._g, this._b), r = Math.round(e.h * 360), a = Math.round(e.s * 100), n = Math.round(e.v * 100);
103
+ return this._a == 1 ? "hsv(" + r + ", " + a + "%, " + n + "%)" : "hsva(" + r + ", " + a + "%, " + n + "%, " + this._roundA + ")";
104
+ },
105
+ toHsl: function() {
106
+ var e = Jt(this._r, this._g, this._b);
107
+ return {
108
+ h: e.h * 360,
109
+ s: e.s,
110
+ l: e.l,
111
+ a: this._a
112
+ };
113
+ },
114
+ toHslString: function() {
115
+ var e = Jt(this._r, this._g, this._b), r = Math.round(e.h * 360), a = Math.round(e.s * 100), n = Math.round(e.l * 100);
116
+ return this._a == 1 ? "hsl(" + r + ", " + a + "%, " + n + "%)" : "hsla(" + r + ", " + a + "%, " + n + "%, " + this._roundA + ")";
117
+ },
118
+ toHex: function(e) {
119
+ return Qt(this._r, this._g, this._b, e);
120
+ },
121
+ toHexString: function(e) {
122
+ return "#" + this.toHex(e);
123
+ },
124
+ toHex8: function(e) {
125
+ return Ne(this._r, this._g, this._b, this._a, e);
126
+ },
127
+ toHex8String: function(e) {
128
+ return "#" + this.toHex8(e);
129
+ },
130
+ toRgb: function() {
131
+ return {
132
+ r: Math.round(this._r),
133
+ g: Math.round(this._g),
134
+ b: Math.round(this._b),
135
+ a: this._a
136
+ };
137
+ },
138
+ toRgbString: function() {
139
+ return this._a == 1 ? "rgb(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ")" : "rgba(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ", " + this._roundA + ")";
140
+ },
141
+ toPercentageRgb: function() {
142
+ return {
143
+ r: Math.round(A(this._r, 255) * 100) + "%",
144
+ g: Math.round(A(this._g, 255) * 100) + "%",
145
+ b: Math.round(A(this._b, 255) * 100) + "%",
146
+ a: this._a
147
+ };
148
+ },
149
+ toPercentageRgbString: function() {
150
+ return this._a == 1 ? "rgb(" + Math.round(A(this._r, 255) * 100) + "%, " + Math.round(A(this._g, 255) * 100) + "%, " + Math.round(A(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(A(this._r, 255) * 100) + "%, " + Math.round(A(this._g, 255) * 100) + "%, " + Math.round(A(this._b, 255) * 100) + "%, " + this._roundA + ")";
151
+ },
152
+ toName: function() {
153
+ return this._a === 0 ? "transparent" : this._a < 1 ? !1 : Ke[Qt(this._r, this._g, this._b, !0)] || !1;
154
+ },
155
+ toFilter: function(e) {
156
+ var r = "#" + te(this._r, this._g, this._b, this._a), a = r, n = this._gradientType ? "GradientType = 1, " : "";
157
+ if (e) {
158
+ var i = c(e);
159
+ a = "#" + te(i._r, i._g, i._b, i._a);
160
+ }
161
+ return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + r + ",endColorstr=" + a + ")";
162
+ },
163
+ toString: function(e) {
164
+ var r = !!e;
165
+ e = e || this._format;
166
+ var a = !1, n = this._a < 1 && this._a >= 0, i = !r && n && (e === "hex" || e === "hex6" || e === "hex3" || e === "hex4" || e === "hex8" || e === "name");
167
+ return i ? e === "name" && this._a === 0 ? this.toName() : this.toRgbString() : (e === "rgb" && (a = this.toRgbString()), e === "prgb" && (a = this.toPercentageRgbString()), (e === "hex" || e === "hex6") && (a = this.toHexString()), e === "hex3" && (a = this.toHexString(!0)), e === "hex4" && (a = this.toHex8String(!0)), e === "hex8" && (a = this.toHex8String()), e === "name" && (a = this.toName()), e === "hsl" && (a = this.toHslString()), e === "hsv" && (a = this.toHsvString()), a || this.toHexString());
168
+ },
169
+ clone: function() {
170
+ return c(this.toString());
171
+ },
172
+ _applyModification: function(e, r) {
173
+ var a = e.apply(null, [this].concat([].slice.call(r)));
174
+ return this._r = a._r, this._g = a._g, this._b = a._b, this.setAlpha(a._a), this;
175
+ },
176
+ lighten: function() {
177
+ return this._applyModification(Ue, arguments);
178
+ },
179
+ brighten: function() {
180
+ return this._applyModification(qe, arguments);
181
+ },
182
+ darken: function() {
183
+ return this._applyModification(ze, arguments);
184
+ },
185
+ desaturate: function() {
186
+ return this._applyModification(Ie, arguments);
187
+ },
188
+ saturate: function() {
189
+ return this._applyModification(We, arguments);
190
+ },
191
+ greyscale: function() {
192
+ return this._applyModification(Ve, arguments);
193
+ },
194
+ spin: function() {
195
+ return this._applyModification(Xe, arguments);
196
+ },
197
+ _applyCombination: function(e, r) {
198
+ return e.apply(null, [this].concat([].slice.call(r)));
199
+ },
200
+ analogous: function() {
201
+ return this._applyCombination(Ze, arguments);
202
+ },
203
+ complement: function() {
204
+ return this._applyCombination(Ge, arguments);
205
+ },
206
+ monochromatic: function() {
207
+ return this._applyCombination(Je, arguments);
208
+ },
209
+ splitcomplement: function() {
210
+ return this._applyCombination(Ye, arguments);
211
+ },
212
+ // Disabled until https://github.com/bgrins/TinyColor/issues/254
213
+ // polyad: function (number) {
214
+ // return this._applyCombination(polyad, [number]);
215
+ // },
216
+ triad: function() {
217
+ return this._applyCombination(ee, [3]);
218
+ },
219
+ tetrad: function() {
220
+ return this._applyCombination(ee, [4]);
221
+ }
222
+ };
223
+ c.fromRatio = function(t, e) {
224
+ if (_t(t) == "object") {
225
+ var r = {};
226
+ for (var a in t)
227
+ t.hasOwnProperty(a) && (a === "a" ? r[a] = t[a] : r[a] = lt(t[a]));
228
+ t = r;
229
+ }
230
+ return c(t, e);
231
+ };
232
+ function je(t) {
233
+ var e = {
234
+ r: 0,
235
+ g: 0,
236
+ b: 0
237
+ }, r = 1, a = null, n = null, i = null, f = !1, o = !1;
238
+ return typeof t == "string" && (t = rr(t)), _t(t) == "object" && (q(t.r) && q(t.g) && q(t.b) ? (e = Fe(t.r, t.g, t.b), f = !0, o = String(t.r).substr(-1) === "%" ? "prgb" : "rgb") : q(t.h) && q(t.s) && q(t.v) ? (a = lt(t.s), n = lt(t.v), e = Le(t.h, a, n), f = !0, o = "hsv") : q(t.h) && q(t.s) && q(t.l) && (a = lt(t.s), i = lt(t.l), e = $e(t.h, a, i), f = !0, o = "hsl"), t.hasOwnProperty("a") && (r = t.a)), r = le(r), {
239
+ ok: f,
240
+ format: t.format || o,
241
+ r: Math.min(255, Math.max(e.r, 0)),
242
+ g: Math.min(255, Math.max(e.g, 0)),
243
+ b: Math.min(255, Math.max(e.b, 0)),
244
+ a: r
245
+ };
77
246
  }
78
- function nt(t, e, r) {
79
- e === void 0 && (e = !1), r === void 0 && (r = !1);
80
- var a = t.getBoundingClientRect(), n = 1, i = 1;
81
- e && j(t) && (n = t.offsetWidth > 0 && at(a.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && at(a.height) / t.offsetHeight || 1);
82
- var f = et(t) ? D(t) : window, o = f.visualViewport, s = !le() && r, l = (a.left + (s && o ? o.offsetLeft : 0)) / n, u = (a.top + (s && o ? o.offsetTop : 0)) / i, h = a.width / n, y = a.height / i;
247
+ function Fe(t, e, r) {
83
248
  return {
84
- width: h,
85
- height: y,
86
- top: u,
87
- right: l + h,
88
- bottom: u + y,
89
- left: l,
90
- x: l,
91
- y: u
249
+ r: A(t, 255) * 255,
250
+ g: A(e, 255) * 255,
251
+ b: A(r, 255) * 255
92
252
  };
93
253
  }
94
- function Dt(t) {
95
- var e = D(t), r = e.pageXOffset, a = e.pageYOffset;
254
+ function Jt(t, e, r) {
255
+ t = A(t, 255), e = A(e, 255), r = A(r, 255);
256
+ var a = Math.max(t, e, r), n = Math.min(t, e, r), i, f, o = (a + n) / 2;
257
+ if (a == n)
258
+ i = f = 0;
259
+ else {
260
+ var s = a - n;
261
+ switch (f = o > 0.5 ? s / (2 - a - n) : s / (a + n), a) {
262
+ case t:
263
+ i = (e - r) / s + (e < r ? 6 : 0);
264
+ break;
265
+ case e:
266
+ i = (r - t) / s + 2;
267
+ break;
268
+ case r:
269
+ i = (t - e) / s + 4;
270
+ break;
271
+ }
272
+ i /= 6;
273
+ }
96
274
  return {
97
- scrollLeft: r,
98
- scrollTop: a
275
+ h: i,
276
+ s: f,
277
+ l: o
99
278
  };
100
279
  }
101
- function Be(t) {
280
+ function $e(t, e, r) {
281
+ var a, n, i;
282
+ t = A(t, 360), e = A(e, 100), r = A(r, 100);
283
+ function f(l, u, h) {
284
+ return h < 0 && (h += 1), h > 1 && (h -= 1), h < 1 / 6 ? l + (u - l) * 6 * h : h < 1 / 2 ? u : h < 2 / 3 ? l + (u - l) * (2 / 3 - h) * 6 : l;
285
+ }
286
+ if (e === 0)
287
+ a = n = i = r;
288
+ else {
289
+ var o = r < 0.5 ? r * (1 + e) : r + e - r * e, s = 2 * r - o;
290
+ a = f(s, o, t + 1 / 3), n = f(s, o, t), i = f(s, o, t - 1 / 3);
291
+ }
102
292
  return {
103
- scrollLeft: t.scrollLeft,
104
- scrollTop: t.scrollTop
293
+ r: a * 255,
294
+ g: n * 255,
295
+ b: i * 255
105
296
  };
106
297
  }
107
- function De(t) {
108
- return t === D(t) || !j(t) ? Dt(t) : Be(t);
109
- }
110
- function U(t) {
111
- return t ? (t.nodeName || "").toLowerCase() : null;
112
- }
113
- function G(t) {
114
- return ((et(t) ? t.ownerDocument : (
115
- // $FlowFixMe[prop-missing]
116
- t.document
117
- )) || window.document).documentElement;
118
- }
119
- function jt(t) {
120
- return nt(G(t)).left + Dt(t).scrollLeft;
121
- }
122
- function z(t) {
123
- return D(t).getComputedStyle(t);
124
- }
125
- function Ft(t) {
126
- var e = z(t), r = e.overflow, a = e.overflowX, n = e.overflowY;
127
- return /auto|scroll|overlay|hidden/.test(r + n + a);
128
- }
129
- function je(t) {
130
- var e = t.getBoundingClientRect(), r = at(e.width) / t.offsetWidth || 1, a = at(e.height) / t.offsetHeight || 1;
131
- return r !== 1 || a !== 1;
132
- }
133
- function Fe(t, e, r) {
134
- r === void 0 && (r = !1);
135
- var a = j(e), n = j(e) && je(e), i = G(e), f = nt(t, n, r), o = {
136
- scrollLeft: 0,
137
- scrollTop: 0
138
- }, s = {
139
- x: 0,
140
- y: 0
141
- };
142
- return (a || !a && !r) && ((U(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
143
- Ft(i)) && (o = De(e)), j(e) ? (s = nt(e, !0), s.x += e.clientLeft, s.y += e.clientTop) : i && (s.x = jt(i))), {
144
- x: f.left + o.scrollLeft - s.x,
145
- y: f.top + o.scrollTop - s.y,
146
- width: f.width,
147
- height: f.height
298
+ function Kt(t, e, r) {
299
+ t = A(t, 255), e = A(e, 255), r = A(r, 255);
300
+ var a = Math.max(t, e, r), n = Math.min(t, e, r), i, f, o = a, s = a - n;
301
+ if (f = a === 0 ? 0 : s / a, a == n)
302
+ i = 0;
303
+ else {
304
+ switch (a) {
305
+ case t:
306
+ i = (e - r) / s + (e < r ? 6 : 0);
307
+ break;
308
+ case e:
309
+ i = (r - t) / s + 2;
310
+ break;
311
+ case r:
312
+ i = (t - e) / s + 4;
313
+ break;
314
+ }
315
+ i /= 6;
316
+ }
317
+ return {
318
+ h: i,
319
+ s: f,
320
+ v: o
148
321
  };
149
322
  }
150
- function $t(t) {
151
- var e = nt(t), r = t.offsetWidth, a = t.offsetHeight;
152
- return Math.abs(e.width - r) <= 1 && (r = e.width), Math.abs(e.height - a) <= 1 && (a = e.height), {
153
- x: t.offsetLeft,
154
- y: t.offsetTop,
155
- width: r,
156
- height: a
323
+ function Le(t, e, r) {
324
+ t = A(t, 360) * 6, e = A(e, 100), r = A(r, 100);
325
+ var a = Math.floor(t), n = t - a, i = r * (1 - e), f = r * (1 - n * e), o = r * (1 - (1 - n) * e), s = a % 6, l = [r, f, i, i, o, r][s], u = [o, r, r, f, i, i][s], h = [i, i, o, r, r, f][s];
326
+ return {
327
+ r: l * 255,
328
+ g: u * 255,
329
+ b: h * 255
157
330
  };
158
331
  }
159
- function Ot(t) {
160
- return U(t) === "html" ? t : (
161
- // this is a quicker (but less type safe) way to save quite some bytes from the bundle
162
- // $FlowFixMe[incompatible-return]
163
- // $FlowFixMe[prop-missing]
164
- t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
165
- t.parentNode || // DOM Element detected
166
- (Bt(t) ? t.host : null) || // ShadowRoot detected
167
- // $FlowFixMe[incompatible-call]: HTMLElement is a Node
168
- G(t)
169
- );
170
- }
171
- function ce(t) {
172
- return ["html", "body", "#document"].indexOf(U(t)) >= 0 ? t.ownerDocument.body : j(t) && Ft(t) ? t : ce(Ot(t));
173
- }
174
- function ct(t, e) {
175
- var r;
176
- e === void 0 && (e = []);
177
- var a = ce(t), n = a === ((r = t.ownerDocument) == null ? void 0 : r.body), i = D(a), f = n ? [i].concat(i.visualViewport || [], Ft(a) ? a : []) : a, o = e.concat(f);
178
- return n ? o : (
179
- // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
180
- o.concat(ct(Ot(f)))
181
- );
182
- }
183
- function $e(t) {
184
- return ["table", "td", "th"].indexOf(U(t)) >= 0;
185
- }
186
- function Jt(t) {
187
- return !j(t) || // https://github.com/popperjs/popper-core/issues/837
188
- z(t).position === "fixed" ? null : t.offsetParent;
189
- }
190
- function Le(t) {
191
- var e = /firefox/i.test(Ct()), r = /Trident/i.test(Ct());
192
- if (r && j(t)) {
193
- var a = z(t);
194
- if (a.position === "fixed")
195
- return null;
196
- }
197
- var n = Ot(t);
198
- for (Bt(n) && (n = n.host); j(n) && ["html", "body"].indexOf(U(n)) < 0; ) {
199
- var i = z(n);
200
- if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || e && i.willChange === "filter" || e && i.filter && i.filter !== "none")
201
- return n;
202
- n = n.parentNode;
203
- }
204
- return null;
205
- }
206
- function dt(t) {
207
- for (var e = D(t), r = Jt(t); r && $e(r) && z(r).position === "static"; )
208
- r = Jt(r);
209
- return r && (U(r) === "html" || U(r) === "body" && z(r).position === "static") ? e : r || Le(t) || e;
210
- }
211
- var T = "top", I = "bottom", W = "right", B = "left", Lt = "auto", vt = [T, I, W, B], it = "start", ht = "end", Ne = "clippingParents", pe = "viewport", ut = "popper", Ie = "reference", Kt = /* @__PURE__ */ vt.reduce(function(t, e) {
212
- return t.concat([e + "-" + it, e + "-" + ht]);
213
- }, []), he = /* @__PURE__ */ [].concat(vt, [Lt]).reduce(function(t, e) {
214
- return t.concat([e, e + "-" + it, e + "-" + ht]);
215
- }, []), We = "beforeRead", Ve = "read", Ue = "afterRead", qe = "beforeMain", ze = "main", Xe = "afterMain", Ge = "beforeWrite", Ye = "write", Ze = "afterWrite", Je = [We, Ve, Ue, qe, ze, Xe, Ge, Ye, Ze];
216
- function Ke(t) {
217
- var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), a = [];
218
- t.forEach(function(i) {
219
- e.set(i.name, i);
220
- });
221
- function n(i) {
222
- r.add(i.name);
223
- var f = [].concat(i.requires || [], i.requiresIfExists || []);
224
- f.forEach(function(o) {
225
- if (!r.has(o)) {
226
- var s = e.get(o);
227
- s && n(s);
228
- }
229
- }), a.push(i);
230
- }
231
- return t.forEach(function(i) {
232
- r.has(i.name) || n(i);
233
- }), a;
332
+ function Qt(t, e, r, a) {
333
+ var n = [N(Math.round(t).toString(16)), N(Math.round(e).toString(16)), N(Math.round(r).toString(16))];
334
+ return a && n[0].charAt(0) == n[0].charAt(1) && n[1].charAt(0) == n[1].charAt(1) && n[2].charAt(0) == n[2].charAt(1) ? n[0].charAt(0) + n[1].charAt(0) + n[2].charAt(0) : n.join("");
234
335
  }
235
- function Qe(t) {
236
- var e = Ke(t);
237
- return Je.reduce(function(r, a) {
238
- return r.concat(e.filter(function(n) {
239
- return n.phase === a;
240
- }));
241
- }, []);
336
+ function Ne(t, e, r, a, n) {
337
+ var i = [N(Math.round(t).toString(16)), N(Math.round(e).toString(16)), N(Math.round(r).toString(16)), N(ce(a))];
338
+ return n && i[0].charAt(0) == i[0].charAt(1) && i[1].charAt(0) == i[1].charAt(1) && i[2].charAt(0) == i[2].charAt(1) && i[3].charAt(0) == i[3].charAt(1) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
242
339
  }
243
- function tr(t) {
244
- var e;
245
- return function() {
246
- return e || (e = new Promise(function(r) {
247
- Promise.resolve().then(function() {
248
- e = void 0, r(t());
249
- });
250
- })), e;
251
- };
340
+ function te(t, e, r, a) {
341
+ var n = [N(ce(a)), N(Math.round(t).toString(16)), N(Math.round(e).toString(16)), N(Math.round(r).toString(16))];
342
+ return n.join("");
252
343
  }
253
- function er(t) {
254
- var e = t.reduce(function(r, a) {
255
- var n = r[a.name];
256
- return r[a.name] = n ? Object.assign({}, n, a, {
257
- options: Object.assign({}, n.options, a.options),
258
- data: Object.assign({}, n.data, a.data)
259
- }) : a, r;
260
- }, {});
261
- return Object.keys(e).map(function(r) {
262
- return e[r];
344
+ c.equals = function(t, e) {
345
+ return !t || !e ? !1 : c(t).toRgbString() == c(e).toRgbString();
346
+ };
347
+ c.random = function() {
348
+ return c.fromRatio({
349
+ r: Math.random(),
350
+ g: Math.random(),
351
+ b: Math.random()
263
352
  });
353
+ };
354
+ function Ie(t, e) {
355
+ e = e === 0 ? 0 : e || 10;
356
+ var r = c(t).toHsl();
357
+ return r.s -= e / 100, r.s = Ot(r.s), c(r);
264
358
  }
265
- function rr(t, e) {
266
- var r = D(t), a = G(t), n = r.visualViewport, i = a.clientWidth, f = a.clientHeight, o = 0, s = 0;
267
- if (n) {
268
- i = n.width, f = n.height;
269
- var l = le();
270
- (l || !l && e === "fixed") && (o = n.offsetLeft, s = n.offsetTop);
271
- }
272
- return {
273
- width: i,
274
- height: f,
275
- x: o + jt(t),
276
- y: s
277
- };
359
+ function We(t, e) {
360
+ e = e === 0 ? 0 : e || 10;
361
+ var r = c(t).toHsl();
362
+ return r.s += e / 100, r.s = Ot(r.s), c(r);
278
363
  }
279
- function ar(t) {
280
- var e, r = G(t), a = Dt(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, i = tt(r.scrollWidth, r.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), f = tt(r.scrollHeight, r.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), o = -a.scrollLeft + jt(t), s = -a.scrollTop;
281
- return z(n || r).direction === "rtl" && (o += tt(r.clientWidth, n ? n.clientWidth : 0) - i), {
282
- width: i,
283
- height: f,
284
- x: o,
285
- y: s
286
- };
364
+ function Ve(t) {
365
+ return c(t).desaturate(100);
287
366
  }
288
- function de(t, e) {
289
- var r = e.getRootNode && e.getRootNode();
290
- if (t.contains(e))
291
- return !0;
292
- if (r && Bt(r)) {
293
- var a = e;
294
- do {
295
- if (a && t.isSameNode(a))
296
- return !0;
297
- a = a.parentNode || a.host;
298
- } while (a);
299
- }
300
- return !1;
367
+ function Ue(t, e) {
368
+ e = e === 0 ? 0 : e || 10;
369
+ var r = c(t).toHsl();
370
+ return r.l += e / 100, r.l = Ot(r.l), c(r);
301
371
  }
302
- function Pt(t) {
303
- return Object.assign({}, t, {
304
- left: t.x,
305
- top: t.y,
306
- right: t.x + t.width,
307
- bottom: t.y + t.height
308
- });
372
+ function qe(t, e) {
373
+ e = e === 0 ? 0 : e || 10;
374
+ var r = c(t).toRgb();
375
+ return r.r = Math.max(0, Math.min(255, r.r - Math.round(255 * -(e / 100)))), r.g = Math.max(0, Math.min(255, r.g - Math.round(255 * -(e / 100)))), r.b = Math.max(0, Math.min(255, r.b - Math.round(255 * -(e / 100)))), c(r);
309
376
  }
310
- function nr(t, e) {
311
- var r = nt(t, !1, e === "fixed");
312
- return r.top = r.top + t.clientTop, r.left = r.left + t.clientLeft, r.bottom = r.top + t.clientHeight, r.right = r.left + t.clientWidth, r.width = t.clientWidth, r.height = t.clientHeight, r.x = r.left, r.y = r.top, r;
377
+ function ze(t, e) {
378
+ e = e === 0 ? 0 : e || 10;
379
+ var r = c(t).toHsl();
380
+ return r.l -= e / 100, r.l = Ot(r.l), c(r);
313
381
  }
314
- function Qt(t, e, r) {
315
- return e === pe ? Pt(rr(t, r)) : et(e) ? nr(e, r) : Pt(ar(G(t)));
382
+ function Xe(t, e) {
383
+ var r = c(t).toHsl(), a = (r.h + e) % 360;
384
+ return r.h = a < 0 ? 360 + a : a, c(r);
316
385
  }
317
- function ir(t) {
318
- var e = ct(Ot(t)), r = ["absolute", "fixed"].indexOf(z(t).position) >= 0, a = r && j(t) ? dt(t) : t;
319
- return et(a) ? e.filter(function(n) {
320
- return et(n) && de(n, a) && U(n) !== "body";
321
- }) : [];
386
+ function Ge(t) {
387
+ var e = c(t).toHsl();
388
+ return e.h = (e.h + 180) % 360, c(e);
322
389
  }
323
- function or(t, e, r, a) {
324
- var n = e === "clippingParents" ? ir(t) : [].concat(e), i = [].concat(n, [r]), f = i[0], o = i.reduce(function(s, l) {
325
- var u = Qt(t, l, a);
326
- return s.top = tt(u.top, s.top), s.right = _t(u.right, s.right), s.bottom = _t(u.bottom, s.bottom), s.left = tt(u.left, s.left), s;
327
- }, Qt(t, f, a));
328
- return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
390
+ function ee(t, e) {
391
+ if (isNaN(e) || e <= 0)
392
+ throw new Error("Argument to polyad must be a positive number");
393
+ for (var r = c(t).toHsl(), a = [c(t)], n = 360 / e, i = 1; i < e; i++)
394
+ a.push(c({
395
+ h: (r.h + i * n) % 360,
396
+ s: r.s,
397
+ l: r.l
398
+ }));
399
+ return a;
329
400
  }
330
- function V(t) {
331
- return t.split("-")[0];
401
+ function Ye(t) {
402
+ var e = c(t).toHsl(), r = e.h;
403
+ return [c(t), c({
404
+ h: (r + 72) % 360,
405
+ s: e.s,
406
+ l: e.l
407
+ }), c({
408
+ h: (r + 216) % 360,
409
+ s: e.s,
410
+ l: e.l
411
+ })];
332
412
  }
333
- function ot(t) {
334
- return t.split("-")[1];
413
+ function Ze(t, e, r) {
414
+ e = e || 6, r = r || 30;
415
+ var a = c(t).toHsl(), n = 360 / r, i = [c(t)];
416
+ for (a.h = (a.h - (n * e >> 1) + 720) % 360; --e; )
417
+ a.h = (a.h + n) % 360, i.push(c(a));
418
+ return i;
335
419
  }
336
- function Nt(t) {
337
- return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
420
+ function Je(t, e) {
421
+ e = e || 6;
422
+ for (var r = c(t).toHsv(), a = r.h, n = r.s, i = r.v, f = [], o = 1 / e; e--; )
423
+ f.push(c({
424
+ h: a,
425
+ s: n,
426
+ v: i
427
+ })), i = (i + o) % 1;
428
+ return f;
338
429
  }
339
- function ve(t) {
340
- var e = t.reference, r = t.element, a = t.placement, n = a ? V(a) : null, i = a ? ot(a) : null, f = e.x + e.width / 2 - r.width / 2, o = e.y + e.height / 2 - r.height / 2, s;
341
- switch (n) {
342
- case T:
343
- s = {
344
- x: f,
345
- y: e.y - r.height
346
- };
347
- break;
348
- case I:
349
- s = {
350
- x: f,
351
- y: e.y + e.height
352
- };
430
+ c.mix = function(t, e, r) {
431
+ r = r === 0 ? 0 : r || 50;
432
+ var a = c(t).toRgb(), n = c(e).toRgb(), i = r / 100, f = {
433
+ r: (n.r - a.r) * i + a.r,
434
+ g: (n.g - a.g) * i + a.g,
435
+ b: (n.b - a.b) * i + a.b,
436
+ a: (n.a - a.a) * i + a.a
437
+ };
438
+ return c(f);
439
+ };
440
+ c.readability = function(t, e) {
441
+ var r = c(t), a = c(e);
442
+ return (Math.max(r.getLuminance(), a.getLuminance()) + 0.05) / (Math.min(r.getLuminance(), a.getLuminance()) + 0.05);
443
+ };
444
+ c.isReadable = function(t, e, r) {
445
+ var a = c.readability(t, e), n, i;
446
+ switch (i = !1, n = ar(r), n.level + n.size) {
447
+ case "AAsmall":
448
+ case "AAAlarge":
449
+ i = a >= 4.5;
353
450
  break;
354
- case W:
355
- s = {
356
- x: e.x + e.width,
357
- y: o
358
- };
451
+ case "AAlarge":
452
+ i = a >= 3;
359
453
  break;
360
- case B:
361
- s = {
362
- x: e.x - r.width,
363
- y: o
364
- };
454
+ case "AAAsmall":
455
+ i = a >= 7;
365
456
  break;
366
- default:
367
- s = {
368
- x: e.x,
369
- y: e.y
370
- };
371
- }
372
- var l = n ? Nt(n) : null;
373
- if (l != null) {
374
- var u = l === "y" ? "height" : "width";
375
- switch (i) {
376
- case it:
377
- s[l] = s[l] - (e[u] / 2 - r[u] / 2);
378
- break;
379
- case ht:
380
- s[l] = s[l] + (e[u] / 2 - r[u] / 2);
381
- break;
382
- }
383
457
  }
384
- return s;
458
+ return i;
459
+ };
460
+ c.mostReadable = function(t, e, r) {
461
+ var a = null, n = 0, i, f, o, s;
462
+ r = r || {}, f = r.includeFallbackColors, o = r.level, s = r.size;
463
+ for (var l = 0; l < e.length; l++)
464
+ i = c.readability(t, e[l]), i > n && (n = i, a = c(e[l]));
465
+ return c.isReadable(t, a, {
466
+ level: o,
467
+ size: s
468
+ }) || !f ? a : (r.includeFallbackColors = !1, c.mostReadable(t, ["#fff", "#000"], r));
469
+ };
470
+ var Ct = c.names = {
471
+ aliceblue: "f0f8ff",
472
+ antiquewhite: "faebd7",
473
+ aqua: "0ff",
474
+ aquamarine: "7fffd4",
475
+ azure: "f0ffff",
476
+ beige: "f5f5dc",
477
+ bisque: "ffe4c4",
478
+ black: "000",
479
+ blanchedalmond: "ffebcd",
480
+ blue: "00f",
481
+ blueviolet: "8a2be2",
482
+ brown: "a52a2a",
483
+ burlywood: "deb887",
484
+ burntsienna: "ea7e5d",
485
+ cadetblue: "5f9ea0",
486
+ chartreuse: "7fff00",
487
+ chocolate: "d2691e",
488
+ coral: "ff7f50",
489
+ cornflowerblue: "6495ed",
490
+ cornsilk: "fff8dc",
491
+ crimson: "dc143c",
492
+ cyan: "0ff",
493
+ darkblue: "00008b",
494
+ darkcyan: "008b8b",
495
+ darkgoldenrod: "b8860b",
496
+ darkgray: "a9a9a9",
497
+ darkgreen: "006400",
498
+ darkgrey: "a9a9a9",
499
+ darkkhaki: "bdb76b",
500
+ darkmagenta: "8b008b",
501
+ darkolivegreen: "556b2f",
502
+ darkorange: "ff8c00",
503
+ darkorchid: "9932cc",
504
+ darkred: "8b0000",
505
+ darksalmon: "e9967a",
506
+ darkseagreen: "8fbc8f",
507
+ darkslateblue: "483d8b",
508
+ darkslategray: "2f4f4f",
509
+ darkslategrey: "2f4f4f",
510
+ darkturquoise: "00ced1",
511
+ darkviolet: "9400d3",
512
+ deeppink: "ff1493",
513
+ deepskyblue: "00bfff",
514
+ dimgray: "696969",
515
+ dimgrey: "696969",
516
+ dodgerblue: "1e90ff",
517
+ firebrick: "b22222",
518
+ floralwhite: "fffaf0",
519
+ forestgreen: "228b22",
520
+ fuchsia: "f0f",
521
+ gainsboro: "dcdcdc",
522
+ ghostwhite: "f8f8ff",
523
+ gold: "ffd700",
524
+ goldenrod: "daa520",
525
+ gray: "808080",
526
+ green: "008000",
527
+ greenyellow: "adff2f",
528
+ grey: "808080",
529
+ honeydew: "f0fff0",
530
+ hotpink: "ff69b4",
531
+ indianred: "cd5c5c",
532
+ indigo: "4b0082",
533
+ ivory: "fffff0",
534
+ khaki: "f0e68c",
535
+ lavender: "e6e6fa",
536
+ lavenderblush: "fff0f5",
537
+ lawngreen: "7cfc00",
538
+ lemonchiffon: "fffacd",
539
+ lightblue: "add8e6",
540
+ lightcoral: "f08080",
541
+ lightcyan: "e0ffff",
542
+ lightgoldenrodyellow: "fafad2",
543
+ lightgray: "d3d3d3",
544
+ lightgreen: "90ee90",
545
+ lightgrey: "d3d3d3",
546
+ lightpink: "ffb6c1",
547
+ lightsalmon: "ffa07a",
548
+ lightseagreen: "20b2aa",
549
+ lightskyblue: "87cefa",
550
+ lightslategray: "789",
551
+ lightslategrey: "789",
552
+ lightsteelblue: "b0c4de",
553
+ lightyellow: "ffffe0",
554
+ lime: "0f0",
555
+ limegreen: "32cd32",
556
+ linen: "faf0e6",
557
+ magenta: "f0f",
558
+ maroon: "800000",
559
+ mediumaquamarine: "66cdaa",
560
+ mediumblue: "0000cd",
561
+ mediumorchid: "ba55d3",
562
+ mediumpurple: "9370db",
563
+ mediumseagreen: "3cb371",
564
+ mediumslateblue: "7b68ee",
565
+ mediumspringgreen: "00fa9a",
566
+ mediumturquoise: "48d1cc",
567
+ mediumvioletred: "c71585",
568
+ midnightblue: "191970",
569
+ mintcream: "f5fffa",
570
+ mistyrose: "ffe4e1",
571
+ moccasin: "ffe4b5",
572
+ navajowhite: "ffdead",
573
+ navy: "000080",
574
+ oldlace: "fdf5e6",
575
+ olive: "808000",
576
+ olivedrab: "6b8e23",
577
+ orange: "ffa500",
578
+ orangered: "ff4500",
579
+ orchid: "da70d6",
580
+ palegoldenrod: "eee8aa",
581
+ palegreen: "98fb98",
582
+ paleturquoise: "afeeee",
583
+ palevioletred: "db7093",
584
+ papayawhip: "ffefd5",
585
+ peachpuff: "ffdab9",
586
+ peru: "cd853f",
587
+ pink: "ffc0cb",
588
+ plum: "dda0dd",
589
+ powderblue: "b0e0e6",
590
+ purple: "800080",
591
+ rebeccapurple: "663399",
592
+ red: "f00",
593
+ rosybrown: "bc8f8f",
594
+ royalblue: "4169e1",
595
+ saddlebrown: "8b4513",
596
+ salmon: "fa8072",
597
+ sandybrown: "f4a460",
598
+ seagreen: "2e8b57",
599
+ seashell: "fff5ee",
600
+ sienna: "a0522d",
601
+ silver: "c0c0c0",
602
+ skyblue: "87ceeb",
603
+ slateblue: "6a5acd",
604
+ slategray: "708090",
605
+ slategrey: "708090",
606
+ snow: "fffafa",
607
+ springgreen: "00ff7f",
608
+ steelblue: "4682b4",
609
+ tan: "d2b48c",
610
+ teal: "008080",
611
+ thistle: "d8bfd8",
612
+ tomato: "ff6347",
613
+ turquoise: "40e0d0",
614
+ violet: "ee82ee",
615
+ wheat: "f5deb3",
616
+ white: "fff",
617
+ whitesmoke: "f5f5f5",
618
+ yellow: "ff0",
619
+ yellowgreen: "9acd32"
620
+ }, Ke = c.hexNames = Qe(Ct);
621
+ function Qe(t) {
622
+ var e = {};
623
+ for (var r in t)
624
+ t.hasOwnProperty(r) && (e[t[r]] = r);
625
+ return e;
385
626
  }
386
- function ge() {
387
- return {
388
- top: 0,
389
- right: 0,
390
- bottom: 0,
391
- left: 0
392
- };
627
+ function le(t) {
628
+ return t = parseFloat(t), (isNaN(t) || t < 0 || t > 1) && (t = 1), t;
393
629
  }
394
- function be(t) {
395
- return Object.assign({}, ge(), t);
630
+ function A(t, e) {
631
+ tr(t) && (t = "100%");
632
+ var r = er(t);
633
+ return t = Math.min(e, Math.max(0, parseFloat(t))), r && (t = parseInt(t * e, 10) / 100), Math.abs(t - e) < 1e-6 ? 1 : t % e / parseFloat(e);
396
634
  }
397
- function me(t, e) {
398
- return e.reduce(function(r, a) {
399
- return r[a] = t, r;
400
- }, {});
635
+ function Ot(t) {
636
+ return Math.min(1, Math.max(0, t));
401
637
  }
402
- function It(t, e) {
403
- e === void 0 && (e = {});
404
- var r = e, a = r.placement, n = a === void 0 ? t.placement : a, i = r.strategy, f = i === void 0 ? t.strategy : i, o = r.boundary, s = o === void 0 ? Ne : o, l = r.rootBoundary, u = l === void 0 ? pe : l, h = r.elementContext, y = h === void 0 ? ut : h, p = r.altBoundary, w = p === void 0 ? !1 : p, g = r.padding, v = g === void 0 ? 0 : g, x = be(typeof v != "number" ? v : me(v, vt)), M = y === ut ? Ie : ut, O = t.rects.popper, d = t.elements[w ? M : y], b = or(et(d) ? d : d.contextElement || G(t.elements.popper), s, u, f), m = nt(t.elements.reference), _ = ve({
405
- reference: m,
406
- element: O,
407
- strategy: "absolute",
408
- placement: n
409
- }), R = Pt(Object.assign({}, O, _)), k = y === ut ? R : m, S = {
410
- top: b.top - k.top + x.top,
411
- bottom: k.bottom - b.bottom + x.bottom,
412
- left: b.left - k.left + x.left,
413
- right: k.right - b.right + x.right
414
- }, E = t.modifiersData.offset;
415
- if (y === ut && E) {
416
- var F = E[n];
417
- Object.keys(S).forEach(function(H) {
418
- var Y = [W, I].indexOf(H) >= 0 ? 1 : -1, Z = [T, I].indexOf(H) >= 0 ? "y" : "x";
419
- S[H] += F[Z] * Y;
420
- });
421
- }
422
- return S;
638
+ function P(t) {
639
+ return parseInt(t, 16);
423
640
  }
424
- var te = {
425
- placement: "bottom",
426
- modifiers: [],
427
- strategy: "absolute"
428
- };
429
- function ee() {
430
- for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
431
- e[r] = arguments[r];
432
- return !e.some(function(a) {
433
- return !(a && typeof a.getBoundingClientRect == "function");
434
- });
641
+ function tr(t) {
642
+ return typeof t == "string" && t.indexOf(".") != -1 && parseFloat(t) === 1;
435
643
  }
436
- function ra(t) {
437
- t === void 0 && (t = {});
438
- var e = t, r = e.defaultModifiers, a = r === void 0 ? [] : r, n = e.defaultOptions, i = n === void 0 ? te : n;
439
- return function(o, s, l) {
440
- l === void 0 && (l = i);
441
- var u = {
442
- placement: "bottom",
443
- orderedModifiers: [],
444
- options: Object.assign({}, te, i),
445
- modifiersData: {},
446
- elements: {
447
- reference: o,
448
- popper: s
449
- },
450
- attributes: {},
451
- styles: {}
452
- }, h = [], y = !1, p = {
453
- state: u,
454
- setOptions: function(x) {
455
- var M = typeof x == "function" ? x(u.options) : x;
456
- g(), u.options = Object.assign({}, i, u.options, M), u.scrollParents = {
457
- reference: et(o) ? ct(o) : o.contextElement ? ct(o.contextElement) : [],
458
- popper: ct(s)
459
- };
460
- var O = Qe(er([].concat(a, u.options.modifiers)));
461
- return u.orderedModifiers = O.filter(function(d) {
462
- return d.enabled;
463
- }), w(), p.update();
464
- },
465
- // Sync update – it will always be executed, even if not necessary. This
466
- // is useful for low frequency updates where sync behavior simplifies the
467
- // logic.
468
- // For high frequency updates (e.g. `resize` and `scroll` events), always
469
- // prefer the async Popper#update method
470
- forceUpdate: function() {
471
- if (!y) {
472
- var x = u.elements, M = x.reference, O = x.popper;
473
- if (ee(M, O)) {
474
- u.rects = {
475
- reference: Fe(M, dt(O), u.options.strategy === "fixed"),
476
- popper: $t(O)
477
- }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(S) {
478
- return u.modifiersData[S.name] = Object.assign({}, S.data);
479
- });
480
- for (var d = 0; d < u.orderedModifiers.length; d++) {
481
- if (u.reset === !0) {
482
- u.reset = !1, d = -1;
483
- continue;
484
- }
485
- var b = u.orderedModifiers[d], m = b.fn, _ = b.options, R = _ === void 0 ? {} : _, k = b.name;
486
- typeof m == "function" && (u = m({
487
- state: u,
488
- options: R,
489
- name: k,
490
- instance: p
491
- }) || u);
492
- }
493
- }
494
- }
495
- },
496
- // Async and optimistically optimized update – it will not be executed if
497
- // not necessary (debounced to run at most once-per-tick)
498
- update: tr(function() {
499
- return new Promise(function(v) {
500
- p.forceUpdate(), v(u);
501
- });
502
- }),
503
- destroy: function() {
504
- g(), y = !0;
505
- }
506
- };
507
- if (!ee(o, s))
508
- return p;
509
- p.setOptions(l).then(function(v) {
510
- !y && l.onFirstUpdate && l.onFirstUpdate(v);
511
- });
512
- function w() {
513
- u.orderedModifiers.forEach(function(v) {
514
- var x = v.name, M = v.options, O = M === void 0 ? {} : M, d = v.effect;
515
- if (typeof d == "function") {
516
- var b = d({
517
- state: u,
518
- name: x,
519
- instance: p,
520
- options: O
521
- }), m = function() {
522
- };
523
- h.push(b || m);
524
- }
525
- });
526
- }
527
- function g() {
528
- h.forEach(function(v) {
529
- return v();
530
- }), h = [];
531
- }
532
- return p;
533
- };
644
+ function er(t) {
645
+ return typeof t == "string" && t.indexOf("%") != -1;
534
646
  }
535
- var wt = {
536
- passive: !0
537
- };
538
- function sr(t) {
539
- var e = t.state, r = t.instance, a = t.options, n = a.scroll, i = n === void 0 ? !0 : n, f = a.resize, o = f === void 0 ? !0 : f, s = D(e.elements.popper), l = [].concat(e.scrollParents.reference, e.scrollParents.popper);
540
- return i && l.forEach(function(u) {
541
- u.addEventListener("scroll", r.update, wt);
542
- }), o && s.addEventListener("resize", r.update, wt), function() {
543
- i && l.forEach(function(u) {
544
- u.removeEventListener("scroll", r.update, wt);
545
- }), o && s.removeEventListener("resize", r.update, wt);
546
- };
647
+ function N(t) {
648
+ return t.length == 1 ? "0" + t : "" + t;
547
649
  }
548
- const fr = {
549
- name: "eventListeners",
550
- enabled: !0,
551
- phase: "write",
552
- fn: function() {
553
- },
554
- effect: sr,
555
- data: {}
556
- };
557
- function ur(t) {
558
- var e = t.state, r = t.name;
559
- e.modifiersData[r] = ve({
560
- reference: e.rects.reference,
561
- element: e.rects.popper,
562
- strategy: "absolute",
563
- placement: e.placement
564
- });
650
+ function lt(t) {
651
+ return t <= 1 && (t = t * 100 + "%"), t;
565
652
  }
566
- const lr = {
567
- name: "popperOffsets",
568
- enabled: !0,
569
- phase: "read",
570
- fn: ur,
571
- data: {}
572
- };
573
- var cr = {
574
- top: "auto",
575
- right: "auto",
576
- bottom: "auto",
577
- left: "auto"
578
- };
579
- function pr(t, e) {
580
- var r = t.x, a = t.y, n = e.devicePixelRatio || 1;
581
- return {
582
- x: at(r * n) / n || 0,
583
- y: at(a * n) / n || 0
584
- };
653
+ function ce(t) {
654
+ return Math.round(parseFloat(t) * 255).toString(16);
585
655
  }
586
656
  function re(t) {
587
- var e, r = t.popper, a = t.popperRect, n = t.placement, i = t.variation, f = t.offsets, o = t.position, s = t.gpuAcceleration, l = t.adaptive, u = t.roundOffsets, h = t.isFixed, y = f.x, p = y === void 0 ? 0 : y, w = f.y, g = w === void 0 ? 0 : w, v = typeof u == "function" ? u({
588
- x: p,
589
- y: g
590
- }) : {
591
- x: p,
592
- y: g
593
- };
594
- p = v.x, g = v.y;
595
- var x = f.hasOwnProperty("x"), M = f.hasOwnProperty("y"), O = B, d = T, b = window;
596
- if (l) {
597
- var m = dt(r), _ = "clientHeight", R = "clientWidth";
598
- if (m === D(r) && (m = G(r), z(m).position !== "static" && o === "absolute" && (_ = "scrollHeight", R = "scrollWidth")), m = m, n === T || (n === B || n === W) && i === ht) {
599
- d = I;
600
- var k = h && m === b && b.visualViewport ? b.visualViewport.height : (
601
- // $FlowFixMe[prop-missing]
602
- m[_]
603
- );
604
- g -= k - a.height, g *= s ? 1 : -1;
605
- }
606
- if (n === B || (n === T || n === I) && i === ht) {
607
- O = W;
608
- var S = h && m === b && b.visualViewport ? b.visualViewport.width : (
609
- // $FlowFixMe[prop-missing]
610
- m[R]
611
- );
612
- p -= S - a.width, p *= s ? 1 : -1;
613
- }
614
- }
615
- var E = Object.assign({
616
- position: o
617
- }, l && cr), F = u === !0 ? pr({
618
- x: p,
619
- y: g
620
- }, D(r)) : {
621
- x: p,
622
- y: g
623
- };
624
- if (p = F.x, g = F.y, s) {
625
- var H;
626
- return Object.assign({}, E, (H = {}, H[d] = M ? "0" : "", H[O] = x ? "0" : "", H.transform = (b.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + g + "px)" : "translate3d(" + p + "px, " + g + "px, 0)", H));
627
- }
628
- return Object.assign({}, E, (e = {}, e[d] = M ? g + "px" : "", e[O] = x ? p + "px" : "", e.transform = "", e));
629
- }
630
- function hr(t) {
631
- var e = t.state, r = t.options, a = r.gpuAcceleration, n = a === void 0 ? !0 : a, i = r.adaptive, f = i === void 0 ? !0 : i, o = r.roundOffsets, s = o === void 0 ? !0 : o, l = {
632
- placement: V(e.placement),
633
- variation: ot(e.placement),
634
- popper: e.elements.popper,
635
- popperRect: e.rects.popper,
636
- gpuAcceleration: n,
637
- isFixed: e.options.strategy === "fixed"
638
- };
639
- e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, re(Object.assign({}, l, {
640
- offsets: e.modifiersData.popperOffsets,
641
- position: e.options.strategy,
642
- adaptive: f,
643
- roundOffsets: s
644
- })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, re(Object.assign({}, l, {
645
- offsets: e.modifiersData.arrow,
646
- position: "absolute",
647
- adaptive: !1,
648
- roundOffsets: s
649
- })))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
650
- "data-popper-placement": e.placement
651
- });
652
- }
653
- const dr = {
654
- name: "computeStyles",
655
- enabled: !0,
656
- phase: "beforeWrite",
657
- fn: hr,
658
- data: {}
659
- };
660
- function vr(t) {
661
- var e = t.state;
662
- Object.keys(e.elements).forEach(function(r) {
663
- var a = e.styles[r] || {}, n = e.attributes[r] || {}, i = e.elements[r];
664
- !j(i) || !U(i) || (Object.assign(i.style, a), Object.keys(n).forEach(function(f) {
665
- var o = n[f];
666
- o === !1 ? i.removeAttribute(f) : i.setAttribute(f, o === !0 ? "" : o);
667
- }));
668
- });
657
+ return P(t) / 255;
669
658
  }
670
- function gr(t) {
671
- var e = t.state, r = {
672
- popper: {
673
- position: e.options.strategy,
674
- left: "0",
675
- top: "0",
676
- margin: "0"
677
- },
678
- arrow: {
679
- position: "absolute"
680
- },
681
- reference: {}
682
- };
683
- return Object.assign(e.elements.popper.style, r.popper), e.styles = r, e.elements.arrow && Object.assign(e.elements.arrow.style, r.arrow), function() {
684
- Object.keys(e.elements).forEach(function(a) {
685
- var n = e.elements[a], i = e.attributes[a] || {}, f = Object.keys(e.styles.hasOwnProperty(a) ? e.styles[a] : r[a]), o = f.reduce(function(s, l) {
686
- return s[l] = "", s;
687
- }, {});
688
- !j(n) || !U(n) || (Object.assign(n.style, o), Object.keys(i).forEach(function(s) {
689
- n.removeAttribute(s);
690
- }));
691
- });
659
+ var L = function() {
660
+ var t = "[-\\+]?\\d+%?", e = "[-\\+]?\\d*\\.\\d+%?", r = "(?:" + e + ")|(?:" + t + ")", a = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?", n = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?";
661
+ return {
662
+ CSS_UNIT: new RegExp(r),
663
+ rgb: new RegExp("rgb" + a),
664
+ rgba: new RegExp("rgba" + n),
665
+ hsl: new RegExp("hsl" + a),
666
+ hsla: new RegExp("hsla" + n),
667
+ hsv: new RegExp("hsv" + a),
668
+ hsva: new RegExp("hsva" + n),
669
+ hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
670
+ hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
671
+ hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
672
+ hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
692
673
  };
674
+ }();
675
+ function q(t) {
676
+ return !!L.CSS_UNIT.exec(t);
693
677
  }
694
- const br = {
695
- name: "applyStyles",
696
- enabled: !0,
697
- phase: "write",
698
- fn: vr,
699
- effect: gr,
700
- requires: ["computeStyles"]
701
- };
702
- var aa = [fr, lr, dr, br];
703
- function pt(t, e, r) {
704
- return tt(t, _t(e, r));
678
+ function rr(t) {
679
+ t = t.replace(Be, "").replace(De, "").toLowerCase();
680
+ var e = !1;
681
+ if (Ct[t])
682
+ t = Ct[t], e = !0;
683
+ else if (t == "transparent")
684
+ return {
685
+ r: 0,
686
+ g: 0,
687
+ b: 0,
688
+ a: 0,
689
+ format: "name"
690
+ };
691
+ var r;
692
+ return (r = L.rgb.exec(t)) ? {
693
+ r: r[1],
694
+ g: r[2],
695
+ b: r[3]
696
+ } : (r = L.rgba.exec(t)) ? {
697
+ r: r[1],
698
+ g: r[2],
699
+ b: r[3],
700
+ a: r[4]
701
+ } : (r = L.hsl.exec(t)) ? {
702
+ h: r[1],
703
+ s: r[2],
704
+ l: r[3]
705
+ } : (r = L.hsla.exec(t)) ? {
706
+ h: r[1],
707
+ s: r[2],
708
+ l: r[3],
709
+ a: r[4]
710
+ } : (r = L.hsv.exec(t)) ? {
711
+ h: r[1],
712
+ s: r[2],
713
+ v: r[3]
714
+ } : (r = L.hsva.exec(t)) ? {
715
+ h: r[1],
716
+ s: r[2],
717
+ v: r[3],
718
+ a: r[4]
719
+ } : (r = L.hex8.exec(t)) ? {
720
+ r: P(r[1]),
721
+ g: P(r[2]),
722
+ b: P(r[3]),
723
+ a: re(r[4]),
724
+ format: e ? "name" : "hex8"
725
+ } : (r = L.hex6.exec(t)) ? {
726
+ r: P(r[1]),
727
+ g: P(r[2]),
728
+ b: P(r[3]),
729
+ format: e ? "name" : "hex"
730
+ } : (r = L.hex4.exec(t)) ? {
731
+ r: P(r[1] + "" + r[1]),
732
+ g: P(r[2] + "" + r[2]),
733
+ b: P(r[3] + "" + r[3]),
734
+ a: re(r[4] + "" + r[4]),
735
+ format: e ? "name" : "hex8"
736
+ } : (r = L.hex3.exec(t)) ? {
737
+ r: P(r[1] + "" + r[1]),
738
+ g: P(r[2] + "" + r[2]),
739
+ b: P(r[3] + "" + r[3]),
740
+ format: e ? "name" : "hex"
741
+ } : !1;
742
+ }
743
+ function ar(t) {
744
+ var e, r;
745
+ return t = t || {
746
+ level: "AA",
747
+ size: "small"
748
+ }, e = (t.level || "AA").toUpperCase(), r = (t.size || "small").toLowerCase(), e !== "AA" && e !== "AAA" && (e = "AA"), r !== "small" && r !== "large" && (r = "small"), {
749
+ level: e,
750
+ size: r
751
+ };
752
+ }
753
+ var T = "top", I = "bottom", W = "right", B = "left", Bt = "auto", dt = [T, I, W, B], at = "start", ht = "end", nr = "clippingParents", pe = "viewport", ut = "popper", ir = "reference", ae = /* @__PURE__ */ dt.reduce(function(t, e) {
754
+ return t.concat([e + "-" + at, e + "-" + ht]);
755
+ }, []), he = /* @__PURE__ */ [].concat(dt, [Bt]).reduce(function(t, e) {
756
+ return t.concat([e, e + "-" + at, e + "-" + ht]);
757
+ }, []), or = "beforeRead", sr = "read", fr = "afterRead", ur = "beforeMain", lr = "main", cr = "afterMain", pr = "beforeWrite", hr = "write", dr = "afterWrite", vr = [or, sr, fr, ur, lr, cr, pr, hr, dr];
758
+ function V(t) {
759
+ return t.split("-")[0];
760
+ }
761
+ function D(t) {
762
+ if (t == null)
763
+ return window;
764
+ if (t.toString() !== "[object Window]") {
765
+ var e = t.ownerDocument;
766
+ return e && e.defaultView || window;
767
+ }
768
+ return t;
769
+ }
770
+ function et(t) {
771
+ var e = D(t).Element;
772
+ return t instanceof e || t instanceof Element;
773
+ }
774
+ function j(t) {
775
+ var e = D(t).HTMLElement;
776
+ return t instanceof e || t instanceof HTMLElement;
777
+ }
778
+ function Dt(t) {
779
+ if (typeof ShadowRoot > "u")
780
+ return !1;
781
+ var e = D(t).ShadowRoot;
782
+ return t instanceof e || t instanceof ShadowRoot;
783
+ }
784
+ var tt = Math.max, Mt = Math.min, nt = Math.round;
785
+ function Pt() {
786
+ var t = navigator.userAgentData;
787
+ return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
788
+ return e.brand + "/" + e.version;
789
+ }).join(" ") : navigator.userAgent;
790
+ }
791
+ function de() {
792
+ return !/^((?!chrome|android).)*safari/i.test(Pt());
793
+ }
794
+ function it(t, e, r) {
795
+ e === void 0 && (e = !1), r === void 0 && (r = !1);
796
+ var a = t.getBoundingClientRect(), n = 1, i = 1;
797
+ e && j(t) && (n = t.offsetWidth > 0 && nt(a.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && nt(a.height) / t.offsetHeight || 1);
798
+ var f = et(t) ? D(t) : window, o = f.visualViewport, s = !de() && r, l = (a.left + (s && o ? o.offsetLeft : 0)) / n, u = (a.top + (s && o ? o.offsetTop : 0)) / i, h = a.width / n, y = a.height / i;
799
+ return {
800
+ width: h,
801
+ height: y,
802
+ top: u,
803
+ right: l + h,
804
+ bottom: u + y,
805
+ left: l,
806
+ x: l,
807
+ y: u
808
+ };
809
+ }
810
+ function jt(t) {
811
+ var e = it(t), r = t.offsetWidth, a = t.offsetHeight;
812
+ return Math.abs(e.width - r) <= 1 && (r = e.width), Math.abs(e.height - a) <= 1 && (a = e.height), {
813
+ x: t.offsetLeft,
814
+ y: t.offsetTop,
815
+ width: r,
816
+ height: a
817
+ };
818
+ }
819
+ function ve(t, e) {
820
+ var r = e.getRootNode && e.getRootNode();
821
+ if (t.contains(e))
822
+ return !0;
823
+ if (r && Dt(r)) {
824
+ var a = e;
825
+ do {
826
+ if (a && t.isSameNode(a))
827
+ return !0;
828
+ a = a.parentNode || a.host;
829
+ } while (a);
830
+ }
831
+ return !1;
832
+ }
833
+ function U(t) {
834
+ return t ? (t.nodeName || "").toLowerCase() : null;
835
+ }
836
+ function z(t) {
837
+ return D(t).getComputedStyle(t);
838
+ }
839
+ function gr(t) {
840
+ return ["table", "td", "th"].indexOf(U(t)) >= 0;
841
+ }
842
+ function G(t) {
843
+ return ((et(t) ? t.ownerDocument : (
844
+ // $FlowFixMe[prop-missing]
845
+ t.document
846
+ )) || window.document).documentElement;
847
+ }
848
+ function St(t) {
849
+ return U(t) === "html" ? t : (
850
+ // this is a quicker (but less type safe) way to save quite some bytes from the bundle
851
+ // $FlowFixMe[incompatible-return]
852
+ // $FlowFixMe[prop-missing]
853
+ t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
854
+ t.parentNode || // DOM Element detected
855
+ (Dt(t) ? t.host : null) || // ShadowRoot detected
856
+ // $FlowFixMe[incompatible-call]: HTMLElement is a Node
857
+ G(t)
858
+ );
859
+ }
860
+ function ne(t) {
861
+ return !j(t) || // https://github.com/popperjs/popper-core/issues/837
862
+ z(t).position === "fixed" ? null : t.offsetParent;
863
+ }
864
+ function br(t) {
865
+ var e = /firefox/i.test(Pt()), r = /Trident/i.test(Pt());
866
+ if (r && j(t)) {
867
+ var a = z(t);
868
+ if (a.position === "fixed")
869
+ return null;
870
+ }
871
+ var n = St(t);
872
+ for (Dt(n) && (n = n.host); j(n) && ["html", "body"].indexOf(U(n)) < 0; ) {
873
+ var i = z(n);
874
+ if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || e && i.willChange === "filter" || e && i.filter && i.filter !== "none")
875
+ return n;
876
+ n = n.parentNode;
877
+ }
878
+ return null;
879
+ }
880
+ function vt(t) {
881
+ for (var e = D(t), r = ne(t); r && gr(r) && z(r).position === "static"; )
882
+ r = ne(r);
883
+ return r && (U(r) === "html" || U(r) === "body" && z(r).position === "static") ? e : r || br(t) || e;
884
+ }
885
+ function Ft(t) {
886
+ return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
887
+ }
888
+ function ct(t, e, r) {
889
+ return tt(t, Mt(e, r));
705
890
  }
706
891
  function mr(t, e, r) {
707
- var a = pt(t, e, r);
892
+ var a = ct(t, e, r);
708
893
  return a > r ? r : a;
709
894
  }
895
+ function ge() {
896
+ return {
897
+ top: 0,
898
+ right: 0,
899
+ bottom: 0,
900
+ left: 0
901
+ };
902
+ }
903
+ function be(t) {
904
+ return Object.assign({}, ge(), t);
905
+ }
906
+ function me(t, e) {
907
+ return e.reduce(function(r, a) {
908
+ return r[a] = t, r;
909
+ }, {});
910
+ }
710
911
  var yr = function(e, r) {
711
912
  return e = typeof e == "function" ? e(Object.assign({}, r.rects, {
712
913
  placement: r.placement
713
- })) : e, be(typeof e != "number" ? e : me(e, vt));
914
+ })) : e, be(typeof e != "number" ? e : me(e, dt));
714
915
  };
715
916
  function xr(t) {
716
- var e, r = t.state, a = t.name, n = t.options, i = r.elements.arrow, f = r.modifiersData.popperOffsets, o = V(r.placement), s = Nt(o), l = [B, W].indexOf(o) >= 0, u = l ? "height" : "width";
917
+ var e, r = t.state, a = t.name, n = t.options, i = r.elements.arrow, f = r.modifiersData.popperOffsets, o = V(r.placement), s = Ft(o), l = [B, W].indexOf(o) >= 0, u = l ? "height" : "width";
717
918
  if (!(!i || !f)) {
718
- var h = yr(n.padding, r), y = $t(i), p = s === "y" ? T : B, w = s === "y" ? I : W, g = r.rects.reference[u] + r.rects.reference[s] - f[s] - r.rects.popper[u], v = f[s] - r.rects.reference[s], x = dt(i), M = x ? s === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, O = g / 2 - v / 2, d = h[p], b = M - y[u] - h[w], m = M / 2 - y[u] / 2 + O, _ = pt(d, m, b), R = s;
919
+ var h = yr(n.padding, r), y = jt(i), p = s === "y" ? T : B, w = s === "y" ? I : W, g = r.rects.reference[u] + r.rects.reference[s] - f[s] - r.rects.popper[u], v = f[s] - r.rects.reference[s], x = vt(i), M = x ? s === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, O = g / 2 - v / 2, d = h[p], b = M - y[u] - h[w], m = M / 2 - y[u] / 2 + O, _ = ct(d, m, b), R = s;
719
920
  r.modifiersData[a] = (e = {}, e[R] = _, e.centerOffset = _ - m, e);
720
921
  }
721
922
  }
722
923
  function wr(t) {
723
924
  var e = t.state, r = t.options, a = r.element, n = a === void 0 ? "[data-popper-arrow]" : a;
724
- n != null && (typeof n == "string" && (n = e.elements.popper.querySelector(n), !n) || de(e.elements.popper, n) && (e.elements.arrow = n));
925
+ n != null && (typeof n == "string" && (n = e.elements.popper.querySelector(n), !n) || ve(e.elements.popper, n) && (e.elements.arrow = n));
725
926
  }
726
- const na = {
927
+ const ra = {
727
928
  name: "arrow",
728
929
  enabled: !0,
729
930
  phase: "main",
@@ -732,68 +933,325 @@ const na = {
732
933
  requires: ["popperOffsets"],
733
934
  requiresIfExists: ["preventOverflow"]
734
935
  };
735
- var Ar = {
736
- left: "right",
737
- right: "left",
738
- bottom: "top",
739
- top: "bottom"
740
- };
741
- function At(t) {
742
- return t.replace(/left|right|bottom|top/g, function(e) {
743
- return Ar[e];
744
- });
936
+ function ot(t) {
937
+ return t.split("-")[1];
745
938
  }
746
- var _r = {
747
- start: "end",
748
- end: "start"
939
+ var Ar = {
940
+ top: "auto",
941
+ right: "auto",
942
+ bottom: "auto",
943
+ left: "auto"
749
944
  };
750
- function ae(t) {
751
- return t.replace(/start|end/g, function(e) {
752
- return _r[e];
753
- });
754
- }
755
- function Mr(t, e) {
756
- e === void 0 && (e = {});
757
- var r = e, a = r.placement, n = r.boundary, i = r.rootBoundary, f = r.padding, o = r.flipVariations, s = r.allowedAutoPlacements, l = s === void 0 ? he : s, u = ot(a), h = u ? o ? Kt : Kt.filter(function(w) {
758
- return ot(w) === u;
759
- }) : vt, y = h.filter(function(w) {
760
- return l.indexOf(w) >= 0;
761
- });
762
- y.length === 0 && (y = h);
763
- var p = y.reduce(function(w, g) {
764
- return w[g] = It(t, {
765
- placement: g,
766
- boundary: n,
767
- rootBoundary: i,
768
- padding: f
769
- })[V(g)], w;
770
- }, {});
771
- return Object.keys(p).sort(function(w, g) {
772
- return p[w] - p[g];
773
- });
774
- }
775
- function Or(t) {
776
- if (V(t) === Lt)
777
- return [];
778
- var e = At(t);
779
- return [ae(t), e, ae(e)];
945
+ function _r(t, e) {
946
+ var r = t.x, a = t.y, n = e.devicePixelRatio || 1;
947
+ return {
948
+ x: nt(r * n) / n || 0,
949
+ y: nt(a * n) / n || 0
950
+ };
780
951
  }
781
- function Sr(t) {
782
- var e = t.state, r = t.options, a = t.name;
783
- if (!e.modifiersData[a]._skip) {
784
- for (var n = r.mainAxis, i = n === void 0 ? !0 : n, f = r.altAxis, o = f === void 0 ? !0 : f, s = r.fallbackPlacements, l = r.padding, u = r.boundary, h = r.rootBoundary, y = r.altBoundary, p = r.flipVariations, w = p === void 0 ? !0 : p, g = r.allowedAutoPlacements, v = e.options.placement, x = V(v), M = x === v, O = s || (M || !w ? [At(v)] : Or(v)), d = [v].concat(O).reduce(function(rt, X) {
785
- return rt.concat(V(X) === Lt ? Mr(e, {
786
- placement: X,
787
- boundary: u,
788
- rootBoundary: h,
789
- padding: l,
790
- flipVariations: w,
791
- allowedAutoPlacements: g
792
- }) : X);
793
- }, []), b = e.rects.reference, m = e.rects.popper, _ = /* @__PURE__ */ new Map(), R = !0, k = d[0], S = 0; S < d.length; S++) {
794
- var E = d[S], F = V(E), H = ot(E) === it, Y = [T, I].indexOf(F) >= 0, Z = Y ? "width" : "height", C = It(e, {
795
- placement: E,
796
- boundary: u,
952
+ function ie(t) {
953
+ var e, r = t.popper, a = t.popperRect, n = t.placement, i = t.variation, f = t.offsets, o = t.position, s = t.gpuAcceleration, l = t.adaptive, u = t.roundOffsets, h = t.isFixed, y = f.x, p = y === void 0 ? 0 : y, w = f.y, g = w === void 0 ? 0 : w, v = typeof u == "function" ? u({
954
+ x: p,
955
+ y: g
956
+ }) : {
957
+ x: p,
958
+ y: g
959
+ };
960
+ p = v.x, g = v.y;
961
+ var x = f.hasOwnProperty("x"), M = f.hasOwnProperty("y"), O = B, d = T, b = window;
962
+ if (l) {
963
+ var m = vt(r), _ = "clientHeight", R = "clientWidth";
964
+ if (m === D(r) && (m = G(r), z(m).position !== "static" && o === "absolute" && (_ = "scrollHeight", R = "scrollWidth")), m = m, n === T || (n === B || n === W) && i === ht) {
965
+ d = I;
966
+ var k = h && m === b && b.visualViewport ? b.visualViewport.height : (
967
+ // $FlowFixMe[prop-missing]
968
+ m[_]
969
+ );
970
+ g -= k - a.height, g *= s ? 1 : -1;
971
+ }
972
+ if (n === B || (n === T || n === I) && i === ht) {
973
+ O = W;
974
+ var S = h && m === b && b.visualViewport ? b.visualViewport.width : (
975
+ // $FlowFixMe[prop-missing]
976
+ m[R]
977
+ );
978
+ p -= S - a.width, p *= s ? 1 : -1;
979
+ }
980
+ }
981
+ var E = Object.assign({
982
+ position: o
983
+ }, l && Ar), F = u === !0 ? _r({
984
+ x: p,
985
+ y: g
986
+ }, D(r)) : {
987
+ x: p,
988
+ y: g
989
+ };
990
+ if (p = F.x, g = F.y, s) {
991
+ var H;
992
+ return Object.assign({}, E, (H = {}, H[d] = M ? "0" : "", H[O] = x ? "0" : "", H.transform = (b.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + g + "px)" : "translate3d(" + p + "px, " + g + "px, 0)", H));
993
+ }
994
+ return Object.assign({}, E, (e = {}, e[d] = M ? g + "px" : "", e[O] = x ? p + "px" : "", e.transform = "", e));
995
+ }
996
+ function Mr(t) {
997
+ var e = t.state, r = t.options, a = r.gpuAcceleration, n = a === void 0 ? !0 : a, i = r.adaptive, f = i === void 0 ? !0 : i, o = r.roundOffsets, s = o === void 0 ? !0 : o, l = {
998
+ placement: V(e.placement),
999
+ variation: ot(e.placement),
1000
+ popper: e.elements.popper,
1001
+ popperRect: e.rects.popper,
1002
+ gpuAcceleration: n,
1003
+ isFixed: e.options.strategy === "fixed"
1004
+ };
1005
+ e.modifiersData.popperOffsets != null && (e.styles.popper = Object.assign({}, e.styles.popper, ie(Object.assign({}, l, {
1006
+ offsets: e.modifiersData.popperOffsets,
1007
+ position: e.options.strategy,
1008
+ adaptive: f,
1009
+ roundOffsets: s
1010
+ })))), e.modifiersData.arrow != null && (e.styles.arrow = Object.assign({}, e.styles.arrow, ie(Object.assign({}, l, {
1011
+ offsets: e.modifiersData.arrow,
1012
+ position: "absolute",
1013
+ adaptive: !1,
1014
+ roundOffsets: s
1015
+ })))), e.attributes.popper = Object.assign({}, e.attributes.popper, {
1016
+ "data-popper-placement": e.placement
1017
+ });
1018
+ }
1019
+ const Or = {
1020
+ name: "computeStyles",
1021
+ enabled: !0,
1022
+ phase: "beforeWrite",
1023
+ fn: Mr,
1024
+ data: {}
1025
+ };
1026
+ var wt = {
1027
+ passive: !0
1028
+ };
1029
+ function Sr(t) {
1030
+ var e = t.state, r = t.instance, a = t.options, n = a.scroll, i = n === void 0 ? !0 : n, f = a.resize, o = f === void 0 ? !0 : f, s = D(e.elements.popper), l = [].concat(e.scrollParents.reference, e.scrollParents.popper);
1031
+ return i && l.forEach(function(u) {
1032
+ u.addEventListener("scroll", r.update, wt);
1033
+ }), o && s.addEventListener("resize", r.update, wt), function() {
1034
+ i && l.forEach(function(u) {
1035
+ u.removeEventListener("scroll", r.update, wt);
1036
+ }), o && s.removeEventListener("resize", r.update, wt);
1037
+ };
1038
+ }
1039
+ const kr = {
1040
+ name: "eventListeners",
1041
+ enabled: !0,
1042
+ phase: "write",
1043
+ fn: function() {
1044
+ },
1045
+ effect: Sr,
1046
+ data: {}
1047
+ };
1048
+ var Rr = {
1049
+ left: "right",
1050
+ right: "left",
1051
+ bottom: "top",
1052
+ top: "bottom"
1053
+ };
1054
+ function At(t) {
1055
+ return t.replace(/left|right|bottom|top/g, function(e) {
1056
+ return Rr[e];
1057
+ });
1058
+ }
1059
+ var Er = {
1060
+ start: "end",
1061
+ end: "start"
1062
+ };
1063
+ function oe(t) {
1064
+ return t.replace(/start|end/g, function(e) {
1065
+ return Er[e];
1066
+ });
1067
+ }
1068
+ function $t(t) {
1069
+ var e = D(t), r = e.pageXOffset, a = e.pageYOffset;
1070
+ return {
1071
+ scrollLeft: r,
1072
+ scrollTop: a
1073
+ };
1074
+ }
1075
+ function Lt(t) {
1076
+ return it(G(t)).left + $t(t).scrollLeft;
1077
+ }
1078
+ function Hr(t, e) {
1079
+ var r = D(t), a = G(t), n = r.visualViewport, i = a.clientWidth, f = a.clientHeight, o = 0, s = 0;
1080
+ if (n) {
1081
+ i = n.width, f = n.height;
1082
+ var l = de();
1083
+ (l || !l && e === "fixed") && (o = n.offsetLeft, s = n.offsetTop);
1084
+ }
1085
+ return {
1086
+ width: i,
1087
+ height: f,
1088
+ x: o + Lt(t),
1089
+ y: s
1090
+ };
1091
+ }
1092
+ function Cr(t) {
1093
+ var e, r = G(t), a = $t(t), n = (e = t.ownerDocument) == null ? void 0 : e.body, i = tt(r.scrollWidth, r.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), f = tt(r.scrollHeight, r.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), o = -a.scrollLeft + Lt(t), s = -a.scrollTop;
1094
+ return z(n || r).direction === "rtl" && (o += tt(r.clientWidth, n ? n.clientWidth : 0) - i), {
1095
+ width: i,
1096
+ height: f,
1097
+ x: o,
1098
+ y: s
1099
+ };
1100
+ }
1101
+ function Nt(t) {
1102
+ var e = z(t), r = e.overflow, a = e.overflowX, n = e.overflowY;
1103
+ return /auto|scroll|overlay|hidden/.test(r + n + a);
1104
+ }
1105
+ function ye(t) {
1106
+ return ["html", "body", "#document"].indexOf(U(t)) >= 0 ? t.ownerDocument.body : j(t) && Nt(t) ? t : ye(St(t));
1107
+ }
1108
+ function pt(t, e) {
1109
+ var r;
1110
+ e === void 0 && (e = []);
1111
+ var a = ye(t), n = a === ((r = t.ownerDocument) == null ? void 0 : r.body), i = D(a), f = n ? [i].concat(i.visualViewport || [], Nt(a) ? a : []) : a, o = e.concat(f);
1112
+ return n ? o : (
1113
+ // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
1114
+ o.concat(pt(St(f)))
1115
+ );
1116
+ }
1117
+ function Tt(t) {
1118
+ return Object.assign({}, t, {
1119
+ left: t.x,
1120
+ top: t.y,
1121
+ right: t.x + t.width,
1122
+ bottom: t.y + t.height
1123
+ });
1124
+ }
1125
+ function Pr(t, e) {
1126
+ var r = it(t, !1, e === "fixed");
1127
+ return r.top = r.top + t.clientTop, r.left = r.left + t.clientLeft, r.bottom = r.top + t.clientHeight, r.right = r.left + t.clientWidth, r.width = t.clientWidth, r.height = t.clientHeight, r.x = r.left, r.y = r.top, r;
1128
+ }
1129
+ function se(t, e, r) {
1130
+ return e === pe ? Tt(Hr(t, r)) : et(e) ? Pr(e, r) : Tt(Cr(G(t)));
1131
+ }
1132
+ function Tr(t) {
1133
+ var e = pt(St(t)), r = ["absolute", "fixed"].indexOf(z(t).position) >= 0, a = r && j(t) ? vt(t) : t;
1134
+ return et(a) ? e.filter(function(n) {
1135
+ return et(n) && ve(n, a) && U(n) !== "body";
1136
+ }) : [];
1137
+ }
1138
+ function Br(t, e, r, a) {
1139
+ var n = e === "clippingParents" ? Tr(t) : [].concat(e), i = [].concat(n, [r]), f = i[0], o = i.reduce(function(s, l) {
1140
+ var u = se(t, l, a);
1141
+ return s.top = tt(u.top, s.top), s.right = Mt(u.right, s.right), s.bottom = Mt(u.bottom, s.bottom), s.left = tt(u.left, s.left), s;
1142
+ }, se(t, f, a));
1143
+ return o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
1144
+ }
1145
+ function xe(t) {
1146
+ var e = t.reference, r = t.element, a = t.placement, n = a ? V(a) : null, i = a ? ot(a) : null, f = e.x + e.width / 2 - r.width / 2, o = e.y + e.height / 2 - r.height / 2, s;
1147
+ switch (n) {
1148
+ case T:
1149
+ s = {
1150
+ x: f,
1151
+ y: e.y - r.height
1152
+ };
1153
+ break;
1154
+ case I:
1155
+ s = {
1156
+ x: f,
1157
+ y: e.y + e.height
1158
+ };
1159
+ break;
1160
+ case W:
1161
+ s = {
1162
+ x: e.x + e.width,
1163
+ y: o
1164
+ };
1165
+ break;
1166
+ case B:
1167
+ s = {
1168
+ x: e.x - r.width,
1169
+ y: o
1170
+ };
1171
+ break;
1172
+ default:
1173
+ s = {
1174
+ x: e.x,
1175
+ y: e.y
1176
+ };
1177
+ }
1178
+ var l = n ? Ft(n) : null;
1179
+ if (l != null) {
1180
+ var u = l === "y" ? "height" : "width";
1181
+ switch (i) {
1182
+ case at:
1183
+ s[l] = s[l] - (e[u] / 2 - r[u] / 2);
1184
+ break;
1185
+ case ht:
1186
+ s[l] = s[l] + (e[u] / 2 - r[u] / 2);
1187
+ break;
1188
+ }
1189
+ }
1190
+ return s;
1191
+ }
1192
+ function It(t, e) {
1193
+ e === void 0 && (e = {});
1194
+ var r = e, a = r.placement, n = a === void 0 ? t.placement : a, i = r.strategy, f = i === void 0 ? t.strategy : i, o = r.boundary, s = o === void 0 ? nr : o, l = r.rootBoundary, u = l === void 0 ? pe : l, h = r.elementContext, y = h === void 0 ? ut : h, p = r.altBoundary, w = p === void 0 ? !1 : p, g = r.padding, v = g === void 0 ? 0 : g, x = be(typeof v != "number" ? v : me(v, dt)), M = y === ut ? ir : ut, O = t.rects.popper, d = t.elements[w ? M : y], b = Br(et(d) ? d : d.contextElement || G(t.elements.popper), s, u, f), m = it(t.elements.reference), _ = xe({
1195
+ reference: m,
1196
+ element: O,
1197
+ placement: n
1198
+ }), R = Tt(Object.assign({}, O, _)), k = y === ut ? R : m, S = {
1199
+ top: b.top - k.top + x.top,
1200
+ bottom: k.bottom - b.bottom + x.bottom,
1201
+ left: b.left - k.left + x.left,
1202
+ right: k.right - b.right + x.right
1203
+ }, E = t.modifiersData.offset;
1204
+ if (y === ut && E) {
1205
+ var F = E[n];
1206
+ Object.keys(S).forEach(function(H) {
1207
+ var Y = [W, I].indexOf(H) >= 0 ? 1 : -1, Z = [T, I].indexOf(H) >= 0 ? "y" : "x";
1208
+ S[H] += F[Z] * Y;
1209
+ });
1210
+ }
1211
+ return S;
1212
+ }
1213
+ function Dr(t, e) {
1214
+ e === void 0 && (e = {});
1215
+ var r = e, a = r.placement, n = r.boundary, i = r.rootBoundary, f = r.padding, o = r.flipVariations, s = r.allowedAutoPlacements, l = s === void 0 ? he : s, u = ot(a), h = u ? o ? ae : ae.filter(function(w) {
1216
+ return ot(w) === u;
1217
+ }) : dt, y = h.filter(function(w) {
1218
+ return l.indexOf(w) >= 0;
1219
+ });
1220
+ y.length === 0 && (y = h);
1221
+ var p = y.reduce(function(w, g) {
1222
+ return w[g] = It(t, {
1223
+ placement: g,
1224
+ boundary: n,
1225
+ rootBoundary: i,
1226
+ padding: f
1227
+ })[V(g)], w;
1228
+ }, {});
1229
+ return Object.keys(p).sort(function(w, g) {
1230
+ return p[w] - p[g];
1231
+ });
1232
+ }
1233
+ function jr(t) {
1234
+ if (V(t) === Bt)
1235
+ return [];
1236
+ var e = At(t);
1237
+ return [oe(t), e, oe(e)];
1238
+ }
1239
+ function Fr(t) {
1240
+ var e = t.state, r = t.options, a = t.name;
1241
+ if (!e.modifiersData[a]._skip) {
1242
+ for (var n = r.mainAxis, i = n === void 0 ? !0 : n, f = r.altAxis, o = f === void 0 ? !0 : f, s = r.fallbackPlacements, l = r.padding, u = r.boundary, h = r.rootBoundary, y = r.altBoundary, p = r.flipVariations, w = p === void 0 ? !0 : p, g = r.allowedAutoPlacements, v = e.options.placement, x = V(v), M = x === v, O = s || (M || !w ? [At(v)] : jr(v)), d = [v].concat(O).reduce(function(rt, X) {
1243
+ return rt.concat(V(X) === Bt ? Dr(e, {
1244
+ placement: X,
1245
+ boundary: u,
1246
+ rootBoundary: h,
1247
+ padding: l,
1248
+ flipVariations: w,
1249
+ allowedAutoPlacements: g
1250
+ }) : X);
1251
+ }, []), b = e.rects.reference, m = e.rects.popper, _ = /* @__PURE__ */ new Map(), R = !0, k = d[0], S = 0; S < d.length; S++) {
1252
+ var E = d[S], F = V(E), H = ot(E) === at, Y = [T, I].indexOf(F) >= 0, Z = Y ? "width" : "height", C = It(e, {
1253
+ placement: E,
1254
+ boundary: u,
797
1255
  rootBoundary: h,
798
1256
  altBoundary: y,
799
1257
  padding: l
@@ -826,17 +1284,17 @@ function Sr(t) {
826
1284
  e.placement !== k && (e.modifiersData[a]._skip = !0, e.placement = k, e.reset = !0);
827
1285
  }
828
1286
  }
829
- const ia = {
1287
+ const aa = {
830
1288
  name: "flip",
831
1289
  enabled: !0,
832
1290
  phase: "main",
833
- fn: Sr,
1291
+ fn: Fr,
834
1292
  requiresIfExists: ["offset"],
835
1293
  data: {
836
1294
  _skip: !1
837
1295
  }
838
1296
  };
839
- function kr(t, e, r) {
1297
+ function $r(t, e, r) {
840
1298
  var a = V(t), n = [B, T].indexOf(a) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, e, {
841
1299
  placement: t
842
1300
  })) : r, f = i[0], o = i[1];
@@ -848,29 +1306,29 @@ function kr(t, e, r) {
848
1306
  y: o
849
1307
  };
850
1308
  }
851
- function Rr(t) {
1309
+ function Lr(t) {
852
1310
  var e = t.state, r = t.options, a = t.name, n = r.offset, i = n === void 0 ? [0, 0] : n, f = he.reduce(function(u, h) {
853
- return u[h] = kr(h, e.rects, i), u;
1311
+ return u[h] = $r(h, e.rects, i), u;
854
1312
  }, {}), o = f[e.placement], s = o.x, l = o.y;
855
1313
  e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += s, e.modifiersData.popperOffsets.y += l), e.modifiersData[a] = f;
856
1314
  }
857
- const oa = {
1315
+ const na = {
858
1316
  name: "offset",
859
1317
  enabled: !0,
860
1318
  phase: "main",
861
1319
  requires: ["popperOffsets"],
862
- fn: Rr
1320
+ fn: Lr
863
1321
  };
864
- function Er(t) {
1322
+ function Nr(t) {
865
1323
  return t === "x" ? "y" : "x";
866
1324
  }
867
- function Hr(t) {
1325
+ function Ir(t) {
868
1326
  var e = t.state, r = t.options, a = t.name, n = r.mainAxis, i = n === void 0 ? !0 : n, f = r.altAxis, o = f === void 0 ? !1 : f, s = r.boundary, l = r.rootBoundary, u = r.altBoundary, h = r.padding, y = r.tether, p = y === void 0 ? !0 : y, w = r.tetherOffset, g = w === void 0 ? 0 : w, v = It(e, {
869
1327
  boundary: s,
870
1328
  rootBoundary: l,
871
1329
  padding: h,
872
1330
  altBoundary: u
873
- }), x = V(e.placement), M = ot(e.placement), O = !M, d = Nt(x), b = Er(d), m = e.modifiersData.popperOffsets, _ = e.rects.reference, R = e.rects.popper, k = typeof g == "function" ? g(Object.assign({}, e.rects, {
1331
+ }), x = V(e.placement), M = ot(e.placement), O = !M, d = Ft(x), b = Nr(d), m = e.modifiersData.popperOffsets, _ = e.rects.reference, R = e.rects.popper, k = typeof g == "function" ? g(Object.assign({}, e.rects, {
874
1332
  placement: e.placement
875
1333
  })) : g, S = typeof k == "number" ? {
876
1334
  mainAxis: k,
@@ -884,743 +1342,283 @@ function Hr(t) {
884
1342
  };
885
1343
  if (m) {
886
1344
  if (i) {
887
- var H, Y = d === "y" ? T : B, Z = d === "y" ? I : W, C = d === "y" ? "height" : "width", $ = m[d], gt = $ + v[Y], J = $ - v[Z], bt = p ? -R[C] / 2 : 0, kt = M === it ? _[C] : R[C], st = M === it ? -R[C] : -_[C], mt = e.elements.arrow, rt = p && mt ? $t(mt) : {
1345
+ var H, Y = d === "y" ? T : B, Z = d === "y" ? I : W, C = d === "y" ? "height" : "width", $ = m[d], gt = $ + v[Y], J = $ - v[Z], bt = p ? -R[C] / 2 : 0, kt = M === at ? _[C] : R[C], st = M === at ? -R[C] : -_[C], mt = e.elements.arrow, rt = p && mt ? jt(mt) : {
888
1346
  width: 0,
889
1347
  height: 0
890
- }, X = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ge(), ft = X[Y], yt = X[Z], K = pt(0, _[C], rt[C]), Rt = O ? _[C] / 2 - bt - K - ft - S.mainAxis : kt - K - ft - S.mainAxis, we = O ? -_[C] / 2 + bt + K + yt + S.mainAxis : st + K + yt + S.mainAxis, Et = e.elements.arrow && dt(e.elements.arrow), Ae = Et ? d === "y" ? Et.clientTop || 0 : Et.clientLeft || 0 : 0, Wt = (H = E == null ? void 0 : E[d]) != null ? H : 0, _e = $ + Rt - Wt - Ae, Me = $ + we - Wt, Vt = pt(p ? _t(gt, _e) : gt, $, p ? tt(J, Me) : J);
1348
+ }, X = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : ge(), ft = X[Y], yt = X[Z], K = ct(0, _[C], rt[C]), Rt = O ? _[C] / 2 - bt - K - ft - S.mainAxis : kt - K - ft - S.mainAxis, we = O ? -_[C] / 2 + bt + K + yt + S.mainAxis : st + K + yt + S.mainAxis, Et = e.elements.arrow && vt(e.elements.arrow), Ae = Et ? d === "y" ? Et.clientTop || 0 : Et.clientLeft || 0 : 0, Wt = (H = E == null ? void 0 : E[d]) != null ? H : 0, _e = $ + Rt - Wt - Ae, Me = $ + we - Wt, Vt = ct(p ? Mt(gt, _e) : gt, $, p ? tt(J, Me) : J);
891
1349
  m[d] = Vt, F[d] = Vt - $;
892
1350
  }
893
1351
  if (o) {
894
- var Ut, Oe = d === "x" ? T : B, Se = d === "x" ? I : W, Q = m[b], xt = b === "y" ? "height" : "width", qt = Q + v[Oe], zt = Q - v[Se], Ht = [T, B].indexOf(x) !== -1, Xt = (Ut = E == null ? void 0 : E[b]) != null ? Ut : 0, Gt = Ht ? qt : Q - _[xt] - R[xt] - Xt + S.altAxis, Yt = Ht ? Q + _[xt] + R[xt] - Xt - S.altAxis : zt, Zt = p && Ht ? mr(Gt, Q, Yt) : pt(p ? Gt : qt, Q, p ? Yt : zt);
1352
+ var Ut, Oe = d === "x" ? T : B, Se = d === "x" ? I : W, Q = m[b], xt = b === "y" ? "height" : "width", qt = Q + v[Oe], zt = Q - v[Se], Ht = [T, B].indexOf(x) !== -1, Xt = (Ut = E == null ? void 0 : E[b]) != null ? Ut : 0, Gt = Ht ? qt : Q - _[xt] - R[xt] - Xt + S.altAxis, Yt = Ht ? Q + _[xt] + R[xt] - Xt - S.altAxis : zt, Zt = p && Ht ? mr(Gt, Q, Yt) : ct(p ? Gt : qt, Q, p ? Yt : zt);
895
1353
  m[b] = Zt, F[b] = Zt - Q;
896
1354
  }
897
1355
  e.modifiersData[a] = F;
898
1356
  }
899
1357
  }
900
- const sa = {
1358
+ const ia = {
901
1359
  name: "preventOverflow",
902
1360
  enabled: !0,
903
1361
  phase: "main",
904
- fn: Hr,
1362
+ fn: Ir,
905
1363
  requiresIfExists: ["offset"]
906
1364
  };
907
- function Mt(t) {
908
- "@babel/helpers - typeof";
909
- return Mt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
910
- return typeof e;
911
- } : function(e) {
912
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
913
- }, Mt(t);
914
- }
915
- var Cr = /^\s+/, Pr = /\s+$/;
916
- function c(t, e) {
917
- if (t = t || "", e = e || {}, t instanceof c)
918
- return t;
919
- if (!(this instanceof c))
920
- return new c(t, e);
921
- var r = Tr(t);
922
- this._originalInput = t, this._r = r.r, this._g = r.g, this._b = r.b, this._a = r.a, this._roundA = Math.round(100 * this._a) / 100, this._format = e.format || r.format, this._gradientType = e.gradientType, this._r < 1 && (this._r = Math.round(this._r)), this._g < 1 && (this._g = Math.round(this._g)), this._b < 1 && (this._b = Math.round(this._b)), this._ok = r.ok;
923
- }
924
- c.prototype = {
925
- isDark: function() {
926
- return this.getBrightness() < 128;
927
- },
928
- isLight: function() {
929
- return !this.isDark();
930
- },
931
- isValid: function() {
932
- return this._ok;
933
- },
934
- getOriginalInput: function() {
935
- return this._originalInput;
936
- },
937
- getFormat: function() {
938
- return this._format;
939
- },
940
- getAlpha: function() {
941
- return this._a;
942
- },
943
- getBrightness: function() {
944
- var e = this.toRgb();
945
- return (e.r * 299 + e.g * 587 + e.b * 114) / 1e3;
946
- },
947
- getLuminance: function() {
948
- var e = this.toRgb(), r, a, n, i, f, o;
949
- return r = e.r / 255, a = e.g / 255, n = e.b / 255, r <= 0.03928 ? i = r / 12.92 : i = Math.pow((r + 0.055) / 1.055, 2.4), a <= 0.03928 ? f = a / 12.92 : f = Math.pow((a + 0.055) / 1.055, 2.4), n <= 0.03928 ? o = n / 12.92 : o = Math.pow((n + 0.055) / 1.055, 2.4), 0.2126 * i + 0.7152 * f + 0.0722 * o;
950
- },
951
- setAlpha: function(e) {
952
- return this._a = ye(e), this._roundA = Math.round(100 * this._a) / 100, this;
953
- },
954
- toHsv: function() {
955
- var e = ie(this._r, this._g, this._b);
956
- return {
957
- h: e.h * 360,
958
- s: e.s,
959
- v: e.v,
960
- a: this._a
961
- };
962
- },
963
- toHsvString: function() {
964
- var e = ie(this._r, this._g, this._b), r = Math.round(e.h * 360), a = Math.round(e.s * 100), n = Math.round(e.v * 100);
965
- return this._a == 1 ? "hsv(" + r + ", " + a + "%, " + n + "%)" : "hsva(" + r + ", " + a + "%, " + n + "%, " + this._roundA + ")";
966
- },
967
- toHsl: function() {
968
- var e = ne(this._r, this._g, this._b);
969
- return {
970
- h: e.h * 360,
971
- s: e.s,
972
- l: e.l,
973
- a: this._a
974
- };
975
- },
976
- toHslString: function() {
977
- var e = ne(this._r, this._g, this._b), r = Math.round(e.h * 360), a = Math.round(e.s * 100), n = Math.round(e.l * 100);
978
- return this._a == 1 ? "hsl(" + r + ", " + a + "%, " + n + "%)" : "hsla(" + r + ", " + a + "%, " + n + "%, " + this._roundA + ")";
979
- },
980
- toHex: function(e) {
981
- return oe(this._r, this._g, this._b, e);
982
- },
983
- toHexString: function(e) {
984
- return "#" + this.toHex(e);
985
- },
986
- toHex8: function(e) {
987
- return Fr(this._r, this._g, this._b, this._a, e);
988
- },
989
- toHex8String: function(e) {
990
- return "#" + this.toHex8(e);
991
- },
992
- toRgb: function() {
993
- return {
994
- r: Math.round(this._r),
995
- g: Math.round(this._g),
996
- b: Math.round(this._b),
997
- a: this._a
998
- };
999
- },
1000
- toRgbString: function() {
1001
- return this._a == 1 ? "rgb(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ")" : "rgba(" + Math.round(this._r) + ", " + Math.round(this._g) + ", " + Math.round(this._b) + ", " + this._roundA + ")";
1002
- },
1003
- toPercentageRgb: function() {
1004
- return {
1005
- r: Math.round(A(this._r, 255) * 100) + "%",
1006
- g: Math.round(A(this._g, 255) * 100) + "%",
1007
- b: Math.round(A(this._b, 255) * 100) + "%",
1008
- a: this._a
1009
- };
1010
- },
1011
- toPercentageRgbString: function() {
1012
- return this._a == 1 ? "rgb(" + Math.round(A(this._r, 255) * 100) + "%, " + Math.round(A(this._g, 255) * 100) + "%, " + Math.round(A(this._b, 255) * 100) + "%)" : "rgba(" + Math.round(A(this._r, 255) * 100) + "%, " + Math.round(A(this._g, 255) * 100) + "%, " + Math.round(A(this._b, 255) * 100) + "%, " + this._roundA + ")";
1013
- },
1014
- toName: function() {
1015
- return this._a === 0 ? "transparent" : this._a < 1 ? !1 : Yr[oe(this._r, this._g, this._b, !0)] || !1;
1016
- },
1017
- toFilter: function(e) {
1018
- var r = "#" + se(this._r, this._g, this._b, this._a), a = r, n = this._gradientType ? "GradientType = 1, " : "";
1019
- if (e) {
1020
- var i = c(e);
1021
- a = "#" + se(i._r, i._g, i._b, i._a);
1022
- }
1023
- return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + r + ",endColorstr=" + a + ")";
1024
- },
1025
- toString: function(e) {
1026
- var r = !!e;
1027
- e = e || this._format;
1028
- var a = !1, n = this._a < 1 && this._a >= 0, i = !r && n && (e === "hex" || e === "hex6" || e === "hex3" || e === "hex4" || e === "hex8" || e === "name");
1029
- return i ? e === "name" && this._a === 0 ? this.toName() : this.toRgbString() : (e === "rgb" && (a = this.toRgbString()), e === "prgb" && (a = this.toPercentageRgbString()), (e === "hex" || e === "hex6") && (a = this.toHexString()), e === "hex3" && (a = this.toHexString(!0)), e === "hex4" && (a = this.toHex8String(!0)), e === "hex8" && (a = this.toHex8String()), e === "name" && (a = this.toName()), e === "hsl" && (a = this.toHslString()), e === "hsv" && (a = this.toHsvString()), a || this.toHexString());
1030
- },
1031
- clone: function() {
1032
- return c(this.toString());
1033
- },
1034
- _applyModification: function(e, r) {
1035
- var a = e.apply(null, [this].concat([].slice.call(r)));
1036
- return this._r = a._r, this._g = a._g, this._b = a._b, this.setAlpha(a._a), this;
1037
- },
1038
- lighten: function() {
1039
- return this._applyModification(Ir, arguments);
1040
- },
1041
- brighten: function() {
1042
- return this._applyModification(Wr, arguments);
1043
- },
1044
- darken: function() {
1045
- return this._applyModification(Vr, arguments);
1046
- },
1047
- desaturate: function() {
1048
- return this._applyModification($r, arguments);
1049
- },
1050
- saturate: function() {
1051
- return this._applyModification(Lr, arguments);
1052
- },
1053
- greyscale: function() {
1054
- return this._applyModification(Nr, arguments);
1055
- },
1056
- spin: function() {
1057
- return this._applyModification(Ur, arguments);
1058
- },
1059
- _applyCombination: function(e, r) {
1060
- return e.apply(null, [this].concat([].slice.call(r)));
1061
- },
1062
- analogous: function() {
1063
- return this._applyCombination(Xr, arguments);
1064
- },
1065
- complement: function() {
1066
- return this._applyCombination(qr, arguments);
1067
- },
1068
- monochromatic: function() {
1069
- return this._applyCombination(Gr, arguments);
1070
- },
1071
- splitcomplement: function() {
1072
- return this._applyCombination(zr, arguments);
1073
- },
1074
- // Disabled until https://github.com/bgrins/TinyColor/issues/254
1075
- // polyad: function (number) {
1076
- // return this._applyCombination(polyad, [number]);
1077
- // },
1078
- triad: function() {
1079
- return this._applyCombination(fe, [3]);
1080
- },
1081
- tetrad: function() {
1082
- return this._applyCombination(fe, [4]);
1083
- }
1084
- };
1085
- c.fromRatio = function(t, e) {
1086
- if (Mt(t) == "object") {
1087
- var r = {};
1088
- for (var a in t)
1089
- t.hasOwnProperty(a) && (a === "a" ? r[a] = t[a] : r[a] = lt(t[a]));
1090
- t = r;
1091
- }
1092
- return c(t, e);
1093
- };
1094
- function Tr(t) {
1095
- var e = {
1096
- r: 0,
1097
- g: 0,
1098
- b: 0
1099
- }, r = 1, a = null, n = null, i = null, f = !1, o = !1;
1100
- return typeof t == "string" && (t = Qr(t)), Mt(t) == "object" && (q(t.r) && q(t.g) && q(t.b) ? (e = Br(t.r, t.g, t.b), f = !0, o = String(t.r).substr(-1) === "%" ? "prgb" : "rgb") : q(t.h) && q(t.s) && q(t.v) ? (a = lt(t.s), n = lt(t.v), e = jr(t.h, a, n), f = !0, o = "hsv") : q(t.h) && q(t.s) && q(t.l) && (a = lt(t.s), i = lt(t.l), e = Dr(t.h, a, i), f = !0, o = "hsl"), t.hasOwnProperty("a") && (r = t.a)), r = ye(r), {
1101
- ok: f,
1102
- format: t.format || o,
1103
- r: Math.min(255, Math.max(e.r, 0)),
1104
- g: Math.min(255, Math.max(e.g, 0)),
1105
- b: Math.min(255, Math.max(e.b, 0)),
1106
- a: r
1107
- };
1108
- }
1109
- function Br(t, e, r) {
1365
+ function Wr(t) {
1110
1366
  return {
1111
- r: A(t, 255) * 255,
1112
- g: A(e, 255) * 255,
1113
- b: A(r, 255) * 255
1367
+ scrollLeft: t.scrollLeft,
1368
+ scrollTop: t.scrollTop
1114
1369
  };
1115
1370
  }
1116
- function ne(t, e, r) {
1117
- t = A(t, 255), e = A(e, 255), r = A(r, 255);
1118
- var a = Math.max(t, e, r), n = Math.min(t, e, r), i, f, o = (a + n) / 2;
1119
- if (a == n)
1120
- i = f = 0;
1121
- else {
1122
- var s = a - n;
1123
- switch (f = o > 0.5 ? s / (2 - a - n) : s / (a + n), a) {
1124
- case t:
1125
- i = (e - r) / s + (e < r ? 6 : 0);
1126
- break;
1127
- case e:
1128
- i = (r - t) / s + 2;
1129
- break;
1130
- case r:
1131
- i = (t - e) / s + 4;
1132
- break;
1133
- }
1134
- i /= 6;
1135
- }
1136
- return {
1137
- h: i,
1138
- s: f,
1139
- l: o
1140
- };
1371
+ function Vr(t) {
1372
+ return t === D(t) || !j(t) ? $t(t) : Wr(t);
1141
1373
  }
1142
- function Dr(t, e, r) {
1143
- var a, n, i;
1144
- t = A(t, 360), e = A(e, 100), r = A(r, 100);
1145
- function f(l, u, h) {
1146
- return h < 0 && (h += 1), h > 1 && (h -= 1), h < 1 / 6 ? l + (u - l) * 6 * h : h < 1 / 2 ? u : h < 2 / 3 ? l + (u - l) * (2 / 3 - h) * 6 : l;
1147
- }
1148
- if (e === 0)
1149
- a = n = i = r;
1150
- else {
1151
- var o = r < 0.5 ? r * (1 + e) : r + e - r * e, s = 2 * r - o;
1152
- a = f(s, o, t + 1 / 3), n = f(s, o, t), i = f(s, o, t - 1 / 3);
1153
- }
1154
- return {
1155
- r: a * 255,
1156
- g: n * 255,
1157
- b: i * 255
1158
- };
1374
+ function Ur(t) {
1375
+ var e = t.getBoundingClientRect(), r = nt(e.width) / t.offsetWidth || 1, a = nt(e.height) / t.offsetHeight || 1;
1376
+ return r !== 1 || a !== 1;
1159
1377
  }
1160
- function ie(t, e, r) {
1161
- t = A(t, 255), e = A(e, 255), r = A(r, 255);
1162
- var a = Math.max(t, e, r), n = Math.min(t, e, r), i, f, o = a, s = a - n;
1163
- if (f = a === 0 ? 0 : s / a, a == n)
1164
- i = 0;
1165
- else {
1166
- switch (a) {
1167
- case t:
1168
- i = (e - r) / s + (e < r ? 6 : 0);
1169
- break;
1170
- case e:
1171
- i = (r - t) / s + 2;
1172
- break;
1173
- case r:
1174
- i = (t - e) / s + 4;
1175
- break;
1176
- }
1177
- i /= 6;
1178
- }
1179
- return {
1180
- h: i,
1181
- s: f,
1182
- v: o
1378
+ function qr(t, e, r) {
1379
+ r === void 0 && (r = !1);
1380
+ var a = j(e), n = j(e) && Ur(e), i = G(e), f = it(t, n, r), o = {
1381
+ scrollLeft: 0,
1382
+ scrollTop: 0
1383
+ }, s = {
1384
+ x: 0,
1385
+ y: 0
1386
+ };
1387
+ return (a || !a && !r) && ((U(e) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
1388
+ Nt(i)) && (o = Vr(e)), j(e) ? (s = it(e, !0), s.x += e.clientLeft, s.y += e.clientTop) : i && (s.x = Lt(i))), {
1389
+ x: f.left + o.scrollLeft - s.x,
1390
+ y: f.top + o.scrollTop - s.y,
1391
+ width: f.width,
1392
+ height: f.height
1183
1393
  };
1184
1394
  }
1185
- function jr(t, e, r) {
1186
- t = A(t, 360) * 6, e = A(e, 100), r = A(r, 100);
1187
- var a = Math.floor(t), n = t - a, i = r * (1 - e), f = r * (1 - n * e), o = r * (1 - (1 - n) * e), s = a % 6, l = [r, f, i, i, o, r][s], u = [o, r, r, f, i, i][s], h = [i, i, o, r, r, f][s];
1188
- return {
1189
- r: l * 255,
1190
- g: u * 255,
1191
- b: h * 255
1192
- };
1193
- }
1194
- function oe(t, e, r, a) {
1195
- var n = [N(Math.round(t).toString(16)), N(Math.round(e).toString(16)), N(Math.round(r).toString(16))];
1196
- return a && n[0].charAt(0) == n[0].charAt(1) && n[1].charAt(0) == n[1].charAt(1) && n[2].charAt(0) == n[2].charAt(1) ? n[0].charAt(0) + n[1].charAt(0) + n[2].charAt(0) : n.join("");
1197
- }
1198
- function Fr(t, e, r, a, n) {
1199
- var i = [N(Math.round(t).toString(16)), N(Math.round(e).toString(16)), N(Math.round(r).toString(16)), N(xe(a))];
1200
- return n && i[0].charAt(0) == i[0].charAt(1) && i[1].charAt(0) == i[1].charAt(1) && i[2].charAt(0) == i[2].charAt(1) && i[3].charAt(0) == i[3].charAt(1) ? i[0].charAt(0) + i[1].charAt(0) + i[2].charAt(0) + i[3].charAt(0) : i.join("");
1201
- }
1202
- function se(t, e, r, a) {
1203
- var n = [N(xe(a)), N(Math.round(t).toString(16)), N(Math.round(e).toString(16)), N(Math.round(r).toString(16))];
1204
- return n.join("");
1205
- }
1206
- c.equals = function(t, e) {
1207
- return !t || !e ? !1 : c(t).toRgbString() == c(e).toRgbString();
1208
- };
1209
- c.random = function() {
1210
- return c.fromRatio({
1211
- r: Math.random(),
1212
- g: Math.random(),
1213
- b: Math.random()
1214
- });
1215
- };
1216
- function $r(t, e) {
1217
- e = e === 0 ? 0 : e || 10;
1218
- var r = c(t).toHsl();
1219
- return r.s -= e / 100, r.s = St(r.s), c(r);
1220
- }
1221
- function Lr(t, e) {
1222
- e = e === 0 ? 0 : e || 10;
1223
- var r = c(t).toHsl();
1224
- return r.s += e / 100, r.s = St(r.s), c(r);
1225
- }
1226
- function Nr(t) {
1227
- return c(t).desaturate(100);
1228
- }
1229
- function Ir(t, e) {
1230
- e = e === 0 ? 0 : e || 10;
1231
- var r = c(t).toHsl();
1232
- return r.l += e / 100, r.l = St(r.l), c(r);
1233
- }
1234
- function Wr(t, e) {
1235
- e = e === 0 ? 0 : e || 10;
1236
- var r = c(t).toRgb();
1237
- return r.r = Math.max(0, Math.min(255, r.r - Math.round(255 * -(e / 100)))), r.g = Math.max(0, Math.min(255, r.g - Math.round(255 * -(e / 100)))), r.b = Math.max(0, Math.min(255, r.b - Math.round(255 * -(e / 100)))), c(r);
1238
- }
1239
- function Vr(t, e) {
1240
- e = e === 0 ? 0 : e || 10;
1241
- var r = c(t).toHsl();
1242
- return r.l -= e / 100, r.l = St(r.l), c(r);
1243
- }
1244
- function Ur(t, e) {
1245
- var r = c(t).toHsl(), a = (r.h + e) % 360;
1246
- return r.h = a < 0 ? 360 + a : a, c(r);
1247
- }
1248
- function qr(t) {
1249
- var e = c(t).toHsl();
1250
- return e.h = (e.h + 180) % 360, c(e);
1251
- }
1252
- function fe(t, e) {
1253
- if (isNaN(e) || e <= 0)
1254
- throw new Error("Argument to polyad must be a positive number");
1255
- for (var r = c(t).toHsl(), a = [c(t)], n = 360 / e, i = 1; i < e; i++)
1256
- a.push(c({
1257
- h: (r.h + i * n) % 360,
1258
- s: r.s,
1259
- l: r.l
1260
- }));
1261
- return a;
1262
- }
1263
1395
  function zr(t) {
1264
- var e = c(t).toHsl(), r = e.h;
1265
- return [c(t), c({
1266
- h: (r + 72) % 360,
1267
- s: e.s,
1268
- l: e.l
1269
- }), c({
1270
- h: (r + 216) % 360,
1271
- s: e.s,
1272
- l: e.l
1273
- })];
1274
- }
1275
- function Xr(t, e, r) {
1276
- e = e || 6, r = r || 30;
1277
- var a = c(t).toHsl(), n = 360 / r, i = [c(t)];
1278
- for (a.h = (a.h - (n * e >> 1) + 720) % 360; --e; )
1279
- a.h = (a.h + n) % 360, i.push(c(a));
1280
- return i;
1281
- }
1282
- function Gr(t, e) {
1283
- e = e || 6;
1284
- for (var r = c(t).toHsv(), a = r.h, n = r.s, i = r.v, f = [], o = 1 / e; e--; )
1285
- f.push(c({
1286
- h: a,
1287
- s: n,
1288
- v: i
1289
- })), i = (i + o) % 1;
1290
- return f;
1291
- }
1292
- c.mix = function(t, e, r) {
1293
- r = r === 0 ? 0 : r || 50;
1294
- var a = c(t).toRgb(), n = c(e).toRgb(), i = r / 100, f = {
1295
- r: (n.r - a.r) * i + a.r,
1296
- g: (n.g - a.g) * i + a.g,
1297
- b: (n.b - a.b) * i + a.b,
1298
- a: (n.a - a.a) * i + a.a
1299
- };
1300
- return c(f);
1301
- };
1302
- c.readability = function(t, e) {
1303
- var r = c(t), a = c(e);
1304
- return (Math.max(r.getLuminance(), a.getLuminance()) + 0.05) / (Math.min(r.getLuminance(), a.getLuminance()) + 0.05);
1305
- };
1306
- c.isReadable = function(t, e, r) {
1307
- var a = c.readability(t, e), n, i;
1308
- switch (i = !1, n = ta(r), n.level + n.size) {
1309
- case "AAsmall":
1310
- case "AAAlarge":
1311
- i = a >= 4.5;
1312
- break;
1313
- case "AAlarge":
1314
- i = a >= 3;
1315
- break;
1316
- case "AAAsmall":
1317
- i = a >= 7;
1318
- break;
1396
+ var e = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), a = [];
1397
+ t.forEach(function(i) {
1398
+ e.set(i.name, i);
1399
+ });
1400
+ function n(i) {
1401
+ r.add(i.name);
1402
+ var f = [].concat(i.requires || [], i.requiresIfExists || []);
1403
+ f.forEach(function(o) {
1404
+ if (!r.has(o)) {
1405
+ var s = e.get(o);
1406
+ s && n(s);
1407
+ }
1408
+ }), a.push(i);
1319
1409
  }
1320
- return i;
1321
- };
1322
- c.mostReadable = function(t, e, r) {
1323
- var a = null, n = 0, i, f, o, s;
1324
- r = r || {}, f = r.includeFallbackColors, o = r.level, s = r.size;
1325
- for (var l = 0; l < e.length; l++)
1326
- i = c.readability(t, e[l]), i > n && (n = i, a = c(e[l]));
1327
- return c.isReadable(t, a, {
1328
- level: o,
1329
- size: s
1330
- }) || !f ? a : (r.includeFallbackColors = !1, c.mostReadable(t, ["#fff", "#000"], r));
1331
- };
1332
- var Tt = c.names = {
1333
- aliceblue: "f0f8ff",
1334
- antiquewhite: "faebd7",
1335
- aqua: "0ff",
1336
- aquamarine: "7fffd4",
1337
- azure: "f0ffff",
1338
- beige: "f5f5dc",
1339
- bisque: "ffe4c4",
1340
- black: "000",
1341
- blanchedalmond: "ffebcd",
1342
- blue: "00f",
1343
- blueviolet: "8a2be2",
1344
- brown: "a52a2a",
1345
- burlywood: "deb887",
1346
- burntsienna: "ea7e5d",
1347
- cadetblue: "5f9ea0",
1348
- chartreuse: "7fff00",
1349
- chocolate: "d2691e",
1350
- coral: "ff7f50",
1351
- cornflowerblue: "6495ed",
1352
- cornsilk: "fff8dc",
1353
- crimson: "dc143c",
1354
- cyan: "0ff",
1355
- darkblue: "00008b",
1356
- darkcyan: "008b8b",
1357
- darkgoldenrod: "b8860b",
1358
- darkgray: "a9a9a9",
1359
- darkgreen: "006400",
1360
- darkgrey: "a9a9a9",
1361
- darkkhaki: "bdb76b",
1362
- darkmagenta: "8b008b",
1363
- darkolivegreen: "556b2f",
1364
- darkorange: "ff8c00",
1365
- darkorchid: "9932cc",
1366
- darkred: "8b0000",
1367
- darksalmon: "e9967a",
1368
- darkseagreen: "8fbc8f",
1369
- darkslateblue: "483d8b",
1370
- darkslategray: "2f4f4f",
1371
- darkslategrey: "2f4f4f",
1372
- darkturquoise: "00ced1",
1373
- darkviolet: "9400d3",
1374
- deeppink: "ff1493",
1375
- deepskyblue: "00bfff",
1376
- dimgray: "696969",
1377
- dimgrey: "696969",
1378
- dodgerblue: "1e90ff",
1379
- firebrick: "b22222",
1380
- floralwhite: "fffaf0",
1381
- forestgreen: "228b22",
1382
- fuchsia: "f0f",
1383
- gainsboro: "dcdcdc",
1384
- ghostwhite: "f8f8ff",
1385
- gold: "ffd700",
1386
- goldenrod: "daa520",
1387
- gray: "808080",
1388
- green: "008000",
1389
- greenyellow: "adff2f",
1390
- grey: "808080",
1391
- honeydew: "f0fff0",
1392
- hotpink: "ff69b4",
1393
- indianred: "cd5c5c",
1394
- indigo: "4b0082",
1395
- ivory: "fffff0",
1396
- khaki: "f0e68c",
1397
- lavender: "e6e6fa",
1398
- lavenderblush: "fff0f5",
1399
- lawngreen: "7cfc00",
1400
- lemonchiffon: "fffacd",
1401
- lightblue: "add8e6",
1402
- lightcoral: "f08080",
1403
- lightcyan: "e0ffff",
1404
- lightgoldenrodyellow: "fafad2",
1405
- lightgray: "d3d3d3",
1406
- lightgreen: "90ee90",
1407
- lightgrey: "d3d3d3",
1408
- lightpink: "ffb6c1",
1409
- lightsalmon: "ffa07a",
1410
- lightseagreen: "20b2aa",
1411
- lightskyblue: "87cefa",
1412
- lightslategray: "789",
1413
- lightslategrey: "789",
1414
- lightsteelblue: "b0c4de",
1415
- lightyellow: "ffffe0",
1416
- lime: "0f0",
1417
- limegreen: "32cd32",
1418
- linen: "faf0e6",
1419
- magenta: "f0f",
1420
- maroon: "800000",
1421
- mediumaquamarine: "66cdaa",
1422
- mediumblue: "0000cd",
1423
- mediumorchid: "ba55d3",
1424
- mediumpurple: "9370db",
1425
- mediumseagreen: "3cb371",
1426
- mediumslateblue: "7b68ee",
1427
- mediumspringgreen: "00fa9a",
1428
- mediumturquoise: "48d1cc",
1429
- mediumvioletred: "c71585",
1430
- midnightblue: "191970",
1431
- mintcream: "f5fffa",
1432
- mistyrose: "ffe4e1",
1433
- moccasin: "ffe4b5",
1434
- navajowhite: "ffdead",
1435
- navy: "000080",
1436
- oldlace: "fdf5e6",
1437
- olive: "808000",
1438
- olivedrab: "6b8e23",
1439
- orange: "ffa500",
1440
- orangered: "ff4500",
1441
- orchid: "da70d6",
1442
- palegoldenrod: "eee8aa",
1443
- palegreen: "98fb98",
1444
- paleturquoise: "afeeee",
1445
- palevioletred: "db7093",
1446
- papayawhip: "ffefd5",
1447
- peachpuff: "ffdab9",
1448
- peru: "cd853f",
1449
- pink: "ffc0cb",
1450
- plum: "dda0dd",
1451
- powderblue: "b0e0e6",
1452
- purple: "800080",
1453
- rebeccapurple: "663399",
1454
- red: "f00",
1455
- rosybrown: "bc8f8f",
1456
- royalblue: "4169e1",
1457
- saddlebrown: "8b4513",
1458
- salmon: "fa8072",
1459
- sandybrown: "f4a460",
1460
- seagreen: "2e8b57",
1461
- seashell: "fff5ee",
1462
- sienna: "a0522d",
1463
- silver: "c0c0c0",
1464
- skyblue: "87ceeb",
1465
- slateblue: "6a5acd",
1466
- slategray: "708090",
1467
- slategrey: "708090",
1468
- snow: "fffafa",
1469
- springgreen: "00ff7f",
1470
- steelblue: "4682b4",
1471
- tan: "d2b48c",
1472
- teal: "008080",
1473
- thistle: "d8bfd8",
1474
- tomato: "ff6347",
1475
- turquoise: "40e0d0",
1476
- violet: "ee82ee",
1477
- wheat: "f5deb3",
1478
- white: "fff",
1479
- whitesmoke: "f5f5f5",
1480
- yellow: "ff0",
1481
- yellowgreen: "9acd32"
1482
- }, Yr = c.hexNames = Zr(Tt);
1483
- function Zr(t) {
1484
- var e = {};
1485
- for (var r in t)
1486
- t.hasOwnProperty(r) && (e[t[r]] = r);
1487
- return e;
1488
- }
1489
- function ye(t) {
1490
- return t = parseFloat(t), (isNaN(t) || t < 0 || t > 1) && (t = 1), t;
1491
- }
1492
- function A(t, e) {
1493
- Jr(t) && (t = "100%");
1494
- var r = Kr(t);
1495
- return t = Math.min(e, Math.max(0, parseFloat(t))), r && (t = parseInt(t * e, 10) / 100), Math.abs(t - e) < 1e-6 ? 1 : t % e / parseFloat(e);
1496
- }
1497
- function St(t) {
1498
- return Math.min(1, Math.max(0, t));
1499
- }
1500
- function P(t) {
1501
- return parseInt(t, 16);
1502
- }
1503
- function Jr(t) {
1504
- return typeof t == "string" && t.indexOf(".") != -1 && parseFloat(t) === 1;
1505
- }
1506
- function Kr(t) {
1507
- return typeof t == "string" && t.indexOf("%") != -1;
1410
+ return t.forEach(function(i) {
1411
+ r.has(i.name) || n(i);
1412
+ }), a;
1508
1413
  }
1509
- function N(t) {
1510
- return t.length == 1 ? "0" + t : "" + t;
1414
+ function Xr(t) {
1415
+ var e = zr(t);
1416
+ return vr.reduce(function(r, a) {
1417
+ return r.concat(e.filter(function(n) {
1418
+ return n.phase === a;
1419
+ }));
1420
+ }, []);
1511
1421
  }
1512
- function lt(t) {
1513
- return t <= 1 && (t = t * 100 + "%"), t;
1422
+ function Gr(t) {
1423
+ var e;
1424
+ return function() {
1425
+ return e || (e = new Promise(function(r) {
1426
+ Promise.resolve().then(function() {
1427
+ e = void 0, r(t());
1428
+ });
1429
+ })), e;
1430
+ };
1514
1431
  }
1515
- function xe(t) {
1516
- return Math.round(parseFloat(t) * 255).toString(16);
1432
+ function Yr(t) {
1433
+ var e = t.reduce(function(r, a) {
1434
+ var n = r[a.name];
1435
+ return r[a.name] = n ? Object.assign({}, n, a, {
1436
+ options: Object.assign({}, n.options, a.options),
1437
+ data: Object.assign({}, n.data, a.data)
1438
+ }) : a, r;
1439
+ }, {});
1440
+ return Object.keys(e).map(function(r) {
1441
+ return e[r];
1442
+ });
1517
1443
  }
1518
- function ue(t) {
1519
- return P(t) / 255;
1444
+ var fe = {
1445
+ placement: "bottom",
1446
+ modifiers: [],
1447
+ strategy: "absolute"
1448
+ };
1449
+ function ue() {
1450
+ for (var t = arguments.length, e = new Array(t), r = 0; r < t; r++)
1451
+ e[r] = arguments[r];
1452
+ return !e.some(function(a) {
1453
+ return !(a && typeof a.getBoundingClientRect == "function");
1454
+ });
1520
1455
  }
1521
- var L = function() {
1522
- var t = "[-\\+]?\\d+%?", e = "[-\\+]?\\d*\\.\\d+%?", r = "(?:" + e + ")|(?:" + t + ")", a = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?", n = "[\\s|\\(]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")[,|\\s]+(" + r + ")\\s*\\)?";
1523
- return {
1524
- CSS_UNIT: new RegExp(r),
1525
- rgb: new RegExp("rgb" + a),
1526
- rgba: new RegExp("rgba" + n),
1527
- hsl: new RegExp("hsl" + a),
1528
- hsla: new RegExp("hsla" + n),
1529
- hsv: new RegExp("hsv" + a),
1530
- hsva: new RegExp("hsva" + n),
1531
- hex3: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1532
- hex6: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,
1533
- hex4: /^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,
1534
- hex8: /^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
1456
+ function oa(t) {
1457
+ t === void 0 && (t = {});
1458
+ var e = t, r = e.defaultModifiers, a = r === void 0 ? [] : r, n = e.defaultOptions, i = n === void 0 ? fe : n;
1459
+ return function(o, s, l) {
1460
+ l === void 0 && (l = i);
1461
+ var u = {
1462
+ placement: "bottom",
1463
+ orderedModifiers: [],
1464
+ options: Object.assign({}, fe, i),
1465
+ modifiersData: {},
1466
+ elements: {
1467
+ reference: o,
1468
+ popper: s
1469
+ },
1470
+ attributes: {},
1471
+ styles: {}
1472
+ }, h = [], y = !1, p = {
1473
+ state: u,
1474
+ setOptions: function(x) {
1475
+ var M = typeof x == "function" ? x(u.options) : x;
1476
+ g(), u.options = Object.assign({}, i, u.options, M), u.scrollParents = {
1477
+ reference: et(o) ? pt(o) : o.contextElement ? pt(o.contextElement) : [],
1478
+ popper: pt(s)
1479
+ };
1480
+ var O = Xr(Yr([].concat(a, u.options.modifiers)));
1481
+ return u.orderedModifiers = O.filter(function(d) {
1482
+ return d.enabled;
1483
+ }), w(), p.update();
1484
+ },
1485
+ // Sync update – it will always be executed, even if not necessary. This
1486
+ // is useful for low frequency updates where sync behavior simplifies the
1487
+ // logic.
1488
+ // For high frequency updates (e.g. `resize` and `scroll` events), always
1489
+ // prefer the async Popper#update method
1490
+ forceUpdate: function() {
1491
+ if (!y) {
1492
+ var x = u.elements, M = x.reference, O = x.popper;
1493
+ if (ue(M, O)) {
1494
+ u.rects = {
1495
+ reference: qr(M, vt(O), u.options.strategy === "fixed"),
1496
+ popper: jt(O)
1497
+ }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(S) {
1498
+ return u.modifiersData[S.name] = Object.assign({}, S.data);
1499
+ });
1500
+ for (var d = 0; d < u.orderedModifiers.length; d++) {
1501
+ if (u.reset === !0) {
1502
+ u.reset = !1, d = -1;
1503
+ continue;
1504
+ }
1505
+ var b = u.orderedModifiers[d], m = b.fn, _ = b.options, R = _ === void 0 ? {} : _, k = b.name;
1506
+ typeof m == "function" && (u = m({
1507
+ state: u,
1508
+ options: R,
1509
+ name: k,
1510
+ instance: p
1511
+ }) || u);
1512
+ }
1513
+ }
1514
+ }
1515
+ },
1516
+ // Async and optimistically optimized update – it will not be executed if
1517
+ // not necessary (debounced to run at most once-per-tick)
1518
+ update: Gr(function() {
1519
+ return new Promise(function(v) {
1520
+ p.forceUpdate(), v(u);
1521
+ });
1522
+ }),
1523
+ destroy: function() {
1524
+ g(), y = !0;
1525
+ }
1526
+ };
1527
+ if (!ue(o, s))
1528
+ return p;
1529
+ p.setOptions(l).then(function(v) {
1530
+ !y && l.onFirstUpdate && l.onFirstUpdate(v);
1531
+ });
1532
+ function w() {
1533
+ u.orderedModifiers.forEach(function(v) {
1534
+ var x = v.name, M = v.options, O = M === void 0 ? {} : M, d = v.effect;
1535
+ if (typeof d == "function") {
1536
+ var b = d({
1537
+ state: u,
1538
+ name: x,
1539
+ instance: p,
1540
+ options: O
1541
+ }), m = function() {
1542
+ };
1543
+ h.push(b || m);
1544
+ }
1545
+ });
1546
+ }
1547
+ function g() {
1548
+ h.forEach(function(v) {
1549
+ return v();
1550
+ }), h = [];
1551
+ }
1552
+ return p;
1535
1553
  };
1536
- }();
1537
- function q(t) {
1538
- return !!L.CSS_UNIT.exec(t);
1539
1554
  }
1540
- function Qr(t) {
1541
- t = t.replace(Cr, "").replace(Pr, "").toLowerCase();
1542
- var e = !1;
1543
- if (Tt[t])
1544
- t = Tt[t], e = !0;
1545
- else if (t == "transparent")
1546
- return {
1547
- r: 0,
1548
- g: 0,
1549
- b: 0,
1550
- a: 0,
1551
- format: "name"
1552
- };
1553
- var r;
1554
- return (r = L.rgb.exec(t)) ? {
1555
- r: r[1],
1556
- g: r[2],
1557
- b: r[3]
1558
- } : (r = L.rgba.exec(t)) ? {
1559
- r: r[1],
1560
- g: r[2],
1561
- b: r[3],
1562
- a: r[4]
1563
- } : (r = L.hsl.exec(t)) ? {
1564
- h: r[1],
1565
- s: r[2],
1566
- l: r[3]
1567
- } : (r = L.hsla.exec(t)) ? {
1568
- h: r[1],
1569
- s: r[2],
1570
- l: r[3],
1571
- a: r[4]
1572
- } : (r = L.hsv.exec(t)) ? {
1573
- h: r[1],
1574
- s: r[2],
1575
- v: r[3]
1576
- } : (r = L.hsva.exec(t)) ? {
1577
- h: r[1],
1578
- s: r[2],
1579
- v: r[3],
1580
- a: r[4]
1581
- } : (r = L.hex8.exec(t)) ? {
1582
- r: P(r[1]),
1583
- g: P(r[2]),
1584
- b: P(r[3]),
1585
- a: ue(r[4]),
1586
- format: e ? "name" : "hex8"
1587
- } : (r = L.hex6.exec(t)) ? {
1588
- r: P(r[1]),
1589
- g: P(r[2]),
1590
- b: P(r[3]),
1591
- format: e ? "name" : "hex"
1592
- } : (r = L.hex4.exec(t)) ? {
1593
- r: P(r[1] + "" + r[1]),
1594
- g: P(r[2] + "" + r[2]),
1595
- b: P(r[3] + "" + r[3]),
1596
- a: ue(r[4] + "" + r[4]),
1597
- format: e ? "name" : "hex8"
1598
- } : (r = L.hex3.exec(t)) ? {
1599
- r: P(r[1] + "" + r[1]),
1600
- g: P(r[2] + "" + r[2]),
1601
- b: P(r[3] + "" + r[3]),
1602
- format: e ? "name" : "hex"
1603
- } : !1;
1555
+ function Zr(t) {
1556
+ var e = t.state, r = t.name;
1557
+ e.modifiersData[r] = xe({
1558
+ reference: e.rects.reference,
1559
+ element: e.rects.popper,
1560
+ placement: e.placement
1561
+ });
1604
1562
  }
1605
- function ta(t) {
1606
- var e, r;
1607
- return t = t || {
1608
- level: "AA",
1609
- size: "small"
1610
- }, e = (t.level || "AA").toUpperCase(), r = (t.size || "small").toLowerCase(), e !== "AA" && e !== "AAA" && (e = "AA"), r !== "small" && r !== "large" && (r = "small"), {
1611
- level: e,
1612
- size: r
1563
+ const Jr = {
1564
+ name: "popperOffsets",
1565
+ enabled: !0,
1566
+ phase: "read",
1567
+ fn: Zr,
1568
+ data: {}
1569
+ };
1570
+ function Kr(t) {
1571
+ var e = t.state;
1572
+ Object.keys(e.elements).forEach(function(r) {
1573
+ var a = e.styles[r] || {}, n = e.attributes[r] || {}, i = e.elements[r];
1574
+ !j(i) || !U(i) || (Object.assign(i.style, a), Object.keys(n).forEach(function(f) {
1575
+ var o = n[f];
1576
+ o === !1 ? i.removeAttribute(f) : i.setAttribute(f, o === !0 ? "" : o);
1577
+ }));
1578
+ });
1579
+ }
1580
+ function Qr(t) {
1581
+ var e = t.state, r = {
1582
+ popper: {
1583
+ position: e.options.strategy,
1584
+ left: "0",
1585
+ top: "0",
1586
+ margin: "0"
1587
+ },
1588
+ arrow: {
1589
+ position: "absolute"
1590
+ },
1591
+ reference: {}
1592
+ };
1593
+ return Object.assign(e.elements.popper.style, r.popper), e.styles = r, e.elements.arrow && Object.assign(e.elements.arrow.style, r.arrow), function() {
1594
+ Object.keys(e.elements).forEach(function(a) {
1595
+ var n = e.elements[a], i = e.attributes[a] || {}, f = Object.keys(e.styles.hasOwnProperty(a) ? e.styles[a] : r[a]), o = f.reduce(function(s, l) {
1596
+ return s[l] = "", s;
1597
+ }, {});
1598
+ !j(n) || !U(n) || (Object.assign(n.style, o), Object.keys(i).forEach(function(s) {
1599
+ n.removeAttribute(s);
1600
+ }));
1601
+ });
1613
1602
  };
1614
1603
  }
1604
+ const ta = {
1605
+ name: "applyStyles",
1606
+ enabled: !0,
1607
+ phase: "write",
1608
+ fn: Kr,
1609
+ effect: Qr,
1610
+ requires: ["computeStyles"]
1611
+ };
1612
+ var sa = [kr, Jr, Or, ta];
1615
1613
  export {
1616
- na as a,
1617
- sa as b,
1614
+ ra as a,
1615
+ ia as b,
1618
1616
  ea as c,
1619
- aa as d,
1620
- dr as e,
1621
- ia as f,
1622
- fr as g,
1623
- oa as o,
1624
- ra as p,
1617
+ sa as d,
1618
+ Or as e,
1619
+ aa as f,
1620
+ kr as g,
1621
+ na as o,
1622
+ oa as p,
1625
1623
  c as t
1626
1624
  };