@vonage/vivid 5.15.0 → 5.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/accordion/definition.cjs +0 -5
- package/accordion/definition.js +0 -5
- package/accordion/index.cjs +1 -1
- package/accordion/index.js +3 -14
- package/accordion-item/definition.cjs +1 -1
- package/accordion-item/definition.js +1 -1
- package/alert/definition.cjs +2 -2
- package/alert/definition.js +2 -2
- package/alert/index.cjs +1 -1
- package/alert/index.js +1 -1
- package/audio-player/definition.cjs +2 -6
- package/audio-player/definition.js +2 -6
- package/audio-player/index.cjs +1 -1
- package/audio-player/index.js +2 -8
- package/banner/definition.cjs +1 -1
- package/banner/definition.js +1 -1
- package/breadcrumb/definition.cjs +0 -1
- package/breadcrumb/definition.js +0 -1
- package/breadcrumb/index.cjs +1 -1
- package/breadcrumb/index.js +0 -1
- package/breadcrumb-item/definition.cjs +1 -1
- package/breadcrumb-item/definition.js +1 -1
- package/breadcrumb-item/index.cjs +1 -1
- package/breadcrumb-item/index.js +1 -1
- package/bundled/attribute-binding-behaviour.cjs +1 -1
- package/bundled/attribute-binding-behaviour.js +1 -3
- package/bundled/base-color-picker.cjs +1 -1
- package/bundled/base-color-picker.js +2 -7
- package/bundled/base-progress.cjs +1 -1
- package/bundled/base-progress.js +0 -3
- package/bundled/button.cjs +1 -1
- package/bundled/button.js +1 -10
- package/bundled/calendar-picker.template.cjs +1 -1
- package/bundled/calendar-picker.template.js +90 -42
- package/bundled/children.js +1 -1
- package/bundled/definition.cjs +1 -1
- package/bundled/definition.js +1 -1
- package/bundled/definition10.cjs +1 -1
- package/bundled/definition10.js +0 -10
- package/bundled/definition11.cjs +1 -1
- package/bundled/definition11.js +0 -1
- package/bundled/definition12.cjs +2 -2
- package/bundled/definition12.js +1 -2
- package/bundled/definition13.cjs +1 -1
- package/bundled/definition13.js +1 -1
- package/bundled/definition17.cjs +1 -1
- package/bundled/definition17.js +1 -4
- package/bundled/definition18.cjs +1 -1
- package/bundled/definition18.js +6 -18
- package/bundled/definition19.cjs +2 -2
- package/bundled/definition19.js +8 -24
- package/bundled/definition2.cjs +5 -5
- package/bundled/definition2.js +26 -27
- package/bundled/definition20.cjs +1 -1
- package/bundled/definition20.js +1 -1
- package/bundled/definition22.cjs +5 -5
- package/bundled/definition22.js +2 -3
- package/bundled/definition3.cjs +1 -1
- package/bundled/definition3.js +1 -2
- package/bundled/definition5.cjs +1 -1
- package/bundled/definition5.js +1 -6
- package/bundled/definition6.cjs +1 -1
- package/bundled/definition6.js +1 -2
- package/bundled/definition7.cjs +1 -1
- package/bundled/definition7.js +2 -5
- package/bundled/definition8.cjs +1 -1
- package/bundled/definition8.js +2 -13
- package/bundled/definition9.js +9 -9
- package/bundled/delegates-aria.cjs +1 -1
- package/bundled/delegates-aria.js +1 -3
- package/bundled/floating-ui.dom.cjs +1 -1
- package/bundled/floating-ui.dom.js +491 -487
- package/bundled/form-associated.cjs +1 -1
- package/bundled/form-associated.js +9 -18
- package/bundled/key-codes.cjs +1 -1
- package/bundled/listbox.cjs +1 -1
- package/bundled/listbox.js +10 -27
- package/bundled/localized.cjs +1 -1
- package/bundled/localized.js +48 -48
- package/bundled/mixins.cjs +2 -2
- package/bundled/mixins.js +1 -4
- package/bundled/normalize.js +2 -2
- package/bundled/picker-field.template.cjs +1 -1
- package/bundled/picker-field.template.js +0 -1
- package/bundled/scrollIntoView.cjs +1 -1
- package/bundled/scrollIntoView.js +1 -4
- package/bundled/slider.template.cjs +1 -1
- package/bundled/slider.template.js +1 -1
- package/bundled/slottable-request.js +1 -1
- package/bundled/text-field.cjs +1 -1
- package/bundled/text-field.js +1 -1
- package/bundled/time-selection-picker.template.cjs +2 -2
- package/bundled/time-selection-picker.template.js +3 -6
- package/bundled/vivid-element.cjs +3 -3
- package/bundled/vivid-element.js +302 -293
- package/button/definition.cjs +1 -1
- package/button/definition.js +1 -1
- package/calendar/definition.cjs +0 -2
- package/calendar/definition.js +1 -3
- package/calendar/index.cjs +1 -1
- package/calendar/index.js +6 -8
- package/card/definition.cjs +1 -1
- package/card/definition.js +1 -1
- package/card/index.cjs +1 -1
- package/card/index.js +1 -1
- package/checkbox/definition.cjs +1 -2
- package/checkbox/definition.js +1 -2
- package/color-picker/definition.cjs +1 -6
- package/color-picker/definition.js +1 -6
- package/color-picker/index.cjs +1 -1
- package/color-picker/index.js +2 -7
- package/combobox/definition.cjs +2 -8
- package/combobox/definition.js +2 -8
- package/combobox/index.cjs +1 -1
- package/combobox/index.js +2 -9
- package/contextual-help/definition.cjs +1 -1
- package/contextual-help/definition.js +1 -1
- package/custom-elements.json +37 -720
- package/data-grid/definition.cjs +72 -85
- package/data-grid/definition.js +75 -88
- package/data-grid/index.cjs +2 -2
- package/data-grid/index.js +7 -39
- package/date-picker/definition.cjs +1 -1
- package/date-picker/definition.js +1 -1
- package/date-range-picker/definition.cjs +1 -3
- package/date-range-picker/definition.js +1 -3
- package/date-range-picker/index.cjs +1 -1
- package/date-range-picker/index.js +1 -5
- package/date-time-picker/definition.cjs +1 -1
- package/date-time-picker/definition.js +1 -1
- package/dial-pad/definition.cjs +2 -11
- package/dial-pad/definition.js +3 -12
- package/dial-pad/index.cjs +1 -1
- package/dial-pad/index.js +14 -38
- package/dialog/definition.cjs +2 -3
- package/dialog/definition.js +2 -3
- package/dialog/index.cjs +1 -1
- package/dialog/index.js +1 -2
- package/empty-state/definition.js +1 -1
- package/fab/definition.cjs +1 -2
- package/fab/definition.js +1 -2
- package/fab/index.cjs +1 -1
- package/fab/index.js +1 -2
- package/file-picker/definition.cjs +2 -5
- package/file-picker/definition.js +3 -6
- package/file-picker/index.cjs +1 -1
- package/file-picker/index.js +1 -4
- package/icon/definition.cjs +7 -5
- package/icon/definition.js +7 -5
- package/index.cjs +95 -95
- package/index.js +18 -18
- package/layout/definition.cjs +1 -1
- package/layout/definition.js +1 -1
- package/layout/index.cjs +1 -1
- package/layout/index.js +1 -1
- package/lib/card/card.d.ts +0 -2
- package/lib/combobox/combobox.d.ts +1 -1
- package/lib/icon/icon.d.ts +0 -1
- package/lib/menu/menu.d.ts +0 -1
- package/lib/menu-item/menu-item.d.ts +0 -1
- package/lib/pagination/pagination.d.ts +0 -3
- package/lib/select/select.d.ts +2 -2
- package/lib/table/table-head.d.ts +1 -0
- package/lib/tabs/tabs.d.ts +0 -1
- package/lib/text-field/text-field.d.ts +0 -1
- package/locales/de-DE.cjs +95 -95
- package/locales/de-DE.js +95 -95
- package/locales/en-GB.cjs +1 -1
- package/locales/en-GB.js +1 -1
- package/locales/en-US.cjs +95 -95
- package/locales/en-US.js +95 -95
- package/locales/ja-JP.cjs +94 -94
- package/locales/ja-JP.js +94 -94
- package/locales/zh-CN.cjs +94 -94
- package/locales/zh-CN.js +94 -94
- package/menu/definition.cjs +2 -3
- package/menu/definition.js +2 -3
- package/menu-item/definition.cjs +1 -1
- package/menu-item/definition.js +1 -1
- package/nav-disclosure/definition.cjs +1 -1
- package/nav-disclosure/definition.js +1 -1
- package/nav-disclosure/index.cjs +1 -1
- package/nav-disclosure/index.js +1 -1
- package/nav-item/definition.cjs +1 -1
- package/nav-item/definition.js +1 -1
- package/nav-item/index.cjs +1 -1
- package/nav-item/index.js +1 -1
- package/number-field/definition.cjs +2 -2
- package/number-field/definition.js +2 -2
- package/number-field/index.cjs +1 -1
- package/number-field/index.js +1 -1
- package/package.json +20 -18
- package/pagination/definition.cjs +1 -3
- package/pagination/definition.js +3 -5
- package/pagination/index.cjs +3 -3
- package/pagination/index.js +4 -6
- package/popover/definition.cjs +1 -8
- package/popover/definition.js +1 -8
- package/popover/index.cjs +1 -1
- package/popover/index.js +6 -17
- package/popup/definition.cjs +1 -1
- package/popup/definition.js +1 -1
- package/radio/definition.cjs +1 -5
- package/radio/definition.js +1 -5
- package/radio-group/definition.js +2 -2
- package/range-slider/definition.cjs +1 -1
- package/range-slider/definition.js +2 -2
- package/range-slider/index.cjs +1 -1
- package/range-slider/index.js +1 -1
- package/rich-text-editor/definition.cjs +128 -43
- package/rich-text-editor/definition.js +128 -43
- package/rich-text-editor/index.cjs +12 -12
- package/rich-text-editor/index.js +1577 -1532
- package/rich-text-view/definition.js +1 -1
- package/searchable-select/definition.cjs +2 -5
- package/searchable-select/definition.js +2 -5
- package/searchable-select/index.cjs +1 -1
- package/searchable-select/index.js +2 -6
- package/select/definition.cjs +4 -14
- package/select/definition.js +5 -15
- package/selectable-box/definition.cjs +1 -1
- package/selectable-box/definition.js +2 -2
- package/selectable-box/index.cjs +1 -1
- package/selectable-box/index.js +1 -1
- package/side-drawer/definition.cjs +1 -1
- package/side-drawer/definition.js +2 -2
- package/side-drawer/index.cjs +1 -1
- package/side-drawer/index.js +2 -5
- package/simple-color-picker/definition.cjs +18 -9
- package/simple-color-picker/definition.js +19 -10
- package/simple-color-picker/index.cjs +5 -5
- package/simple-color-picker/index.js +23 -23
- package/slider/definition.cjs +1 -6
- package/slider/definition.js +3 -8
- package/split-button/definition.cjs +1 -1
- package/split-button/definition.js +2 -2
- package/split-button/index.cjs +1 -1
- package/split-button/index.js +1 -1
- package/status/definition.cjs +9 -3
- package/status/definition.js +11 -5
- package/status/index.cjs +10 -7
- package/status/index.js +46 -39
- package/styles/core/all.css +6 -5
- package/styles/core/theme.css +6 -5
- package/styles/core/typography.css +1 -2
- package/styles/tokens/theme-dark.css +17 -21
- package/styles/tokens/theme-light.css +17 -21
- package/styles/tokens/vivid-2-compat.css +1 -2
- package/switch/definition.cjs +1 -2
- package/switch/definition.js +2 -3
- package/switch/index.cjs +1 -1
- package/switch/index.js +1 -2
- package/tab/definition.cjs +1 -1
- package/tab/definition.js +2 -2
- package/tab-panel/definition.js +1 -1
- package/table/definition.cjs +17 -11
- package/table/definition.js +19 -13
- package/table/index.cjs +18 -14
- package/table/index.js +55 -48
- package/tabs/definition.cjs +0 -2
- package/tabs/definition.js +2 -4
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +0 -2
- package/tag/definition.cjs +1 -1
- package/tag/definition.js +2 -2
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/tag-group/definition.js +1 -1
- package/text-area/definition.cjs +1 -7
- package/text-area/definition.js +2 -8
- package/text-area/index.cjs +1 -1
- package/text-area/index.js +1 -7
- package/text-field/definition.cjs +0 -10
- package/text-field/definition.js +1 -11
- package/time-picker/definition.cjs +1 -1
- package/time-picker/definition.js +2 -2
- package/toggletip/definition.cjs +0 -2
- package/toggletip/definition.js +1 -3
- package/tooltip/definition.cjs +0 -1
- package/tooltip/definition.js +1 -2
- package/tree-view/definition.cjs +0 -16
- package/tree-view/definition.js +1 -17
- package/tree-view/index.cjs +1 -1
- package/tree-view/index.js +0 -16
- package/unbundled/_commonjsHelpers.cjs +6 -2
- package/unbundled/_commonjsHelpers.js +6 -2
- package/unbundled/anchored.js +1 -1
- package/unbundled/attribute-binding-behaviour.cjs +0 -1
- package/unbundled/attribute-binding-behaviour.js +0 -1
- package/unbundled/base-color-picker.cjs +0 -3
- package/unbundled/base-color-picker.js +0 -3
- package/unbundled/base-progress.cjs +0 -3
- package/unbundled/base-progress.js +0 -3
- package/unbundled/button.cjs +1 -10
- package/unbundled/button.js +1 -10
- package/unbundled/calendar-picker.template.cjs +2 -4
- package/unbundled/calendar-picker.template.js +2 -4
- package/unbundled/data-grid.options.js +1 -1
- package/unbundled/definition.cjs +349 -170
- package/unbundled/definition.js +348 -170
- package/unbundled/definition2.cjs +169 -351
- package/unbundled/definition2.js +169 -350
- package/unbundled/definition3.cjs +1 -2
- package/unbundled/definition3.js +1 -2
- package/unbundled/definition4.cjs +1 -2
- package/unbundled/definition4.js +3 -4
- package/unbundled/definition5.cjs +1 -1
- package/unbundled/definition5.js +2 -2
- package/unbundled/delegates-aria.cjs +1 -1
- package/unbundled/delegates-aria.js +1 -1
- package/unbundled/enums.js +1 -1
- package/unbundled/form-associated.cjs +4 -5
- package/unbundled/form-associated.js +4 -5
- package/unbundled/host-semantics.cjs +1 -0
- package/unbundled/host-semantics.js +2 -1
- package/unbundled/key-codes.js +1 -1
- package/unbundled/listbox.cjs +6 -14
- package/unbundled/listbox.js +6 -14
- package/unbundled/mixins.cjs +0 -2
- package/unbundled/mixins.js +2 -4
- package/unbundled/picker-field.template.cjs +1 -2
- package/unbundled/picker-field.template.js +1 -2
- package/unbundled/scrollIntoView.cjs +0 -1
- package/unbundled/scrollIntoView.js +0 -1
- package/unbundled/slider.template.js +1 -1
- package/unbundled/slottable-request.cjs +2 -2
- package/unbundled/slottable-request.js +2 -2
- package/unbundled/text-field.cjs +1 -1
- package/unbundled/text-field.js +1 -1
- package/unbundled/time-selection-picker.template.cjs +1 -4
- package/unbundled/time-selection-picker.template.js +1 -4
- package/unbundled/vivid-element.cjs +2 -1
- package/unbundled/vivid-element.js +2 -1
- package/video-player/definition.cjs +7953 -7720
- package/video-player/definition.js +7955 -7722
- package/video-player/index.cjs +38 -54
- package/video-player/index.js +12785 -12735
- package/visually-hidden/definition.js +1 -1
- package/vivid.api.json +16 -341
|
@@ -1,75 +1,73 @@
|
|
|
1
|
-
const
|
|
1
|
+
const Ft = ["top", "right", "bottom", "left"], bt = ["start", "end"], Rt = /* @__PURE__ */ Ft.reduce((t, e) => t.concat(e, e + "-" + bt[0], e + "-" + bt[1]), []), H = Math.min, L = Math.max, it = Math.round, ot = Math.floor, I = (t) => ({
|
|
2
2
|
x: t,
|
|
3
3
|
y: t
|
|
4
|
-
}),
|
|
4
|
+
}), Yt = {
|
|
5
5
|
left: "right",
|
|
6
6
|
right: "left",
|
|
7
7
|
bottom: "top",
|
|
8
8
|
top: "bottom"
|
|
9
|
-
}, Yt = {
|
|
10
|
-
start: "end",
|
|
11
|
-
end: "start"
|
|
12
9
|
};
|
|
13
|
-
function
|
|
14
|
-
return L(t,
|
|
10
|
+
function mt(t, e, n) {
|
|
11
|
+
return L(t, H(e, n));
|
|
15
12
|
}
|
|
16
|
-
function
|
|
13
|
+
function Y(t, e) {
|
|
17
14
|
return typeof t == "function" ? t(e) : t;
|
|
18
15
|
}
|
|
19
|
-
function
|
|
16
|
+
function $(t) {
|
|
20
17
|
return t.split("-")[0];
|
|
21
18
|
}
|
|
22
|
-
function
|
|
19
|
+
function N(t) {
|
|
23
20
|
return t.split("-")[1];
|
|
24
21
|
}
|
|
25
|
-
function
|
|
22
|
+
function Mt(t) {
|
|
26
23
|
return t === "x" ? "y" : "x";
|
|
27
24
|
}
|
|
28
|
-
function
|
|
25
|
+
function gt(t) {
|
|
29
26
|
return t === "y" ? "height" : "width";
|
|
30
27
|
}
|
|
31
|
-
const jt = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
32
28
|
function z(t) {
|
|
33
|
-
|
|
29
|
+
const e = t[0];
|
|
30
|
+
return e === "t" || e === "b" ? "y" : "x";
|
|
34
31
|
}
|
|
35
|
-
function
|
|
36
|
-
return
|
|
32
|
+
function pt(t) {
|
|
33
|
+
return Mt(z(t));
|
|
37
34
|
}
|
|
38
|
-
function
|
|
35
|
+
function Bt(t, e, n) {
|
|
39
36
|
n === void 0 && (n = !1);
|
|
40
|
-
const o =
|
|
37
|
+
const o = N(t), i = pt(t), s = gt(i);
|
|
41
38
|
let r = i === "x" ? o === (n ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
|
|
42
39
|
return e.reference[s] > e.floating[s] && (r = rt(r)), [r, rt(r)];
|
|
43
40
|
}
|
|
44
|
-
function
|
|
41
|
+
function jt(t) {
|
|
45
42
|
const e = rt(t);
|
|
46
43
|
return [st(t), e, st(e)];
|
|
47
44
|
}
|
|
48
45
|
function st(t) {
|
|
49
|
-
return t.replace(
|
|
46
|
+
return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
|
|
50
47
|
}
|
|
51
|
-
const
|
|
52
|
-
function
|
|
48
|
+
const Ot = ["left", "right"], At = ["right", "left"], qt = ["top", "bottom"], Ut = ["bottom", "top"];
|
|
49
|
+
function Kt(t, e, n) {
|
|
53
50
|
switch (t) {
|
|
54
51
|
case "top":
|
|
55
52
|
case "bottom":
|
|
56
|
-
return n ? e ?
|
|
53
|
+
return n ? e ? At : Ot : e ? Ot : At;
|
|
57
54
|
case "left":
|
|
58
55
|
case "right":
|
|
59
|
-
return e ?
|
|
56
|
+
return e ? qt : Ut;
|
|
60
57
|
default:
|
|
61
58
|
return [];
|
|
62
59
|
}
|
|
63
60
|
}
|
|
64
|
-
function
|
|
65
|
-
const i =
|
|
66
|
-
let s =
|
|
61
|
+
function Gt(t, e, n, o) {
|
|
62
|
+
const i = N(t);
|
|
63
|
+
let s = Kt($(t), n === "start", o);
|
|
67
64
|
return i && (s = s.map((r) => r + "-" + i), e && (s = s.concat(s.map(st)))), s;
|
|
68
65
|
}
|
|
69
66
|
function rt(t) {
|
|
70
|
-
|
|
67
|
+
const e = $(t);
|
|
68
|
+
return Yt[e] + t.slice(e.length);
|
|
71
69
|
}
|
|
72
|
-
function
|
|
70
|
+
function Jt(t) {
|
|
73
71
|
return {
|
|
74
72
|
top: 0,
|
|
75
73
|
right: 0,
|
|
@@ -78,15 +76,15 @@ function Qt(t) {
|
|
|
78
76
|
...t
|
|
79
77
|
};
|
|
80
78
|
}
|
|
81
|
-
function
|
|
82
|
-
return typeof t != "number" ?
|
|
79
|
+
function wt(t) {
|
|
80
|
+
return typeof t != "number" ? Jt(t) : {
|
|
83
81
|
top: t,
|
|
84
82
|
right: t,
|
|
85
83
|
bottom: t,
|
|
86
84
|
left: t
|
|
87
85
|
};
|
|
88
86
|
}
|
|
89
|
-
function
|
|
87
|
+
function Q(t) {
|
|
90
88
|
const {
|
|
91
89
|
x: e,
|
|
92
90
|
y: n,
|
|
@@ -104,161 +102,164 @@ function J(t) {
|
|
|
104
102
|
y: n
|
|
105
103
|
};
|
|
106
104
|
}
|
|
107
|
-
function
|
|
105
|
+
function Ct(t, e, n) {
|
|
108
106
|
let {
|
|
109
107
|
reference: o,
|
|
110
108
|
floating: i
|
|
111
109
|
} = t;
|
|
112
|
-
const s = z(e), r =
|
|
113
|
-
let
|
|
110
|
+
const s = z(e), r = pt(e), c = gt(r), a = $(e), d = s === "y", u = o.x + o.width / 2 - i.width / 2, l = o.y + o.height / 2 - i.height / 2, m = o[c] / 2 - i[c] / 2;
|
|
111
|
+
let f;
|
|
114
112
|
switch (a) {
|
|
115
113
|
case "top":
|
|
116
|
-
|
|
114
|
+
f = {
|
|
117
115
|
x: u,
|
|
118
116
|
y: o.y - i.height
|
|
119
117
|
};
|
|
120
118
|
break;
|
|
121
119
|
case "bottom":
|
|
122
|
-
|
|
120
|
+
f = {
|
|
123
121
|
x: u,
|
|
124
122
|
y: o.y + o.height
|
|
125
123
|
};
|
|
126
124
|
break;
|
|
127
125
|
case "right":
|
|
128
|
-
|
|
126
|
+
f = {
|
|
129
127
|
x: o.x + o.width,
|
|
130
128
|
y: l
|
|
131
129
|
};
|
|
132
130
|
break;
|
|
133
131
|
case "left":
|
|
134
|
-
|
|
132
|
+
f = {
|
|
135
133
|
x: o.x - i.width,
|
|
136
134
|
y: l
|
|
137
135
|
};
|
|
138
136
|
break;
|
|
139
137
|
default:
|
|
140
|
-
|
|
138
|
+
f = {
|
|
141
139
|
x: o.x,
|
|
142
140
|
y: o.y
|
|
143
141
|
};
|
|
144
142
|
}
|
|
145
|
-
switch (
|
|
143
|
+
switch (N(e)) {
|
|
146
144
|
case "start":
|
|
147
|
-
|
|
145
|
+
f[r] -= m * (n && d ? -1 : 1);
|
|
148
146
|
break;
|
|
149
147
|
case "end":
|
|
150
|
-
|
|
148
|
+
f[r] += m * (n && d ? -1 : 1);
|
|
151
149
|
break;
|
|
152
150
|
}
|
|
153
|
-
return
|
|
151
|
+
return f;
|
|
152
|
+
}
|
|
153
|
+
async function Qt(t, e) {
|
|
154
|
+
var n;
|
|
155
|
+
e === void 0 && (e = {});
|
|
156
|
+
const {
|
|
157
|
+
x: o,
|
|
158
|
+
y: i,
|
|
159
|
+
platform: s,
|
|
160
|
+
rects: r,
|
|
161
|
+
elements: c,
|
|
162
|
+
strategy: a
|
|
163
|
+
} = t, {
|
|
164
|
+
boundary: d = "clippingAncestors",
|
|
165
|
+
rootBoundary: u = "viewport",
|
|
166
|
+
elementContext: l = "floating",
|
|
167
|
+
altBoundary: m = !1,
|
|
168
|
+
padding: f = 0
|
|
169
|
+
} = Y(e, t), h = wt(f), w = c[m ? l === "floating" ? "reference" : "floating" : l], p = Q(await s.getClippingRect({
|
|
170
|
+
element: (n = await (s.isElement == null ? void 0 : s.isElement(w))) == null || n ? w : w.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
|
|
171
|
+
boundary: d,
|
|
172
|
+
rootBoundary: u,
|
|
173
|
+
strategy: a
|
|
174
|
+
})), x = l === "floating" ? {
|
|
175
|
+
x: o,
|
|
176
|
+
y: i,
|
|
177
|
+
width: r.floating.width,
|
|
178
|
+
height: r.floating.height
|
|
179
|
+
} : r.reference, y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), b = await (s.isElement == null ? void 0 : s.isElement(y)) ? await (s.getScale == null ? void 0 : s.getScale(y)) || {
|
|
180
|
+
x: 1,
|
|
181
|
+
y: 1
|
|
182
|
+
} : {
|
|
183
|
+
x: 1,
|
|
184
|
+
y: 1
|
|
185
|
+
}, O = Q(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
186
|
+
elements: c,
|
|
187
|
+
rect: x,
|
|
188
|
+
offsetParent: y,
|
|
189
|
+
strategy: a
|
|
190
|
+
}) : x);
|
|
191
|
+
return {
|
|
192
|
+
top: (p.top - O.top + h.top) / b.y,
|
|
193
|
+
bottom: (O.bottom - p.bottom + h.bottom) / b.y,
|
|
194
|
+
left: (p.left - O.left + h.left) / b.x,
|
|
195
|
+
right: (O.right - p.right + h.right) / b.x
|
|
196
|
+
};
|
|
154
197
|
}
|
|
155
|
-
const Zt = async (t, e, n) => {
|
|
198
|
+
const Zt = 50, te = async (t, e, n) => {
|
|
156
199
|
const {
|
|
157
200
|
placement: o = "bottom",
|
|
158
201
|
strategy: i = "absolute",
|
|
159
202
|
middleware: s = [],
|
|
160
203
|
platform: r
|
|
161
|
-
} = n, c =
|
|
162
|
-
|
|
204
|
+
} = n, c = r.detectOverflow ? r : {
|
|
205
|
+
...r,
|
|
206
|
+
detectOverflow: Qt
|
|
207
|
+
}, a = await (r.isRTL == null ? void 0 : r.isRTL(e));
|
|
208
|
+
let d = await r.getElementRects({
|
|
163
209
|
reference: t,
|
|
164
210
|
floating: e,
|
|
165
211
|
strategy: i
|
|
166
212
|
}), {
|
|
167
213
|
x: u,
|
|
168
214
|
y: l
|
|
169
|
-
} =
|
|
170
|
-
|
|
215
|
+
} = Ct(d, o, a), m = o, f = 0;
|
|
216
|
+
const h = {};
|
|
217
|
+
for (let g = 0; g < s.length; g++) {
|
|
218
|
+
const w = s[g];
|
|
219
|
+
if (!w)
|
|
220
|
+
continue;
|
|
171
221
|
const {
|
|
172
222
|
name: p,
|
|
173
|
-
fn:
|
|
174
|
-
} =
|
|
175
|
-
x,
|
|
176
|
-
y:
|
|
177
|
-
data:
|
|
178
|
-
reset:
|
|
179
|
-
} = await
|
|
223
|
+
fn: x
|
|
224
|
+
} = w, {
|
|
225
|
+
x: y,
|
|
226
|
+
y: b,
|
|
227
|
+
data: O,
|
|
228
|
+
reset: R
|
|
229
|
+
} = await x({
|
|
180
230
|
x: u,
|
|
181
231
|
y: l,
|
|
182
232
|
initialPlacement: o,
|
|
183
233
|
placement: m,
|
|
184
234
|
strategy: i,
|
|
185
|
-
middlewareData:
|
|
186
|
-
rects:
|
|
187
|
-
platform:
|
|
235
|
+
middlewareData: h,
|
|
236
|
+
rects: d,
|
|
237
|
+
platform: c,
|
|
188
238
|
elements: {
|
|
189
239
|
reference: t,
|
|
190
240
|
floating: e
|
|
191
241
|
}
|
|
192
242
|
});
|
|
193
|
-
u =
|
|
194
|
-
...
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
...R
|
|
198
|
-
}
|
|
199
|
-
}, b && h <= 50 && (h++, typeof b == "object" && (b.placement && (m = b.placement), b.rects && (f = b.rects === !0 ? await r.getElementRects({
|
|
243
|
+
u = y ?? u, l = b ?? l, h[p] = {
|
|
244
|
+
...h[p],
|
|
245
|
+
...O
|
|
246
|
+
}, R && f < Zt && (f++, typeof R == "object" && (R.placement && (m = R.placement), R.rects && (d = R.rects === !0 ? await r.getElementRects({
|
|
200
247
|
reference: t,
|
|
201
248
|
floating: e,
|
|
202
249
|
strategy: i
|
|
203
|
-
}) :
|
|
250
|
+
}) : R.rects), {
|
|
204
251
|
x: u,
|
|
205
252
|
y: l
|
|
206
|
-
} =
|
|
253
|
+
} = Ct(d, m, a)), g = -1);
|
|
207
254
|
}
|
|
208
255
|
return {
|
|
209
256
|
x: u,
|
|
210
257
|
y: l,
|
|
211
258
|
placement: m,
|
|
212
259
|
strategy: i,
|
|
213
|
-
middlewareData:
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
|
-
async function Q(t, e) {
|
|
217
|
-
var n;
|
|
218
|
-
e === void 0 && (e = {});
|
|
219
|
-
const {
|
|
220
|
-
x: o,
|
|
221
|
-
y: i,
|
|
222
|
-
platform: s,
|
|
223
|
-
rects: r,
|
|
224
|
-
elements: c,
|
|
225
|
-
strategy: a
|
|
226
|
-
} = t, {
|
|
227
|
-
boundary: f = "clippingAncestors",
|
|
228
|
-
rootBoundary: u = "viewport",
|
|
229
|
-
elementContext: l = "floating",
|
|
230
|
-
altBoundary: m = !1,
|
|
231
|
-
padding: d = 0
|
|
232
|
-
} = j(e, t), h = pt(d), p = c[m ? l === "floating" ? "reference" : "floating" : l], w = J(await s.getClippingRect({
|
|
233
|
-
element: (n = await (s.isElement == null ? void 0 : s.isElement(p))) == null || n ? p : p.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(c.floating)),
|
|
234
|
-
boundary: f,
|
|
235
|
-
rootBoundary: u,
|
|
236
|
-
strategy: a
|
|
237
|
-
})), x = l === "floating" ? {
|
|
238
|
-
x: o,
|
|
239
|
-
y: i,
|
|
240
|
-
width: r.floating.width,
|
|
241
|
-
height: r.floating.height
|
|
242
|
-
} : r.reference, v = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(c.floating)), R = await (s.isElement == null ? void 0 : s.isElement(v)) ? await (s.getScale == null ? void 0 : s.getScale(v)) || {
|
|
243
|
-
x: 1,
|
|
244
|
-
y: 1
|
|
245
|
-
} : {
|
|
246
|
-
x: 1,
|
|
247
|
-
y: 1
|
|
248
|
-
}, b = J(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
249
|
-
elements: c,
|
|
250
|
-
rect: x,
|
|
251
|
-
offsetParent: v,
|
|
252
|
-
strategy: a
|
|
253
|
-
}) : x);
|
|
254
|
-
return {
|
|
255
|
-
top: (w.top - b.top + h.top) / R.y,
|
|
256
|
-
bottom: (b.bottom - w.bottom + h.bottom) / R.y,
|
|
257
|
-
left: (w.left - b.left + h.left) / R.x,
|
|
258
|
-
right: (b.right - w.right + h.right) / R.x
|
|
260
|
+
middlewareData: h
|
|
259
261
|
};
|
|
260
|
-
}
|
|
261
|
-
const te = (t) => ({
|
|
262
|
+
}, ee = (t) => ({
|
|
262
263
|
name: "arrow",
|
|
263
264
|
options: t,
|
|
264
265
|
async fn(e) {
|
|
@@ -271,35 +272,35 @@ const te = (t) => ({
|
|
|
271
272
|
elements: c,
|
|
272
273
|
middlewareData: a
|
|
273
274
|
} = e, {
|
|
274
|
-
element:
|
|
275
|
+
element: d,
|
|
275
276
|
padding: u = 0
|
|
276
|
-
} =
|
|
277
|
-
if (
|
|
277
|
+
} = Y(t, e) || {};
|
|
278
|
+
if (d == null)
|
|
278
279
|
return {};
|
|
279
|
-
const l =
|
|
280
|
+
const l = wt(u), m = {
|
|
280
281
|
x: n,
|
|
281
282
|
y: o
|
|
282
|
-
},
|
|
283
|
-
let
|
|
284
|
-
(!
|
|
285
|
-
const B =
|
|
283
|
+
}, f = pt(i), h = gt(f), g = await r.getDimensions(d), w = f === "y", p = w ? "top" : "left", x = w ? "bottom" : "right", y = w ? "clientHeight" : "clientWidth", b = s.reference[h] + s.reference[f] - m[f] - s.floating[h], O = m[f] - s.reference[f], R = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(d));
|
|
284
|
+
let A = R ? R[y] : 0;
|
|
285
|
+
(!A || !await (r.isElement == null ? void 0 : r.isElement(R))) && (A = c.floating[y] || s.floating[h]);
|
|
286
|
+
const B = b / 2 - O / 2, T = A / 2 - g[h] / 2 - 1, v = H(l[p], T), C = H(l[x], T), P = v, E = A - g[h] - C, S = A / 2 - g[h] / 2 + B, k = mt(P, S, E), W = !a.arrow && N(i) != null && S !== k && s.reference[h] / 2 - (S < P ? v : C) - g[h] / 2 < 0, D = W ? S < P ? S - P : S - E : 0;
|
|
286
287
|
return {
|
|
287
|
-
[
|
|
288
|
+
[f]: m[f] + D,
|
|
288
289
|
data: {
|
|
289
|
-
[
|
|
290
|
-
centerOffset:
|
|
291
|
-
...
|
|
290
|
+
[f]: k,
|
|
291
|
+
centerOffset: S - k - D,
|
|
292
|
+
...W && {
|
|
292
293
|
alignmentOffset: D
|
|
293
294
|
}
|
|
294
295
|
},
|
|
295
|
-
reset:
|
|
296
|
+
reset: W
|
|
296
297
|
};
|
|
297
298
|
}
|
|
298
299
|
});
|
|
299
|
-
function
|
|
300
|
-
return (t ? [...n.filter((i) =>
|
|
300
|
+
function ne(t, e, n) {
|
|
301
|
+
return (t ? [...n.filter((i) => N(i) === t), ...n.filter((i) => N(i) !== t)] : n.filter((i) => $(i) === i)).filter((i) => t ? N(i) === t || (e ? st(i) !== i : !1) : !0);
|
|
301
302
|
}
|
|
302
|
-
const
|
|
303
|
+
const oe = function(t) {
|
|
303
304
|
return t === void 0 && (t = {}), {
|
|
304
305
|
name: "autoPlacement",
|
|
305
306
|
options: t,
|
|
@@ -310,56 +311,56 @@ const ne = function(t) {
|
|
|
310
311
|
middlewareData: r,
|
|
311
312
|
placement: c,
|
|
312
313
|
platform: a,
|
|
313
|
-
elements:
|
|
314
|
+
elements: d
|
|
314
315
|
} = e, {
|
|
315
316
|
crossAxis: u = !1,
|
|
316
317
|
alignment: l,
|
|
317
|
-
allowedPlacements: m =
|
|
318
|
-
autoAlignment:
|
|
318
|
+
allowedPlacements: m = Rt,
|
|
319
|
+
autoAlignment: f = !0,
|
|
319
320
|
...h
|
|
320
|
-
} =
|
|
321
|
+
} = Y(t, e), g = l !== void 0 || m === Rt ? ne(l || null, f, m) : m, w = await a.detectOverflow(e, h), p = ((n = r.autoPlacement) == null ? void 0 : n.index) || 0, x = g[p];
|
|
321
322
|
if (x == null)
|
|
322
323
|
return {};
|
|
323
|
-
const
|
|
324
|
+
const y = Bt(x, s, await (a.isRTL == null ? void 0 : a.isRTL(d.floating)));
|
|
324
325
|
if (c !== x)
|
|
325
326
|
return {
|
|
326
327
|
reset: {
|
|
327
328
|
placement: g[0]
|
|
328
329
|
}
|
|
329
330
|
};
|
|
330
|
-
const
|
|
331
|
+
const b = [w[$(x)], w[y[0]], w[y[1]]], O = [...((o = r.autoPlacement) == null ? void 0 : o.overflows) || [], {
|
|
331
332
|
placement: x,
|
|
332
|
-
overflows:
|
|
333
|
-
}],
|
|
334
|
-
if (
|
|
333
|
+
overflows: b
|
|
334
|
+
}], R = g[p + 1];
|
|
335
|
+
if (R)
|
|
335
336
|
return {
|
|
336
337
|
data: {
|
|
337
|
-
index:
|
|
338
|
-
overflows:
|
|
338
|
+
index: p + 1,
|
|
339
|
+
overflows: O
|
|
339
340
|
},
|
|
340
341
|
reset: {
|
|
341
|
-
placement:
|
|
342
|
+
placement: R
|
|
342
343
|
}
|
|
343
344
|
};
|
|
344
|
-
const
|
|
345
|
-
const
|
|
346
|
-
return [
|
|
345
|
+
const A = O.map((v) => {
|
|
346
|
+
const C = N(v.placement);
|
|
347
|
+
return [v.placement, C && u ? (
|
|
347
348
|
// Check along the mainAxis and main crossAxis side.
|
|
348
|
-
|
|
349
|
+
v.overflows.slice(0, 2).reduce((P, E) => P + E, 0)
|
|
349
350
|
) : (
|
|
350
351
|
// Check only the mainAxis.
|
|
351
|
-
|
|
352
|
-
),
|
|
353
|
-
}).sort((
|
|
352
|
+
v.overflows[0]
|
|
353
|
+
), v.overflows];
|
|
354
|
+
}).sort((v, C) => v[1] - C[1]), T = ((i = A.filter((v) => v[2].slice(
|
|
354
355
|
0,
|
|
355
356
|
// Aligned placements should not check their opposite crossAxis
|
|
356
357
|
// side.
|
|
357
|
-
|
|
358
|
-
).every((
|
|
358
|
+
N(v[0]) ? 2 : 3
|
|
359
|
+
).every((C) => C <= 0))[0]) == null ? void 0 : i[0]) || A[0][0];
|
|
359
360
|
return T !== c ? {
|
|
360
361
|
data: {
|
|
361
|
-
index:
|
|
362
|
-
overflows:
|
|
362
|
+
index: p + 1,
|
|
363
|
+
overflows: O
|
|
363
364
|
},
|
|
364
365
|
reset: {
|
|
365
366
|
placement: T
|
|
@@ -367,7 +368,7 @@ const ne = function(t) {
|
|
|
367
368
|
} : {};
|
|
368
369
|
}
|
|
369
370
|
};
|
|
370
|
-
},
|
|
371
|
+
}, ie = function(t) {
|
|
371
372
|
return t === void 0 && (t = {}), {
|
|
372
373
|
name: "flip",
|
|
373
374
|
options: t,
|
|
@@ -379,69 +380,69 @@ const ne = function(t) {
|
|
|
379
380
|
rects: r,
|
|
380
381
|
initialPlacement: c,
|
|
381
382
|
platform: a,
|
|
382
|
-
elements:
|
|
383
|
+
elements: d
|
|
383
384
|
} = e, {
|
|
384
385
|
mainAxis: u = !0,
|
|
385
386
|
crossAxis: l = !0,
|
|
386
387
|
fallbackPlacements: m,
|
|
387
|
-
fallbackStrategy:
|
|
388
|
+
fallbackStrategy: f = "bestFit",
|
|
388
389
|
fallbackAxisSideDirection: h = "none",
|
|
389
390
|
flipAlignment: g = !0,
|
|
390
|
-
...
|
|
391
|
-
} =
|
|
391
|
+
...w
|
|
392
|
+
} = Y(t, e);
|
|
392
393
|
if ((n = s.arrow) != null && n.alignmentOffset)
|
|
393
394
|
return {};
|
|
394
|
-
const
|
|
395
|
-
!m &&
|
|
396
|
-
const
|
|
397
|
-
let
|
|
398
|
-
if (u && T.push(B[
|
|
399
|
-
const
|
|
400
|
-
T.push(B[
|
|
395
|
+
const p = $(i), x = z(c), y = $(c) === c, b = await (a.isRTL == null ? void 0 : a.isRTL(d.floating)), O = m || (y || !g ? [rt(c)] : jt(c)), R = h !== "none";
|
|
396
|
+
!m && R && O.push(...Gt(c, g, h, b));
|
|
397
|
+
const A = [c, ...O], B = await a.detectOverflow(e, w), T = [];
|
|
398
|
+
let v = ((o = s.flip) == null ? void 0 : o.overflows) || [];
|
|
399
|
+
if (u && T.push(B[p]), l) {
|
|
400
|
+
const S = Bt(i, r, b);
|
|
401
|
+
T.push(B[S[0]], B[S[1]]);
|
|
401
402
|
}
|
|
402
|
-
if (
|
|
403
|
+
if (v = [...v, {
|
|
403
404
|
placement: i,
|
|
404
405
|
overflows: T
|
|
405
|
-
}], !T.every((
|
|
406
|
-
var
|
|
407
|
-
const
|
|
408
|
-
if (
|
|
406
|
+
}], !T.every((S) => S <= 0)) {
|
|
407
|
+
var C, P;
|
|
408
|
+
const S = (((C = s.flip) == null ? void 0 : C.index) || 0) + 1, k = A[S];
|
|
409
|
+
if (k && (!(l === "alignment" ? x !== z(k) : !1) || // We leave the current main axis only if every placement on that axis
|
|
409
410
|
// overflows the main axis.
|
|
410
|
-
|
|
411
|
+
v.every((F) => z(F.placement) === x ? F.overflows[0] > 0 : !0)))
|
|
411
412
|
return {
|
|
412
413
|
data: {
|
|
413
|
-
index:
|
|
414
|
-
overflows:
|
|
414
|
+
index: S,
|
|
415
|
+
overflows: v
|
|
415
416
|
},
|
|
416
417
|
reset: {
|
|
417
|
-
placement:
|
|
418
|
+
placement: k
|
|
418
419
|
}
|
|
419
420
|
};
|
|
420
|
-
let
|
|
421
|
-
if (!
|
|
422
|
-
switch (
|
|
421
|
+
let W = (P = v.filter((D) => D.overflows[0] <= 0).sort((D, F) => D.overflows[1] - F.overflows[1])[0]) == null ? void 0 : P.placement;
|
|
422
|
+
if (!W)
|
|
423
|
+
switch (f) {
|
|
423
424
|
case "bestFit": {
|
|
424
425
|
var E;
|
|
425
|
-
const D = (E =
|
|
426
|
-
if (
|
|
426
|
+
const D = (E = v.filter((F) => {
|
|
427
|
+
if (R) {
|
|
427
428
|
const q = z(F.placement);
|
|
428
429
|
return q === x || // Create a bias to the `y` side axis due to horizontal
|
|
429
430
|
// reading directions favoring greater width.
|
|
430
431
|
q === "y";
|
|
431
432
|
}
|
|
432
433
|
return !0;
|
|
433
|
-
}).map((F) => [F.placement, F.overflows.filter((q) => q > 0).reduce((q,
|
|
434
|
-
D && (
|
|
434
|
+
}).map((F) => [F.placement, F.overflows.filter((q) => q > 0).reduce((q, Xt) => q + Xt, 0)]).sort((F, q) => F[1] - q[1])[0]) == null ? void 0 : E[0];
|
|
435
|
+
D && (W = D);
|
|
435
436
|
break;
|
|
436
437
|
}
|
|
437
438
|
case "initialPlacement":
|
|
438
|
-
|
|
439
|
+
W = c;
|
|
439
440
|
break;
|
|
440
441
|
}
|
|
441
|
-
if (i !==
|
|
442
|
+
if (i !== W)
|
|
442
443
|
return {
|
|
443
444
|
reset: {
|
|
444
|
-
placement:
|
|
445
|
+
placement: W
|
|
445
446
|
}
|
|
446
447
|
};
|
|
447
448
|
}
|
|
@@ -457,42 +458,43 @@ function St(t, e) {
|
|
|
457
458
|
left: t.left - e.width
|
|
458
459
|
};
|
|
459
460
|
}
|
|
460
|
-
function
|
|
461
|
-
return
|
|
461
|
+
function Lt(t) {
|
|
462
|
+
return Ft.some((e) => t[e] >= 0);
|
|
462
463
|
}
|
|
463
|
-
const
|
|
464
|
+
const se = function(t) {
|
|
464
465
|
return t === void 0 && (t = {}), {
|
|
465
466
|
name: "hide",
|
|
466
467
|
options: t,
|
|
467
468
|
async fn(e) {
|
|
468
469
|
const {
|
|
469
|
-
rects: n
|
|
470
|
+
rects: n,
|
|
471
|
+
platform: o
|
|
470
472
|
} = e, {
|
|
471
|
-
strategy:
|
|
472
|
-
...
|
|
473
|
-
} =
|
|
474
|
-
switch (
|
|
473
|
+
strategy: i = "referenceHidden",
|
|
474
|
+
...s
|
|
475
|
+
} = Y(t, e);
|
|
476
|
+
switch (i) {
|
|
475
477
|
case "referenceHidden": {
|
|
476
|
-
const
|
|
477
|
-
...
|
|
478
|
+
const r = await o.detectOverflow(e, {
|
|
479
|
+
...s,
|
|
478
480
|
elementContext: "reference"
|
|
479
|
-
}),
|
|
481
|
+
}), c = St(r, n.reference);
|
|
480
482
|
return {
|
|
481
483
|
data: {
|
|
482
|
-
referenceHiddenOffsets:
|
|
483
|
-
referenceHidden:
|
|
484
|
+
referenceHiddenOffsets: c,
|
|
485
|
+
referenceHidden: Lt(c)
|
|
484
486
|
}
|
|
485
487
|
};
|
|
486
488
|
}
|
|
487
489
|
case "escaped": {
|
|
488
|
-
const
|
|
489
|
-
...
|
|
490
|
+
const r = await o.detectOverflow(e, {
|
|
491
|
+
...s,
|
|
490
492
|
altBoundary: !0
|
|
491
|
-
}),
|
|
493
|
+
}), c = St(r, n.floating);
|
|
492
494
|
return {
|
|
493
495
|
data: {
|
|
494
|
-
escapedOffsets:
|
|
495
|
-
escaped:
|
|
496
|
+
escapedOffsets: c,
|
|
497
|
+
escaped: Lt(c)
|
|
496
498
|
}
|
|
497
499
|
};
|
|
498
500
|
}
|
|
@@ -502,8 +504,8 @@ const ie = function(t) {
|
|
|
502
504
|
}
|
|
503
505
|
};
|
|
504
506
|
};
|
|
505
|
-
function
|
|
506
|
-
const e =
|
|
507
|
+
function Wt(t) {
|
|
508
|
+
const e = H(...t.map((s) => s.left)), n = H(...t.map((s) => s.top)), o = L(...t.map((s) => s.right)), i = L(...t.map((s) => s.bottom));
|
|
507
509
|
return {
|
|
508
510
|
x: e,
|
|
509
511
|
y: n,
|
|
@@ -511,16 +513,16 @@ function Bt(t) {
|
|
|
511
513
|
height: i - n
|
|
512
514
|
};
|
|
513
515
|
}
|
|
514
|
-
function
|
|
516
|
+
function re(t) {
|
|
515
517
|
const e = t.slice().sort((i, s) => i.y - s.y), n = [];
|
|
516
518
|
let o = null;
|
|
517
519
|
for (let i = 0; i < e.length; i++) {
|
|
518
520
|
const s = e[i];
|
|
519
521
|
!o || s.y - o.y > o.height / 2 ? n.push([s]) : n[n.length - 1].push(s), o = s;
|
|
520
522
|
}
|
|
521
|
-
return n.map((i) =>
|
|
523
|
+
return n.map((i) => Q(Wt(i)));
|
|
522
524
|
}
|
|
523
|
-
const
|
|
525
|
+
const ce = function(t) {
|
|
524
526
|
return t === void 0 && (t = {}), {
|
|
525
527
|
name: "inline",
|
|
526
528
|
options: t,
|
|
@@ -534,35 +536,35 @@ const re = function(t) {
|
|
|
534
536
|
} = e, {
|
|
535
537
|
padding: c = 2,
|
|
536
538
|
x: a,
|
|
537
|
-
y:
|
|
538
|
-
} =
|
|
539
|
+
y: d
|
|
540
|
+
} = Y(t, e), u = Array.from(await (s.getClientRects == null ? void 0 : s.getClientRects(o.reference)) || []), l = re(u), m = Q(Wt(u)), f = wt(c);
|
|
539
541
|
function h() {
|
|
540
|
-
if (l.length === 2 && l[0].left > l[1].right && a != null &&
|
|
541
|
-
return l.find((
|
|
542
|
+
if (l.length === 2 && l[0].left > l[1].right && a != null && d != null)
|
|
543
|
+
return l.find((w) => a > w.left - f.left && a < w.right + f.right && d > w.top - f.top && d < w.bottom + f.bottom) || m;
|
|
542
544
|
if (l.length >= 2) {
|
|
543
545
|
if (z(n) === "y") {
|
|
544
|
-
const
|
|
546
|
+
const v = l[0], C = l[l.length - 1], P = $(n) === "top", E = v.top, S = C.bottom, k = P ? v.left : C.left, W = P ? v.right : C.right, D = W - k, F = S - E;
|
|
545
547
|
return {
|
|
546
548
|
top: E,
|
|
547
|
-
bottom:
|
|
548
|
-
left:
|
|
549
|
-
right:
|
|
549
|
+
bottom: S,
|
|
550
|
+
left: k,
|
|
551
|
+
right: W,
|
|
550
552
|
width: D,
|
|
551
553
|
height: F,
|
|
552
|
-
x:
|
|
554
|
+
x: k,
|
|
553
555
|
y: E
|
|
554
556
|
};
|
|
555
557
|
}
|
|
556
|
-
const
|
|
558
|
+
const w = $(n) === "left", p = L(...l.map((v) => v.right)), x = H(...l.map((v) => v.left)), y = l.filter((v) => w ? v.left === x : v.right === p), b = y[0].top, O = y[y.length - 1].bottom, R = x, A = p, B = A - R, T = O - b;
|
|
557
559
|
return {
|
|
558
|
-
top:
|
|
559
|
-
bottom:
|
|
560
|
-
left:
|
|
561
|
-
right:
|
|
560
|
+
top: b,
|
|
561
|
+
bottom: O,
|
|
562
|
+
left: R,
|
|
563
|
+
right: A,
|
|
562
564
|
width: B,
|
|
563
565
|
height: T,
|
|
564
|
-
x:
|
|
565
|
-
y:
|
|
566
|
+
x: R,
|
|
567
|
+
y: b
|
|
566
568
|
};
|
|
567
569
|
}
|
|
568
570
|
return m;
|
|
@@ -581,16 +583,16 @@ const re = function(t) {
|
|
|
581
583
|
} : {};
|
|
582
584
|
}
|
|
583
585
|
};
|
|
584
|
-
},
|
|
585
|
-
async function
|
|
586
|
+
}, le = /* @__PURE__ */ new Set(["left", "top"]);
|
|
587
|
+
async function ae(t, e) {
|
|
586
588
|
const {
|
|
587
589
|
placement: n,
|
|
588
590
|
platform: o,
|
|
589
591
|
elements: i
|
|
590
|
-
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r =
|
|
592
|
+
} = t, s = await (o.isRTL == null ? void 0 : o.isRTL(i.floating)), r = $(n), c = N(n), a = z(n) === "y", d = le.has(r) ? -1 : 1, u = s && a ? -1 : 1, l = Y(e, t);
|
|
591
593
|
let {
|
|
592
594
|
mainAxis: m,
|
|
593
|
-
crossAxis:
|
|
595
|
+
crossAxis: f,
|
|
594
596
|
alignmentAxis: h
|
|
595
597
|
} = typeof l == "number" ? {
|
|
596
598
|
mainAxis: l,
|
|
@@ -601,15 +603,15 @@ async function le(t, e) {
|
|
|
601
603
|
crossAxis: l.crossAxis || 0,
|
|
602
604
|
alignmentAxis: l.alignmentAxis
|
|
603
605
|
};
|
|
604
|
-
return c && typeof h == "number" && (
|
|
605
|
-
x:
|
|
606
|
-
y: m *
|
|
606
|
+
return c && typeof h == "number" && (f = c === "end" ? h * -1 : h), a ? {
|
|
607
|
+
x: f * u,
|
|
608
|
+
y: m * d
|
|
607
609
|
} : {
|
|
608
|
-
x: m *
|
|
609
|
-
y:
|
|
610
|
+
x: m * d,
|
|
611
|
+
y: f * u
|
|
610
612
|
};
|
|
611
613
|
}
|
|
612
|
-
const
|
|
614
|
+
const fe = function(t) {
|
|
613
615
|
return t === void 0 && (t = 0), {
|
|
614
616
|
name: "offset",
|
|
615
617
|
options: t,
|
|
@@ -620,7 +622,7 @@ const ae = function(t) {
|
|
|
620
622
|
y: s,
|
|
621
623
|
placement: r,
|
|
622
624
|
middlewareData: c
|
|
623
|
-
} = e, a = await
|
|
625
|
+
} = e, a = await ae(e, t);
|
|
624
626
|
return r === ((n = c.offset) == null ? void 0 : n.placement) && (o = c.arrow) != null && o.alignmentOffset ? {} : {
|
|
625
627
|
x: i + a.x,
|
|
626
628
|
y: s + a.y,
|
|
@@ -631,7 +633,7 @@ const ae = function(t) {
|
|
|
631
633
|
};
|
|
632
634
|
}
|
|
633
635
|
};
|
|
634
|
-
},
|
|
636
|
+
}, ue = function(t) {
|
|
635
637
|
return t === void 0 && (t = {}), {
|
|
636
638
|
name: "shift",
|
|
637
639
|
options: t,
|
|
@@ -639,55 +641,56 @@ const ae = function(t) {
|
|
|
639
641
|
const {
|
|
640
642
|
x: n,
|
|
641
643
|
y: o,
|
|
642
|
-
placement: i
|
|
644
|
+
placement: i,
|
|
645
|
+
platform: s
|
|
643
646
|
} = e, {
|
|
644
|
-
mainAxis:
|
|
645
|
-
crossAxis:
|
|
646
|
-
limiter:
|
|
647
|
+
mainAxis: r = !0,
|
|
648
|
+
crossAxis: c = !1,
|
|
649
|
+
limiter: a = {
|
|
647
650
|
fn: (p) => {
|
|
648
651
|
let {
|
|
649
|
-
x
|
|
650
|
-
y
|
|
652
|
+
x,
|
|
653
|
+
y
|
|
651
654
|
} = p;
|
|
652
655
|
return {
|
|
653
|
-
x
|
|
654
|
-
y
|
|
656
|
+
x,
|
|
657
|
+
y
|
|
655
658
|
};
|
|
656
659
|
}
|
|
657
660
|
},
|
|
658
|
-
...
|
|
659
|
-
} =
|
|
661
|
+
...d
|
|
662
|
+
} = Y(t, e), u = {
|
|
660
663
|
x: n,
|
|
661
664
|
y: o
|
|
662
|
-
},
|
|
663
|
-
let
|
|
664
|
-
if (s) {
|
|
665
|
-
const p = m === "y" ? "top" : "left", w = m === "y" ? "bottom" : "right", x = d + u[p], v = d - u[w];
|
|
666
|
-
d = dt(x, d, v);
|
|
667
|
-
}
|
|
665
|
+
}, l = await s.detectOverflow(e, d), m = z($(i)), f = Mt(m);
|
|
666
|
+
let h = u[f], g = u[m];
|
|
668
667
|
if (r) {
|
|
669
|
-
const p =
|
|
670
|
-
h =
|
|
668
|
+
const p = f === "y" ? "top" : "left", x = f === "y" ? "bottom" : "right", y = h + l[p], b = h - l[x];
|
|
669
|
+
h = mt(y, h, b);
|
|
670
|
+
}
|
|
671
|
+
if (c) {
|
|
672
|
+
const p = m === "y" ? "top" : "left", x = m === "y" ? "bottom" : "right", y = g + l[p], b = g - l[x];
|
|
673
|
+
g = mt(y, g, b);
|
|
671
674
|
}
|
|
672
|
-
const
|
|
675
|
+
const w = a.fn({
|
|
673
676
|
...e,
|
|
674
|
-
[
|
|
675
|
-
[
|
|
677
|
+
[f]: h,
|
|
678
|
+
[m]: g
|
|
676
679
|
});
|
|
677
680
|
return {
|
|
678
|
-
...
|
|
681
|
+
...w,
|
|
679
682
|
data: {
|
|
680
|
-
x:
|
|
681
|
-
y:
|
|
683
|
+
x: w.x - n,
|
|
684
|
+
y: w.y - o,
|
|
682
685
|
enabled: {
|
|
683
|
-
[
|
|
684
|
-
[
|
|
686
|
+
[f]: r,
|
|
687
|
+
[m]: c
|
|
685
688
|
}
|
|
686
689
|
}
|
|
687
690
|
};
|
|
688
691
|
}
|
|
689
692
|
};
|
|
690
|
-
},
|
|
693
|
+
}, de = function(t) {
|
|
691
694
|
return t === void 0 && (t = {}), {
|
|
692
695
|
name: "size",
|
|
693
696
|
options: t,
|
|
@@ -701,23 +704,23 @@ const ae = function(t) {
|
|
|
701
704
|
} = e, {
|
|
702
705
|
apply: a = () => {
|
|
703
706
|
},
|
|
704
|
-
...
|
|
705
|
-
} =
|
|
707
|
+
...d
|
|
708
|
+
} = Y(t, e), u = await r.detectOverflow(e, d), l = $(i), m = N(i), f = z(i) === "y", {
|
|
706
709
|
width: h,
|
|
707
710
|
height: g
|
|
708
711
|
} = s.floating;
|
|
709
|
-
let
|
|
710
|
-
l === "top" || l === "bottom" ? (
|
|
711
|
-
const x = g - u.top - u.bottom,
|
|
712
|
-
let
|
|
713
|
-
if ((n = e.middlewareData.shift) != null && n.enabled.x && (B =
|
|
714
|
-
const
|
|
715
|
-
|
|
712
|
+
let w, p;
|
|
713
|
+
l === "top" || l === "bottom" ? (w = l, p = m === (await (r.isRTL == null ? void 0 : r.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (p = l, w = m === "end" ? "top" : "bottom");
|
|
714
|
+
const x = g - u.top - u.bottom, y = h - u.left - u.right, b = H(g - u[w], x), O = H(h - u[p], y), R = !e.middlewareData.shift;
|
|
715
|
+
let A = b, B = O;
|
|
716
|
+
if ((n = e.middlewareData.shift) != null && n.enabled.x && (B = y), (o = e.middlewareData.shift) != null && o.enabled.y && (A = x), R && !m) {
|
|
717
|
+
const v = L(u.left, 0), C = L(u.right, 0), P = L(u.top, 0), E = L(u.bottom, 0);
|
|
718
|
+
f ? B = h - 2 * (v !== 0 || C !== 0 ? v + C : L(u.left, u.right)) : A = g - 2 * (P !== 0 || E !== 0 ? P + E : L(u.top, u.bottom));
|
|
716
719
|
}
|
|
717
720
|
await a({
|
|
718
721
|
...e,
|
|
719
722
|
availableWidth: B,
|
|
720
|
-
availableHeight:
|
|
723
|
+
availableHeight: A
|
|
721
724
|
});
|
|
722
725
|
const T = await r.getDimensions(c.floating);
|
|
723
726
|
return h !== T.width || g !== T.height ? {
|
|
@@ -732,61 +735,62 @@ function ct() {
|
|
|
732
735
|
return typeof window < "u";
|
|
733
736
|
}
|
|
734
737
|
function tt(t) {
|
|
735
|
-
return
|
|
738
|
+
return $t(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
736
739
|
}
|
|
737
740
|
function M(t) {
|
|
738
741
|
var e;
|
|
739
742
|
return (t == null || (e = t.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
740
743
|
}
|
|
741
|
-
function
|
|
744
|
+
function X(t) {
|
|
742
745
|
var e;
|
|
743
|
-
return (e = (
|
|
746
|
+
return (e = ($t(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
|
|
744
747
|
}
|
|
745
|
-
function
|
|
748
|
+
function $t(t) {
|
|
746
749
|
return ct() ? t instanceof Node || t instanceof M(t).Node : !1;
|
|
747
750
|
}
|
|
748
|
-
function
|
|
751
|
+
function _(t) {
|
|
749
752
|
return ct() ? t instanceof Element || t instanceof M(t).Element : !1;
|
|
750
753
|
}
|
|
751
|
-
function
|
|
754
|
+
function j(t) {
|
|
752
755
|
return ct() ? t instanceof HTMLElement || t instanceof M(t).HTMLElement : !1;
|
|
753
756
|
}
|
|
754
|
-
function
|
|
757
|
+
function Tt(t) {
|
|
755
758
|
return !ct() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof M(t).ShadowRoot;
|
|
756
759
|
}
|
|
757
|
-
const de = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
758
760
|
function nt(t) {
|
|
759
761
|
const {
|
|
760
762
|
overflow: e,
|
|
761
763
|
overflowX: n,
|
|
762
764
|
overflowY: o,
|
|
763
765
|
display: i
|
|
764
|
-
} =
|
|
765
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) &&
|
|
766
|
+
} = V(t);
|
|
767
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + o + n) && i !== "inline" && i !== "contents";
|
|
766
768
|
}
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
return me.has(tt(t));
|
|
769
|
+
function me(t) {
|
|
770
|
+
return /^(table|td|th)$/.test(tt(t));
|
|
770
771
|
}
|
|
771
|
-
const ge = [":popover-open", ":modal"];
|
|
772
772
|
function lt(t) {
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
return
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
773
|
+
try {
|
|
774
|
+
if (t.matches(":popover-open"))
|
|
775
|
+
return !0;
|
|
776
|
+
} catch {
|
|
777
|
+
}
|
|
778
|
+
try {
|
|
779
|
+
return t.matches(":modal");
|
|
780
|
+
} catch {
|
|
781
|
+
return !1;
|
|
782
|
+
}
|
|
780
783
|
}
|
|
781
|
-
const
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
784
|
+
const he = /transform|translate|scale|rotate|perspective|filter/, ge = /paint|layout|strict|content/, K = (t) => !!t && t !== "none";
|
|
785
|
+
let ut;
|
|
786
|
+
function xt(t) {
|
|
787
|
+
const e = _(t) ? V(t) : t;
|
|
788
|
+
return K(e.transform) || K(e.translate) || K(e.scale) || K(e.rotate) || K(e.perspective) || !yt() && (K(e.backdropFilter) || K(e.filter)) || he.test(e.willChange || "") || ge.test(e.contain || "");
|
|
785
789
|
}
|
|
786
|
-
function
|
|
790
|
+
function pe(t) {
|
|
787
791
|
let e = U(t);
|
|
788
|
-
for (;
|
|
789
|
-
if (
|
|
792
|
+
for (; j(e) && !Z(e); ) {
|
|
793
|
+
if (xt(e))
|
|
790
794
|
return e;
|
|
791
795
|
if (lt(e))
|
|
792
796
|
return null;
|
|
@@ -794,18 +798,17 @@ function ye(t) {
|
|
|
794
798
|
}
|
|
795
799
|
return null;
|
|
796
800
|
}
|
|
797
|
-
function
|
|
798
|
-
return typeof CSS
|
|
801
|
+
function yt() {
|
|
802
|
+
return ut == null && (ut = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), ut;
|
|
799
803
|
}
|
|
800
|
-
const ve = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
801
804
|
function Z(t) {
|
|
802
|
-
return
|
|
805
|
+
return /^(html|body|#document)$/.test(tt(t));
|
|
803
806
|
}
|
|
804
|
-
function
|
|
807
|
+
function V(t) {
|
|
805
808
|
return M(t).getComputedStyle(t);
|
|
806
809
|
}
|
|
807
810
|
function at(t) {
|
|
808
|
-
return
|
|
811
|
+
return _(t) ? {
|
|
809
812
|
scrollLeft: t.scrollLeft,
|
|
810
813
|
scrollTop: t.scrollTop
|
|
811
814
|
} : {
|
|
@@ -820,155 +823,155 @@ function U(t) {
|
|
|
820
823
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
821
824
|
t.assignedSlot || // DOM Element detected.
|
|
822
825
|
t.parentNode || // ShadowRoot detected.
|
|
823
|
-
|
|
824
|
-
|
|
826
|
+
Tt(t) && t.host || // Fallback.
|
|
827
|
+
X(t)
|
|
825
828
|
);
|
|
826
|
-
return
|
|
829
|
+
return Tt(e) ? e.host : e;
|
|
827
830
|
}
|
|
828
|
-
function
|
|
831
|
+
function kt(t) {
|
|
829
832
|
const e = U(t);
|
|
830
|
-
return Z(e) ? t.ownerDocument ? t.ownerDocument.body : t.body :
|
|
833
|
+
return Z(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : j(e) && nt(e) ? e : kt(e);
|
|
831
834
|
}
|
|
832
835
|
function et(t, e, n) {
|
|
833
836
|
var o;
|
|
834
837
|
e === void 0 && (e = []), n === void 0 && (n = !0);
|
|
835
|
-
const i =
|
|
838
|
+
const i = kt(t), s = i === ((o = t.ownerDocument) == null ? void 0 : o.body), r = M(i);
|
|
836
839
|
if (s) {
|
|
837
|
-
const c =
|
|
840
|
+
const c = ht(r);
|
|
838
841
|
return e.concat(r, r.visualViewport || [], nt(i) ? i : [], c && n ? et(c) : []);
|
|
839
|
-
}
|
|
840
|
-
|
|
842
|
+
} else
|
|
843
|
+
return e.concat(i, et(i, [], n));
|
|
841
844
|
}
|
|
842
|
-
function
|
|
845
|
+
function ht(t) {
|
|
843
846
|
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
844
847
|
}
|
|
845
|
-
function
|
|
846
|
-
const e =
|
|
848
|
+
function Nt(t) {
|
|
849
|
+
const e = V(t);
|
|
847
850
|
let n = parseFloat(e.width) || 0, o = parseFloat(e.height) || 0;
|
|
848
|
-
const i =
|
|
851
|
+
const i = j(t), s = i ? t.offsetWidth : n, r = i ? t.offsetHeight : o, c = it(n) !== s || it(o) !== r;
|
|
849
852
|
return c && (n = s, o = r), {
|
|
850
853
|
width: n,
|
|
851
854
|
height: o,
|
|
852
855
|
$: c
|
|
853
856
|
};
|
|
854
857
|
}
|
|
855
|
-
function
|
|
856
|
-
return
|
|
858
|
+
function vt(t) {
|
|
859
|
+
return _(t) ? t : t.contextElement;
|
|
857
860
|
}
|
|
858
|
-
function
|
|
859
|
-
const e =
|
|
860
|
-
if (!
|
|
861
|
+
function J(t) {
|
|
862
|
+
const e = vt(t);
|
|
863
|
+
if (!j(e))
|
|
861
864
|
return I(1);
|
|
862
865
|
const n = e.getBoundingClientRect(), {
|
|
863
866
|
width: o,
|
|
864
867
|
height: i,
|
|
865
868
|
$: s
|
|
866
|
-
} =
|
|
869
|
+
} = Nt(e);
|
|
867
870
|
let r = (s ? it(n.width) : n.width) / o, c = (s ? it(n.height) : n.height) / i;
|
|
868
871
|
return (!r || !Number.isFinite(r)) && (r = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
869
872
|
x: r,
|
|
870
873
|
y: c
|
|
871
874
|
};
|
|
872
875
|
}
|
|
873
|
-
const
|
|
876
|
+
const we = /* @__PURE__ */ I(0);
|
|
874
877
|
function Ht(t) {
|
|
875
878
|
const e = M(t);
|
|
876
|
-
return !
|
|
879
|
+
return !yt() || !e.visualViewport ? we : {
|
|
877
880
|
x: e.visualViewport.offsetLeft,
|
|
878
881
|
y: e.visualViewport.offsetTop
|
|
879
882
|
};
|
|
880
883
|
}
|
|
881
|
-
function
|
|
884
|
+
function xe(t, e, n) {
|
|
882
885
|
return e === void 0 && (e = !1), !n || e && n !== M(t) ? !1 : e;
|
|
883
886
|
}
|
|
884
|
-
function
|
|
887
|
+
function G(t, e, n, o) {
|
|
885
888
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
886
|
-
const i = t.getBoundingClientRect(), s =
|
|
889
|
+
const i = t.getBoundingClientRect(), s = vt(t);
|
|
887
890
|
let r = I(1);
|
|
888
|
-
e && (o ?
|
|
889
|
-
const c =
|
|
890
|
-
let a = (i.left + c.x) / r.x,
|
|
891
|
+
e && (o ? _(o) && (r = J(o)) : r = J(t));
|
|
892
|
+
const c = xe(s, n, o) ? Ht(s) : I(0);
|
|
893
|
+
let a = (i.left + c.x) / r.x, d = (i.top + c.y) / r.y, u = i.width / r.x, l = i.height / r.y;
|
|
891
894
|
if (s) {
|
|
892
|
-
const m = M(s),
|
|
893
|
-
let h = m, g =
|
|
894
|
-
for (; g && o &&
|
|
895
|
-
const
|
|
896
|
-
a *=
|
|
895
|
+
const m = M(s), f = o && _(o) ? M(o) : o;
|
|
896
|
+
let h = m, g = ht(h);
|
|
897
|
+
for (; g && o && f !== h; ) {
|
|
898
|
+
const w = J(g), p = g.getBoundingClientRect(), x = V(g), y = p.left + (g.clientLeft + parseFloat(x.paddingLeft)) * w.x, b = p.top + (g.clientTop + parseFloat(x.paddingTop)) * w.y;
|
|
899
|
+
a *= w.x, d *= w.y, u *= w.x, l *= w.y, a += y, d += b, h = M(g), g = ht(h);
|
|
897
900
|
}
|
|
898
901
|
}
|
|
899
|
-
return
|
|
902
|
+
return Q({
|
|
900
903
|
width: u,
|
|
901
904
|
height: l,
|
|
902
905
|
x: a,
|
|
903
|
-
y:
|
|
906
|
+
y: d
|
|
904
907
|
});
|
|
905
908
|
}
|
|
906
909
|
function ft(t, e) {
|
|
907
910
|
const n = at(t).scrollLeft;
|
|
908
|
-
return e ? e.left + n :
|
|
911
|
+
return e ? e.left + n : G(X(t)).left + n;
|
|
909
912
|
}
|
|
910
|
-
function
|
|
913
|
+
function _t(t, e) {
|
|
911
914
|
const n = t.getBoundingClientRect(), o = n.left + e.scrollLeft - ft(t, n), i = n.top + e.scrollTop;
|
|
912
915
|
return {
|
|
913
916
|
x: o,
|
|
914
917
|
y: i
|
|
915
918
|
};
|
|
916
919
|
}
|
|
917
|
-
function
|
|
920
|
+
function ye(t) {
|
|
918
921
|
let {
|
|
919
922
|
elements: e,
|
|
920
923
|
rect: n,
|
|
921
924
|
offsetParent: o,
|
|
922
925
|
strategy: i
|
|
923
926
|
} = t;
|
|
924
|
-
const s = i === "fixed", r =
|
|
927
|
+
const s = i === "fixed", r = X(o), c = e ? lt(e.floating) : !1;
|
|
925
928
|
if (o === r || c && s)
|
|
926
929
|
return n;
|
|
927
930
|
let a = {
|
|
928
931
|
scrollLeft: 0,
|
|
929
932
|
scrollTop: 0
|
|
930
|
-
},
|
|
931
|
-
const u = I(0), l =
|
|
932
|
-
if ((l || !l && !s) && ((tt(o) !== "body" || nt(r)) && (a = at(o)),
|
|
933
|
-
const
|
|
934
|
-
|
|
933
|
+
}, d = I(1);
|
|
934
|
+
const u = I(0), l = j(o);
|
|
935
|
+
if ((l || !l && !s) && ((tt(o) !== "body" || nt(r)) && (a = at(o)), l)) {
|
|
936
|
+
const f = G(o);
|
|
937
|
+
d = J(o), u.x = f.x + o.clientLeft, u.y = f.y + o.clientTop;
|
|
935
938
|
}
|
|
936
|
-
const m = r && !l && !s ?
|
|
939
|
+
const m = r && !l && !s ? _t(r, a) : I(0);
|
|
937
940
|
return {
|
|
938
|
-
width: n.width *
|
|
939
|
-
height: n.height *
|
|
940
|
-
x: n.x *
|
|
941
|
-
y: n.y *
|
|
941
|
+
width: n.width * d.x,
|
|
942
|
+
height: n.height * d.y,
|
|
943
|
+
x: n.x * d.x - a.scrollLeft * d.x + u.x + m.x,
|
|
944
|
+
y: n.y * d.y - a.scrollTop * d.y + u.y + m.y
|
|
942
945
|
};
|
|
943
946
|
}
|
|
944
|
-
function
|
|
947
|
+
function ve(t) {
|
|
945
948
|
return Array.from(t.getClientRects());
|
|
946
949
|
}
|
|
947
|
-
function
|
|
948
|
-
const e =
|
|
950
|
+
function be(t) {
|
|
951
|
+
const e = X(t), n = at(t), o = t.ownerDocument.body, i = L(e.scrollWidth, e.clientWidth, o.scrollWidth, o.clientWidth), s = L(e.scrollHeight, e.clientHeight, o.scrollHeight, o.clientHeight);
|
|
949
952
|
let r = -n.scrollLeft + ft(t);
|
|
950
953
|
const c = -n.scrollTop;
|
|
951
|
-
return
|
|
954
|
+
return V(o).direction === "rtl" && (r += L(e.clientWidth, o.clientWidth) - i), {
|
|
952
955
|
width: i,
|
|
953
956
|
height: s,
|
|
954
957
|
x: r,
|
|
955
958
|
y: c
|
|
956
959
|
};
|
|
957
960
|
}
|
|
958
|
-
const
|
|
959
|
-
function
|
|
960
|
-
const n = M(t), o =
|
|
961
|
+
const Pt = 25;
|
|
962
|
+
function Re(t, e) {
|
|
963
|
+
const n = M(t), o = X(t), i = n.visualViewport;
|
|
961
964
|
let s = o.clientWidth, r = o.clientHeight, c = 0, a = 0;
|
|
962
965
|
if (i) {
|
|
963
966
|
s = i.width, r = i.height;
|
|
964
|
-
const u =
|
|
967
|
+
const u = yt();
|
|
965
968
|
(!u || u && e === "fixed") && (c = i.offsetLeft, a = i.offsetTop);
|
|
966
969
|
}
|
|
967
|
-
const
|
|
968
|
-
if (
|
|
969
|
-
const u = o.ownerDocument, l = u.body, m = getComputedStyle(l),
|
|
970
|
-
h <=
|
|
971
|
-
} else
|
|
970
|
+
const d = ft(o);
|
|
971
|
+
if (d <= 0) {
|
|
972
|
+
const u = o.ownerDocument, l = u.body, m = getComputedStyle(l), f = u.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, h = Math.abs(o.clientWidth - l.clientWidth - f);
|
|
973
|
+
h <= Pt && (s -= h);
|
|
974
|
+
} else d <= Pt && (s += d);
|
|
972
975
|
return {
|
|
973
976
|
width: s,
|
|
974
977
|
height: r,
|
|
@@ -976,24 +979,23 @@ function Ce(t, e) {
|
|
|
976
979
|
y: a
|
|
977
980
|
};
|
|
978
981
|
}
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
const n = K(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = X(t) ? G(t) : I(1), r = t.clientWidth * s.x, c = t.clientHeight * s.y, a = i * s.x, f = o * s.y;
|
|
982
|
+
function Oe(t, e) {
|
|
983
|
+
const n = G(t, !0, e === "fixed"), o = n.top + t.clientTop, i = n.left + t.clientLeft, s = j(t) ? J(t) : I(1), r = t.clientWidth * s.x, c = t.clientHeight * s.y, a = i * s.x, d = o * s.y;
|
|
982
984
|
return {
|
|
983
985
|
width: r,
|
|
984
986
|
height: c,
|
|
985
987
|
x: a,
|
|
986
|
-
y:
|
|
988
|
+
y: d
|
|
987
989
|
};
|
|
988
990
|
}
|
|
989
|
-
function
|
|
991
|
+
function Et(t, e, n) {
|
|
990
992
|
let o;
|
|
991
993
|
if (e === "viewport")
|
|
992
|
-
o =
|
|
994
|
+
o = Re(t, n);
|
|
993
995
|
else if (e === "document")
|
|
994
|
-
o =
|
|
995
|
-
else if (
|
|
996
|
-
o =
|
|
996
|
+
o = be(X(t));
|
|
997
|
+
else if (_(e))
|
|
998
|
+
o = Oe(e, n);
|
|
997
999
|
else {
|
|
998
1000
|
const i = Ht(t);
|
|
999
1001
|
o = {
|
|
@@ -1003,70 +1005,72 @@ function Pt(t, e, n) {
|
|
|
1003
1005
|
height: e.height
|
|
1004
1006
|
};
|
|
1005
1007
|
}
|
|
1006
|
-
return
|
|
1008
|
+
return Q(o);
|
|
1007
1009
|
}
|
|
1008
1010
|
function Vt(t, e) {
|
|
1009
1011
|
const n = U(t);
|
|
1010
|
-
return n === e || !
|
|
1012
|
+
return n === e || !_(n) || Z(n) ? !1 : V(n).position === "fixed" || Vt(n, e);
|
|
1011
1013
|
}
|
|
1012
|
-
function
|
|
1014
|
+
function Ae(t, e) {
|
|
1013
1015
|
const n = e.get(t);
|
|
1014
1016
|
if (n)
|
|
1015
1017
|
return n;
|
|
1016
|
-
let o = et(t, [], !1).filter((c) =>
|
|
1017
|
-
const s =
|
|
1018
|
+
let o = et(t, [], !1).filter((c) => _(c) && tt(c) !== "body"), i = null;
|
|
1019
|
+
const s = V(t).position === "fixed";
|
|
1018
1020
|
let r = s ? U(t) : t;
|
|
1019
|
-
for (;
|
|
1020
|
-
const c =
|
|
1021
|
-
!a && c.position === "fixed" && (i = null), (s ? !a && !i : !a && c.position === "static" && !!i &&
|
|
1021
|
+
for (; _(r) && !Z(r); ) {
|
|
1022
|
+
const c = V(r), a = xt(r);
|
|
1023
|
+
!a && c.position === "fixed" && (i = null), (s ? !a && !i : !a && c.position === "static" && !!i && (i.position === "absolute" || i.position === "fixed") || nt(r) && !a && Vt(t, r)) ? o = o.filter((u) => u !== r) : i = c, r = U(r);
|
|
1022
1024
|
}
|
|
1023
1025
|
return e.set(t, o), o;
|
|
1024
1026
|
}
|
|
1025
|
-
function
|
|
1027
|
+
function Ce(t) {
|
|
1026
1028
|
let {
|
|
1027
1029
|
element: e,
|
|
1028
1030
|
boundary: n,
|
|
1029
1031
|
rootBoundary: o,
|
|
1030
1032
|
strategy: i
|
|
1031
1033
|
} = t;
|
|
1032
|
-
const r = [...n === "clippingAncestors" ? lt(e) ? [] :
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1034
|
+
const r = [...n === "clippingAncestors" ? lt(e) ? [] : Ae(e, this._c) : [].concat(n), o], c = Et(e, r[0], i);
|
|
1035
|
+
let a = c.top, d = c.right, u = c.bottom, l = c.left;
|
|
1036
|
+
for (let m = 1; m < r.length; m++) {
|
|
1037
|
+
const f = Et(e, r[m], i);
|
|
1038
|
+
a = L(f.top, a), d = H(f.right, d), u = H(f.bottom, u), l = L(f.left, l);
|
|
1039
|
+
}
|
|
1036
1040
|
return {
|
|
1037
|
-
width:
|
|
1038
|
-
height:
|
|
1039
|
-
x:
|
|
1040
|
-
y: a
|
|
1041
|
+
width: d - l,
|
|
1042
|
+
height: u - a,
|
|
1043
|
+
x: l,
|
|
1044
|
+
y: a
|
|
1041
1045
|
};
|
|
1042
1046
|
}
|
|
1043
|
-
function
|
|
1047
|
+
function Se(t) {
|
|
1044
1048
|
const {
|
|
1045
1049
|
width: e,
|
|
1046
1050
|
height: n
|
|
1047
|
-
} =
|
|
1051
|
+
} = Nt(t);
|
|
1048
1052
|
return {
|
|
1049
1053
|
width: e,
|
|
1050
1054
|
height: n
|
|
1051
1055
|
};
|
|
1052
1056
|
}
|
|
1053
|
-
function
|
|
1054
|
-
const o =
|
|
1057
|
+
function Le(t, e, n) {
|
|
1058
|
+
const o = j(e), i = X(e), s = n === "fixed", r = G(t, !0, s, e);
|
|
1055
1059
|
let c = {
|
|
1056
1060
|
scrollLeft: 0,
|
|
1057
1061
|
scrollTop: 0
|
|
1058
1062
|
};
|
|
1059
1063
|
const a = I(0);
|
|
1060
|
-
function
|
|
1064
|
+
function d() {
|
|
1061
1065
|
a.x = ft(i);
|
|
1062
1066
|
}
|
|
1063
1067
|
if (o || !o && !s)
|
|
1064
1068
|
if ((tt(e) !== "body" || nt(i)) && (c = at(e)), o) {
|
|
1065
|
-
const
|
|
1066
|
-
a.x =
|
|
1067
|
-
} else i &&
|
|
1068
|
-
s && !o && i &&
|
|
1069
|
-
const u = i && !o && !s ?
|
|
1069
|
+
const f = G(e, !0, s, e);
|
|
1070
|
+
a.x = f.x + e.clientLeft, a.y = f.y + e.clientTop;
|
|
1071
|
+
} else i && d();
|
|
1072
|
+
s && !o && i && d();
|
|
1073
|
+
const u = i && !o && !s ? _t(i, c) : I(0), l = r.left + c.scrollLeft - a.x - u.x, m = r.top + c.scrollTop - a.y - u.y;
|
|
1070
1074
|
return {
|
|
1071
1075
|
x: l,
|
|
1072
1076
|
y: m,
|
|
@@ -1074,39 +1078,39 @@ function Fe(t, e, n) {
|
|
|
1074
1078
|
height: r.height
|
|
1075
1079
|
};
|
|
1076
1080
|
}
|
|
1077
|
-
function
|
|
1078
|
-
return
|
|
1081
|
+
function dt(t) {
|
|
1082
|
+
return V(t).position === "static";
|
|
1079
1083
|
}
|
|
1080
|
-
function
|
|
1081
|
-
if (!
|
|
1084
|
+
function Dt(t, e) {
|
|
1085
|
+
if (!j(t) || V(t).position === "fixed")
|
|
1082
1086
|
return null;
|
|
1083
1087
|
if (e)
|
|
1084
1088
|
return e(t);
|
|
1085
1089
|
let n = t.offsetParent;
|
|
1086
|
-
return
|
|
1090
|
+
return X(t) === n && (n = n.ownerDocument.body), n;
|
|
1087
1091
|
}
|
|
1088
|
-
function
|
|
1092
|
+
function zt(t, e) {
|
|
1089
1093
|
const n = M(t);
|
|
1090
1094
|
if (lt(t))
|
|
1091
1095
|
return n;
|
|
1092
|
-
if (!
|
|
1096
|
+
if (!j(t)) {
|
|
1093
1097
|
let i = U(t);
|
|
1094
1098
|
for (; i && !Z(i); ) {
|
|
1095
|
-
if (
|
|
1099
|
+
if (_(i) && !dt(i))
|
|
1096
1100
|
return i;
|
|
1097
1101
|
i = U(i);
|
|
1098
1102
|
}
|
|
1099
1103
|
return n;
|
|
1100
1104
|
}
|
|
1101
|
-
let o =
|
|
1102
|
-
for (; o &&
|
|
1103
|
-
o =
|
|
1104
|
-
return o && Z(o) &&
|
|
1105
|
+
let o = Dt(t, e);
|
|
1106
|
+
for (; o && me(o) && dt(o); )
|
|
1107
|
+
o = Dt(o, e);
|
|
1108
|
+
return o && Z(o) && dt(o) && !xt(o) ? n : o || pe(t) || n;
|
|
1105
1109
|
}
|
|
1106
|
-
const
|
|
1107
|
-
const e = this.getOffsetParent ||
|
|
1110
|
+
const Te = async function(t) {
|
|
1111
|
+
const e = this.getOffsetParent || zt, n = this.getDimensions, o = await n(t.floating);
|
|
1108
1112
|
return {
|
|
1109
|
-
reference:
|
|
1113
|
+
reference: Le(t.reference, await e(t.floating), t.strategy),
|
|
1110
1114
|
floating: {
|
|
1111
1115
|
x: 0,
|
|
1112
1116
|
y: 0,
|
|
@@ -1115,71 +1119,71 @@ const Me = async function(t) {
|
|
|
1115
1119
|
}
|
|
1116
1120
|
};
|
|
1117
1121
|
};
|
|
1118
|
-
function
|
|
1119
|
-
return
|
|
1120
|
-
}
|
|
1121
|
-
const
|
|
1122
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
1123
|
-
getDocumentElement:
|
|
1124
|
-
getClippingRect:
|
|
1125
|
-
getOffsetParent:
|
|
1126
|
-
getElementRects:
|
|
1127
|
-
getClientRects:
|
|
1128
|
-
getDimensions:
|
|
1129
|
-
getScale:
|
|
1130
|
-
isElement:
|
|
1131
|
-
isRTL:
|
|
1122
|
+
function Pe(t) {
|
|
1123
|
+
return V(t).direction === "rtl";
|
|
1124
|
+
}
|
|
1125
|
+
const Ee = {
|
|
1126
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: ye,
|
|
1127
|
+
getDocumentElement: X,
|
|
1128
|
+
getClippingRect: Ce,
|
|
1129
|
+
getOffsetParent: zt,
|
|
1130
|
+
getElementRects: Te,
|
|
1131
|
+
getClientRects: ve,
|
|
1132
|
+
getDimensions: Se,
|
|
1133
|
+
getScale: J,
|
|
1134
|
+
isElement: _,
|
|
1135
|
+
isRTL: Pe
|
|
1132
1136
|
};
|
|
1133
|
-
function
|
|
1137
|
+
function It(t, e) {
|
|
1134
1138
|
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
1135
1139
|
}
|
|
1136
|
-
function
|
|
1140
|
+
function De(t, e) {
|
|
1137
1141
|
let n = null, o;
|
|
1138
|
-
const i =
|
|
1142
|
+
const i = X(t);
|
|
1139
1143
|
function s() {
|
|
1140
1144
|
var c;
|
|
1141
1145
|
clearTimeout(o), (c = n) == null || c.disconnect(), n = null;
|
|
1142
1146
|
}
|
|
1143
1147
|
function r(c, a) {
|
|
1144
1148
|
c === void 0 && (c = !1), a === void 0 && (a = 1), s();
|
|
1145
|
-
const
|
|
1149
|
+
const d = t.getBoundingClientRect(), {
|
|
1146
1150
|
left: u,
|
|
1147
1151
|
top: l,
|
|
1148
1152
|
width: m,
|
|
1149
|
-
height:
|
|
1150
|
-
} =
|
|
1151
|
-
if (c || e(), !m || !
|
|
1153
|
+
height: f
|
|
1154
|
+
} = d;
|
|
1155
|
+
if (c || e(), !m || !f)
|
|
1152
1156
|
return;
|
|
1153
|
-
const h = ot(l), g = ot(i.clientWidth - (u + m)),
|
|
1154
|
-
rootMargin: -h + "px " + -g + "px " + -
|
|
1155
|
-
threshold: L(0,
|
|
1157
|
+
const h = ot(l), g = ot(i.clientWidth - (u + m)), w = ot(i.clientHeight - (l + f)), p = ot(u), y = {
|
|
1158
|
+
rootMargin: -h + "px " + -g + "px " + -w + "px " + -p + "px",
|
|
1159
|
+
threshold: L(0, H(1, a)) || 1
|
|
1156
1160
|
};
|
|
1157
|
-
let
|
|
1158
|
-
function
|
|
1159
|
-
const
|
|
1160
|
-
if (
|
|
1161
|
-
if (!
|
|
1161
|
+
let b = !0;
|
|
1162
|
+
function O(R) {
|
|
1163
|
+
const A = R[0].intersectionRatio;
|
|
1164
|
+
if (A !== a) {
|
|
1165
|
+
if (!b)
|
|
1162
1166
|
return r();
|
|
1163
|
-
|
|
1167
|
+
A ? r(!1, A) : o = setTimeout(() => {
|
|
1164
1168
|
r(!1, 1e-7);
|
|
1165
1169
|
}, 1e3);
|
|
1166
1170
|
}
|
|
1167
|
-
|
|
1171
|
+
A === 1 && !It(d, t.getBoundingClientRect()) && r(), b = !1;
|
|
1168
1172
|
}
|
|
1169
1173
|
try {
|
|
1170
|
-
n = new IntersectionObserver(
|
|
1171
|
-
...
|
|
1174
|
+
n = new IntersectionObserver(O, {
|
|
1175
|
+
...y,
|
|
1172
1176
|
// Handle <iframe>s
|
|
1173
1177
|
root: i.ownerDocument
|
|
1174
1178
|
});
|
|
1175
1179
|
} catch {
|
|
1176
|
-
n = new IntersectionObserver(
|
|
1180
|
+
n = new IntersectionObserver(O, y);
|
|
1177
1181
|
}
|
|
1178
1182
|
n.observe(t);
|
|
1179
1183
|
}
|
|
1180
1184
|
return r(!0), s;
|
|
1181
1185
|
}
|
|
1182
|
-
function
|
|
1186
|
+
function Fe(t, e, n, o) {
|
|
1183
1187
|
o === void 0 && (o = {});
|
|
1184
1188
|
const {
|
|
1185
1189
|
ancestorScroll: i = !0,
|
|
@@ -1187,56 +1191,56 @@ function $e(t, e, n, o) {
|
|
|
1187
1191
|
elementResize: r = typeof ResizeObserver == "function",
|
|
1188
1192
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
1189
1193
|
animationFrame: a = !1
|
|
1190
|
-
} = o,
|
|
1191
|
-
u.forEach((
|
|
1192
|
-
i &&
|
|
1194
|
+
} = o, d = vt(t), u = i || s ? [...d ? et(d) : [], ...e ? et(e) : []] : [];
|
|
1195
|
+
u.forEach((p) => {
|
|
1196
|
+
i && p.addEventListener("scroll", n, {
|
|
1193
1197
|
passive: !0
|
|
1194
|
-
}), s &&
|
|
1198
|
+
}), s && p.addEventListener("resize", n);
|
|
1195
1199
|
});
|
|
1196
|
-
const l =
|
|
1197
|
-
let m = -1,
|
|
1198
|
-
r && (
|
|
1199
|
-
let [x] =
|
|
1200
|
-
x && x.target === f &&
|
|
1201
|
-
var
|
|
1202
|
-
(
|
|
1200
|
+
const l = d && c ? De(d, n) : null;
|
|
1201
|
+
let m = -1, f = null;
|
|
1202
|
+
r && (f = new ResizeObserver((p) => {
|
|
1203
|
+
let [x] = p;
|
|
1204
|
+
x && x.target === d && f && e && (f.unobserve(e), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
|
|
1205
|
+
var y;
|
|
1206
|
+
(y = f) == null || y.observe(e);
|
|
1203
1207
|
})), n();
|
|
1204
|
-
}),
|
|
1205
|
-
let h, g = a ?
|
|
1206
|
-
a &&
|
|
1207
|
-
function
|
|
1208
|
-
const
|
|
1209
|
-
g && !
|
|
1208
|
+
}), d && !a && f.observe(d), e && f.observe(e));
|
|
1209
|
+
let h, g = a ? G(t) : null;
|
|
1210
|
+
a && w();
|
|
1211
|
+
function w() {
|
|
1212
|
+
const p = G(t);
|
|
1213
|
+
g && !It(g, p) && n(), g = p, h = requestAnimationFrame(w);
|
|
1210
1214
|
}
|
|
1211
1215
|
return n(), () => {
|
|
1212
|
-
var
|
|
1216
|
+
var p;
|
|
1213
1217
|
u.forEach((x) => {
|
|
1214
1218
|
i && x.removeEventListener("scroll", n), s && x.removeEventListener("resize", n);
|
|
1215
|
-
}), l?.(), (
|
|
1219
|
+
}), l?.(), (p = f) == null || p.disconnect(), f = null, a && cancelAnimationFrame(h);
|
|
1216
1220
|
};
|
|
1217
1221
|
}
|
|
1218
|
-
const
|
|
1222
|
+
const Me = fe, Be = oe, We = ue, $e = ie, ke = de, Ne = se, He = ee, _e = ce, Ve = (t, e, n) => {
|
|
1219
1223
|
const o = /* @__PURE__ */ new Map(), i = {
|
|
1220
|
-
platform:
|
|
1224
|
+
platform: Ee,
|
|
1221
1225
|
...n
|
|
1222
1226
|
}, s = {
|
|
1223
1227
|
...i.platform,
|
|
1224
1228
|
_c: o
|
|
1225
1229
|
};
|
|
1226
|
-
return
|
|
1230
|
+
return te(t, e, {
|
|
1227
1231
|
...i,
|
|
1228
1232
|
platform: s
|
|
1229
1233
|
});
|
|
1230
1234
|
};
|
|
1231
1235
|
export {
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1236
|
+
We as a,
|
|
1237
|
+
He as b,
|
|
1238
|
+
Fe as c,
|
|
1239
|
+
Ve as d,
|
|
1240
|
+
Be as e,
|
|
1241
|
+
$e as f,
|
|
1242
|
+
Ne as h,
|
|
1243
|
+
_e as i,
|
|
1244
|
+
Me as o,
|
|
1245
|
+
ke as s
|
|
1242
1246
|
};
|